]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_notebook.i
removed Julian's hack that is no longer needed after wxBitmap stubs were added even...
[wxWidgets.git] / wxPython / src / _notebook.i
index 8f2e0b4846739ab749731c48a186e2e0bd14db81..26b9486eed48014e19f95bb731cc78f4478892d5 100644 (file)
@@ -100,15 +100,15 @@ public:
 
 
     // get/set size of area between book control area and page area
-    unsigned int GetInternalBorder() const;
-    void SetInternalBorder(unsigned int internalBorder);
+    size_t GetInternalBorder() const;
+    void SetInternalBorder(size_t internalBorder);
 
     // returns true if we have wxCHB_TOP or wxCHB_BOTTOM style
     bool IsVertical() const;
 
     // set/get option to shrink to fit current page
-    void SetShrinkMode(bool shrink);
-    bool GetShrinkMode() const;
+    void SetFitToCurrentPage(bool fit);
+    bool GetFitToCurrentPage() const;
 
 
     // remove one page from the control and delete it
@@ -473,12 +473,11 @@ public:
                             int imageId = wxNOT_FOUND);
 
     // Inserts a new sub-page to the end of children of the page at given pos.
-    %Rename(InsertSubPage,
-            virtual bool, AddSubPage(size_t pos,
-                                     wxWindow *page,
-                                     const wxString& text,
-                                     bool select = false,
-                                     int imageId = wxNOT_FOUND));
+    virtual bool InsertSubPage(size_t pos,
+                               wxWindow *page,
+                               const wxString& text,
+                               bool select = false,
+                               int imageId = wxNOT_FOUND);
 
     // Adds a new page at top level after all other pages.
     virtual bool AddPage(wxWindow *page,