X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3df732cd473eb29e12ce374afe074c404a86f55e..9a62fa17b1c342b5b1e1bb9b96373e170a9d8b6f:/include/wx/msw/menu.h diff --git a/include/wx/msw/menu.h b/include/wx/msw/menu.h index 1fb889ac75..89bc911dab 100644 --- a/include/wx/msw/menu.h +++ b/include/wx/msw/menu.h @@ -12,10 +12,6 @@ #ifndef _WX_MENU_H_ #define _WX_MENU_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "menu.h" -#endif - #if wxUSE_ACCEL #include "wx/accel.h" #include "wx/dynarray.h" @@ -60,11 +56,6 @@ public: virtual ~wxMenu(); - // implement base class virtuals - virtual wxMenuItem* DoAppend(wxMenuItem *item); - virtual wxMenuItem* DoInsert(size_t pos, wxMenuItem *item); - virtual wxMenuItem* DoRemove(wxMenuItem *item); - virtual void Break(); virtual void SetTitle(const wxString& title); @@ -95,6 +86,11 @@ public: int FindAccel(int id) const; #endif // wxUSE_ACCEL +protected: + virtual wxMenuItem* DoAppend(wxMenuItem *item); + virtual wxMenuItem* DoInsert(size_t pos, wxMenuItem *item); + virtual wxMenuItem* DoRemove(wxMenuItem *item); + private: // common part of all ctors void Init();