< prev index next >

src/java.desktop/windows/native/libawt/windows/awt_List.h

Print this page

        

*** 25,44 **** #ifndef AWT_LIST_H #define AWT_LIST_H #include "awt_Component.h" ! #include "sun_awt_windows_WListPeer.h" /************************************************************************ * AwtList class */ class AwtList : public AwtComponent { public: AwtList(); virtual ~AwtList(); virtual LPCTSTR GetClassName(); --- 25,45 ---- #ifndef AWT_LIST_H #define AWT_LIST_H #include "awt_Component.h" ! #include <cmath> #include "sun_awt_windows_WListPeer.h" /************************************************************************ * AwtList class */ class AwtList : public AwtComponent { public: + const UINT max_index = std::pow(2, (sizeof(WORD) * 8)) - 1; AwtList(); virtual ~AwtList(); virtual LPCTSTR GetClassName();
< prev index next >