]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/menu.cpp
Put some life into GTK 2.0 drawing.
[wxWidgets.git] / src / univ / menu.cpp
index 3063fa8106583231c83aefa72f59715d03e1ed56..6a64d031b96388767aec1846dffcd6fd85f3a607 100644 (file)
@@ -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)