X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/efebabb7ffdccdfd1400739cdbec6dc80be8a49c..83666e99093aa0b65c497f7e6c75d98a875667cc:/src/msw/menuitem.cpp?ds=sidebyside diff --git a/src/msw/menuitem.cpp b/src/msw/menuitem.cpp index d1ecba4332..cc55d41996 100644 --- a/src/msw/menuitem.cpp +++ b/src/msw/menuitem.cpp @@ -195,7 +195,7 @@ WXWPARAM wxMenuItem::GetMSWId() const // generating WM_COMMAND messages with negative high word of wParam), so // use the cast to ensure the id is in range return m_subMenu ? wxPtrToUInt(m_subMenu->GetHMenu()) - : wx_static_cast(unsigned short, GetId()); + : static_cast(GetId()); } // get item state @@ -213,12 +213,6 @@ bool wxMenuItem::IsChecked() const return (flag & MF_CHECKED) != 0; } -/* static */ -wxString wxMenuItemBase::GetLabelText(const wxString& text) -{ - return wxStripMenuCodes(text); -} - // radio group stuff // -----------------