]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/checkbox.cpp
more wxFD_XXX renamings (patch 1488371)
[wxWidgets.git] / samples / widgets / checkbox.cpp
index 375a7a370fb0ce37a5bf646c332f8c8c1bb12a55..384d4156e810c25dc5e8078a4c4f253ca66d97a4 100644 (file)
@@ -158,10 +158,8 @@ IMPLEMENT_WIDGETS_PAGE(CheckBoxWidgetsPage, wxT("CheckBox"), FAMILY_CTRLS );
 
 CheckBoxWidgetsPage::CheckBoxWidgetsPage(WidgetsBookCtrl *book,
                                          wxImageList *imaglist)
-                  : WidgetsPage(book)
+                  : WidgetsPage(book, imaglist, checkbox_xpm)
 {
-    imaglist->Add(wxBitmap(checkbox_xpm));
-
     wxSizer *sizerTop = new wxBoxSizer(wxHORIZONTAL);
 
     // left pane