]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/samples/ogl/ogledit/ogledit.cpp
Missed labels to replace number of 'topicNNN' in anchors.
[wxWidgets.git] / contrib / samples / ogl / ogledit / ogledit.cpp
index fb1507663c7e500f1949c4e09b737546a3ed2485..c0c668408f1e8513e2ce329b70cb557c1d9c4eb9 100644 (file)
@@ -118,7 +118,9 @@ bool MyApp::OnInit(void)
   //// Associate the menu bar with the frame
   frame->SetMenuBar(menu_bar);
 
   //// Associate the menu bar with the frame
   frame->SetMenuBar(menu_bar);
 
+#if wxUSE_STATUSBAR
   frame->CreateStatusBar(1);
   frame->CreateStatusBar(1);
+#endif // wxUSE_STATUSBAR
 
   frame->Centre(wxBOTH);
   frame->Show(true);
 
   frame->Centre(wxBOTH);
   frame->Show(true);