]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/notebook.h
fix the wrong size of the first page when it's added to the notebook (replaces patch...
[wxWidgets.git] / include / wx / msw / notebook.h
index b6941fe64e4867bc3f449fe217be0cb5bc66eebb..6a44b36be9f71d07a8606646d6e2378885fb7678 100644 (file)
@@ -132,9 +132,14 @@ protected:
   // remove one page from the notebook, without deleting
   virtual wxNotebookPage *DoRemovePage(int nPage);
 
+  // set the size of the given page to fit in the notebook
+  void AdjustPageSize(wxNotebookPage *page);
+
+
   // the current selection (-1 if none)
   int m_nSelection;
 
+
   DECLARE_DYNAMIC_CLASS(wxNotebook)
   DECLARE_EVENT_TABLE()
 };