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