X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/289532452089421ddadbd4726a8469511a19ab76..66c2bf7b1d9326fb650acfaae22ec50528cfbf7c:/include/wx/menu.h?ds=sidebyside diff --git a/include/wx/menu.h b/include/wx/menu.h index 50bdda2796..e4dedcf2dd 100644 --- a/include/wx/menu.h +++ b/include/wx/menu.h @@ -4,7 +4,6 @@ // Author: Vadim Zeitlin // Modified by: // Created: 26.10.99 -// RCS-ID: $Id$ // Copyright: (c) wxWidgets team // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -398,11 +397,11 @@ protected: // XTI accessor // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxMenuInfo : public wxObject +class WXDLLEXPORT wxMenuInfoHelper : public wxObject { public: - wxMenuInfo() { m_menu = NULL; } - virtual ~wxMenuInfo() { } + wxMenuInfoHelper() { m_menu = NULL; } + virtual ~wxMenuInfoHelper() { } bool Create( wxMenu *menu, const wxString &title ) { @@ -418,10 +417,10 @@ private: wxMenu *m_menu; wxString m_title; - DECLARE_DYNAMIC_CLASS(wxMenuInfo) + DECLARE_DYNAMIC_CLASS(wxMenuInfoHelper) }; -WX_DECLARE_EXPORTED_LIST(wxMenuInfo, wxMenuInfoList ); +WX_DECLARE_EXPORTED_LIST(wxMenuInfoHelper, wxMenuInfoHelperList ); #endif @@ -543,9 +542,9 @@ public: #if wxUSE_EXTENDED_RTTI // XTI helpers: - bool AppendMenuInfo( const wxMenuInfo *info ) + bool AppendMenuInfo( const wxMenuInfoHelper *info ) { return Append( info->GetMenu(), info->GetTitle() ); } - const wxMenuInfoList& GetMenuInfos() const; + const wxMenuInfoHelperList& GetMenuInfos() const; #endif #if WXWIN_COMPATIBILITY_2_8 @@ -562,7 +561,7 @@ protected: #if wxUSE_EXTENDED_RTTI // used by XTI - wxMenuInfoList m_menuInfos; + wxMenuInfoHelperList m_menuInfos; #endif // the frame we are attached to (may be NULL) @@ -580,8 +579,6 @@ protected: #else // !wxUSE_BASE_CLASSES_ONLY #if defined(__WXUNIVERSAL__) #include "wx/univ/menu.h" -#elif defined(__WXPALMOS__) - #include "wx/palmos/menu.h" #elif defined(__WXMSW__) #include "wx/msw/menu.h" #elif defined(__WXMOTIF__)