X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a61fea414459bd13b3b50a91de8490051d8db17a..6c6a558a99f8d75dcae9eb0877fd849237755798:/samples/nativdlg/nativdlg.cpp?ds=inline diff --git a/samples/nativdlg/nativdlg.cpp b/samples/nativdlg/nativdlg.cpp index 2028fb17d2..3bb9a21494 100644 --- a/samples/nativdlg/nativdlg.cpp +++ b/samples/nativdlg/nativdlg.cpp @@ -44,8 +44,10 @@ bool MyApp::OnInit(void) // Create the main frame window MyFrame *frame = new MyFrame(NULL, wxID_ANY, _T("wxWidgets Native Dialog Sample"), wxPoint(0, 0), wxSize(300, 250)); +#if wxUSE_STATUSBAR // Give it a status line frame->CreateStatusBar(2); +#endif // wxUSE_STATUSBAR // Make a menubar wxMenu *file_menu = new wxMenu;