X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/61c083e7818114734695cb26aa006098a86e62c3..c4e2838090992384911a6a6aa44cac985d79a555:/samples/widgets/notebook.cpp?ds=sidebyside diff --git a/samples/widgets/notebook.cpp b/samples/widgets/notebook.cpp index 736e43f8fb..2d8c217cf7 100644 --- a/samples/widgets/notebook.cpp +++ b/samples/widgets/notebook.cpp @@ -86,7 +86,7 @@ enum Orient class NotebookWidgetsPage : public WidgetsPage { public: - NotebookWidgetsPage(wxNotebook *notebook, wxImageList *imaglist); + NotebookWidgetsPage(wxBookCtrl *book, wxImageList *imaglist); virtual ~NotebookWidgetsPage(); virtual wxControl *GetWidget() const { return m_notebook; } @@ -192,9 +192,9 @@ END_EVENT_TABLE() IMPLEMENT_WIDGETS_PAGE(NotebookWidgetsPage, _T("Notebook")); -NotebookWidgetsPage::NotebookWidgetsPage(wxNotebook *notebook, +NotebookWidgetsPage::NotebookWidgetsPage(wxBookCtrl *book, wxImageList *imaglist) - : WidgetsPage(notebook) + : WidgetsPage(book) { imaglist->Add(wxBitmap(notebook_xpm));