// Associate the menu bar with the frame
frame->SetMenuBar(menu_bar);
+#if wxUSE_STATUSBAR
frame->CreateStatusBar();
+#endif // wxUSE_STATUSBAR
frame->Show(true);
subframe->SetIcon(wxIcon(_T("sashtest_icn")));
#endif
+#if wxUSE_STATUSBAR
// Give it a status line
subframe->CreateStatusBar();
+#endif // wxUSE_STATUSBAR
// Make a menubar
wxMenu *file_menu = new wxMenu;