]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/samples/fl/fl_sample2.cpp
wxString and wxChar* access for file functions. Source cleaning.
[wxWidgets.git] / contrib / samples / fl / fl_sample2.cpp
index 69e7bcb6d0d80931b2889e26ced4090911c1de8d..d2dae82c744e71a74b0ca22bc6408ea2f136c217 100644 (file)
@@ -84,7 +84,9 @@ bool MyApp::OnInit(void)
     
     menu_bar->Append(file_menu, _("&File"));
     
+#if wxUSE_STATUSBAR
     frame->CreateStatusBar(3);
+#endif // wxUSE_STATUSBAR
     frame->SetMenuBar(menu_bar);
     
     frame->Show(true);