X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b1c741f8a236db5f28405b572bbd5cbb1d8131d6..922bcaff460ed7c5bc772db0953766dc1737f628:/include/wx/menu.h diff --git a/include/wx/menu.h b/include/wx/menu.h index 6e1e91a5ad..5e31cede13 100644 --- a/include/wx/menu.h +++ b/include/wx/menu.h @@ -12,10 +12,6 @@ #ifndef _WX_MENU_H_BASE_ #define _WX_MENU_H_BASE_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "menubase.h" -#endif - #include "wx/defs.h" #if wxUSE_MENUS @@ -480,6 +476,9 @@ public: // don't want menu bars to accept the focus by tabbing to them virtual bool AcceptsFocusFromKeyboard() const { return false; } + // update all menu item states in all menus + virtual void UpdateMenus(); + protected: // the list of all our menus wxMenuList m_menus;