from gdi import *
from windows import *
+
+from frames import *
+
+from stattool import *
+
+from controls import *
+
+from events import *
+import wx
class wxColourDataPtr :
def __init__(self,this):
self.this = this
def GetColourData(self):
val = cmndlgsc.wxColourDialog_GetColourData(self.this)
val = wxColourDataPtr(val)
- val.thisown = 1
return val
def ShowModal(self):
val = cmndlgsc.wxColourDialog_ShowModal(self.this)
args = tuple(argl)
self.this = apply(cmndlgsc.new_wxColourDialog,(arg0.this,)+args)
self.thisown = 1
+ wx._StdDialogCallbacks(self)
+
+
+
+
+class wxDirDialogPtr(wxDialogPtr):
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def GetPath(self):
+ val = cmndlgsc.wxDirDialog_GetPath(self.this)
+ return val
+ def GetMessage(self):
+ val = cmndlgsc.wxDirDialog_GetMessage(self.this)
+ return val
+ def GetStyle(self):
+ val = cmndlgsc.wxDirDialog_GetStyle(self.this)
+ return val
+ def SetMessage(self,arg0):
+ val = cmndlgsc.wxDirDialog_SetMessage(self.this,arg0)
+ return val
+ def SetPath(self,arg0):
+ val = cmndlgsc.wxDirDialog_SetPath(self.this,arg0)
+ return val
+ def ShowModal(self):
+ val = cmndlgsc.wxDirDialog_ShowModal(self.this)
+ return val
+ def __repr__(self):
+ return "<C wxDirDialog instance>"
+class wxDirDialog(wxDirDialogPtr):
+ def __init__(self,arg0,*args) :
+ argl = map(None,args)
+ try: argl[3] = argl[3].this
+ except: pass
+ args = tuple(argl)
+ self.this = apply(cmndlgsc.new_wxDirDialog,(arg0.this,)+args)
+ self.thisown = 1
+ wx._StdDialogCallbacks(self)
args = tuple(argl)
self.this = apply(cmndlgsc.new_wxFileDialog,(arg0.this,)+args)
self.thisown = 1
+ wx._StdDialogCallbacks(self)
args = tuple(argl)
self.this = apply(cmndlgsc.new_wxSingleChoiceDialog,(arg0.this,arg1,arg2,arg3,)+args)
self.thisown = 1
+ wx._StdDialogCallbacks(self)
args = tuple(argl)
self.this = apply(cmndlgsc.new_wxTextEntryDialog,(arg0.this,arg1,)+args)
self.thisown = 1
+ wx._StdDialogCallbacks(self)
args = tuple(argl)
self.this = apply(cmndlgsc.new_wxFontDialog,(arg0.this,)+args)
self.thisown = 1
+ wx._StdDialogCallbacks(self)
args = tuple(argl)
self.this = apply(cmndlgsc.new_wxMessageDialog,(arg0.this,arg1,)+args)
self.thisown = 1
+ wx._StdDialogCallbacks(self)
+
+
+
+
+class wxProgressDialogPtr(wxFramePtr):
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def Update(self,*args):
+ val = apply(cmndlgsc.wxProgressDialog_Update,(self.this,)+args)
+ return val
+ def Resume(self):
+ val = cmndlgsc.wxProgressDialog_Resume(self.this)
+ return val
+ def __repr__(self):
+ return "<C wxProgressDialog instance>"
+class wxProgressDialog(wxProgressDialogPtr):
+ def __init__(self,arg0,arg1,*args) :
+ argl = map(None,args)
+ try: argl[1] = argl[1].this
+ except: pass
+ args = tuple(argl)
+ self.this = apply(cmndlgsc.new_wxProgressDialog,(arg0,arg1,)+args)
+ self.thisown = 1