]>
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 | ||
293a0a86 RD |
196 | class wxMultiChoiceDialogPtr(wxDialogPtr): |
197 | def __init__(self,this): | |
198 | self.this = this | |
199 | self.thisown = 0 | |
200 | def SetSelections(self, *_args, **_kwargs): | |
201 | val = apply(cmndlgsc.wxMultiChoiceDialog_SetSelections,(self,) + _args, _kwargs) | |
202 | return val | |
203 | def GetSelections(self, *_args, **_kwargs): | |
204 | val = apply(cmndlgsc.wxMultiChoiceDialog_GetSelections,(self,) + _args, _kwargs) | |
205 | return val | |
206 | def __repr__(self): | |
207 | return "<C wxMultiChoiceDialog instance at %s>" % (self.this,) | |
208 | class wxMultiChoiceDialog(wxMultiChoiceDialogPtr): | |
209 | def __init__(self,*_args,**_kwargs): | |
210 | self.this = apply(cmndlgsc.new_wxMultiChoiceDialog,_args,_kwargs) | |
211 | self.thisown = 1 | |
212 | self._setOORInfo(self) | |
213 | ||
214 | ||
215 | ||
216 | ||
8ab979d7 RD |
217 | class wxSingleChoiceDialogPtr(wxDialogPtr): |
218 | def __init__(self,this): | |
219 | self.this = this | |
220 | self.thisown = 0 | |
1d99702e RD |
221 | def GetSelection(self, *_args, **_kwargs): |
222 | val = apply(cmndlgsc.wxSingleChoiceDialog_GetSelection,(self,) + _args, _kwargs) | |
8ab979d7 | 223 | return val |
1d99702e RD |
224 | def GetStringSelection(self, *_args, **_kwargs): |
225 | val = apply(cmndlgsc.wxSingleChoiceDialog_GetStringSelection,(self,) + _args, _kwargs) | |
8ab979d7 | 226 | return val |
1d99702e RD |
227 | def SetSelection(self, *_args, **_kwargs): |
228 | val = apply(cmndlgsc.wxSingleChoiceDialog_SetSelection,(self,) + _args, _kwargs) | |
8ab979d7 | 229 | return val |
1d99702e RD |
230 | def ShowModal(self, *_args, **_kwargs): |
231 | val = apply(cmndlgsc.wxSingleChoiceDialog_ShowModal,(self,) + _args, _kwargs) | |
8ab979d7 RD |
232 | return val |
233 | def __repr__(self): | |
1d99702e | 234 | return "<C wxSingleChoiceDialog instance at %s>" % (self.this,) |
8ab979d7 | 235 | class wxSingleChoiceDialog(wxSingleChoiceDialogPtr): |
1d99702e RD |
236 | def __init__(self,*_args,**_kwargs): |
237 | self.this = apply(cmndlgsc.new_wxSingleChoiceDialog,_args,_kwargs) | |
8ab979d7 | 238 | self.thisown = 1 |
0122b7e3 | 239 | self._setOORInfo(self) |
8ab979d7 RD |
240 | |
241 | ||
242 | ||
243 | ||
244 | class wxTextEntryDialogPtr(wxDialogPtr): | |
245 | def __init__(self,this): | |
246 | self.this = this | |
247 | self.thisown = 0 | |
1d99702e RD |
248 | def GetValue(self, *_args, **_kwargs): |
249 | val = apply(cmndlgsc.wxTextEntryDialog_GetValue,(self,) + _args, _kwargs) | |
8ab979d7 | 250 | return val |
1d99702e RD |
251 | def SetValue(self, *_args, **_kwargs): |
252 | val = apply(cmndlgsc.wxTextEntryDialog_SetValue,(self,) + _args, _kwargs) | |
8ab979d7 | 253 | return val |
1d99702e RD |
254 | def ShowModal(self, *_args, **_kwargs): |
255 | val = apply(cmndlgsc.wxTextEntryDialog_ShowModal,(self,) + _args, _kwargs) | |
8ab979d7 RD |
256 | return val |
257 | def __repr__(self): | |
1d99702e | 258 | return "<C wxTextEntryDialog instance at %s>" % (self.this,) |
8ab979d7 | 259 | class wxTextEntryDialog(wxTextEntryDialogPtr): |
1d99702e RD |
260 | def __init__(self,*_args,**_kwargs): |
261 | self.this = apply(cmndlgsc.new_wxTextEntryDialog,_args,_kwargs) | |
8ab979d7 | 262 | self.thisown = 1 |
0122b7e3 | 263 | self._setOORInfo(self) |
8ab979d7 RD |
264 | |
265 | ||
266 | ||
267 | ||
9416aa89 | 268 | class wxFontDataPtr(wxObjectPtr): |
8ab979d7 RD |
269 | def __init__(self,this): |
270 | self.this = this | |
271 | self.thisown = 0 | |
1d99702e | 272 | def __del__(self,cmndlgsc=cmndlgsc): |
8ab979d7 | 273 | if self.thisown == 1 : |
1d99702e RD |
274 | cmndlgsc.delete_wxFontData(self) |
275 | def EnableEffects(self, *_args, **_kwargs): | |
276 | val = apply(cmndlgsc.wxFontData_EnableEffects,(self,) + _args, _kwargs) | |
8ab979d7 | 277 | return val |
1d99702e RD |
278 | def GetAllowSymbols(self, *_args, **_kwargs): |
279 | val = apply(cmndlgsc.wxFontData_GetAllowSymbols,(self,) + _args, _kwargs) | |
8ab979d7 | 280 | return val |
1d99702e RD |
281 | def GetColour(self, *_args, **_kwargs): |
282 | val = apply(cmndlgsc.wxFontData_GetColour,(self,) + _args, _kwargs) | |
25832b3f | 283 | if val: val = wxColourPtr(val) ; val.thisown = 1 |
8ab979d7 | 284 | return val |
1d99702e RD |
285 | def GetChosenFont(self, *_args, **_kwargs): |
286 | val = apply(cmndlgsc.wxFontData_GetChosenFont,(self,) + _args, _kwargs) | |
287 | if val: val = wxFontPtr(val) ; val.thisown = 1 | |
8ab979d7 | 288 | return val |
1d99702e RD |
289 | def GetEnableEffects(self, *_args, **_kwargs): |
290 | val = apply(cmndlgsc.wxFontData_GetEnableEffects,(self,) + _args, _kwargs) | |
8ab979d7 | 291 | return val |
1d99702e RD |
292 | def GetInitialFont(self, *_args, **_kwargs): |
293 | val = apply(cmndlgsc.wxFontData_GetInitialFont,(self,) + _args, _kwargs) | |
294 | if val: val = wxFontPtr(val) ; val.thisown = 1 | |
8ab979d7 | 295 | return val |
1d99702e RD |
296 | def GetShowHelp(self, *_args, **_kwargs): |
297 | val = apply(cmndlgsc.wxFontData_GetShowHelp,(self,) + _args, _kwargs) | |
8ab979d7 | 298 | return val |
1d99702e RD |
299 | def SetAllowSymbols(self, *_args, **_kwargs): |
300 | val = apply(cmndlgsc.wxFontData_SetAllowSymbols,(self,) + _args, _kwargs) | |
8ab979d7 | 301 | return val |
1d99702e RD |
302 | def SetChosenFont(self, *_args, **_kwargs): |
303 | val = apply(cmndlgsc.wxFontData_SetChosenFont,(self,) + _args, _kwargs) | |
8ab979d7 | 304 | return val |
1d99702e RD |
305 | def SetColour(self, *_args, **_kwargs): |
306 | val = apply(cmndlgsc.wxFontData_SetColour,(self,) + _args, _kwargs) | |
8ab979d7 | 307 | return val |
1d99702e RD |
308 | def SetInitialFont(self, *_args, **_kwargs): |
309 | val = apply(cmndlgsc.wxFontData_SetInitialFont,(self,) + _args, _kwargs) | |
8ab979d7 | 310 | return val |
1d99702e RD |
311 | def SetRange(self, *_args, **_kwargs): |
312 | val = apply(cmndlgsc.wxFontData_SetRange,(self,) + _args, _kwargs) | |
8ab979d7 | 313 | return val |
1d99702e RD |
314 | def SetShowHelp(self, *_args, **_kwargs): |
315 | val = apply(cmndlgsc.wxFontData_SetShowHelp,(self,) + _args, _kwargs) | |
8ab979d7 RD |
316 | return val |
317 | def __repr__(self): | |
1d99702e | 318 | return "<C wxFontData instance at %s>" % (self.this,) |
8ab979d7 | 319 | class wxFontData(wxFontDataPtr): |
1d99702e RD |
320 | def __init__(self,*_args,**_kwargs): |
321 | self.this = apply(cmndlgsc.new_wxFontData,_args,_kwargs) | |
8ab979d7 RD |
322 | self.thisown = 1 |
323 | ||
324 | ||
325 | ||
326 | ||
327 | class wxFontDialogPtr(wxDialogPtr): | |
328 | def __init__(self,this): | |
329 | self.this = this | |
330 | self.thisown = 0 | |
1d99702e RD |
331 | def GetFontData(self, *_args, **_kwargs): |
332 | val = apply(cmndlgsc.wxFontDialog_GetFontData,(self,) + _args, _kwargs) | |
333 | if val: val = wxFontDataPtr(val) | |
8ab979d7 | 334 | return val |
1d99702e RD |
335 | def ShowModal(self, *_args, **_kwargs): |
336 | val = apply(cmndlgsc.wxFontDialog_ShowModal,(self,) + _args, _kwargs) | |
8ab979d7 RD |
337 | return val |
338 | def __repr__(self): | |
1d99702e | 339 | return "<C wxFontDialog instance at %s>" % (self.this,) |
8ab979d7 | 340 | class wxFontDialog(wxFontDialogPtr): |
1d99702e RD |
341 | def __init__(self,*_args,**_kwargs): |
342 | self.this = apply(cmndlgsc.new_wxFontDialog,_args,_kwargs) | |
8ab979d7 | 343 | self.thisown = 1 |
0122b7e3 | 344 | self._setOORInfo(self) |
8ab979d7 RD |
345 | |
346 | ||
347 | ||
348 | ||
bb0054cd | 349 | class wxMessageDialogPtr(wxDialogPtr): |
8ab979d7 RD |
350 | def __init__(self,this): |
351 | self.this = this | |
352 | self.thisown = 0 | |
1d99702e RD |
353 | def ShowModal(self, *_args, **_kwargs): |
354 | val = apply(cmndlgsc.wxMessageDialog_ShowModal,(self,) + _args, _kwargs) | |
8ab979d7 RD |
355 | return val |
356 | def __repr__(self): | |
1d99702e | 357 | return "<C wxMessageDialog instance at %s>" % (self.this,) |
bb0054cd | 358 | class wxMessageDialog(wxMessageDialogPtr): |
1d99702e RD |
359 | def __init__(self,*_args,**_kwargs): |
360 | self.this = apply(cmndlgsc.new_wxMessageDialog,_args,_kwargs) | |
8ab979d7 | 361 | self.thisown = 1 |
0122b7e3 | 362 | self._setOORInfo(self) |
8ab979d7 RD |
363 | |
364 | ||
365 | ||
366 | ||
bb0054cd | 367 | class wxProgressDialogPtr(wxFramePtr): |
8ab979d7 RD |
368 | def __init__(self,this): |
369 | self.this = this | |
370 | self.thisown = 0 | |
1d99702e RD |
371 | def Update(self, *_args, **_kwargs): |
372 | val = apply(cmndlgsc.wxProgressDialog_Update,(self,) + _args, _kwargs) | |
8ab979d7 | 373 | return val |
1d99702e RD |
374 | def Resume(self, *_args, **_kwargs): |
375 | val = apply(cmndlgsc.wxProgressDialog_Resume,(self,) + _args, _kwargs) | |
8ab979d7 RD |
376 | return val |
377 | def __repr__(self): | |
1d99702e | 378 | return "<C wxProgressDialog instance at %s>" % (self.this,) |
bb0054cd | 379 | class wxProgressDialog(wxProgressDialogPtr): |
1d99702e RD |
380 | def __init__(self,*_args,**_kwargs): |
381 | self.this = apply(cmndlgsc.new_wxProgressDialog,_args,_kwargs) | |
8ab979d7 | 382 | self.thisown = 1 |
0122b7e3 RD |
383 | self._setOORInfo(self) |
384 | ||
385 | ||
386 | ||
387 | ||
388 | class wxFindDialogEventPtr(wxCommandEventPtr): | |
389 | def __init__(self,this): | |
390 | self.this = this | |
391 | self.thisown = 0 | |
392 | def GetFlags(self, *_args, **_kwargs): | |
393 | val = apply(cmndlgsc.wxFindDialogEvent_GetFlags,(self,) + _args, _kwargs) | |
394 | return val | |
395 | def GetFindString(self, *_args, **_kwargs): | |
396 | val = apply(cmndlgsc.wxFindDialogEvent_GetFindString,(self,) + _args, _kwargs) | |
397 | return val | |
398 | def GetReplaceString(self, *_args, **_kwargs): | |
399 | val = apply(cmndlgsc.wxFindDialogEvent_GetReplaceString,(self,) + _args, _kwargs) | |
400 | return val | |
401 | def GetDialog(self, *_args, **_kwargs): | |
402 | val = apply(cmndlgsc.wxFindDialogEvent_GetDialog,(self,) + _args, _kwargs) | |
403 | if val: val = wxFindReplaceDialogPtr(val) | |
404 | return val | |
405 | def SetFlags(self, *_args, **_kwargs): | |
406 | val = apply(cmndlgsc.wxFindDialogEvent_SetFlags,(self,) + _args, _kwargs) | |
407 | return val | |
408 | def SetFindString(self, *_args, **_kwargs): | |
409 | val = apply(cmndlgsc.wxFindDialogEvent_SetFindString,(self,) + _args, _kwargs) | |
410 | return val | |
411 | def SetReplaceString(self, *_args, **_kwargs): | |
412 | val = apply(cmndlgsc.wxFindDialogEvent_SetReplaceString,(self,) + _args, _kwargs) | |
413 | return val | |
414 | def __repr__(self): | |
415 | return "<C wxFindDialogEvent instance at %s>" % (self.this,) | |
416 | class wxFindDialogEvent(wxFindDialogEventPtr): | |
417 | def __init__(self,*_args,**_kwargs): | |
418 | self.this = apply(cmndlgsc.new_wxFindDialogEvent,_args,_kwargs) | |
419 | self.thisown = 1 | |
420 | ||
421 | ||
422 | ||
423 | ||
424 | class wxFindReplaceDataPtr(wxObjectPtr): | |
425 | def __init__(self,this): | |
426 | self.this = this | |
427 | self.thisown = 0 | |
428 | def __del__(self,cmndlgsc=cmndlgsc): | |
429 | if self.thisown == 1 : | |
430 | cmndlgsc.delete_wxFindReplaceData(self) | |
431 | def GetFindString(self, *_args, **_kwargs): | |
432 | val = apply(cmndlgsc.wxFindReplaceData_GetFindString,(self,) + _args, _kwargs) | |
433 | return val | |
434 | def GetReplaceString(self, *_args, **_kwargs): | |
435 | val = apply(cmndlgsc.wxFindReplaceData_GetReplaceString,(self,) + _args, _kwargs) | |
436 | return val | |
437 | def GetFlags(self, *_args, **_kwargs): | |
438 | val = apply(cmndlgsc.wxFindReplaceData_GetFlags,(self,) + _args, _kwargs) | |
439 | return val | |
440 | def SetFlags(self, *_args, **_kwargs): | |
441 | val = apply(cmndlgsc.wxFindReplaceData_SetFlags,(self,) + _args, _kwargs) | |
442 | return val | |
443 | def SetFindString(self, *_args, **_kwargs): | |
444 | val = apply(cmndlgsc.wxFindReplaceData_SetFindString,(self,) + _args, _kwargs) | |
445 | return val | |
446 | def SetReplaceString(self, *_args, **_kwargs): | |
447 | val = apply(cmndlgsc.wxFindReplaceData_SetReplaceString,(self,) + _args, _kwargs) | |
448 | return val | |
449 | def __repr__(self): | |
450 | return "<C wxFindReplaceData instance at %s>" % (self.this,) | |
451 | class wxFindReplaceData(wxFindReplaceDataPtr): | |
452 | def __init__(self,*_args,**_kwargs): | |
453 | self.this = apply(cmndlgsc.new_wxFindReplaceData,_args,_kwargs) | |
454 | self.thisown = 1 | |
455 | ||
456 | ||
457 | ||
458 | ||
459 | class wxFindReplaceDialogPtr(wxDialogPtr): | |
460 | def __init__(self,this): | |
461 | self.this = this | |
462 | self.thisown = 0 | |
463 | def Create(self, *_args, **_kwargs): | |
464 | val = apply(cmndlgsc.wxFindReplaceDialog_Create,(self,) + _args, _kwargs) | |
465 | return val | |
466 | def GetData(self, *_args, **_kwargs): | |
467 | val = apply(cmndlgsc.wxFindReplaceDialog_GetData,(self,) + _args, _kwargs) | |
468 | if val: val = wxFindReplaceDataPtr(val) | |
469 | return val | |
470 | def SetData(self, *_args, **_kwargs): | |
471 | val = apply(cmndlgsc.wxFindReplaceDialog_SetData,(self,) + _args, _kwargs) | |
472 | return val | |
473 | def __repr__(self): | |
474 | return "<C wxFindReplaceDialog instance at %s>" % (self.this,) | |
475 | class wxFindReplaceDialog(wxFindReplaceDialogPtr): | |
476 | def __init__(self,*_args,**_kwargs): | |
477 | self.this = apply(cmndlgsc.new_wxFindReplaceDialog,_args,_kwargs) | |
478 | self.thisown = 1 | |
479 | self._setOORInfo(self) | |
480 | ||
8ab979d7 RD |
481 | |
482 | ||
0122b7e3 RD |
483 | def wxPreFindReplaceDialog(*_args,**_kwargs): |
484 | val = wxFindReplaceDialogPtr(apply(cmndlgsc.new_wxPreFindReplaceDialog,_args,_kwargs)) | |
485 | val.thisown = 1 | |
17c0e08c | 486 | val._setOORInfo(val) |
0122b7e3 | 487 | return val |
8ab979d7 RD |
488 | |
489 | ||
490 | ||
491 | ||
492 | #-------------- FUNCTION WRAPPERS ------------------ | |
493 | ||
494 | ||
495 | ||
496 | #-------------- VARIABLE WRAPPERS ------------------ | |
497 | ||
293a0a86 | 498 | wxCHOICEDLG_STYLE = cmndlgsc.wxCHOICEDLG_STYLE |
0122b7e3 RD |
499 | wxFR_DOWN = cmndlgsc.wxFR_DOWN |
500 | wxFR_WHOLEWORD = cmndlgsc.wxFR_WHOLEWORD | |
501 | wxFR_MATCHCASE = cmndlgsc.wxFR_MATCHCASE | |
502 | wxFR_REPLACEDIALOG = cmndlgsc.wxFR_REPLACEDIALOG | |
503 | wxFR_NOUPDOWN = cmndlgsc.wxFR_NOUPDOWN | |
504 | wxFR_NOMATCHCASE = cmndlgsc.wxFR_NOMATCHCASE | |
505 | wxFR_NOWHOLEWORD = cmndlgsc.wxFR_NOWHOLEWORD | |
506 | wxEVT_COMMAND_FIND = cmndlgsc.wxEVT_COMMAND_FIND | |
507 | wxEVT_COMMAND_FIND_NEXT = cmndlgsc.wxEVT_COMMAND_FIND_NEXT | |
508 | wxEVT_COMMAND_FIND_REPLACE = cmndlgsc.wxEVT_COMMAND_FIND_REPLACE | |
509 | wxEVT_COMMAND_FIND_REPLACE_ALL = cmndlgsc.wxEVT_COMMAND_FIND_REPLACE_ALL | |
510 | wxEVT_COMMAND_FIND_CLOSE = cmndlgsc.wxEVT_COMMAND_FIND_CLOSE |