]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/samples/gizmos/multicell/mtest.cpp
Applied patch [ 1117207 ] changed the test for SQL_C_WCHAR
[wxWidgets.git] / contrib / samples / gizmos / multicell / mtest.cpp
index b3da3f73ee87fd8ef24668cf765e21d4d34837f5..9b0dc001b9db756c6e5abe0ca5cfe321acde261f 100644 (file)
@@ -5,6 +5,7 @@
  * Created: 2000
  * Updated:
  * Copyright:
+ * License: wxWindows licence
  */
 
 static const char sccsid[] = "%W% %G%";
@@ -66,7 +67,9 @@ bool MyApp::OnInit(void)
 MyFrame::MyFrame(int type, wxFrame *frame, const wxString& title, const wxPoint& pos, const wxSize& size):
 wxFrame(frame, wxID_ANY, title, pos, size, wxDEFAULT_FRAME_STYLE | wxVSCROLL | wxHSCROLL)
 {
+#if wxUSE_STATUSBAR
     CreateStatusBar(1);
+#endif // wxUSE_STATUSBAR
     sizer = NULL;
     if (type == 1)
     {