]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/samples/ogl/studio/studio.cpp
added except sample
[wxWidgets.git] / contrib / samples / ogl / studio / studio.cpp
index 6eacff447e94875e48c7efc9555d182c30d74e8f..492f1ad4908791ffe2921889923a9a7a43c057e7 100644 (file)
@@ -170,7 +170,9 @@ bool csApp::OnInit(void)
   wxConfig config(_T("OGL Studio"), _T("wxWidgets"));
   m_docManager->FileHistoryLoad(config);
 
   wxConfig config(_T("OGL Studio"), _T("wxWidgets"));
   m_docManager->FileHistoryLoad(config);
 
+#if wxUSE_STATUSBAR
   frame->CreateStatusBar();
   frame->CreateStatusBar();
+#endif // wxUSE_STATUSBAR
 
   // The ordering of these is important for layout purposes
   CreateDiagramToolBar(frame);
 
   // The ordering of these is important for layout purposes
   CreateDiagramToolBar(frame);