]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/checklst/checklst.cpp
wxMotif compiles (and runs minimal sample) again after wxMenu changes
[wxWidgets.git] / samples / checklst / checklst.cpp
index 7018e0dd53fccb04e42c437bd4b6bd73df1eaae0..fdefc46f6ce38985fbe7126d06aea805f04ec6ad 100644 (file)
@@ -126,7 +126,7 @@ CheckListBoxFrame::CheckListBoxFrame(wxFrame *frame,
     SetMenuBar(menu_bar);
 
     // make a panel with some controls
-    wxPanel *panel = new wxScrolledWindow(this, -1, wxPoint(0, 0),
+    wxPanel *panel = new wxPanel(this, -1, wxPoint(0, 0),
                                  wxSize(400, 200), wxTAB_TRAVERSAL);
 
     // check list box