]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/slider.cpp
added wxTB_NO_TOOLTIPS (heavily modified patch 1458009)
[wxWidgets.git] / samples / widgets / slider.cpp
index 75c5839332a503fadf151878711ab63cade465e8..4502d6c87148532835d9472670bbe48310091a51 100644 (file)
@@ -208,10 +208,8 @@ IMPLEMENT_WIDGETS_PAGE(SliderWidgetsPage, _T("Slider"), FAMILY_CTRLS );
 
 SliderWidgetsPage::SliderWidgetsPage(WidgetsBookCtrl *book,
                                      wxImageList *imaglist)
-                  : WidgetsPage(book)
+                  : WidgetsPage(book, imaglist, slider_xpm)
 {
-    imaglist->Add(wxBitmap(slider_xpm));
-
     // init everything
     m_min = 0;
     m_max = 100;