X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d65c269b3f665e15a8ae1b8fff063b2ec0ef19a7..4e5a4c69c540b430fba8efe5dae1bc1ffd5caeca:/src/univ/menu.cpp diff --git a/src/univ/menu.cpp b/src/univ/menu.cpp index 3063fa8106..6a64d031b9 100644 --- a/src/univ/menu.cpp +++ b/src/univ/menu.cpp @@ -1420,10 +1420,10 @@ wxMenuItem *wxMenuItemBase::New(wxMenu *parentMenu, int id, const wxString& name, const wxString& help, - bool isCheckable, + wxItemKind kind, wxMenu *subMenu) { - return new wxMenuItem(parentMenu, id, name, help, isCheckable, subMenu); + return new wxMenuItem(parentMenu, id, name, help, kind, subMenu); } /* static */ @@ -1515,7 +1515,7 @@ void wxMenuBar::Init() m_shouldShowMenu = FALSE; - // m_windowStyle |= wxNO_FULL_REPAINT_ON_RESIZE; + m_windowStyle |= wxNO_FULL_REPAINT_ON_RESIZE; } void wxMenuBar::Attach(wxFrame *frame)