]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/samples/gizmos/multicell/mtest.cpp
use wxNewId() to implement XRCID
[wxWidgets.git] / contrib / samples / gizmos / multicell / mtest.cpp
index b3da3f73ee87fd8ef24668cf765e21d4d34837f5..1254de9926c85833e857134284654b357d38f429 100644 (file)
@@ -66,7 +66,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)
     {