]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/checklst/checklst.cpp
Added wxQuantize
[wxWidgets.git] / samples / checklst / checklst.cpp
index bd844baa0418140dfca2d9ce0405fa777c16334a..6b584352fb2a0114ffbea8fe9e64b2d83cb858c8 100644 (file)
@@ -138,11 +138,13 @@ CheckListBoxFrame::CheckListBoxFrame(wxFrame *frame,
                                      int x, int y, int w, int h)
                  : wxFrame(frame, wxID_ANY, title, wxPoint(x, y), wxSize(w, h))
 {
+#if wxUSE_STATUSBAR
     // create the status line
     const int widths[] = { -1, 60 };
     CreateStatusBar(2);
     SetStatusWidths(2, widths);
     wxLogStatus(this, _T("no selection"));
+#endif // wxUSE_STATUSBAR
 
     // Make a menubar
     // --------------