Added XRCed to the wxPython Tools directory, contributed by Roman
Rolinsky. Added wrappers for the default ctor and the Create methods for most window classes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -21,6 +21,9 @@ class wxMDIParentFramePtr(wxFramePtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def Create(self, *_args, **_kwargs):
|
||||
val = apply(mdic.wxMDIParentFrame_Create,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def ActivateNext(self, *_args, **_kwargs):
|
||||
val = apply(mdic.wxMDIParentFrame_ActivateNext,(self,) + _args, _kwargs)
|
||||
return val
|
||||
@@ -60,15 +63,22 @@ class wxMDIParentFrame(wxMDIParentFramePtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(mdic.new_wxMDIParentFrame,_args,_kwargs)
|
||||
self.thisown = 1
|
||||
#wx._StdFrameCallbacks(self)
|
||||
|
||||
|
||||
|
||||
def wxPreMDIParentFrame(*_args,**_kwargs):
|
||||
val = wxMDIParentFramePtr(apply(mdic.new_wxPreMDIParentFrame,_args,_kwargs))
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
|
||||
class wxMDIChildFramePtr(wxFramePtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def Create(self, *_args, **_kwargs):
|
||||
val = apply(mdic.wxMDIChildFrame_Create,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def Activate(self, *_args, **_kwargs):
|
||||
val = apply(mdic.wxMDIChildFrame_Activate,(self,) + _args, _kwargs)
|
||||
return val
|
||||
@@ -84,15 +94,22 @@ class wxMDIChildFrame(wxMDIChildFramePtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(mdic.new_wxMDIChildFrame,_args,_kwargs)
|
||||
self.thisown = 1
|
||||
#wx._StdFrameCallbacks(self)
|
||||
|
||||
|
||||
|
||||
def wxPreMDIChildFrame(*_args,**_kwargs):
|
||||
val = wxMDIChildFramePtr(apply(mdic.new_wxPreMDIChildFrame,_args,_kwargs))
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
|
||||
class wxMDIClientWindowPtr(wxWindowPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def Create(self, *_args, **_kwargs):
|
||||
val = apply(mdic.wxMDIClientWindow_Create,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxMDIClientWindow instance at %s>" % (self.this,)
|
||||
class wxMDIClientWindow(wxMDIClientWindowPtr):
|
||||
@@ -101,9 +118,16 @@ class wxMDIClientWindow(wxMDIClientWindowPtr):
|
||||
self.thisown = 1
|
||||
#wx._StdWindowCallbacks(self)
|
||||
#wx._StdOnScrollCallbacks(self)
|
||||
#wx._StdWindowCallbacks(self)
|
||||
#wx._StdOnScrollCallbacks(self)
|
||||
|
||||
|
||||
|
||||
def wxPreMDIClientWindow(*_args,**_kwargs):
|
||||
val = wxMDIClientWindowPtr(apply(mdic.new_wxPreMDIClientWindow,_args,_kwargs))
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user