]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/menuitem.h
Add a SetDoubleBuffered method for wxMSW (XP+)
[wxWidgets.git] / include / wx / msw / menuitem.h
index ed147b7cca74542e21e5c39db294c7595a147e2b..4518daf143f4fdf88e1bdc2ee95b597cec335f63 100644 (file)
@@ -64,13 +64,17 @@ public:
     void SetRadioGroupStart(int start);
     void SetRadioGroupEnd(int end);
 
     void SetRadioGroupStart(int start);
     void SetRadioGroupEnd(int end);
 
+#if WXWIN_COMPATIBILITY_2_8
     // compatibility only, don't use in new code
     // compatibility only, don't use in new code
+    wxDEPRECATED(
     wxMenuItem(wxMenu *parentMenu,
                int id,
                const wxString& text,
                const wxString& help,
                bool isCheckable,
     wxMenuItem(wxMenu *parentMenu,
                int id,
                const wxString& text,
                const wxString& help,
                bool isCheckable,
-               wxMenu *subMenu = (wxMenu *)NULL);
+               wxMenu *subMenu = NULL)
+    );
+#endif
 
 private:
     // common part of all ctors
 
 private:
     // common part of all ctors