]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/menuitem.cpp
WXDLLEXPORTLOCAL removed, WXDLLEXPORT seems to be enough
[wxWidgets.git] / src / msw / menuitem.cpp
index e5a55c54a9dfe659428cca0f4820483aebca9406..fa63e469a82dd29fdb3552ca8a85c855e3d798d0 100644 (file)
 #endif
 
 #ifndef WX_PRECOMP
-    #include "wx/menu.h"
     #include "wx/font.h"
     #include "wx/bitmap.h"
     #include "wx/settings.h"
     #include "wx/font.h"
+    #include "wx/accel.h"
+    #include "wx/menu.h"
+    #include "wx/string.h"
+    #include "wx/window.h"
 #endif
 
 #include "wx/ownerdrw.h"
 #include "wx/menuitem.h"
+#include "wx/log.h"
 
-#include <windows.h>
-
-#ifdef GetClassInfo
-    #undef GetClassInfo
-#endif
-
-#ifdef GetClassName
-    #undef GetClassName
-#endif
+#include "wx/msw/private.h"
 
 // ---------------------------------------------------------------------------
 // convenience macro
@@ -109,6 +105,7 @@ wxMenuItem::wxMenuItem(wxMenu *pParentMenu, int id,
     m_pParentMenu = pParentMenu;
     m_pSubMenu    = pSubMenu;
     m_bEnabled    = TRUE;
+    m_bChecked    = FALSE;
     m_idItem      = id;
 }