X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/21f8d7ea6b728d473045198304592b61c610e49a..b3818fbe8e439bc9af8c20371774520a5a2bc9c7:/utils/wxPython/src/gtk/windows2.py diff --git a/utils/wxPython/src/gtk/windows2.py b/utils/wxPython/src/gtk/windows2.py index 021802e12c..ab118d1a50 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) @@ -360,7 +361,7 @@ class wxGridEvent(wxGridEventPtr): -class wxNotebookEventPtr(wxCommandEventPtr): +class wxNotebookEventPtr(wxNotifyEventPtr): def __init__(self,this): self.this = this self.thisown = 0 @@ -370,6 +371,12 @@ class wxNotebookEventPtr(wxCommandEventPtr): def GetOldSelection(self): val = windows2c.wxNotebookEvent_GetOldSelection(self.this) return val + def SetOldSelection(self,arg0): + val = windows2c.wxNotebookEvent_SetOldSelection(self.this,arg0) + return val + def SetSelection(self,arg0): + val = windows2c.wxNotebookEvent_SetSelection(self.this,arg0) + return val def __repr__(self): return "" class wxNotebookEvent(wxNotebookEventPtr): @@ -420,6 +427,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 +438,10 @@ class wxNotebookPtr(wxControlPtr): return val def GetPage(self,arg0): val = windows2c.wxNotebook_GetPage(self.this,arg0) + val = wxWindowPtr(val) + return val + def ResizeChildren(self): + val = windows2c.wxNotebook_ResizeChildren(self.this) return val def __repr__(self): return "" @@ -446,6 +460,35 @@ class wxNotebook(wxNotebookPtr): +class wxSplitterEventPtr(wxCommandEventPtr): + def __init__(self,this): + self.this = this + self.thisown = 0 + def GetSashPosition(self): + val = windows2c.wxSplitterEvent_GetSashPosition(self.this) + return val + def GetX(self): + val = windows2c.wxSplitterEvent_GetX(self.this) + return val + def GetY(self): + val = windows2c.wxSplitterEvent_GetY(self.this) + return val + def GetWindowBeingRemoved(self): + val = windows2c.wxSplitterEvent_GetWindowBeingRemoved(self.this) + val = wxWindowPtr(val) + return val + def SetSashPosition(self,arg0): + val = windows2c.wxSplitterEvent_SetSashPosition(self.this,arg0) + return val + def __repr__(self): + return "" +class wxSplitterEvent(wxSplitterEventPtr): + def __init__(self,this): + self.this = this + + + + class wxSplitterWindowPtr(wxWindowPtr): def __init__(self,this): self.this = this