]>
Commit | Line | Data |
---|---|---|
7bf85405 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 * | |
9 | class wxColourDataPtr : | |
10 | def __init__(self,this): | |
11 | self.this = this | |
12 | self.thisown = 0 | |
13 | def __del__(self): | |
14 | if self.thisown == 1 : | |
15 | cmndlgsc.delete_wxColourData(self.this) | |
16 | def GetChooseFull(self): | |
17 | val = cmndlgsc.wxColourData_GetChooseFull(self.this) | |
18 | return val | |
19 | def GetColour(self): | |
20 | val = cmndlgsc.wxColourData_GetColour(self.this) | |
21 | val = wxColourPtr(val) | |
22 | return val | |
23 | def GetCustomColour(self,arg0): | |
24 | val = cmndlgsc.wxColourData_GetCustomColour(self.this,arg0) | |
25 | val = wxColourPtr(val) | |
26 | return val | |
27 | def SetChooseFull(self,arg0): | |
28 | val = cmndlgsc.wxColourData_SetChooseFull(self.this,arg0) | |
29 | return val | |
30 | def SetColour(self,arg0): | |
31 | val = cmndlgsc.wxColourData_SetColour(self.this,arg0.this) | |
32 | return val | |
33 | def SetCustomColour(self,arg0,arg1): | |
34 | val = cmndlgsc.wxColourData_SetCustomColour(self.this,arg0,arg1.this) | |
35 | return val | |
36 | def __repr__(self): | |
37 | return "<C wxColourData instance>" | |
38 | class wxColourData(wxColourDataPtr): | |
39 | def __init__(self) : | |
40 | self.this = cmndlgsc.new_wxColourData() | |
41 | self.thisown = 1 | |
42 | ||
43 | ||
44 | ||
45 | ||
46 | class wxColourDialogPtr(wxDialogPtr): | |
47 | def __init__(self,this): | |
48 | self.this = this | |
49 | self.thisown = 0 | |
50 | def GetColourData(self): | |
51 | val = cmndlgsc.wxColourDialog_GetColourData(self.this) | |
52 | val = wxColourDataPtr(val) | |
53 | return val | |
54 | def ShowModal(self): | |
55 | val = cmndlgsc.wxColourDialog_ShowModal(self.this) | |
56 | return val | |
57 | def __repr__(self): | |
58 | return "<C wxColourDialog instance>" | |
59 | class wxColourDialog(wxColourDialogPtr): | |
60 | def __init__(self,arg0,*args) : | |
61 | argl = map(None,args) | |
62 | try: argl[0] = argl[0].this | |
63 | except: pass | |
64 | args = tuple(argl) | |
65 | self.this = apply(cmndlgsc.new_wxColourDialog,(arg0.this,)+args) | |
66 | self.thisown = 1 | |
67 | ||
68 | ||
69 | ||
70 | ||
71 | class wxDirDialogPtr(wxDialogPtr): | |
72 | def __init__(self,this): | |
73 | self.this = this | |
74 | self.thisown = 0 | |
75 | def GetPath(self): | |
76 | val = cmndlgsc.wxDirDialog_GetPath(self.this) | |
77 | return val | |
78 | def GetMessage(self): | |
79 | val = cmndlgsc.wxDirDialog_GetMessage(self.this) | |
80 | return val | |
81 | def GetStyle(self): | |
82 | val = cmndlgsc.wxDirDialog_GetStyle(self.this) | |
83 | return val | |
84 | def SetMessage(self,arg0): | |
85 | val = cmndlgsc.wxDirDialog_SetMessage(self.this,arg0) | |
86 | return val | |
87 | def SetPath(self,arg0): | |
88 | val = cmndlgsc.wxDirDialog_SetPath(self.this,arg0) | |
89 | return val | |
90 | def ShowModal(self): | |
91 | val = cmndlgsc.wxDirDialog_ShowModal(self.this) | |
92 | return val | |
93 | def __repr__(self): | |
94 | return "<C wxDirDialog instance>" | |
95 | class wxDirDialog(wxDirDialogPtr): | |
96 | def __init__(self,arg0,*args) : | |
97 | argl = map(None,args) | |
98 | try: argl[3] = argl[3].this | |
99 | except: pass | |
100 | args = tuple(argl) | |
101 | self.this = apply(cmndlgsc.new_wxDirDialog,(arg0.this,)+args) | |
102 | self.thisown = 1 | |
103 | ||
104 | ||
105 | ||
106 | ||
107 | class wxFileDialogPtr(wxDialogPtr): | |
108 | def __init__(self,this): | |
109 | self.this = this | |
110 | self.thisown = 0 | |
111 | def GetDirectory(self): | |
112 | val = cmndlgsc.wxFileDialog_GetDirectory(self.this) | |
113 | return val | |
114 | def GetFilename(self): | |
115 | val = cmndlgsc.wxFileDialog_GetFilename(self.this) | |
116 | return val | |
117 | def GetFilterIndex(self): | |
118 | val = cmndlgsc.wxFileDialog_GetFilterIndex(self.this) | |
119 | return val | |
120 | def GetMessage(self): | |
121 | val = cmndlgsc.wxFileDialog_GetMessage(self.this) | |
122 | return val | |
123 | def GetPath(self): | |
124 | val = cmndlgsc.wxFileDialog_GetPath(self.this) | |
125 | return val | |
126 | def GetStyle(self): | |
127 | val = cmndlgsc.wxFileDialog_GetStyle(self.this) | |
128 | return val | |
129 | def GetWildcard(self): | |
130 | val = cmndlgsc.wxFileDialog_GetWildcard(self.this) | |
131 | return val | |
132 | def SetDirectory(self,arg0): | |
133 | val = cmndlgsc.wxFileDialog_SetDirectory(self.this,arg0) | |
134 | return val | |
135 | def SetFilename(self,arg0): | |
136 | val = cmndlgsc.wxFileDialog_SetFilename(self.this,arg0) | |
137 | return val | |
138 | def SetFilterIndex(self,arg0): | |
139 | val = cmndlgsc.wxFileDialog_SetFilterIndex(self.this,arg0) | |
140 | return val | |
141 | def SetMessage(self,arg0): | |
142 | val = cmndlgsc.wxFileDialog_SetMessage(self.this,arg0) | |
143 | return val | |
144 | def SetPath(self,arg0): | |
145 | val = cmndlgsc.wxFileDialog_SetPath(self.this,arg0) | |
146 | return val | |
147 | def SetStyle(self,arg0): | |
148 | val = cmndlgsc.wxFileDialog_SetStyle(self.this,arg0) | |
149 | return val | |
150 | def SetWildcard(self,arg0): | |
151 | val = cmndlgsc.wxFileDialog_SetWildcard(self.this,arg0) | |
152 | return val | |
153 | def ShowModal(self): | |
154 | val = cmndlgsc.wxFileDialog_ShowModal(self.this) | |
155 | return val | |
156 | def __repr__(self): | |
157 | return "<C wxFileDialog instance>" | |
158 | class wxFileDialog(wxFileDialogPtr): | |
159 | def __init__(self,arg0,*args) : | |
160 | argl = map(None,args) | |
161 | try: argl[5] = argl[5].this | |
162 | except: pass | |
163 | args = tuple(argl) | |
164 | self.this = apply(cmndlgsc.new_wxFileDialog,(arg0.this,)+args) | |
165 | self.thisown = 1 | |
166 | ||
167 | ||
168 | ||
169 | ||
170 | class wxSingleChoiceDialogPtr(wxDialogPtr): | |
171 | def __init__(self,this): | |
172 | self.this = this | |
173 | self.thisown = 0 | |
174 | def GetSelection(self): | |
175 | val = cmndlgsc.wxSingleChoiceDialog_GetSelection(self.this) | |
176 | return val | |
177 | def GetStringSelection(self): | |
178 | val = cmndlgsc.wxSingleChoiceDialog_GetStringSelection(self.this) | |
179 | return val | |
180 | def SetSelection(self,arg0): | |
181 | val = cmndlgsc.wxSingleChoiceDialog_SetSelection(self.this,arg0) | |
182 | return val | |
183 | def ShowModal(self): | |
184 | val = cmndlgsc.wxSingleChoiceDialog_ShowModal(self.this) | |
185 | return val | |
186 | def __repr__(self): | |
187 | return "<C wxSingleChoiceDialog instance>" | |
188 | class wxSingleChoiceDialog(wxSingleChoiceDialogPtr): | |
189 | def __init__(self,arg0,arg1,arg2,arg3,*args) : | |
190 | argl = map(None,args) | |
191 | try: argl[1] = argl[1].this | |
192 | except: pass | |
193 | args = tuple(argl) | |
194 | self.this = apply(cmndlgsc.new_wxSingleChoiceDialog,(arg0.this,arg1,arg2,arg3,)+args) | |
195 | self.thisown = 1 | |
196 | ||
197 | ||
198 | ||
199 | ||
200 | class wxTextEntryDialogPtr(wxDialogPtr): | |
201 | def __init__(self,this): | |
202 | self.this = this | |
203 | self.thisown = 0 | |
204 | def GetValue(self): | |
205 | val = cmndlgsc.wxTextEntryDialog_GetValue(self.this) | |
206 | return val | |
207 | def SetValue(self,arg0): | |
208 | val = cmndlgsc.wxTextEntryDialog_SetValue(self.this,arg0) | |
209 | return val | |
210 | def ShowModal(self): | |
211 | val = cmndlgsc.wxTextEntryDialog_ShowModal(self.this) | |
212 | return val | |
213 | def __repr__(self): | |
214 | return "<C wxTextEntryDialog instance>" | |
215 | class wxTextEntryDialog(wxTextEntryDialogPtr): | |
216 | def __init__(self,arg0,arg1,*args) : | |
217 | argl = map(None,args) | |
218 | try: argl[3] = argl[3].this | |
219 | except: pass | |
220 | args = tuple(argl) | |
221 | self.this = apply(cmndlgsc.new_wxTextEntryDialog,(arg0.this,arg1,)+args) | |
222 | self.thisown = 1 | |
223 | ||
224 | ||
225 | ||
226 | ||
227 | class wxFontDataPtr : | |
228 | def __init__(self,this): | |
229 | self.this = this | |
230 | self.thisown = 0 | |
231 | def __del__(self): | |
232 | if self.thisown == 1 : | |
233 | cmndlgsc.delete_wxFontData(self.this) | |
234 | def EnableEffects(self,arg0): | |
235 | val = cmndlgsc.wxFontData_EnableEffects(self.this,arg0) | |
236 | return val | |
237 | def GetAllowSymbols(self): | |
238 | val = cmndlgsc.wxFontData_GetAllowSymbols(self.this) | |
239 | return val | |
240 | def GetColour(self): | |
241 | val = cmndlgsc.wxFontData_GetColour(self.this) | |
242 | val = wxColourPtr(val) | |
243 | return val | |
244 | def GetChosenFont(self): | |
245 | val = cmndlgsc.wxFontData_GetChosenFont(self.this) | |
246 | val = wxFontPtr(val) | |
247 | val.thisown = 1 | |
248 | return val | |
249 | def GetEnableEffects(self): | |
250 | val = cmndlgsc.wxFontData_GetEnableEffects(self.this) | |
251 | return val | |
252 | def GetInitialFont(self): | |
253 | val = cmndlgsc.wxFontData_GetInitialFont(self.this) | |
254 | val = wxFontPtr(val) | |
255 | val.thisown = 1 | |
256 | return val | |
257 | def GetShowHelp(self): | |
258 | val = cmndlgsc.wxFontData_GetShowHelp(self.this) | |
259 | return val | |
260 | def SetAllowSymbols(self,arg0): | |
261 | val = cmndlgsc.wxFontData_SetAllowSymbols(self.this,arg0) | |
262 | return val | |
263 | def SetChosenFont(self,arg0): | |
264 | val = cmndlgsc.wxFontData_SetChosenFont(self.this,arg0.this) | |
265 | return val | |
266 | def SetColour(self,arg0): | |
267 | val = cmndlgsc.wxFontData_SetColour(self.this,arg0.this) | |
268 | return val | |
269 | def SetInitialFont(self,arg0): | |
270 | val = cmndlgsc.wxFontData_SetInitialFont(self.this,arg0.this) | |
271 | return val | |
272 | def SetRange(self,arg0,arg1): | |
273 | val = cmndlgsc.wxFontData_SetRange(self.this,arg0,arg1) | |
274 | return val | |
275 | def SetShowHelp(self,arg0): | |
276 | val = cmndlgsc.wxFontData_SetShowHelp(self.this,arg0) | |
277 | return val | |
278 | def __repr__(self): | |
279 | return "<C wxFontData instance>" | |
280 | class wxFontData(wxFontDataPtr): | |
281 | def __init__(self) : | |
282 | self.this = cmndlgsc.new_wxFontData() | |
283 | self.thisown = 1 | |
284 | ||
285 | ||
286 | ||
287 | ||
288 | class wxFontDialogPtr(wxDialogPtr): | |
289 | def __init__(self,this): | |
290 | self.this = this | |
291 | self.thisown = 0 | |
292 | def GetFontData(self): | |
293 | val = cmndlgsc.wxFontDialog_GetFontData(self.this) | |
294 | val = wxFontDataPtr(val) | |
295 | return val | |
296 | def ShowModal(self): | |
297 | val = cmndlgsc.wxFontDialog_ShowModal(self.this) | |
298 | return val | |
299 | def __repr__(self): | |
300 | return "<C wxFontDialog instance>" | |
301 | class wxFontDialog(wxFontDialogPtr): | |
302 | def __init__(self,arg0,*args) : | |
303 | argl = map(None,args) | |
304 | try: argl[0] = argl[0].this | |
305 | except: pass | |
306 | args = tuple(argl) | |
307 | self.this = apply(cmndlgsc.new_wxFontDialog,(arg0.this,)+args) | |
308 | self.thisown = 1 | |
309 | ||
310 | ||
311 | ||
312 | ||
313 | class wxPageSetupDataPtr : | |
314 | def __init__(self,this): | |
315 | self.this = this | |
316 | self.thisown = 0 | |
317 | def __del__(self): | |
318 | if self.thisown == 1 : | |
319 | cmndlgsc.delete_wxPageSetupData(self.this) | |
320 | def EnableHelp(self,arg0): | |
321 | val = cmndlgsc.wxPageSetupData_EnableHelp(self.this,arg0) | |
322 | return val | |
323 | def EnableMargins(self,arg0): | |
324 | val = cmndlgsc.wxPageSetupData_EnableMargins(self.this,arg0) | |
325 | return val | |
326 | def EnableOrientation(self,arg0): | |
327 | val = cmndlgsc.wxPageSetupData_EnableOrientation(self.this,arg0) | |
328 | return val | |
329 | def EnablePaper(self,arg0): | |
330 | val = cmndlgsc.wxPageSetupData_EnablePaper(self.this,arg0) | |
331 | return val | |
332 | def EnablePrinter(self,arg0): | |
333 | val = cmndlgsc.wxPageSetupData_EnablePrinter(self.this,arg0) | |
334 | return val | |
335 | def GetPaperSize(self): | |
336 | val = cmndlgsc.wxPageSetupData_GetPaperSize(self.this) | |
337 | val = wxPointPtr(val) | |
338 | val.thisown = 1 | |
339 | return val | |
340 | def GetMarginTopLeft(self): | |
341 | val = cmndlgsc.wxPageSetupData_GetMarginTopLeft(self.this) | |
342 | val = wxPointPtr(val) | |
343 | val.thisown = 1 | |
344 | return val | |
345 | def GetMarginBottomRight(self): | |
346 | val = cmndlgsc.wxPageSetupData_GetMarginBottomRight(self.this) | |
347 | val = wxPointPtr(val) | |
348 | val.thisown = 1 | |
349 | return val | |
350 | def GetMinMarginTopLeft(self): | |
351 | val = cmndlgsc.wxPageSetupData_GetMinMarginTopLeft(self.this) | |
352 | val = wxPointPtr(val) | |
353 | val.thisown = 1 | |
354 | return val | |
355 | def GetMinMarginBottomRight(self): | |
356 | val = cmndlgsc.wxPageSetupData_GetMinMarginBottomRight(self.this) | |
357 | val = wxPointPtr(val) | |
358 | val.thisown = 1 | |
359 | return val | |
360 | def GetOrientation(self): | |
361 | val = cmndlgsc.wxPageSetupData_GetOrientation(self.this) | |
362 | return val | |
363 | def GetDefaultMinMargins(self): | |
364 | val = cmndlgsc.wxPageSetupData_GetDefaultMinMargins(self.this) | |
365 | return val | |
366 | def GetEnableMargins(self): | |
367 | val = cmndlgsc.wxPageSetupData_GetEnableMargins(self.this) | |
368 | return val | |
369 | def GetEnableOrientation(self): | |
370 | val = cmndlgsc.wxPageSetupData_GetEnableOrientation(self.this) | |
371 | return val | |
372 | def GetEnablePaper(self): | |
373 | val = cmndlgsc.wxPageSetupData_GetEnablePaper(self.this) | |
374 | return val | |
375 | def GetEnablePrinter(self): | |
376 | val = cmndlgsc.wxPageSetupData_GetEnablePrinter(self.this) | |
377 | return val | |
378 | def GetEnableHelp(self): | |
379 | val = cmndlgsc.wxPageSetupData_GetEnableHelp(self.this) | |
380 | return val | |
381 | def GetDefaultInfo(self): | |
382 | val = cmndlgsc.wxPageSetupData_GetDefaultInfo(self.this) | |
383 | return val | |
384 | def SetPaperSize(self,arg0): | |
385 | val = cmndlgsc.wxPageSetupData_SetPaperSize(self.this,arg0.this) | |
386 | return val | |
387 | def SetMarginTopLeft(self,arg0): | |
388 | val = cmndlgsc.wxPageSetupData_SetMarginTopLeft(self.this,arg0.this) | |
389 | return val | |
390 | def SetMarginBottomRight(self,arg0): | |
391 | val = cmndlgsc.wxPageSetupData_SetMarginBottomRight(self.this,arg0.this) | |
392 | return val | |
393 | def SetMinMarginTopLeft(self,arg0): | |
394 | val = cmndlgsc.wxPageSetupData_SetMinMarginTopLeft(self.this,arg0.this) | |
395 | return val | |
396 | def SetMinMarginBottomRight(self,arg0): | |
397 | val = cmndlgsc.wxPageSetupData_SetMinMarginBottomRight(self.this,arg0.this) | |
398 | return val | |
399 | def SetOrientation(self,arg0): | |
400 | val = cmndlgsc.wxPageSetupData_SetOrientation(self.this,arg0) | |
401 | return val | |
402 | def SetDefaultMinMargins(self,arg0): | |
403 | val = cmndlgsc.wxPageSetupData_SetDefaultMinMargins(self.this,arg0) | |
404 | return val | |
405 | def SetDefaultInfo(self,arg0): | |
406 | val = cmndlgsc.wxPageSetupData_SetDefaultInfo(self.this,arg0) | |
407 | return val | |
408 | def __repr__(self): | |
409 | return "<C wxPageSetupData instance>" | |
410 | class wxPageSetupData(wxPageSetupDataPtr): | |
411 | def __init__(self) : | |
412 | self.this = cmndlgsc.new_wxPageSetupData() | |
413 | self.thisown = 1 | |
414 | ||
415 | ||
416 | ||
417 | ||
418 | class wxPageSetupDialogPtr(wxDialogPtr): | |
419 | def __init__(self,this): | |
420 | self.this = this | |
421 | self.thisown = 0 | |
422 | def GetPageSetupData(self): | |
423 | val = cmndlgsc.wxPageSetupDialog_GetPageSetupData(self.this) | |
424 | val = wxPageSetupDataPtr(val) | |
425 | return val | |
426 | def ShowModal(self): | |
427 | val = cmndlgsc.wxPageSetupDialog_ShowModal(self.this) | |
428 | return val | |
429 | def __repr__(self): | |
430 | return "<C wxPageSetupDialog instance>" | |
431 | class wxPageSetupDialog(wxPageSetupDialogPtr): | |
432 | def __init__(self,arg0,*args) : | |
433 | argl = map(None,args) | |
434 | try: argl[0] = argl[0].this | |
435 | except: pass | |
436 | args = tuple(argl) | |
437 | self.this = apply(cmndlgsc.new_wxPageSetupDialog,(arg0.this,)+args) | |
438 | self.thisown = 1 | |
439 | ||
440 | ||
441 | ||
442 | ||
443 | class wxPrintDataPtr : | |
444 | def __init__(self,this): | |
445 | self.this = this | |
446 | self.thisown = 0 | |
447 | def __del__(self): | |
448 | if self.thisown == 1 : | |
449 | cmndlgsc.delete_wxPrintData(self.this) | |
450 | def EnableHelp(self,arg0): | |
451 | val = cmndlgsc.wxPrintData_EnableHelp(self.this,arg0) | |
452 | return val | |
453 | def EnablePageNumbers(self,arg0): | |
454 | val = cmndlgsc.wxPrintData_EnablePageNumbers(self.this,arg0) | |
455 | return val | |
456 | def EnablePrintToFile(self,arg0): | |
457 | val = cmndlgsc.wxPrintData_EnablePrintToFile(self.this,arg0) | |
458 | return val | |
459 | def EnableSelection(self,arg0): | |
460 | val = cmndlgsc.wxPrintData_EnableSelection(self.this,arg0) | |
461 | return val | |
462 | def GetAllPages(self): | |
463 | val = cmndlgsc.wxPrintData_GetAllPages(self.this) | |
464 | return val | |
465 | def GetCollate(self): | |
466 | val = cmndlgsc.wxPrintData_GetCollate(self.this) | |
467 | return val | |
468 | def GetFromPage(self): | |
469 | val = cmndlgsc.wxPrintData_GetFromPage(self.this) | |
470 | return val | |
471 | def GetMaxPage(self): | |
472 | val = cmndlgsc.wxPrintData_GetMaxPage(self.this) | |
473 | return val | |
474 | def GetMinPage(self): | |
475 | val = cmndlgsc.wxPrintData_GetMinPage(self.this) | |
476 | return val | |
477 | def GetNoCopies(self): | |
478 | val = cmndlgsc.wxPrintData_GetNoCopies(self.this) | |
479 | return val | |
480 | def GetOrientation(self): | |
481 | val = cmndlgsc.wxPrintData_GetOrientation(self.this) | |
482 | return val | |
483 | def GetToPage(self): | |
484 | val = cmndlgsc.wxPrintData_GetToPage(self.this) | |
485 | return val | |
486 | def SetCollate(self,arg0): | |
487 | val = cmndlgsc.wxPrintData_SetCollate(self.this,arg0) | |
488 | return val | |
489 | def SetFromPage(self,arg0): | |
490 | val = cmndlgsc.wxPrintData_SetFromPage(self.this,arg0) | |
491 | return val | |
492 | def SetMaxPage(self,arg0): | |
493 | val = cmndlgsc.wxPrintData_SetMaxPage(self.this,arg0) | |
494 | return val | |
495 | def SetMinPage(self,arg0): | |
496 | val = cmndlgsc.wxPrintData_SetMinPage(self.this,arg0) | |
497 | return val | |
498 | def SetOrientation(self,arg0): | |
499 | val = cmndlgsc.wxPrintData_SetOrientation(self.this,arg0) | |
500 | return val | |
501 | def SetNoCopies(self,arg0): | |
502 | val = cmndlgsc.wxPrintData_SetNoCopies(self.this,arg0) | |
503 | return val | |
504 | def SetPrintToFile(self,arg0): | |
505 | val = cmndlgsc.wxPrintData_SetPrintToFile(self.this,arg0) | |
506 | return val | |
507 | def SetSetupDialog(self,arg0): | |
508 | val = cmndlgsc.wxPrintData_SetSetupDialog(self.this,arg0) | |
509 | return val | |
510 | def SetToPage(self,arg0): | |
511 | val = cmndlgsc.wxPrintData_SetToPage(self.this,arg0) | |
512 | return val | |
513 | def __repr__(self): | |
514 | return "<C wxPrintData instance>" | |
515 | class wxPrintData(wxPrintDataPtr): | |
516 | def __init__(self) : | |
517 | self.this = cmndlgsc.new_wxPrintData() | |
518 | self.thisown = 1 | |
519 | ||
520 | ||
521 | ||
522 | ||
523 | class wxPrintDialogPtr(wxDialogPtr): | |
524 | def __init__(self,this): | |
525 | self.this = this | |
526 | self.thisown = 0 | |
527 | def GetPrintData(self): | |
528 | val = cmndlgsc.wxPrintDialog_GetPrintData(self.this) | |
529 | val = wxPrintDataPtr(val) | |
530 | return val | |
531 | def GetPrintDC(self): | |
532 | val = cmndlgsc.wxPrintDialog_GetPrintDC(self.this) | |
533 | val = wxDCPtr(val) | |
534 | return val | |
535 | def ShowModal(self): | |
536 | val = cmndlgsc.wxPrintDialog_ShowModal(self.this) | |
537 | return val | |
538 | def __repr__(self): | |
539 | return "<C wxPrintDialog instance>" | |
540 | class wxPrintDialog(wxPrintDialogPtr): | |
541 | def __init__(self,arg0,*args) : | |
542 | argl = map(None,args) | |
543 | try: argl[0] = argl[0].this | |
544 | except: pass | |
545 | args = tuple(argl) | |
546 | self.this = apply(cmndlgsc.new_wxPrintDialog,(arg0.this,)+args) | |
547 | self.thisown = 1 | |
548 | ||
549 | ||
550 | ||
551 | ||
552 | class wxMessageDialogPtr(wxDialogPtr): | |
553 | def __init__(self,this): | |
554 | self.this = this | |
555 | self.thisown = 0 | |
556 | def ShowModal(self): | |
557 | val = cmndlgsc.wxMessageDialog_ShowModal(self.this) | |
558 | return val | |
559 | def __repr__(self): | |
560 | return "<C wxMessageDialog instance>" | |
561 | class wxMessageDialog(wxMessageDialogPtr): | |
562 | def __init__(self,arg0,arg1,*args) : | |
563 | argl = map(None,args) | |
564 | try: argl[2] = argl[2].this | |
565 | except: pass | |
566 | args = tuple(argl) | |
567 | self.this = apply(cmndlgsc.new_wxMessageDialog,(arg0.this,arg1,)+args) | |
568 | self.thisown = 1 | |
569 | ||
570 | ||
571 | ||
572 | ||
573 | ||
574 | ||
575 | #-------------- FUNCTION WRAPPERS ------------------ | |
576 | ||
577 | ||
578 | ||
579 | #-------------- VARIABLE WRAPPERS ------------------ | |
580 |