]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/notebook.h
Avoid duplicated definition errors for wxLongToLongHashMap when both
[wxWidgets.git] / include / wx / generic / notebook.h
index a8ddfebff4389b48bce421bd51770c94ccdaafae..f55b0db48f3c447aa1a45ebed015698dfed2645a 100644 (file)
@@ -47,14 +47,14 @@ public:
              const wxPoint& pos = wxDefaultPosition,
              const wxSize& size = wxDefaultSize,
              long style = 0,
-             const wxString& name = "notebook");
+             const wxString& name = wxT("notebook"));
     // Create() function
   bool Create(wxWindow *parent,
               wxWindowID id,
               const wxPoint& pos = wxDefaultPosition,
               const wxSize& size = wxDefaultSize,
               long style = 0,
-              const wxString& name = "notebook");
+              const wxString& name = wxT("notebook"));
     // dtor
   ~wxNotebook();
 
@@ -101,6 +101,8 @@ public:
     // remove one page from the notebook, without deleting the page.
   bool RemovePage(size_t nPage);
   bool RemovePage(wxNotebookPage* page);
+  virtual wxWindow* DoRemovePage(size_t nPage);
+
     // remove all pages
   bool DeleteAllPages();
     // the same as AddPage(), but adds it at the specified position