]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/treebkg.cpp
Use GTK+ function to obtain GdkWindow for wxListBox.
[wxWidgets.git] / src / generic / treebkg.cpp
index 47fefdc7d06b7cdc616880bc42334f5da1feffc0..a5d5c88358f526fbc64da7265563c7aeb0e48cbb 100644 (file)
@@ -125,11 +125,11 @@ bool wxTreebook::InsertPage(size_t pagePos,
     return DoInsertPage(pagePos, page, text, bSelect, imageId);
 }
 
-bool wxTreebook::AddSubPage(size_t pagePos,
-                            wxWindow *page,
-                            const wxString& text,
-                            bool bSelect,
-                            int imageId)
+bool wxTreebook::InsertSubPage(size_t pagePos,
+                               wxWindow *page,
+                               const wxString& text,
+                               bool bSelect,
+                               int imageId)
 {
     return DoInsertSubPage(pagePos, page, text, bSelect, imageId);
 }