]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/menuitem.h
support SDK < 10.6, fixes #14902
[wxWidgets.git] / include / wx / gtk1 / menuitem.h
index 827cf6e780195e9ba66677f5d1afba51bbe92d78..48b3778e365a038bcd85f44b26dbbcb15c6da9a6 100644 (file)
 class WXDLLIMPEXP_CORE wxMenuItem : public wxMenuItemBase
 {
 public:
-    wxMenuItem(wxMenu *parentMenu = (wxMenu *)NULL,
+    wxMenuItem(wxMenu *parentMenu = NULL,
                int id = wxID_SEPARATOR,
                const wxString& text = wxEmptyString,
                const wxString& help = wxEmptyString,
                wxItemKind kind = wxITEM_NORMAL,
-               wxMenu *subMenu = (wxMenu *)NULL);
+               wxMenu *subMenu = NULL);
     virtual ~wxMenuItem();
 
     // implement base class virtuals
@@ -55,7 +55,7 @@ public:
                const wxString& text,
                const wxString& help,
                bool isCheckable,
-               wxMenu *subMenu = (wxMenu *)NULL);
+               wxMenu *subMenu = NULL);
 
 private:
     // common part of all ctors