X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/195df7a7672277af495a4ecf9bf6eee2a7517069..c4e2838090992384911a6a6aa44cac985d79a555:/samples/widgets/gauge.cpp diff --git a/samples/widgets/gauge.cpp b/samples/widgets/gauge.cpp index 54610ac03b..372d0817b7 100644 --- a/samples/widgets/gauge.cpp +++ b/samples/widgets/gauge.cpp @@ -71,7 +71,7 @@ enum class GaugeWidgetsPage : public WidgetsPage { public: - GaugeWidgetsPage(wxNotebook *notebook, wxImageList *imaglist); + GaugeWidgetsPage(wxBookCtrl *book, wxImageList *imaglist); virtual ~GaugeWidgetsPage(); virtual wxControl *GetWidget() const { return m_gauge; } @@ -158,9 +158,9 @@ END_EVENT_TABLE() IMPLEMENT_WIDGETS_PAGE(GaugeWidgetsPage, _T("Gauge")); -GaugeWidgetsPage::GaugeWidgetsPage(wxNotebook *notebook, - wxImageList *imaglist) - : WidgetsPage(notebook) +GaugeWidgetsPage::GaugeWidgetsPage(wxBookCtrl *book, + wxImageList *imaglist) + :WidgetsPage(book) { imaglist->Add(wxBitmap(gauge_xpm));