]>
Commit | Line | Data |
---|---|---|
8ab979d7 RD |
1 | # This file was created automatically by SWIG. |
2 | import cmndlgsc | |
3 | ||
4 | from misc import * | |
5 | ||
6 | from gdi import * | |
7 | ||
a323d3bd RD |
8 | from fonts import * |
9 | ||
8ab979d7 | 10 | from windows import * |
bb0054cd | 11 | |
b1462dfa RD |
12 | from clip_dnd import * |
13 | ||
0220cbc1 RD |
14 | from events import * |
15 | ||
bb0054cd RD |
16 | from frames import * |
17 | ||
18 | from stattool import * | |
19 | ||
20 | from controls import * | |
b8b8dda7 | 21 | import wx |
0220cbc1 RD |
22 | |
23 | ||
24 | def EVT_COMMAND_FIND(win, id, func): | |
25 | win.Connect(id, -1, wxEVT_COMMAND_FIND, func) | |
26 | ||
27 | def EVT_COMMAND_FIND_NEXT(win, id, func): | |
28 | win.Connect(id, -1, wxEVT_COMMAND_FIND_NEXT, func) | |
29 | ||
30 | def EVT_COMMAND_FIND_REPLACE(win, id, func): | |
31 | win.Connect(id, -1, wxEVT_COMMAND_FIND_REPLACE, func) | |
32 | ||
33 | def EVT_COMMAND_FIND_REPLACE_ALL(win, id, func): | |
34 | win.Connect(id, -1, wxEVT_COMMAND_FIND_REPLACE_ALL, func) | |
35 | ||
36 | def EVT_COMMAND_FIND_CLOSE(win, id, func): | |
37 | win.Connect(id, -1, wxEVT_COMMAND_FIND_CLOSE, func) | |
38 | ||
39 | ||
9df61a29 | 40 | class wxColourDataPtr(wxObjectPtr): |
8ab979d7 RD |
41 | def __init__(self,this): |
42 | self.this = this | |
43 | self.thisown = 0 | |
b67a9327 RD |
44 | def __del__(self, delfunc=cmndlgsc.delete_wxColourData): |
45 | if self.thisown == 1: | |
46 | try: | |
47 | delfunc(self) | |
48 | except: | |
49 | pass | |
1d99702e | 50 | def GetChooseFull(self, *_args, **_kwargs): |
1fded56b | 51 | val = cmndlgsc.wxColourData_GetChooseFull(self, *_args, **_kwargs) |
8ab979d7 | 52 | return val |
1d99702e | 53 | def GetColour(self, *_args, **_kwargs): |
1fded56b | 54 | val = cmndlgsc.wxColourData_GetColour(self, *_args, **_kwargs) |
84a81942 | 55 | if val: val = wxColourPtr(val) ; val.thisown = 1 |
8ab979d7 | 56 | return val |
1d99702e | 57 | def GetCustomColour(self, *_args, **_kwargs): |
1fded56b | 58 | val = cmndlgsc.wxColourData_GetCustomColour(self, *_args, **_kwargs) |
1d99702e | 59 | if val: val = wxColourPtr(val) ; val.thisown = 1 |
8ab979d7 | 60 | return val |
1d99702e | 61 | def SetChooseFull(self, *_args, **_kwargs): |
1fded56b | 62 | val = cmndlgsc.wxColourData_SetChooseFull(self, *_args, **_kwargs) |
8ab979d7 | 63 | return val |
1d99702e | 64 | def SetColour(self, *_args, **_kwargs): |
1fded56b | 65 | val = cmndlgsc.wxColourData_SetColour(self, *_args, **_kwargs) |
8ab979d7 | 66 | return val |
1d99702e | 67 | def SetCustomColour(self, *_args, **_kwargs): |
1fded56b | 68 | val = cmndlgsc.wxColourData_SetCustomColour(self, *_args, **_kwargs) |
8ab979d7 RD |
69 | return val |
70 | def __repr__(self): | |
1fded56b | 71 | return "<%s.%s instance; proxy of C++ wxColourData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
8ab979d7 | 72 | class wxColourData(wxColourDataPtr): |
1d99702e | 73 | def __init__(self,*_args,**_kwargs): |
1fded56b | 74 | self.this = cmndlgsc.new_wxColourData(*_args,**_kwargs) |
8ab979d7 RD |
75 | self.thisown = 1 |
76 | ||
77 | ||
78 | ||
79 | ||
80 | class wxColourDialogPtr(wxDialogPtr): | |
81 | def __init__(self,this): | |
82 | self.this = this | |
83 | self.thisown = 0 | |
1d99702e | 84 | def GetColourData(self, *_args, **_kwargs): |
1fded56b | 85 | val = cmndlgsc.wxColourDialog_GetColourData(self, *_args, **_kwargs) |
1d99702e | 86 | if val: val = wxColourDataPtr(val) |
8ab979d7 | 87 | return val |
1d99702e | 88 | def ShowModal(self, *_args, **_kwargs): |
1fded56b | 89 | val = cmndlgsc.wxColourDialog_ShowModal(self, *_args, **_kwargs) |
8ab979d7 RD |
90 | return val |
91 | def __repr__(self): | |
1fded56b | 92 | return "<%s.%s instance; proxy of C++ wxColourDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
8ab979d7 | 93 | class wxColourDialog(wxColourDialogPtr): |
1d99702e | 94 | def __init__(self,*_args,**_kwargs): |
1fded56b | 95 | self.this = cmndlgsc.new_wxColourDialog(*_args,**_kwargs) |
8ab979d7 | 96 | self.thisown = 1 |
0220cbc1 | 97 | self._setOORInfo(self) |
8ab979d7 RD |
98 | |
99 | ||
100 | ||
101 | ||
102 | class wxDirDialogPtr(wxDialogPtr): | |
103 | def __init__(self,this): | |
104 | self.this = this | |
105 | self.thisown = 0 | |
1d99702e | 106 | def GetPath(self, *_args, **_kwargs): |
1fded56b | 107 | val = cmndlgsc.wxDirDialog_GetPath(self, *_args, **_kwargs) |
8ab979d7 | 108 | return val |
1d99702e | 109 | def GetMessage(self, *_args, **_kwargs): |
1fded56b | 110 | val = cmndlgsc.wxDirDialog_GetMessage(self, *_args, **_kwargs) |
8ab979d7 | 111 | return val |
1d99702e | 112 | def GetStyle(self, *_args, **_kwargs): |
1fded56b | 113 | val = cmndlgsc.wxDirDialog_GetStyle(self, *_args, **_kwargs) |
8ab979d7 | 114 | return val |
1d99702e | 115 | def SetMessage(self, *_args, **_kwargs): |
1fded56b | 116 | val = cmndlgsc.wxDirDialog_SetMessage(self, *_args, **_kwargs) |
8ab979d7 | 117 | return val |
1d99702e | 118 | def SetPath(self, *_args, **_kwargs): |
1fded56b | 119 | val = cmndlgsc.wxDirDialog_SetPath(self, *_args, **_kwargs) |
8ab979d7 | 120 | return val |
1d99702e | 121 | def ShowModal(self, *_args, **_kwargs): |
1fded56b | 122 | val = cmndlgsc.wxDirDialog_ShowModal(self, *_args, **_kwargs) |
8ab979d7 RD |
123 | return val |
124 | def __repr__(self): | |
1fded56b | 125 | return "<%s.%s instance; proxy of C++ wxDirDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
8ab979d7 | 126 | class wxDirDialog(wxDirDialogPtr): |
1d99702e | 127 | def __init__(self,*_args,**_kwargs): |
1fded56b | 128 | self.this = cmndlgsc.new_wxDirDialog(*_args,**_kwargs) |
8ab979d7 | 129 | self.thisown = 1 |
0220cbc1 | 130 | self._setOORInfo(self) |
8ab979d7 RD |
131 | |
132 | ||
133 | ||
134 | ||
135 | class wxFileDialogPtr(wxDialogPtr): | |
136 | def __init__(self,this): | |
137 | self.this = this | |
138 | self.thisown = 0 | |
1d99702e | 139 | def GetDirectory(self, *_args, **_kwargs): |
1fded56b | 140 | val = cmndlgsc.wxFileDialog_GetDirectory(self, *_args, **_kwargs) |
8ab979d7 | 141 | return val |
1d99702e | 142 | def GetFilename(self, *_args, **_kwargs): |
1fded56b | 143 | val = cmndlgsc.wxFileDialog_GetFilename(self, *_args, **_kwargs) |
8ab979d7 | 144 | return val |
1d99702e | 145 | def GetFilterIndex(self, *_args, **_kwargs): |
1fded56b | 146 | val = cmndlgsc.wxFileDialog_GetFilterIndex(self, *_args, **_kwargs) |
8ab979d7 | 147 | return val |
1d99702e | 148 | def GetMessage(self, *_args, **_kwargs): |
1fded56b | 149 | val = cmndlgsc.wxFileDialog_GetMessage(self, *_args, **_kwargs) |
8ab979d7 | 150 | return val |
1d99702e | 151 | def GetPath(self, *_args, **_kwargs): |
1fded56b | 152 | val = cmndlgsc.wxFileDialog_GetPath(self, *_args, **_kwargs) |
8ab979d7 | 153 | return val |
1d99702e | 154 | def GetStyle(self, *_args, **_kwargs): |
1fded56b | 155 | val = cmndlgsc.wxFileDialog_GetStyle(self, *_args, **_kwargs) |
8ab979d7 | 156 | return val |
1d99702e | 157 | def GetWildcard(self, *_args, **_kwargs): |
1fded56b | 158 | val = cmndlgsc.wxFileDialog_GetWildcard(self, *_args, **_kwargs) |
8ab979d7 | 159 | return val |
1d99702e | 160 | def SetDirectory(self, *_args, **_kwargs): |
1fded56b | 161 | val = cmndlgsc.wxFileDialog_SetDirectory(self, *_args, **_kwargs) |
8ab979d7 | 162 | return val |
1d99702e | 163 | def SetFilename(self, *_args, **_kwargs): |
1fded56b | 164 | val = cmndlgsc.wxFileDialog_SetFilename(self, *_args, **_kwargs) |
8ab979d7 | 165 | return val |
1d99702e | 166 | def SetFilterIndex(self, *_args, **_kwargs): |
1fded56b | 167 | val = cmndlgsc.wxFileDialog_SetFilterIndex(self, *_args, **_kwargs) |
8ab979d7 | 168 | return val |
1d99702e | 169 | def SetMessage(self, *_args, **_kwargs): |
1fded56b | 170 | val = cmndlgsc.wxFileDialog_SetMessage(self, *_args, **_kwargs) |
8ab979d7 | 171 | return val |
1d99702e | 172 | def SetPath(self, *_args, **_kwargs): |
1fded56b | 173 | val = cmndlgsc.wxFileDialog_SetPath(self, *_args, **_kwargs) |
8ab979d7 | 174 | return val |
1d99702e | 175 | def SetStyle(self, *_args, **_kwargs): |
1fded56b | 176 | val = cmndlgsc.wxFileDialog_SetStyle(self, *_args, **_kwargs) |
8ab979d7 | 177 | return val |
1d99702e | 178 | def SetWildcard(self, *_args, **_kwargs): |
1fded56b | 179 | val = cmndlgsc.wxFileDialog_SetWildcard(self, *_args, **_kwargs) |
8ab979d7 | 180 | return val |
1d99702e | 181 | def ShowModal(self, *_args, **_kwargs): |
1fded56b | 182 | val = cmndlgsc.wxFileDialog_ShowModal(self, *_args, **_kwargs) |
8ab979d7 | 183 | return val |
f6bcfd97 | 184 | def GetFilenames(self, *_args, **_kwargs): |
1fded56b | 185 | val = cmndlgsc.wxFileDialog_GetFilenames(self, *_args, **_kwargs) |
f6bcfd97 BP |
186 | return val |
187 | def GetPaths(self, *_args, **_kwargs): | |
1fded56b | 188 | val = cmndlgsc.wxFileDialog_GetPaths(self, *_args, **_kwargs) |
f6bcfd97 | 189 | return val |
8ab979d7 | 190 | def __repr__(self): |
1fded56b | 191 | return "<%s.%s instance; proxy of C++ wxFileDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
8ab979d7 | 192 | class wxFileDialog(wxFileDialogPtr): |
1d99702e | 193 | def __init__(self,*_args,**_kwargs): |
1fded56b | 194 | self.this = cmndlgsc.new_wxFileDialog(*_args,**_kwargs) |
8ab979d7 | 195 | self.thisown = 1 |
0220cbc1 | 196 | self._setOORInfo(self) |
8ab979d7 RD |
197 | |
198 | ||
199 | ||
200 | ||
85247b36 RD |
201 | class wxMultiChoiceDialogPtr(wxDialogPtr): |
202 | def __init__(self,this): | |
203 | self.this = this | |
204 | self.thisown = 0 | |
205 | def SetSelections(self, *_args, **_kwargs): | |
1fded56b | 206 | val = cmndlgsc.wxMultiChoiceDialog_SetSelections(self, *_args, **_kwargs) |
85247b36 RD |
207 | return val |
208 | def GetSelections(self, *_args, **_kwargs): | |
1fded56b | 209 | val = cmndlgsc.wxMultiChoiceDialog_GetSelections(self, *_args, **_kwargs) |
85247b36 RD |
210 | return val |
211 | def __repr__(self): | |
1fded56b | 212 | return "<%s.%s instance; proxy of C++ wxMultiChoiceDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
85247b36 RD |
213 | class wxMultiChoiceDialog(wxMultiChoiceDialogPtr): |
214 | def __init__(self,*_args,**_kwargs): | |
1fded56b | 215 | self.this = cmndlgsc.new_wxMultiChoiceDialog(*_args,**_kwargs) |
85247b36 RD |
216 | self.thisown = 1 |
217 | self._setOORInfo(self) | |
218 | ||
219 | ||
220 | ||
221 | ||
8ab979d7 RD |
222 | class wxSingleChoiceDialogPtr(wxDialogPtr): |
223 | def __init__(self,this): | |
224 | self.this = this | |
225 | self.thisown = 0 | |
1d99702e | 226 | def GetSelection(self, *_args, **_kwargs): |
1fded56b | 227 | val = cmndlgsc.wxSingleChoiceDialog_GetSelection(self, *_args, **_kwargs) |
8ab979d7 | 228 | return val |
1d99702e | 229 | def GetStringSelection(self, *_args, **_kwargs): |
1fded56b | 230 | val = cmndlgsc.wxSingleChoiceDialog_GetStringSelection(self, *_args, **_kwargs) |
8ab979d7 | 231 | return val |
1d99702e | 232 | def SetSelection(self, *_args, **_kwargs): |
1fded56b | 233 | val = cmndlgsc.wxSingleChoiceDialog_SetSelection(self, *_args, **_kwargs) |
8ab979d7 | 234 | return val |
1d99702e | 235 | def ShowModal(self, *_args, **_kwargs): |
1fded56b | 236 | val = cmndlgsc.wxSingleChoiceDialog_ShowModal(self, *_args, **_kwargs) |
8ab979d7 RD |
237 | return val |
238 | def __repr__(self): | |
1fded56b | 239 | return "<%s.%s instance; proxy of C++ wxSingleChoiceDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
8ab979d7 | 240 | class wxSingleChoiceDialog(wxSingleChoiceDialogPtr): |
1d99702e | 241 | def __init__(self,*_args,**_kwargs): |
1fded56b | 242 | self.this = cmndlgsc.new_wxSingleChoiceDialog(*_args,**_kwargs) |
8ab979d7 | 243 | self.thisown = 1 |
0220cbc1 | 244 | self._setOORInfo(self) |
8ab979d7 RD |
245 | |
246 | ||
247 | ||
248 | ||
249 | class wxTextEntryDialogPtr(wxDialogPtr): | |
250 | def __init__(self,this): | |
251 | self.this = this | |
252 | self.thisown = 0 | |
1d99702e | 253 | def GetValue(self, *_args, **_kwargs): |
1fded56b | 254 | val = cmndlgsc.wxTextEntryDialog_GetValue(self, *_args, **_kwargs) |
8ab979d7 | 255 | return val |
1d99702e | 256 | def SetValue(self, *_args, **_kwargs): |
1fded56b | 257 | val = cmndlgsc.wxTextEntryDialog_SetValue(self, *_args, **_kwargs) |
8ab979d7 | 258 | return val |
1d99702e | 259 | def ShowModal(self, *_args, **_kwargs): |
1fded56b | 260 | val = cmndlgsc.wxTextEntryDialog_ShowModal(self, *_args, **_kwargs) |
8ab979d7 RD |
261 | return val |
262 | def __repr__(self): | |
1fded56b | 263 | return "<%s.%s instance; proxy of C++ wxTextEntryDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
8ab979d7 | 264 | class wxTextEntryDialog(wxTextEntryDialogPtr): |
1d99702e | 265 | def __init__(self,*_args,**_kwargs): |
1fded56b | 266 | self.this = cmndlgsc.new_wxTextEntryDialog(*_args,**_kwargs) |
8ab979d7 | 267 | self.thisown = 1 |
0220cbc1 | 268 | self._setOORInfo(self) |
8ab979d7 RD |
269 | |
270 | ||
271 | ||
272 | ||
9df61a29 | 273 | class wxFontDataPtr(wxObjectPtr): |
8ab979d7 RD |
274 | def __init__(self,this): |
275 | self.this = this | |
276 | self.thisown = 0 | |
b67a9327 RD |
277 | def __del__(self, delfunc=cmndlgsc.delete_wxFontData): |
278 | if self.thisown == 1: | |
279 | try: | |
280 | delfunc(self) | |
281 | except: | |
282 | pass | |
1d99702e | 283 | def EnableEffects(self, *_args, **_kwargs): |
1fded56b | 284 | val = cmndlgsc.wxFontData_EnableEffects(self, *_args, **_kwargs) |
8ab979d7 | 285 | return val |
1d99702e | 286 | def GetAllowSymbols(self, *_args, **_kwargs): |
1fded56b | 287 | val = cmndlgsc.wxFontData_GetAllowSymbols(self, *_args, **_kwargs) |
8ab979d7 | 288 | return val |
1d99702e | 289 | def GetColour(self, *_args, **_kwargs): |
1fded56b | 290 | val = cmndlgsc.wxFontData_GetColour(self, *_args, **_kwargs) |
84a81942 | 291 | if val: val = wxColourPtr(val) ; val.thisown = 1 |
8ab979d7 | 292 | return val |
1d99702e | 293 | def GetChosenFont(self, *_args, **_kwargs): |
1fded56b | 294 | val = cmndlgsc.wxFontData_GetChosenFont(self, *_args, **_kwargs) |
1d99702e | 295 | if val: val = wxFontPtr(val) ; val.thisown = 1 |
8ab979d7 | 296 | return val |
1d99702e | 297 | def GetEnableEffects(self, *_args, **_kwargs): |
1fded56b | 298 | val = cmndlgsc.wxFontData_GetEnableEffects(self, *_args, **_kwargs) |
8ab979d7 | 299 | return val |
1d99702e | 300 | def GetInitialFont(self, *_args, **_kwargs): |
1fded56b | 301 | val = cmndlgsc.wxFontData_GetInitialFont(self, *_args, **_kwargs) |
1d99702e | 302 | if val: val = wxFontPtr(val) ; val.thisown = 1 |
8ab979d7 | 303 | return val |
1d99702e | 304 | def GetShowHelp(self, *_args, **_kwargs): |
1fded56b | 305 | val = cmndlgsc.wxFontData_GetShowHelp(self, *_args, **_kwargs) |
8ab979d7 | 306 | return val |
1d99702e | 307 | def SetAllowSymbols(self, *_args, **_kwargs): |
1fded56b | 308 | val = cmndlgsc.wxFontData_SetAllowSymbols(self, *_args, **_kwargs) |
8ab979d7 | 309 | return val |
1d99702e | 310 | def SetChosenFont(self, *_args, **_kwargs): |
1fded56b | 311 | val = cmndlgsc.wxFontData_SetChosenFont(self, *_args, **_kwargs) |
8ab979d7 | 312 | return val |
1d99702e | 313 | def SetColour(self, *_args, **_kwargs): |
1fded56b | 314 | val = cmndlgsc.wxFontData_SetColour(self, *_args, **_kwargs) |
8ab979d7 | 315 | return val |
1d99702e | 316 | def SetInitialFont(self, *_args, **_kwargs): |
1fded56b | 317 | val = cmndlgsc.wxFontData_SetInitialFont(self, *_args, **_kwargs) |
8ab979d7 | 318 | return val |
1d99702e | 319 | def SetRange(self, *_args, **_kwargs): |
1fded56b | 320 | val = cmndlgsc.wxFontData_SetRange(self, *_args, **_kwargs) |
8ab979d7 | 321 | return val |
1d99702e | 322 | def SetShowHelp(self, *_args, **_kwargs): |
1fded56b | 323 | val = cmndlgsc.wxFontData_SetShowHelp(self, *_args, **_kwargs) |
8ab979d7 RD |
324 | return val |
325 | def __repr__(self): | |
1fded56b | 326 | return "<%s.%s instance; proxy of C++ wxFontData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
8ab979d7 | 327 | class wxFontData(wxFontDataPtr): |
1d99702e | 328 | def __init__(self,*_args,**_kwargs): |
1fded56b | 329 | self.this = cmndlgsc.new_wxFontData(*_args,**_kwargs) |
8ab979d7 RD |
330 | self.thisown = 1 |
331 | ||
332 | ||
333 | ||
334 | ||
335 | class wxFontDialogPtr(wxDialogPtr): | |
336 | def __init__(self,this): | |
337 | self.this = this | |
338 | self.thisown = 0 | |
1d99702e | 339 | def GetFontData(self, *_args, **_kwargs): |
1fded56b | 340 | val = cmndlgsc.wxFontDialog_GetFontData(self, *_args, **_kwargs) |
1d99702e | 341 | if val: val = wxFontDataPtr(val) |
8ab979d7 | 342 | return val |
1d99702e | 343 | def ShowModal(self, *_args, **_kwargs): |
1fded56b | 344 | val = cmndlgsc.wxFontDialog_ShowModal(self, *_args, **_kwargs) |
8ab979d7 RD |
345 | return val |
346 | def __repr__(self): | |
1fded56b | 347 | return "<%s.%s instance; proxy of C++ wxFontDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
8ab979d7 | 348 | class wxFontDialog(wxFontDialogPtr): |
1d99702e | 349 | def __init__(self,*_args,**_kwargs): |
1fded56b | 350 | self.this = cmndlgsc.new_wxFontDialog(*_args,**_kwargs) |
8ab979d7 | 351 | self.thisown = 1 |
0220cbc1 | 352 | self._setOORInfo(self) |
8ab979d7 RD |
353 | |
354 | ||
355 | ||
356 | ||
bb0054cd | 357 | class wxMessageDialogPtr(wxDialogPtr): |
8ab979d7 RD |
358 | def __init__(self,this): |
359 | self.this = this | |
360 | self.thisown = 0 | |
1d99702e | 361 | def ShowModal(self, *_args, **_kwargs): |
1fded56b | 362 | val = cmndlgsc.wxMessageDialog_ShowModal(self, *_args, **_kwargs) |
8ab979d7 RD |
363 | return val |
364 | def __repr__(self): | |
1fded56b | 365 | return "<%s.%s instance; proxy of C++ wxMessageDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
bb0054cd | 366 | class wxMessageDialog(wxMessageDialogPtr): |
1d99702e | 367 | def __init__(self,*_args,**_kwargs): |
1fded56b | 368 | self.this = cmndlgsc.new_wxMessageDialog(*_args,**_kwargs) |
8ab979d7 | 369 | self.thisown = 1 |
0220cbc1 | 370 | self._setOORInfo(self) |
8ab979d7 RD |
371 | |
372 | ||
373 | ||
374 | ||
bb0054cd | 375 | class wxProgressDialogPtr(wxFramePtr): |
8ab979d7 RD |
376 | def __init__(self,this): |
377 | self.this = this | |
378 | self.thisown = 0 | |
1d99702e | 379 | def Update(self, *_args, **_kwargs): |
1fded56b | 380 | val = cmndlgsc.wxProgressDialog_Update(self, *_args, **_kwargs) |
8ab979d7 | 381 | return val |
1d99702e | 382 | def Resume(self, *_args, **_kwargs): |
1fded56b | 383 | val = cmndlgsc.wxProgressDialog_Resume(self, *_args, **_kwargs) |
8ab979d7 RD |
384 | return val |
385 | def __repr__(self): | |
1fded56b | 386 | return "<%s.%s instance; proxy of C++ wxProgressDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
bb0054cd | 387 | class wxProgressDialog(wxProgressDialogPtr): |
1d99702e | 388 | def __init__(self,*_args,**_kwargs): |
1fded56b | 389 | self.this = cmndlgsc.new_wxProgressDialog(*_args,**_kwargs) |
8ab979d7 | 390 | self.thisown = 1 |
0220cbc1 RD |
391 | self._setOORInfo(self) |
392 | ||
393 | ||
394 | ||
395 | ||
396 | class wxFindDialogEventPtr(wxCommandEventPtr): | |
397 | def __init__(self,this): | |
398 | self.this = this | |
399 | self.thisown = 0 | |
400 | def GetFlags(self, *_args, **_kwargs): | |
1fded56b | 401 | val = cmndlgsc.wxFindDialogEvent_GetFlags(self, *_args, **_kwargs) |
0220cbc1 RD |
402 | return val |
403 | def GetFindString(self, *_args, **_kwargs): | |
1fded56b | 404 | val = cmndlgsc.wxFindDialogEvent_GetFindString(self, *_args, **_kwargs) |
0220cbc1 RD |
405 | return val |
406 | def GetReplaceString(self, *_args, **_kwargs): | |
1fded56b | 407 | val = cmndlgsc.wxFindDialogEvent_GetReplaceString(self, *_args, **_kwargs) |
0220cbc1 RD |
408 | return val |
409 | def GetDialog(self, *_args, **_kwargs): | |
1fded56b | 410 | val = cmndlgsc.wxFindDialogEvent_GetDialog(self, *_args, **_kwargs) |
0220cbc1 RD |
411 | if val: val = wxFindReplaceDialogPtr(val) |
412 | return val | |
413 | def SetFlags(self, *_args, **_kwargs): | |
1fded56b | 414 | val = cmndlgsc.wxFindDialogEvent_SetFlags(self, *_args, **_kwargs) |
0220cbc1 RD |
415 | return val |
416 | def SetFindString(self, *_args, **_kwargs): | |
1fded56b | 417 | val = cmndlgsc.wxFindDialogEvent_SetFindString(self, *_args, **_kwargs) |
0220cbc1 RD |
418 | return val |
419 | def SetReplaceString(self, *_args, **_kwargs): | |
1fded56b | 420 | val = cmndlgsc.wxFindDialogEvent_SetReplaceString(self, *_args, **_kwargs) |
0220cbc1 RD |
421 | return val |
422 | def __repr__(self): | |
1fded56b | 423 | return "<%s.%s instance; proxy of C++ wxFindDialogEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
0220cbc1 RD |
424 | class wxFindDialogEvent(wxFindDialogEventPtr): |
425 | def __init__(self,*_args,**_kwargs): | |
1fded56b | 426 | self.this = cmndlgsc.new_wxFindDialogEvent(*_args,**_kwargs) |
0220cbc1 RD |
427 | self.thisown = 1 |
428 | ||
429 | ||
430 | ||
431 | ||
432 | class wxFindReplaceDataPtr(wxObjectPtr): | |
433 | def __init__(self,this): | |
434 | self.this = this | |
435 | self.thisown = 0 | |
b67a9327 RD |
436 | def __del__(self, delfunc=cmndlgsc.delete_wxFindReplaceData): |
437 | if self.thisown == 1: | |
438 | try: | |
439 | delfunc(self) | |
440 | except: | |
441 | pass | |
0220cbc1 | 442 | def GetFindString(self, *_args, **_kwargs): |
1fded56b | 443 | val = cmndlgsc.wxFindReplaceData_GetFindString(self, *_args, **_kwargs) |
0220cbc1 RD |
444 | return val |
445 | def GetReplaceString(self, *_args, **_kwargs): | |
1fded56b | 446 | val = cmndlgsc.wxFindReplaceData_GetReplaceString(self, *_args, **_kwargs) |
0220cbc1 RD |
447 | return val |
448 | def GetFlags(self, *_args, **_kwargs): | |
1fded56b | 449 | val = cmndlgsc.wxFindReplaceData_GetFlags(self, *_args, **_kwargs) |
0220cbc1 RD |
450 | return val |
451 | def SetFlags(self, *_args, **_kwargs): | |
1fded56b | 452 | val = cmndlgsc.wxFindReplaceData_SetFlags(self, *_args, **_kwargs) |
0220cbc1 RD |
453 | return val |
454 | def SetFindString(self, *_args, **_kwargs): | |
1fded56b | 455 | val = cmndlgsc.wxFindReplaceData_SetFindString(self, *_args, **_kwargs) |
0220cbc1 RD |
456 | return val |
457 | def SetReplaceString(self, *_args, **_kwargs): | |
1fded56b | 458 | val = cmndlgsc.wxFindReplaceData_SetReplaceString(self, *_args, **_kwargs) |
0220cbc1 RD |
459 | return val |
460 | def __repr__(self): | |
1fded56b | 461 | return "<%s.%s instance; proxy of C++ wxFindReplaceData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
0220cbc1 RD |
462 | class wxFindReplaceData(wxFindReplaceDataPtr): |
463 | def __init__(self,*_args,**_kwargs): | |
1fded56b | 464 | self.this = cmndlgsc.new_wxFindReplaceData(*_args,**_kwargs) |
0220cbc1 RD |
465 | self.thisown = 1 |
466 | ||
467 | ||
468 | ||
469 | ||
470 | class wxFindReplaceDialogPtr(wxDialogPtr): | |
471 | def __init__(self,this): | |
472 | self.this = this | |
473 | self.thisown = 0 | |
474 | def Create(self, *_args, **_kwargs): | |
1fded56b | 475 | val = cmndlgsc.wxFindReplaceDialog_Create(self, *_args, **_kwargs) |
0220cbc1 RD |
476 | return val |
477 | def GetData(self, *_args, **_kwargs): | |
1fded56b | 478 | val = cmndlgsc.wxFindReplaceDialog_GetData(self, *_args, **_kwargs) |
0220cbc1 RD |
479 | if val: val = wxFindReplaceDataPtr(val) |
480 | return val | |
481 | def SetData(self, *_args, **_kwargs): | |
1fded56b | 482 | val = cmndlgsc.wxFindReplaceDialog_SetData(self, *_args, **_kwargs) |
0220cbc1 RD |
483 | return val |
484 | def __repr__(self): | |
1fded56b | 485 | return "<%s.%s instance; proxy of C++ wxFindReplaceDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
0220cbc1 RD |
486 | class wxFindReplaceDialog(wxFindReplaceDialogPtr): |
487 | def __init__(self,*_args,**_kwargs): | |
1fded56b | 488 | self.this = cmndlgsc.new_wxFindReplaceDialog(*_args,**_kwargs) |
0220cbc1 RD |
489 | self.thisown = 1 |
490 | self._setOORInfo(self) | |
491 | ||
8ab979d7 RD |
492 | |
493 | ||
0220cbc1 | 494 | def wxPreFindReplaceDialog(*_args,**_kwargs): |
1fded56b | 495 | val = wxFindReplaceDialogPtr(cmndlgsc.new_wxPreFindReplaceDialog(*_args,**_kwargs)) |
0220cbc1 | 496 | val.thisown = 1 |
17c0e08c | 497 | val._setOORInfo(val) |
0220cbc1 | 498 | return val |
8ab979d7 RD |
499 | |
500 | ||
501 | ||
502 | ||
503 | #-------------- FUNCTION WRAPPERS ------------------ | |
504 | ||
505 | ||
506 | ||
507 | #-------------- VARIABLE WRAPPERS ------------------ | |
508 | ||
85247b36 | 509 | wxCHOICEDLG_STYLE = cmndlgsc.wxCHOICEDLG_STYLE |
0220cbc1 RD |
510 | wxFR_DOWN = cmndlgsc.wxFR_DOWN |
511 | wxFR_WHOLEWORD = cmndlgsc.wxFR_WHOLEWORD | |
512 | wxFR_MATCHCASE = cmndlgsc.wxFR_MATCHCASE | |
513 | wxFR_REPLACEDIALOG = cmndlgsc.wxFR_REPLACEDIALOG | |
514 | wxFR_NOUPDOWN = cmndlgsc.wxFR_NOUPDOWN | |
515 | wxFR_NOMATCHCASE = cmndlgsc.wxFR_NOMATCHCASE | |
516 | wxFR_NOWHOLEWORD = cmndlgsc.wxFR_NOWHOLEWORD | |
517 | wxEVT_COMMAND_FIND = cmndlgsc.wxEVT_COMMAND_FIND | |
518 | wxEVT_COMMAND_FIND_NEXT = cmndlgsc.wxEVT_COMMAND_FIND_NEXT | |
519 | wxEVT_COMMAND_FIND_REPLACE = cmndlgsc.wxEVT_COMMAND_FIND_REPLACE | |
520 | wxEVT_COMMAND_FIND_REPLACE_ALL = cmndlgsc.wxEVT_COMMAND_FIND_REPLACE_ALL | |
521 | wxEVT_COMMAND_FIND_CLOSE = cmndlgsc.wxEVT_COMMAND_FIND_CLOSE |