X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e4db172a3b318df9aff178eb6c5da149d56e0859..0962839d231c7ae1250337c9a22c1384dd0285ea:/src/palmos/menuitem.cpp?ds=inline diff --git a/src/palmos/menuitem.cpp b/src/palmos/menuitem.cpp index f0dc626bdd..a491c36a86 100644 --- a/src/palmos/menuitem.cpp +++ b/src/palmos/menuitem.cpp @@ -26,21 +26,19 @@ #if wxUSE_MENUS -#include "wx/menu.h" +#include "wx/menuitem.h" #ifndef WX_PRECOMP #include "wx/font.h" #include "wx/bitmap.h" #include "wx/settings.h" - #include "wx/font.h" #include "wx/window.h" #include "wx/accel.h" #include "wx/string.h" #include "wx/log.h" + #include "wx/menu.h" #endif -#include "wx/menuitem.h" - #if wxUSE_ACCEL #include "wx/accel.h" #endif // wxUSE_ACCEL @@ -161,7 +159,7 @@ bool wxMenuItem::IsChecked() const } /* static */ -wxString wxMenuItemBase::GetLabelFromText(const wxString& text) +wxString wxMenuItemBase::GetLabelText(const wxString& text) { return wxStripMenuCodes(text); } @@ -192,7 +190,7 @@ void wxMenuItem::Check(bool check) { } -void wxMenuItem::SetText(const wxString& text) +void wxMenuItem::SetItemLabel(const wxString& text) { }