]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/osx/menuitem.h
make OSX defines to be 1, not only defined, for backwards compatibility reasons
[wxWidgets.git] / include / wx / osx / menuitem.h
index 6171b124ee78699dea8dd15ba34a8a91459eb669..8e9e82da3182cbd11e36cecca090bf6d1b17029a 100644 (file)
@@ -29,12 +29,12 @@ class WXDLLIMPEXP_CORE wxMenuItem: public wxMenuItemBase
 {
 public:
     // ctor & dtor
-    wxMenuItem(wxMenu *parentMenu = (wxMenu *)NULL,
+    wxMenuItem(wxMenu *parentMenu = NULL,
                int id = wxID_SEPARATOR,
                const wxString& name = wxEmptyString,
                const wxString& help = wxEmptyString,
                wxItemKind kind = wxITEM_NORMAL,
-               wxMenu *subMenu = (wxMenu *)NULL);
+               wxMenu *subMenu = NULL);
     virtual ~wxMenuItem();
 
     // override base class virtuals