]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/samples/fl/fl_sample1.cpp
Warning fix.
[wxWidgets.git] / contrib / samples / fl / fl_sample1.cpp
index 6265e8ae26d6fff366762865bc9a86b7838e0cda..9ec4cd35aac3cadb671ce365d425500a862dc765 100644 (file)
@@ -83,7 +83,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);