- def MakeModal(self, *_args, **_kwargs):
- val = apply(framesc.wxFrame_MakeModal,(self,) + _args, _kwargs)
+ def __repr__(self):
+ return "<C wxFrame instance at %s>" % (self.this,)
+class wxFrame(wxFramePtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(framesc.new_wxFrame,_args,_kwargs)
+ self.thisown = 1
+
+
+
+def wxPreFrame(*_args,**_kwargs):
+ val = wxFramePtr(apply(framesc.new_wxPreFrame,_args,_kwargs))
+ val.thisown = 1
+ return val
+
+
+class wxDialogPtr(wxTopLevelWindowPtr):
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def Create(self, *_args, **_kwargs):
+ val = apply(framesc.wxDialog_Create,(self,) + _args, _kwargs)
+ return val
+ def Centre(self, *_args, **_kwargs):
+ val = apply(framesc.wxDialog_Centre,(self,) + _args, _kwargs)