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