]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/cmndlgs.py
Save the initial tstate during initialization
[wxWidgets.git] / wxPython / src / gtk / cmndlgs.py
CommitLineData
8ab979d7
RD
1# This file was created automatically by SWIG.
2import cmndlgsc
3
4from misc import *
5
6from gdi import *
7
a323d3bd
RD
8from fonts import *
9
8ab979d7 10from windows import *
bb0054cd 11
b1462dfa
RD
12from clip_dnd import *
13
0220cbc1
RD
14from events import *
15
bb0054cd
RD
16from frames import *
17
18from stattool import *
19
20from controls import *
b8b8dda7 21import wx
0220cbc1
RD
22
23
24def EVT_COMMAND_FIND(win, id, func):
25 win.Connect(id, -1, wxEVT_COMMAND_FIND, func)
26
27def EVT_COMMAND_FIND_NEXT(win, id, func):
28 win.Connect(id, -1, wxEVT_COMMAND_FIND_NEXT, func)
29
30def EVT_COMMAND_FIND_REPLACE(win, id, func):
31 win.Connect(id, -1, wxEVT_COMMAND_FIND_REPLACE, func)
32
33def EVT_COMMAND_FIND_REPLACE_ALL(win, id, func):
34 win.Connect(id, -1, wxEVT_COMMAND_FIND_REPLACE_ALL, func)
35
36def EVT_COMMAND_FIND_CLOSE(win, id, func):
37 win.Connect(id, -1, wxEVT_COMMAND_FIND_CLOSE, func)
38
39
9df61a29 40class 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 72class 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
80class 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 93class 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
102class 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 126class 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
135class wxFileDialogPtr(wxDialogPtr):
136 def __init__(self,this):
137 self.this = this
138 self.thisown = 0
3ef86e32
RD
139 def SetMessage(self, *_args, **_kwargs):
140 val = cmndlgsc.wxFileDialog_SetMessage(self, *_args, **_kwargs)
8ab979d7 141 return val
3ef86e32
RD
142 def SetPath(self, *_args, **_kwargs):
143 val = cmndlgsc.wxFileDialog_SetPath(self, *_args, **_kwargs)
8ab979d7 144 return val
1d99702e 145 def SetDirectory(self, *_args, **_kwargs):
1fded56b 146 val = cmndlgsc.wxFileDialog_SetDirectory(self, *_args, **_kwargs)
8ab979d7 147 return val
1d99702e 148 def SetFilename(self, *_args, **_kwargs):
1fded56b 149 val = cmndlgsc.wxFileDialog_SetFilename(self, *_args, **_kwargs)
8ab979d7 150 return val
3ef86e32
RD
151 def SetWildcard(self, *_args, **_kwargs):
152 val = cmndlgsc.wxFileDialog_SetWildcard(self, *_args, **_kwargs)
153 return val
154 def SetStyle(self, *_args, **_kwargs):
155 val = cmndlgsc.wxFileDialog_SetStyle(self, *_args, **_kwargs)
156 return val
1d99702e 157 def SetFilterIndex(self, *_args, **_kwargs):
1fded56b 158 val = cmndlgsc.wxFileDialog_SetFilterIndex(self, *_args, **_kwargs)
8ab979d7 159 return val
3ef86e32
RD
160 def GetMessage(self, *_args, **_kwargs):
161 val = cmndlgsc.wxFileDialog_GetMessage(self, *_args, **_kwargs)
8ab979d7 162 return val
3ef86e32
RD
163 def GetPath(self, *_args, **_kwargs):
164 val = cmndlgsc.wxFileDialog_GetPath(self, *_args, **_kwargs)
8ab979d7 165 return val
3ef86e32
RD
166 def GetDirectory(self, *_args, **_kwargs):
167 val = cmndlgsc.wxFileDialog_GetDirectory(self, *_args, **_kwargs)
8ab979d7 168 return val
3ef86e32
RD
169 def GetFilename(self, *_args, **_kwargs):
170 val = cmndlgsc.wxFileDialog_GetFilename(self, *_args, **_kwargs)
8ab979d7 171 return val
3ef86e32
RD
172 def GetWildcard(self, *_args, **_kwargs):
173 val = cmndlgsc.wxFileDialog_GetWildcard(self, *_args, **_kwargs)
174 return val
175 def GetStyle(self, *_args, **_kwargs):
176 val = cmndlgsc.wxFileDialog_GetStyle(self, *_args, **_kwargs)
177 return val
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):
1fded56b 182 val = cmndlgsc.wxFileDialog_GetFilenames(self, *_args, **_kwargs)
f6bcfd97
BP
183 return val
184 def GetPaths(self, *_args, **_kwargs):
1fded56b 185 val = cmndlgsc.wxFileDialog_GetPaths(self, *_args, **_kwargs)
f6bcfd97 186 return val
8ab979d7 187 def __repr__(self):
1fded56b 188 return "<%s.%s instance; proxy of C++ wxFileDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
8ab979d7 189class wxFileDialog(wxFileDialogPtr):
1d99702e 190 def __init__(self,*_args,**_kwargs):
1fded56b 191 self.this = cmndlgsc.new_wxFileDialog(*_args,**_kwargs)
8ab979d7 192 self.thisown = 1
0220cbc1 193 self._setOORInfo(self)
8ab979d7
RD
194
195
196
197
85247b36
RD
198class wxMultiChoiceDialogPtr(wxDialogPtr):
199 def __init__(self,this):
200 self.this = this
201 self.thisown = 0
202 def SetSelections(self, *_args, **_kwargs):
1fded56b 203 val = cmndlgsc.wxMultiChoiceDialog_SetSelections(self, *_args, **_kwargs)
85247b36
RD
204 return val
205 def GetSelections(self, *_args, **_kwargs):
1fded56b 206 val = cmndlgsc.wxMultiChoiceDialog_GetSelections(self, *_args, **_kwargs)
85247b36
RD
207 return val
208 def __repr__(self):
1fded56b 209 return "<%s.%s instance; proxy of C++ wxMultiChoiceDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
85247b36
RD
210class wxMultiChoiceDialog(wxMultiChoiceDialogPtr):
211 def __init__(self,*_args,**_kwargs):
1fded56b 212 self.this = cmndlgsc.new_wxMultiChoiceDialog(*_args,**_kwargs)
85247b36
RD
213 self.thisown = 1
214 self._setOORInfo(self)
215
216
217
218
8ab979d7
RD
219class wxSingleChoiceDialogPtr(wxDialogPtr):
220 def __init__(self,this):
221 self.this = this
222 self.thisown = 0
1d99702e 223 def GetSelection(self, *_args, **_kwargs):
1fded56b 224 val = cmndlgsc.wxSingleChoiceDialog_GetSelection(self, *_args, **_kwargs)
8ab979d7 225 return val
1d99702e 226 def GetStringSelection(self, *_args, **_kwargs):
1fded56b 227 val = cmndlgsc.wxSingleChoiceDialog_GetStringSelection(self, *_args, **_kwargs)
8ab979d7 228 return val
1d99702e 229 def SetSelection(self, *_args, **_kwargs):
1fded56b 230 val = cmndlgsc.wxSingleChoiceDialog_SetSelection(self, *_args, **_kwargs)
8ab979d7 231 return val
1d99702e 232 def ShowModal(self, *_args, **_kwargs):
1fded56b 233 val = cmndlgsc.wxSingleChoiceDialog_ShowModal(self, *_args, **_kwargs)
8ab979d7
RD
234 return val
235 def __repr__(self):
1fded56b 236 return "<%s.%s instance; proxy of C++ wxSingleChoiceDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
8ab979d7 237class wxSingleChoiceDialog(wxSingleChoiceDialogPtr):
1d99702e 238 def __init__(self,*_args,**_kwargs):
1fded56b 239 self.this = cmndlgsc.new_wxSingleChoiceDialog(*_args,**_kwargs)
8ab979d7 240 self.thisown = 1
0220cbc1 241 self._setOORInfo(self)
8ab979d7
RD
242
243
244
245
246class wxTextEntryDialogPtr(wxDialogPtr):
247 def __init__(self,this):
248 self.this = this
249 self.thisown = 0
1d99702e 250 def GetValue(self, *_args, **_kwargs):
1fded56b 251 val = cmndlgsc.wxTextEntryDialog_GetValue(self, *_args, **_kwargs)
8ab979d7 252 return val
1d99702e 253 def SetValue(self, *_args, **_kwargs):
1fded56b 254 val = cmndlgsc.wxTextEntryDialog_SetValue(self, *_args, **_kwargs)
8ab979d7 255 return val
1d99702e 256 def ShowModal(self, *_args, **_kwargs):
1fded56b 257 val = cmndlgsc.wxTextEntryDialog_ShowModal(self, *_args, **_kwargs)
8ab979d7
RD
258 return val
259 def __repr__(self):
1fded56b 260 return "<%s.%s instance; proxy of C++ wxTextEntryDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
8ab979d7 261class wxTextEntryDialog(wxTextEntryDialogPtr):
1d99702e 262 def __init__(self,*_args,**_kwargs):
1fded56b 263 self.this = cmndlgsc.new_wxTextEntryDialog(*_args,**_kwargs)
8ab979d7 264 self.thisown = 1
0220cbc1 265 self._setOORInfo(self)
8ab979d7
RD
266
267
268
269
9df61a29 270class wxFontDataPtr(wxObjectPtr):
8ab979d7
RD
271 def __init__(self,this):
272 self.this = this
273 self.thisown = 0
b67a9327
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):
1fded56b 281 val = cmndlgsc.wxFontData_EnableEffects(self, *_args, **_kwargs)
8ab979d7 282 return val
1d99702e 283 def GetAllowSymbols(self, *_args, **_kwargs):
1fded56b 284 val = cmndlgsc.wxFontData_GetAllowSymbols(self, *_args, **_kwargs)
8ab979d7 285 return val
1d99702e 286 def GetColour(self, *_args, **_kwargs):
1fded56b 287 val = cmndlgsc.wxFontData_GetColour(self, *_args, **_kwargs)
84a81942 288 if val: val = wxColourPtr(val) ; val.thisown = 1
8ab979d7 289 return val
1d99702e 290 def GetChosenFont(self, *_args, **_kwargs):
1fded56b 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):
1fded56b 295 val = cmndlgsc.wxFontData_GetEnableEffects(self, *_args, **_kwargs)
8ab979d7 296 return val
1d99702e 297 def GetInitialFont(self, *_args, **_kwargs):
1fded56b 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):
1fded56b 302 val = cmndlgsc.wxFontData_GetShowHelp(self, *_args, **_kwargs)
8ab979d7 303 return val
1d99702e 304 def SetAllowSymbols(self, *_args, **_kwargs):
1fded56b 305 val = cmndlgsc.wxFontData_SetAllowSymbols(self, *_args, **_kwargs)
8ab979d7 306 return val
1d99702e 307 def SetChosenFont(self, *_args, **_kwargs):
1fded56b 308 val = cmndlgsc.wxFontData_SetChosenFont(self, *_args, **_kwargs)
8ab979d7 309 return val
1d99702e 310 def SetColour(self, *_args, **_kwargs):
1fded56b 311 val = cmndlgsc.wxFontData_SetColour(self, *_args, **_kwargs)
8ab979d7 312 return val
1d99702e 313 def SetInitialFont(self, *_args, **_kwargs):
1fded56b 314 val = cmndlgsc.wxFontData_SetInitialFont(self, *_args, **_kwargs)
8ab979d7 315 return val
1d99702e 316 def SetRange(self, *_args, **_kwargs):
1fded56b 317 val = cmndlgsc.wxFontData_SetRange(self, *_args, **_kwargs)
8ab979d7 318 return val
1d99702e 319 def SetShowHelp(self, *_args, **_kwargs):
1fded56b 320 val = cmndlgsc.wxFontData_SetShowHelp(self, *_args, **_kwargs)
8ab979d7
RD
321 return val
322 def __repr__(self):
1fded56b 323 return "<%s.%s instance; proxy of C++ wxFontData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
8ab979d7 324class wxFontData(wxFontDataPtr):
1d99702e 325 def __init__(self,*_args,**_kwargs):
1fded56b 326 self.this = cmndlgsc.new_wxFontData(*_args,**_kwargs)
8ab979d7
RD
327 self.thisown = 1
328
329
330
331
332class wxFontDialogPtr(wxDialogPtr):
333 def __init__(self,this):
334 self.this = this
335 self.thisown = 0
1d99702e 336 def GetFontData(self, *_args, **_kwargs):
1fded56b 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):
1fded56b 341 val = cmndlgsc.wxFontDialog_ShowModal(self, *_args, **_kwargs)
8ab979d7
RD
342 return val
343 def __repr__(self):
1fded56b 344 return "<%s.%s instance; proxy of C++ wxFontDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
8ab979d7 345class wxFontDialog(wxFontDialogPtr):
1d99702e 346 def __init__(self,*_args,**_kwargs):
1fded56b 347 self.this = cmndlgsc.new_wxFontDialog(*_args,**_kwargs)
8ab979d7 348 self.thisown = 1
0220cbc1 349 self._setOORInfo(self)
8ab979d7
RD
350
351
352
353
bb0054cd 354class wxMessageDialogPtr(wxDialogPtr):
8ab979d7
RD
355 def __init__(self,this):
356 self.this = this
357 self.thisown = 0
1d99702e 358 def ShowModal(self, *_args, **_kwargs):
1fded56b 359 val = cmndlgsc.wxMessageDialog_ShowModal(self, *_args, **_kwargs)
8ab979d7
RD
360 return val
361 def __repr__(self):
1fded56b 362 return "<%s.%s instance; proxy of C++ wxMessageDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
bb0054cd 363class wxMessageDialog(wxMessageDialogPtr):
1d99702e 364 def __init__(self,*_args,**_kwargs):
1fded56b 365 self.this = cmndlgsc.new_wxMessageDialog(*_args,**_kwargs)
8ab979d7 366 self.thisown = 1
0220cbc1 367 self._setOORInfo(self)
8ab979d7
RD
368
369
370
371
bb0054cd 372class wxProgressDialogPtr(wxFramePtr):
8ab979d7
RD
373 def __init__(self,this):
374 self.this = this
375 self.thisown = 0
1d99702e 376 def Update(self, *_args, **_kwargs):
1fded56b 377 val = cmndlgsc.wxProgressDialog_Update(self, *_args, **_kwargs)
8ab979d7 378 return val
1d99702e 379 def Resume(self, *_args, **_kwargs):
1fded56b 380 val = cmndlgsc.wxProgressDialog_Resume(self, *_args, **_kwargs)
8ab979d7
RD
381 return val
382 def __repr__(self):
1fded56b 383 return "<%s.%s instance; proxy of C++ wxProgressDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
bb0054cd 384class wxProgressDialog(wxProgressDialogPtr):
1d99702e 385 def __init__(self,*_args,**_kwargs):
1fded56b 386 self.this = cmndlgsc.new_wxProgressDialog(*_args,**_kwargs)
8ab979d7 387 self.thisown = 1
0220cbc1
RD
388 self._setOORInfo(self)
389
390
391
392
393class wxFindDialogEventPtr(wxCommandEventPtr):
394 def __init__(self,this):
395 self.this = this
396 self.thisown = 0
397 def GetFlags(self, *_args, **_kwargs):
1fded56b 398 val = cmndlgsc.wxFindDialogEvent_GetFlags(self, *_args, **_kwargs)
0220cbc1
RD
399 return val
400 def GetFindString(self, *_args, **_kwargs):
1fded56b 401 val = cmndlgsc.wxFindDialogEvent_GetFindString(self, *_args, **_kwargs)
0220cbc1
RD
402 return val
403 def GetReplaceString(self, *_args, **_kwargs):
1fded56b 404 val = cmndlgsc.wxFindDialogEvent_GetReplaceString(self, *_args, **_kwargs)
0220cbc1
RD
405 return val
406 def GetDialog(self, *_args, **_kwargs):
1fded56b 407 val = cmndlgsc.wxFindDialogEvent_GetDialog(self, *_args, **_kwargs)
0220cbc1
RD
408 if val: val = wxFindReplaceDialogPtr(val)
409 return val
410 def SetFlags(self, *_args, **_kwargs):
1fded56b 411 val = cmndlgsc.wxFindDialogEvent_SetFlags(self, *_args, **_kwargs)
0220cbc1
RD
412 return val
413 def SetFindString(self, *_args, **_kwargs):
1fded56b 414 val = cmndlgsc.wxFindDialogEvent_SetFindString(self, *_args, **_kwargs)
0220cbc1
RD
415 return val
416 def SetReplaceString(self, *_args, **_kwargs):
1fded56b 417 val = cmndlgsc.wxFindDialogEvent_SetReplaceString(self, *_args, **_kwargs)
0220cbc1
RD
418 return val
419 def __repr__(self):
1fded56b 420 return "<%s.%s instance; proxy of C++ wxFindDialogEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
0220cbc1
RD
421class wxFindDialogEvent(wxFindDialogEventPtr):
422 def __init__(self,*_args,**_kwargs):
1fded56b 423 self.this = cmndlgsc.new_wxFindDialogEvent(*_args,**_kwargs)
0220cbc1
RD
424 self.thisown = 1
425
426
427
428
429class wxFindReplaceDataPtr(wxObjectPtr):
430 def __init__(self,this):
431 self.this = this
432 self.thisown = 0
b67a9327
RD
433 def __del__(self, delfunc=cmndlgsc.delete_wxFindReplaceData):
434 if self.thisown == 1:
435 try:
436 delfunc(self)
437 except:
438 pass
0220cbc1 439 def GetFindString(self, *_args, **_kwargs):
1fded56b 440 val = cmndlgsc.wxFindReplaceData_GetFindString(self, *_args, **_kwargs)
0220cbc1
RD
441 return val
442 def GetReplaceString(self, *_args, **_kwargs):
1fded56b 443 val = cmndlgsc.wxFindReplaceData_GetReplaceString(self, *_args, **_kwargs)
0220cbc1
RD
444 return val
445 def GetFlags(self, *_args, **_kwargs):
1fded56b 446 val = cmndlgsc.wxFindReplaceData_GetFlags(self, *_args, **_kwargs)
0220cbc1
RD
447 return val
448 def SetFlags(self, *_args, **_kwargs):
1fded56b 449 val = cmndlgsc.wxFindReplaceData_SetFlags(self, *_args, **_kwargs)
0220cbc1
RD
450 return val
451 def SetFindString(self, *_args, **_kwargs):
1fded56b 452 val = cmndlgsc.wxFindReplaceData_SetFindString(self, *_args, **_kwargs)
0220cbc1
RD
453 return val
454 def SetReplaceString(self, *_args, **_kwargs):
1fded56b 455 val = cmndlgsc.wxFindReplaceData_SetReplaceString(self, *_args, **_kwargs)
0220cbc1
RD
456 return val
457 def __repr__(self):
1fded56b 458 return "<%s.%s instance; proxy of C++ wxFindReplaceData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
0220cbc1
RD
459class wxFindReplaceData(wxFindReplaceDataPtr):
460 def __init__(self,*_args,**_kwargs):
1fded56b 461 self.this = cmndlgsc.new_wxFindReplaceData(*_args,**_kwargs)
0220cbc1
RD
462 self.thisown = 1
463
464
465
466
467class wxFindReplaceDialogPtr(wxDialogPtr):
468 def __init__(self,this):
469 self.this = this
470 self.thisown = 0
471 def Create(self, *_args, **_kwargs):
1fded56b 472 val = cmndlgsc.wxFindReplaceDialog_Create(self, *_args, **_kwargs)
0220cbc1
RD
473 return val
474 def GetData(self, *_args, **_kwargs):
1fded56b 475 val = cmndlgsc.wxFindReplaceDialog_GetData(self, *_args, **_kwargs)
0220cbc1
RD
476 if val: val = wxFindReplaceDataPtr(val)
477 return val
478 def SetData(self, *_args, **_kwargs):
1fded56b 479 val = cmndlgsc.wxFindReplaceDialog_SetData(self, *_args, **_kwargs)
0220cbc1
RD
480 return val
481 def __repr__(self):
1fded56b 482 return "<%s.%s instance; proxy of C++ wxFindReplaceDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
0220cbc1
RD
483class wxFindReplaceDialog(wxFindReplaceDialogPtr):
484 def __init__(self,*_args,**_kwargs):
1fded56b 485 self.this = cmndlgsc.new_wxFindReplaceDialog(*_args,**_kwargs)
0220cbc1
RD
486 self.thisown = 1
487 self._setOORInfo(self)
488
8ab979d7
RD
489
490
0220cbc1 491def wxPreFindReplaceDialog(*_args,**_kwargs):
1fded56b 492 val = wxFindReplaceDialogPtr(cmndlgsc.new_wxPreFindReplaceDialog(*_args,**_kwargs))
0220cbc1 493 val.thisown = 1
17c0e08c 494 val._setOORInfo(val)
0220cbc1 495 return val
8ab979d7
RD
496
497
498
499
500#-------------- FUNCTION WRAPPERS ------------------
501
502
503
504#-------------- VARIABLE WRAPPERS ------------------
505
85247b36 506wxCHOICEDLG_STYLE = cmndlgsc.wxCHOICEDLG_STYLE
0220cbc1
RD
507wxFR_DOWN = cmndlgsc.wxFR_DOWN
508wxFR_WHOLEWORD = cmndlgsc.wxFR_WHOLEWORD
509wxFR_MATCHCASE = cmndlgsc.wxFR_MATCHCASE
510wxFR_REPLACEDIALOG = cmndlgsc.wxFR_REPLACEDIALOG
511wxFR_NOUPDOWN = cmndlgsc.wxFR_NOUPDOWN
512wxFR_NOMATCHCASE = cmndlgsc.wxFR_NOMATCHCASE
513wxFR_NOWHOLEWORD = cmndlgsc.wxFR_NOWHOLEWORD
514wxEVT_COMMAND_FIND = cmndlgsc.wxEVT_COMMAND_FIND
515wxEVT_COMMAND_FIND_NEXT = cmndlgsc.wxEVT_COMMAND_FIND_NEXT
516wxEVT_COMMAND_FIND_REPLACE = cmndlgsc.wxEVT_COMMAND_FIND_REPLACE
517wxEVT_COMMAND_FIND_REPLACE_ALL = cmndlgsc.wxEVT_COMMAND_FIND_REPLACE_ALL
518wxEVT_COMMAND_FIND_CLOSE = cmndlgsc.wxEVT_COMMAND_FIND_CLOSE