X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e273151278d28cceefe6eee8c49bc6915306805d..b9efe021b554fa3967d1442cf758435c5cd5ae8f:/src/palmos/menuitem.cpp diff --git a/src/palmos/menuitem.cpp b/src/palmos/menuitem.cpp index eefc86eddf..829cb94c1d 100644 --- a/src/palmos/menuitem.cpp +++ b/src/palmos/menuitem.cpp @@ -72,7 +72,7 @@ bool wxMenuItemStreamingCallback( const wxObject *object, wxWriter * , wxPersister * , wxxVariantArray & ) { const wxMenuItem * mitem = dynamic_cast(object) ; - if ( mitem->GetMenu() && !mitem->GetMenu()->GetTitle().IsEmpty() ) + if ( mitem->GetMenu() && !mitem->GetMenu()->GetTitle().empty() ) { // we don't stream out the first two items for menus with a title, they will be reconstructed if ( mitem->GetMenu()->FindItemByPosition(0) == mitem || mitem->GetMenu()->FindItemByPosition(1) == mitem ) @@ -155,12 +155,6 @@ wxMenuItem::~wxMenuItem() // misc // ---- -// return the id for calling Win32 API functions -int wxMenuItem::GetRealId() const -{ - return 0; -} - // get item state // --------------