X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2153bf897ad0d4a6cdf321eef093123fa4aed8bb..c4e2838090992384911a6a6aa44cac985d79a555:/samples/validate/validate.cpp?ds=sidebyside diff --git a/samples/validate/validate.cpp b/samples/validate/validate.cpp index 052d043a52..3e3e1130e8 100644 --- a/samples/validate/validate.cpp +++ b/samples/validate/validate.cpp @@ -120,7 +120,9 @@ MyFrame::MyFrame(wxFrame *frame, const wxString&title, int x, int y, int w, int wxValidator::SetBellOnError(m_silent); file_menu->Check(VALIDATE_TOGGLE_BELL, !wxValidator::IsSilent()); +#if wxUSE_STATUSBAR CreateStatusBar(1); +#endif // wxUSE_STATUSBAR } void MyFrame::OnQuit(wxCommandEvent& WXUNUSED(event))