]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/menu.cpp
fixes for 'make install' for wxBase - seems to work
[wxWidgets.git] / src / gtk1 / menu.cpp
index 094b02165a437dc68fee78413ecabe395aaad247..47ac10d93f9ab58fc6276b86de624b85eac0d87f 100644 (file)
@@ -78,6 +78,8 @@ wxMenuBar::wxMenuBar( long style )
     }
 
     PostCreation();
+    
+    ApplyWidgetStyle();
 }
 
 wxMenuBar::wxMenuBar()
@@ -108,6 +110,8 @@ wxMenuBar::wxMenuBar()
     m_widget = GTK_WIDGET(m_menubar);
 
     PostCreation();
+    
+    ApplyWidgetStyle();
 }
 
 wxMenuBar::~wxMenuBar()
@@ -951,9 +955,9 @@ bool wxMenu::DoInsert(size_t pos, wxMenuItem *item)
 #else // GTK < 1.2
     // this should be easy to do...
     wxFAIL_MSG( wxT("not implemented") );
-#endif // GTK 1.2/1.0
 
     return FALSE;
+#endif // GTK 1.2/1.0
 }
 
 wxMenuItem *wxMenu::DoRemove(wxMenuItem *item)