X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/56454c1513ec10aa70cef0a492d1ed6fab016451..cbeda384e51acb82e13994cb67ac1714669cae10:/include/wx/menu.h diff --git a/include/wx/menu.h b/include/wx/menu.h index 963a8fac0b..4fc2b26f9d 100644 --- a/include/wx/menu.h +++ b/include/wx/menu.h @@ -267,7 +267,7 @@ public: // Updates the UI for a menu and all submenus recursively. source is the // object that has the update event handlers defined for it. If NULL, the // menu or associated window will be used. - void UpdateUI(wxEvtHandler* source = (wxEvtHandler*)NULL); + void UpdateUI(wxEvtHandler* source = NULL); // get the menu bar this menu is attached to (may be NULL, always NULL for // popup menus). Traverse up the menu hierarchy to find it. @@ -377,7 +377,7 @@ protected: static bool ms_locked; - DECLARE_NO_COPY_CLASS(wxMenuBase) + wxDECLARE_NO_COPY_CLASS(wxMenuBase); }; // ---------------------------------------------------------------------------- @@ -509,7 +509,7 @@ protected: // the frame we are attached to (may be NULL) wxFrame *m_menuBarFrame; - DECLARE_NO_COPY_CLASS(wxMenuBarBase) + wxDECLARE_NO_COPY_CLASS(wxMenuBarBase); }; // ----------------------------------------------------------------------------