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