X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/105e45b9d02d7e9ed10923957ae1ce60c037273d..4e4ea166d76da40eaa5fdcf9e958d93521f72fba:/utils/wxPython/src/gtk/windows2.py diff --git a/utils/wxPython/src/gtk/windows2.py b/utils/wxPython/src/gtk/windows2.py index c4c763bf68..cffcfe18f9 100644 --- a/utils/wxPython/src/gtk/windows2.py +++ b/utils/wxPython/src/gtk/windows2.py @@ -155,6 +155,7 @@ class wxGridPtr(wxPanelPtr): def GetCurrentRect(self): val = windows2c.wxGrid_GetCurrentRect(self.this) val = wxRectPtr(val) + val.thisown = 1 return val def GetCursorColumn(self): val = windows2c.wxGrid_GetCursorColumn(self.this) @@ -402,10 +403,11 @@ class wxNotebookPtr(wxControlPtr): val = windows2c.wxNotebook_GetPageText(self.this,arg0) return val def SetImageList(self,arg0): - val = windows2c.wxNotebook_SetImageList(self.this,arg0) + val = windows2c.wxNotebook_SetImageList(self.this,arg0.this) return val def GetImageList(self): val = windows2c.wxNotebook_GetImageList(self.this) + val = wxImageListPtr(val) return val def GetPageImage(self,arg0): val = windows2c.wxNotebook_GetPageImage(self.this,arg0) @@ -419,6 +421,9 @@ class wxNotebookPtr(wxControlPtr): def DeletePage(self,arg0): val = windows2c.wxNotebook_DeletePage(self.this,arg0) return val + def RemovePage(self,arg0): + val = windows2c.wxNotebook_RemovePage(self.this,arg0) + return val def DeleteAllPages(self): val = windows2c.wxNotebook_DeleteAllPages(self.this) return val @@ -428,6 +433,9 @@ class wxNotebookPtr(wxControlPtr): def GetPage(self,arg0): val = windows2c.wxNotebook_GetPage(self.this,arg0) return val + def ResizeChildren(self): + val = windows2c.wxNotebook_ResizeChildren(self.this) + return val def __repr__(self): return "" class wxNotebook(wxNotebookPtr):