]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/textctrl.cpp
corrected setting the locale of the c-lib for mac
[wxWidgets.git] / samples / widgets / textctrl.cpp
index 0a278daed13d4434a6a5d01d3e3ccd34e5fe6675..21a4f36f7c20cab2d0c1d15c3b42a3e62df555d4 100644 (file)
@@ -113,7 +113,7 @@ class TextWidgetsPage : public WidgetsPage
 {
 public:
     // ctor(s) and dtor
-    TextWidgetsPage(wxNotebook *notebook, wxImageList *imaglist);
+    TextWidgetsPage(wxBookCtrl *book, wxImageList *imaglist);
     virtual ~TextWidgetsPage(){};
 
     virtual wxControl *GetWidget() const { return m_text; }
@@ -310,8 +310,8 @@ IMPLEMENT_WIDGETS_PAGE(TextWidgetsPage, _T("Text"));
 // TextWidgetsPage creation
 // ----------------------------------------------------------------------------
 
-TextWidgetsPage::TextWidgetsPage(wxNotebook *notebook, wxImageList *imaglist)
-               : WidgetsPage(notebook)
+TextWidgetsPage::TextWidgetsPage(wxBookCtrl *book, wxImageList *imaglist)
+               : WidgetsPage(book)
 {
     imaglist->Add(wxBitmap(text_xpm));