X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab9bc19bd1c0347b73a55b5a642f4d590aa76d43..cc9efb9be731d6827981fb8ddacf60bf1382b31c:/utils/wxPython/src/gtk/windows2.py diff --git a/utils/wxPython/src/gtk/windows2.py b/utils/wxPython/src/gtk/windows2.py index cffcfe18f9..ab118d1a50 100644 --- a/utils/wxPython/src/gtk/windows2.py +++ b/utils/wxPython/src/gtk/windows2.py @@ -361,7 +361,7 @@ class wxGridEvent(wxGridEventPtr): -class wxNotebookEventPtr(wxCommandEventPtr): +class wxNotebookEventPtr(wxNotifyEventPtr): def __init__(self,this): self.this = this self.thisown = 0 @@ -371,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): @@ -432,6 +438,7 @@ 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) @@ -453,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