]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/windows_wrap.cpp
Oops
[wxWidgets.git] / wxPython / src / msw / windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #endif
125
126 /***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
136 #include "Python.h"
137
138 #ifdef __cplusplus
139 extern "C" {
140 #endif
141
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
147
148 /* Flags for pointer conversion */
149
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
152
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
155
156 /* Constant information structure */
157 typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164 } swig_const_info;
165
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
186 typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198 /* Contract support */
199
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
202 #ifdef __cplusplus
203 }
204 #endif
205
206
207 /* -------- TYPES TABLE (BEGIN) -------- */
208
209 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
210 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
211 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
212 #define SWIGTYPE_p_wxPyPanel swig_types[3]
213 #define SWIGTYPE_p_wxMenu swig_types[4]
214 #define SWIGTYPE_p_wxPrintData swig_types[5]
215 #define SWIGTYPE_p_wxFontData swig_types[6]
216 #define SWIGTYPE_p_wxEvent swig_types[7]
217 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
218 #define SWIGTYPE_p_wxIconBundle swig_types[9]
219 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
220 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
221 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
224 #define SWIGTYPE_p_wxRegion swig_types[15]
225 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
226 #define SWIGTYPE_p_int swig_types[17]
227 #define SWIGTYPE_p_wxSize swig_types[18]
228 #define SWIGTYPE_p_wxDC swig_types[19]
229 #define SWIGTYPE_p_wxIcon swig_types[20]
230 #define SWIGTYPE_p_wxMDIChildFrame swig_types[21]
231 #define SWIGTYPE_p_wxColourData swig_types[22]
232 #define SWIGTYPE_p_wxNotifyEvent swig_types[23]
233 #define SWIGTYPE_p_wxPyWindow swig_types[24]
234 #define SWIGTYPE_p_wxSplashScreen swig_types[25]
235 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[26]
236 #define SWIGTYPE_p_wxProgressDialog swig_types[27]
237 #define SWIGTYPE_p_wxMessageDialog swig_types[28]
238 #define SWIGTYPE_p_wxTextEntryDialog swig_types[29]
239 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30]
240 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31]
241 #define SWIGTYPE_p_wxFileDialog swig_types[32]
242 #define SWIGTYPE_p_wxPrinter swig_types[33]
243 #define SWIGTYPE_p_wxArrayInt swig_types[34]
244 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
245 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36]
246 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[37]
247 #define SWIGTYPE_p_wxPyVListBox swig_types[38]
248 #define SWIGTYPE_p_wxRect swig_types[39]
249 #define SWIGTYPE_p_char swig_types[40]
250 #define SWIGTYPE_p_wxMiniFrame swig_types[41]
251 #define SWIGTYPE_p_wxFrame swig_types[42]
252 #define SWIGTYPE_p_wxPyPrintout swig_types[43]
253 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[44]
254 #define SWIGTYPE_p_wxScrollWinEvent swig_types[45]
255 #define SWIGTYPE_p_wxStatusBar swig_types[46]
256 #define SWIGTYPE_p_wxMDIParentFrame swig_types[47]
257 #define SWIGTYPE_p_wxPoint swig_types[48]
258 #define SWIGTYPE_p_wxObject swig_types[49]
259 #define SWIGTYPE_p_wxOutputStream swig_types[50]
260 #define SWIGTYPE_p_unsigned_long swig_types[51]
261 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[52]
262 #define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
263 #define SWIGTYPE_p_wxTipWindow swig_types[54]
264 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[55]
265 #define SWIGTYPE_p_wxSplitterWindow swig_types[56]
266 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[57]
267 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[58]
268 #define SWIGTYPE_p_wxPopupWindow swig_types[59]
269 #define SWIGTYPE_p_wxSashWindow swig_types[60]
270 #define SWIGTYPE_p_wxTopLevelWindow swig_types[61]
271 #define SWIGTYPE_p_wxWindow swig_types[62]
272 #define SWIGTYPE_p_wxScrolledWindow swig_types[63]
273 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[64]
274 #define SWIGTYPE_p_wxMenuBar swig_types[65]
275 #define SWIGTYPE_p_wxPrintPreview swig_types[66]
276 #define SWIGTYPE_p_wxSashEvent swig_types[67]
277 #define SWIGTYPE_p_wxString swig_types[68]
278 #define SWIGTYPE_p_wxPyPrintPreview swig_types[69]
279 #define SWIGTYPE_p_wxFontDialog swig_types[70]
280 #define SWIGTYPE_p_wxDirDialog swig_types[71]
281 #define SWIGTYPE_p_wxColourDialog swig_types[72]
282 #define SWIGTYPE_p_wxDialog swig_types[73]
283 #define SWIGTYPE_p_wxPanel swig_types[74]
284 #define SWIGTYPE_p_wxPageSetupDialog swig_types[75]
285 #define SWIGTYPE_p_wxPrintDialog swig_types[76]
286 #define SWIGTYPE_p_wxBitmap swig_types[77]
287 #define SWIGTYPE_p_wxCommandEvent swig_types[78]
288 #define SWIGTYPE_p_wxPreviewControlBar swig_types[79]
289 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[80]
290 #define SWIGTYPE_p_wxColour swig_types[81]
291 #define SWIGTYPE_p_wxToolBar swig_types[82]
292 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[83]
293 #define SWIGTYPE_p_wxPrintDialogData swig_types[84]
294 static swig_type_info *swig_types[86];
295
296 /* -------- TYPES TABLE (END) -------- */
297
298
299 /*-----------------------------------------------
300 @(target):= _windows.so
301 ------------------------------------------------*/
302 #define SWIG_init init_windows
303
304 #define SWIG_name "_windows"
305
306 /* Auxiliar swig macros */
307
308 #ifdef __cplusplus
309 #define SWIGSTATICINLINE(a) static inline a
310 #define SWIGSTATIC(a) static a
311 #define swig_new_array(type, size) (new type[(size)])
312 #define swig_delete_array(cptr) delete[] cptr
313 #define swig_const_cast(type,a) const_cast<type>(a)
314 #define swig_static_cast(type,a) static_cast<type>(a)
315 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
316
317 #ifdef HAVE_NUMERIC_CAST
318 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
319 #else
320 #define swig_numeric_cast(type,a) static_cast<type>(a)
321 #endif
322
323 #else /* C case */
324
325 #define SWIGSTATICINLINE(a) static a
326 #define SWIGSTATIC(a) static a
327 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
328 #define swig_delete_array(cptr) free((char*)cptr)
329 #define swig_const_cast(type,a) (type)(a)
330 #define swig_static_cast(type,a) (type)(a)
331 #define swig_reinterpret_cast(type,a) (type)(a)
332 #define swig_numeric_cast(type,a) (type)(a)
333
334 #endif /* __cplusplus */
335
336
337 #define SWIG_FromSignedChar PyInt_FromLong
338 #define SWIG_FromUnsignedChar PyInt_FromLong
339 #define SWIG_FromShort PyInt_FromLong
340 #define SWIG_FromUnsignedShort PyInt_FromLong
341 #define SWIG_FromInt PyInt_FromLong
342 #define SWIG_FromLong PyInt_FromLong
343 #define SWIG_FromFloat PyFloat_FromDouble
344 #define SWIG_FromDouble PyFloat_FromDouble
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
347
348
349 #include "wx/wxPython/wxPython.h"
350 #include "wx/wxPython/pyclasses.h"
351
352
353 static const wxString wxPyEmptyString(wxEmptyString);
354 static const wxString wxPyPanelNameStr(wxPanelNameStr);
355
356
357
358 #include <limits.h>
359
360
361 SWIGSTATICINLINE(long)
362 SWIG_CheckLongInRange(long value, const char* type,
363 long min_value, long max_value)
364 {
365 if (!PyErr_Occurred()) {
366 if (value < min_value) {
367 PyObject *err =
368 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
369 value, type, min_value);
370
371 PyErr_SetObject(PyExc_OverflowError, err);
372 Py_DECREF(err);
373 } else if (value > max_value) {
374 PyObject *err =
375 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
376 value, type, max_value);
377 PyErr_SetObject(PyExc_OverflowError, err);
378 Py_DECREF(err);
379 }
380 }
381 return value;
382 }
383
384
385 SWIGSTATICINLINE(long)
386 SWIG_AsLong(PyObject * obj)
387 {
388 if (PyNumber_Check(obj))
389 return PyInt_AsLong(obj);
390 else {
391 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
392 obj->ob_type->tp_name);
393 PyErr_SetObject(PyExc_TypeError, errmsg);
394 Py_DECREF(errmsg);
395 return 0;
396 }
397 }
398
399
400 #if INT_MAX != LONG_MAX
401 SWIGSTATICINLINE(int)
402 SWIG_AsInt(PyObject *obj)
403 {
404 return swig_numeric_cast(int,
405 SWIG_CheckLongInRange(SWIG_AsLong(obj),
406 "int", INT_MIN, INT_MAX));
407 }
408 #else
409 #define SWIG_AsInt SWIG_AsLong
410 #endif
411
412
413 SWIGSTATICINLINE(int)
414 SWIG_CheckInt(PyObject* obj)
415 {
416 SWIG_AsInt(obj);
417 if (PyErr_Occurred()) {
418 PyErr_Clear();
419 return 0;
420 } else {
421 return 1;
422 }
423 }
424
425
426 SWIGSTATICINLINE(int)
427 SWIG_CheckLong(PyObject* obj)
428 {
429 SWIG_AsLong(obj);
430 if (PyErr_Occurred()) {
431 PyErr_Clear();
432 return 0;
433 } else {
434 return 1;
435 }
436 }
437
438
439 SWIGSTATICINLINE(bool)
440 SWIG_AsBool(PyObject *obj)
441 {
442 return PyObject_IsTrue(obj) ? true : false;
443 }
444
445
446 SWIGSTATICINLINE(int)
447 SWIG_CheckBool(PyObject* obj)
448 {
449 SWIG_AsBool(obj);
450 if (PyErr_Occurred()) {
451 PyErr_Clear();
452 return 0;
453 } else {
454 return 1;
455 }
456 }
457
458
459 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
460 PyObject* o2;
461 PyObject* o3;
462
463 if (!target) {
464 target = o;
465 } else if (target == Py_None) {
466 Py_DECREF(Py_None);
467 target = o;
468 } else {
469 if (!PyTuple_Check(target)) {
470 o2 = target;
471 target = PyTuple_New(1);
472 PyTuple_SetItem(target, 0, o2);
473 }
474 o3 = PyTuple_New(1);
475 PyTuple_SetItem(o3, 0, o);
476
477 o2 = target;
478 target = PySequence_Concat(o2, o3);
479 Py_DECREF(o2);
480 Py_DECREF(o3);
481 }
482 return target;
483 }
484
485
486 SWIGSTATICINLINE(double)
487 SWIG_AsDouble(PyObject *obj)
488 {
489 if (PyNumber_Check(obj))
490 return PyFloat_AsDouble(obj);
491 else {
492 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
493 obj->ob_type->tp_name);
494 PyErr_SetObject(PyExc_TypeError, errmsg);
495 Py_DECREF(errmsg);
496 return 0;
497 }
498 }
499
500
501 SWIGSTATICINLINE(int)
502 SWIG_CheckDouble(PyObject* obj)
503 {
504 SWIG_AsDouble(obj);
505 if (PyErr_Occurred()) {
506 PyErr_Clear();
507 return 0;
508 } else {
509 return 1;
510 }
511 }
512
513 static const wxString wxPyFrameNameStr(wxFrameNameStr);
514 static const wxString wxPyDialogNameStr(wxDialogNameStr);
515 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
516 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
517 bool wxDialog_IsModalShowing(wxDialog *self){
518
519
520
521 return self->IsModalShowing();
522
523 }
524
525
526 wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
527 wxRect r;
528 self->GetFieldRect(i, r);
529 return r;
530 }
531 static const wxString wxPySplitterNameStr(wxT("splitter"));
532 static const wxString wxPySashNameStr(wxT("sashWindow"));
533 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
534
535 #include <wx/popupwin.h>
536
537
538 class wxPyPopupTransientWindow : public wxPopupTransientWindow
539 {
540 public:
541 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
542 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
543 : wxPopupTransientWindow(parent, style) {}
544
545 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
546 DEC_PYCALLBACK__(OnDismiss);
547 DEC_PYCALLBACK_BOOL_(CanDismiss);
548 PYPRIVATE;
549 };
550
551
552 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
553 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
554 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
555
556
557 #include <wx/tipwin.h>
558
559 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
560 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
561 }
562
563 #include <wx/tipwin.h>
564
565
566 #include <wx/vscroll.h>
567
568
569 class wxPyVScrolledWindow : public wxVScrolledWindow
570 {
571 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
572 public:
573 wxPyVScrolledWindow() : wxVScrolledWindow() {}
574
575 wxPyVScrolledWindow(wxWindow *parent,
576 wxWindowID id = wxID_ANY,
577 const wxPoint& pos = wxDefaultPosition,
578 const wxSize& size = wxDefaultSize,
579 long style = 0,
580 const wxString& name = wxPyPanelNameStr)
581 : wxVScrolledWindow(parent, id, pos, size, style, name)
582 {}
583
584 // Overridable virtuals
585
586 // this function must be overridden in the derived class and it should
587 // return the height of the given line in pixels
588 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
589
590
591 // this function doesn't have to be overridden but it may be useful to do
592 // it if calculating the lines heights is a relatively expensive operation
593 // as it gives the user code a possibility to calculate several of them at
594 // once
595 //
596 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
597 // shouldn't rely on the latter being called for all lines in the interval
598 // specified here. It is also possible that OnGetLineHeight() will be
599 // called for the lines outside of this interval, so this is really just a
600 // hint, not a promise.
601 //
602 // finally note that lineMin is inclusive, while lineMax is exclusive, as
603 // usual
604 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
605
606
607 // when the number of lines changes, we try to estimate the total height
608 // of all lines which is a rather expensive operation in terms of lines
609 // access, so if the user code may estimate the average height
610 // better/faster than we do, it should override this function to implement
611 // its own logic
612 //
613 // this function should return the best guess for the total height it may
614 // make
615 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
616
617
618 // Also expose some other interesting protected methods
619
620
621 // find the index of the line we need to show at the top of the window such
622 // that the last (fully or partially) visible line is the given one
623 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
624 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
625
626 // get the total height of the lines between lineMin (inclusive) and
627 // lineMax (exclusive)
628 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
629 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
630
631
632 PYPRIVATE;
633 };
634
635 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
636
637 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
638 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
639 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
640
641
642 SWIGSTATICINLINE(unsigned long)
643 SWIG_AsUnsignedLong(PyObject * obj)
644 {
645 if (PyLong_Check(obj)) {
646 return PyLong_AsUnsignedLong(obj);
647 } else {
648 long i = SWIG_AsLong(obj);
649 if ( !PyErr_Occurred() && (i < 0)) {
650 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
651 }
652 return i;
653 }
654 }
655
656
657 SWIGSTATICINLINE(int)
658 SWIG_CheckUnsignedLong(PyObject* obj)
659 {
660 SWIG_AsUnsignedLong(obj);
661 if (PyErr_Occurred()) {
662 PyErr_Clear();
663 return 0;
664 } else {
665 return 1;
666 }
667 }
668
669
670 SWIGSTATICINLINE(PyObject* )
671 SWIG_FromUnsignedLong(unsigned long value)
672 {
673 return (value > LONG_MAX) ?
674 PyLong_FromUnsignedLong(value)
675 : PyInt_FromLong(swig_numeric_cast(long,value));
676 }
677
678
679 #include <wx/vlbox.h>
680
681 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
682
683 class wxPyVListBox : public wxVListBox
684 {
685 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
686 public:
687 wxPyVListBox() : wxVListBox() {}
688
689 wxPyVListBox(wxWindow *parent,
690 wxWindowID id = wxID_ANY,
691 const wxPoint& pos = wxDefaultPosition,
692 const wxSize& size = wxDefaultSize,
693 long style = 0,
694 const wxString& name = wxPyVListBoxNameStr)
695 : wxVListBox(parent, id, pos, size, style, name)
696 {}
697
698 // Overridable virtuals
699
700 // the derived class must implement this function to actually draw the item
701 // with the given index on the provided DC
702 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
703 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
704
705
706 // the derived class must implement this method to return the height of the
707 // specified item
708 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
709 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
710
711
712 // this method may be used to draw separators between the lines; note that
713 // the rectangle may be modified, typically to deflate it a bit before
714 // passing to OnDrawItem()
715 //
716 // the base class version doesn't do anything
717 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
718 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
719
720
721 // this method is used to draw the items background and, maybe, a border
722 // around it
723 //
724 // the base class version implements a reasonable default behaviour which
725 // consists in drawing the selected item with the standard background
726 // colour and drawing a border around the item if it is either selected or
727 // current
728 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
729 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
730
731
732 PYPRIVATE;
733 };
734
735 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
736
737 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
738 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
739 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
740 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
741
742
743
744 #include <wx/htmllbox.h>
745
746
747 class wxPyHtmlListBox : public wxHtmlListBox
748 {
749 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
750 public:
751 wxPyHtmlListBox() : wxHtmlListBox() {}
752
753 wxPyHtmlListBox(wxWindow *parent,
754 wxWindowID id = wxID_ANY,
755 const wxPoint& pos = wxDefaultPosition,
756 const wxSize& size = wxDefaultSize,
757 long style = 0,
758 const wxString& name = wxPyVListBoxNameStr)
759 : wxHtmlListBox(parent, id, pos, size, style, name)
760 {}
761
762 // Overridable virtuals
763
764 // this method must be implemented in the derived class and should return
765 // the body (i.e. without <html>) of the HTML for the given item
766 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
767
768 // this function may be overridden to decorate HTML returned by OnGetItem()
769 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
770
771 // TODO:
772 // // this method allows to customize the selection appearance: it may be used
773 // // to specify the colour of the text which normally has the given colour
774 // // colFg when it is inside the selection
775 // //
776 // // by default, the original colour is not used at all and all text has the
777 // // same (default for this system) colour inside selection
778 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
779
780 // // this is the same as GetSelectedTextColour() but allows to customize the
781 // // background colour -- this is even more rarely used as you can change it
782 // // globally using SetSelectionBackground()
783 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
784
785
786 PYPRIVATE;
787 };
788
789
790 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
791
792 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
793 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
794
795
796
797
798
799 #ifdef __WXMAC__
800 // implement dummy classes and such for wxMac
801
802 class wxTaskBarIcon : public wxEvtHandler
803 {
804 public:
805 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
806 };
807
808
809 class wxTaskBarIconEvent : public wxEvent
810 {
811 public:
812 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
813 { wxPyRaiseNotImplemented(); }
814 virtual wxEvent* Clone() const { return NULL; }
815 };
816
817 enum {
818 wxEVT_TASKBAR_MOVE = 0,
819 wxEVT_TASKBAR_LEFT_DOWN = 0,
820 wxEVT_TASKBAR_LEFT_UP = 0,
821 wxEVT_TASKBAR_RIGHT_DOWN = 0,
822 wxEVT_TASKBAR_RIGHT_UP = 0,
823 wxEVT_TASKBAR_LEFT_DCLICK = 0,
824 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
825 };
826 #endif
827
828 void wxTaskBarIcon_Destroy(wxTaskBarIcon *self){
829
830 self->RemoveIcon();
831
832 }
833 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
834 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
835 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
836 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
837 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
838 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
839 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
840 wxArrayString arr;
841 self->GetFilenames(arr);
842 return wxArrayString2PyList_helper(arr);
843 }
844 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
845 wxArrayString arr;
846 self->GetPaths(arr);
847 return wxArrayString2PyList_helper(arr);
848 }
849 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
850 return wxArrayInt2PyList_helper(self->GetSelections());
851 }
852 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
853 return new wxSingleChoiceDialog(parent, message, caption,
854 choices, choices_array, NULL, style, pos);
855 }
856
857 #include <wx/mdi.h>
858
859 // C++ version of Python aware wxWindow
860 class wxPyWindow : public wxWindow
861 {
862 DECLARE_DYNAMIC_CLASS(wxPyWindow)
863 public:
864 wxPyWindow() : wxWindow() {}
865 wxPyWindow(wxWindow* parent, const wxWindowID id,
866 const wxPoint& pos = wxDefaultPosition,
867 const wxSize& size = wxDefaultSize,
868 long style = 0,
869 const wxString& name = wxPyPanelNameStr)
870 : wxWindow(parent, id, pos, size, style, name) {}
871
872
873 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
874 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
875 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
876 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
877
878 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
879 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
880 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
881
882 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
883 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
884
885 DEC_PYCALLBACK__(InitDialog);
886 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
887 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
888 DEC_PYCALLBACK_BOOL_(Validate);
889
890 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
891 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
892 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
893
894 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
895 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
896
897 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
898 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
899
900 PYPRIVATE;
901 };
902
903 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
904
905 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
906 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
907 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
908 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
909
910 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
911 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
912 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
913
914 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
915 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
916
917 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
918 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
919 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
920 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
921
922 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
923 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
924 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
925
926 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
927 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
928
929 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, ShouldInheritColours);
930 IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
931
932
933 // C++ version of Python aware wxPanel
934 class wxPyPanel : public wxPanel
935 {
936 DECLARE_DYNAMIC_CLASS(wxPyPanel)
937 public:
938 wxPyPanel() : wxPanel() {}
939 wxPyPanel(wxWindow* parent, const wxWindowID id,
940 const wxPoint& pos = wxDefaultPosition,
941 const wxSize& size = wxDefaultSize,
942 long style = 0,
943 const wxString& name = wxPyPanelNameStr)
944 : wxPanel(parent, id, pos, size, style, name) {}
945
946
947 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
948 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
949 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
950 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
951
952 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
953 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
954 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
955
956 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
957 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
958
959 DEC_PYCALLBACK__(InitDialog);
960 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
961 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
962 DEC_PYCALLBACK_BOOL_(Validate);
963
964 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
965 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
966 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
967
968 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
969 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
970
971 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
972 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
973
974 PYPRIVATE;
975 };
976
977 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
978
979 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
980 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
981 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
982 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
983
984 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
985 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
986 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
987
988 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
989 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
990
991 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
992 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
993 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
994 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
995
996 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
997 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
998 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
999
1000 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
1001 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
1002
1003 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, ShouldInheritColours);
1004 IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
1005
1006 // C++ version of Python aware wxScrolledWindow
1007 class wxPyScrolledWindow : public wxScrolledWindow
1008 {
1009 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
1010 public:
1011 wxPyScrolledWindow() : wxScrolledWindow() {}
1012 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
1013 const wxPoint& pos = wxDefaultPosition,
1014 const wxSize& size = wxDefaultSize,
1015 long style = 0,
1016 const wxString& name = wxPyPanelNameStr)
1017 : wxScrolledWindow(parent, id, pos, size, style, name) {}
1018
1019
1020 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1021 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1022 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1023 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1024
1025 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1026 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1027 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1028
1029 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1030 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1031
1032 DEC_PYCALLBACK__(InitDialog);
1033 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1034 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1035 DEC_PYCALLBACK_BOOL_(Validate);
1036
1037 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1038 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1039 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1040
1041 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1042 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1043
1044 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
1045 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1046
1047 PYPRIVATE;
1048 };
1049
1050 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
1051
1052 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
1053 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
1054 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
1055 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
1056
1057 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
1058 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
1059 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
1060
1061 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
1062 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
1063
1064 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
1065 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
1066 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
1067 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
1068
1069 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
1070 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
1071 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
1072
1073 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
1074 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
1075
1076 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
1077 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
1078
1079
1080 #include "wx/wxPython/printfw.h"
1081
1082
1083 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
1084 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1085
1086
1087
1088 // Since this one would be tough and ugly to do with the Macros...
1089 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1090 bool hadErr = False;
1091 bool found;
1092
1093 bool blocked = wxPyBeginBlockThreads();
1094 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
1095 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1096 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
1097 PyObject* val;
1098
1099 val = PyTuple_GetItem(result, 0);
1100 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
1101 else hadErr = True;
1102
1103 val = PyTuple_GetItem(result, 1);
1104 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
1105 else hadErr = True;
1106
1107 val = PyTuple_GetItem(result, 2);
1108 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
1109 else hadErr = True;
1110
1111 val = PyTuple_GetItem(result, 3);
1112 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
1113 else hadErr = True;
1114 }
1115 else
1116 hadErr = True;
1117
1118 if (hadErr) {
1119 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1120 PyErr_Print();
1121 }
1122 Py_DECREF(result);
1123 }
1124 wxPyEndBlockThreads(blocked);
1125 if (! found)
1126 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1127 }
1128
1129 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1130 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1131 }
1132
1133
1134 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1135 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1136 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1137 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1138 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1139 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1140 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1141
1142
1143
1144
1145
1146 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1147 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1148 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1149
1150
1151 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1152 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1153 bool rval=False; \
1154 bool found; \
1155 bool blocked = wxPyBeginBlockThreads(); \
1156 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1157 PyObject* win = wxPyMake_wxObject(a); \
1158 PyObject* dc = wxPyMake_wxObject(&b); \
1159 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1160 Py_DECREF(win); \
1161 Py_DECREF(dc); \
1162 } \
1163 wxPyEndBlockThreads(blocked); \
1164 if (! found) \
1165 rval = PCLASS::CBNAME(a, b); \
1166 return rval; \
1167 } \
1168 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1169 return PCLASS::CBNAME(a, b); \
1170 }
1171
1172
1173
1174
1175 class wxPyPrintPreview : public wxPrintPreview
1176 {
1177 DECLARE_CLASS(wxPyPrintPreview)
1178 public:
1179 wxPyPrintPreview(wxPyPrintout* printout,
1180 wxPyPrintout* printoutForPrinting,
1181 wxPrintDialogData* data=NULL)
1182 : wxPrintPreview(printout, printoutForPrinting, data)
1183 {}
1184 wxPyPrintPreview(wxPyPrintout* printout,
1185 wxPyPrintout* printoutForPrinting,
1186 wxPrintData* data=NULL)
1187 : wxPrintPreview(printout, printoutForPrinting, data)
1188 {}
1189
1190 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1191 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1192 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1193 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1194 DEC_PYCALLBACK_VOID_INT(SetZoom);
1195 DEC_PYCALLBACK_BOOL_BOOL(Print);
1196 DEC_PYCALLBACK_VOID_(DetermineScaling);
1197
1198 PYPRIVATE;
1199 };
1200
1201 // Stupid renamed classes... Fix this in 2.5...
1202 #if defined(__WXMSW__)
1203 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1204 #elif defined(__WXMAC__)
1205 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1206 #else
1207 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1208 #endif
1209
1210 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1211 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1212 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1213 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1214 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1215 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1216 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1217
1218
1219 class wxPyPreviewFrame : public wxPreviewFrame
1220 {
1221 DECLARE_CLASS(wxPyPreviewFrame);
1222 public:
1223 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1224 const wxString& title,
1225 const wxPoint& pos = wxDefaultPosition,
1226 const wxSize& size = wxDefaultSize,
1227 long style = wxDEFAULT_FRAME_STYLE,
1228 const wxString& name = wxPyFrameNameStr)
1229 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1230 {}
1231
1232 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1233 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1234
1235 DEC_PYCALLBACK_VOID_(Initialize);
1236 DEC_PYCALLBACK_VOID_(CreateCanvas);
1237 DEC_PYCALLBACK_VOID_(CreateControlBar);
1238
1239 PYPRIVATE;
1240 };
1241
1242 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1243
1244 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1245 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1246 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1247
1248
1249 class wxPyPreviewControlBar : public wxPreviewControlBar
1250 {
1251 DECLARE_CLASS(wxPyPreviewControlBar);
1252 public:
1253 wxPyPreviewControlBar(wxPrintPreview *preview,
1254 long buttons,
1255 wxWindow *parent,
1256 const wxPoint& pos = wxDefaultPosition,
1257 const wxSize& size = wxDefaultSize,
1258 long style = 0,
1259 const wxString& name = wxPyPanelNameStr)
1260 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1261 {}
1262
1263 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1264
1265 DEC_PYCALLBACK_VOID_(CreateButtons);
1266 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1267
1268 PYPRIVATE;
1269 };
1270
1271 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1272 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1273 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1274
1275 #ifdef __cplusplus
1276 extern "C" {
1277 #endif
1278 static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
1279 PyObject *resultobj;
1280 wxWindow *arg1 = (wxWindow *) 0 ;
1281 int arg2 = (int) (int)-1 ;
1282 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1283 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1284 wxSize const &arg4_defvalue = wxDefaultSize ;
1285 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1286 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1287 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1288 wxString *arg6 = (wxString *) &arg6_defvalue ;
1289 wxPanel *result;
1290 wxPoint temp3 ;
1291 wxSize temp4 ;
1292 bool temp6 = False ;
1293 PyObject * obj0 = 0 ;
1294 PyObject * obj1 = 0 ;
1295 PyObject * obj2 = 0 ;
1296 PyObject * obj3 = 0 ;
1297 PyObject * obj4 = 0 ;
1298 PyObject * obj5 = 0 ;
1299 char *kwnames[] = {
1300 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1301 };
1302
1303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1306 if (obj1) {
1307 arg2 = (int const) SWIG_AsInt(obj1);
1308 if (PyErr_Occurred()) SWIG_fail;
1309 }
1310 if (obj2) {
1311 {
1312 arg3 = &temp3;
1313 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1314 }
1315 }
1316 if (obj3) {
1317 {
1318 arg4 = &temp4;
1319 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1320 }
1321 }
1322 if (obj4) {
1323 arg5 = (long) SWIG_AsLong(obj4);
1324 if (PyErr_Occurred()) SWIG_fail;
1325 }
1326 if (obj5) {
1327 {
1328 arg6 = wxString_in_helper(obj5);
1329 if (arg6 == NULL) SWIG_fail;
1330 temp6 = True;
1331 }
1332 }
1333 {
1334 PyThreadState* __tstate = wxPyBeginAllowThreads();
1335 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1336
1337 wxPyEndAllowThreads(__tstate);
1338 if (PyErr_Occurred()) SWIG_fail;
1339 }
1340 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1341 {
1342 if (temp6)
1343 delete arg6;
1344 }
1345 return resultobj;
1346 fail:
1347 {
1348 if (temp6)
1349 delete arg6;
1350 }
1351 return NULL;
1352 }
1353
1354
1355 static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1356 PyObject *resultobj;
1357 wxPanel *result;
1358 char *kwnames[] = {
1359 NULL
1360 };
1361
1362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1363 {
1364 PyThreadState* __tstate = wxPyBeginAllowThreads();
1365 result = (wxPanel *)new wxPanel();
1366
1367 wxPyEndAllowThreads(__tstate);
1368 if (PyErr_Occurred()) SWIG_fail;
1369 }
1370 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1371 return resultobj;
1372 fail:
1373 return NULL;
1374 }
1375
1376
1377 static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1378 PyObject *resultobj;
1379 wxPanel *arg1 = (wxPanel *) 0 ;
1380 wxWindow *arg2 = (wxWindow *) 0 ;
1381 int arg3 ;
1382 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1383 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1384 wxSize const &arg5_defvalue = wxDefaultSize ;
1385 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1386 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1387 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1388 wxString *arg7 = (wxString *) &arg7_defvalue ;
1389 bool result;
1390 wxPoint temp4 ;
1391 wxSize temp5 ;
1392 bool temp7 = False ;
1393 PyObject * obj0 = 0 ;
1394 PyObject * obj1 = 0 ;
1395 PyObject * obj2 = 0 ;
1396 PyObject * obj3 = 0 ;
1397 PyObject * obj4 = 0 ;
1398 PyObject * obj5 = 0 ;
1399 PyObject * obj6 = 0 ;
1400 char *kwnames[] = {
1401 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1402 };
1403
1404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1407 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1409 arg3 = (int const) SWIG_AsInt(obj2);
1410 if (PyErr_Occurred()) SWIG_fail;
1411 if (obj3) {
1412 {
1413 arg4 = &temp4;
1414 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1415 }
1416 }
1417 if (obj4) {
1418 {
1419 arg5 = &temp5;
1420 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1421 }
1422 }
1423 if (obj5) {
1424 arg6 = (long) SWIG_AsLong(obj5);
1425 if (PyErr_Occurred()) SWIG_fail;
1426 }
1427 if (obj6) {
1428 {
1429 arg7 = wxString_in_helper(obj6);
1430 if (arg7 == NULL) SWIG_fail;
1431 temp7 = True;
1432 }
1433 }
1434 {
1435 PyThreadState* __tstate = wxPyBeginAllowThreads();
1436 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1437
1438 wxPyEndAllowThreads(__tstate);
1439 if (PyErr_Occurred()) SWIG_fail;
1440 }
1441 {
1442 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1443 }
1444 {
1445 if (temp7)
1446 delete arg7;
1447 }
1448 return resultobj;
1449 fail:
1450 {
1451 if (temp7)
1452 delete arg7;
1453 }
1454 return NULL;
1455 }
1456
1457
1458 static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1459 PyObject *resultobj;
1460 wxPanel *arg1 = (wxPanel *) 0 ;
1461 PyObject * obj0 = 0 ;
1462 char *kwnames[] = {
1463 (char *) "self", NULL
1464 };
1465
1466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1469 {
1470 PyThreadState* __tstate = wxPyBeginAllowThreads();
1471 (arg1)->InitDialog();
1472
1473 wxPyEndAllowThreads(__tstate);
1474 if (PyErr_Occurred()) SWIG_fail;
1475 }
1476 Py_INCREF(Py_None); resultobj = Py_None;
1477 return resultobj;
1478 fail:
1479 return NULL;
1480 }
1481
1482
1483 static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1484 PyObject *obj;
1485 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1486 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1487 Py_INCREF(obj);
1488 return Py_BuildValue((char *)"");
1489 }
1490 static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1491 PyObject *resultobj;
1492 wxWindow *arg1 = (wxWindow *) 0 ;
1493 int arg2 = (int) (int)-1 ;
1494 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1495 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1496 wxSize const &arg4_defvalue = wxDefaultSize ;
1497 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1498 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1499 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1500 wxString *arg6 = (wxString *) &arg6_defvalue ;
1501 wxScrolledWindow *result;
1502 wxPoint temp3 ;
1503 wxSize temp4 ;
1504 bool temp6 = False ;
1505 PyObject * obj0 = 0 ;
1506 PyObject * obj1 = 0 ;
1507 PyObject * obj2 = 0 ;
1508 PyObject * obj3 = 0 ;
1509 PyObject * obj4 = 0 ;
1510 PyObject * obj5 = 0 ;
1511 char *kwnames[] = {
1512 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1513 };
1514
1515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1518 if (obj1) {
1519 arg2 = (int const) SWIG_AsInt(obj1);
1520 if (PyErr_Occurred()) SWIG_fail;
1521 }
1522 if (obj2) {
1523 {
1524 arg3 = &temp3;
1525 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1526 }
1527 }
1528 if (obj3) {
1529 {
1530 arg4 = &temp4;
1531 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1532 }
1533 }
1534 if (obj4) {
1535 arg5 = (long) SWIG_AsLong(obj4);
1536 if (PyErr_Occurred()) SWIG_fail;
1537 }
1538 if (obj5) {
1539 {
1540 arg6 = wxString_in_helper(obj5);
1541 if (arg6 == NULL) SWIG_fail;
1542 temp6 = True;
1543 }
1544 }
1545 {
1546 PyThreadState* __tstate = wxPyBeginAllowThreads();
1547 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1548
1549 wxPyEndAllowThreads(__tstate);
1550 if (PyErr_Occurred()) SWIG_fail;
1551 }
1552 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1553 {
1554 if (temp6)
1555 delete arg6;
1556 }
1557 return resultobj;
1558 fail:
1559 {
1560 if (temp6)
1561 delete arg6;
1562 }
1563 return NULL;
1564 }
1565
1566
1567 static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1568 PyObject *resultobj;
1569 wxScrolledWindow *result;
1570 char *kwnames[] = {
1571 NULL
1572 };
1573
1574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1575 {
1576 PyThreadState* __tstate = wxPyBeginAllowThreads();
1577 result = (wxScrolledWindow *)new wxScrolledWindow();
1578
1579 wxPyEndAllowThreads(__tstate);
1580 if (PyErr_Occurred()) SWIG_fail;
1581 }
1582 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1583 return resultobj;
1584 fail:
1585 return NULL;
1586 }
1587
1588
1589 static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1590 PyObject *resultobj;
1591 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1592 wxWindow *arg2 = (wxWindow *) 0 ;
1593 int arg3 = (int) (int)-1 ;
1594 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1595 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1596 wxSize const &arg5_defvalue = wxDefaultSize ;
1597 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1598 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1599 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1600 wxString *arg7 = (wxString *) &arg7_defvalue ;
1601 bool result;
1602 wxPoint temp4 ;
1603 wxSize temp5 ;
1604 bool temp7 = False ;
1605 PyObject * obj0 = 0 ;
1606 PyObject * obj1 = 0 ;
1607 PyObject * obj2 = 0 ;
1608 PyObject * obj3 = 0 ;
1609 PyObject * obj4 = 0 ;
1610 PyObject * obj5 = 0 ;
1611 PyObject * obj6 = 0 ;
1612 char *kwnames[] = {
1613 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1614 };
1615
1616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1619 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1621 if (obj2) {
1622 arg3 = (int const) SWIG_AsInt(obj2);
1623 if (PyErr_Occurred()) SWIG_fail;
1624 }
1625 if (obj3) {
1626 {
1627 arg4 = &temp4;
1628 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1629 }
1630 }
1631 if (obj4) {
1632 {
1633 arg5 = &temp5;
1634 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1635 }
1636 }
1637 if (obj5) {
1638 arg6 = (long) SWIG_AsLong(obj5);
1639 if (PyErr_Occurred()) SWIG_fail;
1640 }
1641 if (obj6) {
1642 {
1643 arg7 = wxString_in_helper(obj6);
1644 if (arg7 == NULL) SWIG_fail;
1645 temp7 = True;
1646 }
1647 }
1648 {
1649 PyThreadState* __tstate = wxPyBeginAllowThreads();
1650 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1651
1652 wxPyEndAllowThreads(__tstate);
1653 if (PyErr_Occurred()) SWIG_fail;
1654 }
1655 {
1656 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1657 }
1658 {
1659 if (temp7)
1660 delete arg7;
1661 }
1662 return resultobj;
1663 fail:
1664 {
1665 if (temp7)
1666 delete arg7;
1667 }
1668 return NULL;
1669 }
1670
1671
1672 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1673 PyObject *resultobj;
1674 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1675 int arg2 ;
1676 int arg3 ;
1677 int arg4 ;
1678 int arg5 ;
1679 int arg6 = (int) 0 ;
1680 int arg7 = (int) 0 ;
1681 bool arg8 = (bool) False ;
1682 PyObject * obj0 = 0 ;
1683 PyObject * obj1 = 0 ;
1684 PyObject * obj2 = 0 ;
1685 PyObject * obj3 = 0 ;
1686 PyObject * obj4 = 0 ;
1687 PyObject * obj5 = 0 ;
1688 PyObject * obj6 = 0 ;
1689 PyObject * obj7 = 0 ;
1690 char *kwnames[] = {
1691 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1692 };
1693
1694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1697 arg2 = (int) SWIG_AsInt(obj1);
1698 if (PyErr_Occurred()) SWIG_fail;
1699 arg3 = (int) SWIG_AsInt(obj2);
1700 if (PyErr_Occurred()) SWIG_fail;
1701 arg4 = (int) SWIG_AsInt(obj3);
1702 if (PyErr_Occurred()) SWIG_fail;
1703 arg5 = (int) SWIG_AsInt(obj4);
1704 if (PyErr_Occurred()) SWIG_fail;
1705 if (obj5) {
1706 arg6 = (int) SWIG_AsInt(obj5);
1707 if (PyErr_Occurred()) SWIG_fail;
1708 }
1709 if (obj6) {
1710 arg7 = (int) SWIG_AsInt(obj6);
1711 if (PyErr_Occurred()) SWIG_fail;
1712 }
1713 if (obj7) {
1714 arg8 = (bool) SWIG_AsBool(obj7);
1715 if (PyErr_Occurred()) SWIG_fail;
1716 }
1717 {
1718 PyThreadState* __tstate = wxPyBeginAllowThreads();
1719 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1720
1721 wxPyEndAllowThreads(__tstate);
1722 if (PyErr_Occurred()) SWIG_fail;
1723 }
1724 Py_INCREF(Py_None); resultobj = Py_None;
1725 return resultobj;
1726 fail:
1727 return NULL;
1728 }
1729
1730
1731 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1732 PyObject *resultobj;
1733 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1734 int arg2 ;
1735 int arg3 ;
1736 PyObject * obj0 = 0 ;
1737 PyObject * obj1 = 0 ;
1738 PyObject * obj2 = 0 ;
1739 char *kwnames[] = {
1740 (char *) "self",(char *) "x",(char *) "y", NULL
1741 };
1742
1743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1746 arg2 = (int) SWIG_AsInt(obj1);
1747 if (PyErr_Occurred()) SWIG_fail;
1748 arg3 = (int) SWIG_AsInt(obj2);
1749 if (PyErr_Occurred()) SWIG_fail;
1750 {
1751 PyThreadState* __tstate = wxPyBeginAllowThreads();
1752 (arg1)->Scroll(arg2,arg3);
1753
1754 wxPyEndAllowThreads(__tstate);
1755 if (PyErr_Occurred()) SWIG_fail;
1756 }
1757 Py_INCREF(Py_None); resultobj = Py_None;
1758 return resultobj;
1759 fail:
1760 return NULL;
1761 }
1762
1763
1764 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1765 PyObject *resultobj;
1766 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1767 int arg2 ;
1768 int result;
1769 PyObject * obj0 = 0 ;
1770 PyObject * obj1 = 0 ;
1771 char *kwnames[] = {
1772 (char *) "self",(char *) "orient", NULL
1773 };
1774
1775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1778 arg2 = (int) SWIG_AsInt(obj1);
1779 if (PyErr_Occurred()) SWIG_fail;
1780 {
1781 PyThreadState* __tstate = wxPyBeginAllowThreads();
1782 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1783
1784 wxPyEndAllowThreads(__tstate);
1785 if (PyErr_Occurred()) SWIG_fail;
1786 }
1787 resultobj = SWIG_FromInt((int)result);
1788 return resultobj;
1789 fail:
1790 return NULL;
1791 }
1792
1793
1794 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1795 PyObject *resultobj;
1796 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1797 int arg2 ;
1798 int arg3 ;
1799 PyObject * obj0 = 0 ;
1800 PyObject * obj1 = 0 ;
1801 PyObject * obj2 = 0 ;
1802 char *kwnames[] = {
1803 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1804 };
1805
1806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
1807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1809 arg2 = (int) SWIG_AsInt(obj1);
1810 if (PyErr_Occurred()) SWIG_fail;
1811 arg3 = (int) SWIG_AsInt(obj2);
1812 if (PyErr_Occurred()) SWIG_fail;
1813 {
1814 PyThreadState* __tstate = wxPyBeginAllowThreads();
1815 (arg1)->SetScrollPageSize(arg2,arg3);
1816
1817 wxPyEndAllowThreads(__tstate);
1818 if (PyErr_Occurred()) SWIG_fail;
1819 }
1820 Py_INCREF(Py_None); resultobj = Py_None;
1821 return resultobj;
1822 fail:
1823 return NULL;
1824 }
1825
1826
1827 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1828 PyObject *resultobj;
1829 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1830 int arg2 ;
1831 int arg3 ;
1832 PyObject * obj0 = 0 ;
1833 PyObject * obj1 = 0 ;
1834 PyObject * obj2 = 0 ;
1835 char *kwnames[] = {
1836 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1837 };
1838
1839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
1840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1842 arg2 = (int) SWIG_AsInt(obj1);
1843 if (PyErr_Occurred()) SWIG_fail;
1844 arg3 = (int) SWIG_AsInt(obj2);
1845 if (PyErr_Occurred()) SWIG_fail;
1846 {
1847 PyThreadState* __tstate = wxPyBeginAllowThreads();
1848 (arg1)->SetScrollRate(arg2,arg3);
1849
1850 wxPyEndAllowThreads(__tstate);
1851 if (PyErr_Occurred()) SWIG_fail;
1852 }
1853 Py_INCREF(Py_None); resultobj = Py_None;
1854 return resultobj;
1855 fail:
1856 return NULL;
1857 }
1858
1859
1860 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1861 PyObject *resultobj;
1862 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1863 int *arg2 = (int *) 0 ;
1864 int *arg3 = (int *) 0 ;
1865 int temp2 ;
1866 int temp3 ;
1867 PyObject * obj0 = 0 ;
1868 char *kwnames[] = {
1869 (char *) "self", NULL
1870 };
1871
1872 arg2 = &temp2;
1873 arg3 = &temp3;
1874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1877 {
1878 PyThreadState* __tstate = wxPyBeginAllowThreads();
1879 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1880
1881 wxPyEndAllowThreads(__tstate);
1882 if (PyErr_Occurred()) SWIG_fail;
1883 }
1884 Py_INCREF(Py_None); resultobj = Py_None;
1885 {
1886 PyObject *o = PyInt_FromLong((long) (*arg2));
1887 resultobj = t_output_helper(resultobj,o);
1888 }
1889 {
1890 PyObject *o = PyInt_FromLong((long) (*arg3));
1891 resultobj = t_output_helper(resultobj,o);
1892 }
1893 return resultobj;
1894 fail:
1895 return NULL;
1896 }
1897
1898
1899 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1900 PyObject *resultobj;
1901 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1902 bool arg2 ;
1903 bool arg3 ;
1904 PyObject * obj0 = 0 ;
1905 PyObject * obj1 = 0 ;
1906 PyObject * obj2 = 0 ;
1907 char *kwnames[] = {
1908 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1909 };
1910
1911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1914 arg2 = (bool) SWIG_AsBool(obj1);
1915 if (PyErr_Occurred()) SWIG_fail;
1916 arg3 = (bool) SWIG_AsBool(obj2);
1917 if (PyErr_Occurred()) SWIG_fail;
1918 {
1919 PyThreadState* __tstate = wxPyBeginAllowThreads();
1920 (arg1)->EnableScrolling(arg2,arg3);
1921
1922 wxPyEndAllowThreads(__tstate);
1923 if (PyErr_Occurred()) SWIG_fail;
1924 }
1925 Py_INCREF(Py_None); resultobj = Py_None;
1926 return resultobj;
1927 fail:
1928 return NULL;
1929 }
1930
1931
1932 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1933 PyObject *resultobj;
1934 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1935 int *arg2 = (int *) 0 ;
1936 int *arg3 = (int *) 0 ;
1937 int temp2 ;
1938 int temp3 ;
1939 PyObject * obj0 = 0 ;
1940 char *kwnames[] = {
1941 (char *) "self", NULL
1942 };
1943
1944 arg2 = &temp2;
1945 arg3 = &temp3;
1946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1949 {
1950 PyThreadState* __tstate = wxPyBeginAllowThreads();
1951 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1952
1953 wxPyEndAllowThreads(__tstate);
1954 if (PyErr_Occurred()) SWIG_fail;
1955 }
1956 Py_INCREF(Py_None); resultobj = Py_None;
1957 {
1958 PyObject *o = PyInt_FromLong((long) (*arg2));
1959 resultobj = t_output_helper(resultobj,o);
1960 }
1961 {
1962 PyObject *o = PyInt_FromLong((long) (*arg3));
1963 resultobj = t_output_helper(resultobj,o);
1964 }
1965 return resultobj;
1966 fail:
1967 return NULL;
1968 }
1969
1970
1971 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
1972 PyObject *resultobj;
1973 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1974 double arg2 ;
1975 double arg3 ;
1976 PyObject * obj0 = 0 ;
1977 PyObject * obj1 = 0 ;
1978 PyObject * obj2 = 0 ;
1979 char *kwnames[] = {
1980 (char *) "self",(char *) "xs",(char *) "ys", NULL
1981 };
1982
1983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
1984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1986 arg2 = (double) SWIG_AsDouble(obj1);
1987 if (PyErr_Occurred()) SWIG_fail;
1988 arg3 = (double) SWIG_AsDouble(obj2);
1989 if (PyErr_Occurred()) SWIG_fail;
1990 {
1991 PyThreadState* __tstate = wxPyBeginAllowThreads();
1992 (arg1)->SetScale(arg2,arg3);
1993
1994 wxPyEndAllowThreads(__tstate);
1995 if (PyErr_Occurred()) SWIG_fail;
1996 }
1997 Py_INCREF(Py_None); resultobj = Py_None;
1998 return resultobj;
1999 fail:
2000 return NULL;
2001 }
2002
2003
2004 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
2005 PyObject *resultobj;
2006 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2007 double result;
2008 PyObject * obj0 = 0 ;
2009 char *kwnames[] = {
2010 (char *) "self", NULL
2011 };
2012
2013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
2014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2016 {
2017 PyThreadState* __tstate = wxPyBeginAllowThreads();
2018 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
2019
2020 wxPyEndAllowThreads(__tstate);
2021 if (PyErr_Occurred()) SWIG_fail;
2022 }
2023 resultobj = SWIG_FromDouble((double)result);
2024 return resultobj;
2025 fail:
2026 return NULL;
2027 }
2028
2029
2030 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
2031 PyObject *resultobj;
2032 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2033 double result;
2034 PyObject * obj0 = 0 ;
2035 char *kwnames[] = {
2036 (char *) "self", NULL
2037 };
2038
2039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
2040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2042 {
2043 PyThreadState* __tstate = wxPyBeginAllowThreads();
2044 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
2045
2046 wxPyEndAllowThreads(__tstate);
2047 if (PyErr_Occurred()) SWIG_fail;
2048 }
2049 resultobj = SWIG_FromDouble((double)result);
2050 return resultobj;
2051 fail:
2052 return NULL;
2053 }
2054
2055
2056 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2057 PyObject *resultobj;
2058 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2059 wxPoint *arg2 = 0 ;
2060 wxPoint result;
2061 wxPoint temp2 ;
2062 PyObject * obj0 = 0 ;
2063 PyObject * obj1 = 0 ;
2064
2065 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
2066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2068 {
2069 arg2 = &temp2;
2070 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2071 }
2072 {
2073 PyThreadState* __tstate = wxPyBeginAllowThreads();
2074 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
2075
2076 wxPyEndAllowThreads(__tstate);
2077 if (PyErr_Occurred()) SWIG_fail;
2078 }
2079 {
2080 wxPoint * resultptr;
2081 resultptr = new wxPoint((wxPoint &) result);
2082 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2083 }
2084 return resultobj;
2085 fail:
2086 return NULL;
2087 }
2088
2089
2090 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2091 PyObject *resultobj;
2092 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2093 int arg2 ;
2094 int arg3 ;
2095 int *arg4 = (int *) 0 ;
2096 int *arg5 = (int *) 0 ;
2097 int temp4 ;
2098 int temp5 ;
2099 PyObject * obj0 = 0 ;
2100 PyObject * obj1 = 0 ;
2101 PyObject * obj2 = 0 ;
2102
2103 arg4 = &temp4;
2104 arg5 = &temp5;
2105 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2108 arg2 = (int) SWIG_AsInt(obj1);
2109 if (PyErr_Occurred()) SWIG_fail;
2110 arg3 = (int) SWIG_AsInt(obj2);
2111 if (PyErr_Occurred()) SWIG_fail;
2112 {
2113 PyThreadState* __tstate = wxPyBeginAllowThreads();
2114 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
2115
2116 wxPyEndAllowThreads(__tstate);
2117 if (PyErr_Occurred()) SWIG_fail;
2118 }
2119 Py_INCREF(Py_None); resultobj = Py_None;
2120 {
2121 PyObject *o = PyInt_FromLong((long) (*arg4));
2122 resultobj = t_output_helper(resultobj,o);
2123 }
2124 {
2125 PyObject *o = PyInt_FromLong((long) (*arg5));
2126 resultobj = t_output_helper(resultobj,o);
2127 }
2128 return resultobj;
2129 fail:
2130 return NULL;
2131 }
2132
2133
2134 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2135 int argc;
2136 PyObject *argv[4];
2137 int ii;
2138
2139 argc = PyObject_Length(args);
2140 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2141 argv[ii] = PyTuple_GetItem(args,ii);
2142 }
2143 if (argc == 2) {
2144 int _v;
2145 {
2146 void *ptr;
2147 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2148 _v = 0;
2149 PyErr_Clear();
2150 } else {
2151 _v = 1;
2152 }
2153 }
2154 if (_v) {
2155 {
2156 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2157 }
2158 if (_v) {
2159 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
2160 }
2161 }
2162 }
2163 if (argc == 3) {
2164 int _v;
2165 {
2166 void *ptr;
2167 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2168 _v = 0;
2169 PyErr_Clear();
2170 } else {
2171 _v = 1;
2172 }
2173 }
2174 if (_v) {
2175 _v = SWIG_CheckInt(argv[1]);
2176 if (_v) {
2177 _v = SWIG_CheckInt(argv[2]);
2178 if (_v) {
2179 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2180 }
2181 }
2182 }
2183 }
2184
2185 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2186 return NULL;
2187 }
2188
2189
2190 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2191 PyObject *resultobj;
2192 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2193 wxPoint *arg2 = 0 ;
2194 wxPoint result;
2195 wxPoint temp2 ;
2196 PyObject * obj0 = 0 ;
2197 PyObject * obj1 = 0 ;
2198
2199 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2202 {
2203 arg2 = &temp2;
2204 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2205 }
2206 {
2207 PyThreadState* __tstate = wxPyBeginAllowThreads();
2208 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2209
2210 wxPyEndAllowThreads(__tstate);
2211 if (PyErr_Occurred()) SWIG_fail;
2212 }
2213 {
2214 wxPoint * resultptr;
2215 resultptr = new wxPoint((wxPoint &) result);
2216 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2217 }
2218 return resultobj;
2219 fail:
2220 return NULL;
2221 }
2222
2223
2224 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2225 PyObject *resultobj;
2226 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2227 int arg2 ;
2228 int arg3 ;
2229 int *arg4 = (int *) 0 ;
2230 int *arg5 = (int *) 0 ;
2231 int temp4 ;
2232 int temp5 ;
2233 PyObject * obj0 = 0 ;
2234 PyObject * obj1 = 0 ;
2235 PyObject * obj2 = 0 ;
2236
2237 arg4 = &temp4;
2238 arg5 = &temp5;
2239 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2242 arg2 = (int) SWIG_AsInt(obj1);
2243 if (PyErr_Occurred()) SWIG_fail;
2244 arg3 = (int) SWIG_AsInt(obj2);
2245 if (PyErr_Occurred()) SWIG_fail;
2246 {
2247 PyThreadState* __tstate = wxPyBeginAllowThreads();
2248 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2249
2250 wxPyEndAllowThreads(__tstate);
2251 if (PyErr_Occurred()) SWIG_fail;
2252 }
2253 Py_INCREF(Py_None); resultobj = Py_None;
2254 {
2255 PyObject *o = PyInt_FromLong((long) (*arg4));
2256 resultobj = t_output_helper(resultobj,o);
2257 }
2258 {
2259 PyObject *o = PyInt_FromLong((long) (*arg5));
2260 resultobj = t_output_helper(resultobj,o);
2261 }
2262 return resultobj;
2263 fail:
2264 return NULL;
2265 }
2266
2267
2268 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2269 int argc;
2270 PyObject *argv[4];
2271 int ii;
2272
2273 argc = PyObject_Length(args);
2274 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2275 argv[ii] = PyTuple_GetItem(args,ii);
2276 }
2277 if (argc == 2) {
2278 int _v;
2279 {
2280 void *ptr;
2281 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2282 _v = 0;
2283 PyErr_Clear();
2284 } else {
2285 _v = 1;
2286 }
2287 }
2288 if (_v) {
2289 {
2290 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2291 }
2292 if (_v) {
2293 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2294 }
2295 }
2296 }
2297 if (argc == 3) {
2298 int _v;
2299 {
2300 void *ptr;
2301 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2302 _v = 0;
2303 PyErr_Clear();
2304 } else {
2305 _v = 1;
2306 }
2307 }
2308 if (_v) {
2309 _v = SWIG_CheckInt(argv[1]);
2310 if (_v) {
2311 _v = SWIG_CheckInt(argv[2]);
2312 if (_v) {
2313 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2314 }
2315 }
2316 }
2317 }
2318
2319 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2320 return NULL;
2321 }
2322
2323
2324 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
2325 PyObject *resultobj;
2326 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2327 PyObject * obj0 = 0 ;
2328 char *kwnames[] = {
2329 (char *) "self", NULL
2330 };
2331
2332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2335 {
2336 PyThreadState* __tstate = wxPyBeginAllowThreads();
2337 (arg1)->AdjustScrollbars();
2338
2339 wxPyEndAllowThreads(__tstate);
2340 if (PyErr_Occurred()) SWIG_fail;
2341 }
2342 Py_INCREF(Py_None); resultobj = Py_None;
2343 return resultobj;
2344 fail:
2345 return NULL;
2346 }
2347
2348
2349 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
2350 PyObject *resultobj;
2351 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2352 wxScrollWinEvent *arg2 = 0 ;
2353 int result;
2354 PyObject * obj0 = 0 ;
2355 PyObject * obj1 = 0 ;
2356 char *kwnames[] = {
2357 (char *) "self",(char *) "event", NULL
2358 };
2359
2360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2363 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2364 SWIG_POINTER_EXCEPTION | 0)) == -1)
2365 SWIG_fail;
2366 if (arg2 == NULL) {
2367 PyErr_SetString(PyExc_TypeError,"null reference");
2368 SWIG_fail;
2369 }
2370 {
2371 PyThreadState* __tstate = wxPyBeginAllowThreads();
2372 result = (int)(arg1)->CalcScrollInc(*arg2);
2373
2374 wxPyEndAllowThreads(__tstate);
2375 if (PyErr_Occurred()) SWIG_fail;
2376 }
2377 resultobj = SWIG_FromInt((int)result);
2378 return resultobj;
2379 fail:
2380 return NULL;
2381 }
2382
2383
2384 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2385 PyObject *resultobj;
2386 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2387 wxWindow *arg2 = (wxWindow *) 0 ;
2388 PyObject * obj0 = 0 ;
2389 PyObject * obj1 = 0 ;
2390 char *kwnames[] = {
2391 (char *) "self",(char *) "target", NULL
2392 };
2393
2394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2397 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2399 {
2400 PyThreadState* __tstate = wxPyBeginAllowThreads();
2401 (arg1)->SetTargetWindow(arg2);
2402
2403 wxPyEndAllowThreads(__tstate);
2404 if (PyErr_Occurred()) SWIG_fail;
2405 }
2406 Py_INCREF(Py_None); resultobj = Py_None;
2407 return resultobj;
2408 fail:
2409 return NULL;
2410 }
2411
2412
2413 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2414 PyObject *resultobj;
2415 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2416 wxWindow *result;
2417 PyObject * obj0 = 0 ;
2418 char *kwnames[] = {
2419 (char *) "self", NULL
2420 };
2421
2422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2425 {
2426 PyThreadState* __tstate = wxPyBeginAllowThreads();
2427 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2428
2429 wxPyEndAllowThreads(__tstate);
2430 if (PyErr_Occurred()) SWIG_fail;
2431 }
2432 {
2433 resultobj = wxPyMake_wxObject(result);
2434 }
2435 return resultobj;
2436 fail:
2437 return NULL;
2438 }
2439
2440
2441 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2442 PyObject *resultobj;
2443 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2444 wxRect *arg2 = 0 ;
2445 wxRect temp2 ;
2446 PyObject * obj0 = 0 ;
2447 PyObject * obj1 = 0 ;
2448 char *kwnames[] = {
2449 (char *) "self",(char *) "rect", NULL
2450 };
2451
2452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2455 {
2456 arg2 = &temp2;
2457 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2458 }
2459 {
2460 PyThreadState* __tstate = wxPyBeginAllowThreads();
2461 (arg1)->SetTargetRect((wxRect const &)*arg2);
2462
2463 wxPyEndAllowThreads(__tstate);
2464 if (PyErr_Occurred()) SWIG_fail;
2465 }
2466 Py_INCREF(Py_None); resultobj = Py_None;
2467 return resultobj;
2468 fail:
2469 return NULL;
2470 }
2471
2472
2473 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2474 PyObject *resultobj;
2475 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2476 wxRect result;
2477 PyObject * obj0 = 0 ;
2478 char *kwnames[] = {
2479 (char *) "self", NULL
2480 };
2481
2482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2485 {
2486 PyThreadState* __tstate = wxPyBeginAllowThreads();
2487 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2488
2489 wxPyEndAllowThreads(__tstate);
2490 if (PyErr_Occurred()) SWIG_fail;
2491 }
2492 {
2493 wxRect * resultptr;
2494 resultptr = new wxRect((wxRect &) result);
2495 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
2496 }
2497 return resultobj;
2498 fail:
2499 return NULL;
2500 }
2501
2502
2503 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2504 PyObject *obj;
2505 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2506 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2507 Py_INCREF(obj);
2508 return Py_BuildValue((char *)"");
2509 }
2510 static int _wrap_FrameNameStr_set(PyObject *_val) {
2511 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2512 return 1;
2513 }
2514
2515
2516 static PyObject *_wrap_FrameNameStr_get() {
2517 PyObject *pyobj;
2518
2519 {
2520 #if wxUSE_UNICODE
2521 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2522 #else
2523 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2524 #endif
2525 }
2526 return pyobj;
2527 }
2528
2529
2530 static int _wrap_DialogNameStr_set(PyObject *_val) {
2531 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2532 return 1;
2533 }
2534
2535
2536 static PyObject *_wrap_DialogNameStr_get() {
2537 PyObject *pyobj;
2538
2539 {
2540 #if wxUSE_UNICODE
2541 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2542 #else
2543 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2544 #endif
2545 }
2546 return pyobj;
2547 }
2548
2549
2550 static int _wrap_StatusLineNameStr_set(PyObject *_val) {
2551 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2552 return 1;
2553 }
2554
2555
2556 static PyObject *_wrap_StatusLineNameStr_get() {
2557 PyObject *pyobj;
2558
2559 {
2560 #if wxUSE_UNICODE
2561 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2562 #else
2563 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2564 #endif
2565 }
2566 return pyobj;
2567 }
2568
2569
2570 static int _wrap_ToolBarNameStr_set(PyObject *_val) {
2571 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2572 return 1;
2573 }
2574
2575
2576 static PyObject *_wrap_ToolBarNameStr_get() {
2577 PyObject *pyobj;
2578
2579 {
2580 #if wxUSE_UNICODE
2581 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2582 #else
2583 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2584 #endif
2585 }
2586 return pyobj;
2587 }
2588
2589
2590 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2591 PyObject *resultobj;
2592 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2593 bool arg2 = (bool) True ;
2594 PyObject * obj0 = 0 ;
2595 PyObject * obj1 = 0 ;
2596 char *kwnames[] = {
2597 (char *) "self",(char *) "maximize", NULL
2598 };
2599
2600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2603 if (obj1) {
2604 arg2 = (bool) SWIG_AsBool(obj1);
2605 if (PyErr_Occurred()) SWIG_fail;
2606 }
2607 {
2608 PyThreadState* __tstate = wxPyBeginAllowThreads();
2609 (arg1)->Maximize(arg2);
2610
2611 wxPyEndAllowThreads(__tstate);
2612 if (PyErr_Occurred()) SWIG_fail;
2613 }
2614 Py_INCREF(Py_None); resultobj = Py_None;
2615 return resultobj;
2616 fail:
2617 return NULL;
2618 }
2619
2620
2621 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2622 PyObject *resultobj;
2623 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2624 PyObject * obj0 = 0 ;
2625 char *kwnames[] = {
2626 (char *) "self", NULL
2627 };
2628
2629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2632 {
2633 PyThreadState* __tstate = wxPyBeginAllowThreads();
2634 (arg1)->Restore();
2635
2636 wxPyEndAllowThreads(__tstate);
2637 if (PyErr_Occurred()) SWIG_fail;
2638 }
2639 Py_INCREF(Py_None); resultobj = Py_None;
2640 return resultobj;
2641 fail:
2642 return NULL;
2643 }
2644
2645
2646 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2647 PyObject *resultobj;
2648 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2649 bool arg2 = (bool) True ;
2650 PyObject * obj0 = 0 ;
2651 PyObject * obj1 = 0 ;
2652 char *kwnames[] = {
2653 (char *) "self",(char *) "iconize", NULL
2654 };
2655
2656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2659 if (obj1) {
2660 arg2 = (bool) SWIG_AsBool(obj1);
2661 if (PyErr_Occurred()) SWIG_fail;
2662 }
2663 {
2664 PyThreadState* __tstate = wxPyBeginAllowThreads();
2665 (arg1)->Iconize(arg2);
2666
2667 wxPyEndAllowThreads(__tstate);
2668 if (PyErr_Occurred()) SWIG_fail;
2669 }
2670 Py_INCREF(Py_None); resultobj = Py_None;
2671 return resultobj;
2672 fail:
2673 return NULL;
2674 }
2675
2676
2677 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2678 PyObject *resultobj;
2679 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2680 bool result;
2681 PyObject * obj0 = 0 ;
2682 char *kwnames[] = {
2683 (char *) "self", NULL
2684 };
2685
2686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2689 {
2690 PyThreadState* __tstate = wxPyBeginAllowThreads();
2691 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2692
2693 wxPyEndAllowThreads(__tstate);
2694 if (PyErr_Occurred()) SWIG_fail;
2695 }
2696 {
2697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2698 }
2699 return resultobj;
2700 fail:
2701 return NULL;
2702 }
2703
2704
2705 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2706 PyObject *resultobj;
2707 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2708 bool result;
2709 PyObject * obj0 = 0 ;
2710 char *kwnames[] = {
2711 (char *) "self", NULL
2712 };
2713
2714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2717 {
2718 PyThreadState* __tstate = wxPyBeginAllowThreads();
2719 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2720
2721 wxPyEndAllowThreads(__tstate);
2722 if (PyErr_Occurred()) SWIG_fail;
2723 }
2724 {
2725 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2726 }
2727 return resultobj;
2728 fail:
2729 return NULL;
2730 }
2731
2732
2733 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2734 PyObject *resultobj;
2735 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2736 wxIcon result;
2737 PyObject * obj0 = 0 ;
2738 char *kwnames[] = {
2739 (char *) "self", NULL
2740 };
2741
2742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2745 {
2746 PyThreadState* __tstate = wxPyBeginAllowThreads();
2747 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2748
2749 wxPyEndAllowThreads(__tstate);
2750 if (PyErr_Occurred()) SWIG_fail;
2751 }
2752 {
2753 wxIcon * resultptr;
2754 resultptr = new wxIcon((wxIcon &) result);
2755 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
2756 }
2757 return resultobj;
2758 fail:
2759 return NULL;
2760 }
2761
2762
2763 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2764 PyObject *resultobj;
2765 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2766 wxIcon *arg2 = 0 ;
2767 PyObject * obj0 = 0 ;
2768 PyObject * obj1 = 0 ;
2769 char *kwnames[] = {
2770 (char *) "self",(char *) "icon", NULL
2771 };
2772
2773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2776 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
2777 SWIG_POINTER_EXCEPTION | 0)) == -1)
2778 SWIG_fail;
2779 if (arg2 == NULL) {
2780 PyErr_SetString(PyExc_TypeError,"null reference");
2781 SWIG_fail;
2782 }
2783 {
2784 PyThreadState* __tstate = wxPyBeginAllowThreads();
2785 (arg1)->SetIcon((wxIcon const &)*arg2);
2786
2787 wxPyEndAllowThreads(__tstate);
2788 if (PyErr_Occurred()) SWIG_fail;
2789 }
2790 Py_INCREF(Py_None); resultobj = Py_None;
2791 return resultobj;
2792 fail:
2793 return NULL;
2794 }
2795
2796
2797 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2798 PyObject *resultobj;
2799 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2800 wxIconBundle *arg2 = 0 ;
2801 PyObject * obj0 = 0 ;
2802 PyObject * obj1 = 0 ;
2803 char *kwnames[] = {
2804 (char *) "self",(char *) "icons", NULL
2805 };
2806
2807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2810 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
2811 SWIG_POINTER_EXCEPTION | 0)) == -1)
2812 SWIG_fail;
2813 if (arg2 == NULL) {
2814 PyErr_SetString(PyExc_TypeError,"null reference");
2815 SWIG_fail;
2816 }
2817 {
2818 PyThreadState* __tstate = wxPyBeginAllowThreads();
2819 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2820
2821 wxPyEndAllowThreads(__tstate);
2822 if (PyErr_Occurred()) SWIG_fail;
2823 }
2824 Py_INCREF(Py_None); resultobj = Py_None;
2825 return resultobj;
2826 fail:
2827 return NULL;
2828 }
2829
2830
2831 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2832 PyObject *resultobj;
2833 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2834 bool arg2 ;
2835 long arg3 = (long) wxFULLSCREEN_ALL ;
2836 bool result;
2837 PyObject * obj0 = 0 ;
2838 PyObject * obj1 = 0 ;
2839 PyObject * obj2 = 0 ;
2840 char *kwnames[] = {
2841 (char *) "self",(char *) "show",(char *) "style", NULL
2842 };
2843
2844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2847 arg2 = (bool) SWIG_AsBool(obj1);
2848 if (PyErr_Occurred()) SWIG_fail;
2849 if (obj2) {
2850 arg3 = (long) SWIG_AsLong(obj2);
2851 if (PyErr_Occurred()) SWIG_fail;
2852 }
2853 {
2854 PyThreadState* __tstate = wxPyBeginAllowThreads();
2855 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2856
2857 wxPyEndAllowThreads(__tstate);
2858 if (PyErr_Occurred()) SWIG_fail;
2859 }
2860 {
2861 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2862 }
2863 return resultobj;
2864 fail:
2865 return NULL;
2866 }
2867
2868
2869 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2870 PyObject *resultobj;
2871 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2872 bool result;
2873 PyObject * obj0 = 0 ;
2874 char *kwnames[] = {
2875 (char *) "self", NULL
2876 };
2877
2878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2881 {
2882 PyThreadState* __tstate = wxPyBeginAllowThreads();
2883 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2884
2885 wxPyEndAllowThreads(__tstate);
2886 if (PyErr_Occurred()) SWIG_fail;
2887 }
2888 {
2889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2890 }
2891 return resultobj;
2892 fail:
2893 return NULL;
2894 }
2895
2896
2897 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2898 PyObject *resultobj;
2899 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2900 wxString *arg2 = 0 ;
2901 bool temp2 = False ;
2902 PyObject * obj0 = 0 ;
2903 PyObject * obj1 = 0 ;
2904 char *kwnames[] = {
2905 (char *) "self",(char *) "title", NULL
2906 };
2907
2908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2911 {
2912 arg2 = wxString_in_helper(obj1);
2913 if (arg2 == NULL) SWIG_fail;
2914 temp2 = True;
2915 }
2916 {
2917 PyThreadState* __tstate = wxPyBeginAllowThreads();
2918 (arg1)->SetTitle((wxString const &)*arg2);
2919
2920 wxPyEndAllowThreads(__tstate);
2921 if (PyErr_Occurred()) SWIG_fail;
2922 }
2923 Py_INCREF(Py_None); resultobj = Py_None;
2924 {
2925 if (temp2)
2926 delete arg2;
2927 }
2928 return resultobj;
2929 fail:
2930 {
2931 if (temp2)
2932 delete arg2;
2933 }
2934 return NULL;
2935 }
2936
2937
2938 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2939 PyObject *resultobj;
2940 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2941 wxString result;
2942 PyObject * obj0 = 0 ;
2943 char *kwnames[] = {
2944 (char *) "self", NULL
2945 };
2946
2947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2950 {
2951 PyThreadState* __tstate = wxPyBeginAllowThreads();
2952 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2953
2954 wxPyEndAllowThreads(__tstate);
2955 if (PyErr_Occurred()) SWIG_fail;
2956 }
2957 {
2958 #if wxUSE_UNICODE
2959 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2960 #else
2961 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2962 #endif
2963 }
2964 return resultobj;
2965 fail:
2966 return NULL;
2967 }
2968
2969
2970 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2971 PyObject *resultobj;
2972 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2973 wxRegion *arg2 = 0 ;
2974 bool result;
2975 PyObject * obj0 = 0 ;
2976 PyObject * obj1 = 0 ;
2977 char *kwnames[] = {
2978 (char *) "self",(char *) "region", NULL
2979 };
2980
2981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2984 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
2985 SWIG_POINTER_EXCEPTION | 0)) == -1)
2986 SWIG_fail;
2987 if (arg2 == NULL) {
2988 PyErr_SetString(PyExc_TypeError,"null reference");
2989 SWIG_fail;
2990 }
2991 {
2992 PyThreadState* __tstate = wxPyBeginAllowThreads();
2993 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2994
2995 wxPyEndAllowThreads(__tstate);
2996 if (PyErr_Occurred()) SWIG_fail;
2997 }
2998 {
2999 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3000 }
3001 return resultobj;
3002 fail:
3003 return NULL;
3004 }
3005
3006
3007 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
3008 PyObject *obj;
3009 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3010 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
3011 Py_INCREF(obj);
3012 return Py_BuildValue((char *)"");
3013 }
3014 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
3015 PyObject *resultobj;
3016 wxWindow *arg1 = (wxWindow *) 0 ;
3017 int arg2 ;
3018 wxString *arg3 = 0 ;
3019 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3020 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3021 wxSize const &arg5_defvalue = wxDefaultSize ;
3022 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3023 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3024 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3025 wxString *arg7 = (wxString *) &arg7_defvalue ;
3026 wxFrame *result;
3027 bool temp3 = False ;
3028 wxPoint temp4 ;
3029 wxSize temp5 ;
3030 bool temp7 = False ;
3031 PyObject * obj0 = 0 ;
3032 PyObject * obj1 = 0 ;
3033 PyObject * obj2 = 0 ;
3034 PyObject * obj3 = 0 ;
3035 PyObject * obj4 = 0 ;
3036 PyObject * obj5 = 0 ;
3037 PyObject * obj6 = 0 ;
3038 char *kwnames[] = {
3039 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3040 };
3041
3042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3045 arg2 = (int const) SWIG_AsInt(obj1);
3046 if (PyErr_Occurred()) SWIG_fail;
3047 {
3048 arg3 = wxString_in_helper(obj2);
3049 if (arg3 == NULL) SWIG_fail;
3050 temp3 = True;
3051 }
3052 if (obj3) {
3053 {
3054 arg4 = &temp4;
3055 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3056 }
3057 }
3058 if (obj4) {
3059 {
3060 arg5 = &temp5;
3061 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3062 }
3063 }
3064 if (obj5) {
3065 arg6 = (long) SWIG_AsLong(obj5);
3066 if (PyErr_Occurred()) SWIG_fail;
3067 }
3068 if (obj6) {
3069 {
3070 arg7 = wxString_in_helper(obj6);
3071 if (arg7 == NULL) SWIG_fail;
3072 temp7 = True;
3073 }
3074 }
3075 {
3076 PyThreadState* __tstate = wxPyBeginAllowThreads();
3077 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3078
3079 wxPyEndAllowThreads(__tstate);
3080 if (PyErr_Occurred()) SWIG_fail;
3081 }
3082 {
3083 resultobj = wxPyMake_wxObject(result);
3084 }
3085 {
3086 if (temp3)
3087 delete arg3;
3088 }
3089 {
3090 if (temp7)
3091 delete arg7;
3092 }
3093 return resultobj;
3094 fail:
3095 {
3096 if (temp3)
3097 delete arg3;
3098 }
3099 {
3100 if (temp7)
3101 delete arg7;
3102 }
3103 return NULL;
3104 }
3105
3106
3107 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3108 PyObject *resultobj;
3109 wxFrame *result;
3110 char *kwnames[] = {
3111 NULL
3112 };
3113
3114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3115 {
3116 PyThreadState* __tstate = wxPyBeginAllowThreads();
3117 result = (wxFrame *)new wxFrame();
3118
3119 wxPyEndAllowThreads(__tstate);
3120 if (PyErr_Occurred()) SWIG_fail;
3121 }
3122 {
3123 resultobj = wxPyMake_wxObject(result);
3124 }
3125 return resultobj;
3126 fail:
3127 return NULL;
3128 }
3129
3130
3131 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3132 PyObject *resultobj;
3133 wxFrame *arg1 = (wxFrame *) 0 ;
3134 wxWindow *arg2 = (wxWindow *) 0 ;
3135 int arg3 ;
3136 wxString *arg4 = 0 ;
3137 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3138 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3139 wxSize const &arg6_defvalue = wxDefaultSize ;
3140 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3141 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3142 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3143 wxString *arg8 = (wxString *) &arg8_defvalue ;
3144 bool result;
3145 bool temp4 = False ;
3146 wxPoint temp5 ;
3147 wxSize temp6 ;
3148 bool temp8 = False ;
3149 PyObject * obj0 = 0 ;
3150 PyObject * obj1 = 0 ;
3151 PyObject * obj2 = 0 ;
3152 PyObject * obj3 = 0 ;
3153 PyObject * obj4 = 0 ;
3154 PyObject * obj5 = 0 ;
3155 PyObject * obj6 = 0 ;
3156 PyObject * obj7 = 0 ;
3157 char *kwnames[] = {
3158 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3159 };
3160
3161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3164 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3166 arg3 = (int const) SWIG_AsInt(obj2);
3167 if (PyErr_Occurred()) SWIG_fail;
3168 {
3169 arg4 = wxString_in_helper(obj3);
3170 if (arg4 == NULL) SWIG_fail;
3171 temp4 = True;
3172 }
3173 if (obj4) {
3174 {
3175 arg5 = &temp5;
3176 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3177 }
3178 }
3179 if (obj5) {
3180 {
3181 arg6 = &temp6;
3182 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3183 }
3184 }
3185 if (obj6) {
3186 arg7 = (long) SWIG_AsLong(obj6);
3187 if (PyErr_Occurred()) SWIG_fail;
3188 }
3189 if (obj7) {
3190 {
3191 arg8 = wxString_in_helper(obj7);
3192 if (arg8 == NULL) SWIG_fail;
3193 temp8 = True;
3194 }
3195 }
3196 {
3197 PyThreadState* __tstate = wxPyBeginAllowThreads();
3198 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3199
3200 wxPyEndAllowThreads(__tstate);
3201 if (PyErr_Occurred()) SWIG_fail;
3202 }
3203 {
3204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3205 }
3206 {
3207 if (temp4)
3208 delete arg4;
3209 }
3210 {
3211 if (temp8)
3212 delete arg8;
3213 }
3214 return resultobj;
3215 fail:
3216 {
3217 if (temp4)
3218 delete arg4;
3219 }
3220 {
3221 if (temp8)
3222 delete arg8;
3223 }
3224 return NULL;
3225 }
3226
3227
3228 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
3229 PyObject *resultobj;
3230 wxFrame *arg1 = (wxFrame *) 0 ;
3231 wxPoint result;
3232 PyObject * obj0 = 0 ;
3233 char *kwnames[] = {
3234 (char *) "self", NULL
3235 };
3236
3237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3240 {
3241 PyThreadState* __tstate = wxPyBeginAllowThreads();
3242 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3243
3244 wxPyEndAllowThreads(__tstate);
3245 if (PyErr_Occurred()) SWIG_fail;
3246 }
3247 {
3248 wxPoint * resultptr;
3249 resultptr = new wxPoint((wxPoint &) result);
3250 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3251 }
3252 return resultobj;
3253 fail:
3254 return NULL;
3255 }
3256
3257
3258 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3259 PyObject *resultobj;
3260 wxFrame *arg1 = (wxFrame *) 0 ;
3261 PyObject * obj0 = 0 ;
3262 char *kwnames[] = {
3263 (char *) "self", NULL
3264 };
3265
3266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3269 {
3270 PyThreadState* __tstate = wxPyBeginAllowThreads();
3271 (arg1)->SendSizeEvent();
3272
3273 wxPyEndAllowThreads(__tstate);
3274 if (PyErr_Occurred()) SWIG_fail;
3275 }
3276 Py_INCREF(Py_None); resultobj = Py_None;
3277 return resultobj;
3278 fail:
3279 return NULL;
3280 }
3281
3282
3283 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3284 PyObject *resultobj;
3285 wxFrame *arg1 = (wxFrame *) 0 ;
3286 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3287 PyObject * obj0 = 0 ;
3288 PyObject * obj1 = 0 ;
3289 char *kwnames[] = {
3290 (char *) "self",(char *) "menubar", NULL
3291 };
3292
3293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3296 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3298 {
3299 PyThreadState* __tstate = wxPyBeginAllowThreads();
3300 (arg1)->SetMenuBar(arg2);
3301
3302 wxPyEndAllowThreads(__tstate);
3303 if (PyErr_Occurred()) SWIG_fail;
3304 }
3305 Py_INCREF(Py_None); resultobj = Py_None;
3306 return resultobj;
3307 fail:
3308 return NULL;
3309 }
3310
3311
3312 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3313 PyObject *resultobj;
3314 wxFrame *arg1 = (wxFrame *) 0 ;
3315 wxMenuBar *result;
3316 PyObject * obj0 = 0 ;
3317 char *kwnames[] = {
3318 (char *) "self", NULL
3319 };
3320
3321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3324 {
3325 PyThreadState* __tstate = wxPyBeginAllowThreads();
3326 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3327
3328 wxPyEndAllowThreads(__tstate);
3329 if (PyErr_Occurred()) SWIG_fail;
3330 }
3331 {
3332 resultobj = wxPyMake_wxObject(result);
3333 }
3334 return resultobj;
3335 fail:
3336 return NULL;
3337 }
3338
3339
3340 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3341 PyObject *resultobj;
3342 wxFrame *arg1 = (wxFrame *) 0 ;
3343 int arg2 ;
3344 bool result;
3345 PyObject * obj0 = 0 ;
3346 PyObject * obj1 = 0 ;
3347 char *kwnames[] = {
3348 (char *) "self",(char *) "winid", NULL
3349 };
3350
3351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3354 arg2 = (int) SWIG_AsInt(obj1);
3355 if (PyErr_Occurred()) SWIG_fail;
3356 {
3357 PyThreadState* __tstate = wxPyBeginAllowThreads();
3358 result = (bool)(arg1)->ProcessCommand(arg2);
3359
3360 wxPyEndAllowThreads(__tstate);
3361 if (PyErr_Occurred()) SWIG_fail;
3362 }
3363 {
3364 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3365 }
3366 return resultobj;
3367 fail:
3368 return NULL;
3369 }
3370
3371
3372 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3373 PyObject *resultobj;
3374 wxFrame *arg1 = (wxFrame *) 0 ;
3375 int arg2 = (int) 1 ;
3376 long arg3 = (long) wxST_SIZEGRIP ;
3377 int arg4 = (int) 0 ;
3378 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3379 wxString *arg5 = (wxString *) &arg5_defvalue ;
3380 wxStatusBar *result;
3381 bool temp5 = False ;
3382 PyObject * obj0 = 0 ;
3383 PyObject * obj1 = 0 ;
3384 PyObject * obj2 = 0 ;
3385 PyObject * obj3 = 0 ;
3386 PyObject * obj4 = 0 ;
3387 char *kwnames[] = {
3388 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3389 };
3390
3391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3394 if (obj1) {
3395 arg2 = (int) SWIG_AsInt(obj1);
3396 if (PyErr_Occurred()) SWIG_fail;
3397 }
3398 if (obj2) {
3399 arg3 = (long) SWIG_AsLong(obj2);
3400 if (PyErr_Occurred()) SWIG_fail;
3401 }
3402 if (obj3) {
3403 arg4 = (int) SWIG_AsInt(obj3);
3404 if (PyErr_Occurred()) SWIG_fail;
3405 }
3406 if (obj4) {
3407 {
3408 arg5 = wxString_in_helper(obj4);
3409 if (arg5 == NULL) SWIG_fail;
3410 temp5 = True;
3411 }
3412 }
3413 {
3414 PyThreadState* __tstate = wxPyBeginAllowThreads();
3415 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3416
3417 wxPyEndAllowThreads(__tstate);
3418 if (PyErr_Occurred()) SWIG_fail;
3419 }
3420 {
3421 resultobj = wxPyMake_wxObject(result);
3422 }
3423 {
3424 if (temp5)
3425 delete arg5;
3426 }
3427 return resultobj;
3428 fail:
3429 {
3430 if (temp5)
3431 delete arg5;
3432 }
3433 return NULL;
3434 }
3435
3436
3437 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3438 PyObject *resultobj;
3439 wxFrame *arg1 = (wxFrame *) 0 ;
3440 wxStatusBar *result;
3441 PyObject * obj0 = 0 ;
3442 char *kwnames[] = {
3443 (char *) "self", NULL
3444 };
3445
3446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3449 {
3450 PyThreadState* __tstate = wxPyBeginAllowThreads();
3451 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3452
3453 wxPyEndAllowThreads(__tstate);
3454 if (PyErr_Occurred()) SWIG_fail;
3455 }
3456 {
3457 resultobj = wxPyMake_wxObject(result);
3458 }
3459 return resultobj;
3460 fail:
3461 return NULL;
3462 }
3463
3464
3465 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3466 PyObject *resultobj;
3467 wxFrame *arg1 = (wxFrame *) 0 ;
3468 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3469 PyObject * obj0 = 0 ;
3470 PyObject * obj1 = 0 ;
3471 char *kwnames[] = {
3472 (char *) "self",(char *) "statBar", NULL
3473 };
3474
3475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3478 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3480 {
3481 PyThreadState* __tstate = wxPyBeginAllowThreads();
3482 (arg1)->SetStatusBar(arg2);
3483
3484 wxPyEndAllowThreads(__tstate);
3485 if (PyErr_Occurred()) SWIG_fail;
3486 }
3487 Py_INCREF(Py_None); resultobj = Py_None;
3488 return resultobj;
3489 fail:
3490 return NULL;
3491 }
3492
3493
3494 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3495 PyObject *resultobj;
3496 wxFrame *arg1 = (wxFrame *) 0 ;
3497 wxString *arg2 = 0 ;
3498 int arg3 = (int) 0 ;
3499 bool temp2 = False ;
3500 PyObject * obj0 = 0 ;
3501 PyObject * obj1 = 0 ;
3502 PyObject * obj2 = 0 ;
3503 char *kwnames[] = {
3504 (char *) "self",(char *) "text",(char *) "number", NULL
3505 };
3506
3507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3510 {
3511 arg2 = wxString_in_helper(obj1);
3512 if (arg2 == NULL) SWIG_fail;
3513 temp2 = True;
3514 }
3515 if (obj2) {
3516 arg3 = (int) SWIG_AsInt(obj2);
3517 if (PyErr_Occurred()) SWIG_fail;
3518 }
3519 {
3520 PyThreadState* __tstate = wxPyBeginAllowThreads();
3521 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3522
3523 wxPyEndAllowThreads(__tstate);
3524 if (PyErr_Occurred()) SWIG_fail;
3525 }
3526 Py_INCREF(Py_None); resultobj = Py_None;
3527 {
3528 if (temp2)
3529 delete arg2;
3530 }
3531 return resultobj;
3532 fail:
3533 {
3534 if (temp2)
3535 delete arg2;
3536 }
3537 return NULL;
3538 }
3539
3540
3541 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3542 PyObject *resultobj;
3543 wxFrame *arg1 = (wxFrame *) 0 ;
3544 int arg2 ;
3545 int *arg3 = (int *) 0 ;
3546 PyObject * obj0 = 0 ;
3547 PyObject * obj1 = 0 ;
3548 char *kwnames[] = {
3549 (char *) "self",(char *) "widths", NULL
3550 };
3551
3552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3555 {
3556 arg2 = PyList_Size(obj1);
3557 arg3 = int_LIST_helper(obj1);
3558 if (arg3 == NULL) SWIG_fail;
3559 }
3560 {
3561 PyThreadState* __tstate = wxPyBeginAllowThreads();
3562 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3563
3564 wxPyEndAllowThreads(__tstate);
3565 if (PyErr_Occurred()) SWIG_fail;
3566 }
3567 Py_INCREF(Py_None); resultobj = Py_None;
3568 {
3569 if (arg3) delete [] arg3;
3570 }
3571 return resultobj;
3572 fail:
3573 {
3574 if (arg3) delete [] arg3;
3575 }
3576 return NULL;
3577 }
3578
3579
3580 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3581 PyObject *resultobj;
3582 wxFrame *arg1 = (wxFrame *) 0 ;
3583 wxString *arg2 = 0 ;
3584 int arg3 = (int) 0 ;
3585 bool temp2 = False ;
3586 PyObject * obj0 = 0 ;
3587 PyObject * obj1 = 0 ;
3588 PyObject * obj2 = 0 ;
3589 char *kwnames[] = {
3590 (char *) "self",(char *) "text",(char *) "number", NULL
3591 };
3592
3593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3596 {
3597 arg2 = wxString_in_helper(obj1);
3598 if (arg2 == NULL) SWIG_fail;
3599 temp2 = True;
3600 }
3601 if (obj2) {
3602 arg3 = (int) SWIG_AsInt(obj2);
3603 if (PyErr_Occurred()) SWIG_fail;
3604 }
3605 {
3606 PyThreadState* __tstate = wxPyBeginAllowThreads();
3607 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3608
3609 wxPyEndAllowThreads(__tstate);
3610 if (PyErr_Occurred()) SWIG_fail;
3611 }
3612 Py_INCREF(Py_None); resultobj = Py_None;
3613 {
3614 if (temp2)
3615 delete arg2;
3616 }
3617 return resultobj;
3618 fail:
3619 {
3620 if (temp2)
3621 delete arg2;
3622 }
3623 return NULL;
3624 }
3625
3626
3627 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3628 PyObject *resultobj;
3629 wxFrame *arg1 = (wxFrame *) 0 ;
3630 int arg2 = (int) 0 ;
3631 PyObject * obj0 = 0 ;
3632 PyObject * obj1 = 0 ;
3633 char *kwnames[] = {
3634 (char *) "self",(char *) "number", NULL
3635 };
3636
3637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3640 if (obj1) {
3641 arg2 = (int) SWIG_AsInt(obj1);
3642 if (PyErr_Occurred()) SWIG_fail;
3643 }
3644 {
3645 PyThreadState* __tstate = wxPyBeginAllowThreads();
3646 (arg1)->PopStatusText(arg2);
3647
3648 wxPyEndAllowThreads(__tstate);
3649 if (PyErr_Occurred()) SWIG_fail;
3650 }
3651 Py_INCREF(Py_None); resultobj = Py_None;
3652 return resultobj;
3653 fail:
3654 return NULL;
3655 }
3656
3657
3658 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3659 PyObject *resultobj;
3660 wxFrame *arg1 = (wxFrame *) 0 ;
3661 int arg2 ;
3662 PyObject * obj0 = 0 ;
3663 PyObject * obj1 = 0 ;
3664 char *kwnames[] = {
3665 (char *) "self",(char *) "n", NULL
3666 };
3667
3668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
3669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3671 arg2 = (int) SWIG_AsInt(obj1);
3672 if (PyErr_Occurred()) SWIG_fail;
3673 {
3674 PyThreadState* __tstate = wxPyBeginAllowThreads();
3675 (arg1)->SetStatusBarPane(arg2);
3676
3677 wxPyEndAllowThreads(__tstate);
3678 if (PyErr_Occurred()) SWIG_fail;
3679 }
3680 Py_INCREF(Py_None); resultobj = Py_None;
3681 return resultobj;
3682 fail:
3683 return NULL;
3684 }
3685
3686
3687 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3688 PyObject *resultobj;
3689 wxFrame *arg1 = (wxFrame *) 0 ;
3690 int result;
3691 PyObject * obj0 = 0 ;
3692 char *kwnames[] = {
3693 (char *) "self", NULL
3694 };
3695
3696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3699 {
3700 PyThreadState* __tstate = wxPyBeginAllowThreads();
3701 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3702
3703 wxPyEndAllowThreads(__tstate);
3704 if (PyErr_Occurred()) SWIG_fail;
3705 }
3706 resultobj = SWIG_FromInt((int)result);
3707 return resultobj;
3708 fail:
3709 return NULL;
3710 }
3711
3712
3713 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3714 PyObject *resultobj;
3715 wxFrame *arg1 = (wxFrame *) 0 ;
3716 long arg2 = (long) -1 ;
3717 int arg3 = (int) -1 ;
3718 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3719 wxString *arg4 = (wxString *) &arg4_defvalue ;
3720 wxToolBar *result;
3721 bool temp4 = False ;
3722 PyObject * obj0 = 0 ;
3723 PyObject * obj1 = 0 ;
3724 PyObject * obj2 = 0 ;
3725 PyObject * obj3 = 0 ;
3726 char *kwnames[] = {
3727 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3728 };
3729
3730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3733 if (obj1) {
3734 arg2 = (long) SWIG_AsLong(obj1);
3735 if (PyErr_Occurred()) SWIG_fail;
3736 }
3737 if (obj2) {
3738 arg3 = (int) SWIG_AsInt(obj2);
3739 if (PyErr_Occurred()) SWIG_fail;
3740 }
3741 if (obj3) {
3742 {
3743 arg4 = wxString_in_helper(obj3);
3744 if (arg4 == NULL) SWIG_fail;
3745 temp4 = True;
3746 }
3747 }
3748 {
3749 PyThreadState* __tstate = wxPyBeginAllowThreads();
3750 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3751
3752 wxPyEndAllowThreads(__tstate);
3753 if (PyErr_Occurred()) SWIG_fail;
3754 }
3755 {
3756 resultobj = wxPyMake_wxObject(result);
3757 }
3758 {
3759 if (temp4)
3760 delete arg4;
3761 }
3762 return resultobj;
3763 fail:
3764 {
3765 if (temp4)
3766 delete arg4;
3767 }
3768 return NULL;
3769 }
3770
3771
3772 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3773 PyObject *resultobj;
3774 wxFrame *arg1 = (wxFrame *) 0 ;
3775 wxToolBar *result;
3776 PyObject * obj0 = 0 ;
3777 char *kwnames[] = {
3778 (char *) "self", NULL
3779 };
3780
3781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3784 {
3785 PyThreadState* __tstate = wxPyBeginAllowThreads();
3786 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3787
3788 wxPyEndAllowThreads(__tstate);
3789 if (PyErr_Occurred()) SWIG_fail;
3790 }
3791 {
3792 resultobj = wxPyMake_wxObject(result);
3793 }
3794 return resultobj;
3795 fail:
3796 return NULL;
3797 }
3798
3799
3800 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3801 PyObject *resultobj;
3802 wxFrame *arg1 = (wxFrame *) 0 ;
3803 wxToolBar *arg2 = (wxToolBar *) 0 ;
3804 PyObject * obj0 = 0 ;
3805 PyObject * obj1 = 0 ;
3806 char *kwnames[] = {
3807 (char *) "self",(char *) "toolbar", NULL
3808 };
3809
3810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3813 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
3814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3815 {
3816 PyThreadState* __tstate = wxPyBeginAllowThreads();
3817 (arg1)->SetToolBar(arg2);
3818
3819 wxPyEndAllowThreads(__tstate);
3820 if (PyErr_Occurred()) SWIG_fail;
3821 }
3822 Py_INCREF(Py_None); resultobj = Py_None;
3823 return resultobj;
3824 fail:
3825 return NULL;
3826 }
3827
3828
3829 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3830 PyObject *resultobj;
3831 wxFrame *arg1 = (wxFrame *) 0 ;
3832 wxString *arg2 = 0 ;
3833 bool arg3 ;
3834 bool temp2 = False ;
3835 PyObject * obj0 = 0 ;
3836 PyObject * obj1 = 0 ;
3837 PyObject * obj2 = 0 ;
3838 char *kwnames[] = {
3839 (char *) "self",(char *) "text",(char *) "show", NULL
3840 };
3841
3842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3845 {
3846 arg2 = wxString_in_helper(obj1);
3847 if (arg2 == NULL) SWIG_fail;
3848 temp2 = True;
3849 }
3850 arg3 = (bool) SWIG_AsBool(obj2);
3851 if (PyErr_Occurred()) SWIG_fail;
3852 {
3853 PyThreadState* __tstate = wxPyBeginAllowThreads();
3854 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3855
3856 wxPyEndAllowThreads(__tstate);
3857 if (PyErr_Occurred()) SWIG_fail;
3858 }
3859 Py_INCREF(Py_None); resultobj = Py_None;
3860 {
3861 if (temp2)
3862 delete arg2;
3863 }
3864 return resultobj;
3865 fail:
3866 {
3867 if (temp2)
3868 delete arg2;
3869 }
3870 return NULL;
3871 }
3872
3873
3874 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3875 PyObject *resultobj;
3876 wxFrame *arg1 = (wxFrame *) 0 ;
3877 wxMenu *arg2 = (wxMenu *) NULL ;
3878 PyObject * obj0 = 0 ;
3879 PyObject * obj1 = 0 ;
3880 char *kwnames[] = {
3881 (char *) "self",(char *) "menu", NULL
3882 };
3883
3884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3887 if (obj1) {
3888 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
3889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3890 }
3891 {
3892 PyThreadState* __tstate = wxPyBeginAllowThreads();
3893 (arg1)->DoMenuUpdates(arg2);
3894
3895 wxPyEndAllowThreads(__tstate);
3896 if (PyErr_Occurred()) SWIG_fail;
3897 }
3898 Py_INCREF(Py_None); resultobj = Py_None;
3899 return resultobj;
3900 fail:
3901 return NULL;
3902 }
3903
3904
3905 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3906 PyObject *obj;
3907 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3908 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3909 Py_INCREF(obj);
3910 return Py_BuildValue((char *)"");
3911 }
3912 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3913 PyObject *resultobj;
3914 wxWindow *arg1 = (wxWindow *) 0 ;
3915 int arg2 ;
3916 wxString *arg3 = 0 ;
3917 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3918 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3919 wxSize const &arg5_defvalue = wxDefaultSize ;
3920 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3921 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3922 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3923 wxString *arg7 = (wxString *) &arg7_defvalue ;
3924 wxDialog *result;
3925 bool temp3 = False ;
3926 wxPoint temp4 ;
3927 wxSize temp5 ;
3928 bool temp7 = False ;
3929 PyObject * obj0 = 0 ;
3930 PyObject * obj1 = 0 ;
3931 PyObject * obj2 = 0 ;
3932 PyObject * obj3 = 0 ;
3933 PyObject * obj4 = 0 ;
3934 PyObject * obj5 = 0 ;
3935 PyObject * obj6 = 0 ;
3936 char *kwnames[] = {
3937 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3938 };
3939
3940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3943 arg2 = (int const) SWIG_AsInt(obj1);
3944 if (PyErr_Occurred()) SWIG_fail;
3945 {
3946 arg3 = wxString_in_helper(obj2);
3947 if (arg3 == NULL) SWIG_fail;
3948 temp3 = True;
3949 }
3950 if (obj3) {
3951 {
3952 arg4 = &temp4;
3953 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3954 }
3955 }
3956 if (obj4) {
3957 {
3958 arg5 = &temp5;
3959 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3960 }
3961 }
3962 if (obj5) {
3963 arg6 = (long) SWIG_AsLong(obj5);
3964 if (PyErr_Occurred()) SWIG_fail;
3965 }
3966 if (obj6) {
3967 {
3968 arg7 = wxString_in_helper(obj6);
3969 if (arg7 == NULL) SWIG_fail;
3970 temp7 = True;
3971 }
3972 }
3973 {
3974 PyThreadState* __tstate = wxPyBeginAllowThreads();
3975 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3976
3977 wxPyEndAllowThreads(__tstate);
3978 if (PyErr_Occurred()) SWIG_fail;
3979 }
3980 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
3981 {
3982 if (temp3)
3983 delete arg3;
3984 }
3985 {
3986 if (temp7)
3987 delete arg7;
3988 }
3989 return resultobj;
3990 fail:
3991 {
3992 if (temp3)
3993 delete arg3;
3994 }
3995 {
3996 if (temp7)
3997 delete arg7;
3998 }
3999 return NULL;
4000 }
4001
4002
4003 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4004 PyObject *resultobj;
4005 wxDialog *result;
4006 char *kwnames[] = {
4007 NULL
4008 };
4009
4010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
4011 {
4012 PyThreadState* __tstate = wxPyBeginAllowThreads();
4013 result = (wxDialog *)new wxDialog();
4014
4015 wxPyEndAllowThreads(__tstate);
4016 if (PyErr_Occurred()) SWIG_fail;
4017 }
4018 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
4019 return resultobj;
4020 fail:
4021 return NULL;
4022 }
4023
4024
4025 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4026 PyObject *resultobj;
4027 wxDialog *arg1 = (wxDialog *) 0 ;
4028 wxWindow *arg2 = (wxWindow *) 0 ;
4029 int arg3 ;
4030 wxString *arg4 = 0 ;
4031 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4032 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4033 wxSize const &arg6_defvalue = wxDefaultSize ;
4034 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4035 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
4036 wxString const &arg8_defvalue = wxPyDialogNameStr ;
4037 wxString *arg8 = (wxString *) &arg8_defvalue ;
4038 bool result;
4039 bool temp4 = False ;
4040 wxPoint temp5 ;
4041 wxSize temp6 ;
4042 bool temp8 = False ;
4043 PyObject * obj0 = 0 ;
4044 PyObject * obj1 = 0 ;
4045 PyObject * obj2 = 0 ;
4046 PyObject * obj3 = 0 ;
4047 PyObject * obj4 = 0 ;
4048 PyObject * obj5 = 0 ;
4049 PyObject * obj6 = 0 ;
4050 PyObject * obj7 = 0 ;
4051 char *kwnames[] = {
4052 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4053 };
4054
4055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4058 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4060 arg3 = (int const) SWIG_AsInt(obj2);
4061 if (PyErr_Occurred()) SWIG_fail;
4062 {
4063 arg4 = wxString_in_helper(obj3);
4064 if (arg4 == NULL) SWIG_fail;
4065 temp4 = True;
4066 }
4067 if (obj4) {
4068 {
4069 arg5 = &temp5;
4070 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4071 }
4072 }
4073 if (obj5) {
4074 {
4075 arg6 = &temp6;
4076 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4077 }
4078 }
4079 if (obj6) {
4080 arg7 = (long) SWIG_AsLong(obj6);
4081 if (PyErr_Occurred()) SWIG_fail;
4082 }
4083 if (obj7) {
4084 {
4085 arg8 = wxString_in_helper(obj7);
4086 if (arg8 == NULL) SWIG_fail;
4087 temp8 = True;
4088 }
4089 }
4090 {
4091 PyThreadState* __tstate = wxPyBeginAllowThreads();
4092 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4093
4094 wxPyEndAllowThreads(__tstate);
4095 if (PyErr_Occurred()) SWIG_fail;
4096 }
4097 {
4098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4099 }
4100 {
4101 if (temp4)
4102 delete arg4;
4103 }
4104 {
4105 if (temp8)
4106 delete arg8;
4107 }
4108 return resultobj;
4109 fail:
4110 {
4111 if (temp4)
4112 delete arg4;
4113 }
4114 {
4115 if (temp8)
4116 delete arg8;
4117 }
4118 return NULL;
4119 }
4120
4121
4122 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4123 PyObject *resultobj;
4124 wxDialog *arg1 = (wxDialog *) 0 ;
4125 int arg2 ;
4126 PyObject * obj0 = 0 ;
4127 PyObject * obj1 = 0 ;
4128 char *kwnames[] = {
4129 (char *) "self",(char *) "returnCode", NULL
4130 };
4131
4132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4135 arg2 = (int) SWIG_AsInt(obj1);
4136 if (PyErr_Occurred()) SWIG_fail;
4137 {
4138 PyThreadState* __tstate = wxPyBeginAllowThreads();
4139 (arg1)->SetReturnCode(arg2);
4140
4141 wxPyEndAllowThreads(__tstate);
4142 if (PyErr_Occurred()) SWIG_fail;
4143 }
4144 Py_INCREF(Py_None); resultobj = Py_None;
4145 return resultobj;
4146 fail:
4147 return NULL;
4148 }
4149
4150
4151 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4152 PyObject *resultobj;
4153 wxDialog *arg1 = (wxDialog *) 0 ;
4154 int result;
4155 PyObject * obj0 = 0 ;
4156 char *kwnames[] = {
4157 (char *) "self", NULL
4158 };
4159
4160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4163 {
4164 PyThreadState* __tstate = wxPyBeginAllowThreads();
4165 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4166
4167 wxPyEndAllowThreads(__tstate);
4168 if (PyErr_Occurred()) SWIG_fail;
4169 }
4170 resultobj = SWIG_FromInt((int)result);
4171 return resultobj;
4172 fail:
4173 return NULL;
4174 }
4175
4176
4177 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4178 PyObject *resultobj;
4179 wxDialog *arg1 = (wxDialog *) 0 ;
4180 wxString *arg2 = 0 ;
4181 wxSizer *result;
4182 bool temp2 = False ;
4183 PyObject * obj0 = 0 ;
4184 PyObject * obj1 = 0 ;
4185 char *kwnames[] = {
4186 (char *) "self",(char *) "message", NULL
4187 };
4188
4189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4192 {
4193 arg2 = wxString_in_helper(obj1);
4194 if (arg2 == NULL) SWIG_fail;
4195 temp2 = True;
4196 }
4197 {
4198 PyThreadState* __tstate = wxPyBeginAllowThreads();
4199 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4200
4201 wxPyEndAllowThreads(__tstate);
4202 if (PyErr_Occurred()) SWIG_fail;
4203 }
4204 {
4205 resultobj = wxPyMake_wxSizer(result);
4206 }
4207 {
4208 if (temp2)
4209 delete arg2;
4210 }
4211 return resultobj;
4212 fail:
4213 {
4214 if (temp2)
4215 delete arg2;
4216 }
4217 return NULL;
4218 }
4219
4220
4221 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4222 PyObject *resultobj;
4223 wxDialog *arg1 = (wxDialog *) 0 ;
4224 long arg2 ;
4225 wxSizer *result;
4226 PyObject * obj0 = 0 ;
4227 PyObject * obj1 = 0 ;
4228 char *kwnames[] = {
4229 (char *) "self",(char *) "flags", NULL
4230 };
4231
4232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4235 arg2 = (long) SWIG_AsLong(obj1);
4236 if (PyErr_Occurred()) SWIG_fail;
4237 {
4238 PyThreadState* __tstate = wxPyBeginAllowThreads();
4239 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4240
4241 wxPyEndAllowThreads(__tstate);
4242 if (PyErr_Occurred()) SWIG_fail;
4243 }
4244 {
4245 resultobj = wxPyMake_wxSizer(result);
4246 }
4247 return resultobj;
4248 fail:
4249 return NULL;
4250 }
4251
4252
4253 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4254 PyObject *resultobj;
4255 wxDialog *arg1 = (wxDialog *) 0 ;
4256 bool result;
4257 PyObject * obj0 = 0 ;
4258 char *kwnames[] = {
4259 (char *) "self", NULL
4260 };
4261
4262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4265 {
4266 PyThreadState* __tstate = wxPyBeginAllowThreads();
4267 result = (bool)((wxDialog const *)arg1)->IsModal();
4268
4269 wxPyEndAllowThreads(__tstate);
4270 if (PyErr_Occurred()) SWIG_fail;
4271 }
4272 {
4273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4274 }
4275 return resultobj;
4276 fail:
4277 return NULL;
4278 }
4279
4280
4281 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4282 PyObject *resultobj;
4283 wxDialog *arg1 = (wxDialog *) 0 ;
4284 int result;
4285 PyObject * obj0 = 0 ;
4286 char *kwnames[] = {
4287 (char *) "self", NULL
4288 };
4289
4290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4293 {
4294 PyThreadState* __tstate = wxPyBeginAllowThreads();
4295 result = (int)(arg1)->ShowModal();
4296
4297 wxPyEndAllowThreads(__tstate);
4298 if (PyErr_Occurred()) SWIG_fail;
4299 }
4300 resultobj = SWIG_FromInt((int)result);
4301 return resultobj;
4302 fail:
4303 return NULL;
4304 }
4305
4306
4307 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4308 PyObject *resultobj;
4309 wxDialog *arg1 = (wxDialog *) 0 ;
4310 int arg2 ;
4311 PyObject * obj0 = 0 ;
4312 PyObject * obj1 = 0 ;
4313 char *kwnames[] = {
4314 (char *) "self",(char *) "retCode", NULL
4315 };
4316
4317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4320 arg2 = (int) SWIG_AsInt(obj1);
4321 if (PyErr_Occurred()) SWIG_fail;
4322 {
4323 PyThreadState* __tstate = wxPyBeginAllowThreads();
4324 (arg1)->EndModal(arg2);
4325
4326 wxPyEndAllowThreads(__tstate);
4327 if (PyErr_Occurred()) SWIG_fail;
4328 }
4329 Py_INCREF(Py_None); resultobj = Py_None;
4330 return resultobj;
4331 fail:
4332 return NULL;
4333 }
4334
4335
4336 static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) {
4337 PyObject *resultobj;
4338 wxDialog *arg1 = (wxDialog *) 0 ;
4339 bool result;
4340 PyObject * obj0 = 0 ;
4341 char *kwnames[] = {
4342 (char *) "self", NULL
4343 };
4344
4345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
4346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4348 {
4349 PyThreadState* __tstate = wxPyBeginAllowThreads();
4350 result = (bool)wxDialog_IsModalShowing(arg1);
4351
4352 wxPyEndAllowThreads(__tstate);
4353 if (PyErr_Occurred()) SWIG_fail;
4354 }
4355 {
4356 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4357 }
4358 return resultobj;
4359 fail:
4360 return NULL;
4361 }
4362
4363
4364 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
4365 PyObject *obj;
4366 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4367 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4368 Py_INCREF(obj);
4369 return Py_BuildValue((char *)"");
4370 }
4371 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4372 PyObject *resultobj;
4373 wxWindow *arg1 = (wxWindow *) 0 ;
4374 int arg2 ;
4375 wxString *arg3 = 0 ;
4376 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4377 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4378 wxSize const &arg5_defvalue = wxDefaultSize ;
4379 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4380 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4381 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4382 wxString *arg7 = (wxString *) &arg7_defvalue ;
4383 wxMiniFrame *result;
4384 bool temp3 = False ;
4385 wxPoint temp4 ;
4386 wxSize temp5 ;
4387 bool temp7 = False ;
4388 PyObject * obj0 = 0 ;
4389 PyObject * obj1 = 0 ;
4390 PyObject * obj2 = 0 ;
4391 PyObject * obj3 = 0 ;
4392 PyObject * obj4 = 0 ;
4393 PyObject * obj5 = 0 ;
4394 PyObject * obj6 = 0 ;
4395 char *kwnames[] = {
4396 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4397 };
4398
4399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4402 arg2 = (int const) SWIG_AsInt(obj1);
4403 if (PyErr_Occurred()) SWIG_fail;
4404 {
4405 arg3 = wxString_in_helper(obj2);
4406 if (arg3 == NULL) SWIG_fail;
4407 temp3 = True;
4408 }
4409 if (obj3) {
4410 {
4411 arg4 = &temp4;
4412 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4413 }
4414 }
4415 if (obj4) {
4416 {
4417 arg5 = &temp5;
4418 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4419 }
4420 }
4421 if (obj5) {
4422 arg6 = (long) SWIG_AsLong(obj5);
4423 if (PyErr_Occurred()) SWIG_fail;
4424 }
4425 if (obj6) {
4426 {
4427 arg7 = wxString_in_helper(obj6);
4428 if (arg7 == NULL) SWIG_fail;
4429 temp7 = True;
4430 }
4431 }
4432 {
4433 PyThreadState* __tstate = wxPyBeginAllowThreads();
4434 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4435
4436 wxPyEndAllowThreads(__tstate);
4437 if (PyErr_Occurred()) SWIG_fail;
4438 }
4439 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4440 {
4441 if (temp3)
4442 delete arg3;
4443 }
4444 {
4445 if (temp7)
4446 delete arg7;
4447 }
4448 return resultobj;
4449 fail:
4450 {
4451 if (temp3)
4452 delete arg3;
4453 }
4454 {
4455 if (temp7)
4456 delete arg7;
4457 }
4458 return NULL;
4459 }
4460
4461
4462 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4463 PyObject *resultobj;
4464 wxMiniFrame *result;
4465 char *kwnames[] = {
4466 NULL
4467 };
4468
4469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4470 {
4471 PyThreadState* __tstate = wxPyBeginAllowThreads();
4472 result = (wxMiniFrame *)new wxMiniFrame();
4473
4474 wxPyEndAllowThreads(__tstate);
4475 if (PyErr_Occurred()) SWIG_fail;
4476 }
4477 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4478 return resultobj;
4479 fail:
4480 return NULL;
4481 }
4482
4483
4484 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4485 PyObject *resultobj;
4486 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4487 wxWindow *arg2 = (wxWindow *) 0 ;
4488 int arg3 ;
4489 wxString *arg4 = 0 ;
4490 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4491 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4492 wxSize const &arg6_defvalue = wxDefaultSize ;
4493 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4494 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4495 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4496 wxString *arg8 = (wxString *) &arg8_defvalue ;
4497 bool result;
4498 bool temp4 = False ;
4499 wxPoint temp5 ;
4500 wxSize temp6 ;
4501 bool temp8 = False ;
4502 PyObject * obj0 = 0 ;
4503 PyObject * obj1 = 0 ;
4504 PyObject * obj2 = 0 ;
4505 PyObject * obj3 = 0 ;
4506 PyObject * obj4 = 0 ;
4507 PyObject * obj5 = 0 ;
4508 PyObject * obj6 = 0 ;
4509 PyObject * obj7 = 0 ;
4510 char *kwnames[] = {
4511 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4512 };
4513
4514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4517 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4519 arg3 = (int const) SWIG_AsInt(obj2);
4520 if (PyErr_Occurred()) SWIG_fail;
4521 {
4522 arg4 = wxString_in_helper(obj3);
4523 if (arg4 == NULL) SWIG_fail;
4524 temp4 = True;
4525 }
4526 if (obj4) {
4527 {
4528 arg5 = &temp5;
4529 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4530 }
4531 }
4532 if (obj5) {
4533 {
4534 arg6 = &temp6;
4535 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4536 }
4537 }
4538 if (obj6) {
4539 arg7 = (long) SWIG_AsLong(obj6);
4540 if (PyErr_Occurred()) SWIG_fail;
4541 }
4542 if (obj7) {
4543 {
4544 arg8 = wxString_in_helper(obj7);
4545 if (arg8 == NULL) SWIG_fail;
4546 temp8 = True;
4547 }
4548 }
4549 {
4550 PyThreadState* __tstate = wxPyBeginAllowThreads();
4551 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4552
4553 wxPyEndAllowThreads(__tstate);
4554 if (PyErr_Occurred()) SWIG_fail;
4555 }
4556 {
4557 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4558 }
4559 {
4560 if (temp4)
4561 delete arg4;
4562 }
4563 {
4564 if (temp8)
4565 delete arg8;
4566 }
4567 return resultobj;
4568 fail:
4569 {
4570 if (temp4)
4571 delete arg4;
4572 }
4573 {
4574 if (temp8)
4575 delete arg8;
4576 }
4577 return NULL;
4578 }
4579
4580
4581 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4582 PyObject *obj;
4583 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4584 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4585 Py_INCREF(obj);
4586 return Py_BuildValue((char *)"");
4587 }
4588 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4589 PyObject *resultobj;
4590 wxBitmap *arg1 = 0 ;
4591 wxWindow *arg2 = (wxWindow *) 0 ;
4592 int arg3 ;
4593 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4594 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4595 wxSize const &arg5_defvalue = wxDefaultSize ;
4596 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4597 long arg6 = (long) wxNO_BORDER ;
4598 wxSplashScreenWindow *result;
4599 wxPoint temp4 ;
4600 wxSize temp5 ;
4601 PyObject * obj0 = 0 ;
4602 PyObject * obj1 = 0 ;
4603 PyObject * obj2 = 0 ;
4604 PyObject * obj3 = 0 ;
4605 PyObject * obj4 = 0 ;
4606 PyObject * obj5 = 0 ;
4607 char *kwnames[] = {
4608 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4609 };
4610
4611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4613 SWIG_POINTER_EXCEPTION | 0)) == -1)
4614 SWIG_fail;
4615 if (arg1 == NULL) {
4616 PyErr_SetString(PyExc_TypeError,"null reference");
4617 SWIG_fail;
4618 }
4619 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4621 arg3 = (int) SWIG_AsInt(obj2);
4622 if (PyErr_Occurred()) SWIG_fail;
4623 if (obj3) {
4624 {
4625 arg4 = &temp4;
4626 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4627 }
4628 }
4629 if (obj4) {
4630 {
4631 arg5 = &temp5;
4632 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4633 }
4634 }
4635 if (obj5) {
4636 arg6 = (long) SWIG_AsLong(obj5);
4637 if (PyErr_Occurred()) SWIG_fail;
4638 }
4639 {
4640 PyThreadState* __tstate = wxPyBeginAllowThreads();
4641 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4642
4643 wxPyEndAllowThreads(__tstate);
4644 if (PyErr_Occurred()) SWIG_fail;
4645 }
4646 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
4647 return resultobj;
4648 fail:
4649 return NULL;
4650 }
4651
4652
4653 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4654 PyObject *resultobj;
4655 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4656 wxBitmap *arg2 = 0 ;
4657 PyObject * obj0 = 0 ;
4658 PyObject * obj1 = 0 ;
4659 char *kwnames[] = {
4660 (char *) "self",(char *) "bitmap", NULL
4661 };
4662
4663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4666 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4667 SWIG_POINTER_EXCEPTION | 0)) == -1)
4668 SWIG_fail;
4669 if (arg2 == NULL) {
4670 PyErr_SetString(PyExc_TypeError,"null reference");
4671 SWIG_fail;
4672 }
4673 {
4674 PyThreadState* __tstate = wxPyBeginAllowThreads();
4675 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4676
4677 wxPyEndAllowThreads(__tstate);
4678 if (PyErr_Occurred()) SWIG_fail;
4679 }
4680 Py_INCREF(Py_None); resultobj = Py_None;
4681 return resultobj;
4682 fail:
4683 return NULL;
4684 }
4685
4686
4687 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4688 PyObject *resultobj;
4689 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4690 wxBitmap *result;
4691 PyObject * obj0 = 0 ;
4692 char *kwnames[] = {
4693 (char *) "self", NULL
4694 };
4695
4696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4699 {
4700 PyThreadState* __tstate = wxPyBeginAllowThreads();
4701 {
4702 wxBitmap &_result_ref = (arg1)->GetBitmap();
4703 result = (wxBitmap *) &_result_ref;
4704 }
4705
4706 wxPyEndAllowThreads(__tstate);
4707 if (PyErr_Occurred()) SWIG_fail;
4708 }
4709 {
4710 wxBitmap* resultptr = new wxBitmap(*result);
4711 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
4712 }
4713 return resultobj;
4714 fail:
4715 return NULL;
4716 }
4717
4718
4719 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4720 PyObject *obj;
4721 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4722 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4723 Py_INCREF(obj);
4724 return Py_BuildValue((char *)"");
4725 }
4726 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4727 PyObject *resultobj;
4728 wxBitmap *arg1 = 0 ;
4729 long arg2 ;
4730 int arg3 ;
4731 wxWindow *arg4 = (wxWindow *) 0 ;
4732 int arg5 ;
4733 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4734 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4735 wxSize const &arg7_defvalue = wxDefaultSize ;
4736 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4737 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4738 wxSplashScreen *result;
4739 wxPoint temp6 ;
4740 wxSize temp7 ;
4741 PyObject * obj0 = 0 ;
4742 PyObject * obj1 = 0 ;
4743 PyObject * obj2 = 0 ;
4744 PyObject * obj3 = 0 ;
4745 PyObject * obj4 = 0 ;
4746 PyObject * obj5 = 0 ;
4747 PyObject * obj6 = 0 ;
4748 PyObject * obj7 = 0 ;
4749 char *kwnames[] = {
4750 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4751 };
4752
4753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4755 SWIG_POINTER_EXCEPTION | 0)) == -1)
4756 SWIG_fail;
4757 if (arg1 == NULL) {
4758 PyErr_SetString(PyExc_TypeError,"null reference");
4759 SWIG_fail;
4760 }
4761 arg2 = (long) SWIG_AsLong(obj1);
4762 if (PyErr_Occurred()) SWIG_fail;
4763 arg3 = (int) SWIG_AsInt(obj2);
4764 if (PyErr_Occurred()) SWIG_fail;
4765 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
4766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4767 arg5 = (int) SWIG_AsInt(obj4);
4768 if (PyErr_Occurred()) SWIG_fail;
4769 if (obj5) {
4770 {
4771 arg6 = &temp6;
4772 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4773 }
4774 }
4775 if (obj6) {
4776 {
4777 arg7 = &temp7;
4778 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4779 }
4780 }
4781 if (obj7) {
4782 arg8 = (long) SWIG_AsLong(obj7);
4783 if (PyErr_Occurred()) SWIG_fail;
4784 }
4785 {
4786 PyThreadState* __tstate = wxPyBeginAllowThreads();
4787 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4788
4789 wxPyEndAllowThreads(__tstate);
4790 if (PyErr_Occurred()) SWIG_fail;
4791 }
4792 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
4793 return resultobj;
4794 fail:
4795 return NULL;
4796 }
4797
4798
4799 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4800 PyObject *resultobj;
4801 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4802 long result;
4803 PyObject * obj0 = 0 ;
4804 char *kwnames[] = {
4805 (char *) "self", NULL
4806 };
4807
4808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4811 {
4812 PyThreadState* __tstate = wxPyBeginAllowThreads();
4813 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4814
4815 wxPyEndAllowThreads(__tstate);
4816 if (PyErr_Occurred()) SWIG_fail;
4817 }
4818 resultobj = SWIG_FromLong((long)result);
4819 return resultobj;
4820 fail:
4821 return NULL;
4822 }
4823
4824
4825 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4826 PyObject *resultobj;
4827 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4828 wxSplashScreenWindow *result;
4829 PyObject * obj0 = 0 ;
4830 char *kwnames[] = {
4831 (char *) "self", NULL
4832 };
4833
4834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4837 {
4838 PyThreadState* __tstate = wxPyBeginAllowThreads();
4839 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4840
4841 wxPyEndAllowThreads(__tstate);
4842 if (PyErr_Occurred()) SWIG_fail;
4843 }
4844 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
4845 return resultobj;
4846 fail:
4847 return NULL;
4848 }
4849
4850
4851 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4852 PyObject *resultobj;
4853 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4854 int result;
4855 PyObject * obj0 = 0 ;
4856 char *kwnames[] = {
4857 (char *) "self", NULL
4858 };
4859
4860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4863 {
4864 PyThreadState* __tstate = wxPyBeginAllowThreads();
4865 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4866
4867 wxPyEndAllowThreads(__tstate);
4868 if (PyErr_Occurred()) SWIG_fail;
4869 }
4870 resultobj = SWIG_FromInt((int)result);
4871 return resultobj;
4872 fail:
4873 return NULL;
4874 }
4875
4876
4877 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4878 PyObject *obj;
4879 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4880 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4881 Py_INCREF(obj);
4882 return Py_BuildValue((char *)"");
4883 }
4884 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4885 PyObject *resultobj;
4886 wxWindow *arg1 = (wxWindow *) 0 ;
4887 int arg2 = (int) -1 ;
4888 long arg3 = (long) wxST_SIZEGRIP ;
4889 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4890 wxString *arg4 = (wxString *) &arg4_defvalue ;
4891 wxStatusBar *result;
4892 bool temp4 = False ;
4893 PyObject * obj0 = 0 ;
4894 PyObject * obj1 = 0 ;
4895 PyObject * obj2 = 0 ;
4896 PyObject * obj3 = 0 ;
4897 char *kwnames[] = {
4898 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4899 };
4900
4901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4904 if (obj1) {
4905 arg2 = (int) SWIG_AsInt(obj1);
4906 if (PyErr_Occurred()) SWIG_fail;
4907 }
4908 if (obj2) {
4909 arg3 = (long) SWIG_AsLong(obj2);
4910 if (PyErr_Occurred()) SWIG_fail;
4911 }
4912 if (obj3) {
4913 {
4914 arg4 = wxString_in_helper(obj3);
4915 if (arg4 == NULL) SWIG_fail;
4916 temp4 = True;
4917 }
4918 }
4919 {
4920 PyThreadState* __tstate = wxPyBeginAllowThreads();
4921 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4922
4923 wxPyEndAllowThreads(__tstate);
4924 if (PyErr_Occurred()) SWIG_fail;
4925 }
4926 {
4927 resultobj = wxPyMake_wxObject(result);
4928 }
4929 {
4930 if (temp4)
4931 delete arg4;
4932 }
4933 return resultobj;
4934 fail:
4935 {
4936 if (temp4)
4937 delete arg4;
4938 }
4939 return NULL;
4940 }
4941
4942
4943 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4944 PyObject *resultobj;
4945 wxStatusBar *result;
4946 char *kwnames[] = {
4947 NULL
4948 };
4949
4950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4951 {
4952 PyThreadState* __tstate = wxPyBeginAllowThreads();
4953 result = (wxStatusBar *)new wxStatusBar();
4954
4955 wxPyEndAllowThreads(__tstate);
4956 if (PyErr_Occurred()) SWIG_fail;
4957 }
4958 {
4959 resultobj = wxPyMake_wxObject(result);
4960 }
4961 return resultobj;
4962 fail:
4963 return NULL;
4964 }
4965
4966
4967 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4968 PyObject *resultobj;
4969 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4970 wxWindow *arg2 = (wxWindow *) 0 ;
4971 int arg3 ;
4972 long arg4 = (long) wxST_SIZEGRIP ;
4973 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4974 wxString *arg5 = (wxString *) &arg5_defvalue ;
4975 bool result;
4976 bool temp5 = False ;
4977 PyObject * obj0 = 0 ;
4978 PyObject * obj1 = 0 ;
4979 PyObject * obj2 = 0 ;
4980 PyObject * obj3 = 0 ;
4981 PyObject * obj4 = 0 ;
4982 char *kwnames[] = {
4983 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4984 };
4985
4986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4989 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4991 arg3 = (int) SWIG_AsInt(obj2);
4992 if (PyErr_Occurred()) SWIG_fail;
4993 if (obj3) {
4994 arg4 = (long) SWIG_AsLong(obj3);
4995 if (PyErr_Occurred()) SWIG_fail;
4996 }
4997 if (obj4) {
4998 {
4999 arg5 = wxString_in_helper(obj4);
5000 if (arg5 == NULL) SWIG_fail;
5001 temp5 = True;
5002 }
5003 }
5004 {
5005 PyThreadState* __tstate = wxPyBeginAllowThreads();
5006 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
5007
5008 wxPyEndAllowThreads(__tstate);
5009 if (PyErr_Occurred()) SWIG_fail;
5010 }
5011 {
5012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5013 }
5014 {
5015 if (temp5)
5016 delete arg5;
5017 }
5018 return resultobj;
5019 fail:
5020 {
5021 if (temp5)
5022 delete arg5;
5023 }
5024 return NULL;
5025 }
5026
5027
5028 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5029 PyObject *resultobj;
5030 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5031 int arg2 = (int) 1 ;
5032 PyObject * obj0 = 0 ;
5033 PyObject * obj1 = 0 ;
5034 char *kwnames[] = {
5035 (char *) "self",(char *) "number", NULL
5036 };
5037
5038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
5039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5041 if (obj1) {
5042 arg2 = (int) SWIG_AsInt(obj1);
5043 if (PyErr_Occurred()) SWIG_fail;
5044 }
5045 {
5046 PyThreadState* __tstate = wxPyBeginAllowThreads();
5047 (arg1)->SetFieldsCount(arg2);
5048
5049 wxPyEndAllowThreads(__tstate);
5050 if (PyErr_Occurred()) SWIG_fail;
5051 }
5052 Py_INCREF(Py_None); resultobj = Py_None;
5053 return resultobj;
5054 fail:
5055 return NULL;
5056 }
5057
5058
5059 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5060 PyObject *resultobj;
5061 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5062 int result;
5063 PyObject * obj0 = 0 ;
5064 char *kwnames[] = {
5065 (char *) "self", NULL
5066 };
5067
5068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
5069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5071 {
5072 PyThreadState* __tstate = wxPyBeginAllowThreads();
5073 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5074
5075 wxPyEndAllowThreads(__tstate);
5076 if (PyErr_Occurred()) SWIG_fail;
5077 }
5078 resultobj = SWIG_FromInt((int)result);
5079 return resultobj;
5080 fail:
5081 return NULL;
5082 }
5083
5084
5085 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5086 PyObject *resultobj;
5087 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5088 wxString *arg2 = 0 ;
5089 int arg3 = (int) 0 ;
5090 bool temp2 = False ;
5091 PyObject * obj0 = 0 ;
5092 PyObject * obj1 = 0 ;
5093 PyObject * obj2 = 0 ;
5094 char *kwnames[] = {
5095 (char *) "self",(char *) "text",(char *) "number", NULL
5096 };
5097
5098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5101 {
5102 arg2 = wxString_in_helper(obj1);
5103 if (arg2 == NULL) SWIG_fail;
5104 temp2 = True;
5105 }
5106 if (obj2) {
5107 arg3 = (int) SWIG_AsInt(obj2);
5108 if (PyErr_Occurred()) SWIG_fail;
5109 }
5110 {
5111 PyThreadState* __tstate = wxPyBeginAllowThreads();
5112 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5113
5114 wxPyEndAllowThreads(__tstate);
5115 if (PyErr_Occurred()) SWIG_fail;
5116 }
5117 Py_INCREF(Py_None); resultobj = Py_None;
5118 {
5119 if (temp2)
5120 delete arg2;
5121 }
5122 return resultobj;
5123 fail:
5124 {
5125 if (temp2)
5126 delete arg2;
5127 }
5128 return NULL;
5129 }
5130
5131
5132 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5133 PyObject *resultobj;
5134 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5135 int arg2 = (int) 0 ;
5136 wxString result;
5137 PyObject * obj0 = 0 ;
5138 PyObject * obj1 = 0 ;
5139 char *kwnames[] = {
5140 (char *) "self",(char *) "number", NULL
5141 };
5142
5143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5146 if (obj1) {
5147 arg2 = (int) SWIG_AsInt(obj1);
5148 if (PyErr_Occurred()) SWIG_fail;
5149 }
5150 {
5151 PyThreadState* __tstate = wxPyBeginAllowThreads();
5152 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5153
5154 wxPyEndAllowThreads(__tstate);
5155 if (PyErr_Occurred()) SWIG_fail;
5156 }
5157 {
5158 #if wxUSE_UNICODE
5159 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5160 #else
5161 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5162 #endif
5163 }
5164 return resultobj;
5165 fail:
5166 return NULL;
5167 }
5168
5169
5170 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5171 PyObject *resultobj;
5172 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5173 wxString *arg2 = 0 ;
5174 int arg3 = (int) 0 ;
5175 bool temp2 = False ;
5176 PyObject * obj0 = 0 ;
5177 PyObject * obj1 = 0 ;
5178 PyObject * obj2 = 0 ;
5179 char *kwnames[] = {
5180 (char *) "self",(char *) "text",(char *) "number", NULL
5181 };
5182
5183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5186 {
5187 arg2 = wxString_in_helper(obj1);
5188 if (arg2 == NULL) SWIG_fail;
5189 temp2 = True;
5190 }
5191 if (obj2) {
5192 arg3 = (int) SWIG_AsInt(obj2);
5193 if (PyErr_Occurred()) SWIG_fail;
5194 }
5195 {
5196 PyThreadState* __tstate = wxPyBeginAllowThreads();
5197 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5198
5199 wxPyEndAllowThreads(__tstate);
5200 if (PyErr_Occurred()) SWIG_fail;
5201 }
5202 Py_INCREF(Py_None); resultobj = Py_None;
5203 {
5204 if (temp2)
5205 delete arg2;
5206 }
5207 return resultobj;
5208 fail:
5209 {
5210 if (temp2)
5211 delete arg2;
5212 }
5213 return NULL;
5214 }
5215
5216
5217 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5218 PyObject *resultobj;
5219 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5220 int arg2 = (int) 0 ;
5221 PyObject * obj0 = 0 ;
5222 PyObject * obj1 = 0 ;
5223 char *kwnames[] = {
5224 (char *) "self",(char *) "number", NULL
5225 };
5226
5227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5230 if (obj1) {
5231 arg2 = (int) SWIG_AsInt(obj1);
5232 if (PyErr_Occurred()) SWIG_fail;
5233 }
5234 {
5235 PyThreadState* __tstate = wxPyBeginAllowThreads();
5236 (arg1)->PopStatusText(arg2);
5237
5238 wxPyEndAllowThreads(__tstate);
5239 if (PyErr_Occurred()) SWIG_fail;
5240 }
5241 Py_INCREF(Py_None); resultobj = Py_None;
5242 return resultobj;
5243 fail:
5244 return NULL;
5245 }
5246
5247
5248 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
5249 PyObject *resultobj;
5250 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5251 int arg2 ;
5252 int *arg3 = (int *) 0 ;
5253 PyObject * obj0 = 0 ;
5254 PyObject * obj1 = 0 ;
5255 char *kwnames[] = {
5256 (char *) "self",(char *) "widths", NULL
5257 };
5258
5259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5262 {
5263 arg2 = PyList_Size(obj1);
5264 arg3 = int_LIST_helper(obj1);
5265 if (arg3 == NULL) SWIG_fail;
5266 }
5267 {
5268 PyThreadState* __tstate = wxPyBeginAllowThreads();
5269 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5270
5271 wxPyEndAllowThreads(__tstate);
5272 if (PyErr_Occurred()) SWIG_fail;
5273 }
5274 Py_INCREF(Py_None); resultobj = Py_None;
5275 {
5276 if (arg3) delete [] arg3;
5277 }
5278 return resultobj;
5279 fail:
5280 {
5281 if (arg3) delete [] arg3;
5282 }
5283 return NULL;
5284 }
5285
5286
5287 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5288 PyObject *resultobj;
5289 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5290 int arg2 ;
5291 wxRect result;
5292 PyObject * obj0 = 0 ;
5293 PyObject * obj1 = 0 ;
5294 char *kwnames[] = {
5295 (char *) "self",(char *) "i", NULL
5296 };
5297
5298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5301 arg2 = (int) SWIG_AsInt(obj1);
5302 if (PyErr_Occurred()) SWIG_fail;
5303 {
5304 PyThreadState* __tstate = wxPyBeginAllowThreads();
5305 result = wxStatusBar_GetFieldRect(arg1,arg2);
5306
5307 wxPyEndAllowThreads(__tstate);
5308 if (PyErr_Occurred()) SWIG_fail;
5309 }
5310 {
5311 wxRect * resultptr;
5312 resultptr = new wxRect((wxRect &) result);
5313 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5314 }
5315 return resultobj;
5316 fail:
5317 return NULL;
5318 }
5319
5320
5321 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5322 PyObject *resultobj;
5323 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5324 int arg2 ;
5325 PyObject * obj0 = 0 ;
5326 PyObject * obj1 = 0 ;
5327 char *kwnames[] = {
5328 (char *) "self",(char *) "height", NULL
5329 };
5330
5331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5334 arg2 = (int) SWIG_AsInt(obj1);
5335 if (PyErr_Occurred()) SWIG_fail;
5336 {
5337 PyThreadState* __tstate = wxPyBeginAllowThreads();
5338 (arg1)->SetMinHeight(arg2);
5339
5340 wxPyEndAllowThreads(__tstate);
5341 if (PyErr_Occurred()) SWIG_fail;
5342 }
5343 Py_INCREF(Py_None); resultobj = Py_None;
5344 return resultobj;
5345 fail:
5346 return NULL;
5347 }
5348
5349
5350 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
5351 PyObject *resultobj;
5352 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5353 int result;
5354 PyObject * obj0 = 0 ;
5355 char *kwnames[] = {
5356 (char *) "self", NULL
5357 };
5358
5359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5362 {
5363 PyThreadState* __tstate = wxPyBeginAllowThreads();
5364 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5365
5366 wxPyEndAllowThreads(__tstate);
5367 if (PyErr_Occurred()) SWIG_fail;
5368 }
5369 resultobj = SWIG_FromInt((int)result);
5370 return resultobj;
5371 fail:
5372 return NULL;
5373 }
5374
5375
5376 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
5377 PyObject *resultobj;
5378 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5379 int result;
5380 PyObject * obj0 = 0 ;
5381 char *kwnames[] = {
5382 (char *) "self", NULL
5383 };
5384
5385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5388 {
5389 PyThreadState* __tstate = wxPyBeginAllowThreads();
5390 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5391
5392 wxPyEndAllowThreads(__tstate);
5393 if (PyErr_Occurred()) SWIG_fail;
5394 }
5395 resultobj = SWIG_FromInt((int)result);
5396 return resultobj;
5397 fail:
5398 return NULL;
5399 }
5400
5401
5402 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
5403 PyObject *obj;
5404 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5405 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5406 Py_INCREF(obj);
5407 return Py_BuildValue((char *)"");
5408 }
5409 static int _wrap_SplitterNameStr_set(PyObject *_val) {
5410 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5411 return 1;
5412 }
5413
5414
5415 static PyObject *_wrap_SplitterNameStr_get() {
5416 PyObject *pyobj;
5417
5418 {
5419 #if wxUSE_UNICODE
5420 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5421 #else
5422 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5423 #endif
5424 }
5425 return pyobj;
5426 }
5427
5428
5429 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5430 PyObject *resultobj;
5431 wxWindow *arg1 = (wxWindow *) 0 ;
5432 int arg2 = (int) -1 ;
5433 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5434 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5435 wxSize const &arg4_defvalue = wxDefaultSize ;
5436 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5437 long arg5 = (long) wxSP_3D ;
5438 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5439 wxString *arg6 = (wxString *) &arg6_defvalue ;
5440 wxSplitterWindow *result;
5441 wxPoint temp3 ;
5442 wxSize temp4 ;
5443 bool temp6 = False ;
5444 PyObject * obj0 = 0 ;
5445 PyObject * obj1 = 0 ;
5446 PyObject * obj2 = 0 ;
5447 PyObject * obj3 = 0 ;
5448 PyObject * obj4 = 0 ;
5449 PyObject * obj5 = 0 ;
5450 char *kwnames[] = {
5451 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5452 };
5453
5454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5457 if (obj1) {
5458 arg2 = (int) SWIG_AsInt(obj1);
5459 if (PyErr_Occurred()) SWIG_fail;
5460 }
5461 if (obj2) {
5462 {
5463 arg3 = &temp3;
5464 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5465 }
5466 }
5467 if (obj3) {
5468 {
5469 arg4 = &temp4;
5470 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5471 }
5472 }
5473 if (obj4) {
5474 arg5 = (long) SWIG_AsLong(obj4);
5475 if (PyErr_Occurred()) SWIG_fail;
5476 }
5477 if (obj5) {
5478 {
5479 arg6 = wxString_in_helper(obj5);
5480 if (arg6 == NULL) SWIG_fail;
5481 temp6 = True;
5482 }
5483 }
5484 {
5485 PyThreadState* __tstate = wxPyBeginAllowThreads();
5486 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5487
5488 wxPyEndAllowThreads(__tstate);
5489 if (PyErr_Occurred()) SWIG_fail;
5490 }
5491 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5492 {
5493 if (temp6)
5494 delete arg6;
5495 }
5496 return resultobj;
5497 fail:
5498 {
5499 if (temp6)
5500 delete arg6;
5501 }
5502 return NULL;
5503 }
5504
5505
5506 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5507 PyObject *resultobj;
5508 wxSplitterWindow *result;
5509 char *kwnames[] = {
5510 NULL
5511 };
5512
5513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5514 {
5515 PyThreadState* __tstate = wxPyBeginAllowThreads();
5516 result = (wxSplitterWindow *)new wxSplitterWindow();
5517
5518 wxPyEndAllowThreads(__tstate);
5519 if (PyErr_Occurred()) SWIG_fail;
5520 }
5521 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5522 return resultobj;
5523 fail:
5524 return NULL;
5525 }
5526
5527
5528 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5529 PyObject *resultobj;
5530 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5531 wxWindow *arg2 = (wxWindow *) 0 ;
5532 int arg3 = (int) -1 ;
5533 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5534 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5535 wxSize const &arg5_defvalue = wxDefaultSize ;
5536 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5537 long arg6 = (long) wxSP_3D ;
5538 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5539 wxString *arg7 = (wxString *) &arg7_defvalue ;
5540 bool result;
5541 wxPoint temp4 ;
5542 wxSize temp5 ;
5543 bool temp7 = False ;
5544 PyObject * obj0 = 0 ;
5545 PyObject * obj1 = 0 ;
5546 PyObject * obj2 = 0 ;
5547 PyObject * obj3 = 0 ;
5548 PyObject * obj4 = 0 ;
5549 PyObject * obj5 = 0 ;
5550 PyObject * obj6 = 0 ;
5551 char *kwnames[] = {
5552 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5553 };
5554
5555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5558 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5560 if (obj2) {
5561 arg3 = (int) SWIG_AsInt(obj2);
5562 if (PyErr_Occurred()) SWIG_fail;
5563 }
5564 if (obj3) {
5565 {
5566 arg4 = &temp4;
5567 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5568 }
5569 }
5570 if (obj4) {
5571 {
5572 arg5 = &temp5;
5573 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5574 }
5575 }
5576 if (obj5) {
5577 arg6 = (long) SWIG_AsLong(obj5);
5578 if (PyErr_Occurred()) SWIG_fail;
5579 }
5580 if (obj6) {
5581 {
5582 arg7 = wxString_in_helper(obj6);
5583 if (arg7 == NULL) SWIG_fail;
5584 temp7 = True;
5585 }
5586 }
5587 {
5588 PyThreadState* __tstate = wxPyBeginAllowThreads();
5589 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5590
5591 wxPyEndAllowThreads(__tstate);
5592 if (PyErr_Occurred()) SWIG_fail;
5593 }
5594 {
5595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5596 }
5597 {
5598 if (temp7)
5599 delete arg7;
5600 }
5601 return resultobj;
5602 fail:
5603 {
5604 if (temp7)
5605 delete arg7;
5606 }
5607 return NULL;
5608 }
5609
5610
5611 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5612 PyObject *resultobj;
5613 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5614 wxWindow *result;
5615 PyObject * obj0 = 0 ;
5616 char *kwnames[] = {
5617 (char *) "self", NULL
5618 };
5619
5620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5623 {
5624 PyThreadState* __tstate = wxPyBeginAllowThreads();
5625 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5626
5627 wxPyEndAllowThreads(__tstate);
5628 if (PyErr_Occurred()) SWIG_fail;
5629 }
5630 {
5631 resultobj = wxPyMake_wxObject(result);
5632 }
5633 return resultobj;
5634 fail:
5635 return NULL;
5636 }
5637
5638
5639 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5640 PyObject *resultobj;
5641 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5642 wxWindow *result;
5643 PyObject * obj0 = 0 ;
5644 char *kwnames[] = {
5645 (char *) "self", NULL
5646 };
5647
5648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5651 {
5652 PyThreadState* __tstate = wxPyBeginAllowThreads();
5653 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5654
5655 wxPyEndAllowThreads(__tstate);
5656 if (PyErr_Occurred()) SWIG_fail;
5657 }
5658 {
5659 resultobj = wxPyMake_wxObject(result);
5660 }
5661 return resultobj;
5662 fail:
5663 return NULL;
5664 }
5665
5666
5667 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5668 PyObject *resultobj;
5669 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5670 int arg2 ;
5671 PyObject * obj0 = 0 ;
5672 PyObject * obj1 = 0 ;
5673 char *kwnames[] = {
5674 (char *) "self",(char *) "mode", NULL
5675 };
5676
5677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
5678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5680 arg2 = (int) SWIG_AsInt(obj1);
5681 if (PyErr_Occurred()) SWIG_fail;
5682 {
5683 PyThreadState* __tstate = wxPyBeginAllowThreads();
5684 (arg1)->SetSplitMode(arg2);
5685
5686 wxPyEndAllowThreads(__tstate);
5687 if (PyErr_Occurred()) SWIG_fail;
5688 }
5689 Py_INCREF(Py_None); resultobj = Py_None;
5690 return resultobj;
5691 fail:
5692 return NULL;
5693 }
5694
5695
5696 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5697 PyObject *resultobj;
5698 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5699 int result;
5700 PyObject * obj0 = 0 ;
5701 char *kwnames[] = {
5702 (char *) "self", NULL
5703 };
5704
5705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5708 {
5709 PyThreadState* __tstate = wxPyBeginAllowThreads();
5710 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5711
5712 wxPyEndAllowThreads(__tstate);
5713 if (PyErr_Occurred()) SWIG_fail;
5714 }
5715 resultobj = SWIG_FromInt((int)result);
5716 return resultobj;
5717 fail:
5718 return NULL;
5719 }
5720
5721
5722 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5723 PyObject *resultobj;
5724 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5725 wxWindow *arg2 = (wxWindow *) 0 ;
5726 PyObject * obj0 = 0 ;
5727 PyObject * obj1 = 0 ;
5728 char *kwnames[] = {
5729 (char *) "self",(char *) "window", NULL
5730 };
5731
5732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5735 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5737 {
5738 PyThreadState* __tstate = wxPyBeginAllowThreads();
5739 (arg1)->Initialize(arg2);
5740
5741 wxPyEndAllowThreads(__tstate);
5742 if (PyErr_Occurred()) SWIG_fail;
5743 }
5744 Py_INCREF(Py_None); resultobj = Py_None;
5745 return resultobj;
5746 fail:
5747 return NULL;
5748 }
5749
5750
5751 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
5752 PyObject *resultobj;
5753 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5754 wxWindow *arg2 = (wxWindow *) 0 ;
5755 wxWindow *arg3 = (wxWindow *) 0 ;
5756 int arg4 = (int) 0 ;
5757 bool result;
5758 PyObject * obj0 = 0 ;
5759 PyObject * obj1 = 0 ;
5760 PyObject * obj2 = 0 ;
5761 PyObject * obj3 = 0 ;
5762 char *kwnames[] = {
5763 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5764 };
5765
5766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5769 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5771 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5773 if (obj3) {
5774 arg4 = (int) SWIG_AsInt(obj3);
5775 if (PyErr_Occurred()) SWIG_fail;
5776 }
5777 {
5778 PyThreadState* __tstate = wxPyBeginAllowThreads();
5779 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5780
5781 wxPyEndAllowThreads(__tstate);
5782 if (PyErr_Occurred()) SWIG_fail;
5783 }
5784 {
5785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5786 }
5787 return resultobj;
5788 fail:
5789 return NULL;
5790 }
5791
5792
5793 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5794 PyObject *resultobj;
5795 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5796 wxWindow *arg2 = (wxWindow *) 0 ;
5797 wxWindow *arg3 = (wxWindow *) 0 ;
5798 int arg4 = (int) 0 ;
5799 bool result;
5800 PyObject * obj0 = 0 ;
5801 PyObject * obj1 = 0 ;
5802 PyObject * obj2 = 0 ;
5803 PyObject * obj3 = 0 ;
5804 char *kwnames[] = {
5805 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5806 };
5807
5808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5811 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5813 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5815 if (obj3) {
5816 arg4 = (int) SWIG_AsInt(obj3);
5817 if (PyErr_Occurred()) SWIG_fail;
5818 }
5819 {
5820 PyThreadState* __tstate = wxPyBeginAllowThreads();
5821 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5822
5823 wxPyEndAllowThreads(__tstate);
5824 if (PyErr_Occurred()) SWIG_fail;
5825 }
5826 {
5827 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5828 }
5829 return resultobj;
5830 fail:
5831 return NULL;
5832 }
5833
5834
5835 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5836 PyObject *resultobj;
5837 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5838 wxWindow *arg2 = (wxWindow *) NULL ;
5839 bool result;
5840 PyObject * obj0 = 0 ;
5841 PyObject * obj1 = 0 ;
5842 char *kwnames[] = {
5843 (char *) "self",(char *) "toRemove", NULL
5844 };
5845
5846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5849 if (obj1) {
5850 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5852 }
5853 {
5854 PyThreadState* __tstate = wxPyBeginAllowThreads();
5855 result = (bool)(arg1)->Unsplit(arg2);
5856
5857 wxPyEndAllowThreads(__tstate);
5858 if (PyErr_Occurred()) SWIG_fail;
5859 }
5860 {
5861 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5862 }
5863 return resultobj;
5864 fail:
5865 return NULL;
5866 }
5867
5868
5869 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5870 PyObject *resultobj;
5871 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5872 wxWindow *arg2 = (wxWindow *) 0 ;
5873 wxWindow *arg3 = (wxWindow *) 0 ;
5874 bool result;
5875 PyObject * obj0 = 0 ;
5876 PyObject * obj1 = 0 ;
5877 PyObject * obj2 = 0 ;
5878 char *kwnames[] = {
5879 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5880 };
5881
5882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5885 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5887 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5889 {
5890 PyThreadState* __tstate = wxPyBeginAllowThreads();
5891 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5892
5893 wxPyEndAllowThreads(__tstate);
5894 if (PyErr_Occurred()) SWIG_fail;
5895 }
5896 {
5897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5898 }
5899 return resultobj;
5900 fail:
5901 return NULL;
5902 }
5903
5904
5905 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5906 PyObject *resultobj;
5907 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5908 PyObject * obj0 = 0 ;
5909 char *kwnames[] = {
5910 (char *) "self", NULL
5911 };
5912
5913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
5914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5916 {
5917 PyThreadState* __tstate = wxPyBeginAllowThreads();
5918 (arg1)->UpdateSize();
5919
5920 wxPyEndAllowThreads(__tstate);
5921 if (PyErr_Occurred()) SWIG_fail;
5922 }
5923 Py_INCREF(Py_None); resultobj = Py_None;
5924 return resultobj;
5925 fail:
5926 return NULL;
5927 }
5928
5929
5930 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5931 PyObject *resultobj;
5932 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5933 bool result;
5934 PyObject * obj0 = 0 ;
5935 char *kwnames[] = {
5936 (char *) "self", NULL
5937 };
5938
5939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5942 {
5943 PyThreadState* __tstate = wxPyBeginAllowThreads();
5944 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5945
5946 wxPyEndAllowThreads(__tstate);
5947 if (PyErr_Occurred()) SWIG_fail;
5948 }
5949 {
5950 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5951 }
5952 return resultobj;
5953 fail:
5954 return NULL;
5955 }
5956
5957
5958 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5959 PyObject *resultobj;
5960 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5961 int arg2 ;
5962 PyObject * obj0 = 0 ;
5963 PyObject * obj1 = 0 ;
5964 char *kwnames[] = {
5965 (char *) "self",(char *) "width", NULL
5966 };
5967
5968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
5969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5971 arg2 = (int) SWIG_AsInt(obj1);
5972 if (PyErr_Occurred()) SWIG_fail;
5973 {
5974 PyThreadState* __tstate = wxPyBeginAllowThreads();
5975 (arg1)->SetSashSize(arg2);
5976
5977 wxPyEndAllowThreads(__tstate);
5978 if (PyErr_Occurred()) SWIG_fail;
5979 }
5980 Py_INCREF(Py_None); resultobj = Py_None;
5981 return resultobj;
5982 fail:
5983 return NULL;
5984 }
5985
5986
5987 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5988 PyObject *resultobj;
5989 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5990 int arg2 ;
5991 PyObject * obj0 = 0 ;
5992 PyObject * obj1 = 0 ;
5993 char *kwnames[] = {
5994 (char *) "self",(char *) "width", NULL
5995 };
5996
5997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
5998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6000 arg2 = (int) SWIG_AsInt(obj1);
6001 if (PyErr_Occurred()) SWIG_fail;
6002 {
6003 PyThreadState* __tstate = wxPyBeginAllowThreads();
6004 (arg1)->SetBorderSize(arg2);
6005
6006 wxPyEndAllowThreads(__tstate);
6007 if (PyErr_Occurred()) SWIG_fail;
6008 }
6009 Py_INCREF(Py_None); resultobj = Py_None;
6010 return resultobj;
6011 fail:
6012 return NULL;
6013 }
6014
6015
6016 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6017 PyObject *resultobj;
6018 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6019 int result;
6020 PyObject * obj0 = 0 ;
6021 char *kwnames[] = {
6022 (char *) "self", NULL
6023 };
6024
6025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
6026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6028 {
6029 PyThreadState* __tstate = wxPyBeginAllowThreads();
6030 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
6031
6032 wxPyEndAllowThreads(__tstate);
6033 if (PyErr_Occurred()) SWIG_fail;
6034 }
6035 resultobj = SWIG_FromInt((int)result);
6036 return resultobj;
6037 fail:
6038 return NULL;
6039 }
6040
6041
6042 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6043 PyObject *resultobj;
6044 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6045 int result;
6046 PyObject * obj0 = 0 ;
6047 char *kwnames[] = {
6048 (char *) "self", NULL
6049 };
6050
6051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
6052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6054 {
6055 PyThreadState* __tstate = wxPyBeginAllowThreads();
6056 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
6057
6058 wxPyEndAllowThreads(__tstate);
6059 if (PyErr_Occurred()) SWIG_fail;
6060 }
6061 resultobj = SWIG_FromInt((int)result);
6062 return resultobj;
6063 fail:
6064 return NULL;
6065 }
6066
6067
6068 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6069 PyObject *resultobj;
6070 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6071 int arg2 ;
6072 bool arg3 = (bool) True ;
6073 PyObject * obj0 = 0 ;
6074 PyObject * obj1 = 0 ;
6075 PyObject * obj2 = 0 ;
6076 char *kwnames[] = {
6077 (char *) "self",(char *) "position",(char *) "redraw", NULL
6078 };
6079
6080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
6081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6083 arg2 = (int) SWIG_AsInt(obj1);
6084 if (PyErr_Occurred()) SWIG_fail;
6085 if (obj2) {
6086 arg3 = (bool) SWIG_AsBool(obj2);
6087 if (PyErr_Occurred()) SWIG_fail;
6088 }
6089 {
6090 PyThreadState* __tstate = wxPyBeginAllowThreads();
6091 (arg1)->SetSashPosition(arg2,arg3);
6092
6093 wxPyEndAllowThreads(__tstate);
6094 if (PyErr_Occurred()) SWIG_fail;
6095 }
6096 Py_INCREF(Py_None); resultobj = Py_None;
6097 return resultobj;
6098 fail:
6099 return NULL;
6100 }
6101
6102
6103 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6104 PyObject *resultobj;
6105 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6106 int result;
6107 PyObject * obj0 = 0 ;
6108 char *kwnames[] = {
6109 (char *) "self", NULL
6110 };
6111
6112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
6113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6115 {
6116 PyThreadState* __tstate = wxPyBeginAllowThreads();
6117 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6118
6119 wxPyEndAllowThreads(__tstate);
6120 if (PyErr_Occurred()) SWIG_fail;
6121 }
6122 resultobj = SWIG_FromInt((int)result);
6123 return resultobj;
6124 fail:
6125 return NULL;
6126 }
6127
6128
6129 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6130 PyObject *resultobj;
6131 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6132 int arg2 ;
6133 PyObject * obj0 = 0 ;
6134 PyObject * obj1 = 0 ;
6135 char *kwnames[] = {
6136 (char *) "self",(char *) "min", NULL
6137 };
6138
6139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6142 arg2 = (int) SWIG_AsInt(obj1);
6143 if (PyErr_Occurred()) SWIG_fail;
6144 {
6145 PyThreadState* __tstate = wxPyBeginAllowThreads();
6146 (arg1)->SetMinimumPaneSize(arg2);
6147
6148 wxPyEndAllowThreads(__tstate);
6149 if (PyErr_Occurred()) SWIG_fail;
6150 }
6151 Py_INCREF(Py_None); resultobj = Py_None;
6152 return resultobj;
6153 fail:
6154 return NULL;
6155 }
6156
6157
6158 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6159 PyObject *resultobj;
6160 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6161 int result;
6162 PyObject * obj0 = 0 ;
6163 char *kwnames[] = {
6164 (char *) "self", NULL
6165 };
6166
6167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6170 {
6171 PyThreadState* __tstate = wxPyBeginAllowThreads();
6172 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6173
6174 wxPyEndAllowThreads(__tstate);
6175 if (PyErr_Occurred()) SWIG_fail;
6176 }
6177 resultobj = SWIG_FromInt((int)result);
6178 return resultobj;
6179 fail:
6180 return NULL;
6181 }
6182
6183
6184 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6185 PyObject *resultobj;
6186 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6187 int arg2 ;
6188 int arg3 ;
6189 int arg4 = (int) 5 ;
6190 bool result;
6191 PyObject * obj0 = 0 ;
6192 PyObject * obj1 = 0 ;
6193 PyObject * obj2 = 0 ;
6194 PyObject * obj3 = 0 ;
6195 char *kwnames[] = {
6196 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6197 };
6198
6199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6202 arg2 = (int) SWIG_AsInt(obj1);
6203 if (PyErr_Occurred()) SWIG_fail;
6204 arg3 = (int) SWIG_AsInt(obj2);
6205 if (PyErr_Occurred()) SWIG_fail;
6206 if (obj3) {
6207 arg4 = (int) SWIG_AsInt(obj3);
6208 if (PyErr_Occurred()) SWIG_fail;
6209 }
6210 {
6211 PyThreadState* __tstate = wxPyBeginAllowThreads();
6212 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6213
6214 wxPyEndAllowThreads(__tstate);
6215 if (PyErr_Occurred()) SWIG_fail;
6216 }
6217 {
6218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6219 }
6220 return resultobj;
6221 fail:
6222 return NULL;
6223 }
6224
6225
6226 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6227 PyObject *resultobj;
6228 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6229 PyObject * obj0 = 0 ;
6230 char *kwnames[] = {
6231 (char *) "self", NULL
6232 };
6233
6234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6237 {
6238 PyThreadState* __tstate = wxPyBeginAllowThreads();
6239 (arg1)->SizeWindows();
6240
6241 wxPyEndAllowThreads(__tstate);
6242 if (PyErr_Occurred()) SWIG_fail;
6243 }
6244 Py_INCREF(Py_None); resultobj = Py_None;
6245 return resultobj;
6246 fail:
6247 return NULL;
6248 }
6249
6250
6251 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6252 PyObject *resultobj;
6253 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6254 bool arg2 ;
6255 PyObject * obj0 = 0 ;
6256 PyObject * obj1 = 0 ;
6257 char *kwnames[] = {
6258 (char *) "self",(char *) "needUpdating", NULL
6259 };
6260
6261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6264 arg2 = (bool) SWIG_AsBool(obj1);
6265 if (PyErr_Occurred()) SWIG_fail;
6266 {
6267 PyThreadState* __tstate = wxPyBeginAllowThreads();
6268 (arg1)->SetNeedUpdating(arg2);
6269
6270 wxPyEndAllowThreads(__tstate);
6271 if (PyErr_Occurred()) SWIG_fail;
6272 }
6273 Py_INCREF(Py_None); resultobj = Py_None;
6274 return resultobj;
6275 fail:
6276 return NULL;
6277 }
6278
6279
6280 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6281 PyObject *resultobj;
6282 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6283 bool result;
6284 PyObject * obj0 = 0 ;
6285 char *kwnames[] = {
6286 (char *) "self", NULL
6287 };
6288
6289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6292 {
6293 PyThreadState* __tstate = wxPyBeginAllowThreads();
6294 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6295
6296 wxPyEndAllowThreads(__tstate);
6297 if (PyErr_Occurred()) SWIG_fail;
6298 }
6299 {
6300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6301 }
6302 return resultobj;
6303 fail:
6304 return NULL;
6305 }
6306
6307
6308 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
6309 PyObject *obj;
6310 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6311 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6312 Py_INCREF(obj);
6313 return Py_BuildValue((char *)"");
6314 }
6315 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6316 PyObject *resultobj;
6317 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6318 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6319 wxSplitterEvent *result;
6320 PyObject * obj0 = 0 ;
6321 PyObject * obj1 = 0 ;
6322 char *kwnames[] = {
6323 (char *) "type",(char *) "splitter", NULL
6324 };
6325
6326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6327 if (obj0) {
6328 arg1 = (wxEventType) SWIG_AsInt(obj0);
6329 if (PyErr_Occurred()) SWIG_fail;
6330 }
6331 if (obj1) {
6332 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6334 }
6335 {
6336 PyThreadState* __tstate = wxPyBeginAllowThreads();
6337 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6338
6339 wxPyEndAllowThreads(__tstate);
6340 if (PyErr_Occurred()) SWIG_fail;
6341 }
6342 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6343 return resultobj;
6344 fail:
6345 return NULL;
6346 }
6347
6348
6349 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6350 PyObject *resultobj;
6351 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6352 int arg2 ;
6353 PyObject * obj0 = 0 ;
6354 PyObject * obj1 = 0 ;
6355 char *kwnames[] = {
6356 (char *) "self",(char *) "pos", NULL
6357 };
6358
6359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6362 arg2 = (int) SWIG_AsInt(obj1);
6363 if (PyErr_Occurred()) SWIG_fail;
6364 {
6365 PyThreadState* __tstate = wxPyBeginAllowThreads();
6366 (arg1)->SetSashPosition(arg2);
6367
6368 wxPyEndAllowThreads(__tstate);
6369 if (PyErr_Occurred()) SWIG_fail;
6370 }
6371 Py_INCREF(Py_None); resultobj = Py_None;
6372 return resultobj;
6373 fail:
6374 return NULL;
6375 }
6376
6377
6378 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6379 PyObject *resultobj;
6380 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6381 int result;
6382 PyObject * obj0 = 0 ;
6383 char *kwnames[] = {
6384 (char *) "self", NULL
6385 };
6386
6387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6390 {
6391 PyThreadState* __tstate = wxPyBeginAllowThreads();
6392 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6393
6394 wxPyEndAllowThreads(__tstate);
6395 if (PyErr_Occurred()) SWIG_fail;
6396 }
6397 resultobj = SWIG_FromInt((int)result);
6398 return resultobj;
6399 fail:
6400 return NULL;
6401 }
6402
6403
6404 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
6405 PyObject *resultobj;
6406 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6407 wxWindow *result;
6408 PyObject * obj0 = 0 ;
6409 char *kwnames[] = {
6410 (char *) "self", NULL
6411 };
6412
6413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6416 {
6417 PyThreadState* __tstate = wxPyBeginAllowThreads();
6418 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6419
6420 wxPyEndAllowThreads(__tstate);
6421 if (PyErr_Occurred()) SWIG_fail;
6422 }
6423 {
6424 resultobj = wxPyMake_wxObject(result);
6425 }
6426 return resultobj;
6427 fail:
6428 return NULL;
6429 }
6430
6431
6432 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
6433 PyObject *resultobj;
6434 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6435 int result;
6436 PyObject * obj0 = 0 ;
6437 char *kwnames[] = {
6438 (char *) "self", NULL
6439 };
6440
6441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6444 {
6445 PyThreadState* __tstate = wxPyBeginAllowThreads();
6446 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6447
6448 wxPyEndAllowThreads(__tstate);
6449 if (PyErr_Occurred()) SWIG_fail;
6450 }
6451 resultobj = SWIG_FromInt((int)result);
6452 return resultobj;
6453 fail:
6454 return NULL;
6455 }
6456
6457
6458 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
6459 PyObject *resultobj;
6460 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6461 int result;
6462 PyObject * obj0 = 0 ;
6463 char *kwnames[] = {
6464 (char *) "self", NULL
6465 };
6466
6467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6470 {
6471 PyThreadState* __tstate = wxPyBeginAllowThreads();
6472 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6473
6474 wxPyEndAllowThreads(__tstate);
6475 if (PyErr_Occurred()) SWIG_fail;
6476 }
6477 resultobj = SWIG_FromInt((int)result);
6478 return resultobj;
6479 fail:
6480 return NULL;
6481 }
6482
6483
6484 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
6485 PyObject *obj;
6486 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6487 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6488 Py_INCREF(obj);
6489 return Py_BuildValue((char *)"");
6490 }
6491 static int _wrap_SashNameStr_set(PyObject *_val) {
6492 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6493 return 1;
6494 }
6495
6496
6497 static PyObject *_wrap_SashNameStr_get() {
6498 PyObject *pyobj;
6499
6500 {
6501 #if wxUSE_UNICODE
6502 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6503 #else
6504 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6505 #endif
6506 }
6507 return pyobj;
6508 }
6509
6510
6511 static int _wrap_SashLayoutNameStr_set(PyObject *_val) {
6512 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6513 return 1;
6514 }
6515
6516
6517 static PyObject *_wrap_SashLayoutNameStr_get() {
6518 PyObject *pyobj;
6519
6520 {
6521 #if wxUSE_UNICODE
6522 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6523 #else
6524 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6525 #endif
6526 }
6527 return pyobj;
6528 }
6529
6530
6531 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6532 PyObject *resultobj;
6533 wxWindow *arg1 = (wxWindow *) 0 ;
6534 int arg2 ;
6535 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6536 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6537 wxSize const &arg4_defvalue = wxDefaultSize ;
6538 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6539 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6540 wxString const &arg6_defvalue = wxPySashNameStr ;
6541 wxString *arg6 = (wxString *) &arg6_defvalue ;
6542 wxSashWindow *result;
6543 wxPoint temp3 ;
6544 wxSize temp4 ;
6545 bool temp6 = False ;
6546 PyObject * obj0 = 0 ;
6547 PyObject * obj1 = 0 ;
6548 PyObject * obj2 = 0 ;
6549 PyObject * obj3 = 0 ;
6550 PyObject * obj4 = 0 ;
6551 PyObject * obj5 = 0 ;
6552 char *kwnames[] = {
6553 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6554 };
6555
6556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6559 arg2 = (int) SWIG_AsInt(obj1);
6560 if (PyErr_Occurred()) SWIG_fail;
6561 if (obj2) {
6562 {
6563 arg3 = &temp3;
6564 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6565 }
6566 }
6567 if (obj3) {
6568 {
6569 arg4 = &temp4;
6570 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6571 }
6572 }
6573 if (obj4) {
6574 arg5 = (long) SWIG_AsLong(obj4);
6575 if (PyErr_Occurred()) SWIG_fail;
6576 }
6577 if (obj5) {
6578 {
6579 arg6 = wxString_in_helper(obj5);
6580 if (arg6 == NULL) SWIG_fail;
6581 temp6 = True;
6582 }
6583 }
6584 {
6585 PyThreadState* __tstate = wxPyBeginAllowThreads();
6586 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6587
6588 wxPyEndAllowThreads(__tstate);
6589 if (PyErr_Occurred()) SWIG_fail;
6590 }
6591 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6592 {
6593 if (temp6)
6594 delete arg6;
6595 }
6596 return resultobj;
6597 fail:
6598 {
6599 if (temp6)
6600 delete arg6;
6601 }
6602 return NULL;
6603 }
6604
6605
6606 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6607 PyObject *resultobj;
6608 wxSashWindow *result;
6609 char *kwnames[] = {
6610 NULL
6611 };
6612
6613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6614 {
6615 PyThreadState* __tstate = wxPyBeginAllowThreads();
6616 result = (wxSashWindow *)new wxSashWindow();
6617
6618 wxPyEndAllowThreads(__tstate);
6619 if (PyErr_Occurred()) SWIG_fail;
6620 }
6621 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6622 return resultobj;
6623 fail:
6624 return NULL;
6625 }
6626
6627
6628 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6629 PyObject *resultobj;
6630 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6631 wxWindow *arg2 = (wxWindow *) 0 ;
6632 int arg3 ;
6633 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6634 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6635 wxSize const &arg5_defvalue = wxDefaultSize ;
6636 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6637 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6638 wxString const &arg7_defvalue = wxPySashNameStr ;
6639 wxString *arg7 = (wxString *) &arg7_defvalue ;
6640 bool result;
6641 wxPoint temp4 ;
6642 wxSize temp5 ;
6643 bool temp7 = False ;
6644 PyObject * obj0 = 0 ;
6645 PyObject * obj1 = 0 ;
6646 PyObject * obj2 = 0 ;
6647 PyObject * obj3 = 0 ;
6648 PyObject * obj4 = 0 ;
6649 PyObject * obj5 = 0 ;
6650 PyObject * obj6 = 0 ;
6651 char *kwnames[] = {
6652 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6653 };
6654
6655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6658 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6660 arg3 = (int) SWIG_AsInt(obj2);
6661 if (PyErr_Occurred()) SWIG_fail;
6662 if (obj3) {
6663 {
6664 arg4 = &temp4;
6665 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6666 }
6667 }
6668 if (obj4) {
6669 {
6670 arg5 = &temp5;
6671 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6672 }
6673 }
6674 if (obj5) {
6675 arg6 = (long) SWIG_AsLong(obj5);
6676 if (PyErr_Occurred()) SWIG_fail;
6677 }
6678 if (obj6) {
6679 {
6680 arg7 = wxString_in_helper(obj6);
6681 if (arg7 == NULL) SWIG_fail;
6682 temp7 = True;
6683 }
6684 }
6685 {
6686 PyThreadState* __tstate = wxPyBeginAllowThreads();
6687 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6688
6689 wxPyEndAllowThreads(__tstate);
6690 if (PyErr_Occurred()) SWIG_fail;
6691 }
6692 {
6693 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6694 }
6695 {
6696 if (temp7)
6697 delete arg7;
6698 }
6699 return resultobj;
6700 fail:
6701 {
6702 if (temp7)
6703 delete arg7;
6704 }
6705 return NULL;
6706 }
6707
6708
6709 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6710 PyObject *resultobj;
6711 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6712 int arg2 ;
6713 bool arg3 ;
6714 PyObject * obj0 = 0 ;
6715 PyObject * obj1 = 0 ;
6716 PyObject * obj2 = 0 ;
6717 char *kwnames[] = {
6718 (char *) "self",(char *) "edge",(char *) "sash", NULL
6719 };
6720
6721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
6722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6724 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6725 if (PyErr_Occurred()) SWIG_fail;
6726 arg3 = (bool) SWIG_AsBool(obj2);
6727 if (PyErr_Occurred()) SWIG_fail;
6728 {
6729 PyThreadState* __tstate = wxPyBeginAllowThreads();
6730 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6731
6732 wxPyEndAllowThreads(__tstate);
6733 if (PyErr_Occurred()) SWIG_fail;
6734 }
6735 Py_INCREF(Py_None); resultobj = Py_None;
6736 return resultobj;
6737 fail:
6738 return NULL;
6739 }
6740
6741
6742 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6743 PyObject *resultobj;
6744 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6745 int arg2 ;
6746 bool result;
6747 PyObject * obj0 = 0 ;
6748 PyObject * obj1 = 0 ;
6749 char *kwnames[] = {
6750 (char *) "self",(char *) "edge", NULL
6751 };
6752
6753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
6754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6756 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6757 if (PyErr_Occurred()) SWIG_fail;
6758 {
6759 PyThreadState* __tstate = wxPyBeginAllowThreads();
6760 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
6761
6762 wxPyEndAllowThreads(__tstate);
6763 if (PyErr_Occurred()) SWIG_fail;
6764 }
6765 {
6766 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6767 }
6768 return resultobj;
6769 fail:
6770 return NULL;
6771 }
6772
6773
6774 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6775 PyObject *resultobj;
6776 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6777 int arg2 ;
6778 bool arg3 ;
6779 PyObject * obj0 = 0 ;
6780 PyObject * obj1 = 0 ;
6781 PyObject * obj2 = 0 ;
6782 char *kwnames[] = {
6783 (char *) "self",(char *) "edge",(char *) "border", NULL
6784 };
6785
6786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
6787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6789 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6790 if (PyErr_Occurred()) SWIG_fail;
6791 arg3 = (bool) SWIG_AsBool(obj2);
6792 if (PyErr_Occurred()) SWIG_fail;
6793 {
6794 PyThreadState* __tstate = wxPyBeginAllowThreads();
6795 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
6796
6797 wxPyEndAllowThreads(__tstate);
6798 if (PyErr_Occurred()) SWIG_fail;
6799 }
6800 Py_INCREF(Py_None); resultobj = Py_None;
6801 return resultobj;
6802 fail:
6803 return NULL;
6804 }
6805
6806
6807 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6808 PyObject *resultobj;
6809 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6810 int arg2 ;
6811 bool result;
6812 PyObject * obj0 = 0 ;
6813 PyObject * obj1 = 0 ;
6814 char *kwnames[] = {
6815 (char *) "self",(char *) "edge", NULL
6816 };
6817
6818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
6819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6821 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6822 if (PyErr_Occurred()) SWIG_fail;
6823 {
6824 PyThreadState* __tstate = wxPyBeginAllowThreads();
6825 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
6826
6827 wxPyEndAllowThreads(__tstate);
6828 if (PyErr_Occurred()) SWIG_fail;
6829 }
6830 {
6831 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6832 }
6833 return resultobj;
6834 fail:
6835 return NULL;
6836 }
6837
6838
6839 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
6840 PyObject *resultobj;
6841 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6842 int arg2 ;
6843 int result;
6844 PyObject * obj0 = 0 ;
6845 PyObject * obj1 = 0 ;
6846 char *kwnames[] = {
6847 (char *) "self",(char *) "edge", NULL
6848 };
6849
6850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
6851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6853 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6854 if (PyErr_Occurred()) SWIG_fail;
6855 {
6856 PyThreadState* __tstate = wxPyBeginAllowThreads();
6857 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
6858
6859 wxPyEndAllowThreads(__tstate);
6860 if (PyErr_Occurred()) SWIG_fail;
6861 }
6862 resultobj = SWIG_FromInt((int)result);
6863 return resultobj;
6864 fail:
6865 return NULL;
6866 }
6867
6868
6869 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6870 PyObject *resultobj;
6871 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6872 int arg2 ;
6873 PyObject * obj0 = 0 ;
6874 PyObject * obj1 = 0 ;
6875 char *kwnames[] = {
6876 (char *) "self",(char *) "width", NULL
6877 };
6878
6879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
6880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6882 arg2 = (int) SWIG_AsInt(obj1);
6883 if (PyErr_Occurred()) SWIG_fail;
6884 {
6885 PyThreadState* __tstate = wxPyBeginAllowThreads();
6886 (arg1)->SetDefaultBorderSize(arg2);
6887
6888 wxPyEndAllowThreads(__tstate);
6889 if (PyErr_Occurred()) SWIG_fail;
6890 }
6891 Py_INCREF(Py_None); resultobj = Py_None;
6892 return resultobj;
6893 fail:
6894 return NULL;
6895 }
6896
6897
6898 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6899 PyObject *resultobj;
6900 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6901 int result;
6902 PyObject * obj0 = 0 ;
6903 char *kwnames[] = {
6904 (char *) "self", NULL
6905 };
6906
6907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
6908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6910 {
6911 PyThreadState* __tstate = wxPyBeginAllowThreads();
6912 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
6913
6914 wxPyEndAllowThreads(__tstate);
6915 if (PyErr_Occurred()) SWIG_fail;
6916 }
6917 resultobj = SWIG_FromInt((int)result);
6918 return resultobj;
6919 fail:
6920 return NULL;
6921 }
6922
6923
6924 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6925 PyObject *resultobj;
6926 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6927 int arg2 ;
6928 PyObject * obj0 = 0 ;
6929 PyObject * obj1 = 0 ;
6930 char *kwnames[] = {
6931 (char *) "self",(char *) "width", NULL
6932 };
6933
6934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
6935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6937 arg2 = (int) SWIG_AsInt(obj1);
6938 if (PyErr_Occurred()) SWIG_fail;
6939 {
6940 PyThreadState* __tstate = wxPyBeginAllowThreads();
6941 (arg1)->SetExtraBorderSize(arg2);
6942
6943 wxPyEndAllowThreads(__tstate);
6944 if (PyErr_Occurred()) SWIG_fail;
6945 }
6946 Py_INCREF(Py_None); resultobj = Py_None;
6947 return resultobj;
6948 fail:
6949 return NULL;
6950 }
6951
6952
6953 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6954 PyObject *resultobj;
6955 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6956 int result;
6957 PyObject * obj0 = 0 ;
6958 char *kwnames[] = {
6959 (char *) "self", NULL
6960 };
6961
6962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
6963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6965 {
6966 PyThreadState* __tstate = wxPyBeginAllowThreads();
6967 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
6968
6969 wxPyEndAllowThreads(__tstate);
6970 if (PyErr_Occurred()) SWIG_fail;
6971 }
6972 resultobj = SWIG_FromInt((int)result);
6973 return resultobj;
6974 fail:
6975 return NULL;
6976 }
6977
6978
6979 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6980 PyObject *resultobj;
6981 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6982 int arg2 ;
6983 PyObject * obj0 = 0 ;
6984 PyObject * obj1 = 0 ;
6985 char *kwnames[] = {
6986 (char *) "self",(char *) "min", NULL
6987 };
6988
6989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
6990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6992 arg2 = (int) SWIG_AsInt(obj1);
6993 if (PyErr_Occurred()) SWIG_fail;
6994 {
6995 PyThreadState* __tstate = wxPyBeginAllowThreads();
6996 (arg1)->SetMinimumSizeX(arg2);
6997
6998 wxPyEndAllowThreads(__tstate);
6999 if (PyErr_Occurred()) SWIG_fail;
7000 }
7001 Py_INCREF(Py_None); resultobj = Py_None;
7002 return resultobj;
7003 fail:
7004 return NULL;
7005 }
7006
7007
7008 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7009 PyObject *resultobj;
7010 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7011 int arg2 ;
7012 PyObject * obj0 = 0 ;
7013 PyObject * obj1 = 0 ;
7014 char *kwnames[] = {
7015 (char *) "self",(char *) "min", NULL
7016 };
7017
7018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
7019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7021 arg2 = (int) SWIG_AsInt(obj1);
7022 if (PyErr_Occurred()) SWIG_fail;
7023 {
7024 PyThreadState* __tstate = wxPyBeginAllowThreads();
7025 (arg1)->SetMinimumSizeY(arg2);
7026
7027 wxPyEndAllowThreads(__tstate);
7028 if (PyErr_Occurred()) SWIG_fail;
7029 }
7030 Py_INCREF(Py_None); resultobj = Py_None;
7031 return resultobj;
7032 fail:
7033 return NULL;
7034 }
7035
7036
7037 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7038 PyObject *resultobj;
7039 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7040 int result;
7041 PyObject * obj0 = 0 ;
7042 char *kwnames[] = {
7043 (char *) "self", NULL
7044 };
7045
7046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
7047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7049 {
7050 PyThreadState* __tstate = wxPyBeginAllowThreads();
7051 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
7052
7053 wxPyEndAllowThreads(__tstate);
7054 if (PyErr_Occurred()) SWIG_fail;
7055 }
7056 resultobj = SWIG_FromInt((int)result);
7057 return resultobj;
7058 fail:
7059 return NULL;
7060 }
7061
7062
7063 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7064 PyObject *resultobj;
7065 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7066 int result;
7067 PyObject * obj0 = 0 ;
7068 char *kwnames[] = {
7069 (char *) "self", NULL
7070 };
7071
7072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
7073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7075 {
7076 PyThreadState* __tstate = wxPyBeginAllowThreads();
7077 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
7078
7079 wxPyEndAllowThreads(__tstate);
7080 if (PyErr_Occurred()) SWIG_fail;
7081 }
7082 resultobj = SWIG_FromInt((int)result);
7083 return resultobj;
7084 fail:
7085 return NULL;
7086 }
7087
7088
7089 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7090 PyObject *resultobj;
7091 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7092 int arg2 ;
7093 PyObject * obj0 = 0 ;
7094 PyObject * obj1 = 0 ;
7095 char *kwnames[] = {
7096 (char *) "self",(char *) "max", NULL
7097 };
7098
7099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
7100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7102 arg2 = (int) SWIG_AsInt(obj1);
7103 if (PyErr_Occurred()) SWIG_fail;
7104 {
7105 PyThreadState* __tstate = wxPyBeginAllowThreads();
7106 (arg1)->SetMaximumSizeX(arg2);
7107
7108 wxPyEndAllowThreads(__tstate);
7109 if (PyErr_Occurred()) SWIG_fail;
7110 }
7111 Py_INCREF(Py_None); resultobj = Py_None;
7112 return resultobj;
7113 fail:
7114 return NULL;
7115 }
7116
7117
7118 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7119 PyObject *resultobj;
7120 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7121 int arg2 ;
7122 PyObject * obj0 = 0 ;
7123 PyObject * obj1 = 0 ;
7124 char *kwnames[] = {
7125 (char *) "self",(char *) "max", NULL
7126 };
7127
7128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7131 arg2 = (int) SWIG_AsInt(obj1);
7132 if (PyErr_Occurred()) SWIG_fail;
7133 {
7134 PyThreadState* __tstate = wxPyBeginAllowThreads();
7135 (arg1)->SetMaximumSizeY(arg2);
7136
7137 wxPyEndAllowThreads(__tstate);
7138 if (PyErr_Occurred()) SWIG_fail;
7139 }
7140 Py_INCREF(Py_None); resultobj = Py_None;
7141 return resultobj;
7142 fail:
7143 return NULL;
7144 }
7145
7146
7147 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7148 PyObject *resultobj;
7149 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7150 int result;
7151 PyObject * obj0 = 0 ;
7152 char *kwnames[] = {
7153 (char *) "self", NULL
7154 };
7155
7156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7159 {
7160 PyThreadState* __tstate = wxPyBeginAllowThreads();
7161 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7162
7163 wxPyEndAllowThreads(__tstate);
7164 if (PyErr_Occurred()) SWIG_fail;
7165 }
7166 resultobj = SWIG_FromInt((int)result);
7167 return resultobj;
7168 fail:
7169 return NULL;
7170 }
7171
7172
7173 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7174 PyObject *resultobj;
7175 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7176 int result;
7177 PyObject * obj0 = 0 ;
7178 char *kwnames[] = {
7179 (char *) "self", NULL
7180 };
7181
7182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7185 {
7186 PyThreadState* __tstate = wxPyBeginAllowThreads();
7187 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7188
7189 wxPyEndAllowThreads(__tstate);
7190 if (PyErr_Occurred()) SWIG_fail;
7191 }
7192 resultobj = SWIG_FromInt((int)result);
7193 return resultobj;
7194 fail:
7195 return NULL;
7196 }
7197
7198
7199 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
7200 PyObject *resultobj;
7201 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7202 int arg2 ;
7203 int arg3 ;
7204 int arg4 = (int) 2 ;
7205 int result;
7206 PyObject * obj0 = 0 ;
7207 PyObject * obj1 = 0 ;
7208 PyObject * obj2 = 0 ;
7209 PyObject * obj3 = 0 ;
7210 char *kwnames[] = {
7211 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7212 };
7213
7214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7217 arg2 = (int) SWIG_AsInt(obj1);
7218 if (PyErr_Occurred()) SWIG_fail;
7219 arg3 = (int) SWIG_AsInt(obj2);
7220 if (PyErr_Occurred()) SWIG_fail;
7221 if (obj3) {
7222 arg4 = (int) SWIG_AsInt(obj3);
7223 if (PyErr_Occurred()) SWIG_fail;
7224 }
7225 {
7226 PyThreadState* __tstate = wxPyBeginAllowThreads();
7227 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7228
7229 wxPyEndAllowThreads(__tstate);
7230 if (PyErr_Occurred()) SWIG_fail;
7231 }
7232 resultobj = SWIG_FromInt((int)result);
7233 return resultobj;
7234 fail:
7235 return NULL;
7236 }
7237
7238
7239 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
7240 PyObject *resultobj;
7241 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7242 PyObject * obj0 = 0 ;
7243 char *kwnames[] = {
7244 (char *) "self", NULL
7245 };
7246
7247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7250 {
7251 PyThreadState* __tstate = wxPyBeginAllowThreads();
7252 (arg1)->SizeWindows();
7253
7254 wxPyEndAllowThreads(__tstate);
7255 if (PyErr_Occurred()) SWIG_fail;
7256 }
7257 Py_INCREF(Py_None); resultobj = Py_None;
7258 return resultobj;
7259 fail:
7260 return NULL;
7261 }
7262
7263
7264 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
7265 PyObject *obj;
7266 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7267 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7268 Py_INCREF(obj);
7269 return Py_BuildValue((char *)"");
7270 }
7271 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7272 PyObject *resultobj;
7273 int arg1 = (int) 0 ;
7274 int arg2 = (int) wxSASH_NONE ;
7275 wxSashEvent *result;
7276 PyObject * obj0 = 0 ;
7277 PyObject * obj1 = 0 ;
7278 char *kwnames[] = {
7279 (char *) "id",(char *) "edge", NULL
7280 };
7281
7282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7283 if (obj0) {
7284 arg1 = (int) SWIG_AsInt(obj0);
7285 if (PyErr_Occurred()) SWIG_fail;
7286 }
7287 if (obj1) {
7288 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7289 if (PyErr_Occurred()) SWIG_fail;
7290 }
7291 {
7292 PyThreadState* __tstate = wxPyBeginAllowThreads();
7293 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7294
7295 wxPyEndAllowThreads(__tstate);
7296 if (PyErr_Occurred()) SWIG_fail;
7297 }
7298 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7299 return resultobj;
7300 fail:
7301 return NULL;
7302 }
7303
7304
7305 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7306 PyObject *resultobj;
7307 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7308 int arg2 ;
7309 PyObject * obj0 = 0 ;
7310 PyObject * obj1 = 0 ;
7311 char *kwnames[] = {
7312 (char *) "self",(char *) "edge", NULL
7313 };
7314
7315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7318 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7319 if (PyErr_Occurred()) SWIG_fail;
7320 {
7321 PyThreadState* __tstate = wxPyBeginAllowThreads();
7322 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7323
7324 wxPyEndAllowThreads(__tstate);
7325 if (PyErr_Occurred()) SWIG_fail;
7326 }
7327 Py_INCREF(Py_None); resultobj = Py_None;
7328 return resultobj;
7329 fail:
7330 return NULL;
7331 }
7332
7333
7334 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7335 PyObject *resultobj;
7336 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7337 int result;
7338 PyObject * obj0 = 0 ;
7339 char *kwnames[] = {
7340 (char *) "self", NULL
7341 };
7342
7343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7346 {
7347 PyThreadState* __tstate = wxPyBeginAllowThreads();
7348 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7349
7350 wxPyEndAllowThreads(__tstate);
7351 if (PyErr_Occurred()) SWIG_fail;
7352 }
7353 resultobj = SWIG_FromInt((int)result);
7354 return resultobj;
7355 fail:
7356 return NULL;
7357 }
7358
7359
7360 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7361 PyObject *resultobj;
7362 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7363 wxRect *arg2 = 0 ;
7364 wxRect temp2 ;
7365 PyObject * obj0 = 0 ;
7366 PyObject * obj1 = 0 ;
7367 char *kwnames[] = {
7368 (char *) "self",(char *) "rect", NULL
7369 };
7370
7371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7374 {
7375 arg2 = &temp2;
7376 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7377 }
7378 {
7379 PyThreadState* __tstate = wxPyBeginAllowThreads();
7380 (arg1)->SetDragRect((wxRect const &)*arg2);
7381
7382 wxPyEndAllowThreads(__tstate);
7383 if (PyErr_Occurred()) SWIG_fail;
7384 }
7385 Py_INCREF(Py_None); resultobj = Py_None;
7386 return resultobj;
7387 fail:
7388 return NULL;
7389 }
7390
7391
7392 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7393 PyObject *resultobj;
7394 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7395 wxRect result;
7396 PyObject * obj0 = 0 ;
7397 char *kwnames[] = {
7398 (char *) "self", NULL
7399 };
7400
7401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7404 {
7405 PyThreadState* __tstate = wxPyBeginAllowThreads();
7406 result = ((wxSashEvent const *)arg1)->GetDragRect();
7407
7408 wxPyEndAllowThreads(__tstate);
7409 if (PyErr_Occurred()) SWIG_fail;
7410 }
7411 {
7412 wxRect * resultptr;
7413 resultptr = new wxRect((wxRect &) result);
7414 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7415 }
7416 return resultobj;
7417 fail:
7418 return NULL;
7419 }
7420
7421
7422 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7423 PyObject *resultobj;
7424 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7425 int arg2 ;
7426 PyObject * obj0 = 0 ;
7427 PyObject * obj1 = 0 ;
7428 char *kwnames[] = {
7429 (char *) "self",(char *) "status", NULL
7430 };
7431
7432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7435 arg2 = (wxSashDragStatus) SWIG_AsInt(obj1);
7436 if (PyErr_Occurred()) SWIG_fail;
7437 {
7438 PyThreadState* __tstate = wxPyBeginAllowThreads();
7439 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7440
7441 wxPyEndAllowThreads(__tstate);
7442 if (PyErr_Occurred()) SWIG_fail;
7443 }
7444 Py_INCREF(Py_None); resultobj = Py_None;
7445 return resultobj;
7446 fail:
7447 return NULL;
7448 }
7449
7450
7451 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7452 PyObject *resultobj;
7453 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7454 int result;
7455 PyObject * obj0 = 0 ;
7456 char *kwnames[] = {
7457 (char *) "self", NULL
7458 };
7459
7460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7463 {
7464 PyThreadState* __tstate = wxPyBeginAllowThreads();
7465 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7466
7467 wxPyEndAllowThreads(__tstate);
7468 if (PyErr_Occurred()) SWIG_fail;
7469 }
7470 resultobj = SWIG_FromInt((int)result);
7471 return resultobj;
7472 fail:
7473 return NULL;
7474 }
7475
7476
7477 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
7478 PyObject *obj;
7479 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7480 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7481 Py_INCREF(obj);
7482 return Py_BuildValue((char *)"");
7483 }
7484 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7485 PyObject *resultobj;
7486 int arg1 = (int) 0 ;
7487 wxQueryLayoutInfoEvent *result;
7488 PyObject * obj0 = 0 ;
7489 char *kwnames[] = {
7490 (char *) "id", NULL
7491 };
7492
7493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7494 if (obj0) {
7495 arg1 = (int) SWIG_AsInt(obj0);
7496 if (PyErr_Occurred()) SWIG_fail;
7497 }
7498 {
7499 PyThreadState* __tstate = wxPyBeginAllowThreads();
7500 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7501
7502 wxPyEndAllowThreads(__tstate);
7503 if (PyErr_Occurred()) SWIG_fail;
7504 }
7505 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7506 return resultobj;
7507 fail:
7508 return NULL;
7509 }
7510
7511
7512 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7513 PyObject *resultobj;
7514 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7515 int arg2 ;
7516 PyObject * obj0 = 0 ;
7517 PyObject * obj1 = 0 ;
7518 char *kwnames[] = {
7519 (char *) "self",(char *) "length", NULL
7520 };
7521
7522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
7523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7525 arg2 = (int) SWIG_AsInt(obj1);
7526 if (PyErr_Occurred()) SWIG_fail;
7527 {
7528 PyThreadState* __tstate = wxPyBeginAllowThreads();
7529 (arg1)->SetRequestedLength(arg2);
7530
7531 wxPyEndAllowThreads(__tstate);
7532 if (PyErr_Occurred()) SWIG_fail;
7533 }
7534 Py_INCREF(Py_None); resultobj = Py_None;
7535 return resultobj;
7536 fail:
7537 return NULL;
7538 }
7539
7540
7541 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7542 PyObject *resultobj;
7543 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7544 int result;
7545 PyObject * obj0 = 0 ;
7546 char *kwnames[] = {
7547 (char *) "self", NULL
7548 };
7549
7550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
7551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7553 {
7554 PyThreadState* __tstate = wxPyBeginAllowThreads();
7555 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7556
7557 wxPyEndAllowThreads(__tstate);
7558 if (PyErr_Occurred()) SWIG_fail;
7559 }
7560 resultobj = SWIG_FromInt((int)result);
7561 return resultobj;
7562 fail:
7563 return NULL;
7564 }
7565
7566
7567 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7568 PyObject *resultobj;
7569 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7570 int arg2 ;
7571 PyObject * obj0 = 0 ;
7572 PyObject * obj1 = 0 ;
7573 char *kwnames[] = {
7574 (char *) "self",(char *) "flags", NULL
7575 };
7576
7577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7580 arg2 = (int) SWIG_AsInt(obj1);
7581 if (PyErr_Occurred()) SWIG_fail;
7582 {
7583 PyThreadState* __tstate = wxPyBeginAllowThreads();
7584 (arg1)->SetFlags(arg2);
7585
7586 wxPyEndAllowThreads(__tstate);
7587 if (PyErr_Occurred()) SWIG_fail;
7588 }
7589 Py_INCREF(Py_None); resultobj = Py_None;
7590 return resultobj;
7591 fail:
7592 return NULL;
7593 }
7594
7595
7596 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7597 PyObject *resultobj;
7598 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7599 int result;
7600 PyObject * obj0 = 0 ;
7601 char *kwnames[] = {
7602 (char *) "self", NULL
7603 };
7604
7605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
7606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7608 {
7609 PyThreadState* __tstate = wxPyBeginAllowThreads();
7610 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
7611
7612 wxPyEndAllowThreads(__tstate);
7613 if (PyErr_Occurred()) SWIG_fail;
7614 }
7615 resultobj = SWIG_FromInt((int)result);
7616 return resultobj;
7617 fail:
7618 return NULL;
7619 }
7620
7621
7622 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7623 PyObject *resultobj;
7624 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7625 wxSize *arg2 = 0 ;
7626 wxSize temp2 ;
7627 PyObject * obj0 = 0 ;
7628 PyObject * obj1 = 0 ;
7629 char *kwnames[] = {
7630 (char *) "self",(char *) "size", NULL
7631 };
7632
7633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
7634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7636 {
7637 arg2 = &temp2;
7638 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7639 }
7640 {
7641 PyThreadState* __tstate = wxPyBeginAllowThreads();
7642 (arg1)->SetSize((wxSize const &)*arg2);
7643
7644 wxPyEndAllowThreads(__tstate);
7645 if (PyErr_Occurred()) SWIG_fail;
7646 }
7647 Py_INCREF(Py_None); resultobj = Py_None;
7648 return resultobj;
7649 fail:
7650 return NULL;
7651 }
7652
7653
7654 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7655 PyObject *resultobj;
7656 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7657 wxSize result;
7658 PyObject * obj0 = 0 ;
7659 char *kwnames[] = {
7660 (char *) "self", NULL
7661 };
7662
7663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
7664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7666 {
7667 PyThreadState* __tstate = wxPyBeginAllowThreads();
7668 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
7669
7670 wxPyEndAllowThreads(__tstate);
7671 if (PyErr_Occurred()) SWIG_fail;
7672 }
7673 {
7674 wxSize * resultptr;
7675 resultptr = new wxSize((wxSize &) result);
7676 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
7677 }
7678 return resultobj;
7679 fail:
7680 return NULL;
7681 }
7682
7683
7684 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7685 PyObject *resultobj;
7686 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7687 int arg2 ;
7688 PyObject * obj0 = 0 ;
7689 PyObject * obj1 = 0 ;
7690 char *kwnames[] = {
7691 (char *) "self",(char *) "orient", NULL
7692 };
7693
7694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
7695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7697 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
7698 if (PyErr_Occurred()) SWIG_fail;
7699 {
7700 PyThreadState* __tstate = wxPyBeginAllowThreads();
7701 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7702
7703 wxPyEndAllowThreads(__tstate);
7704 if (PyErr_Occurred()) SWIG_fail;
7705 }
7706 Py_INCREF(Py_None); resultobj = Py_None;
7707 return resultobj;
7708 fail:
7709 return NULL;
7710 }
7711
7712
7713 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7714 PyObject *resultobj;
7715 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7716 int result;
7717 PyObject * obj0 = 0 ;
7718 char *kwnames[] = {
7719 (char *) "self", NULL
7720 };
7721
7722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
7723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7725 {
7726 PyThreadState* __tstate = wxPyBeginAllowThreads();
7727 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
7728
7729 wxPyEndAllowThreads(__tstate);
7730 if (PyErr_Occurred()) SWIG_fail;
7731 }
7732 resultobj = SWIG_FromInt((int)result);
7733 return resultobj;
7734 fail:
7735 return NULL;
7736 }
7737
7738
7739 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7740 PyObject *resultobj;
7741 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7742 int arg2 ;
7743 PyObject * obj0 = 0 ;
7744 PyObject * obj1 = 0 ;
7745 char *kwnames[] = {
7746 (char *) "self",(char *) "align", NULL
7747 };
7748
7749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7752 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
7753 if (PyErr_Occurred()) SWIG_fail;
7754 {
7755 PyThreadState* __tstate = wxPyBeginAllowThreads();
7756 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7757
7758 wxPyEndAllowThreads(__tstate);
7759 if (PyErr_Occurred()) SWIG_fail;
7760 }
7761 Py_INCREF(Py_None); resultobj = Py_None;
7762 return resultobj;
7763 fail:
7764 return NULL;
7765 }
7766
7767
7768 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7769 PyObject *resultobj;
7770 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7771 int result;
7772 PyObject * obj0 = 0 ;
7773 char *kwnames[] = {
7774 (char *) "self", NULL
7775 };
7776
7777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
7778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7780 {
7781 PyThreadState* __tstate = wxPyBeginAllowThreads();
7782 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
7783
7784 wxPyEndAllowThreads(__tstate);
7785 if (PyErr_Occurred()) SWIG_fail;
7786 }
7787 resultobj = SWIG_FromInt((int)result);
7788 return resultobj;
7789 fail:
7790 return NULL;
7791 }
7792
7793
7794 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
7795 PyObject *obj;
7796 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7797 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
7798 Py_INCREF(obj);
7799 return Py_BuildValue((char *)"");
7800 }
7801 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7802 PyObject *resultobj;
7803 int arg1 = (int) 0 ;
7804 wxCalculateLayoutEvent *result;
7805 PyObject * obj0 = 0 ;
7806 char *kwnames[] = {
7807 (char *) "id", NULL
7808 };
7809
7810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
7811 if (obj0) {
7812 arg1 = (int) SWIG_AsInt(obj0);
7813 if (PyErr_Occurred()) SWIG_fail;
7814 }
7815 {
7816 PyThreadState* __tstate = wxPyBeginAllowThreads();
7817 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
7818
7819 wxPyEndAllowThreads(__tstate);
7820 if (PyErr_Occurred()) SWIG_fail;
7821 }
7822 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
7823 return resultobj;
7824 fail:
7825 return NULL;
7826 }
7827
7828
7829 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7830 PyObject *resultobj;
7831 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7832 int arg2 ;
7833 PyObject * obj0 = 0 ;
7834 PyObject * obj1 = 0 ;
7835 char *kwnames[] = {
7836 (char *) "self",(char *) "flags", NULL
7837 };
7838
7839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7842 arg2 = (int) SWIG_AsInt(obj1);
7843 if (PyErr_Occurred()) SWIG_fail;
7844 {
7845 PyThreadState* __tstate = wxPyBeginAllowThreads();
7846 (arg1)->SetFlags(arg2);
7847
7848 wxPyEndAllowThreads(__tstate);
7849 if (PyErr_Occurred()) SWIG_fail;
7850 }
7851 Py_INCREF(Py_None); resultobj = Py_None;
7852 return resultobj;
7853 fail:
7854 return NULL;
7855 }
7856
7857
7858 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7859 PyObject *resultobj;
7860 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7861 int result;
7862 PyObject * obj0 = 0 ;
7863 char *kwnames[] = {
7864 (char *) "self", NULL
7865 };
7866
7867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
7868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7870 {
7871 PyThreadState* __tstate = wxPyBeginAllowThreads();
7872 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
7873
7874 wxPyEndAllowThreads(__tstate);
7875 if (PyErr_Occurred()) SWIG_fail;
7876 }
7877 resultobj = SWIG_FromInt((int)result);
7878 return resultobj;
7879 fail:
7880 return NULL;
7881 }
7882
7883
7884 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7885 PyObject *resultobj;
7886 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7887 wxRect *arg2 = 0 ;
7888 wxRect temp2 ;
7889 PyObject * obj0 = 0 ;
7890 PyObject * obj1 = 0 ;
7891 char *kwnames[] = {
7892 (char *) "self",(char *) "rect", NULL
7893 };
7894
7895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
7896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7898 {
7899 arg2 = &temp2;
7900 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7901 }
7902 {
7903 PyThreadState* __tstate = wxPyBeginAllowThreads();
7904 (arg1)->SetRect((wxRect const &)*arg2);
7905
7906 wxPyEndAllowThreads(__tstate);
7907 if (PyErr_Occurred()) SWIG_fail;
7908 }
7909 Py_INCREF(Py_None); resultobj = Py_None;
7910 return resultobj;
7911 fail:
7912 return NULL;
7913 }
7914
7915
7916 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7917 PyObject *resultobj;
7918 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7919 wxRect result;
7920 PyObject * obj0 = 0 ;
7921 char *kwnames[] = {
7922 (char *) "self", NULL
7923 };
7924
7925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
7926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7928 {
7929 PyThreadState* __tstate = wxPyBeginAllowThreads();
7930 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
7931
7932 wxPyEndAllowThreads(__tstate);
7933 if (PyErr_Occurred()) SWIG_fail;
7934 }
7935 {
7936 wxRect * resultptr;
7937 resultptr = new wxRect((wxRect &) result);
7938 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7939 }
7940 return resultobj;
7941 fail:
7942 return NULL;
7943 }
7944
7945
7946 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
7947 PyObject *obj;
7948 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7949 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
7950 Py_INCREF(obj);
7951 return Py_BuildValue((char *)"");
7952 }
7953 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7954 PyObject *resultobj;
7955 wxWindow *arg1 = (wxWindow *) 0 ;
7956 int arg2 ;
7957 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7958 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7959 wxSize const &arg4_defvalue = wxDefaultSize ;
7960 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7961 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7962 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
7963 wxString *arg6 = (wxString *) &arg6_defvalue ;
7964 wxSashLayoutWindow *result;
7965 wxPoint temp3 ;
7966 wxSize temp4 ;
7967 bool temp6 = False ;
7968 PyObject * obj0 = 0 ;
7969 PyObject * obj1 = 0 ;
7970 PyObject * obj2 = 0 ;
7971 PyObject * obj3 = 0 ;
7972 PyObject * obj4 = 0 ;
7973 PyObject * obj5 = 0 ;
7974 char *kwnames[] = {
7975 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7976 };
7977
7978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7981 arg2 = (int) SWIG_AsInt(obj1);
7982 if (PyErr_Occurred()) SWIG_fail;
7983 if (obj2) {
7984 {
7985 arg3 = &temp3;
7986 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7987 }
7988 }
7989 if (obj3) {
7990 {
7991 arg4 = &temp4;
7992 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7993 }
7994 }
7995 if (obj4) {
7996 arg5 = (long) SWIG_AsLong(obj4);
7997 if (PyErr_Occurred()) SWIG_fail;
7998 }
7999 if (obj5) {
8000 {
8001 arg6 = wxString_in_helper(obj5);
8002 if (arg6 == NULL) SWIG_fail;
8003 temp6 = True;
8004 }
8005 }
8006 {
8007 PyThreadState* __tstate = wxPyBeginAllowThreads();
8008 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8009
8010 wxPyEndAllowThreads(__tstate);
8011 if (PyErr_Occurred()) SWIG_fail;
8012 }
8013 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8014 {
8015 if (temp6)
8016 delete arg6;
8017 }
8018 return resultobj;
8019 fail:
8020 {
8021 if (temp6)
8022 delete arg6;
8023 }
8024 return NULL;
8025 }
8026
8027
8028 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8029 PyObject *resultobj;
8030 wxSashLayoutWindow *result;
8031 char *kwnames[] = {
8032 NULL
8033 };
8034
8035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
8036 {
8037 PyThreadState* __tstate = wxPyBeginAllowThreads();
8038 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
8039
8040 wxPyEndAllowThreads(__tstate);
8041 if (PyErr_Occurred()) SWIG_fail;
8042 }
8043 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8044 return resultobj;
8045 fail:
8046 return NULL;
8047 }
8048
8049
8050 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8051 PyObject *resultobj;
8052 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8053 wxWindow *arg2 = (wxWindow *) 0 ;
8054 int arg3 ;
8055 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8056 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8057 wxSize const &arg5_defvalue = wxDefaultSize ;
8058 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8059 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8060 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
8061 wxString *arg7 = (wxString *) &arg7_defvalue ;
8062 bool result;
8063 wxPoint temp4 ;
8064 wxSize temp5 ;
8065 bool temp7 = False ;
8066 PyObject * obj0 = 0 ;
8067 PyObject * obj1 = 0 ;
8068 PyObject * obj2 = 0 ;
8069 PyObject * obj3 = 0 ;
8070 PyObject * obj4 = 0 ;
8071 PyObject * obj5 = 0 ;
8072 PyObject * obj6 = 0 ;
8073 char *kwnames[] = {
8074 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8075 };
8076
8077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8080 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8082 arg3 = (int) SWIG_AsInt(obj2);
8083 if (PyErr_Occurred()) SWIG_fail;
8084 if (obj3) {
8085 {
8086 arg4 = &temp4;
8087 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8088 }
8089 }
8090 if (obj4) {
8091 {
8092 arg5 = &temp5;
8093 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8094 }
8095 }
8096 if (obj5) {
8097 arg6 = (long) SWIG_AsLong(obj5);
8098 if (PyErr_Occurred()) SWIG_fail;
8099 }
8100 if (obj6) {
8101 {
8102 arg7 = wxString_in_helper(obj6);
8103 if (arg7 == NULL) SWIG_fail;
8104 temp7 = True;
8105 }
8106 }
8107 {
8108 PyThreadState* __tstate = wxPyBeginAllowThreads();
8109 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8110
8111 wxPyEndAllowThreads(__tstate);
8112 if (PyErr_Occurred()) SWIG_fail;
8113 }
8114 {
8115 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8116 }
8117 {
8118 if (temp7)
8119 delete arg7;
8120 }
8121 return resultobj;
8122 fail:
8123 {
8124 if (temp7)
8125 delete arg7;
8126 }
8127 return NULL;
8128 }
8129
8130
8131 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8132 PyObject *resultobj;
8133 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8134 int result;
8135 PyObject * obj0 = 0 ;
8136 char *kwnames[] = {
8137 (char *) "self", NULL
8138 };
8139
8140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8143 {
8144 PyThreadState* __tstate = wxPyBeginAllowThreads();
8145 result = (int)(arg1)->GetAlignment();
8146
8147 wxPyEndAllowThreads(__tstate);
8148 if (PyErr_Occurred()) SWIG_fail;
8149 }
8150 resultobj = SWIG_FromInt((int)result);
8151 return resultobj;
8152 fail:
8153 return NULL;
8154 }
8155
8156
8157 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8158 PyObject *resultobj;
8159 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8160 int result;
8161 PyObject * obj0 = 0 ;
8162 char *kwnames[] = {
8163 (char *) "self", NULL
8164 };
8165
8166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8169 {
8170 PyThreadState* __tstate = wxPyBeginAllowThreads();
8171 result = (int)(arg1)->GetOrientation();
8172
8173 wxPyEndAllowThreads(__tstate);
8174 if (PyErr_Occurred()) SWIG_fail;
8175 }
8176 resultobj = SWIG_FromInt((int)result);
8177 return resultobj;
8178 fail:
8179 return NULL;
8180 }
8181
8182
8183 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8184 PyObject *resultobj;
8185 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8186 int arg2 ;
8187 PyObject * obj0 = 0 ;
8188 PyObject * obj1 = 0 ;
8189 char *kwnames[] = {
8190 (char *) "self",(char *) "alignment", NULL
8191 };
8192
8193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8196 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
8197 if (PyErr_Occurred()) SWIG_fail;
8198 {
8199 PyThreadState* __tstate = wxPyBeginAllowThreads();
8200 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8201
8202 wxPyEndAllowThreads(__tstate);
8203 if (PyErr_Occurred()) SWIG_fail;
8204 }
8205 Py_INCREF(Py_None); resultobj = Py_None;
8206 return resultobj;
8207 fail:
8208 return NULL;
8209 }
8210
8211
8212 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8213 PyObject *resultobj;
8214 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8215 wxSize *arg2 = 0 ;
8216 wxSize temp2 ;
8217 PyObject * obj0 = 0 ;
8218 PyObject * obj1 = 0 ;
8219 char *kwnames[] = {
8220 (char *) "self",(char *) "size", NULL
8221 };
8222
8223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8226 {
8227 arg2 = &temp2;
8228 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8229 }
8230 {
8231 PyThreadState* __tstate = wxPyBeginAllowThreads();
8232 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8233
8234 wxPyEndAllowThreads(__tstate);
8235 if (PyErr_Occurred()) SWIG_fail;
8236 }
8237 Py_INCREF(Py_None); resultobj = Py_None;
8238 return resultobj;
8239 fail:
8240 return NULL;
8241 }
8242
8243
8244 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8245 PyObject *resultobj;
8246 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8247 int arg2 ;
8248 PyObject * obj0 = 0 ;
8249 PyObject * obj1 = 0 ;
8250 char *kwnames[] = {
8251 (char *) "self",(char *) "orientation", NULL
8252 };
8253
8254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8257 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
8258 if (PyErr_Occurred()) SWIG_fail;
8259 {
8260 PyThreadState* __tstate = wxPyBeginAllowThreads();
8261 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8262
8263 wxPyEndAllowThreads(__tstate);
8264 if (PyErr_Occurred()) SWIG_fail;
8265 }
8266 Py_INCREF(Py_None); resultobj = Py_None;
8267 return resultobj;
8268 fail:
8269 return NULL;
8270 }
8271
8272
8273 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
8274 PyObject *obj;
8275 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8276 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8277 Py_INCREF(obj);
8278 return Py_BuildValue((char *)"");
8279 }
8280 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8281 PyObject *resultobj;
8282 wxLayoutAlgorithm *result;
8283 char *kwnames[] = {
8284 NULL
8285 };
8286
8287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8288 {
8289 PyThreadState* __tstate = wxPyBeginAllowThreads();
8290 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8291
8292 wxPyEndAllowThreads(__tstate);
8293 if (PyErr_Occurred()) SWIG_fail;
8294 }
8295 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8296 return resultobj;
8297 fail:
8298 return NULL;
8299 }
8300
8301
8302 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8303 PyObject *resultobj;
8304 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8305 PyObject * obj0 = 0 ;
8306 char *kwnames[] = {
8307 (char *) "self", NULL
8308 };
8309
8310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8313 {
8314 PyThreadState* __tstate = wxPyBeginAllowThreads();
8315 delete arg1;
8316
8317 wxPyEndAllowThreads(__tstate);
8318 if (PyErr_Occurred()) SWIG_fail;
8319 }
8320 Py_INCREF(Py_None); resultobj = Py_None;
8321 return resultobj;
8322 fail:
8323 return NULL;
8324 }
8325
8326
8327 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8328 PyObject *resultobj;
8329 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8330 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8331 wxRect *arg3 = (wxRect *) NULL ;
8332 bool result;
8333 PyObject * obj0 = 0 ;
8334 PyObject * obj1 = 0 ;
8335 PyObject * obj2 = 0 ;
8336 char *kwnames[] = {
8337 (char *) "self",(char *) "frame",(char *) "rect", NULL
8338 };
8339
8340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8343 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8345 if (obj2) {
8346 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8348 }
8349 {
8350 PyThreadState* __tstate = wxPyBeginAllowThreads();
8351 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8352
8353 wxPyEndAllowThreads(__tstate);
8354 if (PyErr_Occurred()) SWIG_fail;
8355 }
8356 {
8357 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8358 }
8359 return resultobj;
8360 fail:
8361 return NULL;
8362 }
8363
8364
8365 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8366 PyObject *resultobj;
8367 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8368 wxFrame *arg2 = (wxFrame *) 0 ;
8369 wxWindow *arg3 = (wxWindow *) NULL ;
8370 bool result;
8371 PyObject * obj0 = 0 ;
8372 PyObject * obj1 = 0 ;
8373 PyObject * obj2 = 0 ;
8374 char *kwnames[] = {
8375 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8376 };
8377
8378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8381 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8383 if (obj2) {
8384 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8386 }
8387 {
8388 PyThreadState* __tstate = wxPyBeginAllowThreads();
8389 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8390
8391 wxPyEndAllowThreads(__tstate);
8392 if (PyErr_Occurred()) SWIG_fail;
8393 }
8394 {
8395 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8396 }
8397 return resultobj;
8398 fail:
8399 return NULL;
8400 }
8401
8402
8403 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8404 PyObject *resultobj;
8405 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8406 wxWindow *arg2 = (wxWindow *) 0 ;
8407 wxWindow *arg3 = (wxWindow *) NULL ;
8408 bool result;
8409 PyObject * obj0 = 0 ;
8410 PyObject * obj1 = 0 ;
8411 PyObject * obj2 = 0 ;
8412 char *kwnames[] = {
8413 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8414 };
8415
8416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8419 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8421 if (obj2) {
8422 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8424 }
8425 {
8426 PyThreadState* __tstate = wxPyBeginAllowThreads();
8427 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8428
8429 wxPyEndAllowThreads(__tstate);
8430 if (PyErr_Occurred()) SWIG_fail;
8431 }
8432 {
8433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8434 }
8435 return resultobj;
8436 fail:
8437 return NULL;
8438 }
8439
8440
8441 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
8442 PyObject *obj;
8443 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8444 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8445 Py_INCREF(obj);
8446 return Py_BuildValue((char *)"");
8447 }
8448 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8449 PyObject *resultobj;
8450 wxWindow *arg1 = (wxWindow *) 0 ;
8451 int arg2 = (int) wxBORDER_NONE ;
8452 wxPopupWindow *result;
8453 PyObject * obj0 = 0 ;
8454 PyObject * obj1 = 0 ;
8455 char *kwnames[] = {
8456 (char *) "parent",(char *) "flags", NULL
8457 };
8458
8459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8462 if (obj1) {
8463 arg2 = (int) SWIG_AsInt(obj1);
8464 if (PyErr_Occurred()) SWIG_fail;
8465 }
8466 {
8467 PyThreadState* __tstate = wxPyBeginAllowThreads();
8468 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8469
8470 wxPyEndAllowThreads(__tstate);
8471 if (PyErr_Occurred()) SWIG_fail;
8472 }
8473 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8474 return resultobj;
8475 fail:
8476 return NULL;
8477 }
8478
8479
8480 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8481 PyObject *resultobj;
8482 wxPopupWindow *result;
8483 char *kwnames[] = {
8484 NULL
8485 };
8486
8487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8488 {
8489 PyThreadState* __tstate = wxPyBeginAllowThreads();
8490 result = (wxPopupWindow *)new wxPopupWindow();
8491
8492 wxPyEndAllowThreads(__tstate);
8493 if (PyErr_Occurred()) SWIG_fail;
8494 }
8495 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8496 return resultobj;
8497 fail:
8498 return NULL;
8499 }
8500
8501
8502 static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8503 PyObject *resultobj;
8504 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8505 wxWindow *arg2 = (wxWindow *) 0 ;
8506 int arg3 = (int) wxBORDER_NONE ;
8507 bool result;
8508 PyObject * obj0 = 0 ;
8509 PyObject * obj1 = 0 ;
8510 PyObject * obj2 = 0 ;
8511 char *kwnames[] = {
8512 (char *) "self",(char *) "parent",(char *) "flags", NULL
8513 };
8514
8515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
8516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8518 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8520 if (obj2) {
8521 arg3 = (int) SWIG_AsInt(obj2);
8522 if (PyErr_Occurred()) SWIG_fail;
8523 }
8524 {
8525 PyThreadState* __tstate = wxPyBeginAllowThreads();
8526 result = (bool)(arg1)->Create(arg2,arg3);
8527
8528 wxPyEndAllowThreads(__tstate);
8529 if (PyErr_Occurred()) SWIG_fail;
8530 }
8531 {
8532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8533 }
8534 return resultobj;
8535 fail:
8536 return NULL;
8537 }
8538
8539
8540 static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
8541 PyObject *resultobj;
8542 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8543 wxPoint *arg2 = 0 ;
8544 wxSize *arg3 = 0 ;
8545 wxPoint temp2 ;
8546 wxSize temp3 ;
8547 PyObject * obj0 = 0 ;
8548 PyObject * obj1 = 0 ;
8549 PyObject * obj2 = 0 ;
8550 char *kwnames[] = {
8551 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8552 };
8553
8554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
8555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8557 {
8558 arg2 = &temp2;
8559 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8560 }
8561 {
8562 arg3 = &temp3;
8563 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
8564 }
8565 {
8566 PyThreadState* __tstate = wxPyBeginAllowThreads();
8567 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
8568
8569 wxPyEndAllowThreads(__tstate);
8570 if (PyErr_Occurred()) SWIG_fail;
8571 }
8572 Py_INCREF(Py_None); resultobj = Py_None;
8573 return resultobj;
8574 fail:
8575 return NULL;
8576 }
8577
8578
8579 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
8580 PyObject *obj;
8581 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8582 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
8583 Py_INCREF(obj);
8584 return Py_BuildValue((char *)"");
8585 }
8586 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8587 PyObject *resultobj;
8588 wxWindow *arg1 = (wxWindow *) 0 ;
8589 int arg2 = (int) wxBORDER_NONE ;
8590 wxPyPopupTransientWindow *result;
8591 PyObject * obj0 = 0 ;
8592 PyObject * obj1 = 0 ;
8593 char *kwnames[] = {
8594 (char *) "parent",(char *) "style", NULL
8595 };
8596
8597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
8598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8600 if (obj1) {
8601 arg2 = (int) SWIG_AsInt(obj1);
8602 if (PyErr_Occurred()) SWIG_fail;
8603 }
8604 {
8605 PyThreadState* __tstate = wxPyBeginAllowThreads();
8606 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
8607
8608 wxPyEndAllowThreads(__tstate);
8609 if (PyErr_Occurred()) SWIG_fail;
8610 }
8611 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8612 return resultobj;
8613 fail:
8614 return NULL;
8615 }
8616
8617
8618 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8619 PyObject *resultobj;
8620 wxPyPopupTransientWindow *result;
8621 char *kwnames[] = {
8622 NULL
8623 };
8624
8625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
8626 {
8627 PyThreadState* __tstate = wxPyBeginAllowThreads();
8628 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
8629
8630 wxPyEndAllowThreads(__tstate);
8631 if (PyErr_Occurred()) SWIG_fail;
8632 }
8633 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8634 return resultobj;
8635 fail:
8636 return NULL;
8637 }
8638
8639
8640 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8641 PyObject *resultobj;
8642 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8643 PyObject *arg2 = (PyObject *) 0 ;
8644 PyObject *arg3 = (PyObject *) 0 ;
8645 PyObject * obj0 = 0 ;
8646 PyObject * obj1 = 0 ;
8647 PyObject * obj2 = 0 ;
8648 char *kwnames[] = {
8649 (char *) "self",(char *) "self",(char *) "_class", NULL
8650 };
8651
8652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8655 arg2 = obj1;
8656 arg3 = obj2;
8657 {
8658 PyThreadState* __tstate = wxPyBeginAllowThreads();
8659 (arg1)->_setCallbackInfo(arg2,arg3);
8660
8661 wxPyEndAllowThreads(__tstate);
8662 if (PyErr_Occurred()) SWIG_fail;
8663 }
8664 Py_INCREF(Py_None); resultobj = Py_None;
8665 return resultobj;
8666 fail:
8667 return NULL;
8668 }
8669
8670
8671 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
8672 PyObject *resultobj;
8673 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8674 wxWindow *arg2 = (wxWindow *) NULL ;
8675 PyObject * obj0 = 0 ;
8676 PyObject * obj1 = 0 ;
8677 char *kwnames[] = {
8678 (char *) "self",(char *) "focus", NULL
8679 };
8680
8681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
8682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8684 if (obj1) {
8685 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8687 }
8688 {
8689 PyThreadState* __tstate = wxPyBeginAllowThreads();
8690 (arg1)->Popup(arg2);
8691
8692 wxPyEndAllowThreads(__tstate);
8693 if (PyErr_Occurred()) SWIG_fail;
8694 }
8695 Py_INCREF(Py_None); resultobj = Py_None;
8696 return resultobj;
8697 fail:
8698 return NULL;
8699 }
8700
8701
8702 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
8703 PyObject *resultobj;
8704 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8705 PyObject * obj0 = 0 ;
8706 char *kwnames[] = {
8707 (char *) "self", NULL
8708 };
8709
8710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
8711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8713 {
8714 PyThreadState* __tstate = wxPyBeginAllowThreads();
8715 (arg1)->Dismiss();
8716
8717 wxPyEndAllowThreads(__tstate);
8718 if (PyErr_Occurred()) SWIG_fail;
8719 }
8720 Py_INCREF(Py_None); resultobj = Py_None;
8721 return resultobj;
8722 fail:
8723 return NULL;
8724 }
8725
8726
8727 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
8728 PyObject *obj;
8729 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8730 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
8731 Py_INCREF(obj);
8732 return Py_BuildValue((char *)"");
8733 }
8734 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8735 PyObject *resultobj;
8736 wxWindow *arg1 = (wxWindow *) 0 ;
8737 wxString *arg2 = 0 ;
8738 int arg3 = (int) 100 ;
8739 wxRect *arg4 = (wxRect *) NULL ;
8740 wxTipWindow *result;
8741 bool temp2 = False ;
8742 PyObject * obj0 = 0 ;
8743 PyObject * obj1 = 0 ;
8744 PyObject * obj2 = 0 ;
8745 PyObject * obj3 = 0 ;
8746 char *kwnames[] = {
8747 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8748 };
8749
8750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8753 {
8754 arg2 = wxString_in_helper(obj1);
8755 if (arg2 == NULL) SWIG_fail;
8756 temp2 = True;
8757 }
8758 if (obj2) {
8759 arg3 = (int) SWIG_AsInt(obj2);
8760 if (PyErr_Occurred()) SWIG_fail;
8761 }
8762 if (obj3) {
8763 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
8764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8765 }
8766 {
8767 PyThreadState* __tstate = wxPyBeginAllowThreads();
8768 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
8769
8770 wxPyEndAllowThreads(__tstate);
8771 if (PyErr_Occurred()) SWIG_fail;
8772 }
8773 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
8774 {
8775 if (temp2)
8776 delete arg2;
8777 }
8778 return resultobj;
8779 fail:
8780 {
8781 if (temp2)
8782 delete arg2;
8783 }
8784 return NULL;
8785 }
8786
8787
8788 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8789 PyObject *resultobj;
8790 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8791 wxRect *arg2 = 0 ;
8792 wxRect temp2 ;
8793 PyObject * obj0 = 0 ;
8794 PyObject * obj1 = 0 ;
8795 char *kwnames[] = {
8796 (char *) "self",(char *) "rectBound", NULL
8797 };
8798
8799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
8800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8802 {
8803 arg2 = &temp2;
8804 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8805 }
8806 {
8807 PyThreadState* __tstate = wxPyBeginAllowThreads();
8808 (arg1)->SetBoundingRect((wxRect const &)*arg2);
8809
8810 wxPyEndAllowThreads(__tstate);
8811 if (PyErr_Occurred()) SWIG_fail;
8812 }
8813 Py_INCREF(Py_None); resultobj = Py_None;
8814 return resultobj;
8815 fail:
8816 return NULL;
8817 }
8818
8819
8820 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
8821 PyObject *resultobj;
8822 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8823 PyObject * obj0 = 0 ;
8824 char *kwnames[] = {
8825 (char *) "self", NULL
8826 };
8827
8828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
8829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8831 {
8832 PyThreadState* __tstate = wxPyBeginAllowThreads();
8833 (arg1)->Close();
8834
8835 wxPyEndAllowThreads(__tstate);
8836 if (PyErr_Occurred()) SWIG_fail;
8837 }
8838 Py_INCREF(Py_None); resultobj = Py_None;
8839 return resultobj;
8840 fail:
8841 return NULL;
8842 }
8843
8844
8845 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
8846 PyObject *obj;
8847 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8848 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
8849 Py_INCREF(obj);
8850 return Py_BuildValue((char *)"");
8851 }
8852 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8853 PyObject *resultobj;
8854 wxWindow *arg1 = (wxWindow *) 0 ;
8855 int arg2 = (int) wxID_ANY ;
8856 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8857 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8858 wxSize const &arg4_defvalue = wxDefaultSize ;
8859 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8860 long arg5 = (long) 0 ;
8861 wxString const &arg6_defvalue = wxPyPanelNameStr ;
8862 wxString *arg6 = (wxString *) &arg6_defvalue ;
8863 wxPyVScrolledWindow *result;
8864 wxPoint temp3 ;
8865 wxSize temp4 ;
8866 bool temp6 = False ;
8867 PyObject * obj0 = 0 ;
8868 PyObject * obj1 = 0 ;
8869 PyObject * obj2 = 0 ;
8870 PyObject * obj3 = 0 ;
8871 PyObject * obj4 = 0 ;
8872 PyObject * obj5 = 0 ;
8873 char *kwnames[] = {
8874 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8875 };
8876
8877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8880 if (obj1) {
8881 arg2 = (int) SWIG_AsInt(obj1);
8882 if (PyErr_Occurred()) SWIG_fail;
8883 }
8884 if (obj2) {
8885 {
8886 arg3 = &temp3;
8887 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8888 }
8889 }
8890 if (obj3) {
8891 {
8892 arg4 = &temp4;
8893 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8894 }
8895 }
8896 if (obj4) {
8897 arg5 = (long) SWIG_AsLong(obj4);
8898 if (PyErr_Occurred()) SWIG_fail;
8899 }
8900 if (obj5) {
8901 {
8902 arg6 = wxString_in_helper(obj5);
8903 if (arg6 == NULL) SWIG_fail;
8904 temp6 = True;
8905 }
8906 }
8907 {
8908 PyThreadState* __tstate = wxPyBeginAllowThreads();
8909 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8910
8911 wxPyEndAllowThreads(__tstate);
8912 if (PyErr_Occurred()) SWIG_fail;
8913 }
8914 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
8915 {
8916 if (temp6)
8917 delete arg6;
8918 }
8919 return resultobj;
8920 fail:
8921 {
8922 if (temp6)
8923 delete arg6;
8924 }
8925 return NULL;
8926 }
8927
8928
8929 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8930 PyObject *resultobj;
8931 wxPyVScrolledWindow *result;
8932 char *kwnames[] = {
8933 NULL
8934 };
8935
8936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
8937 {
8938 PyThreadState* __tstate = wxPyBeginAllowThreads();
8939 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
8940
8941 wxPyEndAllowThreads(__tstate);
8942 if (PyErr_Occurred()) SWIG_fail;
8943 }
8944 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
8945 return resultobj;
8946 fail:
8947 return NULL;
8948 }
8949
8950
8951 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8952 PyObject *resultobj;
8953 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8954 PyObject *arg2 = (PyObject *) 0 ;
8955 PyObject *arg3 = (PyObject *) 0 ;
8956 PyObject * obj0 = 0 ;
8957 PyObject * obj1 = 0 ;
8958 PyObject * obj2 = 0 ;
8959 char *kwnames[] = {
8960 (char *) "self",(char *) "self",(char *) "_class", NULL
8961 };
8962
8963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8966 arg2 = obj1;
8967 arg3 = obj2;
8968 {
8969 PyThreadState* __tstate = wxPyBeginAllowThreads();
8970 (arg1)->_setCallbackInfo(arg2,arg3);
8971
8972 wxPyEndAllowThreads(__tstate);
8973 if (PyErr_Occurred()) SWIG_fail;
8974 }
8975 Py_INCREF(Py_None); resultobj = Py_None;
8976 return resultobj;
8977 fail:
8978 return NULL;
8979 }
8980
8981
8982 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8983 PyObject *resultobj;
8984 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8985 wxWindow *arg2 = (wxWindow *) 0 ;
8986 int arg3 = (int) wxID_ANY ;
8987 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8988 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8989 wxSize const &arg5_defvalue = wxDefaultSize ;
8990 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8991 long arg6 = (long) 0 ;
8992 wxString const &arg7_defvalue = wxPyPanelNameStr ;
8993 wxString *arg7 = (wxString *) &arg7_defvalue ;
8994 bool result;
8995 wxPoint temp4 ;
8996 wxSize temp5 ;
8997 bool temp7 = False ;
8998 PyObject * obj0 = 0 ;
8999 PyObject * obj1 = 0 ;
9000 PyObject * obj2 = 0 ;
9001 PyObject * obj3 = 0 ;
9002 PyObject * obj4 = 0 ;
9003 PyObject * obj5 = 0 ;
9004 PyObject * obj6 = 0 ;
9005 char *kwnames[] = {
9006 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9007 };
9008
9009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9012 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9014 if (obj2) {
9015 arg3 = (int) SWIG_AsInt(obj2);
9016 if (PyErr_Occurred()) SWIG_fail;
9017 }
9018 if (obj3) {
9019 {
9020 arg4 = &temp4;
9021 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9022 }
9023 }
9024 if (obj4) {
9025 {
9026 arg5 = &temp5;
9027 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9028 }
9029 }
9030 if (obj5) {
9031 arg6 = (long) SWIG_AsLong(obj5);
9032 if (PyErr_Occurred()) SWIG_fail;
9033 }
9034 if (obj6) {
9035 {
9036 arg7 = wxString_in_helper(obj6);
9037 if (arg7 == NULL) SWIG_fail;
9038 temp7 = True;
9039 }
9040 }
9041 {
9042 PyThreadState* __tstate = wxPyBeginAllowThreads();
9043 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9044
9045 wxPyEndAllowThreads(__tstate);
9046 if (PyErr_Occurred()) SWIG_fail;
9047 }
9048 {
9049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9050 }
9051 {
9052 if (temp7)
9053 delete arg7;
9054 }
9055 return resultobj;
9056 fail:
9057 {
9058 if (temp7)
9059 delete arg7;
9060 }
9061 return NULL;
9062 }
9063
9064
9065 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9066 PyObject *resultobj;
9067 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9068 size_t arg2 ;
9069 PyObject * obj0 = 0 ;
9070 PyObject * obj1 = 0 ;
9071 char *kwnames[] = {
9072 (char *) "self",(char *) "count", NULL
9073 };
9074
9075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
9076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9078 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9079 if (PyErr_Occurred()) SWIG_fail;
9080 {
9081 PyThreadState* __tstate = wxPyBeginAllowThreads();
9082 (arg1)->SetLineCount(arg2);
9083
9084 wxPyEndAllowThreads(__tstate);
9085 if (PyErr_Occurred()) SWIG_fail;
9086 }
9087 Py_INCREF(Py_None); resultobj = Py_None;
9088 return resultobj;
9089 fail:
9090 return NULL;
9091 }
9092
9093
9094 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9095 PyObject *resultobj;
9096 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9097 size_t arg2 ;
9098 bool result;
9099 PyObject * obj0 = 0 ;
9100 PyObject * obj1 = 0 ;
9101 char *kwnames[] = {
9102 (char *) "self",(char *) "line", NULL
9103 };
9104
9105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
9106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9108 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9109 if (PyErr_Occurred()) SWIG_fail;
9110 {
9111 PyThreadState* __tstate = wxPyBeginAllowThreads();
9112 result = (bool)(arg1)->ScrollToLine(arg2);
9113
9114 wxPyEndAllowThreads(__tstate);
9115 if (PyErr_Occurred()) SWIG_fail;
9116 }
9117 {
9118 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9119 }
9120 return resultobj;
9121 fail:
9122 return NULL;
9123 }
9124
9125
9126 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9127 PyObject *resultobj;
9128 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9129 int arg2 ;
9130 bool result;
9131 PyObject * obj0 = 0 ;
9132 PyObject * obj1 = 0 ;
9133 char *kwnames[] = {
9134 (char *) "self",(char *) "lines", NULL
9135 };
9136
9137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
9138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9140 arg2 = (int) SWIG_AsInt(obj1);
9141 if (PyErr_Occurred()) SWIG_fail;
9142 {
9143 PyThreadState* __tstate = wxPyBeginAllowThreads();
9144 result = (bool)(arg1)->ScrollLines(arg2);
9145
9146 wxPyEndAllowThreads(__tstate);
9147 if (PyErr_Occurred()) SWIG_fail;
9148 }
9149 {
9150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9151 }
9152 return resultobj;
9153 fail:
9154 return NULL;
9155 }
9156
9157
9158 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
9159 PyObject *resultobj;
9160 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9161 int arg2 ;
9162 bool result;
9163 PyObject * obj0 = 0 ;
9164 PyObject * obj1 = 0 ;
9165 char *kwnames[] = {
9166 (char *) "self",(char *) "pages", NULL
9167 };
9168
9169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
9170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9172 arg2 = (int) SWIG_AsInt(obj1);
9173 if (PyErr_Occurred()) SWIG_fail;
9174 {
9175 PyThreadState* __tstate = wxPyBeginAllowThreads();
9176 result = (bool)(arg1)->ScrollPages(arg2);
9177
9178 wxPyEndAllowThreads(__tstate);
9179 if (PyErr_Occurred()) SWIG_fail;
9180 }
9181 {
9182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9183 }
9184 return resultobj;
9185 fail:
9186 return NULL;
9187 }
9188
9189
9190 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9191 PyObject *resultobj;
9192 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9193 size_t arg2 ;
9194 PyObject * obj0 = 0 ;
9195 PyObject * obj1 = 0 ;
9196 char *kwnames[] = {
9197 (char *) "self",(char *) "line", NULL
9198 };
9199
9200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9203 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9204 if (PyErr_Occurred()) SWIG_fail;
9205 {
9206 PyThreadState* __tstate = wxPyBeginAllowThreads();
9207 (arg1)->RefreshLine(arg2);
9208
9209 wxPyEndAllowThreads(__tstate);
9210 if (PyErr_Occurred()) SWIG_fail;
9211 }
9212 Py_INCREF(Py_None); resultobj = Py_None;
9213 return resultobj;
9214 fail:
9215 return NULL;
9216 }
9217
9218
9219 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9220 PyObject *resultobj;
9221 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9222 size_t arg2 ;
9223 size_t arg3 ;
9224 PyObject * obj0 = 0 ;
9225 PyObject * obj1 = 0 ;
9226 PyObject * obj2 = 0 ;
9227 char *kwnames[] = {
9228 (char *) "self",(char *) "from",(char *) "to", NULL
9229 };
9230
9231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9234 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9235 if (PyErr_Occurred()) SWIG_fail;
9236 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9237 if (PyErr_Occurred()) SWIG_fail;
9238 {
9239 PyThreadState* __tstate = wxPyBeginAllowThreads();
9240 (arg1)->RefreshLines(arg2,arg3);
9241
9242 wxPyEndAllowThreads(__tstate);
9243 if (PyErr_Occurred()) SWIG_fail;
9244 }
9245 Py_INCREF(Py_None); resultobj = Py_None;
9246 return resultobj;
9247 fail:
9248 return NULL;
9249 }
9250
9251
9252 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
9253 PyObject *resultobj;
9254 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9255 int arg2 ;
9256 int arg3 ;
9257 int result;
9258 PyObject * obj0 = 0 ;
9259 PyObject * obj1 = 0 ;
9260 PyObject * obj2 = 0 ;
9261 char *kwnames[] = {
9262 (char *) "self",(char *) "x",(char *) "y", NULL
9263 };
9264
9265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail;
9266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9268 arg2 = (int) SWIG_AsInt(obj1);
9269 if (PyErr_Occurred()) SWIG_fail;
9270 arg3 = (int) SWIG_AsInt(obj2);
9271 if (PyErr_Occurred()) SWIG_fail;
9272 {
9273 PyThreadState* __tstate = wxPyBeginAllowThreads();
9274 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9275
9276 wxPyEndAllowThreads(__tstate);
9277 if (PyErr_Occurred()) SWIG_fail;
9278 }
9279 resultobj = SWIG_FromInt((int)result);
9280 return resultobj;
9281 fail:
9282 return NULL;
9283 }
9284
9285
9286 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9287 PyObject *resultobj;
9288 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9289 wxPoint *arg2 = 0 ;
9290 int result;
9291 wxPoint temp2 ;
9292 PyObject * obj0 = 0 ;
9293 PyObject * obj1 = 0 ;
9294 char *kwnames[] = {
9295 (char *) "self",(char *) "pt", NULL
9296 };
9297
9298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9301 {
9302 arg2 = &temp2;
9303 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9304 }
9305 {
9306 PyThreadState* __tstate = wxPyBeginAllowThreads();
9307 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9308
9309 wxPyEndAllowThreads(__tstate);
9310 if (PyErr_Occurred()) SWIG_fail;
9311 }
9312 resultobj = SWIG_FromInt((int)result);
9313 return resultobj;
9314 fail:
9315 return NULL;
9316 }
9317
9318
9319 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9320 PyObject *resultobj;
9321 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9322 PyObject * obj0 = 0 ;
9323 char *kwnames[] = {
9324 (char *) "self", NULL
9325 };
9326
9327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9330 {
9331 PyThreadState* __tstate = wxPyBeginAllowThreads();
9332 (arg1)->RefreshAll();
9333
9334 wxPyEndAllowThreads(__tstate);
9335 if (PyErr_Occurred()) SWIG_fail;
9336 }
9337 Py_INCREF(Py_None); resultobj = Py_None;
9338 return resultobj;
9339 fail:
9340 return NULL;
9341 }
9342
9343
9344 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9345 PyObject *resultobj;
9346 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9347 size_t result;
9348 PyObject * obj0 = 0 ;
9349 char *kwnames[] = {
9350 (char *) "self", NULL
9351 };
9352
9353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9356 {
9357 PyThreadState* __tstate = wxPyBeginAllowThreads();
9358 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9359
9360 wxPyEndAllowThreads(__tstate);
9361 if (PyErr_Occurred()) SWIG_fail;
9362 }
9363 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9364 return resultobj;
9365 fail:
9366 return NULL;
9367 }
9368
9369
9370 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9371 PyObject *resultobj;
9372 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9373 size_t result;
9374 PyObject * obj0 = 0 ;
9375 char *kwnames[] = {
9376 (char *) "self", NULL
9377 };
9378
9379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9382 {
9383 PyThreadState* __tstate = wxPyBeginAllowThreads();
9384 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9385
9386 wxPyEndAllowThreads(__tstate);
9387 if (PyErr_Occurred()) SWIG_fail;
9388 }
9389 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9390 return resultobj;
9391 fail:
9392 return NULL;
9393 }
9394
9395
9396 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9397 PyObject *resultobj;
9398 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9399 size_t result;
9400 PyObject * obj0 = 0 ;
9401 char *kwnames[] = {
9402 (char *) "self", NULL
9403 };
9404
9405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9408 {
9409 PyThreadState* __tstate = wxPyBeginAllowThreads();
9410 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9411
9412 wxPyEndAllowThreads(__tstate);
9413 if (PyErr_Occurred()) SWIG_fail;
9414 }
9415 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9416 return resultobj;
9417 fail:
9418 return NULL;
9419 }
9420
9421
9422 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9423 PyObject *resultobj;
9424 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9425 size_t arg2 ;
9426 bool result;
9427 PyObject * obj0 = 0 ;
9428 PyObject * obj1 = 0 ;
9429 char *kwnames[] = {
9430 (char *) "self",(char *) "line", NULL
9431 };
9432
9433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9436 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9437 if (PyErr_Occurred()) SWIG_fail;
9438 {
9439 PyThreadState* __tstate = wxPyBeginAllowThreads();
9440 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9441
9442 wxPyEndAllowThreads(__tstate);
9443 if (PyErr_Occurred()) SWIG_fail;
9444 }
9445 {
9446 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9447 }
9448 return resultobj;
9449 fail:
9450 return NULL;
9451 }
9452
9453
9454 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
9455 PyObject *obj;
9456 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9457 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9458 Py_INCREF(obj);
9459 return Py_BuildValue((char *)"");
9460 }
9461 static int _wrap_VListBoxNameStr_set(PyObject *_val) {
9462 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9463 return 1;
9464 }
9465
9466
9467 static PyObject *_wrap_VListBoxNameStr_get() {
9468 PyObject *pyobj;
9469
9470 {
9471 #if wxUSE_UNICODE
9472 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9473 #else
9474 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9475 #endif
9476 }
9477 return pyobj;
9478 }
9479
9480
9481 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9482 PyObject *resultobj;
9483 wxWindow *arg1 = (wxWindow *) 0 ;
9484 int arg2 = (int) wxID_ANY ;
9485 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9486 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9487 wxSize const &arg4_defvalue = wxDefaultSize ;
9488 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9489 long arg5 = (long) 0 ;
9490 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9491 wxString *arg6 = (wxString *) &arg6_defvalue ;
9492 wxPyVListBox *result;
9493 wxPoint temp3 ;
9494 wxSize temp4 ;
9495 bool temp6 = False ;
9496 PyObject * obj0 = 0 ;
9497 PyObject * obj1 = 0 ;
9498 PyObject * obj2 = 0 ;
9499 PyObject * obj3 = 0 ;
9500 PyObject * obj4 = 0 ;
9501 PyObject * obj5 = 0 ;
9502 char *kwnames[] = {
9503 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9504 };
9505
9506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9509 if (obj1) {
9510 arg2 = (int) SWIG_AsInt(obj1);
9511 if (PyErr_Occurred()) SWIG_fail;
9512 }
9513 if (obj2) {
9514 {
9515 arg3 = &temp3;
9516 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9517 }
9518 }
9519 if (obj3) {
9520 {
9521 arg4 = &temp4;
9522 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9523 }
9524 }
9525 if (obj4) {
9526 arg5 = (long) SWIG_AsLong(obj4);
9527 if (PyErr_Occurred()) SWIG_fail;
9528 }
9529 if (obj5) {
9530 {
9531 arg6 = wxString_in_helper(obj5);
9532 if (arg6 == NULL) SWIG_fail;
9533 temp6 = True;
9534 }
9535 }
9536 {
9537 PyThreadState* __tstate = wxPyBeginAllowThreads();
9538 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9539
9540 wxPyEndAllowThreads(__tstate);
9541 if (PyErr_Occurred()) SWIG_fail;
9542 }
9543 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9544 {
9545 if (temp6)
9546 delete arg6;
9547 }
9548 return resultobj;
9549 fail:
9550 {
9551 if (temp6)
9552 delete arg6;
9553 }
9554 return NULL;
9555 }
9556
9557
9558 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9559 PyObject *resultobj;
9560 wxPyVListBox *result;
9561 char *kwnames[] = {
9562 NULL
9563 };
9564
9565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9566 {
9567 PyThreadState* __tstate = wxPyBeginAllowThreads();
9568 result = (wxPyVListBox *)new wxPyVListBox();
9569
9570 wxPyEndAllowThreads(__tstate);
9571 if (PyErr_Occurred()) SWIG_fail;
9572 }
9573 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9574 return resultobj;
9575 fail:
9576 return NULL;
9577 }
9578
9579
9580 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9581 PyObject *resultobj;
9582 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9583 PyObject *arg2 = (PyObject *) 0 ;
9584 PyObject *arg3 = (PyObject *) 0 ;
9585 PyObject * obj0 = 0 ;
9586 PyObject * obj1 = 0 ;
9587 PyObject * obj2 = 0 ;
9588 char *kwnames[] = {
9589 (char *) "self",(char *) "self",(char *) "_class", NULL
9590 };
9591
9592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9595 arg2 = obj1;
9596 arg3 = obj2;
9597 {
9598 PyThreadState* __tstate = wxPyBeginAllowThreads();
9599 (arg1)->_setCallbackInfo(arg2,arg3);
9600
9601 wxPyEndAllowThreads(__tstate);
9602 if (PyErr_Occurred()) SWIG_fail;
9603 }
9604 Py_INCREF(Py_None); resultobj = Py_None;
9605 return resultobj;
9606 fail:
9607 return NULL;
9608 }
9609
9610
9611 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9612 PyObject *resultobj;
9613 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9614 wxWindow *arg2 = (wxWindow *) 0 ;
9615 int arg3 = (int) wxID_ANY ;
9616 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9617 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9618 wxSize const &arg5_defvalue = wxDefaultSize ;
9619 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9620 long arg6 = (long) 0 ;
9621 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9622 wxString *arg7 = (wxString *) &arg7_defvalue ;
9623 bool result;
9624 wxPoint temp4 ;
9625 wxSize temp5 ;
9626 bool temp7 = False ;
9627 PyObject * obj0 = 0 ;
9628 PyObject * obj1 = 0 ;
9629 PyObject * obj2 = 0 ;
9630 PyObject * obj3 = 0 ;
9631 PyObject * obj4 = 0 ;
9632 PyObject * obj5 = 0 ;
9633 PyObject * obj6 = 0 ;
9634 char *kwnames[] = {
9635 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9636 };
9637
9638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9641 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9643 if (obj2) {
9644 arg3 = (int) SWIG_AsInt(obj2);
9645 if (PyErr_Occurred()) SWIG_fail;
9646 }
9647 if (obj3) {
9648 {
9649 arg4 = &temp4;
9650 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9651 }
9652 }
9653 if (obj4) {
9654 {
9655 arg5 = &temp5;
9656 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9657 }
9658 }
9659 if (obj5) {
9660 arg6 = (long) SWIG_AsLong(obj5);
9661 if (PyErr_Occurred()) SWIG_fail;
9662 }
9663 if (obj6) {
9664 {
9665 arg7 = wxString_in_helper(obj6);
9666 if (arg7 == NULL) SWIG_fail;
9667 temp7 = True;
9668 }
9669 }
9670 {
9671 PyThreadState* __tstate = wxPyBeginAllowThreads();
9672 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9673
9674 wxPyEndAllowThreads(__tstate);
9675 if (PyErr_Occurred()) SWIG_fail;
9676 }
9677 {
9678 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9679 }
9680 {
9681 if (temp7)
9682 delete arg7;
9683 }
9684 return resultobj;
9685 fail:
9686 {
9687 if (temp7)
9688 delete arg7;
9689 }
9690 return NULL;
9691 }
9692
9693
9694 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9695 PyObject *resultobj;
9696 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9697 size_t result;
9698 PyObject * obj0 = 0 ;
9699 char *kwnames[] = {
9700 (char *) "self", NULL
9701 };
9702
9703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
9704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9706 {
9707 PyThreadState* __tstate = wxPyBeginAllowThreads();
9708 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
9709
9710 wxPyEndAllowThreads(__tstate);
9711 if (PyErr_Occurred()) SWIG_fail;
9712 }
9713 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9714 return resultobj;
9715 fail:
9716 return NULL;
9717 }
9718
9719
9720 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9721 PyObject *resultobj;
9722 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9723 bool result;
9724 PyObject * obj0 = 0 ;
9725 char *kwnames[] = {
9726 (char *) "self", NULL
9727 };
9728
9729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
9730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9732 {
9733 PyThreadState* __tstate = wxPyBeginAllowThreads();
9734 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
9735
9736 wxPyEndAllowThreads(__tstate);
9737 if (PyErr_Occurred()) SWIG_fail;
9738 }
9739 {
9740 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9741 }
9742 return resultobj;
9743 fail:
9744 return NULL;
9745 }
9746
9747
9748 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9749 PyObject *resultobj;
9750 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9751 int result;
9752 PyObject * obj0 = 0 ;
9753 char *kwnames[] = {
9754 (char *) "self", NULL
9755 };
9756
9757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
9758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9760 {
9761 PyThreadState* __tstate = wxPyBeginAllowThreads();
9762 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
9763
9764 wxPyEndAllowThreads(__tstate);
9765 if (PyErr_Occurred()) SWIG_fail;
9766 }
9767 resultobj = SWIG_FromInt((int)result);
9768 return resultobj;
9769 fail:
9770 return NULL;
9771 }
9772
9773
9774 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
9775 PyObject *resultobj;
9776 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9777 size_t arg2 ;
9778 bool result;
9779 PyObject * obj0 = 0 ;
9780 PyObject * obj1 = 0 ;
9781 char *kwnames[] = {
9782 (char *) "self",(char *) "item", NULL
9783 };
9784
9785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
9786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9788 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9789 if (PyErr_Occurred()) SWIG_fail;
9790 {
9791 PyThreadState* __tstate = wxPyBeginAllowThreads();
9792 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
9793
9794 wxPyEndAllowThreads(__tstate);
9795 if (PyErr_Occurred()) SWIG_fail;
9796 }
9797 {
9798 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9799 }
9800 return resultobj;
9801 fail:
9802 return NULL;
9803 }
9804
9805
9806 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9807 PyObject *resultobj;
9808 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9809 size_t arg2 ;
9810 bool result;
9811 PyObject * obj0 = 0 ;
9812 PyObject * obj1 = 0 ;
9813 char *kwnames[] = {
9814 (char *) "self",(char *) "item", NULL
9815 };
9816
9817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
9818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9820 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9821 if (PyErr_Occurred()) SWIG_fail;
9822 {
9823 PyThreadState* __tstate = wxPyBeginAllowThreads();
9824 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
9825
9826 wxPyEndAllowThreads(__tstate);
9827 if (PyErr_Occurred()) SWIG_fail;
9828 }
9829 {
9830 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9831 }
9832 return resultobj;
9833 fail:
9834 return NULL;
9835 }
9836
9837
9838 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9839 PyObject *resultobj;
9840 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9841 size_t result;
9842 PyObject * obj0 = 0 ;
9843 char *kwnames[] = {
9844 (char *) "self", NULL
9845 };
9846
9847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
9848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9850 {
9851 PyThreadState* __tstate = wxPyBeginAllowThreads();
9852 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
9853
9854 wxPyEndAllowThreads(__tstate);
9855 if (PyErr_Occurred()) SWIG_fail;
9856 }
9857 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9858 return resultobj;
9859 fail:
9860 return NULL;
9861 }
9862
9863
9864 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9865 PyObject *resultobj;
9866 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9867 unsigned long *arg2 = 0 ;
9868 int result;
9869 PyObject * obj0 = 0 ;
9870 PyObject * obj1 = 0 ;
9871 char *kwnames[] = {
9872 (char *) "self",(char *) "cookie", NULL
9873 };
9874
9875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
9876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9878 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9879 SWIG_POINTER_EXCEPTION | 0)) == -1)
9880 SWIG_fail;
9881 if (arg2 == NULL) {
9882 PyErr_SetString(PyExc_TypeError,"null reference");
9883 SWIG_fail;
9884 }
9885 {
9886 PyThreadState* __tstate = wxPyBeginAllowThreads();
9887 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
9888
9889 wxPyEndAllowThreads(__tstate);
9890 if (PyErr_Occurred()) SWIG_fail;
9891 }
9892 resultobj = SWIG_FromInt((int)result);
9893 return resultobj;
9894 fail:
9895 return NULL;
9896 }
9897
9898
9899 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9900 PyObject *resultobj;
9901 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9902 unsigned long *arg2 = 0 ;
9903 int result;
9904 PyObject * obj0 = 0 ;
9905 PyObject * obj1 = 0 ;
9906 char *kwnames[] = {
9907 (char *) "self",(char *) "cookie", NULL
9908 };
9909
9910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
9911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9913 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9914 SWIG_POINTER_EXCEPTION | 0)) == -1)
9915 SWIG_fail;
9916 if (arg2 == NULL) {
9917 PyErr_SetString(PyExc_TypeError,"null reference");
9918 SWIG_fail;
9919 }
9920 {
9921 PyThreadState* __tstate = wxPyBeginAllowThreads();
9922 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
9923
9924 wxPyEndAllowThreads(__tstate);
9925 if (PyErr_Occurred()) SWIG_fail;
9926 }
9927 resultobj = SWIG_FromInt((int)result);
9928 return resultobj;
9929 fail:
9930 return NULL;
9931 }
9932
9933
9934 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9935 PyObject *resultobj;
9936 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9937 wxPoint result;
9938 PyObject * obj0 = 0 ;
9939 char *kwnames[] = {
9940 (char *) "self", NULL
9941 };
9942
9943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
9944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9946 {
9947 PyThreadState* __tstate = wxPyBeginAllowThreads();
9948 result = ((wxPyVListBox const *)arg1)->GetMargins();
9949
9950 wxPyEndAllowThreads(__tstate);
9951 if (PyErr_Occurred()) SWIG_fail;
9952 }
9953 {
9954 wxPoint * resultptr;
9955 resultptr = new wxPoint((wxPoint &) result);
9956 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
9957 }
9958 return resultobj;
9959 fail:
9960 return NULL;
9961 }
9962
9963
9964 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9965 PyObject *resultobj;
9966 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9967 wxColour *result;
9968 PyObject * obj0 = 0 ;
9969 char *kwnames[] = {
9970 (char *) "self", NULL
9971 };
9972
9973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
9974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9976 {
9977 PyThreadState* __tstate = wxPyBeginAllowThreads();
9978 {
9979 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
9980 result = (wxColour *) &_result_ref;
9981 }
9982
9983 wxPyEndAllowThreads(__tstate);
9984 if (PyErr_Occurred()) SWIG_fail;
9985 }
9986 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9987 return resultobj;
9988 fail:
9989 return NULL;
9990 }
9991
9992
9993 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9994 PyObject *resultobj;
9995 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9996 size_t arg2 ;
9997 PyObject * obj0 = 0 ;
9998 PyObject * obj1 = 0 ;
9999 char *kwnames[] = {
10000 (char *) "self",(char *) "count", NULL
10001 };
10002
10003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10006 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10007 if (PyErr_Occurred()) SWIG_fail;
10008 {
10009 PyThreadState* __tstate = wxPyBeginAllowThreads();
10010 (arg1)->SetItemCount(arg2);
10011
10012 wxPyEndAllowThreads(__tstate);
10013 if (PyErr_Occurred()) SWIG_fail;
10014 }
10015 Py_INCREF(Py_None); resultobj = Py_None;
10016 return resultobj;
10017 fail:
10018 return NULL;
10019 }
10020
10021
10022 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
10023 PyObject *resultobj;
10024 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10025 PyObject * obj0 = 0 ;
10026 char *kwnames[] = {
10027 (char *) "self", NULL
10028 };
10029
10030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
10031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10033 {
10034 PyThreadState* __tstate = wxPyBeginAllowThreads();
10035 (arg1)->Clear();
10036
10037 wxPyEndAllowThreads(__tstate);
10038 if (PyErr_Occurred()) SWIG_fail;
10039 }
10040 Py_INCREF(Py_None); resultobj = Py_None;
10041 return resultobj;
10042 fail:
10043 return NULL;
10044 }
10045
10046
10047 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10048 PyObject *resultobj;
10049 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10050 int arg2 ;
10051 PyObject * obj0 = 0 ;
10052 PyObject * obj1 = 0 ;
10053 char *kwnames[] = {
10054 (char *) "self",(char *) "selection", NULL
10055 };
10056
10057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
10058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10060 arg2 = (int) SWIG_AsInt(obj1);
10061 if (PyErr_Occurred()) SWIG_fail;
10062 {
10063 PyThreadState* __tstate = wxPyBeginAllowThreads();
10064 (arg1)->SetSelection(arg2);
10065
10066 wxPyEndAllowThreads(__tstate);
10067 if (PyErr_Occurred()) SWIG_fail;
10068 }
10069 Py_INCREF(Py_None); resultobj = Py_None;
10070 return resultobj;
10071 fail:
10072 return NULL;
10073 }
10074
10075
10076 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
10077 PyObject *resultobj;
10078 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10079 size_t arg2 ;
10080 bool arg3 = (bool) True ;
10081 bool result;
10082 PyObject * obj0 = 0 ;
10083 PyObject * obj1 = 0 ;
10084 PyObject * obj2 = 0 ;
10085 char *kwnames[] = {
10086 (char *) "self",(char *) "item",(char *) "select", NULL
10087 };
10088
10089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
10090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10092 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10093 if (PyErr_Occurred()) SWIG_fail;
10094 if (obj2) {
10095 arg3 = (bool) SWIG_AsBool(obj2);
10096 if (PyErr_Occurred()) SWIG_fail;
10097 }
10098 {
10099 PyThreadState* __tstate = wxPyBeginAllowThreads();
10100 result = (bool)(arg1)->Select(arg2,arg3);
10101
10102 wxPyEndAllowThreads(__tstate);
10103 if (PyErr_Occurred()) SWIG_fail;
10104 }
10105 {
10106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10107 }
10108 return resultobj;
10109 fail:
10110 return NULL;
10111 }
10112
10113
10114 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10115 PyObject *resultobj;
10116 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10117 size_t arg2 ;
10118 size_t arg3 ;
10119 bool result;
10120 PyObject * obj0 = 0 ;
10121 PyObject * obj1 = 0 ;
10122 PyObject * obj2 = 0 ;
10123 char *kwnames[] = {
10124 (char *) "self",(char *) "from",(char *) "to", NULL
10125 };
10126
10127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10130 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10131 if (PyErr_Occurred()) SWIG_fail;
10132 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
10133 if (PyErr_Occurred()) SWIG_fail;
10134 {
10135 PyThreadState* __tstate = wxPyBeginAllowThreads();
10136 result = (bool)(arg1)->SelectRange(arg2,arg3);
10137
10138 wxPyEndAllowThreads(__tstate);
10139 if (PyErr_Occurred()) SWIG_fail;
10140 }
10141 {
10142 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10143 }
10144 return resultobj;
10145 fail:
10146 return NULL;
10147 }
10148
10149
10150 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
10151 PyObject *resultobj;
10152 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10153 size_t arg2 ;
10154 PyObject * obj0 = 0 ;
10155 PyObject * obj1 = 0 ;
10156 char *kwnames[] = {
10157 (char *) "self",(char *) "item", NULL
10158 };
10159
10160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
10161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10163 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10164 if (PyErr_Occurred()) SWIG_fail;
10165 {
10166 PyThreadState* __tstate = wxPyBeginAllowThreads();
10167 (arg1)->Toggle(arg2);
10168
10169 wxPyEndAllowThreads(__tstate);
10170 if (PyErr_Occurred()) SWIG_fail;
10171 }
10172 Py_INCREF(Py_None); resultobj = Py_None;
10173 return resultobj;
10174 fail:
10175 return NULL;
10176 }
10177
10178
10179 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10180 PyObject *resultobj;
10181 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10182 bool result;
10183 PyObject * obj0 = 0 ;
10184 char *kwnames[] = {
10185 (char *) "self", NULL
10186 };
10187
10188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10191 {
10192 PyThreadState* __tstate = wxPyBeginAllowThreads();
10193 result = (bool)(arg1)->SelectAll();
10194
10195 wxPyEndAllowThreads(__tstate);
10196 if (PyErr_Occurred()) SWIG_fail;
10197 }
10198 {
10199 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10200 }
10201 return resultobj;
10202 fail:
10203 return NULL;
10204 }
10205
10206
10207 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10208 PyObject *resultobj;
10209 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10210 bool result;
10211 PyObject * obj0 = 0 ;
10212 char *kwnames[] = {
10213 (char *) "self", NULL
10214 };
10215
10216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10219 {
10220 PyThreadState* __tstate = wxPyBeginAllowThreads();
10221 result = (bool)(arg1)->DeselectAll();
10222
10223 wxPyEndAllowThreads(__tstate);
10224 if (PyErr_Occurred()) SWIG_fail;
10225 }
10226 {
10227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10228 }
10229 return resultobj;
10230 fail:
10231 return NULL;
10232 }
10233
10234
10235 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10236 PyObject *resultobj;
10237 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10238 wxPoint *arg2 = 0 ;
10239 wxPoint temp2 ;
10240 PyObject * obj0 = 0 ;
10241 PyObject * obj1 = 0 ;
10242 char *kwnames[] = {
10243 (char *) "self",(char *) "pt", NULL
10244 };
10245
10246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10249 {
10250 arg2 = &temp2;
10251 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10252 }
10253 {
10254 PyThreadState* __tstate = wxPyBeginAllowThreads();
10255 (arg1)->SetMargins((wxPoint const &)*arg2);
10256
10257 wxPyEndAllowThreads(__tstate);
10258 if (PyErr_Occurred()) SWIG_fail;
10259 }
10260 Py_INCREF(Py_None); resultobj = Py_None;
10261 return resultobj;
10262 fail:
10263 return NULL;
10264 }
10265
10266
10267 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
10268 PyObject *resultobj;
10269 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10270 int arg2 ;
10271 int arg3 ;
10272 PyObject * obj0 = 0 ;
10273 PyObject * obj1 = 0 ;
10274 PyObject * obj2 = 0 ;
10275 char *kwnames[] = {
10276 (char *) "self",(char *) "x",(char *) "y", NULL
10277 };
10278
10279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10282 arg2 = (int) SWIG_AsInt(obj1);
10283 if (PyErr_Occurred()) SWIG_fail;
10284 arg3 = (int) SWIG_AsInt(obj2);
10285 if (PyErr_Occurred()) SWIG_fail;
10286 {
10287 PyThreadState* __tstate = wxPyBeginAllowThreads();
10288 (arg1)->SetMargins(arg2,arg3);
10289
10290 wxPyEndAllowThreads(__tstate);
10291 if (PyErr_Occurred()) SWIG_fail;
10292 }
10293 Py_INCREF(Py_None); resultobj = Py_None;
10294 return resultobj;
10295 fail:
10296 return NULL;
10297 }
10298
10299
10300 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10301 PyObject *resultobj;
10302 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10303 wxColour *arg2 = 0 ;
10304 wxColour temp2 ;
10305 PyObject * obj0 = 0 ;
10306 PyObject * obj1 = 0 ;
10307 char *kwnames[] = {
10308 (char *) "self",(char *) "col", NULL
10309 };
10310
10311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10314 {
10315 arg2 = &temp2;
10316 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10317 }
10318 {
10319 PyThreadState* __tstate = wxPyBeginAllowThreads();
10320 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10321
10322 wxPyEndAllowThreads(__tstate);
10323 if (PyErr_Occurred()) SWIG_fail;
10324 }
10325 Py_INCREF(Py_None); resultobj = Py_None;
10326 return resultobj;
10327 fail:
10328 return NULL;
10329 }
10330
10331
10332 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
10333 PyObject *obj;
10334 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10335 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10336 Py_INCREF(obj);
10337 return Py_BuildValue((char *)"");
10338 }
10339 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10340 PyObject *resultobj;
10341 wxWindow *arg1 = (wxWindow *) 0 ;
10342 int arg2 = (int) wxID_ANY ;
10343 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10344 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10345 wxSize const &arg4_defvalue = wxDefaultSize ;
10346 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10347 long arg5 = (long) 0 ;
10348 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10349 wxString *arg6 = (wxString *) &arg6_defvalue ;
10350 wxPyHtmlListBox *result;
10351 wxPoint temp3 ;
10352 wxSize temp4 ;
10353 bool temp6 = False ;
10354 PyObject * obj0 = 0 ;
10355 PyObject * obj1 = 0 ;
10356 PyObject * obj2 = 0 ;
10357 PyObject * obj3 = 0 ;
10358 PyObject * obj4 = 0 ;
10359 PyObject * obj5 = 0 ;
10360 char *kwnames[] = {
10361 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10362 };
10363
10364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10367 if (obj1) {
10368 arg2 = (int) SWIG_AsInt(obj1);
10369 if (PyErr_Occurred()) SWIG_fail;
10370 }
10371 if (obj2) {
10372 {
10373 arg3 = &temp3;
10374 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10375 }
10376 }
10377 if (obj3) {
10378 {
10379 arg4 = &temp4;
10380 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10381 }
10382 }
10383 if (obj4) {
10384 arg5 = (long) SWIG_AsLong(obj4);
10385 if (PyErr_Occurred()) SWIG_fail;
10386 }
10387 if (obj5) {
10388 {
10389 arg6 = wxString_in_helper(obj5);
10390 if (arg6 == NULL) SWIG_fail;
10391 temp6 = True;
10392 }
10393 }
10394 {
10395 PyThreadState* __tstate = wxPyBeginAllowThreads();
10396 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10397
10398 wxPyEndAllowThreads(__tstate);
10399 if (PyErr_Occurred()) SWIG_fail;
10400 }
10401 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10402 {
10403 if (temp6)
10404 delete arg6;
10405 }
10406 return resultobj;
10407 fail:
10408 {
10409 if (temp6)
10410 delete arg6;
10411 }
10412 return NULL;
10413 }
10414
10415
10416 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10417 PyObject *resultobj;
10418 wxPyHtmlListBox *result;
10419 char *kwnames[] = {
10420 NULL
10421 };
10422
10423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10424 {
10425 PyThreadState* __tstate = wxPyBeginAllowThreads();
10426 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10427
10428 wxPyEndAllowThreads(__tstate);
10429 if (PyErr_Occurred()) SWIG_fail;
10430 }
10431 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10432 return resultobj;
10433 fail:
10434 return NULL;
10435 }
10436
10437
10438 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10439 PyObject *resultobj;
10440 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10441 PyObject *arg2 = (PyObject *) 0 ;
10442 PyObject *arg3 = (PyObject *) 0 ;
10443 PyObject * obj0 = 0 ;
10444 PyObject * obj1 = 0 ;
10445 PyObject * obj2 = 0 ;
10446 char *kwnames[] = {
10447 (char *) "self",(char *) "self",(char *) "_class", NULL
10448 };
10449
10450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10453 arg2 = obj1;
10454 arg3 = obj2;
10455 {
10456 PyThreadState* __tstate = wxPyBeginAllowThreads();
10457 (arg1)->_setCallbackInfo(arg2,arg3);
10458
10459 wxPyEndAllowThreads(__tstate);
10460 if (PyErr_Occurred()) SWIG_fail;
10461 }
10462 Py_INCREF(Py_None); resultobj = Py_None;
10463 return resultobj;
10464 fail:
10465 return NULL;
10466 }
10467
10468
10469 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10470 PyObject *resultobj;
10471 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10472 wxWindow *arg2 = (wxWindow *) 0 ;
10473 int arg3 = (int) wxID_ANY ;
10474 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10475 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10476 wxSize const &arg5_defvalue = wxDefaultSize ;
10477 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10478 long arg6 = (long) 0 ;
10479 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10480 wxString *arg7 = (wxString *) &arg7_defvalue ;
10481 bool result;
10482 wxPoint temp4 ;
10483 wxSize temp5 ;
10484 bool temp7 = False ;
10485 PyObject * obj0 = 0 ;
10486 PyObject * obj1 = 0 ;
10487 PyObject * obj2 = 0 ;
10488 PyObject * obj3 = 0 ;
10489 PyObject * obj4 = 0 ;
10490 PyObject * obj5 = 0 ;
10491 PyObject * obj6 = 0 ;
10492 char *kwnames[] = {
10493 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10494 };
10495
10496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10499 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10501 if (obj2) {
10502 arg3 = (int) SWIG_AsInt(obj2);
10503 if (PyErr_Occurred()) SWIG_fail;
10504 }
10505 if (obj3) {
10506 {
10507 arg4 = &temp4;
10508 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10509 }
10510 }
10511 if (obj4) {
10512 {
10513 arg5 = &temp5;
10514 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10515 }
10516 }
10517 if (obj5) {
10518 arg6 = (long) SWIG_AsLong(obj5);
10519 if (PyErr_Occurred()) SWIG_fail;
10520 }
10521 if (obj6) {
10522 {
10523 arg7 = wxString_in_helper(obj6);
10524 if (arg7 == NULL) SWIG_fail;
10525 temp7 = True;
10526 }
10527 }
10528 {
10529 PyThreadState* __tstate = wxPyBeginAllowThreads();
10530 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10531
10532 wxPyEndAllowThreads(__tstate);
10533 if (PyErr_Occurred()) SWIG_fail;
10534 }
10535 {
10536 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10537 }
10538 {
10539 if (temp7)
10540 delete arg7;
10541 }
10542 return resultobj;
10543 fail:
10544 {
10545 if (temp7)
10546 delete arg7;
10547 }
10548 return NULL;
10549 }
10550
10551
10552 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10553 PyObject *resultobj;
10554 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10555 PyObject * obj0 = 0 ;
10556 char *kwnames[] = {
10557 (char *) "self", NULL
10558 };
10559
10560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10563 {
10564 PyThreadState* __tstate = wxPyBeginAllowThreads();
10565 (arg1)->RefreshAll();
10566
10567 wxPyEndAllowThreads(__tstate);
10568 if (PyErr_Occurred()) SWIG_fail;
10569 }
10570 Py_INCREF(Py_None); resultobj = Py_None;
10571 return resultobj;
10572 fail:
10573 return NULL;
10574 }
10575
10576
10577 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10578 PyObject *resultobj;
10579 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10580 size_t arg2 ;
10581 PyObject * obj0 = 0 ;
10582 PyObject * obj1 = 0 ;
10583 char *kwnames[] = {
10584 (char *) "self",(char *) "count", NULL
10585 };
10586
10587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10590 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10591 if (PyErr_Occurred()) SWIG_fail;
10592 {
10593 PyThreadState* __tstate = wxPyBeginAllowThreads();
10594 (arg1)->SetItemCount(arg2);
10595
10596 wxPyEndAllowThreads(__tstate);
10597 if (PyErr_Occurred()) SWIG_fail;
10598 }
10599 Py_INCREF(Py_None); resultobj = Py_None;
10600 return resultobj;
10601 fail:
10602 return NULL;
10603 }
10604
10605
10606 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
10607 PyObject *obj;
10608 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10609 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
10610 Py_INCREF(obj);
10611 return Py_BuildValue((char *)"");
10612 }
10613 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10614 PyObject *resultobj;
10615 wxTaskBarIcon *result;
10616 char *kwnames[] = {
10617 NULL
10618 };
10619
10620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
10621 {
10622 PyThreadState* __tstate = wxPyBeginAllowThreads();
10623 result = (wxTaskBarIcon *)new wxTaskBarIcon();
10624
10625 wxPyEndAllowThreads(__tstate);
10626 if (PyErr_Occurred()) SWIG_fail;
10627 }
10628 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
10629 return resultobj;
10630 fail:
10631 return NULL;
10632 }
10633
10634
10635 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10636 PyObject *resultobj;
10637 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10638 PyObject * obj0 = 0 ;
10639 char *kwnames[] = {
10640 (char *) "self", NULL
10641 };
10642
10643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
10644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10646 {
10647 PyThreadState* __tstate = wxPyBeginAllowThreads();
10648 delete arg1;
10649
10650 wxPyEndAllowThreads(__tstate);
10651 if (PyErr_Occurred()) SWIG_fail;
10652 }
10653 Py_INCREF(Py_None); resultobj = Py_None;
10654 return resultobj;
10655 fail:
10656 return NULL;
10657 }
10658
10659
10660 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
10661 PyObject *resultobj;
10662 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10663 PyObject * obj0 = 0 ;
10664 char *kwnames[] = {
10665 (char *) "self", NULL
10666 };
10667
10668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
10669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10671 {
10672 PyThreadState* __tstate = wxPyBeginAllowThreads();
10673 wxTaskBarIcon_Destroy(arg1);
10674
10675 wxPyEndAllowThreads(__tstate);
10676 if (PyErr_Occurred()) SWIG_fail;
10677 }
10678 Py_INCREF(Py_None); resultobj = Py_None;
10679 return resultobj;
10680 fail:
10681 return NULL;
10682 }
10683
10684
10685 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
10686 PyObject *resultobj;
10687 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10688 bool result;
10689 PyObject * obj0 = 0 ;
10690 char *kwnames[] = {
10691 (char *) "self", NULL
10692 };
10693
10694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
10695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10697 {
10698 PyThreadState* __tstate = wxPyBeginAllowThreads();
10699 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
10700
10701 wxPyEndAllowThreads(__tstate);
10702 if (PyErr_Occurred()) SWIG_fail;
10703 }
10704 {
10705 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10706 }
10707 return resultobj;
10708 fail:
10709 return NULL;
10710 }
10711
10712
10713 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
10714 PyObject *resultobj;
10715 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10716 bool result;
10717 PyObject * obj0 = 0 ;
10718 char *kwnames[] = {
10719 (char *) "self", NULL
10720 };
10721
10722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
10723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10725 {
10726 PyThreadState* __tstate = wxPyBeginAllowThreads();
10727 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
10728
10729 wxPyEndAllowThreads(__tstate);
10730 if (PyErr_Occurred()) SWIG_fail;
10731 }
10732 {
10733 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10734 }
10735 return resultobj;
10736 fail:
10737 return NULL;
10738 }
10739
10740
10741 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10742 PyObject *resultobj;
10743 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10744 wxIcon *arg2 = 0 ;
10745 wxString const &arg3_defvalue = wxPyEmptyString ;
10746 wxString *arg3 = (wxString *) &arg3_defvalue ;
10747 bool result;
10748 bool temp3 = False ;
10749 PyObject * obj0 = 0 ;
10750 PyObject * obj1 = 0 ;
10751 PyObject * obj2 = 0 ;
10752 char *kwnames[] = {
10753 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10754 };
10755
10756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
10757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10759 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
10760 SWIG_POINTER_EXCEPTION | 0)) == -1)
10761 SWIG_fail;
10762 if (arg2 == NULL) {
10763 PyErr_SetString(PyExc_TypeError,"null reference");
10764 SWIG_fail;
10765 }
10766 if (obj2) {
10767 {
10768 arg3 = wxString_in_helper(obj2);
10769 if (arg3 == NULL) SWIG_fail;
10770 temp3 = True;
10771 }
10772 }
10773 {
10774 PyThreadState* __tstate = wxPyBeginAllowThreads();
10775 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
10776
10777 wxPyEndAllowThreads(__tstate);
10778 if (PyErr_Occurred()) SWIG_fail;
10779 }
10780 {
10781 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10782 }
10783 {
10784 if (temp3)
10785 delete arg3;
10786 }
10787 return resultobj;
10788 fail:
10789 {
10790 if (temp3)
10791 delete arg3;
10792 }
10793 return NULL;
10794 }
10795
10796
10797 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10798 PyObject *resultobj;
10799 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10800 bool result;
10801 PyObject * obj0 = 0 ;
10802 char *kwnames[] = {
10803 (char *) "self", NULL
10804 };
10805
10806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
10807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10809 {
10810 PyThreadState* __tstate = wxPyBeginAllowThreads();
10811 result = (bool)(arg1)->RemoveIcon();
10812
10813 wxPyEndAllowThreads(__tstate);
10814 if (PyErr_Occurred()) SWIG_fail;
10815 }
10816 {
10817 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10818 }
10819 return resultobj;
10820 fail:
10821 return NULL;
10822 }
10823
10824
10825 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10826 PyObject *resultobj;
10827 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10828 wxMenu *arg2 = (wxMenu *) 0 ;
10829 bool result;
10830 PyObject * obj0 = 0 ;
10831 PyObject * obj1 = 0 ;
10832 char *kwnames[] = {
10833 (char *) "self",(char *) "menu", NULL
10834 };
10835
10836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
10837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10839 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
10840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10841 {
10842 PyThreadState* __tstate = wxPyBeginAllowThreads();
10843 result = (bool)(arg1)->PopupMenu(arg2);
10844
10845 wxPyEndAllowThreads(__tstate);
10846 if (PyErr_Occurred()) SWIG_fail;
10847 }
10848 {
10849 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10850 }
10851 return resultobj;
10852 fail:
10853 return NULL;
10854 }
10855
10856
10857 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
10858 PyObject *obj;
10859 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10860 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
10861 Py_INCREF(obj);
10862 return Py_BuildValue((char *)"");
10863 }
10864 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10865 PyObject *resultobj;
10866 wxEventType arg1 ;
10867 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
10868 wxTaskBarIconEvent *result;
10869 PyObject * obj0 = 0 ;
10870 PyObject * obj1 = 0 ;
10871 char *kwnames[] = {
10872 (char *) "evtType",(char *) "tbIcon", NULL
10873 };
10874
10875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
10876 arg1 = (wxEventType) SWIG_AsInt(obj0);
10877 if (PyErr_Occurred()) SWIG_fail;
10878 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
10879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10880 {
10881 PyThreadState* __tstate = wxPyBeginAllowThreads();
10882 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
10883
10884 wxPyEndAllowThreads(__tstate);
10885 if (PyErr_Occurred()) SWIG_fail;
10886 }
10887 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
10888 return resultobj;
10889 fail:
10890 return NULL;
10891 }
10892
10893
10894 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
10895 PyObject *obj;
10896 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10897 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
10898 Py_INCREF(obj);
10899 return Py_BuildValue((char *)"");
10900 }
10901 static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
10902 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
10903 return 1;
10904 }
10905
10906
10907 static PyObject *_wrap_FileSelectorPromptStr_get() {
10908 PyObject *pyobj;
10909
10910 {
10911 #if wxUSE_UNICODE
10912 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10913 #else
10914 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10915 #endif
10916 }
10917 return pyobj;
10918 }
10919
10920
10921 static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
10922 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
10923 return 1;
10924 }
10925
10926
10927 static PyObject *_wrap_DirSelectorPromptStr_get() {
10928 PyObject *pyobj;
10929
10930 {
10931 #if wxUSE_UNICODE
10932 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10933 #else
10934 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10935 #endif
10936 }
10937 return pyobj;
10938 }
10939
10940
10941 static int _wrap_DirDialogNameStr_set(PyObject *_val) {
10942 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
10943 return 1;
10944 }
10945
10946
10947 static PyObject *_wrap_DirDialogNameStr_get() {
10948 PyObject *pyobj;
10949
10950 {
10951 #if wxUSE_UNICODE
10952 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10953 #else
10954 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10955 #endif
10956 }
10957 return pyobj;
10958 }
10959
10960
10961 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
10962 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
10963 return 1;
10964 }
10965
10966
10967 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
10968 PyObject *pyobj;
10969
10970 {
10971 #if wxUSE_UNICODE
10972 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10973 #else
10974 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10975 #endif
10976 }
10977 return pyobj;
10978 }
10979
10980
10981 static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) {
10982 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
10983 return 1;
10984 }
10985
10986
10987 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
10988 PyObject *pyobj;
10989
10990 {
10991 #if wxUSE_UNICODE
10992 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10993 #else
10994 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10995 #endif
10996 }
10997 return pyobj;
10998 }
10999
11000
11001 static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) {
11002 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
11003 return 1;
11004 }
11005
11006
11007 static PyObject *_wrap_MessageBoxCaptionStr_get() {
11008 PyObject *pyobj;
11009
11010 {
11011 #if wxUSE_UNICODE
11012 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11013 #else
11014 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11015 #endif
11016 }
11017 return pyobj;
11018 }
11019
11020
11021 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11022 PyObject *resultobj;
11023 wxColourData *result;
11024 char *kwnames[] = {
11025 NULL
11026 };
11027
11028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
11029 {
11030 PyThreadState* __tstate = wxPyBeginAllowThreads();
11031 result = (wxColourData *)new wxColourData();
11032
11033 wxPyEndAllowThreads(__tstate);
11034 if (PyErr_Occurred()) SWIG_fail;
11035 }
11036 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
11037 return resultobj;
11038 fail:
11039 return NULL;
11040 }
11041
11042
11043 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11044 PyObject *resultobj;
11045 wxColourData *arg1 = (wxColourData *) 0 ;
11046 PyObject * obj0 = 0 ;
11047 char *kwnames[] = {
11048 (char *) "self", NULL
11049 };
11050
11051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
11052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11054 {
11055 PyThreadState* __tstate = wxPyBeginAllowThreads();
11056 delete arg1;
11057
11058 wxPyEndAllowThreads(__tstate);
11059 if (PyErr_Occurred()) SWIG_fail;
11060 }
11061 Py_INCREF(Py_None); resultobj = Py_None;
11062 return resultobj;
11063 fail:
11064 return NULL;
11065 }
11066
11067
11068 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11069 PyObject *resultobj;
11070 wxColourData *arg1 = (wxColourData *) 0 ;
11071 bool result;
11072 PyObject * obj0 = 0 ;
11073 char *kwnames[] = {
11074 (char *) "self", NULL
11075 };
11076
11077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
11078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11080 {
11081 PyThreadState* __tstate = wxPyBeginAllowThreads();
11082 result = (bool)(arg1)->GetChooseFull();
11083
11084 wxPyEndAllowThreads(__tstate);
11085 if (PyErr_Occurred()) SWIG_fail;
11086 }
11087 {
11088 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11089 }
11090 return resultobj;
11091 fail:
11092 return NULL;
11093 }
11094
11095
11096 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11097 PyObject *resultobj;
11098 wxColourData *arg1 = (wxColourData *) 0 ;
11099 wxColour result;
11100 PyObject * obj0 = 0 ;
11101 char *kwnames[] = {
11102 (char *) "self", NULL
11103 };
11104
11105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
11106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11108 {
11109 PyThreadState* __tstate = wxPyBeginAllowThreads();
11110 result = (arg1)->GetColour();
11111
11112 wxPyEndAllowThreads(__tstate);
11113 if (PyErr_Occurred()) SWIG_fail;
11114 }
11115 {
11116 wxColour * resultptr;
11117 resultptr = new wxColour((wxColour &) result);
11118 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11119 }
11120 return resultobj;
11121 fail:
11122 return NULL;
11123 }
11124
11125
11126 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11127 PyObject *resultobj;
11128 wxColourData *arg1 = (wxColourData *) 0 ;
11129 int arg2 ;
11130 wxColour result;
11131 PyObject * obj0 = 0 ;
11132 PyObject * obj1 = 0 ;
11133 char *kwnames[] = {
11134 (char *) "self",(char *) "i", NULL
11135 };
11136
11137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
11138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11140 arg2 = (int) SWIG_AsInt(obj1);
11141 if (PyErr_Occurred()) SWIG_fail;
11142 {
11143 PyThreadState* __tstate = wxPyBeginAllowThreads();
11144 result = (arg1)->GetCustomColour(arg2);
11145
11146 wxPyEndAllowThreads(__tstate);
11147 if (PyErr_Occurred()) SWIG_fail;
11148 }
11149 {
11150 wxColour * resultptr;
11151 resultptr = new wxColour((wxColour &) result);
11152 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11153 }
11154 return resultobj;
11155 fail:
11156 return NULL;
11157 }
11158
11159
11160 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11161 PyObject *resultobj;
11162 wxColourData *arg1 = (wxColourData *) 0 ;
11163 int arg2 ;
11164 PyObject * obj0 = 0 ;
11165 PyObject * obj1 = 0 ;
11166 char *kwnames[] = {
11167 (char *) "self",(char *) "flag", NULL
11168 };
11169
11170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
11171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11173 arg2 = (int) SWIG_AsInt(obj1);
11174 if (PyErr_Occurred()) SWIG_fail;
11175 {
11176 PyThreadState* __tstate = wxPyBeginAllowThreads();
11177 (arg1)->SetChooseFull(arg2);
11178
11179 wxPyEndAllowThreads(__tstate);
11180 if (PyErr_Occurred()) SWIG_fail;
11181 }
11182 Py_INCREF(Py_None); resultobj = Py_None;
11183 return resultobj;
11184 fail:
11185 return NULL;
11186 }
11187
11188
11189 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11190 PyObject *resultobj;
11191 wxColourData *arg1 = (wxColourData *) 0 ;
11192 wxColour *arg2 = 0 ;
11193 wxColour temp2 ;
11194 PyObject * obj0 = 0 ;
11195 PyObject * obj1 = 0 ;
11196 char *kwnames[] = {
11197 (char *) "self",(char *) "colour", NULL
11198 };
11199
11200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11203 {
11204 arg2 = &temp2;
11205 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11206 }
11207 {
11208 PyThreadState* __tstate = wxPyBeginAllowThreads();
11209 (arg1)->SetColour((wxColour const &)*arg2);
11210
11211 wxPyEndAllowThreads(__tstate);
11212 if (PyErr_Occurred()) SWIG_fail;
11213 }
11214 Py_INCREF(Py_None); resultobj = Py_None;
11215 return resultobj;
11216 fail:
11217 return NULL;
11218 }
11219
11220
11221 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11222 PyObject *resultobj;
11223 wxColourData *arg1 = (wxColourData *) 0 ;
11224 int arg2 ;
11225 wxColour *arg3 = 0 ;
11226 wxColour temp3 ;
11227 PyObject * obj0 = 0 ;
11228 PyObject * obj1 = 0 ;
11229 PyObject * obj2 = 0 ;
11230 char *kwnames[] = {
11231 (char *) "self",(char *) "i",(char *) "colour", NULL
11232 };
11233
11234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11237 arg2 = (int) SWIG_AsInt(obj1);
11238 if (PyErr_Occurred()) SWIG_fail;
11239 {
11240 arg3 = &temp3;
11241 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11242 }
11243 {
11244 PyThreadState* __tstate = wxPyBeginAllowThreads();
11245 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11246
11247 wxPyEndAllowThreads(__tstate);
11248 if (PyErr_Occurred()) SWIG_fail;
11249 }
11250 Py_INCREF(Py_None); resultobj = Py_None;
11251 return resultobj;
11252 fail:
11253 return NULL;
11254 }
11255
11256
11257 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
11258 PyObject *obj;
11259 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11260 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11261 Py_INCREF(obj);
11262 return Py_BuildValue((char *)"");
11263 }
11264 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11265 PyObject *resultobj;
11266 wxWindow *arg1 = (wxWindow *) 0 ;
11267 wxColourData *arg2 = (wxColourData *) NULL ;
11268 wxColourDialog *result;
11269 PyObject * obj0 = 0 ;
11270 PyObject * obj1 = 0 ;
11271 char *kwnames[] = {
11272 (char *) "parent",(char *) "data", NULL
11273 };
11274
11275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
11276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11278 if (obj1) {
11279 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11281 }
11282 {
11283 PyThreadState* __tstate = wxPyBeginAllowThreads();
11284 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11285
11286 wxPyEndAllowThreads(__tstate);
11287 if (PyErr_Occurred()) SWIG_fail;
11288 }
11289 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
11290 return resultobj;
11291 fail:
11292 return NULL;
11293 }
11294
11295
11296 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11297 PyObject *resultobj;
11298 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11299 wxColourData *result;
11300 PyObject * obj0 = 0 ;
11301 char *kwnames[] = {
11302 (char *) "self", NULL
11303 };
11304
11305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
11306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11308 {
11309 PyThreadState* __tstate = wxPyBeginAllowThreads();
11310 {
11311 wxColourData &_result_ref = (arg1)->GetColourData();
11312 result = (wxColourData *) &_result_ref;
11313 }
11314
11315 wxPyEndAllowThreads(__tstate);
11316 if (PyErr_Occurred()) SWIG_fail;
11317 }
11318 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
11319 return resultobj;
11320 fail:
11321 return NULL;
11322 }
11323
11324
11325 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
11326 PyObject *obj;
11327 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11328 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11329 Py_INCREF(obj);
11330 return Py_BuildValue((char *)"");
11331 }
11332 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11333 PyObject *resultobj;
11334 wxWindow *arg1 = (wxWindow *) 0 ;
11335 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11336 wxString *arg2 = (wxString *) &arg2_defvalue ;
11337 wxString const &arg3_defvalue = wxPyEmptyString ;
11338 wxString *arg3 = (wxString *) &arg3_defvalue ;
11339 long arg4 = (long) 0 ;
11340 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11341 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11342 wxSize const &arg6_defvalue = wxDefaultSize ;
11343 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11344 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11345 wxString *arg7 = (wxString *) &arg7_defvalue ;
11346 wxDirDialog *result;
11347 bool temp2 = False ;
11348 bool temp3 = False ;
11349 wxPoint temp5 ;
11350 wxSize temp6 ;
11351 bool temp7 = False ;
11352 PyObject * obj0 = 0 ;
11353 PyObject * obj1 = 0 ;
11354 PyObject * obj2 = 0 ;
11355 PyObject * obj3 = 0 ;
11356 PyObject * obj4 = 0 ;
11357 PyObject * obj5 = 0 ;
11358 PyObject * obj6 = 0 ;
11359 char *kwnames[] = {
11360 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11361 };
11362
11363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11366 if (obj1) {
11367 {
11368 arg2 = wxString_in_helper(obj1);
11369 if (arg2 == NULL) SWIG_fail;
11370 temp2 = True;
11371 }
11372 }
11373 if (obj2) {
11374 {
11375 arg3 = wxString_in_helper(obj2);
11376 if (arg3 == NULL) SWIG_fail;
11377 temp3 = True;
11378 }
11379 }
11380 if (obj3) {
11381 arg4 = (long) SWIG_AsLong(obj3);
11382 if (PyErr_Occurred()) SWIG_fail;
11383 }
11384 if (obj4) {
11385 {
11386 arg5 = &temp5;
11387 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11388 }
11389 }
11390 if (obj5) {
11391 {
11392 arg6 = &temp6;
11393 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11394 }
11395 }
11396 if (obj6) {
11397 {
11398 arg7 = wxString_in_helper(obj6);
11399 if (arg7 == NULL) SWIG_fail;
11400 temp7 = True;
11401 }
11402 }
11403 {
11404 PyThreadState* __tstate = wxPyBeginAllowThreads();
11405 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11406
11407 wxPyEndAllowThreads(__tstate);
11408 if (PyErr_Occurred()) SWIG_fail;
11409 }
11410 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
11411 {
11412 if (temp2)
11413 delete arg2;
11414 }
11415 {
11416 if (temp3)
11417 delete arg3;
11418 }
11419 {
11420 if (temp7)
11421 delete arg7;
11422 }
11423 return resultobj;
11424 fail:
11425 {
11426 if (temp2)
11427 delete arg2;
11428 }
11429 {
11430 if (temp3)
11431 delete arg3;
11432 }
11433 {
11434 if (temp7)
11435 delete arg7;
11436 }
11437 return NULL;
11438 }
11439
11440
11441 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11442 PyObject *resultobj;
11443 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11444 wxString result;
11445 PyObject * obj0 = 0 ;
11446 char *kwnames[] = {
11447 (char *) "self", NULL
11448 };
11449
11450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
11451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11453 {
11454 PyThreadState* __tstate = wxPyBeginAllowThreads();
11455 result = (arg1)->GetPath();
11456
11457 wxPyEndAllowThreads(__tstate);
11458 if (PyErr_Occurred()) SWIG_fail;
11459 }
11460 {
11461 #if wxUSE_UNICODE
11462 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11463 #else
11464 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11465 #endif
11466 }
11467 return resultobj;
11468 fail:
11469 return NULL;
11470 }
11471
11472
11473 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11474 PyObject *resultobj;
11475 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11476 wxString result;
11477 PyObject * obj0 = 0 ;
11478 char *kwnames[] = {
11479 (char *) "self", NULL
11480 };
11481
11482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
11483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11485 {
11486 PyThreadState* __tstate = wxPyBeginAllowThreads();
11487 result = (arg1)->GetMessage();
11488
11489 wxPyEndAllowThreads(__tstate);
11490 if (PyErr_Occurred()) SWIG_fail;
11491 }
11492 {
11493 #if wxUSE_UNICODE
11494 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11495 #else
11496 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11497 #endif
11498 }
11499 return resultobj;
11500 fail:
11501 return NULL;
11502 }
11503
11504
11505 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11506 PyObject *resultobj;
11507 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11508 long result;
11509 PyObject * obj0 = 0 ;
11510 char *kwnames[] = {
11511 (char *) "self", NULL
11512 };
11513
11514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
11515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11517 {
11518 PyThreadState* __tstate = wxPyBeginAllowThreads();
11519 result = (long)(arg1)->GetStyle();
11520
11521 wxPyEndAllowThreads(__tstate);
11522 if (PyErr_Occurred()) SWIG_fail;
11523 }
11524 resultobj = SWIG_FromLong((long)result);
11525 return resultobj;
11526 fail:
11527 return NULL;
11528 }
11529
11530
11531 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11532 PyObject *resultobj;
11533 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11534 wxString *arg2 = 0 ;
11535 bool temp2 = False ;
11536 PyObject * obj0 = 0 ;
11537 PyObject * obj1 = 0 ;
11538 char *kwnames[] = {
11539 (char *) "self",(char *) "message", NULL
11540 };
11541
11542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11545 {
11546 arg2 = wxString_in_helper(obj1);
11547 if (arg2 == NULL) SWIG_fail;
11548 temp2 = True;
11549 }
11550 {
11551 PyThreadState* __tstate = wxPyBeginAllowThreads();
11552 (arg1)->SetMessage((wxString const &)*arg2);
11553
11554 wxPyEndAllowThreads(__tstate);
11555 if (PyErr_Occurred()) SWIG_fail;
11556 }
11557 Py_INCREF(Py_None); resultobj = Py_None;
11558 {
11559 if (temp2)
11560 delete arg2;
11561 }
11562 return resultobj;
11563 fail:
11564 {
11565 if (temp2)
11566 delete arg2;
11567 }
11568 return NULL;
11569 }
11570
11571
11572 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11573 PyObject *resultobj;
11574 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11575 wxString *arg2 = 0 ;
11576 bool temp2 = False ;
11577 PyObject * obj0 = 0 ;
11578 PyObject * obj1 = 0 ;
11579 char *kwnames[] = {
11580 (char *) "self",(char *) "path", NULL
11581 };
11582
11583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11586 {
11587 arg2 = wxString_in_helper(obj1);
11588 if (arg2 == NULL) SWIG_fail;
11589 temp2 = True;
11590 }
11591 {
11592 PyThreadState* __tstate = wxPyBeginAllowThreads();
11593 (arg1)->SetPath((wxString const &)*arg2);
11594
11595 wxPyEndAllowThreads(__tstate);
11596 if (PyErr_Occurred()) SWIG_fail;
11597 }
11598 Py_INCREF(Py_None); resultobj = Py_None;
11599 {
11600 if (temp2)
11601 delete arg2;
11602 }
11603 return resultobj;
11604 fail:
11605 {
11606 if (temp2)
11607 delete arg2;
11608 }
11609 return NULL;
11610 }
11611
11612
11613 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
11614 PyObject *obj;
11615 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11616 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
11617 Py_INCREF(obj);
11618 return Py_BuildValue((char *)"");
11619 }
11620 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11621 PyObject *resultobj;
11622 wxWindow *arg1 = (wxWindow *) 0 ;
11623 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
11624 wxString *arg2 = (wxString *) &arg2_defvalue ;
11625 wxString const &arg3_defvalue = wxPyEmptyString ;
11626 wxString *arg3 = (wxString *) &arg3_defvalue ;
11627 wxString const &arg4_defvalue = wxPyEmptyString ;
11628 wxString *arg4 = (wxString *) &arg4_defvalue ;
11629 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
11630 wxString *arg5 = (wxString *) &arg5_defvalue ;
11631 long arg6 = (long) 0 ;
11632 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11633 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11634 wxFileDialog *result;
11635 bool temp2 = False ;
11636 bool temp3 = False ;
11637 bool temp4 = False ;
11638 bool temp5 = False ;
11639 wxPoint temp7 ;
11640 PyObject * obj0 = 0 ;
11641 PyObject * obj1 = 0 ;
11642 PyObject * obj2 = 0 ;
11643 PyObject * obj3 = 0 ;
11644 PyObject * obj4 = 0 ;
11645 PyObject * obj5 = 0 ;
11646 PyObject * obj6 = 0 ;
11647 char *kwnames[] = {
11648 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11649 };
11650
11651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11654 if (obj1) {
11655 {
11656 arg2 = wxString_in_helper(obj1);
11657 if (arg2 == NULL) SWIG_fail;
11658 temp2 = True;
11659 }
11660 }
11661 if (obj2) {
11662 {
11663 arg3 = wxString_in_helper(obj2);
11664 if (arg3 == NULL) SWIG_fail;
11665 temp3 = True;
11666 }
11667 }
11668 if (obj3) {
11669 {
11670 arg4 = wxString_in_helper(obj3);
11671 if (arg4 == NULL) SWIG_fail;
11672 temp4 = True;
11673 }
11674 }
11675 if (obj4) {
11676 {
11677 arg5 = wxString_in_helper(obj4);
11678 if (arg5 == NULL) SWIG_fail;
11679 temp5 = True;
11680 }
11681 }
11682 if (obj5) {
11683 arg6 = (long) SWIG_AsLong(obj5);
11684 if (PyErr_Occurred()) SWIG_fail;
11685 }
11686 if (obj6) {
11687 {
11688 arg7 = &temp7;
11689 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11690 }
11691 }
11692 {
11693 PyThreadState* __tstate = wxPyBeginAllowThreads();
11694 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
11695
11696 wxPyEndAllowThreads(__tstate);
11697 if (PyErr_Occurred()) SWIG_fail;
11698 }
11699 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
11700 {
11701 if (temp2)
11702 delete arg2;
11703 }
11704 {
11705 if (temp3)
11706 delete arg3;
11707 }
11708 {
11709 if (temp4)
11710 delete arg4;
11711 }
11712 {
11713 if (temp5)
11714 delete arg5;
11715 }
11716 return resultobj;
11717 fail:
11718 {
11719 if (temp2)
11720 delete arg2;
11721 }
11722 {
11723 if (temp3)
11724 delete arg3;
11725 }
11726 {
11727 if (temp4)
11728 delete arg4;
11729 }
11730 {
11731 if (temp5)
11732 delete arg5;
11733 }
11734 return NULL;
11735 }
11736
11737
11738 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11739 PyObject *resultobj;
11740 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11741 wxString *arg2 = 0 ;
11742 bool temp2 = False ;
11743 PyObject * obj0 = 0 ;
11744 PyObject * obj1 = 0 ;
11745 char *kwnames[] = {
11746 (char *) "self",(char *) "message", NULL
11747 };
11748
11749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11752 {
11753 arg2 = wxString_in_helper(obj1);
11754 if (arg2 == NULL) SWIG_fail;
11755 temp2 = True;
11756 }
11757 {
11758 PyThreadState* __tstate = wxPyBeginAllowThreads();
11759 (arg1)->SetMessage((wxString const &)*arg2);
11760
11761 wxPyEndAllowThreads(__tstate);
11762 if (PyErr_Occurred()) SWIG_fail;
11763 }
11764 Py_INCREF(Py_None); resultobj = Py_None;
11765 {
11766 if (temp2)
11767 delete arg2;
11768 }
11769 return resultobj;
11770 fail:
11771 {
11772 if (temp2)
11773 delete arg2;
11774 }
11775 return NULL;
11776 }
11777
11778
11779 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11780 PyObject *resultobj;
11781 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11782 wxString *arg2 = 0 ;
11783 bool temp2 = False ;
11784 PyObject * obj0 = 0 ;
11785 PyObject * obj1 = 0 ;
11786 char *kwnames[] = {
11787 (char *) "self",(char *) "path", NULL
11788 };
11789
11790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11793 {
11794 arg2 = wxString_in_helper(obj1);
11795 if (arg2 == NULL) SWIG_fail;
11796 temp2 = True;
11797 }
11798 {
11799 PyThreadState* __tstate = wxPyBeginAllowThreads();
11800 (arg1)->SetPath((wxString const &)*arg2);
11801
11802 wxPyEndAllowThreads(__tstate);
11803 if (PyErr_Occurred()) SWIG_fail;
11804 }
11805 Py_INCREF(Py_None); resultobj = Py_None;
11806 {
11807 if (temp2)
11808 delete arg2;
11809 }
11810 return resultobj;
11811 fail:
11812 {
11813 if (temp2)
11814 delete arg2;
11815 }
11816 return NULL;
11817 }
11818
11819
11820 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11821 PyObject *resultobj;
11822 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11823 wxString *arg2 = 0 ;
11824 bool temp2 = False ;
11825 PyObject * obj0 = 0 ;
11826 PyObject * obj1 = 0 ;
11827 char *kwnames[] = {
11828 (char *) "self",(char *) "dir", NULL
11829 };
11830
11831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
11832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11834 {
11835 arg2 = wxString_in_helper(obj1);
11836 if (arg2 == NULL) SWIG_fail;
11837 temp2 = True;
11838 }
11839 {
11840 PyThreadState* __tstate = wxPyBeginAllowThreads();
11841 (arg1)->SetDirectory((wxString const &)*arg2);
11842
11843 wxPyEndAllowThreads(__tstate);
11844 if (PyErr_Occurred()) SWIG_fail;
11845 }
11846 Py_INCREF(Py_None); resultobj = Py_None;
11847 {
11848 if (temp2)
11849 delete arg2;
11850 }
11851 return resultobj;
11852 fail:
11853 {
11854 if (temp2)
11855 delete arg2;
11856 }
11857 return NULL;
11858 }
11859
11860
11861 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11862 PyObject *resultobj;
11863 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11864 wxString *arg2 = 0 ;
11865 bool temp2 = False ;
11866 PyObject * obj0 = 0 ;
11867 PyObject * obj1 = 0 ;
11868 char *kwnames[] = {
11869 (char *) "self",(char *) "name", NULL
11870 };
11871
11872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
11873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11875 {
11876 arg2 = wxString_in_helper(obj1);
11877 if (arg2 == NULL) SWIG_fail;
11878 temp2 = True;
11879 }
11880 {
11881 PyThreadState* __tstate = wxPyBeginAllowThreads();
11882 (arg1)->SetFilename((wxString const &)*arg2);
11883
11884 wxPyEndAllowThreads(__tstate);
11885 if (PyErr_Occurred()) SWIG_fail;
11886 }
11887 Py_INCREF(Py_None); resultobj = Py_None;
11888 {
11889 if (temp2)
11890 delete arg2;
11891 }
11892 return resultobj;
11893 fail:
11894 {
11895 if (temp2)
11896 delete arg2;
11897 }
11898 return NULL;
11899 }
11900
11901
11902 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11903 PyObject *resultobj;
11904 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11905 wxString *arg2 = 0 ;
11906 bool temp2 = False ;
11907 PyObject * obj0 = 0 ;
11908 PyObject * obj1 = 0 ;
11909 char *kwnames[] = {
11910 (char *) "self",(char *) "wildCard", NULL
11911 };
11912
11913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
11914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11916 {
11917 arg2 = wxString_in_helper(obj1);
11918 if (arg2 == NULL) SWIG_fail;
11919 temp2 = True;
11920 }
11921 {
11922 PyThreadState* __tstate = wxPyBeginAllowThreads();
11923 (arg1)->SetWildcard((wxString const &)*arg2);
11924
11925 wxPyEndAllowThreads(__tstate);
11926 if (PyErr_Occurred()) SWIG_fail;
11927 }
11928 Py_INCREF(Py_None); resultobj = Py_None;
11929 {
11930 if (temp2)
11931 delete arg2;
11932 }
11933 return resultobj;
11934 fail:
11935 {
11936 if (temp2)
11937 delete arg2;
11938 }
11939 return NULL;
11940 }
11941
11942
11943 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11944 PyObject *resultobj;
11945 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11946 long arg2 ;
11947 PyObject * obj0 = 0 ;
11948 PyObject * obj1 = 0 ;
11949 char *kwnames[] = {
11950 (char *) "self",(char *) "style", NULL
11951 };
11952
11953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
11954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11956 arg2 = (long) SWIG_AsLong(obj1);
11957 if (PyErr_Occurred()) SWIG_fail;
11958 {
11959 PyThreadState* __tstate = wxPyBeginAllowThreads();
11960 (arg1)->SetStyle(arg2);
11961
11962 wxPyEndAllowThreads(__tstate);
11963 if (PyErr_Occurred()) SWIG_fail;
11964 }
11965 Py_INCREF(Py_None); resultobj = Py_None;
11966 return resultobj;
11967 fail:
11968 return NULL;
11969 }
11970
11971
11972 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11973 PyObject *resultobj;
11974 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11975 int arg2 ;
11976 PyObject * obj0 = 0 ;
11977 PyObject * obj1 = 0 ;
11978 char *kwnames[] = {
11979 (char *) "self",(char *) "filterIndex", NULL
11980 };
11981
11982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
11983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11985 arg2 = (int) SWIG_AsInt(obj1);
11986 if (PyErr_Occurred()) SWIG_fail;
11987 {
11988 PyThreadState* __tstate = wxPyBeginAllowThreads();
11989 (arg1)->SetFilterIndex(arg2);
11990
11991 wxPyEndAllowThreads(__tstate);
11992 if (PyErr_Occurred()) SWIG_fail;
11993 }
11994 Py_INCREF(Py_None); resultobj = Py_None;
11995 return resultobj;
11996 fail:
11997 return NULL;
11998 }
11999
12000
12001 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
12002 PyObject *resultobj;
12003 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12004 wxString result;
12005 PyObject * obj0 = 0 ;
12006 char *kwnames[] = {
12007 (char *) "self", NULL
12008 };
12009
12010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
12011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12013 {
12014 PyThreadState* __tstate = wxPyBeginAllowThreads();
12015 result = ((wxFileDialog const *)arg1)->GetMessage();
12016
12017 wxPyEndAllowThreads(__tstate);
12018 if (PyErr_Occurred()) SWIG_fail;
12019 }
12020 {
12021 #if wxUSE_UNICODE
12022 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12023 #else
12024 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12025 #endif
12026 }
12027 return resultobj;
12028 fail:
12029 return NULL;
12030 }
12031
12032
12033 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
12034 PyObject *resultobj;
12035 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12036 wxString result;
12037 PyObject * obj0 = 0 ;
12038 char *kwnames[] = {
12039 (char *) "self", NULL
12040 };
12041
12042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
12043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12045 {
12046 PyThreadState* __tstate = wxPyBeginAllowThreads();
12047 result = ((wxFileDialog const *)arg1)->GetPath();
12048
12049 wxPyEndAllowThreads(__tstate);
12050 if (PyErr_Occurred()) SWIG_fail;
12051 }
12052 {
12053 #if wxUSE_UNICODE
12054 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12055 #else
12056 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12057 #endif
12058 }
12059 return resultobj;
12060 fail:
12061 return NULL;
12062 }
12063
12064
12065 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
12066 PyObject *resultobj;
12067 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12068 wxString result;
12069 PyObject * obj0 = 0 ;
12070 char *kwnames[] = {
12071 (char *) "self", NULL
12072 };
12073
12074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
12075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12077 {
12078 PyThreadState* __tstate = wxPyBeginAllowThreads();
12079 result = ((wxFileDialog const *)arg1)->GetDirectory();
12080
12081 wxPyEndAllowThreads(__tstate);
12082 if (PyErr_Occurred()) SWIG_fail;
12083 }
12084 {
12085 #if wxUSE_UNICODE
12086 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12087 #else
12088 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12089 #endif
12090 }
12091 return resultobj;
12092 fail:
12093 return NULL;
12094 }
12095
12096
12097 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
12098 PyObject *resultobj;
12099 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12100 wxString result;
12101 PyObject * obj0 = 0 ;
12102 char *kwnames[] = {
12103 (char *) "self", NULL
12104 };
12105
12106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
12107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12109 {
12110 PyThreadState* __tstate = wxPyBeginAllowThreads();
12111 result = ((wxFileDialog const *)arg1)->GetFilename();
12112
12113 wxPyEndAllowThreads(__tstate);
12114 if (PyErr_Occurred()) SWIG_fail;
12115 }
12116 {
12117 #if wxUSE_UNICODE
12118 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12119 #else
12120 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12121 #endif
12122 }
12123 return resultobj;
12124 fail:
12125 return NULL;
12126 }
12127
12128
12129 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
12130 PyObject *resultobj;
12131 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12132 wxString result;
12133 PyObject * obj0 = 0 ;
12134 char *kwnames[] = {
12135 (char *) "self", NULL
12136 };
12137
12138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
12139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12141 {
12142 PyThreadState* __tstate = wxPyBeginAllowThreads();
12143 result = ((wxFileDialog const *)arg1)->GetWildcard();
12144
12145 wxPyEndAllowThreads(__tstate);
12146 if (PyErr_Occurred()) SWIG_fail;
12147 }
12148 {
12149 #if wxUSE_UNICODE
12150 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12151 #else
12152 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12153 #endif
12154 }
12155 return resultobj;
12156 fail:
12157 return NULL;
12158 }
12159
12160
12161 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12162 PyObject *resultobj;
12163 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12164 long result;
12165 PyObject * obj0 = 0 ;
12166 char *kwnames[] = {
12167 (char *) "self", NULL
12168 };
12169
12170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
12171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12173 {
12174 PyThreadState* __tstate = wxPyBeginAllowThreads();
12175 result = (long)((wxFileDialog const *)arg1)->GetStyle();
12176
12177 wxPyEndAllowThreads(__tstate);
12178 if (PyErr_Occurred()) SWIG_fail;
12179 }
12180 resultobj = SWIG_FromLong((long)result);
12181 return resultobj;
12182 fail:
12183 return NULL;
12184 }
12185
12186
12187 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12188 PyObject *resultobj;
12189 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12190 int result;
12191 PyObject * obj0 = 0 ;
12192 char *kwnames[] = {
12193 (char *) "self", NULL
12194 };
12195
12196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
12197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12199 {
12200 PyThreadState* __tstate = wxPyBeginAllowThreads();
12201 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12202
12203 wxPyEndAllowThreads(__tstate);
12204 if (PyErr_Occurred()) SWIG_fail;
12205 }
12206 resultobj = SWIG_FromInt((int)result);
12207 return resultobj;
12208 fail:
12209 return NULL;
12210 }
12211
12212
12213 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
12214 PyObject *resultobj;
12215 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12216 PyObject *result;
12217 PyObject * obj0 = 0 ;
12218 char *kwnames[] = {
12219 (char *) "self", NULL
12220 };
12221
12222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
12223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12225 {
12226 PyThreadState* __tstate = wxPyBeginAllowThreads();
12227 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12228
12229 wxPyEndAllowThreads(__tstate);
12230 if (PyErr_Occurred()) SWIG_fail;
12231 }
12232 resultobj = result;
12233 return resultobj;
12234 fail:
12235 return NULL;
12236 }
12237
12238
12239 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
12240 PyObject *resultobj;
12241 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12242 PyObject *result;
12243 PyObject * obj0 = 0 ;
12244 char *kwnames[] = {
12245 (char *) "self", NULL
12246 };
12247
12248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
12249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12251 {
12252 PyThreadState* __tstate = wxPyBeginAllowThreads();
12253 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12254
12255 wxPyEndAllowThreads(__tstate);
12256 if (PyErr_Occurred()) SWIG_fail;
12257 }
12258 resultobj = result;
12259 return resultobj;
12260 fail:
12261 return NULL;
12262 }
12263
12264
12265 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
12266 PyObject *obj;
12267 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12268 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12269 Py_INCREF(obj);
12270 return Py_BuildValue((char *)"");
12271 }
12272 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12273 PyObject *resultobj;
12274 wxWindow *arg1 = (wxWindow *) 0 ;
12275 wxString *arg2 = 0 ;
12276 wxString *arg3 = 0 ;
12277 int arg4 = (int) 0 ;
12278 wxString *arg5 = (wxString *) 0 ;
12279 long arg6 = (long) wxCHOICEDLG_STYLE ;
12280 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12281 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12282 wxMultiChoiceDialog *result;
12283 bool temp2 = False ;
12284 bool temp3 = False ;
12285 wxPoint temp6 ;
12286 PyObject * obj0 = 0 ;
12287 PyObject * obj1 = 0 ;
12288 PyObject * obj2 = 0 ;
12289 PyObject * obj3 = 0 ;
12290 PyObject * obj4 = 0 ;
12291 PyObject * obj5 = 0 ;
12292 char *kwnames[] = {
12293 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12294 };
12295
12296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12299 {
12300 arg2 = wxString_in_helper(obj1);
12301 if (arg2 == NULL) SWIG_fail;
12302 temp2 = True;
12303 }
12304 {
12305 arg3 = wxString_in_helper(obj2);
12306 if (arg3 == NULL) SWIG_fail;
12307 temp3 = True;
12308 }
12309 if (obj3) {
12310 {
12311 arg4 = PyList_Size(obj3);
12312 arg5 = wxString_LIST_helper(obj3);
12313 if (arg5 == NULL) SWIG_fail;
12314 }
12315 }
12316 if (obj4) {
12317 arg6 = (long) SWIG_AsLong(obj4);
12318 if (PyErr_Occurred()) SWIG_fail;
12319 }
12320 if (obj5) {
12321 {
12322 arg7 = &temp6;
12323 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12324 }
12325 }
12326 {
12327 PyThreadState* __tstate = wxPyBeginAllowThreads();
12328 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12329
12330 wxPyEndAllowThreads(__tstate);
12331 if (PyErr_Occurred()) SWIG_fail;
12332 }
12333 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12334 {
12335 if (temp2)
12336 delete arg2;
12337 }
12338 {
12339 if (temp3)
12340 delete arg3;
12341 }
12342 {
12343 if (arg5) delete [] arg5;
12344 }
12345 return resultobj;
12346 fail:
12347 {
12348 if (temp2)
12349 delete arg2;
12350 }
12351 {
12352 if (temp3)
12353 delete arg3;
12354 }
12355 {
12356 if (arg5) delete [] arg5;
12357 }
12358 return NULL;
12359 }
12360
12361
12362 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12363 PyObject *resultobj;
12364 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12365 wxArrayInt *arg2 = 0 ;
12366 bool temp2 = False ;
12367 PyObject * obj0 = 0 ;
12368 PyObject * obj1 = 0 ;
12369 char *kwnames[] = {
12370 (char *) "self",(char *) "selections", NULL
12371 };
12372
12373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12376 {
12377 if (! PySequence_Check(obj1)) {
12378 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12379 SWIG_fail;
12380 }
12381 arg2 = new wxArrayInt;
12382 temp2 = True;
12383 int i, len=PySequence_Length(obj1);
12384 for (i=0; i<len; i++) {
12385 PyObject* item = PySequence_GetItem(obj1, i);
12386 PyObject* number = PyNumber_Int(item);
12387 arg2->Add(PyInt_AS_LONG(number));
12388 Py_DECREF(item);
12389 Py_DECREF(number);
12390 }
12391 }
12392 {
12393 PyThreadState* __tstate = wxPyBeginAllowThreads();
12394 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12395
12396 wxPyEndAllowThreads(__tstate);
12397 if (PyErr_Occurred()) SWIG_fail;
12398 }
12399 Py_INCREF(Py_None); resultobj = Py_None;
12400 {
12401 if (temp2) delete arg2;
12402 }
12403 return resultobj;
12404 fail:
12405 {
12406 if (temp2) delete arg2;
12407 }
12408 return NULL;
12409 }
12410
12411
12412 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12413 PyObject *resultobj;
12414 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12415 PyObject *result;
12416 PyObject * obj0 = 0 ;
12417 char *kwnames[] = {
12418 (char *) "self", NULL
12419 };
12420
12421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12424 {
12425 PyThreadState* __tstate = wxPyBeginAllowThreads();
12426 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12427
12428 wxPyEndAllowThreads(__tstate);
12429 if (PyErr_Occurred()) SWIG_fail;
12430 }
12431 resultobj = result;
12432 return resultobj;
12433 fail:
12434 return NULL;
12435 }
12436
12437
12438 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12439 PyObject *obj;
12440 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12441 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12442 Py_INCREF(obj);
12443 return Py_BuildValue((char *)"");
12444 }
12445 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12446 PyObject *resultobj;
12447 wxWindow *arg1 = (wxWindow *) 0 ;
12448 wxString *arg2 = 0 ;
12449 wxString *arg3 = 0 ;
12450 int arg4 ;
12451 wxString *arg5 = (wxString *) 0 ;
12452 long arg6 = (long) wxCHOICEDLG_STYLE ;
12453 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12454 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12455 wxSingleChoiceDialog *result;
12456 bool temp2 = False ;
12457 bool temp3 = False ;
12458 wxPoint temp6 ;
12459 PyObject * obj0 = 0 ;
12460 PyObject * obj1 = 0 ;
12461 PyObject * obj2 = 0 ;
12462 PyObject * obj3 = 0 ;
12463 PyObject * obj4 = 0 ;
12464 PyObject * obj5 = 0 ;
12465 char *kwnames[] = {
12466 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12467 };
12468
12469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12472 {
12473 arg2 = wxString_in_helper(obj1);
12474 if (arg2 == NULL) SWIG_fail;
12475 temp2 = True;
12476 }
12477 {
12478 arg3 = wxString_in_helper(obj2);
12479 if (arg3 == NULL) SWIG_fail;
12480 temp3 = True;
12481 }
12482 {
12483 arg4 = PyList_Size(obj3);
12484 arg5 = wxString_LIST_helper(obj3);
12485 if (arg5 == NULL) SWIG_fail;
12486 }
12487 if (obj4) {
12488 arg6 = (long) SWIG_AsLong(obj4);
12489 if (PyErr_Occurred()) SWIG_fail;
12490 }
12491 if (obj5) {
12492 {
12493 arg7 = &temp6;
12494 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12495 }
12496 }
12497 {
12498 PyThreadState* __tstate = wxPyBeginAllowThreads();
12499 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12500
12501 wxPyEndAllowThreads(__tstate);
12502 if (PyErr_Occurred()) SWIG_fail;
12503 }
12504 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
12505 {
12506 if (temp2)
12507 delete arg2;
12508 }
12509 {
12510 if (temp3)
12511 delete arg3;
12512 }
12513 {
12514 if (arg5) delete [] arg5;
12515 }
12516 return resultobj;
12517 fail:
12518 {
12519 if (temp2)
12520 delete arg2;
12521 }
12522 {
12523 if (temp3)
12524 delete arg3;
12525 }
12526 {
12527 if (arg5) delete [] arg5;
12528 }
12529 return NULL;
12530 }
12531
12532
12533 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12534 PyObject *resultobj;
12535 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12536 int result;
12537 PyObject * obj0 = 0 ;
12538 char *kwnames[] = {
12539 (char *) "self", NULL
12540 };
12541
12542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
12543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12545 {
12546 PyThreadState* __tstate = wxPyBeginAllowThreads();
12547 result = (int)(arg1)->GetSelection();
12548
12549 wxPyEndAllowThreads(__tstate);
12550 if (PyErr_Occurred()) SWIG_fail;
12551 }
12552 resultobj = SWIG_FromInt((int)result);
12553 return resultobj;
12554 fail:
12555 return NULL;
12556 }
12557
12558
12559 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12560 PyObject *resultobj;
12561 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12562 wxString result;
12563 PyObject * obj0 = 0 ;
12564 char *kwnames[] = {
12565 (char *) "self", NULL
12566 };
12567
12568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
12569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12571 {
12572 PyThreadState* __tstate = wxPyBeginAllowThreads();
12573 result = (arg1)->GetStringSelection();
12574
12575 wxPyEndAllowThreads(__tstate);
12576 if (PyErr_Occurred()) SWIG_fail;
12577 }
12578 {
12579 #if wxUSE_UNICODE
12580 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12581 #else
12582 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12583 #endif
12584 }
12585 return resultobj;
12586 fail:
12587 return NULL;
12588 }
12589
12590
12591 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12592 PyObject *resultobj;
12593 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12594 int arg2 ;
12595 PyObject * obj0 = 0 ;
12596 PyObject * obj1 = 0 ;
12597 char *kwnames[] = {
12598 (char *) "self",(char *) "sel", NULL
12599 };
12600
12601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12604 arg2 = (int) SWIG_AsInt(obj1);
12605 if (PyErr_Occurred()) SWIG_fail;
12606 {
12607 PyThreadState* __tstate = wxPyBeginAllowThreads();
12608 (arg1)->SetSelection(arg2);
12609
12610 wxPyEndAllowThreads(__tstate);
12611 if (PyErr_Occurred()) SWIG_fail;
12612 }
12613 Py_INCREF(Py_None); resultobj = Py_None;
12614 return resultobj;
12615 fail:
12616 return NULL;
12617 }
12618
12619
12620 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12621 PyObject *obj;
12622 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12623 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
12624 Py_INCREF(obj);
12625 return Py_BuildValue((char *)"");
12626 }
12627 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12628 PyObject *resultobj;
12629 wxWindow *arg1 = (wxWindow *) 0 ;
12630 wxString *arg2 = 0 ;
12631 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
12632 wxString *arg3 = (wxString *) &arg3_defvalue ;
12633 wxString const &arg4_defvalue = wxPyEmptyString ;
12634 wxString *arg4 = (wxString *) &arg4_defvalue ;
12635 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
12636 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12637 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12638 wxTextEntryDialog *result;
12639 bool temp2 = False ;
12640 bool temp3 = False ;
12641 bool temp4 = False ;
12642 wxPoint temp6 ;
12643 PyObject * obj0 = 0 ;
12644 PyObject * obj1 = 0 ;
12645 PyObject * obj2 = 0 ;
12646 PyObject * obj3 = 0 ;
12647 PyObject * obj4 = 0 ;
12648 PyObject * obj5 = 0 ;
12649 char *kwnames[] = {
12650 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12651 };
12652
12653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12656 {
12657 arg2 = wxString_in_helper(obj1);
12658 if (arg2 == NULL) SWIG_fail;
12659 temp2 = True;
12660 }
12661 if (obj2) {
12662 {
12663 arg3 = wxString_in_helper(obj2);
12664 if (arg3 == NULL) SWIG_fail;
12665 temp3 = True;
12666 }
12667 }
12668 if (obj3) {
12669 {
12670 arg4 = wxString_in_helper(obj3);
12671 if (arg4 == NULL) SWIG_fail;
12672 temp4 = True;
12673 }
12674 }
12675 if (obj4) {
12676 arg5 = (long) SWIG_AsLong(obj4);
12677 if (PyErr_Occurred()) SWIG_fail;
12678 }
12679 if (obj5) {
12680 {
12681 arg6 = &temp6;
12682 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12683 }
12684 }
12685 {
12686 PyThreadState* __tstate = wxPyBeginAllowThreads();
12687 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
12688
12689 wxPyEndAllowThreads(__tstate);
12690 if (PyErr_Occurred()) SWIG_fail;
12691 }
12692 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
12693 {
12694 if (temp2)
12695 delete arg2;
12696 }
12697 {
12698 if (temp3)
12699 delete arg3;
12700 }
12701 {
12702 if (temp4)
12703 delete arg4;
12704 }
12705 return resultobj;
12706 fail:
12707 {
12708 if (temp2)
12709 delete arg2;
12710 }
12711 {
12712 if (temp3)
12713 delete arg3;
12714 }
12715 {
12716 if (temp4)
12717 delete arg4;
12718 }
12719 return NULL;
12720 }
12721
12722
12723 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12724 PyObject *resultobj;
12725 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12726 wxString result;
12727 PyObject * obj0 = 0 ;
12728 char *kwnames[] = {
12729 (char *) "self", NULL
12730 };
12731
12732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
12733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12735 {
12736 PyThreadState* __tstate = wxPyBeginAllowThreads();
12737 result = (arg1)->GetValue();
12738
12739 wxPyEndAllowThreads(__tstate);
12740 if (PyErr_Occurred()) SWIG_fail;
12741 }
12742 {
12743 #if wxUSE_UNICODE
12744 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12745 #else
12746 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12747 #endif
12748 }
12749 return resultobj;
12750 fail:
12751 return NULL;
12752 }
12753
12754
12755 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12756 PyObject *resultobj;
12757 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12758 wxString *arg2 = 0 ;
12759 bool temp2 = False ;
12760 PyObject * obj0 = 0 ;
12761 PyObject * obj1 = 0 ;
12762 char *kwnames[] = {
12763 (char *) "self",(char *) "value", NULL
12764 };
12765
12766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
12767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12769 {
12770 arg2 = wxString_in_helper(obj1);
12771 if (arg2 == NULL) SWIG_fail;
12772 temp2 = True;
12773 }
12774 {
12775 PyThreadState* __tstate = wxPyBeginAllowThreads();
12776 (arg1)->SetValue((wxString const &)*arg2);
12777
12778 wxPyEndAllowThreads(__tstate);
12779 if (PyErr_Occurred()) SWIG_fail;
12780 }
12781 Py_INCREF(Py_None); resultobj = Py_None;
12782 {
12783 if (temp2)
12784 delete arg2;
12785 }
12786 return resultobj;
12787 fail:
12788 {
12789 if (temp2)
12790 delete arg2;
12791 }
12792 return NULL;
12793 }
12794
12795
12796 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
12797 PyObject *obj;
12798 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12799 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
12800 Py_INCREF(obj);
12801 return Py_BuildValue((char *)"");
12802 }
12803 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12804 PyObject *resultobj;
12805 wxFontData *result;
12806 char *kwnames[] = {
12807 NULL
12808 };
12809
12810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
12811 {
12812 PyThreadState* __tstate = wxPyBeginAllowThreads();
12813 result = (wxFontData *)new wxFontData();
12814
12815 wxPyEndAllowThreads(__tstate);
12816 if (PyErr_Occurred()) SWIG_fail;
12817 }
12818 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
12819 return resultobj;
12820 fail:
12821 return NULL;
12822 }
12823
12824
12825 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12826 PyObject *resultobj;
12827 wxFontData *arg1 = (wxFontData *) 0 ;
12828 PyObject * obj0 = 0 ;
12829 char *kwnames[] = {
12830 (char *) "self", NULL
12831 };
12832
12833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
12834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12836 {
12837 PyThreadState* __tstate = wxPyBeginAllowThreads();
12838 delete arg1;
12839
12840 wxPyEndAllowThreads(__tstate);
12841 if (PyErr_Occurred()) SWIG_fail;
12842 }
12843 Py_INCREF(Py_None); resultobj = Py_None;
12844 return resultobj;
12845 fail:
12846 return NULL;
12847 }
12848
12849
12850 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12851 PyObject *resultobj;
12852 wxFontData *arg1 = (wxFontData *) 0 ;
12853 bool arg2 ;
12854 PyObject * obj0 = 0 ;
12855 PyObject * obj1 = 0 ;
12856 char *kwnames[] = {
12857 (char *) "self",(char *) "enable", NULL
12858 };
12859
12860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
12861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12863 arg2 = (bool) SWIG_AsBool(obj1);
12864 if (PyErr_Occurred()) SWIG_fail;
12865 {
12866 PyThreadState* __tstate = wxPyBeginAllowThreads();
12867 (arg1)->EnableEffects(arg2);
12868
12869 wxPyEndAllowThreads(__tstate);
12870 if (PyErr_Occurred()) SWIG_fail;
12871 }
12872 Py_INCREF(Py_None); resultobj = Py_None;
12873 return resultobj;
12874 fail:
12875 return NULL;
12876 }
12877
12878
12879 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12880 PyObject *resultobj;
12881 wxFontData *arg1 = (wxFontData *) 0 ;
12882 bool result;
12883 PyObject * obj0 = 0 ;
12884 char *kwnames[] = {
12885 (char *) "self", NULL
12886 };
12887
12888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
12889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12891 {
12892 PyThreadState* __tstate = wxPyBeginAllowThreads();
12893 result = (bool)(arg1)->GetAllowSymbols();
12894
12895 wxPyEndAllowThreads(__tstate);
12896 if (PyErr_Occurred()) SWIG_fail;
12897 }
12898 {
12899 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12900 }
12901 return resultobj;
12902 fail:
12903 return NULL;
12904 }
12905
12906
12907 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12908 PyObject *resultobj;
12909 wxFontData *arg1 = (wxFontData *) 0 ;
12910 wxColour result;
12911 PyObject * obj0 = 0 ;
12912 char *kwnames[] = {
12913 (char *) "self", NULL
12914 };
12915
12916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
12917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12919 {
12920 PyThreadState* __tstate = wxPyBeginAllowThreads();
12921 result = (arg1)->GetColour();
12922
12923 wxPyEndAllowThreads(__tstate);
12924 if (PyErr_Occurred()) SWIG_fail;
12925 }
12926 {
12927 wxColour * resultptr;
12928 resultptr = new wxColour((wxColour &) result);
12929 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
12930 }
12931 return resultobj;
12932 fail:
12933 return NULL;
12934 }
12935
12936
12937 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12938 PyObject *resultobj;
12939 wxFontData *arg1 = (wxFontData *) 0 ;
12940 wxFont result;
12941 PyObject * obj0 = 0 ;
12942 char *kwnames[] = {
12943 (char *) "self", NULL
12944 };
12945
12946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
12947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12949 {
12950 PyThreadState* __tstate = wxPyBeginAllowThreads();
12951 result = (arg1)->GetChosenFont();
12952
12953 wxPyEndAllowThreads(__tstate);
12954 if (PyErr_Occurred()) SWIG_fail;
12955 }
12956 {
12957 wxFont * resultptr;
12958 resultptr = new wxFont((wxFont &) result);
12959 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
12960 }
12961 return resultobj;
12962 fail:
12963 return NULL;
12964 }
12965
12966
12967 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12968 PyObject *resultobj;
12969 wxFontData *arg1 = (wxFontData *) 0 ;
12970 bool result;
12971 PyObject * obj0 = 0 ;
12972 char *kwnames[] = {
12973 (char *) "self", NULL
12974 };
12975
12976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
12977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12979 {
12980 PyThreadState* __tstate = wxPyBeginAllowThreads();
12981 result = (bool)(arg1)->GetEnableEffects();
12982
12983 wxPyEndAllowThreads(__tstate);
12984 if (PyErr_Occurred()) SWIG_fail;
12985 }
12986 {
12987 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12988 }
12989 return resultobj;
12990 fail:
12991 return NULL;
12992 }
12993
12994
12995 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12996 PyObject *resultobj;
12997 wxFontData *arg1 = (wxFontData *) 0 ;
12998 wxFont result;
12999 PyObject * obj0 = 0 ;
13000 char *kwnames[] = {
13001 (char *) "self", NULL
13002 };
13003
13004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
13005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13007 {
13008 PyThreadState* __tstate = wxPyBeginAllowThreads();
13009 result = (arg1)->GetInitialFont();
13010
13011 wxPyEndAllowThreads(__tstate);
13012 if (PyErr_Occurred()) SWIG_fail;
13013 }
13014 {
13015 wxFont * resultptr;
13016 resultptr = new wxFont((wxFont &) result);
13017 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13018 }
13019 return resultobj;
13020 fail:
13021 return NULL;
13022 }
13023
13024
13025 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13026 PyObject *resultobj;
13027 wxFontData *arg1 = (wxFontData *) 0 ;
13028 bool result;
13029 PyObject * obj0 = 0 ;
13030 char *kwnames[] = {
13031 (char *) "self", NULL
13032 };
13033
13034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
13035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13037 {
13038 PyThreadState* __tstate = wxPyBeginAllowThreads();
13039 result = (bool)(arg1)->GetShowHelp();
13040
13041 wxPyEndAllowThreads(__tstate);
13042 if (PyErr_Occurred()) SWIG_fail;
13043 }
13044 {
13045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13046 }
13047 return resultobj;
13048 fail:
13049 return NULL;
13050 }
13051
13052
13053 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
13054 PyObject *resultobj;
13055 wxFontData *arg1 = (wxFontData *) 0 ;
13056 bool arg2 ;
13057 PyObject * obj0 = 0 ;
13058 PyObject * obj1 = 0 ;
13059 char *kwnames[] = {
13060 (char *) "self",(char *) "allowSymbols", NULL
13061 };
13062
13063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
13064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13066 arg2 = (bool) SWIG_AsBool(obj1);
13067 if (PyErr_Occurred()) SWIG_fail;
13068 {
13069 PyThreadState* __tstate = wxPyBeginAllowThreads();
13070 (arg1)->SetAllowSymbols(arg2);
13071
13072 wxPyEndAllowThreads(__tstate);
13073 if (PyErr_Occurred()) SWIG_fail;
13074 }
13075 Py_INCREF(Py_None); resultobj = Py_None;
13076 return resultobj;
13077 fail:
13078 return NULL;
13079 }
13080
13081
13082 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13083 PyObject *resultobj;
13084 wxFontData *arg1 = (wxFontData *) 0 ;
13085 wxFont *arg2 = 0 ;
13086 PyObject * obj0 = 0 ;
13087 PyObject * obj1 = 0 ;
13088 char *kwnames[] = {
13089 (char *) "self",(char *) "font", NULL
13090 };
13091
13092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
13093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13095 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13096 SWIG_POINTER_EXCEPTION | 0)) == -1)
13097 SWIG_fail;
13098 if (arg2 == NULL) {
13099 PyErr_SetString(PyExc_TypeError,"null reference");
13100 SWIG_fail;
13101 }
13102 {
13103 PyThreadState* __tstate = wxPyBeginAllowThreads();
13104 (arg1)->SetChosenFont((wxFont const &)*arg2);
13105
13106 wxPyEndAllowThreads(__tstate);
13107 if (PyErr_Occurred()) SWIG_fail;
13108 }
13109 Py_INCREF(Py_None); resultobj = Py_None;
13110 return resultobj;
13111 fail:
13112 return NULL;
13113 }
13114
13115
13116 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
13117 PyObject *resultobj;
13118 wxFontData *arg1 = (wxFontData *) 0 ;
13119 wxColour *arg2 = 0 ;
13120 wxColour temp2 ;
13121 PyObject * obj0 = 0 ;
13122 PyObject * obj1 = 0 ;
13123 char *kwnames[] = {
13124 (char *) "self",(char *) "colour", NULL
13125 };
13126
13127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13130 {
13131 arg2 = &temp2;
13132 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13133 }
13134 {
13135 PyThreadState* __tstate = wxPyBeginAllowThreads();
13136 (arg1)->SetColour((wxColour const &)*arg2);
13137
13138 wxPyEndAllowThreads(__tstate);
13139 if (PyErr_Occurred()) SWIG_fail;
13140 }
13141 Py_INCREF(Py_None); resultobj = Py_None;
13142 return resultobj;
13143 fail:
13144 return NULL;
13145 }
13146
13147
13148 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13149 PyObject *resultobj;
13150 wxFontData *arg1 = (wxFontData *) 0 ;
13151 wxFont *arg2 = 0 ;
13152 PyObject * obj0 = 0 ;
13153 PyObject * obj1 = 0 ;
13154 char *kwnames[] = {
13155 (char *) "self",(char *) "font", NULL
13156 };
13157
13158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
13159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13161 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13162 SWIG_POINTER_EXCEPTION | 0)) == -1)
13163 SWIG_fail;
13164 if (arg2 == NULL) {
13165 PyErr_SetString(PyExc_TypeError,"null reference");
13166 SWIG_fail;
13167 }
13168 {
13169 PyThreadState* __tstate = wxPyBeginAllowThreads();
13170 (arg1)->SetInitialFont((wxFont const &)*arg2);
13171
13172 wxPyEndAllowThreads(__tstate);
13173 if (PyErr_Occurred()) SWIG_fail;
13174 }
13175 Py_INCREF(Py_None); resultobj = Py_None;
13176 return resultobj;
13177 fail:
13178 return NULL;
13179 }
13180
13181
13182 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
13183 PyObject *resultobj;
13184 wxFontData *arg1 = (wxFontData *) 0 ;
13185 int arg2 ;
13186 int arg3 ;
13187 PyObject * obj0 = 0 ;
13188 PyObject * obj1 = 0 ;
13189 PyObject * obj2 = 0 ;
13190 char *kwnames[] = {
13191 (char *) "self",(char *) "min",(char *) "max", NULL
13192 };
13193
13194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13197 arg2 = (int) SWIG_AsInt(obj1);
13198 if (PyErr_Occurred()) SWIG_fail;
13199 arg3 = (int) SWIG_AsInt(obj2);
13200 if (PyErr_Occurred()) SWIG_fail;
13201 {
13202 PyThreadState* __tstate = wxPyBeginAllowThreads();
13203 (arg1)->SetRange(arg2,arg3);
13204
13205 wxPyEndAllowThreads(__tstate);
13206 if (PyErr_Occurred()) SWIG_fail;
13207 }
13208 Py_INCREF(Py_None); resultobj = Py_None;
13209 return resultobj;
13210 fail:
13211 return NULL;
13212 }
13213
13214
13215 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13216 PyObject *resultobj;
13217 wxFontData *arg1 = (wxFontData *) 0 ;
13218 bool arg2 ;
13219 PyObject * obj0 = 0 ;
13220 PyObject * obj1 = 0 ;
13221 char *kwnames[] = {
13222 (char *) "self",(char *) "showHelp", NULL
13223 };
13224
13225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
13226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13228 arg2 = (bool) SWIG_AsBool(obj1);
13229 if (PyErr_Occurred()) SWIG_fail;
13230 {
13231 PyThreadState* __tstate = wxPyBeginAllowThreads();
13232 (arg1)->SetShowHelp(arg2);
13233
13234 wxPyEndAllowThreads(__tstate);
13235 if (PyErr_Occurred()) SWIG_fail;
13236 }
13237 Py_INCREF(Py_None); resultobj = Py_None;
13238 return resultobj;
13239 fail:
13240 return NULL;
13241 }
13242
13243
13244 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
13245 PyObject *obj;
13246 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13247 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
13248 Py_INCREF(obj);
13249 return Py_BuildValue((char *)"");
13250 }
13251 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13252 PyObject *resultobj;
13253 wxWindow *arg1 = (wxWindow *) 0 ;
13254 wxFontData *arg2 = 0 ;
13255 wxFontDialog *result;
13256 PyObject * obj0 = 0 ;
13257 PyObject * obj1 = 0 ;
13258 char *kwnames[] = {
13259 (char *) "parent",(char *) "data", NULL
13260 };
13261
13262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
13263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13265 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
13266 SWIG_POINTER_EXCEPTION | 0)) == -1)
13267 SWIG_fail;
13268 if (arg2 == NULL) {
13269 PyErr_SetString(PyExc_TypeError,"null reference");
13270 SWIG_fail;
13271 }
13272 {
13273 PyThreadState* __tstate = wxPyBeginAllowThreads();
13274 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
13275
13276 wxPyEndAllowThreads(__tstate);
13277 if (PyErr_Occurred()) SWIG_fail;
13278 }
13279 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
13280 return resultobj;
13281 fail:
13282 return NULL;
13283 }
13284
13285
13286 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
13287 PyObject *resultobj;
13288 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13289 wxFontData *result;
13290 PyObject * obj0 = 0 ;
13291 char *kwnames[] = {
13292 (char *) "self", NULL
13293 };
13294
13295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13298 {
13299 PyThreadState* __tstate = wxPyBeginAllowThreads();
13300 {
13301 wxFontData &_result_ref = (arg1)->GetFontData();
13302 result = (wxFontData *) &_result_ref;
13303 }
13304
13305 wxPyEndAllowThreads(__tstate);
13306 if (PyErr_Occurred()) SWIG_fail;
13307 }
13308 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
13309 return resultobj;
13310 fail:
13311 return NULL;
13312 }
13313
13314
13315 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
13316 PyObject *obj;
13317 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13318 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13319 Py_INCREF(obj);
13320 return Py_BuildValue((char *)"");
13321 }
13322 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13323 PyObject *resultobj;
13324 wxWindow *arg1 = (wxWindow *) 0 ;
13325 wxString *arg2 = 0 ;
13326 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13327 wxString *arg3 = (wxString *) &arg3_defvalue ;
13328 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13329 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13330 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13331 wxMessageDialog *result;
13332 bool temp2 = False ;
13333 bool temp3 = False ;
13334 wxPoint temp5 ;
13335 PyObject * obj0 = 0 ;
13336 PyObject * obj1 = 0 ;
13337 PyObject * obj2 = 0 ;
13338 PyObject * obj3 = 0 ;
13339 PyObject * obj4 = 0 ;
13340 char *kwnames[] = {
13341 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13342 };
13343
13344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13347 {
13348 arg2 = wxString_in_helper(obj1);
13349 if (arg2 == NULL) SWIG_fail;
13350 temp2 = True;
13351 }
13352 if (obj2) {
13353 {
13354 arg3 = wxString_in_helper(obj2);
13355 if (arg3 == NULL) SWIG_fail;
13356 temp3 = True;
13357 }
13358 }
13359 if (obj3) {
13360 arg4 = (long) SWIG_AsLong(obj3);
13361 if (PyErr_Occurred()) SWIG_fail;
13362 }
13363 if (obj4) {
13364 {
13365 arg5 = &temp5;
13366 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13367 }
13368 }
13369 {
13370 PyThreadState* __tstate = wxPyBeginAllowThreads();
13371 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13372
13373 wxPyEndAllowThreads(__tstate);
13374 if (PyErr_Occurred()) SWIG_fail;
13375 }
13376 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
13377 {
13378 if (temp2)
13379 delete arg2;
13380 }
13381 {
13382 if (temp3)
13383 delete arg3;
13384 }
13385 return resultobj;
13386 fail:
13387 {
13388 if (temp2)
13389 delete arg2;
13390 }
13391 {
13392 if (temp3)
13393 delete arg3;
13394 }
13395 return NULL;
13396 }
13397
13398
13399 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
13400 PyObject *obj;
13401 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13402 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13403 Py_INCREF(obj);
13404 return Py_BuildValue((char *)"");
13405 }
13406 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13407 PyObject *resultobj;
13408 wxString *arg1 = 0 ;
13409 wxString *arg2 = 0 ;
13410 int arg3 = (int) 100 ;
13411 wxWindow *arg4 = (wxWindow *) NULL ;
13412 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13413 wxProgressDialog *result;
13414 bool temp1 = False ;
13415 bool temp2 = False ;
13416 PyObject * obj0 = 0 ;
13417 PyObject * obj1 = 0 ;
13418 PyObject * obj2 = 0 ;
13419 PyObject * obj3 = 0 ;
13420 PyObject * obj4 = 0 ;
13421 char *kwnames[] = {
13422 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13423 };
13424
13425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13426 {
13427 arg1 = wxString_in_helper(obj0);
13428 if (arg1 == NULL) SWIG_fail;
13429 temp1 = True;
13430 }
13431 {
13432 arg2 = wxString_in_helper(obj1);
13433 if (arg2 == NULL) SWIG_fail;
13434 temp2 = True;
13435 }
13436 if (obj2) {
13437 arg3 = (int) SWIG_AsInt(obj2);
13438 if (PyErr_Occurred()) SWIG_fail;
13439 }
13440 if (obj3) {
13441 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
13442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13443 }
13444 if (obj4) {
13445 arg5 = (int) SWIG_AsInt(obj4);
13446 if (PyErr_Occurred()) SWIG_fail;
13447 }
13448 {
13449 PyThreadState* __tstate = wxPyBeginAllowThreads();
13450 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13451
13452 wxPyEndAllowThreads(__tstate);
13453 if (PyErr_Occurred()) SWIG_fail;
13454 }
13455 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
13456 {
13457 if (temp1)
13458 delete arg1;
13459 }
13460 {
13461 if (temp2)
13462 delete arg2;
13463 }
13464 return resultobj;
13465 fail:
13466 {
13467 if (temp1)
13468 delete arg1;
13469 }
13470 {
13471 if (temp2)
13472 delete arg2;
13473 }
13474 return NULL;
13475 }
13476
13477
13478 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
13479 PyObject *resultobj;
13480 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13481 int arg2 ;
13482 wxString const &arg3_defvalue = wxPyEmptyString ;
13483 wxString *arg3 = (wxString *) &arg3_defvalue ;
13484 bool result;
13485 bool temp3 = False ;
13486 PyObject * obj0 = 0 ;
13487 PyObject * obj1 = 0 ;
13488 PyObject * obj2 = 0 ;
13489 char *kwnames[] = {
13490 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13491 };
13492
13493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13496 arg2 = (int) SWIG_AsInt(obj1);
13497 if (PyErr_Occurred()) SWIG_fail;
13498 if (obj2) {
13499 {
13500 arg3 = wxString_in_helper(obj2);
13501 if (arg3 == NULL) SWIG_fail;
13502 temp3 = True;
13503 }
13504 }
13505 {
13506 PyThreadState* __tstate = wxPyBeginAllowThreads();
13507 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13508
13509 wxPyEndAllowThreads(__tstate);
13510 if (PyErr_Occurred()) SWIG_fail;
13511 }
13512 {
13513 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13514 }
13515 {
13516 if (temp3)
13517 delete arg3;
13518 }
13519 return resultobj;
13520 fail:
13521 {
13522 if (temp3)
13523 delete arg3;
13524 }
13525 return NULL;
13526 }
13527
13528
13529 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
13530 PyObject *resultobj;
13531 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13532 PyObject * obj0 = 0 ;
13533 char *kwnames[] = {
13534 (char *) "self", NULL
13535 };
13536
13537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
13538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13540 {
13541 PyThreadState* __tstate = wxPyBeginAllowThreads();
13542 (arg1)->Resume();
13543
13544 wxPyEndAllowThreads(__tstate);
13545 if (PyErr_Occurred()) SWIG_fail;
13546 }
13547 Py_INCREF(Py_None); resultobj = Py_None;
13548 return resultobj;
13549 fail:
13550 return NULL;
13551 }
13552
13553
13554 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
13555 PyObject *obj;
13556 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13557 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
13558 Py_INCREF(obj);
13559 return Py_BuildValue((char *)"");
13560 }
13561 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13562 PyObject *resultobj;
13563 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13564 int arg2 = (int) 0 ;
13565 wxFindDialogEvent *result;
13566 PyObject * obj0 = 0 ;
13567 PyObject * obj1 = 0 ;
13568 char *kwnames[] = {
13569 (char *) "commandType",(char *) "id", NULL
13570 };
13571
13572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
13573 if (obj0) {
13574 arg1 = (wxEventType) SWIG_AsInt(obj0);
13575 if (PyErr_Occurred()) SWIG_fail;
13576 }
13577 if (obj1) {
13578 arg2 = (int) SWIG_AsInt(obj1);
13579 if (PyErr_Occurred()) SWIG_fail;
13580 }
13581 {
13582 PyThreadState* __tstate = wxPyBeginAllowThreads();
13583 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
13584
13585 wxPyEndAllowThreads(__tstate);
13586 if (PyErr_Occurred()) SWIG_fail;
13587 }
13588 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
13589 return resultobj;
13590 fail:
13591 return NULL;
13592 }
13593
13594
13595 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13596 PyObject *resultobj;
13597 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13598 int result;
13599 PyObject * obj0 = 0 ;
13600 char *kwnames[] = {
13601 (char *) "self", NULL
13602 };
13603
13604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
13605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13607 {
13608 PyThreadState* __tstate = wxPyBeginAllowThreads();
13609 result = (int)(arg1)->GetFlags();
13610
13611 wxPyEndAllowThreads(__tstate);
13612 if (PyErr_Occurred()) SWIG_fail;
13613 }
13614 resultobj = SWIG_FromInt((int)result);
13615 return resultobj;
13616 fail:
13617 return NULL;
13618 }
13619
13620
13621 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13622 PyObject *resultobj;
13623 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13624 wxString *result;
13625 PyObject * obj0 = 0 ;
13626 char *kwnames[] = {
13627 (char *) "self", NULL
13628 };
13629
13630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
13631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13633 {
13634 PyThreadState* __tstate = wxPyBeginAllowThreads();
13635 {
13636 wxString const &_result_ref = (arg1)->GetFindString();
13637 result = (wxString *) &_result_ref;
13638 }
13639
13640 wxPyEndAllowThreads(__tstate);
13641 if (PyErr_Occurred()) SWIG_fail;
13642 }
13643 {
13644 #if wxUSE_UNICODE
13645 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13646 #else
13647 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13648 #endif
13649 }
13650 return resultobj;
13651 fail:
13652 return NULL;
13653 }
13654
13655
13656 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13657 PyObject *resultobj;
13658 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13659 wxString *result;
13660 PyObject * obj0 = 0 ;
13661 char *kwnames[] = {
13662 (char *) "self", NULL
13663 };
13664
13665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
13666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13668 {
13669 PyThreadState* __tstate = wxPyBeginAllowThreads();
13670 {
13671 wxString const &_result_ref = (arg1)->GetReplaceString();
13672 result = (wxString *) &_result_ref;
13673 }
13674
13675 wxPyEndAllowThreads(__tstate);
13676 if (PyErr_Occurred()) SWIG_fail;
13677 }
13678 {
13679 #if wxUSE_UNICODE
13680 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13681 #else
13682 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13683 #endif
13684 }
13685 return resultobj;
13686 fail:
13687 return NULL;
13688 }
13689
13690
13691 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13692 PyObject *resultobj;
13693 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13694 wxFindReplaceDialog *result;
13695 PyObject * obj0 = 0 ;
13696 char *kwnames[] = {
13697 (char *) "self", NULL
13698 };
13699
13700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
13701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13703 {
13704 PyThreadState* __tstate = wxPyBeginAllowThreads();
13705 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
13706
13707 wxPyEndAllowThreads(__tstate);
13708 if (PyErr_Occurred()) SWIG_fail;
13709 }
13710 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
13711 return resultobj;
13712 fail:
13713 return NULL;
13714 }
13715
13716
13717 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13718 PyObject *resultobj;
13719 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13720 int arg2 ;
13721 PyObject * obj0 = 0 ;
13722 PyObject * obj1 = 0 ;
13723 char *kwnames[] = {
13724 (char *) "self",(char *) "flags", NULL
13725 };
13726
13727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13730 arg2 = (int) SWIG_AsInt(obj1);
13731 if (PyErr_Occurred()) SWIG_fail;
13732 {
13733 PyThreadState* __tstate = wxPyBeginAllowThreads();
13734 (arg1)->SetFlags(arg2);
13735
13736 wxPyEndAllowThreads(__tstate);
13737 if (PyErr_Occurred()) SWIG_fail;
13738 }
13739 Py_INCREF(Py_None); resultobj = Py_None;
13740 return resultobj;
13741 fail:
13742 return NULL;
13743 }
13744
13745
13746 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13747 PyObject *resultobj;
13748 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13749 wxString *arg2 = 0 ;
13750 bool temp2 = False ;
13751 PyObject * obj0 = 0 ;
13752 PyObject * obj1 = 0 ;
13753 char *kwnames[] = {
13754 (char *) "self",(char *) "str", NULL
13755 };
13756
13757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13760 {
13761 arg2 = wxString_in_helper(obj1);
13762 if (arg2 == NULL) SWIG_fail;
13763 temp2 = True;
13764 }
13765 {
13766 PyThreadState* __tstate = wxPyBeginAllowThreads();
13767 (arg1)->SetFindString((wxString const &)*arg2);
13768
13769 wxPyEndAllowThreads(__tstate);
13770 if (PyErr_Occurred()) SWIG_fail;
13771 }
13772 Py_INCREF(Py_None); resultobj = Py_None;
13773 {
13774 if (temp2)
13775 delete arg2;
13776 }
13777 return resultobj;
13778 fail:
13779 {
13780 if (temp2)
13781 delete arg2;
13782 }
13783 return NULL;
13784 }
13785
13786
13787 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13788 PyObject *resultobj;
13789 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13790 wxString *arg2 = 0 ;
13791 bool temp2 = False ;
13792 PyObject * obj0 = 0 ;
13793 PyObject * obj1 = 0 ;
13794 char *kwnames[] = {
13795 (char *) "self",(char *) "str", NULL
13796 };
13797
13798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13801 {
13802 arg2 = wxString_in_helper(obj1);
13803 if (arg2 == NULL) SWIG_fail;
13804 temp2 = True;
13805 }
13806 {
13807 PyThreadState* __tstate = wxPyBeginAllowThreads();
13808 (arg1)->SetReplaceString((wxString const &)*arg2);
13809
13810 wxPyEndAllowThreads(__tstate);
13811 if (PyErr_Occurred()) SWIG_fail;
13812 }
13813 Py_INCREF(Py_None); resultobj = Py_None;
13814 {
13815 if (temp2)
13816 delete arg2;
13817 }
13818 return resultobj;
13819 fail:
13820 {
13821 if (temp2)
13822 delete arg2;
13823 }
13824 return NULL;
13825 }
13826
13827
13828 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
13829 PyObject *obj;
13830 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13831 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
13832 Py_INCREF(obj);
13833 return Py_BuildValue((char *)"");
13834 }
13835 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13836 PyObject *resultobj;
13837 int arg1 = (int) 0 ;
13838 wxFindReplaceData *result;
13839 PyObject * obj0 = 0 ;
13840 char *kwnames[] = {
13841 (char *) "flags", NULL
13842 };
13843
13844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
13845 if (obj0) {
13846 arg1 = (int) SWIG_AsInt(obj0);
13847 if (PyErr_Occurred()) SWIG_fail;
13848 }
13849 {
13850 PyThreadState* __tstate = wxPyBeginAllowThreads();
13851 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
13852
13853 wxPyEndAllowThreads(__tstate);
13854 if (PyErr_Occurred()) SWIG_fail;
13855 }
13856 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
13857 return resultobj;
13858 fail:
13859 return NULL;
13860 }
13861
13862
13863 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13864 PyObject *resultobj;
13865 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13866 PyObject * obj0 = 0 ;
13867 char *kwnames[] = {
13868 (char *) "self", NULL
13869 };
13870
13871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
13872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13874 {
13875 PyThreadState* __tstate = wxPyBeginAllowThreads();
13876 delete arg1;
13877
13878 wxPyEndAllowThreads(__tstate);
13879 if (PyErr_Occurred()) SWIG_fail;
13880 }
13881 Py_INCREF(Py_None); resultobj = Py_None;
13882 return resultobj;
13883 fail:
13884 return NULL;
13885 }
13886
13887
13888 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13889 PyObject *resultobj;
13890 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13891 wxString *result;
13892 PyObject * obj0 = 0 ;
13893 char *kwnames[] = {
13894 (char *) "self", NULL
13895 };
13896
13897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
13898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13900 {
13901 PyThreadState* __tstate = wxPyBeginAllowThreads();
13902 {
13903 wxString const &_result_ref = (arg1)->GetFindString();
13904 result = (wxString *) &_result_ref;
13905 }
13906
13907 wxPyEndAllowThreads(__tstate);
13908 if (PyErr_Occurred()) SWIG_fail;
13909 }
13910 {
13911 #if wxUSE_UNICODE
13912 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13913 #else
13914 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13915 #endif
13916 }
13917 return resultobj;
13918 fail:
13919 return NULL;
13920 }
13921
13922
13923 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13924 PyObject *resultobj;
13925 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13926 wxString *result;
13927 PyObject * obj0 = 0 ;
13928 char *kwnames[] = {
13929 (char *) "self", NULL
13930 };
13931
13932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
13933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13935 {
13936 PyThreadState* __tstate = wxPyBeginAllowThreads();
13937 {
13938 wxString const &_result_ref = (arg1)->GetReplaceString();
13939 result = (wxString *) &_result_ref;
13940 }
13941
13942 wxPyEndAllowThreads(__tstate);
13943 if (PyErr_Occurred()) SWIG_fail;
13944 }
13945 {
13946 #if wxUSE_UNICODE
13947 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13948 #else
13949 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13950 #endif
13951 }
13952 return resultobj;
13953 fail:
13954 return NULL;
13955 }
13956
13957
13958 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13959 PyObject *resultobj;
13960 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13961 int result;
13962 PyObject * obj0 = 0 ;
13963 char *kwnames[] = {
13964 (char *) "self", NULL
13965 };
13966
13967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
13968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13970 {
13971 PyThreadState* __tstate = wxPyBeginAllowThreads();
13972 result = (int)(arg1)->GetFlags();
13973
13974 wxPyEndAllowThreads(__tstate);
13975 if (PyErr_Occurred()) SWIG_fail;
13976 }
13977 resultobj = SWIG_FromInt((int)result);
13978 return resultobj;
13979 fail:
13980 return NULL;
13981 }
13982
13983
13984 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13985 PyObject *resultobj;
13986 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13987 int arg2 ;
13988 PyObject * obj0 = 0 ;
13989 PyObject * obj1 = 0 ;
13990 char *kwnames[] = {
13991 (char *) "self",(char *) "flags", NULL
13992 };
13993
13994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13997 arg2 = (int) SWIG_AsInt(obj1);
13998 if (PyErr_Occurred()) SWIG_fail;
13999 {
14000 PyThreadState* __tstate = wxPyBeginAllowThreads();
14001 (arg1)->SetFlags(arg2);
14002
14003 wxPyEndAllowThreads(__tstate);
14004 if (PyErr_Occurred()) SWIG_fail;
14005 }
14006 Py_INCREF(Py_None); resultobj = Py_None;
14007 return resultobj;
14008 fail:
14009 return NULL;
14010 }
14011
14012
14013 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
14014 PyObject *resultobj;
14015 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14016 wxString *arg2 = 0 ;
14017 bool temp2 = False ;
14018 PyObject * obj0 = 0 ;
14019 PyObject * obj1 = 0 ;
14020 char *kwnames[] = {
14021 (char *) "self",(char *) "str", NULL
14022 };
14023
14024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14027 {
14028 arg2 = wxString_in_helper(obj1);
14029 if (arg2 == NULL) SWIG_fail;
14030 temp2 = True;
14031 }
14032 {
14033 PyThreadState* __tstate = wxPyBeginAllowThreads();
14034 (arg1)->SetFindString((wxString const &)*arg2);
14035
14036 wxPyEndAllowThreads(__tstate);
14037 if (PyErr_Occurred()) SWIG_fail;
14038 }
14039 Py_INCREF(Py_None); resultobj = Py_None;
14040 {
14041 if (temp2)
14042 delete arg2;
14043 }
14044 return resultobj;
14045 fail:
14046 {
14047 if (temp2)
14048 delete arg2;
14049 }
14050 return NULL;
14051 }
14052
14053
14054 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
14055 PyObject *resultobj;
14056 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14057 wxString *arg2 = 0 ;
14058 bool temp2 = False ;
14059 PyObject * obj0 = 0 ;
14060 PyObject * obj1 = 0 ;
14061 char *kwnames[] = {
14062 (char *) "self",(char *) "str", NULL
14063 };
14064
14065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14068 {
14069 arg2 = wxString_in_helper(obj1);
14070 if (arg2 == NULL) SWIG_fail;
14071 temp2 = True;
14072 }
14073 {
14074 PyThreadState* __tstate = wxPyBeginAllowThreads();
14075 (arg1)->SetReplaceString((wxString const &)*arg2);
14076
14077 wxPyEndAllowThreads(__tstate);
14078 if (PyErr_Occurred()) SWIG_fail;
14079 }
14080 Py_INCREF(Py_None); resultobj = Py_None;
14081 {
14082 if (temp2)
14083 delete arg2;
14084 }
14085 return resultobj;
14086 fail:
14087 {
14088 if (temp2)
14089 delete arg2;
14090 }
14091 return NULL;
14092 }
14093
14094
14095 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
14096 PyObject *obj;
14097 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14098 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
14099 Py_INCREF(obj);
14100 return Py_BuildValue((char *)"");
14101 }
14102 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14103 PyObject *resultobj;
14104 wxWindow *arg1 = (wxWindow *) 0 ;
14105 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14106 wxString *arg3 = 0 ;
14107 int arg4 = (int) 0 ;
14108 wxFindReplaceDialog *result;
14109 bool temp3 = False ;
14110 PyObject * obj0 = 0 ;
14111 PyObject * obj1 = 0 ;
14112 PyObject * obj2 = 0 ;
14113 PyObject * obj3 = 0 ;
14114 char *kwnames[] = {
14115 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14116 };
14117
14118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14121 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14123 {
14124 arg3 = wxString_in_helper(obj2);
14125 if (arg3 == NULL) SWIG_fail;
14126 temp3 = True;
14127 }
14128 if (obj3) {
14129 arg4 = (int) SWIG_AsInt(obj3);
14130 if (PyErr_Occurred()) SWIG_fail;
14131 }
14132 {
14133 PyThreadState* __tstate = wxPyBeginAllowThreads();
14134 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
14135
14136 wxPyEndAllowThreads(__tstate);
14137 if (PyErr_Occurred()) SWIG_fail;
14138 }
14139 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14140 {
14141 if (temp3)
14142 delete arg3;
14143 }
14144 return resultobj;
14145 fail:
14146 {
14147 if (temp3)
14148 delete arg3;
14149 }
14150 return NULL;
14151 }
14152
14153
14154 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14155 PyObject *resultobj;
14156 wxFindReplaceDialog *result;
14157 char *kwnames[] = {
14158 NULL
14159 };
14160
14161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
14162 {
14163 PyThreadState* __tstate = wxPyBeginAllowThreads();
14164 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
14165
14166 wxPyEndAllowThreads(__tstate);
14167 if (PyErr_Occurred()) SWIG_fail;
14168 }
14169 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14170 return resultobj;
14171 fail:
14172 return NULL;
14173 }
14174
14175
14176 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14177 PyObject *resultobj;
14178 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14179 wxWindow *arg2 = (wxWindow *) 0 ;
14180 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14181 wxString *arg4 = 0 ;
14182 int arg5 = (int) 0 ;
14183 bool result;
14184 bool temp4 = False ;
14185 PyObject * obj0 = 0 ;
14186 PyObject * obj1 = 0 ;
14187 PyObject * obj2 = 0 ;
14188 PyObject * obj3 = 0 ;
14189 PyObject * obj4 = 0 ;
14190 char *kwnames[] = {
14191 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14192 };
14193
14194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14197 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14199 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
14200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14201 {
14202 arg4 = wxString_in_helper(obj3);
14203 if (arg4 == NULL) SWIG_fail;
14204 temp4 = True;
14205 }
14206 if (obj4) {
14207 arg5 = (int) SWIG_AsInt(obj4);
14208 if (PyErr_Occurred()) SWIG_fail;
14209 }
14210 {
14211 PyThreadState* __tstate = wxPyBeginAllowThreads();
14212 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14213
14214 wxPyEndAllowThreads(__tstate);
14215 if (PyErr_Occurred()) SWIG_fail;
14216 }
14217 {
14218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14219 }
14220 {
14221 if (temp4)
14222 delete arg4;
14223 }
14224 return resultobj;
14225 fail:
14226 {
14227 if (temp4)
14228 delete arg4;
14229 }
14230 return NULL;
14231 }
14232
14233
14234 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14235 PyObject *resultobj;
14236 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14237 wxFindReplaceData *result;
14238 PyObject * obj0 = 0 ;
14239 char *kwnames[] = {
14240 (char *) "self", NULL
14241 };
14242
14243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
14244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14246 {
14247 PyThreadState* __tstate = wxPyBeginAllowThreads();
14248 result = (wxFindReplaceData *)(arg1)->GetData();
14249
14250 wxPyEndAllowThreads(__tstate);
14251 if (PyErr_Occurred()) SWIG_fail;
14252 }
14253 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
14254 return resultobj;
14255 fail:
14256 return NULL;
14257 }
14258
14259
14260 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14261 PyObject *resultobj;
14262 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14263 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14264 PyObject * obj0 = 0 ;
14265 PyObject * obj1 = 0 ;
14266 char *kwnames[] = {
14267 (char *) "self",(char *) "data", NULL
14268 };
14269
14270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
14271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14273 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14275 {
14276 PyThreadState* __tstate = wxPyBeginAllowThreads();
14277 (arg1)->SetData(arg2);
14278
14279 wxPyEndAllowThreads(__tstate);
14280 if (PyErr_Occurred()) SWIG_fail;
14281 }
14282 Py_INCREF(Py_None); resultobj = Py_None;
14283 return resultobj;
14284 fail:
14285 return NULL;
14286 }
14287
14288
14289 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
14290 PyObject *obj;
14291 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14292 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14293 Py_INCREF(obj);
14294 return Py_BuildValue((char *)"");
14295 }
14296 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14297 PyObject *resultobj;
14298 wxWindow *arg1 = (wxWindow *) 0 ;
14299 int arg2 ;
14300 wxString *arg3 = 0 ;
14301 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14302 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14303 wxSize const &arg5_defvalue = wxDefaultSize ;
14304 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14305 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14306 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14307 wxString *arg7 = (wxString *) &arg7_defvalue ;
14308 wxMDIParentFrame *result;
14309 bool temp3 = False ;
14310 wxPoint temp4 ;
14311 wxSize temp5 ;
14312 bool temp7 = False ;
14313 PyObject * obj0 = 0 ;
14314 PyObject * obj1 = 0 ;
14315 PyObject * obj2 = 0 ;
14316 PyObject * obj3 = 0 ;
14317 PyObject * obj4 = 0 ;
14318 PyObject * obj5 = 0 ;
14319 PyObject * obj6 = 0 ;
14320 char *kwnames[] = {
14321 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14322 };
14323
14324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14327 arg2 = (int const) SWIG_AsInt(obj1);
14328 if (PyErr_Occurred()) SWIG_fail;
14329 {
14330 arg3 = wxString_in_helper(obj2);
14331 if (arg3 == NULL) SWIG_fail;
14332 temp3 = True;
14333 }
14334 if (obj3) {
14335 {
14336 arg4 = &temp4;
14337 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14338 }
14339 }
14340 if (obj4) {
14341 {
14342 arg5 = &temp5;
14343 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14344 }
14345 }
14346 if (obj5) {
14347 arg6 = (long) SWIG_AsLong(obj5);
14348 if (PyErr_Occurred()) SWIG_fail;
14349 }
14350 if (obj6) {
14351 {
14352 arg7 = wxString_in_helper(obj6);
14353 if (arg7 == NULL) SWIG_fail;
14354 temp7 = True;
14355 }
14356 }
14357 {
14358 PyThreadState* __tstate = wxPyBeginAllowThreads();
14359 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14360
14361 wxPyEndAllowThreads(__tstate);
14362 if (PyErr_Occurred()) SWIG_fail;
14363 }
14364 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14365 {
14366 if (temp3)
14367 delete arg3;
14368 }
14369 {
14370 if (temp7)
14371 delete arg7;
14372 }
14373 return resultobj;
14374 fail:
14375 {
14376 if (temp3)
14377 delete arg3;
14378 }
14379 {
14380 if (temp7)
14381 delete arg7;
14382 }
14383 return NULL;
14384 }
14385
14386
14387 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14388 PyObject *resultobj;
14389 wxMDIParentFrame *result;
14390 char *kwnames[] = {
14391 NULL
14392 };
14393
14394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14395 {
14396 PyThreadState* __tstate = wxPyBeginAllowThreads();
14397 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14398
14399 wxPyEndAllowThreads(__tstate);
14400 if (PyErr_Occurred()) SWIG_fail;
14401 }
14402 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14403 return resultobj;
14404 fail:
14405 return NULL;
14406 }
14407
14408
14409 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14410 PyObject *resultobj;
14411 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14412 wxWindow *arg2 = (wxWindow *) 0 ;
14413 int arg3 ;
14414 wxString *arg4 = 0 ;
14415 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14416 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14417 wxSize const &arg6_defvalue = wxDefaultSize ;
14418 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14419 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14420 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14421 wxString *arg8 = (wxString *) &arg8_defvalue ;
14422 bool result;
14423 bool temp4 = False ;
14424 wxPoint temp5 ;
14425 wxSize temp6 ;
14426 bool temp8 = False ;
14427 PyObject * obj0 = 0 ;
14428 PyObject * obj1 = 0 ;
14429 PyObject * obj2 = 0 ;
14430 PyObject * obj3 = 0 ;
14431 PyObject * obj4 = 0 ;
14432 PyObject * obj5 = 0 ;
14433 PyObject * obj6 = 0 ;
14434 PyObject * obj7 = 0 ;
14435 char *kwnames[] = {
14436 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14437 };
14438
14439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14442 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14444 arg3 = (int const) SWIG_AsInt(obj2);
14445 if (PyErr_Occurred()) SWIG_fail;
14446 {
14447 arg4 = wxString_in_helper(obj3);
14448 if (arg4 == NULL) SWIG_fail;
14449 temp4 = True;
14450 }
14451 if (obj4) {
14452 {
14453 arg5 = &temp5;
14454 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14455 }
14456 }
14457 if (obj5) {
14458 {
14459 arg6 = &temp6;
14460 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14461 }
14462 }
14463 if (obj6) {
14464 arg7 = (long) SWIG_AsLong(obj6);
14465 if (PyErr_Occurred()) SWIG_fail;
14466 }
14467 if (obj7) {
14468 {
14469 arg8 = wxString_in_helper(obj7);
14470 if (arg8 == NULL) SWIG_fail;
14471 temp8 = True;
14472 }
14473 }
14474 {
14475 PyThreadState* __tstate = wxPyBeginAllowThreads();
14476 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14477
14478 wxPyEndAllowThreads(__tstate);
14479 if (PyErr_Occurred()) SWIG_fail;
14480 }
14481 {
14482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14483 }
14484 {
14485 if (temp4)
14486 delete arg4;
14487 }
14488 {
14489 if (temp8)
14490 delete arg8;
14491 }
14492 return resultobj;
14493 fail:
14494 {
14495 if (temp4)
14496 delete arg4;
14497 }
14498 {
14499 if (temp8)
14500 delete arg8;
14501 }
14502 return NULL;
14503 }
14504
14505
14506 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
14507 PyObject *resultobj;
14508 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14509 PyObject * obj0 = 0 ;
14510 char *kwnames[] = {
14511 (char *) "self", NULL
14512 };
14513
14514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
14515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14517 {
14518 PyThreadState* __tstate = wxPyBeginAllowThreads();
14519 (arg1)->ActivateNext();
14520
14521 wxPyEndAllowThreads(__tstate);
14522 if (PyErr_Occurred()) SWIG_fail;
14523 }
14524 Py_INCREF(Py_None); resultobj = Py_None;
14525 return resultobj;
14526 fail:
14527 return NULL;
14528 }
14529
14530
14531 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
14532 PyObject *resultobj;
14533 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14534 PyObject * obj0 = 0 ;
14535 char *kwnames[] = {
14536 (char *) "self", NULL
14537 };
14538
14539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
14540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14542 {
14543 PyThreadState* __tstate = wxPyBeginAllowThreads();
14544 (arg1)->ActivatePrevious();
14545
14546 wxPyEndAllowThreads(__tstate);
14547 if (PyErr_Occurred()) SWIG_fail;
14548 }
14549 Py_INCREF(Py_None); resultobj = Py_None;
14550 return resultobj;
14551 fail:
14552 return NULL;
14553 }
14554
14555
14556 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
14557 PyObject *resultobj;
14558 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14559 PyObject * obj0 = 0 ;
14560 char *kwnames[] = {
14561 (char *) "self", NULL
14562 };
14563
14564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
14565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14567 {
14568 PyThreadState* __tstate = wxPyBeginAllowThreads();
14569 (arg1)->ArrangeIcons();
14570
14571 wxPyEndAllowThreads(__tstate);
14572 if (PyErr_Occurred()) SWIG_fail;
14573 }
14574 Py_INCREF(Py_None); resultobj = Py_None;
14575 return resultobj;
14576 fail:
14577 return NULL;
14578 }
14579
14580
14581 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
14582 PyObject *resultobj;
14583 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14584 PyObject * obj0 = 0 ;
14585 char *kwnames[] = {
14586 (char *) "self", NULL
14587 };
14588
14589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
14590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14592 {
14593 PyThreadState* __tstate = wxPyBeginAllowThreads();
14594 (arg1)->Cascade();
14595
14596 wxPyEndAllowThreads(__tstate);
14597 if (PyErr_Occurred()) SWIG_fail;
14598 }
14599 Py_INCREF(Py_None); resultobj = Py_None;
14600 return resultobj;
14601 fail:
14602 return NULL;
14603 }
14604
14605
14606 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14607 PyObject *resultobj;
14608 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14609 wxMDIChildFrame *result;
14610 PyObject * obj0 = 0 ;
14611 char *kwnames[] = {
14612 (char *) "self", NULL
14613 };
14614
14615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
14616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14618 {
14619 PyThreadState* __tstate = wxPyBeginAllowThreads();
14620 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
14621
14622 wxPyEndAllowThreads(__tstate);
14623 if (PyErr_Occurred()) SWIG_fail;
14624 }
14625 {
14626 resultobj = wxPyMake_wxObject(result);
14627 }
14628 return resultobj;
14629 fail:
14630 return NULL;
14631 }
14632
14633
14634 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14635 PyObject *resultobj;
14636 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14637 wxMDIClientWindow *result;
14638 PyObject * obj0 = 0 ;
14639 char *kwnames[] = {
14640 (char *) "self", NULL
14641 };
14642
14643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
14644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14646 {
14647 PyThreadState* __tstate = wxPyBeginAllowThreads();
14648 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
14649
14650 wxPyEndAllowThreads(__tstate);
14651 if (PyErr_Occurred()) SWIG_fail;
14652 }
14653 {
14654 resultobj = wxPyMake_wxObject(result);
14655 }
14656 return resultobj;
14657 fail:
14658 return NULL;
14659 }
14660
14661
14662 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14663 PyObject *resultobj;
14664 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14665 wxWindow *result;
14666 PyObject * obj0 = 0 ;
14667 char *kwnames[] = {
14668 (char *) "self", NULL
14669 };
14670
14671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
14672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14674 {
14675 PyThreadState* __tstate = wxPyBeginAllowThreads();
14676 result = (wxWindow *)(arg1)->GetToolBar();
14677
14678 wxPyEndAllowThreads(__tstate);
14679 if (PyErr_Occurred()) SWIG_fail;
14680 }
14681 {
14682 resultobj = wxPyMake_wxObject(result);
14683 }
14684 return resultobj;
14685 fail:
14686 return NULL;
14687 }
14688
14689
14690 static PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
14691 PyObject *resultobj;
14692 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14693 wxMenu *result;
14694 PyObject * obj0 = 0 ;
14695 char *kwnames[] = {
14696 (char *) "self", NULL
14697 };
14698
14699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames,&obj0)) goto fail;
14700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14702 {
14703 PyThreadState* __tstate = wxPyBeginAllowThreads();
14704 result = (wxMenu *)(arg1)->GetWindowMenu();
14705
14706 wxPyEndAllowThreads(__tstate);
14707 if (PyErr_Occurred()) SWIG_fail;
14708 }
14709 {
14710 resultobj = wxPyMake_wxObject(result);
14711 }
14712 return resultobj;
14713 fail:
14714 return NULL;
14715 }
14716
14717
14718 static PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
14719 PyObject *resultobj;
14720 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14721 wxMenu *arg2 = (wxMenu *) 0 ;
14722 PyObject * obj0 = 0 ;
14723 PyObject * obj1 = 0 ;
14724 char *kwnames[] = {
14725 (char *) "self",(char *) "menu", NULL
14726 };
14727
14728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) goto fail;
14729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14731 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
14732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14733 {
14734 PyThreadState* __tstate = wxPyBeginAllowThreads();
14735 (arg1)->SetWindowMenu(arg2);
14736
14737 wxPyEndAllowThreads(__tstate);
14738 if (PyErr_Occurred()) SWIG_fail;
14739 }
14740 Py_INCREF(Py_None); resultobj = Py_None;
14741 return resultobj;
14742 fail:
14743 return NULL;
14744 }
14745
14746
14747 static PyObject *_wrap_MDIParentFrame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14748 PyObject *resultobj;
14749 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14750 wxToolBar *arg2 = (wxToolBar *) 0 ;
14751 PyObject * obj0 = 0 ;
14752 PyObject * obj1 = 0 ;
14753 char *kwnames[] = {
14754 (char *) "self",(char *) "toolbar", NULL
14755 };
14756
14757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
14758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14760 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
14761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14762 {
14763 PyThreadState* __tstate = wxPyBeginAllowThreads();
14764 (arg1)->SetToolBar(arg2);
14765
14766 wxPyEndAllowThreads(__tstate);
14767 if (PyErr_Occurred()) SWIG_fail;
14768 }
14769 Py_INCREF(Py_None); resultobj = Py_None;
14770 return resultobj;
14771 fail:
14772 return NULL;
14773 }
14774
14775
14776 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
14777 PyObject *resultobj;
14778 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14779 PyObject * obj0 = 0 ;
14780 char *kwnames[] = {
14781 (char *) "self", NULL
14782 };
14783
14784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
14785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14787 {
14788 PyThreadState* __tstate = wxPyBeginAllowThreads();
14789 (arg1)->Tile();
14790
14791 wxPyEndAllowThreads(__tstate);
14792 if (PyErr_Occurred()) SWIG_fail;
14793 }
14794 Py_INCREF(Py_None); resultobj = Py_None;
14795 return resultobj;
14796 fail:
14797 return NULL;
14798 }
14799
14800
14801 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
14802 PyObject *obj;
14803 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14804 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
14805 Py_INCREF(obj);
14806 return Py_BuildValue((char *)"");
14807 }
14808 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14809 PyObject *resultobj;
14810 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14811 int arg2 ;
14812 wxString *arg3 = 0 ;
14813 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14814 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14815 wxSize const &arg5_defvalue = wxDefaultSize ;
14816 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14817 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
14818 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14819 wxString *arg7 = (wxString *) &arg7_defvalue ;
14820 wxMDIChildFrame *result;
14821 bool temp3 = False ;
14822 wxPoint temp4 ;
14823 wxSize temp5 ;
14824 bool temp7 = False ;
14825 PyObject * obj0 = 0 ;
14826 PyObject * obj1 = 0 ;
14827 PyObject * obj2 = 0 ;
14828 PyObject * obj3 = 0 ;
14829 PyObject * obj4 = 0 ;
14830 PyObject * obj5 = 0 ;
14831 PyObject * obj6 = 0 ;
14832 char *kwnames[] = {
14833 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14834 };
14835
14836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14839 arg2 = (int const) SWIG_AsInt(obj1);
14840 if (PyErr_Occurred()) SWIG_fail;
14841 {
14842 arg3 = wxString_in_helper(obj2);
14843 if (arg3 == NULL) SWIG_fail;
14844 temp3 = True;
14845 }
14846 if (obj3) {
14847 {
14848 arg4 = &temp4;
14849 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14850 }
14851 }
14852 if (obj4) {
14853 {
14854 arg5 = &temp5;
14855 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14856 }
14857 }
14858 if (obj5) {
14859 arg6 = (long) SWIG_AsLong(obj5);
14860 if (PyErr_Occurred()) SWIG_fail;
14861 }
14862 if (obj6) {
14863 {
14864 arg7 = wxString_in_helper(obj6);
14865 if (arg7 == NULL) SWIG_fail;
14866 temp7 = True;
14867 }
14868 }
14869 {
14870 PyThreadState* __tstate = wxPyBeginAllowThreads();
14871 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14872
14873 wxPyEndAllowThreads(__tstate);
14874 if (PyErr_Occurred()) SWIG_fail;
14875 }
14876 {
14877 resultobj = wxPyMake_wxObject(result);
14878 }
14879 {
14880 if (temp3)
14881 delete arg3;
14882 }
14883 {
14884 if (temp7)
14885 delete arg7;
14886 }
14887 return resultobj;
14888 fail:
14889 {
14890 if (temp3)
14891 delete arg3;
14892 }
14893 {
14894 if (temp7)
14895 delete arg7;
14896 }
14897 return NULL;
14898 }
14899
14900
14901 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14902 PyObject *resultobj;
14903 wxMDIChildFrame *result;
14904 char *kwnames[] = {
14905 NULL
14906 };
14907
14908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
14909 {
14910 PyThreadState* __tstate = wxPyBeginAllowThreads();
14911 result = (wxMDIChildFrame *)new wxMDIChildFrame();
14912
14913 wxPyEndAllowThreads(__tstate);
14914 if (PyErr_Occurred()) SWIG_fail;
14915 }
14916 {
14917 resultobj = wxPyMake_wxObject(result);
14918 }
14919 return resultobj;
14920 fail:
14921 return NULL;
14922 }
14923
14924
14925 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14926 PyObject *resultobj;
14927 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14928 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14929 int arg3 ;
14930 wxString *arg4 = 0 ;
14931 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14932 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14933 wxSize const &arg6_defvalue = wxDefaultSize ;
14934 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14935 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
14936 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14937 wxString *arg8 = (wxString *) &arg8_defvalue ;
14938 bool result;
14939 bool temp4 = False ;
14940 wxPoint temp5 ;
14941 wxSize temp6 ;
14942 bool temp8 = False ;
14943 PyObject * obj0 = 0 ;
14944 PyObject * obj1 = 0 ;
14945 PyObject * obj2 = 0 ;
14946 PyObject * obj3 = 0 ;
14947 PyObject * obj4 = 0 ;
14948 PyObject * obj5 = 0 ;
14949 PyObject * obj6 = 0 ;
14950 PyObject * obj7 = 0 ;
14951 char *kwnames[] = {
14952 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14953 };
14954
14955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14958 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
14959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14960 arg3 = (int const) SWIG_AsInt(obj2);
14961 if (PyErr_Occurred()) SWIG_fail;
14962 {
14963 arg4 = wxString_in_helper(obj3);
14964 if (arg4 == NULL) SWIG_fail;
14965 temp4 = True;
14966 }
14967 if (obj4) {
14968 {
14969 arg5 = &temp5;
14970 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14971 }
14972 }
14973 if (obj5) {
14974 {
14975 arg6 = &temp6;
14976 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14977 }
14978 }
14979 if (obj6) {
14980 arg7 = (long) SWIG_AsLong(obj6);
14981 if (PyErr_Occurred()) SWIG_fail;
14982 }
14983 if (obj7) {
14984 {
14985 arg8 = wxString_in_helper(obj7);
14986 if (arg8 == NULL) SWIG_fail;
14987 temp8 = True;
14988 }
14989 }
14990 {
14991 PyThreadState* __tstate = wxPyBeginAllowThreads();
14992 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14993
14994 wxPyEndAllowThreads(__tstate);
14995 if (PyErr_Occurred()) SWIG_fail;
14996 }
14997 {
14998 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14999 }
15000 {
15001 if (temp4)
15002 delete arg4;
15003 }
15004 {
15005 if (temp8)
15006 delete arg8;
15007 }
15008 return resultobj;
15009 fail:
15010 {
15011 if (temp4)
15012 delete arg4;
15013 }
15014 {
15015 if (temp8)
15016 delete arg8;
15017 }
15018 return NULL;
15019 }
15020
15021
15022 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
15023 PyObject *resultobj;
15024 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15025 PyObject * obj0 = 0 ;
15026 char *kwnames[] = {
15027 (char *) "self", NULL
15028 };
15029
15030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
15031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15033 {
15034 PyThreadState* __tstate = wxPyBeginAllowThreads();
15035 (arg1)->Activate();
15036
15037 wxPyEndAllowThreads(__tstate);
15038 if (PyErr_Occurred()) SWIG_fail;
15039 }
15040 Py_INCREF(Py_None); resultobj = Py_None;
15041 return resultobj;
15042 fail:
15043 return NULL;
15044 }
15045
15046
15047 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
15048 PyObject *resultobj;
15049 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15050 bool arg2 ;
15051 PyObject * obj0 = 0 ;
15052 PyObject * obj1 = 0 ;
15053 char *kwnames[] = {
15054 (char *) "self",(char *) "maximize", NULL
15055 };
15056
15057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
15058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15060 arg2 = (bool) SWIG_AsBool(obj1);
15061 if (PyErr_Occurred()) SWIG_fail;
15062 {
15063 PyThreadState* __tstate = wxPyBeginAllowThreads();
15064 (arg1)->Maximize(arg2);
15065
15066 wxPyEndAllowThreads(__tstate);
15067 if (PyErr_Occurred()) SWIG_fail;
15068 }
15069 Py_INCREF(Py_None); resultobj = Py_None;
15070 return resultobj;
15071 fail:
15072 return NULL;
15073 }
15074
15075
15076 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
15077 PyObject *resultobj;
15078 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15079 PyObject * obj0 = 0 ;
15080 char *kwnames[] = {
15081 (char *) "self", NULL
15082 };
15083
15084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
15085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15087 {
15088 PyThreadState* __tstate = wxPyBeginAllowThreads();
15089 (arg1)->Restore();
15090
15091 wxPyEndAllowThreads(__tstate);
15092 if (PyErr_Occurred()) SWIG_fail;
15093 }
15094 Py_INCREF(Py_None); resultobj = Py_None;
15095 return resultobj;
15096 fail:
15097 return NULL;
15098 }
15099
15100
15101 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
15102 PyObject *obj;
15103 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15104 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
15105 Py_INCREF(obj);
15106 return Py_BuildValue((char *)"");
15107 }
15108 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15109 PyObject *resultobj;
15110 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15111 long arg2 = (long) 0 ;
15112 wxMDIClientWindow *result;
15113 PyObject * obj0 = 0 ;
15114 PyObject * obj1 = 0 ;
15115 char *kwnames[] = {
15116 (char *) "parent",(char *) "style", NULL
15117 };
15118
15119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
15120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15122 if (obj1) {
15123 arg2 = (long) SWIG_AsLong(obj1);
15124 if (PyErr_Occurred()) SWIG_fail;
15125 }
15126 {
15127 PyThreadState* __tstate = wxPyBeginAllowThreads();
15128 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
15129
15130 wxPyEndAllowThreads(__tstate);
15131 if (PyErr_Occurred()) SWIG_fail;
15132 }
15133 {
15134 resultobj = wxPyMake_wxObject(result);
15135 }
15136 return resultobj;
15137 fail:
15138 return NULL;
15139 }
15140
15141
15142 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15143 PyObject *resultobj;
15144 wxMDIClientWindow *result;
15145 char *kwnames[] = {
15146 NULL
15147 };
15148
15149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
15150 {
15151 PyThreadState* __tstate = wxPyBeginAllowThreads();
15152 result = (wxMDIClientWindow *)new wxMDIClientWindow();
15153
15154 wxPyEndAllowThreads(__tstate);
15155 if (PyErr_Occurred()) SWIG_fail;
15156 }
15157 {
15158 resultobj = wxPyMake_wxObject(result);
15159 }
15160 return resultobj;
15161 fail:
15162 return NULL;
15163 }
15164
15165
15166 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15167 PyObject *resultobj;
15168 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
15169 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15170 long arg3 = (long) 0 ;
15171 bool result;
15172 PyObject * obj0 = 0 ;
15173 PyObject * obj1 = 0 ;
15174 PyObject * obj2 = 0 ;
15175 char *kwnames[] = {
15176 (char *) "self",(char *) "parent",(char *) "style", NULL
15177 };
15178
15179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
15181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15182 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15184 if (obj2) {
15185 arg3 = (long) SWIG_AsLong(obj2);
15186 if (PyErr_Occurred()) SWIG_fail;
15187 }
15188 {
15189 PyThreadState* __tstate = wxPyBeginAllowThreads();
15190 result = (bool)(arg1)->Create(arg2,arg3);
15191
15192 wxPyEndAllowThreads(__tstate);
15193 if (PyErr_Occurred()) SWIG_fail;
15194 }
15195 {
15196 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15197 }
15198 return resultobj;
15199 fail:
15200 return NULL;
15201 }
15202
15203
15204 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
15205 PyObject *obj;
15206 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15207 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
15208 Py_INCREF(obj);
15209 return Py_BuildValue((char *)"");
15210 }
15211 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15212 PyObject *resultobj;
15213 wxWindow *arg1 = (wxWindow *) 0 ;
15214 int arg2 ;
15215 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15216 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15217 wxSize const &arg4_defvalue = wxDefaultSize ;
15218 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15219 long arg5 = (long) 0 ;
15220 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15221 wxString *arg6 = (wxString *) &arg6_defvalue ;
15222 wxPyWindow *result;
15223 wxPoint temp3 ;
15224 wxSize temp4 ;
15225 bool temp6 = False ;
15226 PyObject * obj0 = 0 ;
15227 PyObject * obj1 = 0 ;
15228 PyObject * obj2 = 0 ;
15229 PyObject * obj3 = 0 ;
15230 PyObject * obj4 = 0 ;
15231 PyObject * obj5 = 0 ;
15232 char *kwnames[] = {
15233 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15234 };
15235
15236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15239 arg2 = (int const) SWIG_AsInt(obj1);
15240 if (PyErr_Occurred()) SWIG_fail;
15241 if (obj2) {
15242 {
15243 arg3 = &temp3;
15244 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15245 }
15246 }
15247 if (obj3) {
15248 {
15249 arg4 = &temp4;
15250 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15251 }
15252 }
15253 if (obj4) {
15254 arg5 = (long) SWIG_AsLong(obj4);
15255 if (PyErr_Occurred()) SWIG_fail;
15256 }
15257 if (obj5) {
15258 {
15259 arg6 = wxString_in_helper(obj5);
15260 if (arg6 == NULL) SWIG_fail;
15261 temp6 = True;
15262 }
15263 }
15264 {
15265 PyThreadState* __tstate = wxPyBeginAllowThreads();
15266 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15267
15268 wxPyEndAllowThreads(__tstate);
15269 if (PyErr_Occurred()) SWIG_fail;
15270 }
15271 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15272 {
15273 if (temp6)
15274 delete arg6;
15275 }
15276 return resultobj;
15277 fail:
15278 {
15279 if (temp6)
15280 delete arg6;
15281 }
15282 return NULL;
15283 }
15284
15285
15286 static PyObject *_wrap_new_PrePyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15287 PyObject *resultobj;
15288 wxPyWindow *result;
15289 char *kwnames[] = {
15290 NULL
15291 };
15292
15293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
15294 {
15295 PyThreadState* __tstate = wxPyBeginAllowThreads();
15296 result = (wxPyWindow *)new wxPyWindow();
15297
15298 wxPyEndAllowThreads(__tstate);
15299 if (PyErr_Occurred()) SWIG_fail;
15300 }
15301 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15302 return resultobj;
15303 fail:
15304 return NULL;
15305 }
15306
15307
15308 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15309 PyObject *resultobj;
15310 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15311 PyObject *arg2 = (PyObject *) 0 ;
15312 PyObject *arg3 = (PyObject *) 0 ;
15313 PyObject * obj0 = 0 ;
15314 PyObject * obj1 = 0 ;
15315 PyObject * obj2 = 0 ;
15316 char *kwnames[] = {
15317 (char *) "self",(char *) "self",(char *) "_class", NULL
15318 };
15319
15320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15323 arg2 = obj1;
15324 arg3 = obj2;
15325 {
15326 PyThreadState* __tstate = wxPyBeginAllowThreads();
15327 (arg1)->_setCallbackInfo(arg2,arg3);
15328
15329 wxPyEndAllowThreads(__tstate);
15330 if (PyErr_Occurred()) SWIG_fail;
15331 }
15332 Py_INCREF(Py_None); resultobj = Py_None;
15333 return resultobj;
15334 fail:
15335 return NULL;
15336 }
15337
15338
15339 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15340 PyObject *resultobj;
15341 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15342 int arg2 ;
15343 int arg3 ;
15344 int arg4 ;
15345 int arg5 ;
15346 PyObject * obj0 = 0 ;
15347 PyObject * obj1 = 0 ;
15348 PyObject * obj2 = 0 ;
15349 PyObject * obj3 = 0 ;
15350 PyObject * obj4 = 0 ;
15351 char *kwnames[] = {
15352 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15353 };
15354
15355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15358 arg2 = (int) SWIG_AsInt(obj1);
15359 if (PyErr_Occurred()) SWIG_fail;
15360 arg3 = (int) SWIG_AsInt(obj2);
15361 if (PyErr_Occurred()) SWIG_fail;
15362 arg4 = (int) SWIG_AsInt(obj3);
15363 if (PyErr_Occurred()) SWIG_fail;
15364 arg5 = (int) SWIG_AsInt(obj4);
15365 if (PyErr_Occurred()) SWIG_fail;
15366 {
15367 PyThreadState* __tstate = wxPyBeginAllowThreads();
15368 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15369
15370 wxPyEndAllowThreads(__tstate);
15371 if (PyErr_Occurred()) SWIG_fail;
15372 }
15373 Py_INCREF(Py_None); resultobj = Py_None;
15374 return resultobj;
15375 fail:
15376 return NULL;
15377 }
15378
15379
15380 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15381 PyObject *resultobj;
15382 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15383 int arg2 ;
15384 int arg3 ;
15385 int arg4 ;
15386 int arg5 ;
15387 int arg6 = (int) wxSIZE_AUTO ;
15388 PyObject * obj0 = 0 ;
15389 PyObject * obj1 = 0 ;
15390 PyObject * obj2 = 0 ;
15391 PyObject * obj3 = 0 ;
15392 PyObject * obj4 = 0 ;
15393 PyObject * obj5 = 0 ;
15394 char *kwnames[] = {
15395 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15396 };
15397
15398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15401 arg2 = (int) SWIG_AsInt(obj1);
15402 if (PyErr_Occurred()) SWIG_fail;
15403 arg3 = (int) SWIG_AsInt(obj2);
15404 if (PyErr_Occurred()) SWIG_fail;
15405 arg4 = (int) SWIG_AsInt(obj3);
15406 if (PyErr_Occurred()) SWIG_fail;
15407 arg5 = (int) SWIG_AsInt(obj4);
15408 if (PyErr_Occurred()) SWIG_fail;
15409 if (obj5) {
15410 arg6 = (int) SWIG_AsInt(obj5);
15411 if (PyErr_Occurred()) SWIG_fail;
15412 }
15413 {
15414 PyThreadState* __tstate = wxPyBeginAllowThreads();
15415 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15416
15417 wxPyEndAllowThreads(__tstate);
15418 if (PyErr_Occurred()) SWIG_fail;
15419 }
15420 Py_INCREF(Py_None); resultobj = Py_None;
15421 return resultobj;
15422 fail:
15423 return NULL;
15424 }
15425
15426
15427 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15428 PyObject *resultobj;
15429 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15430 int arg2 ;
15431 int arg3 ;
15432 PyObject * obj0 = 0 ;
15433 PyObject * obj1 = 0 ;
15434 PyObject * obj2 = 0 ;
15435 char *kwnames[] = {
15436 (char *) "self",(char *) "width",(char *) "height", NULL
15437 };
15438
15439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15442 arg2 = (int) SWIG_AsInt(obj1);
15443 if (PyErr_Occurred()) SWIG_fail;
15444 arg3 = (int) SWIG_AsInt(obj2);
15445 if (PyErr_Occurred()) SWIG_fail;
15446 {
15447 PyThreadState* __tstate = wxPyBeginAllowThreads();
15448 (arg1)->base_DoSetClientSize(arg2,arg3);
15449
15450 wxPyEndAllowThreads(__tstate);
15451 if (PyErr_Occurred()) SWIG_fail;
15452 }
15453 Py_INCREF(Py_None); resultobj = Py_None;
15454 return resultobj;
15455 fail:
15456 return NULL;
15457 }
15458
15459
15460 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15461 PyObject *resultobj;
15462 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15463 int arg2 ;
15464 int arg3 ;
15465 PyObject * obj0 = 0 ;
15466 PyObject * obj1 = 0 ;
15467 PyObject * obj2 = 0 ;
15468 char *kwnames[] = {
15469 (char *) "self",(char *) "x",(char *) "y", NULL
15470 };
15471
15472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15475 arg2 = (int) SWIG_AsInt(obj1);
15476 if (PyErr_Occurred()) SWIG_fail;
15477 arg3 = (int) SWIG_AsInt(obj2);
15478 if (PyErr_Occurred()) SWIG_fail;
15479 {
15480 PyThreadState* __tstate = wxPyBeginAllowThreads();
15481 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15482
15483 wxPyEndAllowThreads(__tstate);
15484 if (PyErr_Occurred()) SWIG_fail;
15485 }
15486 Py_INCREF(Py_None); resultobj = Py_None;
15487 return resultobj;
15488 fail:
15489 return NULL;
15490 }
15491
15492
15493 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15494 PyObject *resultobj;
15495 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15496 int *arg2 = (int *) 0 ;
15497 int *arg3 = (int *) 0 ;
15498 int temp2 ;
15499 int temp3 ;
15500 PyObject * obj0 = 0 ;
15501 char *kwnames[] = {
15502 (char *) "self", NULL
15503 };
15504
15505 arg2 = &temp2;
15506 arg3 = &temp3;
15507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15510 {
15511 PyThreadState* __tstate = wxPyBeginAllowThreads();
15512 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15513
15514 wxPyEndAllowThreads(__tstate);
15515 if (PyErr_Occurred()) SWIG_fail;
15516 }
15517 Py_INCREF(Py_None); resultobj = Py_None;
15518 {
15519 PyObject *o = PyInt_FromLong((long) (*arg2));
15520 resultobj = t_output_helper(resultobj,o);
15521 }
15522 {
15523 PyObject *o = PyInt_FromLong((long) (*arg3));
15524 resultobj = t_output_helper(resultobj,o);
15525 }
15526 return resultobj;
15527 fail:
15528 return NULL;
15529 }
15530
15531
15532 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15533 PyObject *resultobj;
15534 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15535 int *arg2 = (int *) 0 ;
15536 int *arg3 = (int *) 0 ;
15537 int temp2 ;
15538 int temp3 ;
15539 PyObject * obj0 = 0 ;
15540 char *kwnames[] = {
15541 (char *) "self", NULL
15542 };
15543
15544 arg2 = &temp2;
15545 arg3 = &temp3;
15546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15549 {
15550 PyThreadState* __tstate = wxPyBeginAllowThreads();
15551 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
15552
15553 wxPyEndAllowThreads(__tstate);
15554 if (PyErr_Occurred()) SWIG_fail;
15555 }
15556 Py_INCREF(Py_None); resultobj = Py_None;
15557 {
15558 PyObject *o = PyInt_FromLong((long) (*arg2));
15559 resultobj = t_output_helper(resultobj,o);
15560 }
15561 {
15562 PyObject *o = PyInt_FromLong((long) (*arg3));
15563 resultobj = t_output_helper(resultobj,o);
15564 }
15565 return resultobj;
15566 fail:
15567 return NULL;
15568 }
15569
15570
15571 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15572 PyObject *resultobj;
15573 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15574 int *arg2 = (int *) 0 ;
15575 int *arg3 = (int *) 0 ;
15576 int temp2 ;
15577 int temp3 ;
15578 PyObject * obj0 = 0 ;
15579 char *kwnames[] = {
15580 (char *) "self", NULL
15581 };
15582
15583 arg2 = &temp2;
15584 arg3 = &temp3;
15585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
15586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15588 {
15589 PyThreadState* __tstate = wxPyBeginAllowThreads();
15590 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
15591
15592 wxPyEndAllowThreads(__tstate);
15593 if (PyErr_Occurred()) SWIG_fail;
15594 }
15595 Py_INCREF(Py_None); resultobj = Py_None;
15596 {
15597 PyObject *o = PyInt_FromLong((long) (*arg2));
15598 resultobj = t_output_helper(resultobj,o);
15599 }
15600 {
15601 PyObject *o = PyInt_FromLong((long) (*arg3));
15602 resultobj = t_output_helper(resultobj,o);
15603 }
15604 return resultobj;
15605 fail:
15606 return NULL;
15607 }
15608
15609
15610 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15611 PyObject *resultobj;
15612 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15613 wxSize result;
15614 PyObject * obj0 = 0 ;
15615 char *kwnames[] = {
15616 (char *) "self", NULL
15617 };
15618
15619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15622 {
15623 PyThreadState* __tstate = wxPyBeginAllowThreads();
15624 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
15625
15626 wxPyEndAllowThreads(__tstate);
15627 if (PyErr_Occurred()) SWIG_fail;
15628 }
15629 {
15630 wxSize * resultptr;
15631 resultptr = new wxSize((wxSize &) result);
15632 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15633 }
15634 return resultobj;
15635 fail:
15636 return NULL;
15637 }
15638
15639
15640 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15641 PyObject *resultobj;
15642 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15643 wxSize result;
15644 PyObject * obj0 = 0 ;
15645 char *kwnames[] = {
15646 (char *) "self", NULL
15647 };
15648
15649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15652 {
15653 PyThreadState* __tstate = wxPyBeginAllowThreads();
15654 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
15655
15656 wxPyEndAllowThreads(__tstate);
15657 if (PyErr_Occurred()) SWIG_fail;
15658 }
15659 {
15660 wxSize * resultptr;
15661 resultptr = new wxSize((wxSize &) result);
15662 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15663 }
15664 return resultobj;
15665 fail:
15666 return NULL;
15667 }
15668
15669
15670 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
15671 PyObject *resultobj;
15672 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15673 PyObject * obj0 = 0 ;
15674 char *kwnames[] = {
15675 (char *) "self", NULL
15676 };
15677
15678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
15679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15681 {
15682 PyThreadState* __tstate = wxPyBeginAllowThreads();
15683 (arg1)->base_InitDialog();
15684
15685 wxPyEndAllowThreads(__tstate);
15686 if (PyErr_Occurred()) SWIG_fail;
15687 }
15688 Py_INCREF(Py_None); resultobj = Py_None;
15689 return resultobj;
15690 fail:
15691 return NULL;
15692 }
15693
15694
15695 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15696 PyObject *resultobj;
15697 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15698 bool result;
15699 PyObject * obj0 = 0 ;
15700 char *kwnames[] = {
15701 (char *) "self", NULL
15702 };
15703
15704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15707 {
15708 PyThreadState* __tstate = wxPyBeginAllowThreads();
15709 result = (bool)(arg1)->base_TransferDataToWindow();
15710
15711 wxPyEndAllowThreads(__tstate);
15712 if (PyErr_Occurred()) SWIG_fail;
15713 }
15714 {
15715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15716 }
15717 return resultobj;
15718 fail:
15719 return NULL;
15720 }
15721
15722
15723 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15724 PyObject *resultobj;
15725 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15726 bool result;
15727 PyObject * obj0 = 0 ;
15728 char *kwnames[] = {
15729 (char *) "self", NULL
15730 };
15731
15732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15735 {
15736 PyThreadState* __tstate = wxPyBeginAllowThreads();
15737 result = (bool)(arg1)->base_TransferDataFromWindow();
15738
15739 wxPyEndAllowThreads(__tstate);
15740 if (PyErr_Occurred()) SWIG_fail;
15741 }
15742 {
15743 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15744 }
15745 return resultobj;
15746 fail:
15747 return NULL;
15748 }
15749
15750
15751 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
15752 PyObject *resultobj;
15753 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15754 bool result;
15755 PyObject * obj0 = 0 ;
15756 char *kwnames[] = {
15757 (char *) "self", NULL
15758 };
15759
15760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
15761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15763 {
15764 PyThreadState* __tstate = wxPyBeginAllowThreads();
15765 result = (bool)(arg1)->base_Validate();
15766
15767 wxPyEndAllowThreads(__tstate);
15768 if (PyErr_Occurred()) SWIG_fail;
15769 }
15770 {
15771 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15772 }
15773 return resultobj;
15774 fail:
15775 return NULL;
15776 }
15777
15778
15779 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
15780 PyObject *resultobj;
15781 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15782 bool result;
15783 PyObject * obj0 = 0 ;
15784 char *kwnames[] = {
15785 (char *) "self", NULL
15786 };
15787
15788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15791 {
15792 PyThreadState* __tstate = wxPyBeginAllowThreads();
15793 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
15794
15795 wxPyEndAllowThreads(__tstate);
15796 if (PyErr_Occurred()) SWIG_fail;
15797 }
15798 {
15799 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15800 }
15801 return resultobj;
15802 fail:
15803 return NULL;
15804 }
15805
15806
15807 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
15808 PyObject *resultobj;
15809 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15810 bool result;
15811 PyObject * obj0 = 0 ;
15812 char *kwnames[] = {
15813 (char *) "self", NULL
15814 };
15815
15816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15819 {
15820 PyThreadState* __tstate = wxPyBeginAllowThreads();
15821 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
15822
15823 wxPyEndAllowThreads(__tstate);
15824 if (PyErr_Occurred()) SWIG_fail;
15825 }
15826 {
15827 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15828 }
15829 return resultobj;
15830 fail:
15831 return NULL;
15832 }
15833
15834
15835 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15836 PyObject *resultobj;
15837 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15838 wxSize result;
15839 PyObject * obj0 = 0 ;
15840 char *kwnames[] = {
15841 (char *) "self", NULL
15842 };
15843
15844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
15845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15847 {
15848 PyThreadState* __tstate = wxPyBeginAllowThreads();
15849 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
15850
15851 wxPyEndAllowThreads(__tstate);
15852 if (PyErr_Occurred()) SWIG_fail;
15853 }
15854 {
15855 wxSize * resultptr;
15856 resultptr = new wxSize((wxSize &) result);
15857 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15858 }
15859 return resultobj;
15860 fail:
15861 return NULL;
15862 }
15863
15864
15865 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15866 PyObject *resultobj;
15867 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15868 wxWindow *arg2 = (wxWindow *) 0 ;
15869 PyObject * obj0 = 0 ;
15870 PyObject * obj1 = 0 ;
15871 char *kwnames[] = {
15872 (char *) "self",(char *) "child", NULL
15873 };
15874
15875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15878 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15880 {
15881 PyThreadState* __tstate = wxPyBeginAllowThreads();
15882 (arg1)->base_AddChild(arg2);
15883
15884 wxPyEndAllowThreads(__tstate);
15885 if (PyErr_Occurred()) SWIG_fail;
15886 }
15887 Py_INCREF(Py_None); resultobj = Py_None;
15888 return resultobj;
15889 fail:
15890 return NULL;
15891 }
15892
15893
15894 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15895 PyObject *resultobj;
15896 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15897 wxWindow *arg2 = (wxWindow *) 0 ;
15898 PyObject * obj0 = 0 ;
15899 PyObject * obj1 = 0 ;
15900 char *kwnames[] = {
15901 (char *) "self",(char *) "child", NULL
15902 };
15903
15904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15907 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15909 {
15910 PyThreadState* __tstate = wxPyBeginAllowThreads();
15911 (arg1)->base_RemoveChild(arg2);
15912
15913 wxPyEndAllowThreads(__tstate);
15914 if (PyErr_Occurred()) SWIG_fail;
15915 }
15916 Py_INCREF(Py_None); resultobj = Py_None;
15917 return resultobj;
15918 fail:
15919 return NULL;
15920 }
15921
15922
15923 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
15924 PyObject *resultobj;
15925 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15926 bool result;
15927 PyObject * obj0 = 0 ;
15928 char *kwnames[] = {
15929 (char *) "self", NULL
15930 };
15931
15932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
15933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15935 {
15936 PyThreadState* __tstate = wxPyBeginAllowThreads();
15937 result = (bool)(arg1)->base_ShouldInheritColours();
15938
15939 wxPyEndAllowThreads(__tstate);
15940 if (PyErr_Occurred()) SWIG_fail;
15941 }
15942 {
15943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15944 }
15945 return resultobj;
15946 fail:
15947 return NULL;
15948 }
15949
15950
15951 static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
15952 PyObject *resultobj;
15953 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15954 wxColour *arg2 = 0 ;
15955 wxColour temp2 ;
15956 PyObject * obj0 = 0 ;
15957 PyObject * obj1 = 0 ;
15958 char *kwnames[] = {
15959 (char *) "self",(char *) "c", NULL
15960 };
15961
15962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
15963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15965 {
15966 arg2 = &temp2;
15967 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15968 }
15969 {
15970 PyThreadState* __tstate = wxPyBeginAllowThreads();
15971 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
15972
15973 wxPyEndAllowThreads(__tstate);
15974 if (PyErr_Occurred()) SWIG_fail;
15975 }
15976 Py_INCREF(Py_None); resultobj = Py_None;
15977 return resultobj;
15978 fail:
15979 return NULL;
15980 }
15981
15982
15983 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
15984 PyObject *obj;
15985 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15986 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
15987 Py_INCREF(obj);
15988 return Py_BuildValue((char *)"");
15989 }
15990 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
15991 PyObject *resultobj;
15992 wxWindow *arg1 = (wxWindow *) 0 ;
15993 int arg2 ;
15994 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15995 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15996 wxSize const &arg4_defvalue = wxDefaultSize ;
15997 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15998 long arg5 = (long) 0 ;
15999 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16000 wxString *arg6 = (wxString *) &arg6_defvalue ;
16001 wxPyPanel *result;
16002 wxPoint temp3 ;
16003 wxSize temp4 ;
16004 bool temp6 = False ;
16005 PyObject * obj0 = 0 ;
16006 PyObject * obj1 = 0 ;
16007 PyObject * obj2 = 0 ;
16008 PyObject * obj3 = 0 ;
16009 PyObject * obj4 = 0 ;
16010 PyObject * obj5 = 0 ;
16011 char *kwnames[] = {
16012 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16013 };
16014
16015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16018 arg2 = (int const) SWIG_AsInt(obj1);
16019 if (PyErr_Occurred()) SWIG_fail;
16020 if (obj2) {
16021 {
16022 arg3 = &temp3;
16023 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16024 }
16025 }
16026 if (obj3) {
16027 {
16028 arg4 = &temp4;
16029 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16030 }
16031 }
16032 if (obj4) {
16033 arg5 = (long) SWIG_AsLong(obj4);
16034 if (PyErr_Occurred()) SWIG_fail;
16035 }
16036 if (obj5) {
16037 {
16038 arg6 = wxString_in_helper(obj5);
16039 if (arg6 == NULL) SWIG_fail;
16040 temp6 = True;
16041 }
16042 }
16043 {
16044 PyThreadState* __tstate = wxPyBeginAllowThreads();
16045 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16046
16047 wxPyEndAllowThreads(__tstate);
16048 if (PyErr_Occurred()) SWIG_fail;
16049 }
16050 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16051 {
16052 if (temp6)
16053 delete arg6;
16054 }
16055 return resultobj;
16056 fail:
16057 {
16058 if (temp6)
16059 delete arg6;
16060 }
16061 return NULL;
16062 }
16063
16064
16065 static PyObject *_wrap_new_PrePyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
16066 PyObject *resultobj;
16067 wxPyPanel *result;
16068 char *kwnames[] = {
16069 NULL
16070 };
16071
16072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
16073 {
16074 PyThreadState* __tstate = wxPyBeginAllowThreads();
16075 result = (wxPyPanel *)new wxPyPanel();
16076
16077 wxPyEndAllowThreads(__tstate);
16078 if (PyErr_Occurred()) SWIG_fail;
16079 }
16080 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16081 return resultobj;
16082 fail:
16083 return NULL;
16084 }
16085
16086
16087 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16088 PyObject *resultobj;
16089 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16090 PyObject *arg2 = (PyObject *) 0 ;
16091 PyObject *arg3 = (PyObject *) 0 ;
16092 PyObject * obj0 = 0 ;
16093 PyObject * obj1 = 0 ;
16094 PyObject * obj2 = 0 ;
16095 char *kwnames[] = {
16096 (char *) "self",(char *) "self",(char *) "_class", NULL
16097 };
16098
16099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16102 arg2 = obj1;
16103 arg3 = obj2;
16104 {
16105 PyThreadState* __tstate = wxPyBeginAllowThreads();
16106 (arg1)->_setCallbackInfo(arg2,arg3);
16107
16108 wxPyEndAllowThreads(__tstate);
16109 if (PyErr_Occurred()) SWIG_fail;
16110 }
16111 Py_INCREF(Py_None); resultobj = Py_None;
16112 return resultobj;
16113 fail:
16114 return NULL;
16115 }
16116
16117
16118 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16119 PyObject *resultobj;
16120 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16121 int arg2 ;
16122 int arg3 ;
16123 int arg4 ;
16124 int arg5 ;
16125 PyObject * obj0 = 0 ;
16126 PyObject * obj1 = 0 ;
16127 PyObject * obj2 = 0 ;
16128 PyObject * obj3 = 0 ;
16129 PyObject * obj4 = 0 ;
16130 char *kwnames[] = {
16131 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16132 };
16133
16134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16137 arg2 = (int) SWIG_AsInt(obj1);
16138 if (PyErr_Occurred()) SWIG_fail;
16139 arg3 = (int) SWIG_AsInt(obj2);
16140 if (PyErr_Occurred()) SWIG_fail;
16141 arg4 = (int) SWIG_AsInt(obj3);
16142 if (PyErr_Occurred()) SWIG_fail;
16143 arg5 = (int) SWIG_AsInt(obj4);
16144 if (PyErr_Occurred()) SWIG_fail;
16145 {
16146 PyThreadState* __tstate = wxPyBeginAllowThreads();
16147 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16148
16149 wxPyEndAllowThreads(__tstate);
16150 if (PyErr_Occurred()) SWIG_fail;
16151 }
16152 Py_INCREF(Py_None); resultobj = Py_None;
16153 return resultobj;
16154 fail:
16155 return NULL;
16156 }
16157
16158
16159 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16160 PyObject *resultobj;
16161 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16162 int arg2 ;
16163 int arg3 ;
16164 int arg4 ;
16165 int arg5 ;
16166 int arg6 = (int) wxSIZE_AUTO ;
16167 PyObject * obj0 = 0 ;
16168 PyObject * obj1 = 0 ;
16169 PyObject * obj2 = 0 ;
16170 PyObject * obj3 = 0 ;
16171 PyObject * obj4 = 0 ;
16172 PyObject * obj5 = 0 ;
16173 char *kwnames[] = {
16174 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16175 };
16176
16177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16180 arg2 = (int) SWIG_AsInt(obj1);
16181 if (PyErr_Occurred()) SWIG_fail;
16182 arg3 = (int) SWIG_AsInt(obj2);
16183 if (PyErr_Occurred()) SWIG_fail;
16184 arg4 = (int) SWIG_AsInt(obj3);
16185 if (PyErr_Occurred()) SWIG_fail;
16186 arg5 = (int) SWIG_AsInt(obj4);
16187 if (PyErr_Occurred()) SWIG_fail;
16188 if (obj5) {
16189 arg6 = (int) SWIG_AsInt(obj5);
16190 if (PyErr_Occurred()) SWIG_fail;
16191 }
16192 {
16193 PyThreadState* __tstate = wxPyBeginAllowThreads();
16194 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16195
16196 wxPyEndAllowThreads(__tstate);
16197 if (PyErr_Occurred()) SWIG_fail;
16198 }
16199 Py_INCREF(Py_None); resultobj = Py_None;
16200 return resultobj;
16201 fail:
16202 return NULL;
16203 }
16204
16205
16206 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16207 PyObject *resultobj;
16208 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16209 int arg2 ;
16210 int arg3 ;
16211 PyObject * obj0 = 0 ;
16212 PyObject * obj1 = 0 ;
16213 PyObject * obj2 = 0 ;
16214 char *kwnames[] = {
16215 (char *) "self",(char *) "width",(char *) "height", NULL
16216 };
16217
16218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16221 arg2 = (int) SWIG_AsInt(obj1);
16222 if (PyErr_Occurred()) SWIG_fail;
16223 arg3 = (int) SWIG_AsInt(obj2);
16224 if (PyErr_Occurred()) SWIG_fail;
16225 {
16226 PyThreadState* __tstate = wxPyBeginAllowThreads();
16227 (arg1)->base_DoSetClientSize(arg2,arg3);
16228
16229 wxPyEndAllowThreads(__tstate);
16230 if (PyErr_Occurred()) SWIG_fail;
16231 }
16232 Py_INCREF(Py_None); resultobj = Py_None;
16233 return resultobj;
16234 fail:
16235 return NULL;
16236 }
16237
16238
16239 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16240 PyObject *resultobj;
16241 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16242 int arg2 ;
16243 int arg3 ;
16244 PyObject * obj0 = 0 ;
16245 PyObject * obj1 = 0 ;
16246 PyObject * obj2 = 0 ;
16247 char *kwnames[] = {
16248 (char *) "self",(char *) "x",(char *) "y", NULL
16249 };
16250
16251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16254 arg2 = (int) SWIG_AsInt(obj1);
16255 if (PyErr_Occurred()) SWIG_fail;
16256 arg3 = (int) SWIG_AsInt(obj2);
16257 if (PyErr_Occurred()) SWIG_fail;
16258 {
16259 PyThreadState* __tstate = wxPyBeginAllowThreads();
16260 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16261
16262 wxPyEndAllowThreads(__tstate);
16263 if (PyErr_Occurred()) SWIG_fail;
16264 }
16265 Py_INCREF(Py_None); resultobj = Py_None;
16266 return resultobj;
16267 fail:
16268 return NULL;
16269 }
16270
16271
16272 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16273 PyObject *resultobj;
16274 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16275 int *arg2 = (int *) 0 ;
16276 int *arg3 = (int *) 0 ;
16277 int temp2 ;
16278 int temp3 ;
16279 PyObject * obj0 = 0 ;
16280 char *kwnames[] = {
16281 (char *) "self", NULL
16282 };
16283
16284 arg2 = &temp2;
16285 arg3 = &temp3;
16286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
16287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16289 {
16290 PyThreadState* __tstate = wxPyBeginAllowThreads();
16291 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
16292
16293 wxPyEndAllowThreads(__tstate);
16294 if (PyErr_Occurred()) SWIG_fail;
16295 }
16296 Py_INCREF(Py_None); resultobj = Py_None;
16297 {
16298 PyObject *o = PyInt_FromLong((long) (*arg2));
16299 resultobj = t_output_helper(resultobj,o);
16300 }
16301 {
16302 PyObject *o = PyInt_FromLong((long) (*arg3));
16303 resultobj = t_output_helper(resultobj,o);
16304 }
16305 return resultobj;
16306 fail:
16307 return NULL;
16308 }
16309
16310
16311 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16312 PyObject *resultobj;
16313 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16314 int *arg2 = (int *) 0 ;
16315 int *arg3 = (int *) 0 ;
16316 int temp2 ;
16317 int temp3 ;
16318 PyObject * obj0 = 0 ;
16319 char *kwnames[] = {
16320 (char *) "self", NULL
16321 };
16322
16323 arg2 = &temp2;
16324 arg3 = &temp3;
16325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16328 {
16329 PyThreadState* __tstate = wxPyBeginAllowThreads();
16330 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
16331
16332 wxPyEndAllowThreads(__tstate);
16333 if (PyErr_Occurred()) SWIG_fail;
16334 }
16335 Py_INCREF(Py_None); resultobj = Py_None;
16336 {
16337 PyObject *o = PyInt_FromLong((long) (*arg2));
16338 resultobj = t_output_helper(resultobj,o);
16339 }
16340 {
16341 PyObject *o = PyInt_FromLong((long) (*arg3));
16342 resultobj = t_output_helper(resultobj,o);
16343 }
16344 return resultobj;
16345 fail:
16346 return NULL;
16347 }
16348
16349
16350 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16351 PyObject *resultobj;
16352 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16353 int *arg2 = (int *) 0 ;
16354 int *arg3 = (int *) 0 ;
16355 int temp2 ;
16356 int temp3 ;
16357 PyObject * obj0 = 0 ;
16358 char *kwnames[] = {
16359 (char *) "self", NULL
16360 };
16361
16362 arg2 = &temp2;
16363 arg3 = &temp3;
16364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
16365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16367 {
16368 PyThreadState* __tstate = wxPyBeginAllowThreads();
16369 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
16370
16371 wxPyEndAllowThreads(__tstate);
16372 if (PyErr_Occurred()) SWIG_fail;
16373 }
16374 Py_INCREF(Py_None); resultobj = Py_None;
16375 {
16376 PyObject *o = PyInt_FromLong((long) (*arg2));
16377 resultobj = t_output_helper(resultobj,o);
16378 }
16379 {
16380 PyObject *o = PyInt_FromLong((long) (*arg3));
16381 resultobj = t_output_helper(resultobj,o);
16382 }
16383 return resultobj;
16384 fail:
16385 return NULL;
16386 }
16387
16388
16389 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16390 PyObject *resultobj;
16391 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16392 wxSize result;
16393 PyObject * obj0 = 0 ;
16394 char *kwnames[] = {
16395 (char *) "self", NULL
16396 };
16397
16398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16401 {
16402 PyThreadState* __tstate = wxPyBeginAllowThreads();
16403 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
16404
16405 wxPyEndAllowThreads(__tstate);
16406 if (PyErr_Occurred()) SWIG_fail;
16407 }
16408 {
16409 wxSize * resultptr;
16410 resultptr = new wxSize((wxSize &) result);
16411 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16412 }
16413 return resultobj;
16414 fail:
16415 return NULL;
16416 }
16417
16418
16419 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16420 PyObject *resultobj;
16421 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16422 wxSize result;
16423 PyObject * obj0 = 0 ;
16424 char *kwnames[] = {
16425 (char *) "self", NULL
16426 };
16427
16428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16431 {
16432 PyThreadState* __tstate = wxPyBeginAllowThreads();
16433 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
16434
16435 wxPyEndAllowThreads(__tstate);
16436 if (PyErr_Occurred()) SWIG_fail;
16437 }
16438 {
16439 wxSize * resultptr;
16440 resultptr = new wxSize((wxSize &) result);
16441 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16442 }
16443 return resultobj;
16444 fail:
16445 return NULL;
16446 }
16447
16448
16449 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16450 PyObject *resultobj;
16451 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16452 PyObject * obj0 = 0 ;
16453 char *kwnames[] = {
16454 (char *) "self", NULL
16455 };
16456
16457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
16458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16460 {
16461 PyThreadState* __tstate = wxPyBeginAllowThreads();
16462 (arg1)->base_InitDialog();
16463
16464 wxPyEndAllowThreads(__tstate);
16465 if (PyErr_Occurred()) SWIG_fail;
16466 }
16467 Py_INCREF(Py_None); resultobj = Py_None;
16468 return resultobj;
16469 fail:
16470 return NULL;
16471 }
16472
16473
16474 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16475 PyObject *resultobj;
16476 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16477 bool result;
16478 PyObject * obj0 = 0 ;
16479 char *kwnames[] = {
16480 (char *) "self", NULL
16481 };
16482
16483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16486 {
16487 PyThreadState* __tstate = wxPyBeginAllowThreads();
16488 result = (bool)(arg1)->base_TransferDataToWindow();
16489
16490 wxPyEndAllowThreads(__tstate);
16491 if (PyErr_Occurred()) SWIG_fail;
16492 }
16493 {
16494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16495 }
16496 return resultobj;
16497 fail:
16498 return NULL;
16499 }
16500
16501
16502 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16503 PyObject *resultobj;
16504 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16505 bool result;
16506 PyObject * obj0 = 0 ;
16507 char *kwnames[] = {
16508 (char *) "self", NULL
16509 };
16510
16511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16514 {
16515 PyThreadState* __tstate = wxPyBeginAllowThreads();
16516 result = (bool)(arg1)->base_TransferDataFromWindow();
16517
16518 wxPyEndAllowThreads(__tstate);
16519 if (PyErr_Occurred()) SWIG_fail;
16520 }
16521 {
16522 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16523 }
16524 return resultobj;
16525 fail:
16526 return NULL;
16527 }
16528
16529
16530 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
16531 PyObject *resultobj;
16532 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16533 bool result;
16534 PyObject * obj0 = 0 ;
16535 char *kwnames[] = {
16536 (char *) "self", NULL
16537 };
16538
16539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
16540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16542 {
16543 PyThreadState* __tstate = wxPyBeginAllowThreads();
16544 result = (bool)(arg1)->base_Validate();
16545
16546 wxPyEndAllowThreads(__tstate);
16547 if (PyErr_Occurred()) SWIG_fail;
16548 }
16549 {
16550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16551 }
16552 return resultobj;
16553 fail:
16554 return NULL;
16555 }
16556
16557
16558 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16559 PyObject *resultobj;
16560 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16561 bool result;
16562 PyObject * obj0 = 0 ;
16563 char *kwnames[] = {
16564 (char *) "self", NULL
16565 };
16566
16567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16570 {
16571 PyThreadState* __tstate = wxPyBeginAllowThreads();
16572 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
16573
16574 wxPyEndAllowThreads(__tstate);
16575 if (PyErr_Occurred()) SWIG_fail;
16576 }
16577 {
16578 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16579 }
16580 return resultobj;
16581 fail:
16582 return NULL;
16583 }
16584
16585
16586 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
16587 PyObject *resultobj;
16588 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16589 bool result;
16590 PyObject * obj0 = 0 ;
16591 char *kwnames[] = {
16592 (char *) "self", NULL
16593 };
16594
16595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16598 {
16599 PyThreadState* __tstate = wxPyBeginAllowThreads();
16600 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
16601
16602 wxPyEndAllowThreads(__tstate);
16603 if (PyErr_Occurred()) SWIG_fail;
16604 }
16605 {
16606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16607 }
16608 return resultobj;
16609 fail:
16610 return NULL;
16611 }
16612
16613
16614 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16615 PyObject *resultobj;
16616 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16617 wxSize result;
16618 PyObject * obj0 = 0 ;
16619 char *kwnames[] = {
16620 (char *) "self", NULL
16621 };
16622
16623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
16624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16626 {
16627 PyThreadState* __tstate = wxPyBeginAllowThreads();
16628 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
16629
16630 wxPyEndAllowThreads(__tstate);
16631 if (PyErr_Occurred()) SWIG_fail;
16632 }
16633 {
16634 wxSize * resultptr;
16635 resultptr = new wxSize((wxSize &) result);
16636 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16637 }
16638 return resultobj;
16639 fail:
16640 return NULL;
16641 }
16642
16643
16644 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16645 PyObject *resultobj;
16646 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16647 wxWindow *arg2 = (wxWindow *) 0 ;
16648 PyObject * obj0 = 0 ;
16649 PyObject * obj1 = 0 ;
16650 char *kwnames[] = {
16651 (char *) "self",(char *) "child", NULL
16652 };
16653
16654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16657 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16659 {
16660 PyThreadState* __tstate = wxPyBeginAllowThreads();
16661 (arg1)->base_AddChild(arg2);
16662
16663 wxPyEndAllowThreads(__tstate);
16664 if (PyErr_Occurred()) SWIG_fail;
16665 }
16666 Py_INCREF(Py_None); resultobj = Py_None;
16667 return resultobj;
16668 fail:
16669 return NULL;
16670 }
16671
16672
16673 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16674 PyObject *resultobj;
16675 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16676 wxWindow *arg2 = (wxWindow *) 0 ;
16677 PyObject * obj0 = 0 ;
16678 PyObject * obj1 = 0 ;
16679 char *kwnames[] = {
16680 (char *) "self",(char *) "child", NULL
16681 };
16682
16683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16686 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16688 {
16689 PyThreadState* __tstate = wxPyBeginAllowThreads();
16690 (arg1)->base_RemoveChild(arg2);
16691
16692 wxPyEndAllowThreads(__tstate);
16693 if (PyErr_Occurred()) SWIG_fail;
16694 }
16695 Py_INCREF(Py_None); resultobj = Py_None;
16696 return resultobj;
16697 fail:
16698 return NULL;
16699 }
16700
16701
16702 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
16703 PyObject *resultobj;
16704 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16705 bool result;
16706 PyObject * obj0 = 0 ;
16707 char *kwnames[] = {
16708 (char *) "self", NULL
16709 };
16710
16711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16714 {
16715 PyThreadState* __tstate = wxPyBeginAllowThreads();
16716 result = (bool)(arg1)->base_ShouldInheritColours();
16717
16718 wxPyEndAllowThreads(__tstate);
16719 if (PyErr_Occurred()) SWIG_fail;
16720 }
16721 {
16722 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16723 }
16724 return resultobj;
16725 fail:
16726 return NULL;
16727 }
16728
16729
16730 static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
16731 PyObject *resultobj;
16732 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16733 wxColour *arg2 = 0 ;
16734 wxColour temp2 ;
16735 PyObject * obj0 = 0 ;
16736 PyObject * obj1 = 0 ;
16737 char *kwnames[] = {
16738 (char *) "self",(char *) "c", NULL
16739 };
16740
16741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16744 {
16745 arg2 = &temp2;
16746 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16747 }
16748 {
16749 PyThreadState* __tstate = wxPyBeginAllowThreads();
16750 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16751
16752 wxPyEndAllowThreads(__tstate);
16753 if (PyErr_Occurred()) SWIG_fail;
16754 }
16755 Py_INCREF(Py_None); resultobj = Py_None;
16756 return resultobj;
16757 fail:
16758 return NULL;
16759 }
16760
16761
16762 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
16763 PyObject *obj;
16764 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16765 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
16766 Py_INCREF(obj);
16767 return Py_BuildValue((char *)"");
16768 }
16769 static PyObject *_wrap_new_PyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16770 PyObject *resultobj;
16771 wxWindow *arg1 = (wxWindow *) 0 ;
16772 int arg2 ;
16773 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16774 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16775 wxSize const &arg4_defvalue = wxDefaultSize ;
16776 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16777 long arg5 = (long) 0 ;
16778 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16779 wxString *arg6 = (wxString *) &arg6_defvalue ;
16780 wxPyScrolledWindow *result;
16781 wxPoint temp3 ;
16782 wxSize temp4 ;
16783 bool temp6 = False ;
16784 PyObject * obj0 = 0 ;
16785 PyObject * obj1 = 0 ;
16786 PyObject * obj2 = 0 ;
16787 PyObject * obj3 = 0 ;
16788 PyObject * obj4 = 0 ;
16789 PyObject * obj5 = 0 ;
16790 char *kwnames[] = {
16791 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16792 };
16793
16794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16797 arg2 = (int const) SWIG_AsInt(obj1);
16798 if (PyErr_Occurred()) SWIG_fail;
16799 if (obj2) {
16800 {
16801 arg3 = &temp3;
16802 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16803 }
16804 }
16805 if (obj3) {
16806 {
16807 arg4 = &temp4;
16808 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16809 }
16810 }
16811 if (obj4) {
16812 arg5 = (long) SWIG_AsLong(obj4);
16813 if (PyErr_Occurred()) SWIG_fail;
16814 }
16815 if (obj5) {
16816 {
16817 arg6 = wxString_in_helper(obj5);
16818 if (arg6 == NULL) SWIG_fail;
16819 temp6 = True;
16820 }
16821 }
16822 {
16823 PyThreadState* __tstate = wxPyBeginAllowThreads();
16824 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16825
16826 wxPyEndAllowThreads(__tstate);
16827 if (PyErr_Occurred()) SWIG_fail;
16828 }
16829 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
16830 {
16831 if (temp6)
16832 delete arg6;
16833 }
16834 return resultobj;
16835 fail:
16836 {
16837 if (temp6)
16838 delete arg6;
16839 }
16840 return NULL;
16841 }
16842
16843
16844 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16845 PyObject *resultobj;
16846 wxPyScrolledWindow *result;
16847 char *kwnames[] = {
16848 NULL
16849 };
16850
16851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
16852 {
16853 PyThreadState* __tstate = wxPyBeginAllowThreads();
16854 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
16855
16856 wxPyEndAllowThreads(__tstate);
16857 if (PyErr_Occurred()) SWIG_fail;
16858 }
16859 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
16860 return resultobj;
16861 fail:
16862 return NULL;
16863 }
16864
16865
16866 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16867 PyObject *resultobj;
16868 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16869 PyObject *arg2 = (PyObject *) 0 ;
16870 PyObject *arg3 = (PyObject *) 0 ;
16871 PyObject * obj0 = 0 ;
16872 PyObject * obj1 = 0 ;
16873 PyObject * obj2 = 0 ;
16874 char *kwnames[] = {
16875 (char *) "self",(char *) "self",(char *) "_class", NULL
16876 };
16877
16878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16881 arg2 = obj1;
16882 arg3 = obj2;
16883 {
16884 PyThreadState* __tstate = wxPyBeginAllowThreads();
16885 (arg1)->_setCallbackInfo(arg2,arg3);
16886
16887 wxPyEndAllowThreads(__tstate);
16888 if (PyErr_Occurred()) SWIG_fail;
16889 }
16890 Py_INCREF(Py_None); resultobj = Py_None;
16891 return resultobj;
16892 fail:
16893 return NULL;
16894 }
16895
16896
16897 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16898 PyObject *resultobj;
16899 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16900 int arg2 ;
16901 int arg3 ;
16902 int arg4 ;
16903 int arg5 ;
16904 PyObject * obj0 = 0 ;
16905 PyObject * obj1 = 0 ;
16906 PyObject * obj2 = 0 ;
16907 PyObject * obj3 = 0 ;
16908 PyObject * obj4 = 0 ;
16909 char *kwnames[] = {
16910 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16911 };
16912
16913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16916 arg2 = (int) SWIG_AsInt(obj1);
16917 if (PyErr_Occurred()) SWIG_fail;
16918 arg3 = (int) SWIG_AsInt(obj2);
16919 if (PyErr_Occurred()) SWIG_fail;
16920 arg4 = (int) SWIG_AsInt(obj3);
16921 if (PyErr_Occurred()) SWIG_fail;
16922 arg5 = (int) SWIG_AsInt(obj4);
16923 if (PyErr_Occurred()) SWIG_fail;
16924 {
16925 PyThreadState* __tstate = wxPyBeginAllowThreads();
16926 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16927
16928 wxPyEndAllowThreads(__tstate);
16929 if (PyErr_Occurred()) SWIG_fail;
16930 }
16931 Py_INCREF(Py_None); resultobj = Py_None;
16932 return resultobj;
16933 fail:
16934 return NULL;
16935 }
16936
16937
16938 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16939 PyObject *resultobj;
16940 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16941 int arg2 ;
16942 int arg3 ;
16943 int arg4 ;
16944 int arg5 ;
16945 int arg6 = (int) wxSIZE_AUTO ;
16946 PyObject * obj0 = 0 ;
16947 PyObject * obj1 = 0 ;
16948 PyObject * obj2 = 0 ;
16949 PyObject * obj3 = 0 ;
16950 PyObject * obj4 = 0 ;
16951 PyObject * obj5 = 0 ;
16952 char *kwnames[] = {
16953 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16954 };
16955
16956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16959 arg2 = (int) SWIG_AsInt(obj1);
16960 if (PyErr_Occurred()) SWIG_fail;
16961 arg3 = (int) SWIG_AsInt(obj2);
16962 if (PyErr_Occurred()) SWIG_fail;
16963 arg4 = (int) SWIG_AsInt(obj3);
16964 if (PyErr_Occurred()) SWIG_fail;
16965 arg5 = (int) SWIG_AsInt(obj4);
16966 if (PyErr_Occurred()) SWIG_fail;
16967 if (obj5) {
16968 arg6 = (int) SWIG_AsInt(obj5);
16969 if (PyErr_Occurred()) SWIG_fail;
16970 }
16971 {
16972 PyThreadState* __tstate = wxPyBeginAllowThreads();
16973 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16974
16975 wxPyEndAllowThreads(__tstate);
16976 if (PyErr_Occurred()) SWIG_fail;
16977 }
16978 Py_INCREF(Py_None); resultobj = Py_None;
16979 return resultobj;
16980 fail:
16981 return NULL;
16982 }
16983
16984
16985 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16986 PyObject *resultobj;
16987 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16988 int arg2 ;
16989 int arg3 ;
16990 PyObject * obj0 = 0 ;
16991 PyObject * obj1 = 0 ;
16992 PyObject * obj2 = 0 ;
16993 char *kwnames[] = {
16994 (char *) "self",(char *) "width",(char *) "height", NULL
16995 };
16996
16997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17000 arg2 = (int) SWIG_AsInt(obj1);
17001 if (PyErr_Occurred()) SWIG_fail;
17002 arg3 = (int) SWIG_AsInt(obj2);
17003 if (PyErr_Occurred()) SWIG_fail;
17004 {
17005 PyThreadState* __tstate = wxPyBeginAllowThreads();
17006 (arg1)->base_DoSetClientSize(arg2,arg3);
17007
17008 wxPyEndAllowThreads(__tstate);
17009 if (PyErr_Occurred()) SWIG_fail;
17010 }
17011 Py_INCREF(Py_None); resultobj = Py_None;
17012 return resultobj;
17013 fail:
17014 return NULL;
17015 }
17016
17017
17018 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17019 PyObject *resultobj;
17020 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17021 int arg2 ;
17022 int arg3 ;
17023 PyObject * obj0 = 0 ;
17024 PyObject * obj1 = 0 ;
17025 PyObject * obj2 = 0 ;
17026 char *kwnames[] = {
17027 (char *) "self",(char *) "x",(char *) "y", NULL
17028 };
17029
17030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17033 arg2 = (int) SWIG_AsInt(obj1);
17034 if (PyErr_Occurred()) SWIG_fail;
17035 arg3 = (int) SWIG_AsInt(obj2);
17036 if (PyErr_Occurred()) SWIG_fail;
17037 {
17038 PyThreadState* __tstate = wxPyBeginAllowThreads();
17039 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17040
17041 wxPyEndAllowThreads(__tstate);
17042 if (PyErr_Occurred()) SWIG_fail;
17043 }
17044 Py_INCREF(Py_None); resultobj = Py_None;
17045 return resultobj;
17046 fail:
17047 return NULL;
17048 }
17049
17050
17051 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17052 PyObject *resultobj;
17053 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17054 int *arg2 = (int *) 0 ;
17055 int *arg3 = (int *) 0 ;
17056 int temp2 ;
17057 int temp3 ;
17058 PyObject * obj0 = 0 ;
17059 char *kwnames[] = {
17060 (char *) "self", NULL
17061 };
17062
17063 arg2 = &temp2;
17064 arg3 = &temp3;
17065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
17066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17068 {
17069 PyThreadState* __tstate = wxPyBeginAllowThreads();
17070 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
17071
17072 wxPyEndAllowThreads(__tstate);
17073 if (PyErr_Occurred()) SWIG_fail;
17074 }
17075 Py_INCREF(Py_None); resultobj = Py_None;
17076 {
17077 PyObject *o = PyInt_FromLong((long) (*arg2));
17078 resultobj = t_output_helper(resultobj,o);
17079 }
17080 {
17081 PyObject *o = PyInt_FromLong((long) (*arg3));
17082 resultobj = t_output_helper(resultobj,o);
17083 }
17084 return resultobj;
17085 fail:
17086 return NULL;
17087 }
17088
17089
17090 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17091 PyObject *resultobj;
17092 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17093 int *arg2 = (int *) 0 ;
17094 int *arg3 = (int *) 0 ;
17095 int temp2 ;
17096 int temp3 ;
17097 PyObject * obj0 = 0 ;
17098 char *kwnames[] = {
17099 (char *) "self", NULL
17100 };
17101
17102 arg2 = &temp2;
17103 arg3 = &temp3;
17104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17107 {
17108 PyThreadState* __tstate = wxPyBeginAllowThreads();
17109 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
17110
17111 wxPyEndAllowThreads(__tstate);
17112 if (PyErr_Occurred()) SWIG_fail;
17113 }
17114 Py_INCREF(Py_None); resultobj = Py_None;
17115 {
17116 PyObject *o = PyInt_FromLong((long) (*arg2));
17117 resultobj = t_output_helper(resultobj,o);
17118 }
17119 {
17120 PyObject *o = PyInt_FromLong((long) (*arg3));
17121 resultobj = t_output_helper(resultobj,o);
17122 }
17123 return resultobj;
17124 fail:
17125 return NULL;
17126 }
17127
17128
17129 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17130 PyObject *resultobj;
17131 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17132 int *arg2 = (int *) 0 ;
17133 int *arg3 = (int *) 0 ;
17134 int temp2 ;
17135 int temp3 ;
17136 PyObject * obj0 = 0 ;
17137 char *kwnames[] = {
17138 (char *) "self", NULL
17139 };
17140
17141 arg2 = &temp2;
17142 arg3 = &temp3;
17143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
17144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17146 {
17147 PyThreadState* __tstate = wxPyBeginAllowThreads();
17148 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
17149
17150 wxPyEndAllowThreads(__tstate);
17151 if (PyErr_Occurred()) SWIG_fail;
17152 }
17153 Py_INCREF(Py_None); resultobj = Py_None;
17154 {
17155 PyObject *o = PyInt_FromLong((long) (*arg2));
17156 resultobj = t_output_helper(resultobj,o);
17157 }
17158 {
17159 PyObject *o = PyInt_FromLong((long) (*arg3));
17160 resultobj = t_output_helper(resultobj,o);
17161 }
17162 return resultobj;
17163 fail:
17164 return NULL;
17165 }
17166
17167
17168 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17169 PyObject *resultobj;
17170 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17171 wxSize result;
17172 PyObject * obj0 = 0 ;
17173 char *kwnames[] = {
17174 (char *) "self", NULL
17175 };
17176
17177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17180 {
17181 PyThreadState* __tstate = wxPyBeginAllowThreads();
17182 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
17183
17184 wxPyEndAllowThreads(__tstate);
17185 if (PyErr_Occurred()) SWIG_fail;
17186 }
17187 {
17188 wxSize * resultptr;
17189 resultptr = new wxSize((wxSize &) result);
17190 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17191 }
17192 return resultobj;
17193 fail:
17194 return NULL;
17195 }
17196
17197
17198 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17199 PyObject *resultobj;
17200 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17201 wxSize result;
17202 PyObject * obj0 = 0 ;
17203 char *kwnames[] = {
17204 (char *) "self", NULL
17205 };
17206
17207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17210 {
17211 PyThreadState* __tstate = wxPyBeginAllowThreads();
17212 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
17213
17214 wxPyEndAllowThreads(__tstate);
17215 if (PyErr_Occurred()) SWIG_fail;
17216 }
17217 {
17218 wxSize * resultptr;
17219 resultptr = new wxSize((wxSize &) result);
17220 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17221 }
17222 return resultobj;
17223 fail:
17224 return NULL;
17225 }
17226
17227
17228 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17229 PyObject *resultobj;
17230 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17231 PyObject * obj0 = 0 ;
17232 char *kwnames[] = {
17233 (char *) "self", NULL
17234 };
17235
17236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
17237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17239 {
17240 PyThreadState* __tstate = wxPyBeginAllowThreads();
17241 (arg1)->base_InitDialog();
17242
17243 wxPyEndAllowThreads(__tstate);
17244 if (PyErr_Occurred()) SWIG_fail;
17245 }
17246 Py_INCREF(Py_None); resultobj = Py_None;
17247 return resultobj;
17248 fail:
17249 return NULL;
17250 }
17251
17252
17253 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17254 PyObject *resultobj;
17255 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17256 bool result;
17257 PyObject * obj0 = 0 ;
17258 char *kwnames[] = {
17259 (char *) "self", NULL
17260 };
17261
17262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17265 {
17266 PyThreadState* __tstate = wxPyBeginAllowThreads();
17267 result = (bool)(arg1)->base_TransferDataToWindow();
17268
17269 wxPyEndAllowThreads(__tstate);
17270 if (PyErr_Occurred()) SWIG_fail;
17271 }
17272 {
17273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17274 }
17275 return resultobj;
17276 fail:
17277 return NULL;
17278 }
17279
17280
17281 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17282 PyObject *resultobj;
17283 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17284 bool result;
17285 PyObject * obj0 = 0 ;
17286 char *kwnames[] = {
17287 (char *) "self", NULL
17288 };
17289
17290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17293 {
17294 PyThreadState* __tstate = wxPyBeginAllowThreads();
17295 result = (bool)(arg1)->base_TransferDataFromWindow();
17296
17297 wxPyEndAllowThreads(__tstate);
17298 if (PyErr_Occurred()) SWIG_fail;
17299 }
17300 {
17301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17302 }
17303 return resultobj;
17304 fail:
17305 return NULL;
17306 }
17307
17308
17309 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
17310 PyObject *resultobj;
17311 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17312 bool result;
17313 PyObject * obj0 = 0 ;
17314 char *kwnames[] = {
17315 (char *) "self", NULL
17316 };
17317
17318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
17319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17321 {
17322 PyThreadState* __tstate = wxPyBeginAllowThreads();
17323 result = (bool)(arg1)->base_Validate();
17324
17325 wxPyEndAllowThreads(__tstate);
17326 if (PyErr_Occurred()) SWIG_fail;
17327 }
17328 {
17329 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17330 }
17331 return resultobj;
17332 fail:
17333 return NULL;
17334 }
17335
17336
17337 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
17338 PyObject *resultobj;
17339 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17340 bool result;
17341 PyObject * obj0 = 0 ;
17342 char *kwnames[] = {
17343 (char *) "self", NULL
17344 };
17345
17346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17349 {
17350 PyThreadState* __tstate = wxPyBeginAllowThreads();
17351 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
17352
17353 wxPyEndAllowThreads(__tstate);
17354 if (PyErr_Occurred()) SWIG_fail;
17355 }
17356 {
17357 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17358 }
17359 return resultobj;
17360 fail:
17361 return NULL;
17362 }
17363
17364
17365 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
17366 PyObject *resultobj;
17367 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17368 bool result;
17369 PyObject * obj0 = 0 ;
17370 char *kwnames[] = {
17371 (char *) "self", NULL
17372 };
17373
17374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17377 {
17378 PyThreadState* __tstate = wxPyBeginAllowThreads();
17379 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
17380
17381 wxPyEndAllowThreads(__tstate);
17382 if (PyErr_Occurred()) SWIG_fail;
17383 }
17384 {
17385 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17386 }
17387 return resultobj;
17388 fail:
17389 return NULL;
17390 }
17391
17392
17393 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17394 PyObject *resultobj;
17395 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17396 wxSize result;
17397 PyObject * obj0 = 0 ;
17398 char *kwnames[] = {
17399 (char *) "self", NULL
17400 };
17401
17402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
17403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17405 {
17406 PyThreadState* __tstate = wxPyBeginAllowThreads();
17407 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
17408
17409 wxPyEndAllowThreads(__tstate);
17410 if (PyErr_Occurred()) SWIG_fail;
17411 }
17412 {
17413 wxSize * resultptr;
17414 resultptr = new wxSize((wxSize &) result);
17415 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17416 }
17417 return resultobj;
17418 fail:
17419 return NULL;
17420 }
17421
17422
17423 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17424 PyObject *resultobj;
17425 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17426 wxWindow *arg2 = (wxWindow *) 0 ;
17427 PyObject * obj0 = 0 ;
17428 PyObject * obj1 = 0 ;
17429 char *kwnames[] = {
17430 (char *) "self",(char *) "child", NULL
17431 };
17432
17433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17436 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17438 {
17439 PyThreadState* __tstate = wxPyBeginAllowThreads();
17440 (arg1)->base_AddChild(arg2);
17441
17442 wxPyEndAllowThreads(__tstate);
17443 if (PyErr_Occurred()) SWIG_fail;
17444 }
17445 Py_INCREF(Py_None); resultobj = Py_None;
17446 return resultobj;
17447 fail:
17448 return NULL;
17449 }
17450
17451
17452 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17453 PyObject *resultobj;
17454 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17455 wxWindow *arg2 = (wxWindow *) 0 ;
17456 PyObject * obj0 = 0 ;
17457 PyObject * obj1 = 0 ;
17458 char *kwnames[] = {
17459 (char *) "self",(char *) "child", NULL
17460 };
17461
17462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17465 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17467 {
17468 PyThreadState* __tstate = wxPyBeginAllowThreads();
17469 (arg1)->base_RemoveChild(arg2);
17470
17471 wxPyEndAllowThreads(__tstate);
17472 if (PyErr_Occurred()) SWIG_fail;
17473 }
17474 Py_INCREF(Py_None); resultobj = Py_None;
17475 return resultobj;
17476 fail:
17477 return NULL;
17478 }
17479
17480
17481 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
17482 PyObject *resultobj;
17483 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17484 bool result;
17485 PyObject * obj0 = 0 ;
17486 char *kwnames[] = {
17487 (char *) "self", NULL
17488 };
17489
17490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17493 {
17494 PyThreadState* __tstate = wxPyBeginAllowThreads();
17495 result = (bool)(arg1)->base_ShouldInheritColours();
17496
17497 wxPyEndAllowThreads(__tstate);
17498 if (PyErr_Occurred()) SWIG_fail;
17499 }
17500 {
17501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17502 }
17503 return resultobj;
17504 fail:
17505 return NULL;
17506 }
17507
17508
17509 static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
17510 PyObject *resultobj;
17511 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17512 wxColour *arg2 = 0 ;
17513 wxColour temp2 ;
17514 PyObject * obj0 = 0 ;
17515 PyObject * obj1 = 0 ;
17516 char *kwnames[] = {
17517 (char *) "self",(char *) "c", NULL
17518 };
17519
17520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17523 {
17524 arg2 = &temp2;
17525 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17526 }
17527 {
17528 PyThreadState* __tstate = wxPyBeginAllowThreads();
17529 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17530
17531 wxPyEndAllowThreads(__tstate);
17532 if (PyErr_Occurred()) SWIG_fail;
17533 }
17534 Py_INCREF(Py_None); resultobj = Py_None;
17535 return resultobj;
17536 fail:
17537 return NULL;
17538 }
17539
17540
17541 static PyObject * PyScrolledWindow_swigregister(PyObject *self, PyObject *args) {
17542 PyObject *obj;
17543 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17544 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
17545 Py_INCREF(obj);
17546 return Py_BuildValue((char *)"");
17547 }
17548 static int _wrap_PrintoutTitleStr_set(PyObject *_val) {
17549 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
17550 return 1;
17551 }
17552
17553
17554 static PyObject *_wrap_PrintoutTitleStr_get() {
17555 PyObject *pyobj;
17556
17557 {
17558 #if wxUSE_UNICODE
17559 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17560 #else
17561 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17562 #endif
17563 }
17564 return pyobj;
17565 }
17566
17567
17568 static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) {
17569 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
17570 return 1;
17571 }
17572
17573
17574 static PyObject *_wrap_PreviewCanvasNameStr_get() {
17575 PyObject *pyobj;
17576
17577 {
17578 #if wxUSE_UNICODE
17579 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17580 #else
17581 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17582 #endif
17583 }
17584 return pyobj;
17585 }
17586
17587
17588 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17589 PyObject *resultobj;
17590 wxPrintData *result;
17591 char *kwnames[] = {
17592 NULL
17593 };
17594
17595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
17596 {
17597 PyThreadState* __tstate = wxPyBeginAllowThreads();
17598 result = (wxPrintData *)new wxPrintData();
17599
17600 wxPyEndAllowThreads(__tstate);
17601 if (PyErr_Occurred()) SWIG_fail;
17602 }
17603 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
17604 return resultobj;
17605 fail:
17606 return NULL;
17607 }
17608
17609
17610 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17611 PyObject *resultobj;
17612 wxPrintData *arg1 = (wxPrintData *) 0 ;
17613 PyObject * obj0 = 0 ;
17614 char *kwnames[] = {
17615 (char *) "self", NULL
17616 };
17617
17618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
17619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17621 {
17622 PyThreadState* __tstate = wxPyBeginAllowThreads();
17623 delete arg1;
17624
17625 wxPyEndAllowThreads(__tstate);
17626 if (PyErr_Occurred()) SWIG_fail;
17627 }
17628 Py_INCREF(Py_None); resultobj = Py_None;
17629 return resultobj;
17630 fail:
17631 return NULL;
17632 }
17633
17634
17635 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17636 PyObject *resultobj;
17637 wxPrintData *arg1 = (wxPrintData *) 0 ;
17638 int result;
17639 PyObject * obj0 = 0 ;
17640 char *kwnames[] = {
17641 (char *) "self", NULL
17642 };
17643
17644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
17645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17647 {
17648 PyThreadState* __tstate = wxPyBeginAllowThreads();
17649 result = (int)(arg1)->GetNoCopies();
17650
17651 wxPyEndAllowThreads(__tstate);
17652 if (PyErr_Occurred()) SWIG_fail;
17653 }
17654 resultobj = SWIG_FromInt((int)result);
17655 return resultobj;
17656 fail:
17657 return NULL;
17658 }
17659
17660
17661 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17662 PyObject *resultobj;
17663 wxPrintData *arg1 = (wxPrintData *) 0 ;
17664 bool result;
17665 PyObject * obj0 = 0 ;
17666 char *kwnames[] = {
17667 (char *) "self", NULL
17668 };
17669
17670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
17671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17673 {
17674 PyThreadState* __tstate = wxPyBeginAllowThreads();
17675 result = (bool)(arg1)->GetCollate();
17676
17677 wxPyEndAllowThreads(__tstate);
17678 if (PyErr_Occurred()) SWIG_fail;
17679 }
17680 {
17681 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17682 }
17683 return resultobj;
17684 fail:
17685 return NULL;
17686 }
17687
17688
17689 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17690 PyObject *resultobj;
17691 wxPrintData *arg1 = (wxPrintData *) 0 ;
17692 int result;
17693 PyObject * obj0 = 0 ;
17694 char *kwnames[] = {
17695 (char *) "self", NULL
17696 };
17697
17698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
17699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17701 {
17702 PyThreadState* __tstate = wxPyBeginAllowThreads();
17703 result = (int)(arg1)->GetOrientation();
17704
17705 wxPyEndAllowThreads(__tstate);
17706 if (PyErr_Occurred()) SWIG_fail;
17707 }
17708 resultobj = SWIG_FromInt((int)result);
17709 return resultobj;
17710 fail:
17711 return NULL;
17712 }
17713
17714
17715 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
17716 PyObject *resultobj;
17717 wxPrintData *arg1 = (wxPrintData *) 0 ;
17718 bool result;
17719 PyObject * obj0 = 0 ;
17720 char *kwnames[] = {
17721 (char *) "self", NULL
17722 };
17723
17724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
17725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17727 {
17728 PyThreadState* __tstate = wxPyBeginAllowThreads();
17729 result = (bool)(arg1)->Ok();
17730
17731 wxPyEndAllowThreads(__tstate);
17732 if (PyErr_Occurred()) SWIG_fail;
17733 }
17734 {
17735 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17736 }
17737 return resultobj;
17738 fail:
17739 return NULL;
17740 }
17741
17742
17743 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
17744 PyObject *resultobj;
17745 wxPrintData *arg1 = (wxPrintData *) 0 ;
17746 wxString *result;
17747 PyObject * obj0 = 0 ;
17748 char *kwnames[] = {
17749 (char *) "self", NULL
17750 };
17751
17752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
17753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17755 {
17756 PyThreadState* __tstate = wxPyBeginAllowThreads();
17757 {
17758 wxString const &_result_ref = (arg1)->GetPrinterName();
17759 result = (wxString *) &_result_ref;
17760 }
17761
17762 wxPyEndAllowThreads(__tstate);
17763 if (PyErr_Occurred()) SWIG_fail;
17764 }
17765 {
17766 #if wxUSE_UNICODE
17767 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17768 #else
17769 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17770 #endif
17771 }
17772 return resultobj;
17773 fail:
17774 return NULL;
17775 }
17776
17777
17778 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17779 PyObject *resultobj;
17780 wxPrintData *arg1 = (wxPrintData *) 0 ;
17781 bool result;
17782 PyObject * obj0 = 0 ;
17783 char *kwnames[] = {
17784 (char *) "self", NULL
17785 };
17786
17787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
17788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17790 {
17791 PyThreadState* __tstate = wxPyBeginAllowThreads();
17792 result = (bool)(arg1)->GetColour();
17793
17794 wxPyEndAllowThreads(__tstate);
17795 if (PyErr_Occurred()) SWIG_fail;
17796 }
17797 {
17798 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17799 }
17800 return resultobj;
17801 fail:
17802 return NULL;
17803 }
17804
17805
17806 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
17807 PyObject *resultobj;
17808 wxPrintData *arg1 = (wxPrintData *) 0 ;
17809 int result;
17810 PyObject * obj0 = 0 ;
17811 char *kwnames[] = {
17812 (char *) "self", NULL
17813 };
17814
17815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
17816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17818 {
17819 PyThreadState* __tstate = wxPyBeginAllowThreads();
17820 result = (int)(arg1)->GetDuplex();
17821
17822 wxPyEndAllowThreads(__tstate);
17823 if (PyErr_Occurred()) SWIG_fail;
17824 }
17825 resultobj = SWIG_FromInt((int)result);
17826 return resultobj;
17827 fail:
17828 return NULL;
17829 }
17830
17831
17832 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
17833 PyObject *resultobj;
17834 wxPrintData *arg1 = (wxPrintData *) 0 ;
17835 int result;
17836 PyObject * obj0 = 0 ;
17837 char *kwnames[] = {
17838 (char *) "self", NULL
17839 };
17840
17841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
17842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17844 {
17845 PyThreadState* __tstate = wxPyBeginAllowThreads();
17846 result = (int)(arg1)->GetPaperId();
17847
17848 wxPyEndAllowThreads(__tstate);
17849 if (PyErr_Occurred()) SWIG_fail;
17850 }
17851 resultobj = SWIG_FromInt((int)result);
17852 return resultobj;
17853 fail:
17854 return NULL;
17855 }
17856
17857
17858 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17859 PyObject *resultobj;
17860 wxPrintData *arg1 = (wxPrintData *) 0 ;
17861 wxSize *result;
17862 PyObject * obj0 = 0 ;
17863 char *kwnames[] = {
17864 (char *) "self", NULL
17865 };
17866
17867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
17868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17870 {
17871 PyThreadState* __tstate = wxPyBeginAllowThreads();
17872 {
17873 wxSize const &_result_ref = (arg1)->GetPaperSize();
17874 result = (wxSize *) &_result_ref;
17875 }
17876
17877 wxPyEndAllowThreads(__tstate);
17878 if (PyErr_Occurred()) SWIG_fail;
17879 }
17880 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
17881 return resultobj;
17882 fail:
17883 return NULL;
17884 }
17885
17886
17887 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
17888 PyObject *resultobj;
17889 wxPrintData *arg1 = (wxPrintData *) 0 ;
17890 int result;
17891 PyObject * obj0 = 0 ;
17892 char *kwnames[] = {
17893 (char *) "self", NULL
17894 };
17895
17896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
17897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17899 {
17900 PyThreadState* __tstate = wxPyBeginAllowThreads();
17901 result = (int)(arg1)->GetQuality();
17902
17903 wxPyEndAllowThreads(__tstate);
17904 if (PyErr_Occurred()) SWIG_fail;
17905 }
17906 resultobj = SWIG_FromInt((int)result);
17907 return resultobj;
17908 fail:
17909 return NULL;
17910 }
17911
17912
17913 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17914 PyObject *resultobj;
17915 wxPrintData *arg1 = (wxPrintData *) 0 ;
17916 int arg2 ;
17917 PyObject * obj0 = 0 ;
17918 PyObject * obj1 = 0 ;
17919 char *kwnames[] = {
17920 (char *) "self",(char *) "v", NULL
17921 };
17922
17923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
17924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17926 arg2 = (int) SWIG_AsInt(obj1);
17927 if (PyErr_Occurred()) SWIG_fail;
17928 {
17929 PyThreadState* __tstate = wxPyBeginAllowThreads();
17930 (arg1)->SetNoCopies(arg2);
17931
17932 wxPyEndAllowThreads(__tstate);
17933 if (PyErr_Occurred()) SWIG_fail;
17934 }
17935 Py_INCREF(Py_None); resultobj = Py_None;
17936 return resultobj;
17937 fail:
17938 return NULL;
17939 }
17940
17941
17942 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17943 PyObject *resultobj;
17944 wxPrintData *arg1 = (wxPrintData *) 0 ;
17945 bool arg2 ;
17946 PyObject * obj0 = 0 ;
17947 PyObject * obj1 = 0 ;
17948 char *kwnames[] = {
17949 (char *) "self",(char *) "flag", NULL
17950 };
17951
17952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
17953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17955 arg2 = (bool) SWIG_AsBool(obj1);
17956 if (PyErr_Occurred()) SWIG_fail;
17957 {
17958 PyThreadState* __tstate = wxPyBeginAllowThreads();
17959 (arg1)->SetCollate(arg2);
17960
17961 wxPyEndAllowThreads(__tstate);
17962 if (PyErr_Occurred()) SWIG_fail;
17963 }
17964 Py_INCREF(Py_None); resultobj = Py_None;
17965 return resultobj;
17966 fail:
17967 return NULL;
17968 }
17969
17970
17971 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17972 PyObject *resultobj;
17973 wxPrintData *arg1 = (wxPrintData *) 0 ;
17974 int arg2 ;
17975 PyObject * obj0 = 0 ;
17976 PyObject * obj1 = 0 ;
17977 char *kwnames[] = {
17978 (char *) "self",(char *) "orient", NULL
17979 };
17980
17981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
17982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17984 arg2 = (int) SWIG_AsInt(obj1);
17985 if (PyErr_Occurred()) SWIG_fail;
17986 {
17987 PyThreadState* __tstate = wxPyBeginAllowThreads();
17988 (arg1)->SetOrientation(arg2);
17989
17990 wxPyEndAllowThreads(__tstate);
17991 if (PyErr_Occurred()) SWIG_fail;
17992 }
17993 Py_INCREF(Py_None); resultobj = Py_None;
17994 return resultobj;
17995 fail:
17996 return NULL;
17997 }
17998
17999
18000 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
18001 PyObject *resultobj;
18002 wxPrintData *arg1 = (wxPrintData *) 0 ;
18003 wxString *arg2 = 0 ;
18004 bool temp2 = False ;
18005 PyObject * obj0 = 0 ;
18006 PyObject * obj1 = 0 ;
18007 char *kwnames[] = {
18008 (char *) "self",(char *) "name", NULL
18009 };
18010
18011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
18012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18014 {
18015 arg2 = wxString_in_helper(obj1);
18016 if (arg2 == NULL) SWIG_fail;
18017 temp2 = True;
18018 }
18019 {
18020 PyThreadState* __tstate = wxPyBeginAllowThreads();
18021 (arg1)->SetPrinterName((wxString const &)*arg2);
18022
18023 wxPyEndAllowThreads(__tstate);
18024 if (PyErr_Occurred()) SWIG_fail;
18025 }
18026 Py_INCREF(Py_None); resultobj = Py_None;
18027 {
18028 if (temp2)
18029 delete arg2;
18030 }
18031 return resultobj;
18032 fail:
18033 {
18034 if (temp2)
18035 delete arg2;
18036 }
18037 return NULL;
18038 }
18039
18040
18041 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18042 PyObject *resultobj;
18043 wxPrintData *arg1 = (wxPrintData *) 0 ;
18044 bool arg2 ;
18045 PyObject * obj0 = 0 ;
18046 PyObject * obj1 = 0 ;
18047 char *kwnames[] = {
18048 (char *) "self",(char *) "colour", NULL
18049 };
18050
18051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
18052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18054 arg2 = (bool) SWIG_AsBool(obj1);
18055 if (PyErr_Occurred()) SWIG_fail;
18056 {
18057 PyThreadState* __tstate = wxPyBeginAllowThreads();
18058 (arg1)->SetColour(arg2);
18059
18060 wxPyEndAllowThreads(__tstate);
18061 if (PyErr_Occurred()) SWIG_fail;
18062 }
18063 Py_INCREF(Py_None); resultobj = Py_None;
18064 return resultobj;
18065 fail:
18066 return NULL;
18067 }
18068
18069
18070 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
18071 PyObject *resultobj;
18072 wxPrintData *arg1 = (wxPrintData *) 0 ;
18073 int arg2 ;
18074 PyObject * obj0 = 0 ;
18075 PyObject * obj1 = 0 ;
18076 char *kwnames[] = {
18077 (char *) "self",(char *) "duplex", NULL
18078 };
18079
18080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
18081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18083 arg2 = (wxDuplexMode) SWIG_AsInt(obj1);
18084 if (PyErr_Occurred()) SWIG_fail;
18085 {
18086 PyThreadState* __tstate = wxPyBeginAllowThreads();
18087 (arg1)->SetDuplex((wxDuplexMode )arg2);
18088
18089 wxPyEndAllowThreads(__tstate);
18090 if (PyErr_Occurred()) SWIG_fail;
18091 }
18092 Py_INCREF(Py_None); resultobj = Py_None;
18093 return resultobj;
18094 fail:
18095 return NULL;
18096 }
18097
18098
18099 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18100 PyObject *resultobj;
18101 wxPrintData *arg1 = (wxPrintData *) 0 ;
18102 int arg2 ;
18103 PyObject * obj0 = 0 ;
18104 PyObject * obj1 = 0 ;
18105 char *kwnames[] = {
18106 (char *) "self",(char *) "sizeId", NULL
18107 };
18108
18109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
18110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18112 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
18113 if (PyErr_Occurred()) SWIG_fail;
18114 {
18115 PyThreadState* __tstate = wxPyBeginAllowThreads();
18116 (arg1)->SetPaperId((wxPaperSize )arg2);
18117
18118 wxPyEndAllowThreads(__tstate);
18119 if (PyErr_Occurred()) SWIG_fail;
18120 }
18121 Py_INCREF(Py_None); resultobj = Py_None;
18122 return resultobj;
18123 fail:
18124 return NULL;
18125 }
18126
18127
18128 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18129 PyObject *resultobj;
18130 wxPrintData *arg1 = (wxPrintData *) 0 ;
18131 wxSize *arg2 = 0 ;
18132 wxSize temp2 ;
18133 PyObject * obj0 = 0 ;
18134 PyObject * obj1 = 0 ;
18135 char *kwnames[] = {
18136 (char *) "self",(char *) "sz", NULL
18137 };
18138
18139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
18140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18142 {
18143 arg2 = &temp2;
18144 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18145 }
18146 {
18147 PyThreadState* __tstate = wxPyBeginAllowThreads();
18148 (arg1)->SetPaperSize((wxSize const &)*arg2);
18149
18150 wxPyEndAllowThreads(__tstate);
18151 if (PyErr_Occurred()) SWIG_fail;
18152 }
18153 Py_INCREF(Py_None); resultobj = Py_None;
18154 return resultobj;
18155 fail:
18156 return NULL;
18157 }
18158
18159
18160 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
18161 PyObject *resultobj;
18162 wxPrintData *arg1 = (wxPrintData *) 0 ;
18163 int arg2 ;
18164 PyObject * obj0 = 0 ;
18165 PyObject * obj1 = 0 ;
18166 char *kwnames[] = {
18167 (char *) "self",(char *) "quality", NULL
18168 };
18169
18170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
18171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18173 arg2 = (int) SWIG_AsInt(obj1);
18174 if (PyErr_Occurred()) SWIG_fail;
18175 {
18176 PyThreadState* __tstate = wxPyBeginAllowThreads();
18177 (arg1)->SetQuality(arg2);
18178
18179 wxPyEndAllowThreads(__tstate);
18180 if (PyErr_Occurred()) SWIG_fail;
18181 }
18182 Py_INCREF(Py_None); resultobj = Py_None;
18183 return resultobj;
18184 fail:
18185 return NULL;
18186 }
18187
18188
18189 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18190 PyObject *resultobj;
18191 wxPrintData *arg1 = (wxPrintData *) 0 ;
18192 wxString *result;
18193 PyObject * obj0 = 0 ;
18194 char *kwnames[] = {
18195 (char *) "self", NULL
18196 };
18197
18198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
18199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18201 {
18202 PyThreadState* __tstate = wxPyBeginAllowThreads();
18203 {
18204 wxString const &_result_ref = (arg1)->GetPrinterCommand();
18205 result = (wxString *) &_result_ref;
18206 }
18207
18208 wxPyEndAllowThreads(__tstate);
18209 if (PyErr_Occurred()) SWIG_fail;
18210 }
18211 {
18212 #if wxUSE_UNICODE
18213 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18214 #else
18215 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18216 #endif
18217 }
18218 return resultobj;
18219 fail:
18220 return NULL;
18221 }
18222
18223
18224 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18225 PyObject *resultobj;
18226 wxPrintData *arg1 = (wxPrintData *) 0 ;
18227 wxString *result;
18228 PyObject * obj0 = 0 ;
18229 char *kwnames[] = {
18230 (char *) "self", NULL
18231 };
18232
18233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
18234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18236 {
18237 PyThreadState* __tstate = wxPyBeginAllowThreads();
18238 {
18239 wxString const &_result_ref = (arg1)->GetPrinterOptions();
18240 result = (wxString *) &_result_ref;
18241 }
18242
18243 wxPyEndAllowThreads(__tstate);
18244 if (PyErr_Occurred()) SWIG_fail;
18245 }
18246 {
18247 #if wxUSE_UNICODE
18248 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18249 #else
18250 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18251 #endif
18252 }
18253 return resultobj;
18254 fail:
18255 return NULL;
18256 }
18257
18258
18259 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18260 PyObject *resultobj;
18261 wxPrintData *arg1 = (wxPrintData *) 0 ;
18262 wxString *result;
18263 PyObject * obj0 = 0 ;
18264 char *kwnames[] = {
18265 (char *) "self", NULL
18266 };
18267
18268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
18269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18271 {
18272 PyThreadState* __tstate = wxPyBeginAllowThreads();
18273 {
18274 wxString const &_result_ref = (arg1)->GetPreviewCommand();
18275 result = (wxString *) &_result_ref;
18276 }
18277
18278 wxPyEndAllowThreads(__tstate);
18279 if (PyErr_Occurred()) SWIG_fail;
18280 }
18281 {
18282 #if wxUSE_UNICODE
18283 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18284 #else
18285 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18286 #endif
18287 }
18288 return resultobj;
18289 fail:
18290 return NULL;
18291 }
18292
18293
18294 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18295 PyObject *resultobj;
18296 wxPrintData *arg1 = (wxPrintData *) 0 ;
18297 wxString *result;
18298 PyObject * obj0 = 0 ;
18299 char *kwnames[] = {
18300 (char *) "self", NULL
18301 };
18302
18303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
18304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18306 {
18307 PyThreadState* __tstate = wxPyBeginAllowThreads();
18308 {
18309 wxString const &_result_ref = (arg1)->GetFilename();
18310 result = (wxString *) &_result_ref;
18311 }
18312
18313 wxPyEndAllowThreads(__tstate);
18314 if (PyErr_Occurred()) SWIG_fail;
18315 }
18316 {
18317 #if wxUSE_UNICODE
18318 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18319 #else
18320 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18321 #endif
18322 }
18323 return resultobj;
18324 fail:
18325 return NULL;
18326 }
18327
18328
18329 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18330 PyObject *resultobj;
18331 wxPrintData *arg1 = (wxPrintData *) 0 ;
18332 wxString *result;
18333 PyObject * obj0 = 0 ;
18334 char *kwnames[] = {
18335 (char *) "self", NULL
18336 };
18337
18338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
18339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18341 {
18342 PyThreadState* __tstate = wxPyBeginAllowThreads();
18343 {
18344 wxString const &_result_ref = (arg1)->GetFontMetricPath();
18345 result = (wxString *) &_result_ref;
18346 }
18347
18348 wxPyEndAllowThreads(__tstate);
18349 if (PyErr_Occurred()) SWIG_fail;
18350 }
18351 {
18352 #if wxUSE_UNICODE
18353 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18354 #else
18355 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18356 #endif
18357 }
18358 return resultobj;
18359 fail:
18360 return NULL;
18361 }
18362
18363
18364 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18365 PyObject *resultobj;
18366 wxPrintData *arg1 = (wxPrintData *) 0 ;
18367 double result;
18368 PyObject * obj0 = 0 ;
18369 char *kwnames[] = {
18370 (char *) "self", NULL
18371 };
18372
18373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
18374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18376 {
18377 PyThreadState* __tstate = wxPyBeginAllowThreads();
18378 result = (double)(arg1)->GetPrinterScaleX();
18379
18380 wxPyEndAllowThreads(__tstate);
18381 if (PyErr_Occurred()) SWIG_fail;
18382 }
18383 resultobj = SWIG_FromDouble((double)result);
18384 return resultobj;
18385 fail:
18386 return NULL;
18387 }
18388
18389
18390 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18391 PyObject *resultobj;
18392 wxPrintData *arg1 = (wxPrintData *) 0 ;
18393 double result;
18394 PyObject * obj0 = 0 ;
18395 char *kwnames[] = {
18396 (char *) "self", NULL
18397 };
18398
18399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
18400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18402 {
18403 PyThreadState* __tstate = wxPyBeginAllowThreads();
18404 result = (double)(arg1)->GetPrinterScaleY();
18405
18406 wxPyEndAllowThreads(__tstate);
18407 if (PyErr_Occurred()) SWIG_fail;
18408 }
18409 resultobj = SWIG_FromDouble((double)result);
18410 return resultobj;
18411 fail:
18412 return NULL;
18413 }
18414
18415
18416 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
18417 PyObject *resultobj;
18418 wxPrintData *arg1 = (wxPrintData *) 0 ;
18419 long result;
18420 PyObject * obj0 = 0 ;
18421 char *kwnames[] = {
18422 (char *) "self", NULL
18423 };
18424
18425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
18426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18428 {
18429 PyThreadState* __tstate = wxPyBeginAllowThreads();
18430 result = (long)(arg1)->GetPrinterTranslateX();
18431
18432 wxPyEndAllowThreads(__tstate);
18433 if (PyErr_Occurred()) SWIG_fail;
18434 }
18435 resultobj = SWIG_FromLong((long)result);
18436 return resultobj;
18437 fail:
18438 return NULL;
18439 }
18440
18441
18442 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
18443 PyObject *resultobj;
18444 wxPrintData *arg1 = (wxPrintData *) 0 ;
18445 long result;
18446 PyObject * obj0 = 0 ;
18447 char *kwnames[] = {
18448 (char *) "self", NULL
18449 };
18450
18451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
18452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18454 {
18455 PyThreadState* __tstate = wxPyBeginAllowThreads();
18456 result = (long)(arg1)->GetPrinterTranslateY();
18457
18458 wxPyEndAllowThreads(__tstate);
18459 if (PyErr_Occurred()) SWIG_fail;
18460 }
18461 resultobj = SWIG_FromLong((long)result);
18462 return resultobj;
18463 fail:
18464 return NULL;
18465 }
18466
18467
18468 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18469 PyObject *resultobj;
18470 wxPrintData *arg1 = (wxPrintData *) 0 ;
18471 int result;
18472 PyObject * obj0 = 0 ;
18473 char *kwnames[] = {
18474 (char *) "self", NULL
18475 };
18476
18477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
18478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18480 {
18481 PyThreadState* __tstate = wxPyBeginAllowThreads();
18482 result = (int)(arg1)->GetPrintMode();
18483
18484 wxPyEndAllowThreads(__tstate);
18485 if (PyErr_Occurred()) SWIG_fail;
18486 }
18487 resultobj = SWIG_FromInt((int)result);
18488 return resultobj;
18489 fail:
18490 return NULL;
18491 }
18492
18493
18494 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18495 PyObject *resultobj;
18496 wxPrintData *arg1 = (wxPrintData *) 0 ;
18497 wxString *arg2 = 0 ;
18498 bool temp2 = False ;
18499 PyObject * obj0 = 0 ;
18500 PyObject * obj1 = 0 ;
18501 char *kwnames[] = {
18502 (char *) "self",(char *) "command", NULL
18503 };
18504
18505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
18506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18508 {
18509 arg2 = wxString_in_helper(obj1);
18510 if (arg2 == NULL) SWIG_fail;
18511 temp2 = True;
18512 }
18513 {
18514 PyThreadState* __tstate = wxPyBeginAllowThreads();
18515 (arg1)->SetPrinterCommand((wxString const &)*arg2);
18516
18517 wxPyEndAllowThreads(__tstate);
18518 if (PyErr_Occurred()) SWIG_fail;
18519 }
18520 Py_INCREF(Py_None); resultobj = Py_None;
18521 {
18522 if (temp2)
18523 delete arg2;
18524 }
18525 return resultobj;
18526 fail:
18527 {
18528 if (temp2)
18529 delete arg2;
18530 }
18531 return NULL;
18532 }
18533
18534
18535 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18536 PyObject *resultobj;
18537 wxPrintData *arg1 = (wxPrintData *) 0 ;
18538 wxString *arg2 = 0 ;
18539 bool temp2 = False ;
18540 PyObject * obj0 = 0 ;
18541 PyObject * obj1 = 0 ;
18542 char *kwnames[] = {
18543 (char *) "self",(char *) "options", NULL
18544 };
18545
18546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
18547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18549 {
18550 arg2 = wxString_in_helper(obj1);
18551 if (arg2 == NULL) SWIG_fail;
18552 temp2 = True;
18553 }
18554 {
18555 PyThreadState* __tstate = wxPyBeginAllowThreads();
18556 (arg1)->SetPrinterOptions((wxString const &)*arg2);
18557
18558 wxPyEndAllowThreads(__tstate);
18559 if (PyErr_Occurred()) SWIG_fail;
18560 }
18561 Py_INCREF(Py_None); resultobj = Py_None;
18562 {
18563 if (temp2)
18564 delete arg2;
18565 }
18566 return resultobj;
18567 fail:
18568 {
18569 if (temp2)
18570 delete arg2;
18571 }
18572 return NULL;
18573 }
18574
18575
18576 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18577 PyObject *resultobj;
18578 wxPrintData *arg1 = (wxPrintData *) 0 ;
18579 wxString *arg2 = 0 ;
18580 bool temp2 = False ;
18581 PyObject * obj0 = 0 ;
18582 PyObject * obj1 = 0 ;
18583 char *kwnames[] = {
18584 (char *) "self",(char *) "command", NULL
18585 };
18586
18587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
18588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18590 {
18591 arg2 = wxString_in_helper(obj1);
18592 if (arg2 == NULL) SWIG_fail;
18593 temp2 = True;
18594 }
18595 {
18596 PyThreadState* __tstate = wxPyBeginAllowThreads();
18597 (arg1)->SetPreviewCommand((wxString const &)*arg2);
18598
18599 wxPyEndAllowThreads(__tstate);
18600 if (PyErr_Occurred()) SWIG_fail;
18601 }
18602 Py_INCREF(Py_None); resultobj = Py_None;
18603 {
18604 if (temp2)
18605 delete arg2;
18606 }
18607 return resultobj;
18608 fail:
18609 {
18610 if (temp2)
18611 delete arg2;
18612 }
18613 return NULL;
18614 }
18615
18616
18617 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18618 PyObject *resultobj;
18619 wxPrintData *arg1 = (wxPrintData *) 0 ;
18620 wxString *arg2 = 0 ;
18621 bool temp2 = False ;
18622 PyObject * obj0 = 0 ;
18623 PyObject * obj1 = 0 ;
18624 char *kwnames[] = {
18625 (char *) "self",(char *) "filename", NULL
18626 };
18627
18628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
18629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18631 {
18632 arg2 = wxString_in_helper(obj1);
18633 if (arg2 == NULL) SWIG_fail;
18634 temp2 = True;
18635 }
18636 {
18637 PyThreadState* __tstate = wxPyBeginAllowThreads();
18638 (arg1)->SetFilename((wxString const &)*arg2);
18639
18640 wxPyEndAllowThreads(__tstate);
18641 if (PyErr_Occurred()) SWIG_fail;
18642 }
18643 Py_INCREF(Py_None); resultobj = Py_None;
18644 {
18645 if (temp2)
18646 delete arg2;
18647 }
18648 return resultobj;
18649 fail:
18650 {
18651 if (temp2)
18652 delete arg2;
18653 }
18654 return NULL;
18655 }
18656
18657
18658 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18659 PyObject *resultobj;
18660 wxPrintData *arg1 = (wxPrintData *) 0 ;
18661 wxString *arg2 = 0 ;
18662 bool temp2 = False ;
18663 PyObject * obj0 = 0 ;
18664 PyObject * obj1 = 0 ;
18665 char *kwnames[] = {
18666 (char *) "self",(char *) "path", NULL
18667 };
18668
18669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
18670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18672 {
18673 arg2 = wxString_in_helper(obj1);
18674 if (arg2 == NULL) SWIG_fail;
18675 temp2 = True;
18676 }
18677 {
18678 PyThreadState* __tstate = wxPyBeginAllowThreads();
18679 (arg1)->SetFontMetricPath((wxString const &)*arg2);
18680
18681 wxPyEndAllowThreads(__tstate);
18682 if (PyErr_Occurred()) SWIG_fail;
18683 }
18684 Py_INCREF(Py_None); resultobj = Py_None;
18685 {
18686 if (temp2)
18687 delete arg2;
18688 }
18689 return resultobj;
18690 fail:
18691 {
18692 if (temp2)
18693 delete arg2;
18694 }
18695 return NULL;
18696 }
18697
18698
18699 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18700 PyObject *resultobj;
18701 wxPrintData *arg1 = (wxPrintData *) 0 ;
18702 double arg2 ;
18703 PyObject * obj0 = 0 ;
18704 PyObject * obj1 = 0 ;
18705 char *kwnames[] = {
18706 (char *) "self",(char *) "x", NULL
18707 };
18708
18709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
18710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18712 arg2 = (double) SWIG_AsDouble(obj1);
18713 if (PyErr_Occurred()) SWIG_fail;
18714 {
18715 PyThreadState* __tstate = wxPyBeginAllowThreads();
18716 (arg1)->SetPrinterScaleX(arg2);
18717
18718 wxPyEndAllowThreads(__tstate);
18719 if (PyErr_Occurred()) SWIG_fail;
18720 }
18721 Py_INCREF(Py_None); resultobj = Py_None;
18722 return resultobj;
18723 fail:
18724 return NULL;
18725 }
18726
18727
18728 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18729 PyObject *resultobj;
18730 wxPrintData *arg1 = (wxPrintData *) 0 ;
18731 double arg2 ;
18732 PyObject * obj0 = 0 ;
18733 PyObject * obj1 = 0 ;
18734 char *kwnames[] = {
18735 (char *) "self",(char *) "y", NULL
18736 };
18737
18738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
18739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18741 arg2 = (double) SWIG_AsDouble(obj1);
18742 if (PyErr_Occurred()) SWIG_fail;
18743 {
18744 PyThreadState* __tstate = wxPyBeginAllowThreads();
18745 (arg1)->SetPrinterScaleY(arg2);
18746
18747 wxPyEndAllowThreads(__tstate);
18748 if (PyErr_Occurred()) SWIG_fail;
18749 }
18750 Py_INCREF(Py_None); resultobj = Py_None;
18751 return resultobj;
18752 fail:
18753 return NULL;
18754 }
18755
18756
18757 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
18758 PyObject *resultobj;
18759 wxPrintData *arg1 = (wxPrintData *) 0 ;
18760 double arg2 ;
18761 double arg3 ;
18762 PyObject * obj0 = 0 ;
18763 PyObject * obj1 = 0 ;
18764 PyObject * obj2 = 0 ;
18765 char *kwnames[] = {
18766 (char *) "self",(char *) "x",(char *) "y", NULL
18767 };
18768
18769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
18770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18772 arg2 = (double) SWIG_AsDouble(obj1);
18773 if (PyErr_Occurred()) SWIG_fail;
18774 arg3 = (double) SWIG_AsDouble(obj2);
18775 if (PyErr_Occurred()) SWIG_fail;
18776 {
18777 PyThreadState* __tstate = wxPyBeginAllowThreads();
18778 (arg1)->SetPrinterScaling(arg2,arg3);
18779
18780 wxPyEndAllowThreads(__tstate);
18781 if (PyErr_Occurred()) SWIG_fail;
18782 }
18783 Py_INCREF(Py_None); resultobj = Py_None;
18784 return resultobj;
18785 fail:
18786 return NULL;
18787 }
18788
18789
18790 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
18791 PyObject *resultobj;
18792 wxPrintData *arg1 = (wxPrintData *) 0 ;
18793 long arg2 ;
18794 PyObject * obj0 = 0 ;
18795 PyObject * obj1 = 0 ;
18796 char *kwnames[] = {
18797 (char *) "self",(char *) "x", NULL
18798 };
18799
18800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
18801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18803 arg2 = (long) SWIG_AsLong(obj1);
18804 if (PyErr_Occurred()) SWIG_fail;
18805 {
18806 PyThreadState* __tstate = wxPyBeginAllowThreads();
18807 (arg1)->SetPrinterTranslateX(arg2);
18808
18809 wxPyEndAllowThreads(__tstate);
18810 if (PyErr_Occurred()) SWIG_fail;
18811 }
18812 Py_INCREF(Py_None); resultobj = Py_None;
18813 return resultobj;
18814 fail:
18815 return NULL;
18816 }
18817
18818
18819 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
18820 PyObject *resultobj;
18821 wxPrintData *arg1 = (wxPrintData *) 0 ;
18822 long arg2 ;
18823 PyObject * obj0 = 0 ;
18824 PyObject * obj1 = 0 ;
18825 char *kwnames[] = {
18826 (char *) "self",(char *) "y", NULL
18827 };
18828
18829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
18830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18832 arg2 = (long) SWIG_AsLong(obj1);
18833 if (PyErr_Occurred()) SWIG_fail;
18834 {
18835 PyThreadState* __tstate = wxPyBeginAllowThreads();
18836 (arg1)->SetPrinterTranslateY(arg2);
18837
18838 wxPyEndAllowThreads(__tstate);
18839 if (PyErr_Occurred()) SWIG_fail;
18840 }
18841 Py_INCREF(Py_None); resultobj = Py_None;
18842 return resultobj;
18843 fail:
18844 return NULL;
18845 }
18846
18847
18848 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
18849 PyObject *resultobj;
18850 wxPrintData *arg1 = (wxPrintData *) 0 ;
18851 long arg2 ;
18852 long arg3 ;
18853 PyObject * obj0 = 0 ;
18854 PyObject * obj1 = 0 ;
18855 PyObject * obj2 = 0 ;
18856 char *kwnames[] = {
18857 (char *) "self",(char *) "x",(char *) "y", NULL
18858 };
18859
18860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
18861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18863 arg2 = (long) SWIG_AsLong(obj1);
18864 if (PyErr_Occurred()) SWIG_fail;
18865 arg3 = (long) SWIG_AsLong(obj2);
18866 if (PyErr_Occurred()) SWIG_fail;
18867 {
18868 PyThreadState* __tstate = wxPyBeginAllowThreads();
18869 (arg1)->SetPrinterTranslation(arg2,arg3);
18870
18871 wxPyEndAllowThreads(__tstate);
18872 if (PyErr_Occurred()) SWIG_fail;
18873 }
18874 Py_INCREF(Py_None); resultobj = Py_None;
18875 return resultobj;
18876 fail:
18877 return NULL;
18878 }
18879
18880
18881 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18882 PyObject *resultobj;
18883 wxPrintData *arg1 = (wxPrintData *) 0 ;
18884 int arg2 ;
18885 PyObject * obj0 = 0 ;
18886 PyObject * obj1 = 0 ;
18887 char *kwnames[] = {
18888 (char *) "self",(char *) "printMode", NULL
18889 };
18890
18891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
18892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18894 arg2 = (wxPrintMode) SWIG_AsInt(obj1);
18895 if (PyErr_Occurred()) SWIG_fail;
18896 {
18897 PyThreadState* __tstate = wxPyBeginAllowThreads();
18898 (arg1)->SetPrintMode((wxPrintMode )arg2);
18899
18900 wxPyEndAllowThreads(__tstate);
18901 if (PyErr_Occurred()) SWIG_fail;
18902 }
18903 Py_INCREF(Py_None); resultobj = Py_None;
18904 return resultobj;
18905 fail:
18906 return NULL;
18907 }
18908
18909
18910 static PyObject *_wrap_PrintData_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
18911 PyObject *resultobj;
18912 wxPrintData *arg1 = (wxPrintData *) 0 ;
18913 wxOutputStream *result;
18914 PyObject * obj0 = 0 ;
18915 char *kwnames[] = {
18916 (char *) "self", NULL
18917 };
18918
18919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
18920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18922 {
18923 PyThreadState* __tstate = wxPyBeginAllowThreads();
18924 result = (wxOutputStream *)(arg1)->GetOutputStream();
18925
18926 wxPyEndAllowThreads(__tstate);
18927 if (PyErr_Occurred()) SWIG_fail;
18928 }
18929 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
18930 return resultobj;
18931 fail:
18932 return NULL;
18933 }
18934
18935
18936 static PyObject *_wrap_PrintData_SetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
18937 PyObject *resultobj;
18938 wxPrintData *arg1 = (wxPrintData *) 0 ;
18939 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
18940 PyObject * obj0 = 0 ;
18941 PyObject * obj1 = 0 ;
18942 char *kwnames[] = {
18943 (char *) "self",(char *) "outputstream", NULL
18944 };
18945
18946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
18947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18949 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
18950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18951 {
18952 PyThreadState* __tstate = wxPyBeginAllowThreads();
18953 (arg1)->SetOutputStream(arg2);
18954
18955 wxPyEndAllowThreads(__tstate);
18956 if (PyErr_Occurred()) SWIG_fail;
18957 }
18958 Py_INCREF(Py_None); resultobj = Py_None;
18959 return resultobj;
18960 fail:
18961 return NULL;
18962 }
18963
18964
18965 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
18966 PyObject *obj;
18967 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18968 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
18969 Py_INCREF(obj);
18970 return Py_BuildValue((char *)"");
18971 }
18972 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18973 PyObject *resultobj;
18974 wxPageSetupDialogData *result;
18975 char *kwnames[] = {
18976 NULL
18977 };
18978
18979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
18980 {
18981 PyThreadState* __tstate = wxPyBeginAllowThreads();
18982 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
18983
18984 wxPyEndAllowThreads(__tstate);
18985 if (PyErr_Occurred()) SWIG_fail;
18986 }
18987 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
18988 return resultobj;
18989 fail:
18990 return NULL;
18991 }
18992
18993
18994 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18995 PyObject *resultobj;
18996 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18997 PyObject * obj0 = 0 ;
18998 char *kwnames[] = {
18999 (char *) "self", NULL
19000 };
19001
19002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
19003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19005 {
19006 PyThreadState* __tstate = wxPyBeginAllowThreads();
19007 delete arg1;
19008
19009 wxPyEndAllowThreads(__tstate);
19010 if (PyErr_Occurred()) SWIG_fail;
19011 }
19012 Py_INCREF(Py_None); resultobj = Py_None;
19013 return resultobj;
19014 fail:
19015 return NULL;
19016 }
19017
19018
19019 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19020 PyObject *resultobj;
19021 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19022 bool arg2 ;
19023 PyObject * obj0 = 0 ;
19024 PyObject * obj1 = 0 ;
19025 char *kwnames[] = {
19026 (char *) "self",(char *) "flag", NULL
19027 };
19028
19029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
19030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19032 arg2 = (bool) SWIG_AsBool(obj1);
19033 if (PyErr_Occurred()) SWIG_fail;
19034 {
19035 PyThreadState* __tstate = wxPyBeginAllowThreads();
19036 (arg1)->EnableHelp(arg2);
19037
19038 wxPyEndAllowThreads(__tstate);
19039 if (PyErr_Occurred()) SWIG_fail;
19040 }
19041 Py_INCREF(Py_None); resultobj = Py_None;
19042 return resultobj;
19043 fail:
19044 return NULL;
19045 }
19046
19047
19048 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19049 PyObject *resultobj;
19050 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19051 bool arg2 ;
19052 PyObject * obj0 = 0 ;
19053 PyObject * obj1 = 0 ;
19054 char *kwnames[] = {
19055 (char *) "self",(char *) "flag", NULL
19056 };
19057
19058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
19059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19061 arg2 = (bool) SWIG_AsBool(obj1);
19062 if (PyErr_Occurred()) SWIG_fail;
19063 {
19064 PyThreadState* __tstate = wxPyBeginAllowThreads();
19065 (arg1)->EnableMargins(arg2);
19066
19067 wxPyEndAllowThreads(__tstate);
19068 if (PyErr_Occurred()) SWIG_fail;
19069 }
19070 Py_INCREF(Py_None); resultobj = Py_None;
19071 return resultobj;
19072 fail:
19073 return NULL;
19074 }
19075
19076
19077 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
19078 PyObject *resultobj;
19079 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19080 bool arg2 ;
19081 PyObject * obj0 = 0 ;
19082 PyObject * obj1 = 0 ;
19083 char *kwnames[] = {
19084 (char *) "self",(char *) "flag", NULL
19085 };
19086
19087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
19088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19090 arg2 = (bool) SWIG_AsBool(obj1);
19091 if (PyErr_Occurred()) SWIG_fail;
19092 {
19093 PyThreadState* __tstate = wxPyBeginAllowThreads();
19094 (arg1)->EnableOrientation(arg2);
19095
19096 wxPyEndAllowThreads(__tstate);
19097 if (PyErr_Occurred()) SWIG_fail;
19098 }
19099 Py_INCREF(Py_None); resultobj = Py_None;
19100 return resultobj;
19101 fail:
19102 return NULL;
19103 }
19104
19105
19106 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
19107 PyObject *resultobj;
19108 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19109 bool arg2 ;
19110 PyObject * obj0 = 0 ;
19111 PyObject * obj1 = 0 ;
19112 char *kwnames[] = {
19113 (char *) "self",(char *) "flag", NULL
19114 };
19115
19116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
19117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19119 arg2 = (bool) SWIG_AsBool(obj1);
19120 if (PyErr_Occurred()) SWIG_fail;
19121 {
19122 PyThreadState* __tstate = wxPyBeginAllowThreads();
19123 (arg1)->EnablePaper(arg2);
19124
19125 wxPyEndAllowThreads(__tstate);
19126 if (PyErr_Occurred()) SWIG_fail;
19127 }
19128 Py_INCREF(Py_None); resultobj = Py_None;
19129 return resultobj;
19130 fail:
19131 return NULL;
19132 }
19133
19134
19135 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19136 PyObject *resultobj;
19137 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19138 bool arg2 ;
19139 PyObject * obj0 = 0 ;
19140 PyObject * obj1 = 0 ;
19141 char *kwnames[] = {
19142 (char *) "self",(char *) "flag", NULL
19143 };
19144
19145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
19146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19148 arg2 = (bool) SWIG_AsBool(obj1);
19149 if (PyErr_Occurred()) SWIG_fail;
19150 {
19151 PyThreadState* __tstate = wxPyBeginAllowThreads();
19152 (arg1)->EnablePrinter(arg2);
19153
19154 wxPyEndAllowThreads(__tstate);
19155 if (PyErr_Occurred()) SWIG_fail;
19156 }
19157 Py_INCREF(Py_None); resultobj = Py_None;
19158 return resultobj;
19159 fail:
19160 return NULL;
19161 }
19162
19163
19164 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19165 PyObject *resultobj;
19166 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19167 bool result;
19168 PyObject * obj0 = 0 ;
19169 char *kwnames[] = {
19170 (char *) "self", NULL
19171 };
19172
19173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
19174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19176 {
19177 PyThreadState* __tstate = wxPyBeginAllowThreads();
19178 result = (bool)(arg1)->GetDefaultMinMargins();
19179
19180 wxPyEndAllowThreads(__tstate);
19181 if (PyErr_Occurred()) SWIG_fail;
19182 }
19183 {
19184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19185 }
19186 return resultobj;
19187 fail:
19188 return NULL;
19189 }
19190
19191
19192 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19193 PyObject *resultobj;
19194 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19195 bool result;
19196 PyObject * obj0 = 0 ;
19197 char *kwnames[] = {
19198 (char *) "self", NULL
19199 };
19200
19201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
19202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19204 {
19205 PyThreadState* __tstate = wxPyBeginAllowThreads();
19206 result = (bool)(arg1)->GetEnableMargins();
19207
19208 wxPyEndAllowThreads(__tstate);
19209 if (PyErr_Occurred()) SWIG_fail;
19210 }
19211 {
19212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19213 }
19214 return resultobj;
19215 fail:
19216 return NULL;
19217 }
19218
19219
19220 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
19221 PyObject *resultobj;
19222 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19223 bool result;
19224 PyObject * obj0 = 0 ;
19225 char *kwnames[] = {
19226 (char *) "self", NULL
19227 };
19228
19229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
19230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19232 {
19233 PyThreadState* __tstate = wxPyBeginAllowThreads();
19234 result = (bool)(arg1)->GetEnableOrientation();
19235
19236 wxPyEndAllowThreads(__tstate);
19237 if (PyErr_Occurred()) SWIG_fail;
19238 }
19239 {
19240 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19241 }
19242 return resultobj;
19243 fail:
19244 return NULL;
19245 }
19246
19247
19248 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
19249 PyObject *resultobj;
19250 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19251 bool result;
19252 PyObject * obj0 = 0 ;
19253 char *kwnames[] = {
19254 (char *) "self", NULL
19255 };
19256
19257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
19258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19260 {
19261 PyThreadState* __tstate = wxPyBeginAllowThreads();
19262 result = (bool)(arg1)->GetEnablePaper();
19263
19264 wxPyEndAllowThreads(__tstate);
19265 if (PyErr_Occurred()) SWIG_fail;
19266 }
19267 {
19268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19269 }
19270 return resultobj;
19271 fail:
19272 return NULL;
19273 }
19274
19275
19276 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19277 PyObject *resultobj;
19278 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19279 bool result;
19280 PyObject * obj0 = 0 ;
19281 char *kwnames[] = {
19282 (char *) "self", NULL
19283 };
19284
19285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
19286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19288 {
19289 PyThreadState* __tstate = wxPyBeginAllowThreads();
19290 result = (bool)(arg1)->GetEnablePrinter();
19291
19292 wxPyEndAllowThreads(__tstate);
19293 if (PyErr_Occurred()) SWIG_fail;
19294 }
19295 {
19296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19297 }
19298 return resultobj;
19299 fail:
19300 return NULL;
19301 }
19302
19303
19304 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19305 PyObject *resultobj;
19306 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19307 bool result;
19308 PyObject * obj0 = 0 ;
19309 char *kwnames[] = {
19310 (char *) "self", NULL
19311 };
19312
19313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
19314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19316 {
19317 PyThreadState* __tstate = wxPyBeginAllowThreads();
19318 result = (bool)(arg1)->GetEnableHelp();
19319
19320 wxPyEndAllowThreads(__tstate);
19321 if (PyErr_Occurred()) SWIG_fail;
19322 }
19323 {
19324 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19325 }
19326 return resultobj;
19327 fail:
19328 return NULL;
19329 }
19330
19331
19332 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19333 PyObject *resultobj;
19334 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19335 bool result;
19336 PyObject * obj0 = 0 ;
19337 char *kwnames[] = {
19338 (char *) "self", NULL
19339 };
19340
19341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
19342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19344 {
19345 PyThreadState* __tstate = wxPyBeginAllowThreads();
19346 result = (bool)(arg1)->GetDefaultInfo();
19347
19348 wxPyEndAllowThreads(__tstate);
19349 if (PyErr_Occurred()) SWIG_fail;
19350 }
19351 {
19352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19353 }
19354 return resultobj;
19355 fail:
19356 return NULL;
19357 }
19358
19359
19360 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19361 PyObject *resultobj;
19362 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19363 wxPoint result;
19364 PyObject * obj0 = 0 ;
19365 char *kwnames[] = {
19366 (char *) "self", NULL
19367 };
19368
19369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
19370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19372 {
19373 PyThreadState* __tstate = wxPyBeginAllowThreads();
19374 result = (arg1)->GetMarginTopLeft();
19375
19376 wxPyEndAllowThreads(__tstate);
19377 if (PyErr_Occurred()) SWIG_fail;
19378 }
19379 {
19380 wxPoint * resultptr;
19381 resultptr = new wxPoint((wxPoint &) result);
19382 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19383 }
19384 return resultobj;
19385 fail:
19386 return NULL;
19387 }
19388
19389
19390 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19391 PyObject *resultobj;
19392 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19393 wxPoint result;
19394 PyObject * obj0 = 0 ;
19395 char *kwnames[] = {
19396 (char *) "self", NULL
19397 };
19398
19399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
19400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19402 {
19403 PyThreadState* __tstate = wxPyBeginAllowThreads();
19404 result = (arg1)->GetMarginBottomRight();
19405
19406 wxPyEndAllowThreads(__tstate);
19407 if (PyErr_Occurred()) SWIG_fail;
19408 }
19409 {
19410 wxPoint * resultptr;
19411 resultptr = new wxPoint((wxPoint &) result);
19412 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19413 }
19414 return resultobj;
19415 fail:
19416 return NULL;
19417 }
19418
19419
19420 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19421 PyObject *resultobj;
19422 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19423 wxPoint result;
19424 PyObject * obj0 = 0 ;
19425 char *kwnames[] = {
19426 (char *) "self", NULL
19427 };
19428
19429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
19430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19432 {
19433 PyThreadState* __tstate = wxPyBeginAllowThreads();
19434 result = (arg1)->GetMinMarginTopLeft();
19435
19436 wxPyEndAllowThreads(__tstate);
19437 if (PyErr_Occurred()) SWIG_fail;
19438 }
19439 {
19440 wxPoint * resultptr;
19441 resultptr = new wxPoint((wxPoint &) result);
19442 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19443 }
19444 return resultobj;
19445 fail:
19446 return NULL;
19447 }
19448
19449
19450 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19451 PyObject *resultobj;
19452 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19453 wxPoint result;
19454 PyObject * obj0 = 0 ;
19455 char *kwnames[] = {
19456 (char *) "self", NULL
19457 };
19458
19459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
19460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19462 {
19463 PyThreadState* __tstate = wxPyBeginAllowThreads();
19464 result = (arg1)->GetMinMarginBottomRight();
19465
19466 wxPyEndAllowThreads(__tstate);
19467 if (PyErr_Occurred()) SWIG_fail;
19468 }
19469 {
19470 wxPoint * resultptr;
19471 resultptr = new wxPoint((wxPoint &) result);
19472 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19473 }
19474 return resultobj;
19475 fail:
19476 return NULL;
19477 }
19478
19479
19480 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
19481 PyObject *resultobj;
19482 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19483 int result;
19484 PyObject * obj0 = 0 ;
19485 char *kwnames[] = {
19486 (char *) "self", NULL
19487 };
19488
19489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
19490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19492 {
19493 PyThreadState* __tstate = wxPyBeginAllowThreads();
19494 result = (int)(arg1)->GetPaperId();
19495
19496 wxPyEndAllowThreads(__tstate);
19497 if (PyErr_Occurred()) SWIG_fail;
19498 }
19499 resultobj = SWIG_FromInt((int)result);
19500 return resultobj;
19501 fail:
19502 return NULL;
19503 }
19504
19505
19506 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19507 PyObject *resultobj;
19508 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19509 wxSize result;
19510 PyObject * obj0 = 0 ;
19511 char *kwnames[] = {
19512 (char *) "self", NULL
19513 };
19514
19515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
19516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19518 {
19519 PyThreadState* __tstate = wxPyBeginAllowThreads();
19520 result = (arg1)->GetPaperSize();
19521
19522 wxPyEndAllowThreads(__tstate);
19523 if (PyErr_Occurred()) SWIG_fail;
19524 }
19525 {
19526 wxSize * resultptr;
19527 resultptr = new wxSize((wxSize &) result);
19528 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19529 }
19530 return resultobj;
19531 fail:
19532 return NULL;
19533 }
19534
19535
19536 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19537 PyObject *resultobj;
19538 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19539 wxPrintData *result;
19540 PyObject * obj0 = 0 ;
19541 char *kwnames[] = {
19542 (char *) "self", NULL
19543 };
19544
19545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
19546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19548 {
19549 PyThreadState* __tstate = wxPyBeginAllowThreads();
19550 {
19551 wxPrintData &_result_ref = (arg1)->GetPrintData();
19552 result = (wxPrintData *) &_result_ref;
19553 }
19554
19555 wxPyEndAllowThreads(__tstate);
19556 if (PyErr_Occurred()) SWIG_fail;
19557 }
19558 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
19559 return resultobj;
19560 fail:
19561 return NULL;
19562 }
19563
19564
19565 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19566 PyObject *resultobj;
19567 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19568 bool result;
19569 PyObject * obj0 = 0 ;
19570 char *kwnames[] = {
19571 (char *) "self", NULL
19572 };
19573
19574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
19575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19577 {
19578 PyThreadState* __tstate = wxPyBeginAllowThreads();
19579 result = (bool)(arg1)->Ok();
19580
19581 wxPyEndAllowThreads(__tstate);
19582 if (PyErr_Occurred()) SWIG_fail;
19583 }
19584 {
19585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19586 }
19587 return resultobj;
19588 fail:
19589 return NULL;
19590 }
19591
19592
19593 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19594 PyObject *resultobj;
19595 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19596 bool arg2 ;
19597 PyObject * obj0 = 0 ;
19598 PyObject * obj1 = 0 ;
19599 char *kwnames[] = {
19600 (char *) "self",(char *) "flag", NULL
19601 };
19602
19603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
19604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19606 arg2 = (bool) SWIG_AsBool(obj1);
19607 if (PyErr_Occurred()) SWIG_fail;
19608 {
19609 PyThreadState* __tstate = wxPyBeginAllowThreads();
19610 (arg1)->SetDefaultInfo(arg2);
19611
19612 wxPyEndAllowThreads(__tstate);
19613 if (PyErr_Occurred()) SWIG_fail;
19614 }
19615 Py_INCREF(Py_None); resultobj = Py_None;
19616 return resultobj;
19617 fail:
19618 return NULL;
19619 }
19620
19621
19622 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19623 PyObject *resultobj;
19624 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19625 bool arg2 ;
19626 PyObject * obj0 = 0 ;
19627 PyObject * obj1 = 0 ;
19628 char *kwnames[] = {
19629 (char *) "self",(char *) "flag", NULL
19630 };
19631
19632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
19633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19635 arg2 = (bool) SWIG_AsBool(obj1);
19636 if (PyErr_Occurred()) SWIG_fail;
19637 {
19638 PyThreadState* __tstate = wxPyBeginAllowThreads();
19639 (arg1)->SetDefaultMinMargins(arg2);
19640
19641 wxPyEndAllowThreads(__tstate);
19642 if (PyErr_Occurred()) SWIG_fail;
19643 }
19644 Py_INCREF(Py_None); resultobj = Py_None;
19645 return resultobj;
19646 fail:
19647 return NULL;
19648 }
19649
19650
19651 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19652 PyObject *resultobj;
19653 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19654 wxPoint *arg2 = 0 ;
19655 wxPoint temp2 ;
19656 PyObject * obj0 = 0 ;
19657 PyObject * obj1 = 0 ;
19658 char *kwnames[] = {
19659 (char *) "self",(char *) "pt", NULL
19660 };
19661
19662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
19663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19665 {
19666 arg2 = &temp2;
19667 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19668 }
19669 {
19670 PyThreadState* __tstate = wxPyBeginAllowThreads();
19671 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
19672
19673 wxPyEndAllowThreads(__tstate);
19674 if (PyErr_Occurred()) SWIG_fail;
19675 }
19676 Py_INCREF(Py_None); resultobj = Py_None;
19677 return resultobj;
19678 fail:
19679 return NULL;
19680 }
19681
19682
19683 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19684 PyObject *resultobj;
19685 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19686 wxPoint *arg2 = 0 ;
19687 wxPoint temp2 ;
19688 PyObject * obj0 = 0 ;
19689 PyObject * obj1 = 0 ;
19690 char *kwnames[] = {
19691 (char *) "self",(char *) "pt", NULL
19692 };
19693
19694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
19695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19697 {
19698 arg2 = &temp2;
19699 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19700 }
19701 {
19702 PyThreadState* __tstate = wxPyBeginAllowThreads();
19703 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
19704
19705 wxPyEndAllowThreads(__tstate);
19706 if (PyErr_Occurred()) SWIG_fail;
19707 }
19708 Py_INCREF(Py_None); resultobj = Py_None;
19709 return resultobj;
19710 fail:
19711 return NULL;
19712 }
19713
19714
19715 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19716 PyObject *resultobj;
19717 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19718 wxPoint *arg2 = 0 ;
19719 wxPoint temp2 ;
19720 PyObject * obj0 = 0 ;
19721 PyObject * obj1 = 0 ;
19722 char *kwnames[] = {
19723 (char *) "self",(char *) "pt", NULL
19724 };
19725
19726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
19727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19729 {
19730 arg2 = &temp2;
19731 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19732 }
19733 {
19734 PyThreadState* __tstate = wxPyBeginAllowThreads();
19735 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
19736
19737 wxPyEndAllowThreads(__tstate);
19738 if (PyErr_Occurred()) SWIG_fail;
19739 }
19740 Py_INCREF(Py_None); resultobj = Py_None;
19741 return resultobj;
19742 fail:
19743 return NULL;
19744 }
19745
19746
19747 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19748 PyObject *resultobj;
19749 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19750 wxPoint *arg2 = 0 ;
19751 wxPoint temp2 ;
19752 PyObject * obj0 = 0 ;
19753 PyObject * obj1 = 0 ;
19754 char *kwnames[] = {
19755 (char *) "self",(char *) "pt", NULL
19756 };
19757
19758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
19759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19761 {
19762 arg2 = &temp2;
19763 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19764 }
19765 {
19766 PyThreadState* __tstate = wxPyBeginAllowThreads();
19767 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
19768
19769 wxPyEndAllowThreads(__tstate);
19770 if (PyErr_Occurred()) SWIG_fail;
19771 }
19772 Py_INCREF(Py_None); resultobj = Py_None;
19773 return resultobj;
19774 fail:
19775 return NULL;
19776 }
19777
19778
19779 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
19780 PyObject *resultobj;
19781 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19782 int arg2 ;
19783 PyObject * obj0 = 0 ;
19784 PyObject * obj1 = 0 ;
19785 char *kwnames[] = {
19786 (char *) "self",(char *) "id", NULL
19787 };
19788
19789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
19790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19792 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
19793 if (PyErr_Occurred()) SWIG_fail;
19794 {
19795 PyThreadState* __tstate = wxPyBeginAllowThreads();
19796 (arg1)->SetPaperId((wxPaperSize )arg2);
19797
19798 wxPyEndAllowThreads(__tstate);
19799 if (PyErr_Occurred()) SWIG_fail;
19800 }
19801 Py_INCREF(Py_None); resultobj = Py_None;
19802 return resultobj;
19803 fail:
19804 return NULL;
19805 }
19806
19807
19808 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19809 PyObject *resultobj;
19810 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19811 wxSize *arg2 = 0 ;
19812 wxSize temp2 ;
19813 PyObject * obj0 = 0 ;
19814 PyObject * obj1 = 0 ;
19815 char *kwnames[] = {
19816 (char *) "self",(char *) "size", NULL
19817 };
19818
19819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
19820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19822 {
19823 arg2 = &temp2;
19824 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19825 }
19826 {
19827 PyThreadState* __tstate = wxPyBeginAllowThreads();
19828 (arg1)->SetPaperSize((wxSize const &)*arg2);
19829
19830 wxPyEndAllowThreads(__tstate);
19831 if (PyErr_Occurred()) SWIG_fail;
19832 }
19833 Py_INCREF(Py_None); resultobj = Py_None;
19834 return resultobj;
19835 fail:
19836 return NULL;
19837 }
19838
19839
19840 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19841 PyObject *resultobj;
19842 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19843 wxPrintData *arg2 = 0 ;
19844 PyObject * obj0 = 0 ;
19845 PyObject * obj1 = 0 ;
19846 char *kwnames[] = {
19847 (char *) "self",(char *) "printData", NULL
19848 };
19849
19850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
19851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19853 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
19854 SWIG_POINTER_EXCEPTION | 0)) == -1)
19855 SWIG_fail;
19856 if (arg2 == NULL) {
19857 PyErr_SetString(PyExc_TypeError,"null reference");
19858 SWIG_fail;
19859 }
19860 {
19861 PyThreadState* __tstate = wxPyBeginAllowThreads();
19862 (arg1)->SetPrintData((wxPrintData const &)*arg2);
19863
19864 wxPyEndAllowThreads(__tstate);
19865 if (PyErr_Occurred()) SWIG_fail;
19866 }
19867 Py_INCREF(Py_None); resultobj = Py_None;
19868 return resultobj;
19869 fail:
19870 return NULL;
19871 }
19872
19873
19874 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
19875 PyObject *obj;
19876 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19877 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
19878 Py_INCREF(obj);
19879 return Py_BuildValue((char *)"");
19880 }
19881 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19882 PyObject *resultobj;
19883 wxWindow *arg1 = (wxWindow *) 0 ;
19884 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
19885 wxPageSetupDialog *result;
19886 PyObject * obj0 = 0 ;
19887 PyObject * obj1 = 0 ;
19888 char *kwnames[] = {
19889 (char *) "parent",(char *) "data", NULL
19890 };
19891
19892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
19893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19895 if (obj1) {
19896 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
19897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19898 }
19899 {
19900 PyThreadState* __tstate = wxPyBeginAllowThreads();
19901 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
19902
19903 wxPyEndAllowThreads(__tstate);
19904 if (PyErr_Occurred()) SWIG_fail;
19905 }
19906 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
19907 return resultobj;
19908 fail:
19909 return NULL;
19910 }
19911
19912
19913 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
19914 PyObject *resultobj;
19915 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
19916 wxPageSetupDialogData *result;
19917 PyObject * obj0 = 0 ;
19918 char *kwnames[] = {
19919 (char *) "self", NULL
19920 };
19921
19922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
19923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
19924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19925 {
19926 PyThreadState* __tstate = wxPyBeginAllowThreads();
19927 {
19928 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
19929 result = (wxPageSetupDialogData *) &_result_ref;
19930 }
19931
19932 wxPyEndAllowThreads(__tstate);
19933 if (PyErr_Occurred()) SWIG_fail;
19934 }
19935 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
19936 return resultobj;
19937 fail:
19938 return NULL;
19939 }
19940
19941
19942 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
19943 PyObject *resultobj;
19944 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
19945 int result;
19946 PyObject * obj0 = 0 ;
19947 char *kwnames[] = {
19948 (char *) "self", NULL
19949 };
19950
19951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
19952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
19953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19954 {
19955 PyThreadState* __tstate = wxPyBeginAllowThreads();
19956 result = (int)(arg1)->ShowModal();
19957
19958 wxPyEndAllowThreads(__tstate);
19959 if (PyErr_Occurred()) SWIG_fail;
19960 }
19961 resultobj = SWIG_FromInt((int)result);
19962 return resultobj;
19963 fail:
19964 return NULL;
19965 }
19966
19967
19968 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
19969 PyObject *obj;
19970 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19971 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
19972 Py_INCREF(obj);
19973 return Py_BuildValue((char *)"");
19974 }
19975 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *self, PyObject *args) {
19976 PyObject *resultobj;
19977 wxPrintDialogData *result;
19978
19979 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
19980 {
19981 PyThreadState* __tstate = wxPyBeginAllowThreads();
19982 result = (wxPrintDialogData *)new wxPrintDialogData();
19983
19984 wxPyEndAllowThreads(__tstate);
19985 if (PyErr_Occurred()) SWIG_fail;
19986 }
19987 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
19988 return resultobj;
19989 fail:
19990 return NULL;
19991 }
19992
19993
19994 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *self, PyObject *args) {
19995 PyObject *resultobj;
19996 wxPrintData *arg1 = 0 ;
19997 wxPrintDialogData *result;
19998 PyObject * obj0 = 0 ;
19999
20000 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
20001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
20002 SWIG_POINTER_EXCEPTION | 0)) == -1)
20003 SWIG_fail;
20004 if (arg1 == NULL) {
20005 PyErr_SetString(PyExc_TypeError,"null reference");
20006 SWIG_fail;
20007 }
20008 {
20009 PyThreadState* __tstate = wxPyBeginAllowThreads();
20010 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
20011
20012 wxPyEndAllowThreads(__tstate);
20013 if (PyErr_Occurred()) SWIG_fail;
20014 }
20015 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20016 return resultobj;
20017 fail:
20018 return NULL;
20019 }
20020
20021
20022 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
20023 int argc;
20024 PyObject *argv[2];
20025 int ii;
20026
20027 argc = PyObject_Length(args);
20028 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20029 argv[ii] = PyTuple_GetItem(args,ii);
20030 }
20031 if (argc == 0) {
20032 return _wrap_new_PrintDialogData__SWIG_0(self,args);
20033 }
20034 if (argc == 1) {
20035 int _v;
20036 {
20037 void *ptr;
20038 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20039 _v = 0;
20040 PyErr_Clear();
20041 } else {
20042 _v = 1;
20043 }
20044 }
20045 if (_v) {
20046 return _wrap_new_PrintDialogData__SWIG_1(self,args);
20047 }
20048 }
20049
20050 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
20051 return NULL;
20052 }
20053
20054
20055 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20056 PyObject *resultobj;
20057 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20058 PyObject * obj0 = 0 ;
20059 char *kwnames[] = {
20060 (char *) "self", NULL
20061 };
20062
20063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
20064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20066 {
20067 PyThreadState* __tstate = wxPyBeginAllowThreads();
20068 delete arg1;
20069
20070 wxPyEndAllowThreads(__tstate);
20071 if (PyErr_Occurred()) SWIG_fail;
20072 }
20073 Py_INCREF(Py_None); resultobj = Py_None;
20074 return resultobj;
20075 fail:
20076 return NULL;
20077 }
20078
20079
20080 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20081 PyObject *resultobj;
20082 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20083 int result;
20084 PyObject * obj0 = 0 ;
20085 char *kwnames[] = {
20086 (char *) "self", NULL
20087 };
20088
20089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
20090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20092 {
20093 PyThreadState* __tstate = wxPyBeginAllowThreads();
20094 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
20095
20096 wxPyEndAllowThreads(__tstate);
20097 if (PyErr_Occurred()) SWIG_fail;
20098 }
20099 resultobj = SWIG_FromInt((int)result);
20100 return resultobj;
20101 fail:
20102 return NULL;
20103 }
20104
20105
20106 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20107 PyObject *resultobj;
20108 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20109 int result;
20110 PyObject * obj0 = 0 ;
20111 char *kwnames[] = {
20112 (char *) "self", NULL
20113 };
20114
20115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
20116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20118 {
20119 PyThreadState* __tstate = wxPyBeginAllowThreads();
20120 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
20121
20122 wxPyEndAllowThreads(__tstate);
20123 if (PyErr_Occurred()) SWIG_fail;
20124 }
20125 resultobj = SWIG_FromInt((int)result);
20126 return resultobj;
20127 fail:
20128 return NULL;
20129 }
20130
20131
20132 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20133 PyObject *resultobj;
20134 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20135 int result;
20136 PyObject * obj0 = 0 ;
20137 char *kwnames[] = {
20138 (char *) "self", NULL
20139 };
20140
20141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
20142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20144 {
20145 PyThreadState* __tstate = wxPyBeginAllowThreads();
20146 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
20147
20148 wxPyEndAllowThreads(__tstate);
20149 if (PyErr_Occurred()) SWIG_fail;
20150 }
20151 resultobj = SWIG_FromInt((int)result);
20152 return resultobj;
20153 fail:
20154 return NULL;
20155 }
20156
20157
20158 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20159 PyObject *resultobj;
20160 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20161 int result;
20162 PyObject * obj0 = 0 ;
20163 char *kwnames[] = {
20164 (char *) "self", NULL
20165 };
20166
20167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
20168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20170 {
20171 PyThreadState* __tstate = wxPyBeginAllowThreads();
20172 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
20173
20174 wxPyEndAllowThreads(__tstate);
20175 if (PyErr_Occurred()) SWIG_fail;
20176 }
20177 resultobj = SWIG_FromInt((int)result);
20178 return resultobj;
20179 fail:
20180 return NULL;
20181 }
20182
20183
20184 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20185 PyObject *resultobj;
20186 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20187 int result;
20188 PyObject * obj0 = 0 ;
20189 char *kwnames[] = {
20190 (char *) "self", NULL
20191 };
20192
20193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
20194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20196 {
20197 PyThreadState* __tstate = wxPyBeginAllowThreads();
20198 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
20199
20200 wxPyEndAllowThreads(__tstate);
20201 if (PyErr_Occurred()) SWIG_fail;
20202 }
20203 resultobj = SWIG_FromInt((int)result);
20204 return resultobj;
20205 fail:
20206 return NULL;
20207 }
20208
20209
20210 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20211 PyObject *resultobj;
20212 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20213 bool result;
20214 PyObject * obj0 = 0 ;
20215 char *kwnames[] = {
20216 (char *) "self", NULL
20217 };
20218
20219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
20220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20222 {
20223 PyThreadState* __tstate = wxPyBeginAllowThreads();
20224 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
20225
20226 wxPyEndAllowThreads(__tstate);
20227 if (PyErr_Occurred()) SWIG_fail;
20228 }
20229 {
20230 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20231 }
20232 return resultobj;
20233 fail:
20234 return NULL;
20235 }
20236
20237
20238 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20239 PyObject *resultobj;
20240 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20241 bool result;
20242 PyObject * obj0 = 0 ;
20243 char *kwnames[] = {
20244 (char *) "self", NULL
20245 };
20246
20247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
20248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20250 {
20251 PyThreadState* __tstate = wxPyBeginAllowThreads();
20252 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
20253
20254 wxPyEndAllowThreads(__tstate);
20255 if (PyErr_Occurred()) SWIG_fail;
20256 }
20257 {
20258 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20259 }
20260 return resultobj;
20261 fail:
20262 return NULL;
20263 }
20264
20265
20266 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20267 PyObject *resultobj;
20268 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20269 bool result;
20270 PyObject * obj0 = 0 ;
20271 char *kwnames[] = {
20272 (char *) "self", NULL
20273 };
20274
20275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
20276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20278 {
20279 PyThreadState* __tstate = wxPyBeginAllowThreads();
20280 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
20281
20282 wxPyEndAllowThreads(__tstate);
20283 if (PyErr_Occurred()) SWIG_fail;
20284 }
20285 {
20286 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20287 }
20288 return resultobj;
20289 fail:
20290 return NULL;
20291 }
20292
20293
20294 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20295 PyObject *resultobj;
20296 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20297 bool result;
20298 PyObject * obj0 = 0 ;
20299 char *kwnames[] = {
20300 (char *) "self", NULL
20301 };
20302
20303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
20304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20306 {
20307 PyThreadState* __tstate = wxPyBeginAllowThreads();
20308 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
20309
20310 wxPyEndAllowThreads(__tstate);
20311 if (PyErr_Occurred()) SWIG_fail;
20312 }
20313 {
20314 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20315 }
20316 return resultobj;
20317 fail:
20318 return NULL;
20319 }
20320
20321
20322 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20323 PyObject *resultobj;
20324 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20325 bool result;
20326 PyObject * obj0 = 0 ;
20327 char *kwnames[] = {
20328 (char *) "self", NULL
20329 };
20330
20331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
20332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20334 {
20335 PyThreadState* __tstate = wxPyBeginAllowThreads();
20336 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
20337
20338 wxPyEndAllowThreads(__tstate);
20339 if (PyErr_Occurred()) SWIG_fail;
20340 }
20341 {
20342 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20343 }
20344 return resultobj;
20345 fail:
20346 return NULL;
20347 }
20348
20349
20350 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20351 PyObject *resultobj;
20352 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20353 int arg2 ;
20354 PyObject * obj0 = 0 ;
20355 PyObject * obj1 = 0 ;
20356 char *kwnames[] = {
20357 (char *) "self",(char *) "v", NULL
20358 };
20359
20360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
20361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20363 arg2 = (int) SWIG_AsInt(obj1);
20364 if (PyErr_Occurred()) SWIG_fail;
20365 {
20366 PyThreadState* __tstate = wxPyBeginAllowThreads();
20367 (arg1)->SetFromPage(arg2);
20368
20369 wxPyEndAllowThreads(__tstate);
20370 if (PyErr_Occurred()) SWIG_fail;
20371 }
20372 Py_INCREF(Py_None); resultobj = Py_None;
20373 return resultobj;
20374 fail:
20375 return NULL;
20376 }
20377
20378
20379 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20380 PyObject *resultobj;
20381 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20382 int arg2 ;
20383 PyObject * obj0 = 0 ;
20384 PyObject * obj1 = 0 ;
20385 char *kwnames[] = {
20386 (char *) "self",(char *) "v", NULL
20387 };
20388
20389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
20390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20392 arg2 = (int) SWIG_AsInt(obj1);
20393 if (PyErr_Occurred()) SWIG_fail;
20394 {
20395 PyThreadState* __tstate = wxPyBeginAllowThreads();
20396 (arg1)->SetToPage(arg2);
20397
20398 wxPyEndAllowThreads(__tstate);
20399 if (PyErr_Occurred()) SWIG_fail;
20400 }
20401 Py_INCREF(Py_None); resultobj = Py_None;
20402 return resultobj;
20403 fail:
20404 return NULL;
20405 }
20406
20407
20408 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20409 PyObject *resultobj;
20410 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20411 int arg2 ;
20412 PyObject * obj0 = 0 ;
20413 PyObject * obj1 = 0 ;
20414 char *kwnames[] = {
20415 (char *) "self",(char *) "v", NULL
20416 };
20417
20418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
20419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20421 arg2 = (int) SWIG_AsInt(obj1);
20422 if (PyErr_Occurred()) SWIG_fail;
20423 {
20424 PyThreadState* __tstate = wxPyBeginAllowThreads();
20425 (arg1)->SetMinPage(arg2);
20426
20427 wxPyEndAllowThreads(__tstate);
20428 if (PyErr_Occurred()) SWIG_fail;
20429 }
20430 Py_INCREF(Py_None); resultobj = Py_None;
20431 return resultobj;
20432 fail:
20433 return NULL;
20434 }
20435
20436
20437 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20438 PyObject *resultobj;
20439 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20440 int arg2 ;
20441 PyObject * obj0 = 0 ;
20442 PyObject * obj1 = 0 ;
20443 char *kwnames[] = {
20444 (char *) "self",(char *) "v", NULL
20445 };
20446
20447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
20448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20450 arg2 = (int) SWIG_AsInt(obj1);
20451 if (PyErr_Occurred()) SWIG_fail;
20452 {
20453 PyThreadState* __tstate = wxPyBeginAllowThreads();
20454 (arg1)->SetMaxPage(arg2);
20455
20456 wxPyEndAllowThreads(__tstate);
20457 if (PyErr_Occurred()) SWIG_fail;
20458 }
20459 Py_INCREF(Py_None); resultobj = Py_None;
20460 return resultobj;
20461 fail:
20462 return NULL;
20463 }
20464
20465
20466 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20467 PyObject *resultobj;
20468 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20469 int arg2 ;
20470 PyObject * obj0 = 0 ;
20471 PyObject * obj1 = 0 ;
20472 char *kwnames[] = {
20473 (char *) "self",(char *) "v", NULL
20474 };
20475
20476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
20477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20479 arg2 = (int) SWIG_AsInt(obj1);
20480 if (PyErr_Occurred()) SWIG_fail;
20481 {
20482 PyThreadState* __tstate = wxPyBeginAllowThreads();
20483 (arg1)->SetNoCopies(arg2);
20484
20485 wxPyEndAllowThreads(__tstate);
20486 if (PyErr_Occurred()) SWIG_fail;
20487 }
20488 Py_INCREF(Py_None); resultobj = Py_None;
20489 return resultobj;
20490 fail:
20491 return NULL;
20492 }
20493
20494
20495 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20496 PyObject *resultobj;
20497 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20498 bool arg2 ;
20499 PyObject * obj0 = 0 ;
20500 PyObject * obj1 = 0 ;
20501 char *kwnames[] = {
20502 (char *) "self",(char *) "flag", NULL
20503 };
20504
20505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
20506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20508 arg2 = (bool) SWIG_AsBool(obj1);
20509 if (PyErr_Occurred()) SWIG_fail;
20510 {
20511 PyThreadState* __tstate = wxPyBeginAllowThreads();
20512 (arg1)->SetAllPages(arg2);
20513
20514 wxPyEndAllowThreads(__tstate);
20515 if (PyErr_Occurred()) SWIG_fail;
20516 }
20517 Py_INCREF(Py_None); resultobj = Py_None;
20518 return resultobj;
20519 fail:
20520 return NULL;
20521 }
20522
20523
20524 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20525 PyObject *resultobj;
20526 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20527 bool arg2 ;
20528 PyObject * obj0 = 0 ;
20529 PyObject * obj1 = 0 ;
20530 char *kwnames[] = {
20531 (char *) "self",(char *) "flag", NULL
20532 };
20533
20534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
20535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20537 arg2 = (bool) SWIG_AsBool(obj1);
20538 if (PyErr_Occurred()) SWIG_fail;
20539 {
20540 PyThreadState* __tstate = wxPyBeginAllowThreads();
20541 (arg1)->SetSelection(arg2);
20542
20543 wxPyEndAllowThreads(__tstate);
20544 if (PyErr_Occurred()) SWIG_fail;
20545 }
20546 Py_INCREF(Py_None); resultobj = Py_None;
20547 return resultobj;
20548 fail:
20549 return NULL;
20550 }
20551
20552
20553 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20554 PyObject *resultobj;
20555 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20556 bool arg2 ;
20557 PyObject * obj0 = 0 ;
20558 PyObject * obj1 = 0 ;
20559 char *kwnames[] = {
20560 (char *) "self",(char *) "flag", NULL
20561 };
20562
20563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
20564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20566 arg2 = (bool) SWIG_AsBool(obj1);
20567 if (PyErr_Occurred()) SWIG_fail;
20568 {
20569 PyThreadState* __tstate = wxPyBeginAllowThreads();
20570 (arg1)->SetCollate(arg2);
20571
20572 wxPyEndAllowThreads(__tstate);
20573 if (PyErr_Occurred()) SWIG_fail;
20574 }
20575 Py_INCREF(Py_None); resultobj = Py_None;
20576 return resultobj;
20577 fail:
20578 return NULL;
20579 }
20580
20581
20582 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20583 PyObject *resultobj;
20584 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20585 bool arg2 ;
20586 PyObject * obj0 = 0 ;
20587 PyObject * obj1 = 0 ;
20588 char *kwnames[] = {
20589 (char *) "self",(char *) "flag", NULL
20590 };
20591
20592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
20593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20595 arg2 = (bool) SWIG_AsBool(obj1);
20596 if (PyErr_Occurred()) SWIG_fail;
20597 {
20598 PyThreadState* __tstate = wxPyBeginAllowThreads();
20599 (arg1)->SetPrintToFile(arg2);
20600
20601 wxPyEndAllowThreads(__tstate);
20602 if (PyErr_Occurred()) SWIG_fail;
20603 }
20604 Py_INCREF(Py_None); resultobj = Py_None;
20605 return resultobj;
20606 fail:
20607 return NULL;
20608 }
20609
20610
20611 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20612 PyObject *resultobj;
20613 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20614 bool arg2 ;
20615 PyObject * obj0 = 0 ;
20616 PyObject * obj1 = 0 ;
20617 char *kwnames[] = {
20618 (char *) "self",(char *) "flag", NULL
20619 };
20620
20621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20624 arg2 = (bool) SWIG_AsBool(obj1);
20625 if (PyErr_Occurred()) SWIG_fail;
20626 {
20627 PyThreadState* __tstate = wxPyBeginAllowThreads();
20628 (arg1)->SetSetupDialog(arg2);
20629
20630 wxPyEndAllowThreads(__tstate);
20631 if (PyErr_Occurred()) SWIG_fail;
20632 }
20633 Py_INCREF(Py_None); resultobj = Py_None;
20634 return resultobj;
20635 fail:
20636 return NULL;
20637 }
20638
20639
20640 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20641 PyObject *resultobj;
20642 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20643 bool arg2 ;
20644 PyObject * obj0 = 0 ;
20645 PyObject * obj1 = 0 ;
20646 char *kwnames[] = {
20647 (char *) "self",(char *) "flag", NULL
20648 };
20649
20650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
20651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20653 arg2 = (bool) SWIG_AsBool(obj1);
20654 if (PyErr_Occurred()) SWIG_fail;
20655 {
20656 PyThreadState* __tstate = wxPyBeginAllowThreads();
20657 (arg1)->EnablePrintToFile(arg2);
20658
20659 wxPyEndAllowThreads(__tstate);
20660 if (PyErr_Occurred()) SWIG_fail;
20661 }
20662 Py_INCREF(Py_None); resultobj = Py_None;
20663 return resultobj;
20664 fail:
20665 return NULL;
20666 }
20667
20668
20669 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20670 PyObject *resultobj;
20671 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20672 bool arg2 ;
20673 PyObject * obj0 = 0 ;
20674 PyObject * obj1 = 0 ;
20675 char *kwnames[] = {
20676 (char *) "self",(char *) "flag", NULL
20677 };
20678
20679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
20680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20682 arg2 = (bool) SWIG_AsBool(obj1);
20683 if (PyErr_Occurred()) SWIG_fail;
20684 {
20685 PyThreadState* __tstate = wxPyBeginAllowThreads();
20686 (arg1)->EnableSelection(arg2);
20687
20688 wxPyEndAllowThreads(__tstate);
20689 if (PyErr_Occurred()) SWIG_fail;
20690 }
20691 Py_INCREF(Py_None); resultobj = Py_None;
20692 return resultobj;
20693 fail:
20694 return NULL;
20695 }
20696
20697
20698 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
20699 PyObject *resultobj;
20700 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20701 bool arg2 ;
20702 PyObject * obj0 = 0 ;
20703 PyObject * obj1 = 0 ;
20704 char *kwnames[] = {
20705 (char *) "self",(char *) "flag", NULL
20706 };
20707
20708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
20709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20711 arg2 = (bool) SWIG_AsBool(obj1);
20712 if (PyErr_Occurred()) SWIG_fail;
20713 {
20714 PyThreadState* __tstate = wxPyBeginAllowThreads();
20715 (arg1)->EnablePageNumbers(arg2);
20716
20717 wxPyEndAllowThreads(__tstate);
20718 if (PyErr_Occurred()) SWIG_fail;
20719 }
20720 Py_INCREF(Py_None); resultobj = Py_None;
20721 return resultobj;
20722 fail:
20723 return NULL;
20724 }
20725
20726
20727 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
20728 PyObject *resultobj;
20729 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20730 bool arg2 ;
20731 PyObject * obj0 = 0 ;
20732 PyObject * obj1 = 0 ;
20733 char *kwnames[] = {
20734 (char *) "self",(char *) "flag", NULL
20735 };
20736
20737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
20738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20740 arg2 = (bool) SWIG_AsBool(obj1);
20741 if (PyErr_Occurred()) SWIG_fail;
20742 {
20743 PyThreadState* __tstate = wxPyBeginAllowThreads();
20744 (arg1)->EnableHelp(arg2);
20745
20746 wxPyEndAllowThreads(__tstate);
20747 if (PyErr_Occurred()) SWIG_fail;
20748 }
20749 Py_INCREF(Py_None); resultobj = Py_None;
20750 return resultobj;
20751 fail:
20752 return NULL;
20753 }
20754
20755
20756 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20757 PyObject *resultobj;
20758 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20759 bool result;
20760 PyObject * obj0 = 0 ;
20761 char *kwnames[] = {
20762 (char *) "self", NULL
20763 };
20764
20765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
20766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20768 {
20769 PyThreadState* __tstate = wxPyBeginAllowThreads();
20770 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
20771
20772 wxPyEndAllowThreads(__tstate);
20773 if (PyErr_Occurred()) SWIG_fail;
20774 }
20775 {
20776 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20777 }
20778 return resultobj;
20779 fail:
20780 return NULL;
20781 }
20782
20783
20784 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20785 PyObject *resultobj;
20786 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20787 bool result;
20788 PyObject * obj0 = 0 ;
20789 char *kwnames[] = {
20790 (char *) "self", NULL
20791 };
20792
20793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
20794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20796 {
20797 PyThreadState* __tstate = wxPyBeginAllowThreads();
20798 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
20799
20800 wxPyEndAllowThreads(__tstate);
20801 if (PyErr_Occurred()) SWIG_fail;
20802 }
20803 {
20804 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20805 }
20806 return resultobj;
20807 fail:
20808 return NULL;
20809 }
20810
20811
20812 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
20813 PyObject *resultobj;
20814 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20815 bool result;
20816 PyObject * obj0 = 0 ;
20817 char *kwnames[] = {
20818 (char *) "self", NULL
20819 };
20820
20821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
20822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20824 {
20825 PyThreadState* __tstate = wxPyBeginAllowThreads();
20826 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
20827
20828 wxPyEndAllowThreads(__tstate);
20829 if (PyErr_Occurred()) SWIG_fail;
20830 }
20831 {
20832 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20833 }
20834 return resultobj;
20835 fail:
20836 return NULL;
20837 }
20838
20839
20840 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
20841 PyObject *resultobj;
20842 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20843 bool result;
20844 PyObject * obj0 = 0 ;
20845 char *kwnames[] = {
20846 (char *) "self", NULL
20847 };
20848
20849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
20850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20852 {
20853 PyThreadState* __tstate = wxPyBeginAllowThreads();
20854 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
20855
20856 wxPyEndAllowThreads(__tstate);
20857 if (PyErr_Occurred()) SWIG_fail;
20858 }
20859 {
20860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20861 }
20862 return resultobj;
20863 fail:
20864 return NULL;
20865 }
20866
20867
20868 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
20869 PyObject *resultobj;
20870 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20871 bool result;
20872 PyObject * obj0 = 0 ;
20873 char *kwnames[] = {
20874 (char *) "self", NULL
20875 };
20876
20877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
20878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20880 {
20881 PyThreadState* __tstate = wxPyBeginAllowThreads();
20882 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
20883
20884 wxPyEndAllowThreads(__tstate);
20885 if (PyErr_Occurred()) SWIG_fail;
20886 }
20887 {
20888 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20889 }
20890 return resultobj;
20891 fail:
20892 return NULL;
20893 }
20894
20895
20896 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
20897 PyObject *resultobj;
20898 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20899 wxPrintData *result;
20900 PyObject * obj0 = 0 ;
20901 char *kwnames[] = {
20902 (char *) "self", NULL
20903 };
20904
20905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
20906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20908 {
20909 PyThreadState* __tstate = wxPyBeginAllowThreads();
20910 {
20911 wxPrintData &_result_ref = (arg1)->GetPrintData();
20912 result = (wxPrintData *) &_result_ref;
20913 }
20914
20915 wxPyEndAllowThreads(__tstate);
20916 if (PyErr_Occurred()) SWIG_fail;
20917 }
20918 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
20919 return resultobj;
20920 fail:
20921 return NULL;
20922 }
20923
20924
20925 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
20926 PyObject *resultobj;
20927 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20928 wxPrintData *arg2 = 0 ;
20929 PyObject * obj0 = 0 ;
20930 PyObject * obj1 = 0 ;
20931 char *kwnames[] = {
20932 (char *) "self",(char *) "printData", NULL
20933 };
20934
20935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
20936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20938 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20939 SWIG_POINTER_EXCEPTION | 0)) == -1)
20940 SWIG_fail;
20941 if (arg2 == NULL) {
20942 PyErr_SetString(PyExc_TypeError,"null reference");
20943 SWIG_fail;
20944 }
20945 {
20946 PyThreadState* __tstate = wxPyBeginAllowThreads();
20947 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20948
20949 wxPyEndAllowThreads(__tstate);
20950 if (PyErr_Occurred()) SWIG_fail;
20951 }
20952 Py_INCREF(Py_None); resultobj = Py_None;
20953 return resultobj;
20954 fail:
20955 return NULL;
20956 }
20957
20958
20959 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
20960 PyObject *obj;
20961 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20962 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
20963 Py_INCREF(obj);
20964 return Py_BuildValue((char *)"");
20965 }
20966 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20967 PyObject *resultobj;
20968 wxWindow *arg1 = (wxWindow *) 0 ;
20969 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
20970 wxPrintDialog *result;
20971 PyObject * obj0 = 0 ;
20972 PyObject * obj1 = 0 ;
20973 char *kwnames[] = {
20974 (char *) "parent",(char *) "data", NULL
20975 };
20976
20977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
20978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20980 if (obj1) {
20981 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
20982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20983 }
20984 {
20985 PyThreadState* __tstate = wxPyBeginAllowThreads();
20986 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
20987
20988 wxPyEndAllowThreads(__tstate);
20989 if (PyErr_Occurred()) SWIG_fail;
20990 }
20991 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
20992 return resultobj;
20993 fail:
20994 return NULL;
20995 }
20996
20997
20998 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20999 PyObject *resultobj;
21000 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21001 wxPrintDialogData *result;
21002 PyObject * obj0 = 0 ;
21003 char *kwnames[] = {
21004 (char *) "self", NULL
21005 };
21006
21007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
21008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21010 {
21011 PyThreadState* __tstate = wxPyBeginAllowThreads();
21012 {
21013 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21014 result = (wxPrintDialogData *) &_result_ref;
21015 }
21016
21017 wxPyEndAllowThreads(__tstate);
21018 if (PyErr_Occurred()) SWIG_fail;
21019 }
21020 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21021 return resultobj;
21022 fail:
21023 return NULL;
21024 }
21025
21026
21027 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21028 PyObject *resultobj;
21029 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21030 wxDC *result;
21031 PyObject * obj0 = 0 ;
21032 char *kwnames[] = {
21033 (char *) "self", NULL
21034 };
21035
21036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
21037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21039 {
21040 PyThreadState* __tstate = wxPyBeginAllowThreads();
21041 result = (wxDC *)(arg1)->GetPrintDC();
21042
21043 wxPyEndAllowThreads(__tstate);
21044 if (PyErr_Occurred()) SWIG_fail;
21045 }
21046 {
21047 resultobj = wxPyMake_wxObject(result);
21048 }
21049 return resultobj;
21050 fail:
21051 return NULL;
21052 }
21053
21054
21055 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
21056 PyObject *resultobj;
21057 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21058 int result;
21059 PyObject * obj0 = 0 ;
21060 char *kwnames[] = {
21061 (char *) "self", NULL
21062 };
21063
21064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
21065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21067 {
21068 PyThreadState* __tstate = wxPyBeginAllowThreads();
21069 result = (int)(arg1)->ShowModal();
21070
21071 wxPyEndAllowThreads(__tstate);
21072 if (PyErr_Occurred()) SWIG_fail;
21073 }
21074 resultobj = SWIG_FromInt((int)result);
21075 return resultobj;
21076 fail:
21077 return NULL;
21078 }
21079
21080
21081 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
21082 PyObject *obj;
21083 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21084 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
21085 Py_INCREF(obj);
21086 return Py_BuildValue((char *)"");
21087 }
21088 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
21089 PyObject *resultobj;
21090 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
21091 wxPrinter *result;
21092 PyObject * obj0 = 0 ;
21093 char *kwnames[] = {
21094 (char *) "data", NULL
21095 };
21096
21097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
21098 if (obj0) {
21099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21101 }
21102 {
21103 PyThreadState* __tstate = wxPyBeginAllowThreads();
21104 result = (wxPrinter *)new wxPrinter(arg1);
21105
21106 wxPyEndAllowThreads(__tstate);
21107 if (PyErr_Occurred()) SWIG_fail;
21108 }
21109 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
21110 return resultobj;
21111 fail:
21112 return NULL;
21113 }
21114
21115
21116 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
21117 PyObject *resultobj;
21118 wxPrinter *arg1 = (wxPrinter *) 0 ;
21119 PyObject * obj0 = 0 ;
21120 char *kwnames[] = {
21121 (char *) "self", NULL
21122 };
21123
21124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
21125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21127 {
21128 PyThreadState* __tstate = wxPyBeginAllowThreads();
21129 delete arg1;
21130
21131 wxPyEndAllowThreads(__tstate);
21132 if (PyErr_Occurred()) SWIG_fail;
21133 }
21134 Py_INCREF(Py_None); resultobj = Py_None;
21135 return resultobj;
21136 fail:
21137 return NULL;
21138 }
21139
21140
21141 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
21142 PyObject *resultobj;
21143 wxPrinter *arg1 = (wxPrinter *) 0 ;
21144 wxWindow *arg2 = (wxWindow *) 0 ;
21145 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21146 PyObject * obj0 = 0 ;
21147 PyObject * obj1 = 0 ;
21148 PyObject * obj2 = 0 ;
21149 char *kwnames[] = {
21150 (char *) "self",(char *) "parent",(char *) "printout", NULL
21151 };
21152
21153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
21154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21156 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21158 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21160 {
21161 PyThreadState* __tstate = wxPyBeginAllowThreads();
21162 (arg1)->CreateAbortWindow(arg2,arg3);
21163
21164 wxPyEndAllowThreads(__tstate);
21165 if (PyErr_Occurred()) SWIG_fail;
21166 }
21167 Py_INCREF(Py_None); resultobj = Py_None;
21168 return resultobj;
21169 fail:
21170 return NULL;
21171 }
21172
21173
21174 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
21175 PyObject *resultobj;
21176 wxPrinter *arg1 = (wxPrinter *) 0 ;
21177 wxPrintDialogData *result;
21178 PyObject * obj0 = 0 ;
21179 char *kwnames[] = {
21180 (char *) "self", NULL
21181 };
21182
21183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
21184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21186 {
21187 PyThreadState* __tstate = wxPyBeginAllowThreads();
21188 {
21189 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21190 result = (wxPrintDialogData *) &_result_ref;
21191 }
21192
21193 wxPyEndAllowThreads(__tstate);
21194 if (PyErr_Occurred()) SWIG_fail;
21195 }
21196 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21197 return resultobj;
21198 fail:
21199 return NULL;
21200 }
21201
21202
21203 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
21204 PyObject *resultobj;
21205 wxPrinter *arg1 = (wxPrinter *) 0 ;
21206 wxWindow *arg2 = (wxWindow *) 0 ;
21207 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21208 int arg4 = (int) True ;
21209 bool result;
21210 PyObject * obj0 = 0 ;
21211 PyObject * obj1 = 0 ;
21212 PyObject * obj2 = 0 ;
21213 PyObject * obj3 = 0 ;
21214 char *kwnames[] = {
21215 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21216 };
21217
21218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21221 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21223 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21225 if (obj3) {
21226 arg4 = (int) SWIG_AsInt(obj3);
21227 if (PyErr_Occurred()) SWIG_fail;
21228 }
21229 {
21230 PyThreadState* __tstate = wxPyBeginAllowThreads();
21231 result = (bool)(arg1)->Print(arg2,arg3,arg4);
21232
21233 wxPyEndAllowThreads(__tstate);
21234 if (PyErr_Occurred()) SWIG_fail;
21235 }
21236 {
21237 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21238 }
21239 return resultobj;
21240 fail:
21241 return NULL;
21242 }
21243
21244
21245 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21246 PyObject *resultobj;
21247 wxPrinter *arg1 = (wxPrinter *) 0 ;
21248 wxWindow *arg2 = (wxWindow *) 0 ;
21249 wxDC *result;
21250 PyObject * obj0 = 0 ;
21251 PyObject * obj1 = 0 ;
21252 char *kwnames[] = {
21253 (char *) "self",(char *) "parent", NULL
21254 };
21255
21256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21259 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21261 {
21262 PyThreadState* __tstate = wxPyBeginAllowThreads();
21263 result = (wxDC *)(arg1)->PrintDialog(arg2);
21264
21265 wxPyEndAllowThreads(__tstate);
21266 if (PyErr_Occurred()) SWIG_fail;
21267 }
21268 {
21269 resultobj = wxPyMake_wxObject(result);
21270 }
21271 return resultobj;
21272 fail:
21273 return NULL;
21274 }
21275
21276
21277 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
21278 PyObject *resultobj;
21279 wxPrinter *arg1 = (wxPrinter *) 0 ;
21280 wxWindow *arg2 = (wxWindow *) 0 ;
21281 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21282 wxString *arg4 = 0 ;
21283 bool temp4 = False ;
21284 PyObject * obj0 = 0 ;
21285 PyObject * obj1 = 0 ;
21286 PyObject * obj2 = 0 ;
21287 PyObject * obj3 = 0 ;
21288 char *kwnames[] = {
21289 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21290 };
21291
21292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21295 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21297 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21299 {
21300 arg4 = wxString_in_helper(obj3);
21301 if (arg4 == NULL) SWIG_fail;
21302 temp4 = True;
21303 }
21304 {
21305 PyThreadState* __tstate = wxPyBeginAllowThreads();
21306 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
21307
21308 wxPyEndAllowThreads(__tstate);
21309 if (PyErr_Occurred()) SWIG_fail;
21310 }
21311 Py_INCREF(Py_None); resultobj = Py_None;
21312 {
21313 if (temp4)
21314 delete arg4;
21315 }
21316 return resultobj;
21317 fail:
21318 {
21319 if (temp4)
21320 delete arg4;
21321 }
21322 return NULL;
21323 }
21324
21325
21326 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
21327 PyObject *resultobj;
21328 wxPrinter *arg1 = (wxPrinter *) 0 ;
21329 wxWindow *arg2 = (wxWindow *) 0 ;
21330 bool result;
21331 PyObject * obj0 = 0 ;
21332 PyObject * obj1 = 0 ;
21333 char *kwnames[] = {
21334 (char *) "self",(char *) "parent", NULL
21335 };
21336
21337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
21338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21340 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21342 {
21343 PyThreadState* __tstate = wxPyBeginAllowThreads();
21344 result = (bool)(arg1)->Setup(arg2);
21345
21346 wxPyEndAllowThreads(__tstate);
21347 if (PyErr_Occurred()) SWIG_fail;
21348 }
21349 {
21350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21351 }
21352 return resultobj;
21353 fail:
21354 return NULL;
21355 }
21356
21357
21358 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
21359 PyObject *resultobj;
21360 wxPrinter *arg1 = (wxPrinter *) 0 ;
21361 bool result;
21362 PyObject * obj0 = 0 ;
21363 char *kwnames[] = {
21364 (char *) "self", NULL
21365 };
21366
21367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
21368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21370 {
21371 PyThreadState* __tstate = wxPyBeginAllowThreads();
21372 result = (bool)(arg1)->GetAbort();
21373
21374 wxPyEndAllowThreads(__tstate);
21375 if (PyErr_Occurred()) SWIG_fail;
21376 }
21377 {
21378 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21379 }
21380 return resultobj;
21381 fail:
21382 return NULL;
21383 }
21384
21385
21386 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
21387 PyObject *resultobj;
21388 int result;
21389 char *kwnames[] = {
21390 NULL
21391 };
21392
21393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
21394 {
21395 PyThreadState* __tstate = wxPyBeginAllowThreads();
21396 result = (int)wxPrinter::GetLastError();
21397
21398 wxPyEndAllowThreads(__tstate);
21399 if (PyErr_Occurred()) SWIG_fail;
21400 }
21401 resultobj = SWIG_FromInt((int)result);
21402 return resultobj;
21403 fail:
21404 return NULL;
21405 }
21406
21407
21408 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
21409 PyObject *obj;
21410 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21411 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
21412 Py_INCREF(obj);
21413 return Py_BuildValue((char *)"");
21414 }
21415 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
21416 PyObject *resultobj;
21417 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
21418 wxString *arg1 = (wxString *) &arg1_defvalue ;
21419 wxPyPrintout *result;
21420 bool temp1 = False ;
21421 PyObject * obj0 = 0 ;
21422 char *kwnames[] = {
21423 (char *) "title", NULL
21424 };
21425
21426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
21427 if (obj0) {
21428 {
21429 arg1 = wxString_in_helper(obj0);
21430 if (arg1 == NULL) SWIG_fail;
21431 temp1 = True;
21432 }
21433 }
21434 {
21435 PyThreadState* __tstate = wxPyBeginAllowThreads();
21436 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
21437
21438 wxPyEndAllowThreads(__tstate);
21439 if (PyErr_Occurred()) SWIG_fail;
21440 }
21441 {
21442 resultobj = wxPyMake_wxObject(result);
21443 }
21444 {
21445 if (temp1)
21446 delete arg1;
21447 }
21448 return resultobj;
21449 fail:
21450 {
21451 if (temp1)
21452 delete arg1;
21453 }
21454 return NULL;
21455 }
21456
21457
21458 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21459 PyObject *resultobj;
21460 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21461 PyObject *arg2 = (PyObject *) 0 ;
21462 PyObject *arg3 = (PyObject *) 0 ;
21463 PyObject * obj0 = 0 ;
21464 PyObject * obj1 = 0 ;
21465 PyObject * obj2 = 0 ;
21466 char *kwnames[] = {
21467 (char *) "self",(char *) "self",(char *) "_class", NULL
21468 };
21469
21470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21473 arg2 = obj1;
21474 arg3 = obj2;
21475 {
21476 PyThreadState* __tstate = wxPyBeginAllowThreads();
21477 (arg1)->_setCallbackInfo(arg2,arg3);
21478
21479 wxPyEndAllowThreads(__tstate);
21480 if (PyErr_Occurred()) SWIG_fail;
21481 }
21482 Py_INCREF(Py_None); resultobj = Py_None;
21483 return resultobj;
21484 fail:
21485 return NULL;
21486 }
21487
21488
21489 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21490 PyObject *resultobj;
21491 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21492 wxString result;
21493 PyObject * obj0 = 0 ;
21494 char *kwnames[] = {
21495 (char *) "self", NULL
21496 };
21497
21498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
21499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21501 {
21502 PyThreadState* __tstate = wxPyBeginAllowThreads();
21503 result = ((wxPyPrintout const *)arg1)->GetTitle();
21504
21505 wxPyEndAllowThreads(__tstate);
21506 if (PyErr_Occurred()) SWIG_fail;
21507 }
21508 {
21509 #if wxUSE_UNICODE
21510 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21511 #else
21512 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21513 #endif
21514 }
21515 return resultobj;
21516 fail:
21517 return NULL;
21518 }
21519
21520
21521 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21522 PyObject *resultobj;
21523 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21524 wxDC *result;
21525 PyObject * obj0 = 0 ;
21526 char *kwnames[] = {
21527 (char *) "self", NULL
21528 };
21529
21530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
21531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21533 {
21534 PyThreadState* __tstate = wxPyBeginAllowThreads();
21535 result = (wxDC *)(arg1)->GetDC();
21536
21537 wxPyEndAllowThreads(__tstate);
21538 if (PyErr_Occurred()) SWIG_fail;
21539 }
21540 {
21541 resultobj = wxPyMake_wxObject(result);
21542 }
21543 return resultobj;
21544 fail:
21545 return NULL;
21546 }
21547
21548
21549 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21550 PyObject *resultobj;
21551 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21552 wxDC *arg2 = (wxDC *) 0 ;
21553 PyObject * obj0 = 0 ;
21554 PyObject * obj1 = 0 ;
21555 char *kwnames[] = {
21556 (char *) "self",(char *) "dc", NULL
21557 };
21558
21559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
21560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21562 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21564 {
21565 PyThreadState* __tstate = wxPyBeginAllowThreads();
21566 (arg1)->SetDC(arg2);
21567
21568 wxPyEndAllowThreads(__tstate);
21569 if (PyErr_Occurred()) SWIG_fail;
21570 }
21571 Py_INCREF(Py_None); resultobj = Py_None;
21572 return resultobj;
21573 fail:
21574 return NULL;
21575 }
21576
21577
21578 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21579 PyObject *resultobj;
21580 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21581 int arg2 ;
21582 int arg3 ;
21583 PyObject * obj0 = 0 ;
21584 PyObject * obj1 = 0 ;
21585 PyObject * obj2 = 0 ;
21586 char *kwnames[] = {
21587 (char *) "self",(char *) "w",(char *) "h", NULL
21588 };
21589
21590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
21591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21593 arg2 = (int) SWIG_AsInt(obj1);
21594 if (PyErr_Occurred()) SWIG_fail;
21595 arg3 = (int) SWIG_AsInt(obj2);
21596 if (PyErr_Occurred()) SWIG_fail;
21597 {
21598 PyThreadState* __tstate = wxPyBeginAllowThreads();
21599 (arg1)->SetPageSizePixels(arg2,arg3);
21600
21601 wxPyEndAllowThreads(__tstate);
21602 if (PyErr_Occurred()) SWIG_fail;
21603 }
21604 Py_INCREF(Py_None); resultobj = Py_None;
21605 return resultobj;
21606 fail:
21607 return NULL;
21608 }
21609
21610
21611 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21612 PyObject *resultobj;
21613 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21614 int *arg2 = (int *) 0 ;
21615 int *arg3 = (int *) 0 ;
21616 int temp2 ;
21617 int temp3 ;
21618 PyObject * obj0 = 0 ;
21619 char *kwnames[] = {
21620 (char *) "self", NULL
21621 };
21622
21623 arg2 = &temp2;
21624 arg3 = &temp3;
21625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
21626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21628 {
21629 PyThreadState* __tstate = wxPyBeginAllowThreads();
21630 (arg1)->GetPageSizePixels(arg2,arg3);
21631
21632 wxPyEndAllowThreads(__tstate);
21633 if (PyErr_Occurred()) SWIG_fail;
21634 }
21635 Py_INCREF(Py_None); resultobj = Py_None;
21636 {
21637 PyObject *o = PyInt_FromLong((long) (*arg2));
21638 resultobj = t_output_helper(resultobj,o);
21639 }
21640 {
21641 PyObject *o = PyInt_FromLong((long) (*arg3));
21642 resultobj = t_output_helper(resultobj,o);
21643 }
21644 return resultobj;
21645 fail:
21646 return NULL;
21647 }
21648
21649
21650 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
21651 PyObject *resultobj;
21652 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21653 int arg2 ;
21654 int arg3 ;
21655 PyObject * obj0 = 0 ;
21656 PyObject * obj1 = 0 ;
21657 PyObject * obj2 = 0 ;
21658 char *kwnames[] = {
21659 (char *) "self",(char *) "w",(char *) "h", NULL
21660 };
21661
21662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
21663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21665 arg2 = (int) SWIG_AsInt(obj1);
21666 if (PyErr_Occurred()) SWIG_fail;
21667 arg3 = (int) SWIG_AsInt(obj2);
21668 if (PyErr_Occurred()) SWIG_fail;
21669 {
21670 PyThreadState* __tstate = wxPyBeginAllowThreads();
21671 (arg1)->SetPageSizeMM(arg2,arg3);
21672
21673 wxPyEndAllowThreads(__tstate);
21674 if (PyErr_Occurred()) SWIG_fail;
21675 }
21676 Py_INCREF(Py_None); resultobj = Py_None;
21677 return resultobj;
21678 fail:
21679 return NULL;
21680 }
21681
21682
21683 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
21684 PyObject *resultobj;
21685 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21686 int *arg2 = (int *) 0 ;
21687 int *arg3 = (int *) 0 ;
21688 int temp2 ;
21689 int temp3 ;
21690 PyObject * obj0 = 0 ;
21691 char *kwnames[] = {
21692 (char *) "self", NULL
21693 };
21694
21695 arg2 = &temp2;
21696 arg3 = &temp3;
21697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
21698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21700 {
21701 PyThreadState* __tstate = wxPyBeginAllowThreads();
21702 (arg1)->GetPageSizeMM(arg2,arg3);
21703
21704 wxPyEndAllowThreads(__tstate);
21705 if (PyErr_Occurred()) SWIG_fail;
21706 }
21707 Py_INCREF(Py_None); resultobj = Py_None;
21708 {
21709 PyObject *o = PyInt_FromLong((long) (*arg2));
21710 resultobj = t_output_helper(resultobj,o);
21711 }
21712 {
21713 PyObject *o = PyInt_FromLong((long) (*arg3));
21714 resultobj = t_output_helper(resultobj,o);
21715 }
21716 return resultobj;
21717 fail:
21718 return NULL;
21719 }
21720
21721
21722 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
21723 PyObject *resultobj;
21724 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21725 int arg2 ;
21726 int arg3 ;
21727 PyObject * obj0 = 0 ;
21728 PyObject * obj1 = 0 ;
21729 PyObject * obj2 = 0 ;
21730 char *kwnames[] = {
21731 (char *) "self",(char *) "x",(char *) "y", NULL
21732 };
21733
21734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
21735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21737 arg2 = (int) SWIG_AsInt(obj1);
21738 if (PyErr_Occurred()) SWIG_fail;
21739 arg3 = (int) SWIG_AsInt(obj2);
21740 if (PyErr_Occurred()) SWIG_fail;
21741 {
21742 PyThreadState* __tstate = wxPyBeginAllowThreads();
21743 (arg1)->SetPPIScreen(arg2,arg3);
21744
21745 wxPyEndAllowThreads(__tstate);
21746 if (PyErr_Occurred()) SWIG_fail;
21747 }
21748 Py_INCREF(Py_None); resultobj = Py_None;
21749 return resultobj;
21750 fail:
21751 return NULL;
21752 }
21753
21754
21755 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
21756 PyObject *resultobj;
21757 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21758 int *arg2 = (int *) 0 ;
21759 int *arg3 = (int *) 0 ;
21760 int temp2 ;
21761 int temp3 ;
21762 PyObject * obj0 = 0 ;
21763 char *kwnames[] = {
21764 (char *) "self", NULL
21765 };
21766
21767 arg2 = &temp2;
21768 arg3 = &temp3;
21769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
21770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21772 {
21773 PyThreadState* __tstate = wxPyBeginAllowThreads();
21774 (arg1)->GetPPIScreen(arg2,arg3);
21775
21776 wxPyEndAllowThreads(__tstate);
21777 if (PyErr_Occurred()) SWIG_fail;
21778 }
21779 Py_INCREF(Py_None); resultobj = Py_None;
21780 {
21781 PyObject *o = PyInt_FromLong((long) (*arg2));
21782 resultobj = t_output_helper(resultobj,o);
21783 }
21784 {
21785 PyObject *o = PyInt_FromLong((long) (*arg3));
21786 resultobj = t_output_helper(resultobj,o);
21787 }
21788 return resultobj;
21789 fail:
21790 return NULL;
21791 }
21792
21793
21794 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
21795 PyObject *resultobj;
21796 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21797 int arg2 ;
21798 int arg3 ;
21799 PyObject * obj0 = 0 ;
21800 PyObject * obj1 = 0 ;
21801 PyObject * obj2 = 0 ;
21802 char *kwnames[] = {
21803 (char *) "self",(char *) "x",(char *) "y", NULL
21804 };
21805
21806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
21807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21809 arg2 = (int) SWIG_AsInt(obj1);
21810 if (PyErr_Occurred()) SWIG_fail;
21811 arg3 = (int) SWIG_AsInt(obj2);
21812 if (PyErr_Occurred()) SWIG_fail;
21813 {
21814 PyThreadState* __tstate = wxPyBeginAllowThreads();
21815 (arg1)->SetPPIPrinter(arg2,arg3);
21816
21817 wxPyEndAllowThreads(__tstate);
21818 if (PyErr_Occurred()) SWIG_fail;
21819 }
21820 Py_INCREF(Py_None); resultobj = Py_None;
21821 return resultobj;
21822 fail:
21823 return NULL;
21824 }
21825
21826
21827 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
21828 PyObject *resultobj;
21829 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21830 int *arg2 = (int *) 0 ;
21831 int *arg3 = (int *) 0 ;
21832 int temp2 ;
21833 int temp3 ;
21834 PyObject * obj0 = 0 ;
21835 char *kwnames[] = {
21836 (char *) "self", NULL
21837 };
21838
21839 arg2 = &temp2;
21840 arg3 = &temp3;
21841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
21842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21844 {
21845 PyThreadState* __tstate = wxPyBeginAllowThreads();
21846 (arg1)->GetPPIPrinter(arg2,arg3);
21847
21848 wxPyEndAllowThreads(__tstate);
21849 if (PyErr_Occurred()) SWIG_fail;
21850 }
21851 Py_INCREF(Py_None); resultobj = Py_None;
21852 {
21853 PyObject *o = PyInt_FromLong((long) (*arg2));
21854 resultobj = t_output_helper(resultobj,o);
21855 }
21856 {
21857 PyObject *o = PyInt_FromLong((long) (*arg3));
21858 resultobj = t_output_helper(resultobj,o);
21859 }
21860 return resultobj;
21861 fail:
21862 return NULL;
21863 }
21864
21865
21866 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21867 PyObject *resultobj;
21868 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21869 bool result;
21870 PyObject * obj0 = 0 ;
21871 char *kwnames[] = {
21872 (char *) "self", NULL
21873 };
21874
21875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
21876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21878 {
21879 PyThreadState* __tstate = wxPyBeginAllowThreads();
21880 result = (bool)(arg1)->IsPreview();
21881
21882 wxPyEndAllowThreads(__tstate);
21883 if (PyErr_Occurred()) SWIG_fail;
21884 }
21885 {
21886 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21887 }
21888 return resultobj;
21889 fail:
21890 return NULL;
21891 }
21892
21893
21894 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21895 PyObject *resultobj;
21896 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21897 bool arg2 ;
21898 PyObject * obj0 = 0 ;
21899 PyObject * obj1 = 0 ;
21900 char *kwnames[] = {
21901 (char *) "self",(char *) "p", NULL
21902 };
21903
21904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
21905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21907 arg2 = (bool) SWIG_AsBool(obj1);
21908 if (PyErr_Occurred()) SWIG_fail;
21909 {
21910 PyThreadState* __tstate = wxPyBeginAllowThreads();
21911 (arg1)->SetIsPreview(arg2);
21912
21913 wxPyEndAllowThreads(__tstate);
21914 if (PyErr_Occurred()) SWIG_fail;
21915 }
21916 Py_INCREF(Py_None); resultobj = Py_None;
21917 return resultobj;
21918 fail:
21919 return NULL;
21920 }
21921
21922
21923 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
21924 PyObject *resultobj;
21925 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21926 int arg2 ;
21927 int arg3 ;
21928 bool result;
21929 PyObject * obj0 = 0 ;
21930 PyObject * obj1 = 0 ;
21931 PyObject * obj2 = 0 ;
21932 char *kwnames[] = {
21933 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
21934 };
21935
21936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
21937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21939 arg2 = (int) SWIG_AsInt(obj1);
21940 if (PyErr_Occurred()) SWIG_fail;
21941 arg3 = (int) SWIG_AsInt(obj2);
21942 if (PyErr_Occurred()) SWIG_fail;
21943 {
21944 PyThreadState* __tstate = wxPyBeginAllowThreads();
21945 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
21946
21947 wxPyEndAllowThreads(__tstate);
21948 if (PyErr_Occurred()) SWIG_fail;
21949 }
21950 {
21951 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21952 }
21953 return resultobj;
21954 fail:
21955 return NULL;
21956 }
21957
21958
21959 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
21960 PyObject *resultobj;
21961 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21962 PyObject * obj0 = 0 ;
21963 char *kwnames[] = {
21964 (char *) "self", NULL
21965 };
21966
21967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
21968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21970 {
21971 PyThreadState* __tstate = wxPyBeginAllowThreads();
21972 (arg1)->base_OnEndDocument();
21973
21974 wxPyEndAllowThreads(__tstate);
21975 if (PyErr_Occurred()) SWIG_fail;
21976 }
21977 Py_INCREF(Py_None); resultobj = Py_None;
21978 return resultobj;
21979 fail:
21980 return NULL;
21981 }
21982
21983
21984 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
21985 PyObject *resultobj;
21986 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21987 PyObject * obj0 = 0 ;
21988 char *kwnames[] = {
21989 (char *) "self", NULL
21990 };
21991
21992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
21993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21995 {
21996 PyThreadState* __tstate = wxPyBeginAllowThreads();
21997 (arg1)->base_OnBeginPrinting();
21998
21999 wxPyEndAllowThreads(__tstate);
22000 if (PyErr_Occurred()) SWIG_fail;
22001 }
22002 Py_INCREF(Py_None); resultobj = Py_None;
22003 return resultobj;
22004 fail:
22005 return NULL;
22006 }
22007
22008
22009 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22010 PyObject *resultobj;
22011 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22012 PyObject * obj0 = 0 ;
22013 char *kwnames[] = {
22014 (char *) "self", NULL
22015 };
22016
22017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
22018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22020 {
22021 PyThreadState* __tstate = wxPyBeginAllowThreads();
22022 (arg1)->base_OnEndPrinting();
22023
22024 wxPyEndAllowThreads(__tstate);
22025 if (PyErr_Occurred()) SWIG_fail;
22026 }
22027 Py_INCREF(Py_None); resultobj = Py_None;
22028 return resultobj;
22029 fail:
22030 return NULL;
22031 }
22032
22033
22034 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22035 PyObject *resultobj;
22036 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22037 PyObject * obj0 = 0 ;
22038 char *kwnames[] = {
22039 (char *) "self", NULL
22040 };
22041
22042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
22043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22045 {
22046 PyThreadState* __tstate = wxPyBeginAllowThreads();
22047 (arg1)->base_OnPreparePrinting();
22048
22049 wxPyEndAllowThreads(__tstate);
22050 if (PyErr_Occurred()) SWIG_fail;
22051 }
22052 Py_INCREF(Py_None); resultobj = Py_None;
22053 return resultobj;
22054 fail:
22055 return NULL;
22056 }
22057
22058
22059 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22060 PyObject *resultobj;
22061 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22062 int arg2 ;
22063 bool result;
22064 PyObject * obj0 = 0 ;
22065 PyObject * obj1 = 0 ;
22066 char *kwnames[] = {
22067 (char *) "self",(char *) "page", NULL
22068 };
22069
22070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
22071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22073 arg2 = (int) SWIG_AsInt(obj1);
22074 if (PyErr_Occurred()) SWIG_fail;
22075 {
22076 PyThreadState* __tstate = wxPyBeginAllowThreads();
22077 result = (bool)(arg1)->base_HasPage(arg2);
22078
22079 wxPyEndAllowThreads(__tstate);
22080 if (PyErr_Occurred()) SWIG_fail;
22081 }
22082 {
22083 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22084 }
22085 return resultobj;
22086 fail:
22087 return NULL;
22088 }
22089
22090
22091 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22092 PyObject *resultobj;
22093 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22094 int *arg2 = (int *) 0 ;
22095 int *arg3 = (int *) 0 ;
22096 int *arg4 = (int *) 0 ;
22097 int *arg5 = (int *) 0 ;
22098 int temp2 ;
22099 int temp3 ;
22100 int temp4 ;
22101 int temp5 ;
22102 PyObject * obj0 = 0 ;
22103 char *kwnames[] = {
22104 (char *) "self", NULL
22105 };
22106
22107 arg2 = &temp2;
22108 arg3 = &temp3;
22109 arg4 = &temp4;
22110 arg5 = &temp5;
22111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
22112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22114 {
22115 PyThreadState* __tstate = wxPyBeginAllowThreads();
22116 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
22117
22118 wxPyEndAllowThreads(__tstate);
22119 if (PyErr_Occurred()) SWIG_fail;
22120 }
22121 Py_INCREF(Py_None); resultobj = Py_None;
22122 {
22123 PyObject *o = PyInt_FromLong((long) (*arg2));
22124 resultobj = t_output_helper(resultobj,o);
22125 }
22126 {
22127 PyObject *o = PyInt_FromLong((long) (*arg3));
22128 resultobj = t_output_helper(resultobj,o);
22129 }
22130 {
22131 PyObject *o = PyInt_FromLong((long) (*arg4));
22132 resultobj = t_output_helper(resultobj,o);
22133 }
22134 {
22135 PyObject *o = PyInt_FromLong((long) (*arg5));
22136 resultobj = t_output_helper(resultobj,o);
22137 }
22138 return resultobj;
22139 fail:
22140 return NULL;
22141 }
22142
22143
22144 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
22145 PyObject *obj;
22146 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22147 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
22148 Py_INCREF(obj);
22149 return Py_BuildValue((char *)"");
22150 }
22151 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22152 PyObject *resultobj;
22153 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22154 wxWindow *arg2 = (wxWindow *) 0 ;
22155 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22156 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22157 wxSize const &arg4_defvalue = wxDefaultSize ;
22158 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22159 long arg5 = (long) 0 ;
22160 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
22161 wxString *arg6 = (wxString *) &arg6_defvalue ;
22162 wxPreviewCanvas *result;
22163 wxPoint temp3 ;
22164 wxSize temp4 ;
22165 bool temp6 = False ;
22166 PyObject * obj0 = 0 ;
22167 PyObject * obj1 = 0 ;
22168 PyObject * obj2 = 0 ;
22169 PyObject * obj3 = 0 ;
22170 PyObject * obj4 = 0 ;
22171 PyObject * obj5 = 0 ;
22172 char *kwnames[] = {
22173 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22174 };
22175
22176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22179 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22181 if (obj2) {
22182 {
22183 arg3 = &temp3;
22184 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22185 }
22186 }
22187 if (obj3) {
22188 {
22189 arg4 = &temp4;
22190 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22191 }
22192 }
22193 if (obj4) {
22194 arg5 = (long) SWIG_AsLong(obj4);
22195 if (PyErr_Occurred()) SWIG_fail;
22196 }
22197 if (obj5) {
22198 {
22199 arg6 = wxString_in_helper(obj5);
22200 if (arg6 == NULL) SWIG_fail;
22201 temp6 = True;
22202 }
22203 }
22204 {
22205 PyThreadState* __tstate = wxPyBeginAllowThreads();
22206 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22207
22208 wxPyEndAllowThreads(__tstate);
22209 if (PyErr_Occurred()) SWIG_fail;
22210 }
22211 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
22212 {
22213 if (temp6)
22214 delete arg6;
22215 }
22216 return resultobj;
22217 fail:
22218 {
22219 if (temp6)
22220 delete arg6;
22221 }
22222 return NULL;
22223 }
22224
22225
22226 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
22227 PyObject *obj;
22228 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22229 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
22230 Py_INCREF(obj);
22231 return Py_BuildValue((char *)"");
22232 }
22233 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22234 PyObject *resultobj;
22235 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22236 wxFrame *arg2 = (wxFrame *) 0 ;
22237 wxString *arg3 = 0 ;
22238 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22239 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22240 wxSize const &arg5_defvalue = wxDefaultSize ;
22241 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22242 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
22243 wxString const &arg7_defvalue = wxPyFrameNameStr ;
22244 wxString *arg7 = (wxString *) &arg7_defvalue ;
22245 wxPreviewFrame *result;
22246 bool temp3 = False ;
22247 wxPoint temp4 ;
22248 wxSize temp5 ;
22249 bool temp7 = False ;
22250 PyObject * obj0 = 0 ;
22251 PyObject * obj1 = 0 ;
22252 PyObject * obj2 = 0 ;
22253 PyObject * obj3 = 0 ;
22254 PyObject * obj4 = 0 ;
22255 PyObject * obj5 = 0 ;
22256 PyObject * obj6 = 0 ;
22257 char *kwnames[] = {
22258 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22259 };
22260
22261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22264 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22266 {
22267 arg3 = wxString_in_helper(obj2);
22268 if (arg3 == NULL) SWIG_fail;
22269 temp3 = True;
22270 }
22271 if (obj3) {
22272 {
22273 arg4 = &temp4;
22274 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22275 }
22276 }
22277 if (obj4) {
22278 {
22279 arg5 = &temp5;
22280 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22281 }
22282 }
22283 if (obj5) {
22284 arg6 = (long) SWIG_AsLong(obj5);
22285 if (PyErr_Occurred()) SWIG_fail;
22286 }
22287 if (obj6) {
22288 {
22289 arg7 = wxString_in_helper(obj6);
22290 if (arg7 == NULL) SWIG_fail;
22291 temp7 = True;
22292 }
22293 }
22294 {
22295 PyThreadState* __tstate = wxPyBeginAllowThreads();
22296 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22297
22298 wxPyEndAllowThreads(__tstate);
22299 if (PyErr_Occurred()) SWIG_fail;
22300 }
22301 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
22302 {
22303 if (temp3)
22304 delete arg3;
22305 }
22306 {
22307 if (temp7)
22308 delete arg7;
22309 }
22310 return resultobj;
22311 fail:
22312 {
22313 if (temp3)
22314 delete arg3;
22315 }
22316 {
22317 if (temp7)
22318 delete arg7;
22319 }
22320 return NULL;
22321 }
22322
22323
22324 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
22325 PyObject *resultobj;
22326 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22327 PyObject * obj0 = 0 ;
22328 char *kwnames[] = {
22329 (char *) "self", NULL
22330 };
22331
22332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
22333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22335 {
22336 PyThreadState* __tstate = wxPyBeginAllowThreads();
22337 (arg1)->Initialize();
22338
22339 wxPyEndAllowThreads(__tstate);
22340 if (PyErr_Occurred()) SWIG_fail;
22341 }
22342 Py_INCREF(Py_None); resultobj = Py_None;
22343 return resultobj;
22344 fail:
22345 return NULL;
22346 }
22347
22348
22349 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22350 PyObject *resultobj;
22351 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22352 PyObject * obj0 = 0 ;
22353 char *kwnames[] = {
22354 (char *) "self", NULL
22355 };
22356
22357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
22358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22360 {
22361 PyThreadState* __tstate = wxPyBeginAllowThreads();
22362 (arg1)->CreateControlBar();
22363
22364 wxPyEndAllowThreads(__tstate);
22365 if (PyErr_Occurred()) SWIG_fail;
22366 }
22367 Py_INCREF(Py_None); resultobj = Py_None;
22368 return resultobj;
22369 fail:
22370 return NULL;
22371 }
22372
22373
22374 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22375 PyObject *resultobj;
22376 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22377 PyObject * obj0 = 0 ;
22378 char *kwnames[] = {
22379 (char *) "self", NULL
22380 };
22381
22382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
22383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22385 {
22386 PyThreadState* __tstate = wxPyBeginAllowThreads();
22387 (arg1)->CreateCanvas();
22388
22389 wxPyEndAllowThreads(__tstate);
22390 if (PyErr_Occurred()) SWIG_fail;
22391 }
22392 Py_INCREF(Py_None); resultobj = Py_None;
22393 return resultobj;
22394 fail:
22395 return NULL;
22396 }
22397
22398
22399 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22400 PyObject *resultobj;
22401 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22402 wxPreviewControlBar *result;
22403 PyObject * obj0 = 0 ;
22404 char *kwnames[] = {
22405 (char *) "self", NULL
22406 };
22407
22408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
22409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22411 {
22412 PyThreadState* __tstate = wxPyBeginAllowThreads();
22413 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
22414
22415 wxPyEndAllowThreads(__tstate);
22416 if (PyErr_Occurred()) SWIG_fail;
22417 }
22418 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
22419 return resultobj;
22420 fail:
22421 return NULL;
22422 }
22423
22424
22425 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
22426 PyObject *obj;
22427 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22428 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
22429 Py_INCREF(obj);
22430 return Py_BuildValue((char *)"");
22431 }
22432 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22433 PyObject *resultobj;
22434 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22435 long arg2 ;
22436 wxWindow *arg3 = (wxWindow *) 0 ;
22437 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22438 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22439 wxSize const &arg5_defvalue = wxDefaultSize ;
22440 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22441 long arg6 = (long) wxTAB_TRAVERSAL ;
22442 wxString const &arg7_defvalue = wxPyPanelNameStr ;
22443 wxString *arg7 = (wxString *) &arg7_defvalue ;
22444 wxPreviewControlBar *result;
22445 wxPoint temp4 ;
22446 wxSize temp5 ;
22447 bool temp7 = False ;
22448 PyObject * obj0 = 0 ;
22449 PyObject * obj1 = 0 ;
22450 PyObject * obj2 = 0 ;
22451 PyObject * obj3 = 0 ;
22452 PyObject * obj4 = 0 ;
22453 PyObject * obj5 = 0 ;
22454 PyObject * obj6 = 0 ;
22455 char *kwnames[] = {
22456 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22457 };
22458
22459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22462 arg2 = (long) SWIG_AsLong(obj1);
22463 if (PyErr_Occurred()) SWIG_fail;
22464 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
22465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22466 if (obj3) {
22467 {
22468 arg4 = &temp4;
22469 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22470 }
22471 }
22472 if (obj4) {
22473 {
22474 arg5 = &temp5;
22475 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22476 }
22477 }
22478 if (obj5) {
22479 arg6 = (long) SWIG_AsLong(obj5);
22480 if (PyErr_Occurred()) SWIG_fail;
22481 }
22482 if (obj6) {
22483 {
22484 arg7 = wxString_in_helper(obj6);
22485 if (arg7 == NULL) SWIG_fail;
22486 temp7 = True;
22487 }
22488 }
22489 {
22490 PyThreadState* __tstate = wxPyBeginAllowThreads();
22491 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22492
22493 wxPyEndAllowThreads(__tstate);
22494 if (PyErr_Occurred()) SWIG_fail;
22495 }
22496 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
22497 {
22498 if (temp7)
22499 delete arg7;
22500 }
22501 return resultobj;
22502 fail:
22503 {
22504 if (temp7)
22505 delete arg7;
22506 }
22507 return NULL;
22508 }
22509
22510
22511 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22512 PyObject *resultobj;
22513 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22514 int result;
22515 PyObject * obj0 = 0 ;
22516 char *kwnames[] = {
22517 (char *) "self", NULL
22518 };
22519
22520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
22521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22523 {
22524 PyThreadState* __tstate = wxPyBeginAllowThreads();
22525 result = (int)(arg1)->GetZoomControl();
22526
22527 wxPyEndAllowThreads(__tstate);
22528 if (PyErr_Occurred()) SWIG_fail;
22529 }
22530 resultobj = SWIG_FromInt((int)result);
22531 return resultobj;
22532 fail:
22533 return NULL;
22534 }
22535
22536
22537 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22538 PyObject *resultobj;
22539 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22540 int arg2 ;
22541 PyObject * obj0 = 0 ;
22542 PyObject * obj1 = 0 ;
22543 char *kwnames[] = {
22544 (char *) "self",(char *) "zoom", NULL
22545 };
22546
22547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
22548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22550 arg2 = (int) SWIG_AsInt(obj1);
22551 if (PyErr_Occurred()) SWIG_fail;
22552 {
22553 PyThreadState* __tstate = wxPyBeginAllowThreads();
22554 (arg1)->SetZoomControl(arg2);
22555
22556 wxPyEndAllowThreads(__tstate);
22557 if (PyErr_Occurred()) SWIG_fail;
22558 }
22559 Py_INCREF(Py_None); resultobj = Py_None;
22560 return resultobj;
22561 fail:
22562 return NULL;
22563 }
22564
22565
22566 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22567 PyObject *resultobj;
22568 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22569 wxPrintPreview *result;
22570 PyObject * obj0 = 0 ;
22571 char *kwnames[] = {
22572 (char *) "self", NULL
22573 };
22574
22575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
22576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22578 {
22579 PyThreadState* __tstate = wxPyBeginAllowThreads();
22580 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
22581
22582 wxPyEndAllowThreads(__tstate);
22583 if (PyErr_Occurred()) SWIG_fail;
22584 }
22585 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
22586 return resultobj;
22587 fail:
22588 return NULL;
22589 }
22590
22591
22592 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
22593 PyObject *resultobj;
22594 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22595 PyObject * obj0 = 0 ;
22596 char *kwnames[] = {
22597 (char *) "self", NULL
22598 };
22599
22600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
22601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22603 {
22604 PyThreadState* __tstate = wxPyBeginAllowThreads();
22605 (arg1)->OnNext();
22606
22607 wxPyEndAllowThreads(__tstate);
22608 if (PyErr_Occurred()) SWIG_fail;
22609 }
22610 Py_INCREF(Py_None); resultobj = Py_None;
22611 return resultobj;
22612 fail:
22613 return NULL;
22614 }
22615
22616
22617 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
22618 PyObject *resultobj;
22619 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22620 PyObject * obj0 = 0 ;
22621 char *kwnames[] = {
22622 (char *) "self", NULL
22623 };
22624
22625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
22626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22628 {
22629 PyThreadState* __tstate = wxPyBeginAllowThreads();
22630 (arg1)->OnPrevious();
22631
22632 wxPyEndAllowThreads(__tstate);
22633 if (PyErr_Occurred()) SWIG_fail;
22634 }
22635 Py_INCREF(Py_None); resultobj = Py_None;
22636 return resultobj;
22637 fail:
22638 return NULL;
22639 }
22640
22641
22642 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
22643 PyObject *resultobj;
22644 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22645 PyObject * obj0 = 0 ;
22646 char *kwnames[] = {
22647 (char *) "self", NULL
22648 };
22649
22650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
22651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22653 {
22654 PyThreadState* __tstate = wxPyBeginAllowThreads();
22655 (arg1)->OnFirst();
22656
22657 wxPyEndAllowThreads(__tstate);
22658 if (PyErr_Occurred()) SWIG_fail;
22659 }
22660 Py_INCREF(Py_None); resultobj = Py_None;
22661 return resultobj;
22662 fail:
22663 return NULL;
22664 }
22665
22666
22667 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
22668 PyObject *resultobj;
22669 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22670 PyObject * obj0 = 0 ;
22671 char *kwnames[] = {
22672 (char *) "self", NULL
22673 };
22674
22675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
22676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22678 {
22679 PyThreadState* __tstate = wxPyBeginAllowThreads();
22680 (arg1)->OnLast();
22681
22682 wxPyEndAllowThreads(__tstate);
22683 if (PyErr_Occurred()) SWIG_fail;
22684 }
22685 Py_INCREF(Py_None); resultobj = Py_None;
22686 return resultobj;
22687 fail:
22688 return NULL;
22689 }
22690
22691
22692 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
22693 PyObject *resultobj;
22694 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22695 PyObject * obj0 = 0 ;
22696 char *kwnames[] = {
22697 (char *) "self", NULL
22698 };
22699
22700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
22701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22703 {
22704 PyThreadState* __tstate = wxPyBeginAllowThreads();
22705 (arg1)->OnGoto();
22706
22707 wxPyEndAllowThreads(__tstate);
22708 if (PyErr_Occurred()) SWIG_fail;
22709 }
22710 Py_INCREF(Py_None); resultobj = Py_None;
22711 return resultobj;
22712 fail:
22713 return NULL;
22714 }
22715
22716
22717 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
22718 PyObject *obj;
22719 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22720 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
22721 Py_INCREF(obj);
22722 return Py_BuildValue((char *)"");
22723 }
22724 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *self, PyObject *args) {
22725 PyObject *resultobj;
22726 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22727 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22728 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
22729 wxPrintPreview *result;
22730 PyObject * obj0 = 0 ;
22731 PyObject * obj1 = 0 ;
22732 PyObject * obj2 = 0 ;
22733
22734 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
22735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22737 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22739 if (obj2) {
22740 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
22741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22742 }
22743 {
22744 PyThreadState* __tstate = wxPyBeginAllowThreads();
22745 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
22746
22747 wxPyEndAllowThreads(__tstate);
22748 if (PyErr_Occurred()) SWIG_fail;
22749 }
22750 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
22751 return resultobj;
22752 fail:
22753 return NULL;
22754 }
22755
22756
22757 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *self, PyObject *args) {
22758 PyObject *resultobj;
22759 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22760 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22761 wxPrintData *arg3 = (wxPrintData *) 0 ;
22762 wxPrintPreview *result;
22763 PyObject * obj0 = 0 ;
22764 PyObject * obj1 = 0 ;
22765 PyObject * obj2 = 0 ;
22766
22767 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
22768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22770 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22772 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
22773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22774 {
22775 PyThreadState* __tstate = wxPyBeginAllowThreads();
22776 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
22777
22778 wxPyEndAllowThreads(__tstate);
22779 if (PyErr_Occurred()) SWIG_fail;
22780 }
22781 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
22782 return resultobj;
22783 fail:
22784 return NULL;
22785 }
22786
22787
22788 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
22789 int argc;
22790 PyObject *argv[4];
22791 int ii;
22792
22793 argc = PyObject_Length(args);
22794 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
22795 argv[ii] = PyTuple_GetItem(args,ii);
22796 }
22797 if ((argc >= 2) && (argc <= 3)) {
22798 int _v;
22799 {
22800 void *ptr;
22801 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22802 _v = 0;
22803 PyErr_Clear();
22804 } else {
22805 _v = 1;
22806 }
22807 }
22808 if (_v) {
22809 {
22810 void *ptr;
22811 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22812 _v = 0;
22813 PyErr_Clear();
22814 } else {
22815 _v = 1;
22816 }
22817 }
22818 if (_v) {
22819 if (argc <= 2) {
22820 return _wrap_new_PrintPreview__SWIG_0(self,args);
22821 }
22822 {
22823 void *ptr;
22824 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
22825 _v = 0;
22826 PyErr_Clear();
22827 } else {
22828 _v = 1;
22829 }
22830 }
22831 if (_v) {
22832 return _wrap_new_PrintPreview__SWIG_0(self,args);
22833 }
22834 }
22835 }
22836 }
22837 if (argc == 3) {
22838 int _v;
22839 {
22840 void *ptr;
22841 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22842 _v = 0;
22843 PyErr_Clear();
22844 } else {
22845 _v = 1;
22846 }
22847 }
22848 if (_v) {
22849 {
22850 void *ptr;
22851 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22852 _v = 0;
22853 PyErr_Clear();
22854 } else {
22855 _v = 1;
22856 }
22857 }
22858 if (_v) {
22859 {
22860 void *ptr;
22861 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
22862 _v = 0;
22863 PyErr_Clear();
22864 } else {
22865 _v = 1;
22866 }
22867 }
22868 if (_v) {
22869 return _wrap_new_PrintPreview__SWIG_1(self,args);
22870 }
22871 }
22872 }
22873 }
22874
22875 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
22876 return NULL;
22877 }
22878
22879
22880 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22881 PyObject *resultobj;
22882 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22883 int arg2 ;
22884 bool result;
22885 PyObject * obj0 = 0 ;
22886 PyObject * obj1 = 0 ;
22887 char *kwnames[] = {
22888 (char *) "self",(char *) "pageNum", NULL
22889 };
22890
22891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
22892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22894 arg2 = (int) SWIG_AsInt(obj1);
22895 if (PyErr_Occurred()) SWIG_fail;
22896 {
22897 PyThreadState* __tstate = wxPyBeginAllowThreads();
22898 result = (bool)(arg1)->SetCurrentPage(arg2);
22899
22900 wxPyEndAllowThreads(__tstate);
22901 if (PyErr_Occurred()) SWIG_fail;
22902 }
22903 {
22904 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22905 }
22906 return resultobj;
22907 fail:
22908 return NULL;
22909 }
22910
22911
22912 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22913 PyObject *resultobj;
22914 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22915 int result;
22916 PyObject * obj0 = 0 ;
22917 char *kwnames[] = {
22918 (char *) "self", NULL
22919 };
22920
22921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
22922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22924 {
22925 PyThreadState* __tstate = wxPyBeginAllowThreads();
22926 result = (int)(arg1)->GetCurrentPage();
22927
22928 wxPyEndAllowThreads(__tstate);
22929 if (PyErr_Occurred()) SWIG_fail;
22930 }
22931 resultobj = SWIG_FromInt((int)result);
22932 return resultobj;
22933 fail:
22934 return NULL;
22935 }
22936
22937
22938 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
22939 PyObject *resultobj;
22940 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22941 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22942 PyObject * obj0 = 0 ;
22943 PyObject * obj1 = 0 ;
22944 char *kwnames[] = {
22945 (char *) "self",(char *) "printout", NULL
22946 };
22947
22948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
22949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22951 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22953 {
22954 PyThreadState* __tstate = wxPyBeginAllowThreads();
22955 (arg1)->SetPrintout(arg2);
22956
22957 wxPyEndAllowThreads(__tstate);
22958 if (PyErr_Occurred()) SWIG_fail;
22959 }
22960 Py_INCREF(Py_None); resultobj = Py_None;
22961 return resultobj;
22962 fail:
22963 return NULL;
22964 }
22965
22966
22967 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
22968 PyObject *resultobj;
22969 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22970 wxPyPrintout *result;
22971 PyObject * obj0 = 0 ;
22972 char *kwnames[] = {
22973 (char *) "self", NULL
22974 };
22975
22976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
22977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22979 {
22980 PyThreadState* __tstate = wxPyBeginAllowThreads();
22981 result = (wxPyPrintout *)(arg1)->GetPrintout();
22982
22983 wxPyEndAllowThreads(__tstate);
22984 if (PyErr_Occurred()) SWIG_fail;
22985 }
22986 {
22987 resultobj = wxPyMake_wxObject(result);
22988 }
22989 return resultobj;
22990 fail:
22991 return NULL;
22992 }
22993
22994
22995 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22996 PyObject *resultobj;
22997 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22998 wxPyPrintout *result;
22999 PyObject * obj0 = 0 ;
23000 char *kwnames[] = {
23001 (char *) "self", NULL
23002 };
23003
23004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
23005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23007 {
23008 PyThreadState* __tstate = wxPyBeginAllowThreads();
23009 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
23010
23011 wxPyEndAllowThreads(__tstate);
23012 if (PyErr_Occurred()) SWIG_fail;
23013 }
23014 {
23015 resultobj = wxPyMake_wxObject(result);
23016 }
23017 return resultobj;
23018 fail:
23019 return NULL;
23020 }
23021
23022
23023 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23024 PyObject *resultobj;
23025 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23026 wxFrame *arg2 = (wxFrame *) 0 ;
23027 PyObject * obj0 = 0 ;
23028 PyObject * obj1 = 0 ;
23029 char *kwnames[] = {
23030 (char *) "self",(char *) "frame", NULL
23031 };
23032
23033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
23034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23036 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23038 {
23039 PyThreadState* __tstate = wxPyBeginAllowThreads();
23040 (arg1)->SetFrame(arg2);
23041
23042 wxPyEndAllowThreads(__tstate);
23043 if (PyErr_Occurred()) SWIG_fail;
23044 }
23045 Py_INCREF(Py_None); resultobj = Py_None;
23046 return resultobj;
23047 fail:
23048 return NULL;
23049 }
23050
23051
23052 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23053 PyObject *resultobj;
23054 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23055 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23056 PyObject * obj0 = 0 ;
23057 PyObject * obj1 = 0 ;
23058 char *kwnames[] = {
23059 (char *) "self",(char *) "canvas", NULL
23060 };
23061
23062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
23063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23065 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23067 {
23068 PyThreadState* __tstate = wxPyBeginAllowThreads();
23069 (arg1)->SetCanvas(arg2);
23070
23071 wxPyEndAllowThreads(__tstate);
23072 if (PyErr_Occurred()) SWIG_fail;
23073 }
23074 Py_INCREF(Py_None); resultobj = Py_None;
23075 return resultobj;
23076 fail:
23077 return NULL;
23078 }
23079
23080
23081 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23082 PyObject *resultobj;
23083 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23084 wxFrame *result;
23085 PyObject * obj0 = 0 ;
23086 char *kwnames[] = {
23087 (char *) "self", NULL
23088 };
23089
23090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
23091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23093 {
23094 PyThreadState* __tstate = wxPyBeginAllowThreads();
23095 result = (wxFrame *)(arg1)->GetFrame();
23096
23097 wxPyEndAllowThreads(__tstate);
23098 if (PyErr_Occurred()) SWIG_fail;
23099 }
23100 {
23101 resultobj = wxPyMake_wxObject(result);
23102 }
23103 return resultobj;
23104 fail:
23105 return NULL;
23106 }
23107
23108
23109 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23110 PyObject *resultobj;
23111 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23112 wxPreviewCanvas *result;
23113 PyObject * obj0 = 0 ;
23114 char *kwnames[] = {
23115 (char *) "self", NULL
23116 };
23117
23118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
23119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23121 {
23122 PyThreadState* __tstate = wxPyBeginAllowThreads();
23123 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
23124
23125 wxPyEndAllowThreads(__tstate);
23126 if (PyErr_Occurred()) SWIG_fail;
23127 }
23128 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
23129 return resultobj;
23130 fail:
23131 return NULL;
23132 }
23133
23134
23135 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23136 PyObject *resultobj;
23137 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23138 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23139 wxDC *arg3 = 0 ;
23140 bool result;
23141 PyObject * obj0 = 0 ;
23142 PyObject * obj1 = 0 ;
23143 PyObject * obj2 = 0 ;
23144 char *kwnames[] = {
23145 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23146 };
23147
23148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23151 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23153 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23154 SWIG_POINTER_EXCEPTION | 0)) == -1)
23155 SWIG_fail;
23156 if (arg3 == NULL) {
23157 PyErr_SetString(PyExc_TypeError,"null reference");
23158 SWIG_fail;
23159 }
23160 {
23161 PyThreadState* __tstate = wxPyBeginAllowThreads();
23162 result = (bool)(arg1)->PaintPage(arg2,*arg3);
23163
23164 wxPyEndAllowThreads(__tstate);
23165 if (PyErr_Occurred()) SWIG_fail;
23166 }
23167 {
23168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23169 }
23170 return resultobj;
23171 fail:
23172 return NULL;
23173 }
23174
23175
23176 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23177 PyObject *resultobj;
23178 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23179 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23180 wxDC *arg3 = 0 ;
23181 bool result;
23182 PyObject * obj0 = 0 ;
23183 PyObject * obj1 = 0 ;
23184 PyObject * obj2 = 0 ;
23185 char *kwnames[] = {
23186 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23187 };
23188
23189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23192 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23194 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23195 SWIG_POINTER_EXCEPTION | 0)) == -1)
23196 SWIG_fail;
23197 if (arg3 == NULL) {
23198 PyErr_SetString(PyExc_TypeError,"null reference");
23199 SWIG_fail;
23200 }
23201 {
23202 PyThreadState* __tstate = wxPyBeginAllowThreads();
23203 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
23204
23205 wxPyEndAllowThreads(__tstate);
23206 if (PyErr_Occurred()) SWIG_fail;
23207 }
23208 {
23209 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23210 }
23211 return resultobj;
23212 fail:
23213 return NULL;
23214 }
23215
23216
23217 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23218 PyObject *resultobj;
23219 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23220 int arg2 ;
23221 bool result;
23222 PyObject * obj0 = 0 ;
23223 PyObject * obj1 = 0 ;
23224 char *kwnames[] = {
23225 (char *) "self",(char *) "pageNum", NULL
23226 };
23227
23228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23231 arg2 = (int) SWIG_AsInt(obj1);
23232 if (PyErr_Occurred()) SWIG_fail;
23233 {
23234 PyThreadState* __tstate = wxPyBeginAllowThreads();
23235 result = (bool)(arg1)->RenderPage(arg2);
23236
23237 wxPyEndAllowThreads(__tstate);
23238 if (PyErr_Occurred()) SWIG_fail;
23239 }
23240 {
23241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23242 }
23243 return resultobj;
23244 fail:
23245 return NULL;
23246 }
23247
23248
23249 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
23250 PyObject *resultobj;
23251 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23252 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23253 PyObject * obj0 = 0 ;
23254 PyObject * obj1 = 0 ;
23255 char *kwnames[] = {
23256 (char *) "self",(char *) "canvas", NULL
23257 };
23258
23259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
23260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23262 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23264 {
23265 PyThreadState* __tstate = wxPyBeginAllowThreads();
23266 (arg1)->AdjustScrollbars(arg2);
23267
23268 wxPyEndAllowThreads(__tstate);
23269 if (PyErr_Occurred()) SWIG_fail;
23270 }
23271 Py_INCREF(Py_None); resultobj = Py_None;
23272 return resultobj;
23273 fail:
23274 return NULL;
23275 }
23276
23277
23278 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
23279 PyObject *resultobj;
23280 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23281 wxPrintDialogData *result;
23282 PyObject * obj0 = 0 ;
23283 char *kwnames[] = {
23284 (char *) "self", NULL
23285 };
23286
23287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
23288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23290 {
23291 PyThreadState* __tstate = wxPyBeginAllowThreads();
23292 {
23293 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
23294 result = (wxPrintDialogData *) &_result_ref;
23295 }
23296
23297 wxPyEndAllowThreads(__tstate);
23298 if (PyErr_Occurred()) SWIG_fail;
23299 }
23300 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
23301 return resultobj;
23302 fail:
23303 return NULL;
23304 }
23305
23306
23307 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23308 PyObject *resultobj;
23309 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23310 int arg2 ;
23311 PyObject * obj0 = 0 ;
23312 PyObject * obj1 = 0 ;
23313 char *kwnames[] = {
23314 (char *) "self",(char *) "percent", NULL
23315 };
23316
23317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
23318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23320 arg2 = (int) SWIG_AsInt(obj1);
23321 if (PyErr_Occurred()) SWIG_fail;
23322 {
23323 PyThreadState* __tstate = wxPyBeginAllowThreads();
23324 (arg1)->SetZoom(arg2);
23325
23326 wxPyEndAllowThreads(__tstate);
23327 if (PyErr_Occurred()) SWIG_fail;
23328 }
23329 Py_INCREF(Py_None); resultobj = Py_None;
23330 return resultobj;
23331 fail:
23332 return NULL;
23333 }
23334
23335
23336 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23337 PyObject *resultobj;
23338 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23339 int result;
23340 PyObject * obj0 = 0 ;
23341 char *kwnames[] = {
23342 (char *) "self", NULL
23343 };
23344
23345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
23346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23348 {
23349 PyThreadState* __tstate = wxPyBeginAllowThreads();
23350 result = (int)(arg1)->GetZoom();
23351
23352 wxPyEndAllowThreads(__tstate);
23353 if (PyErr_Occurred()) SWIG_fail;
23354 }
23355 resultobj = SWIG_FromInt((int)result);
23356 return resultobj;
23357 fail:
23358 return NULL;
23359 }
23360
23361
23362 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23363 PyObject *resultobj;
23364 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23365 int result;
23366 PyObject * obj0 = 0 ;
23367 char *kwnames[] = {
23368 (char *) "self", NULL
23369 };
23370
23371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
23372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23374 {
23375 PyThreadState* __tstate = wxPyBeginAllowThreads();
23376 result = (int)(arg1)->GetMaxPage();
23377
23378 wxPyEndAllowThreads(__tstate);
23379 if (PyErr_Occurred()) SWIG_fail;
23380 }
23381 resultobj = SWIG_FromInt((int)result);
23382 return resultobj;
23383 fail:
23384 return NULL;
23385 }
23386
23387
23388 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23389 PyObject *resultobj;
23390 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23391 int result;
23392 PyObject * obj0 = 0 ;
23393 char *kwnames[] = {
23394 (char *) "self", NULL
23395 };
23396
23397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
23398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23400 {
23401 PyThreadState* __tstate = wxPyBeginAllowThreads();
23402 result = (int)(arg1)->GetMinPage();
23403
23404 wxPyEndAllowThreads(__tstate);
23405 if (PyErr_Occurred()) SWIG_fail;
23406 }
23407 resultobj = SWIG_FromInt((int)result);
23408 return resultobj;
23409 fail:
23410 return NULL;
23411 }
23412
23413
23414 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
23415 PyObject *resultobj;
23416 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23417 bool result;
23418 PyObject * obj0 = 0 ;
23419 char *kwnames[] = {
23420 (char *) "self", NULL
23421 };
23422
23423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
23424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23426 {
23427 PyThreadState* __tstate = wxPyBeginAllowThreads();
23428 result = (bool)(arg1)->Ok();
23429
23430 wxPyEndAllowThreads(__tstate);
23431 if (PyErr_Occurred()) SWIG_fail;
23432 }
23433 {
23434 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23435 }
23436 return resultobj;
23437 fail:
23438 return NULL;
23439 }
23440
23441
23442 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
23443 PyObject *resultobj;
23444 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23445 bool arg2 ;
23446 PyObject * obj0 = 0 ;
23447 PyObject * obj1 = 0 ;
23448 char *kwnames[] = {
23449 (char *) "self",(char *) "ok", NULL
23450 };
23451
23452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
23453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23455 arg2 = (bool) SWIG_AsBool(obj1);
23456 if (PyErr_Occurred()) SWIG_fail;
23457 {
23458 PyThreadState* __tstate = wxPyBeginAllowThreads();
23459 (arg1)->SetOk(arg2);
23460
23461 wxPyEndAllowThreads(__tstate);
23462 if (PyErr_Occurred()) SWIG_fail;
23463 }
23464 Py_INCREF(Py_None); resultobj = Py_None;
23465 return resultobj;
23466 fail:
23467 return NULL;
23468 }
23469
23470
23471 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
23472 PyObject *resultobj;
23473 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23474 bool arg2 ;
23475 bool result;
23476 PyObject * obj0 = 0 ;
23477 PyObject * obj1 = 0 ;
23478 char *kwnames[] = {
23479 (char *) "self",(char *) "interactive", NULL
23480 };
23481
23482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
23483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23485 arg2 = (bool) SWIG_AsBool(obj1);
23486 if (PyErr_Occurred()) SWIG_fail;
23487 {
23488 PyThreadState* __tstate = wxPyBeginAllowThreads();
23489 result = (bool)(arg1)->Print(arg2);
23490
23491 wxPyEndAllowThreads(__tstate);
23492 if (PyErr_Occurred()) SWIG_fail;
23493 }
23494 {
23495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23496 }
23497 return resultobj;
23498 fail:
23499 return NULL;
23500 }
23501
23502
23503 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
23504 PyObject *resultobj;
23505 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23506 PyObject * obj0 = 0 ;
23507 char *kwnames[] = {
23508 (char *) "self", NULL
23509 };
23510
23511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
23512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23514 {
23515 PyThreadState* __tstate = wxPyBeginAllowThreads();
23516 (arg1)->DetermineScaling();
23517
23518 wxPyEndAllowThreads(__tstate);
23519 if (PyErr_Occurred()) SWIG_fail;
23520 }
23521 Py_INCREF(Py_None); resultobj = Py_None;
23522 return resultobj;
23523 fail:
23524 return NULL;
23525 }
23526
23527
23528 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
23529 PyObject *obj;
23530 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23531 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
23532 Py_INCREF(obj);
23533 return Py_BuildValue((char *)"");
23534 }
23535 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *self, PyObject *args) {
23536 PyObject *resultobj;
23537 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23538 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23539 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23540 wxPyPrintPreview *result;
23541 PyObject * obj0 = 0 ;
23542 PyObject * obj1 = 0 ;
23543 PyObject * obj2 = 0 ;
23544
23545 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23548 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23550 if (obj2) {
23551 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23553 }
23554 {
23555 PyThreadState* __tstate = wxPyBeginAllowThreads();
23556 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23557
23558 wxPyEndAllowThreads(__tstate);
23559 if (PyErr_Occurred()) SWIG_fail;
23560 }
23561 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23562 return resultobj;
23563 fail:
23564 return NULL;
23565 }
23566
23567
23568 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *self, PyObject *args) {
23569 PyObject *resultobj;
23570 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23571 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23572 wxPrintData *arg3 = (wxPrintData *) 0 ;
23573 wxPyPrintPreview *result;
23574 PyObject * obj0 = 0 ;
23575 PyObject * obj1 = 0 ;
23576 PyObject * obj2 = 0 ;
23577
23578 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23581 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23583 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23585 {
23586 PyThreadState* __tstate = wxPyBeginAllowThreads();
23587 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23588
23589 wxPyEndAllowThreads(__tstate);
23590 if (PyErr_Occurred()) SWIG_fail;
23591 }
23592 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23593 return resultobj;
23594 fail:
23595 return NULL;
23596 }
23597
23598
23599 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
23600 int argc;
23601 PyObject *argv[4];
23602 int ii;
23603
23604 argc = PyObject_Length(args);
23605 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23606 argv[ii] = PyTuple_GetItem(args,ii);
23607 }
23608 if ((argc >= 2) && (argc <= 3)) {
23609 int _v;
23610 {
23611 void *ptr;
23612 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23613 _v = 0;
23614 PyErr_Clear();
23615 } else {
23616 _v = 1;
23617 }
23618 }
23619 if (_v) {
23620 {
23621 void *ptr;
23622 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23623 _v = 0;
23624 PyErr_Clear();
23625 } else {
23626 _v = 1;
23627 }
23628 }
23629 if (_v) {
23630 if (argc <= 2) {
23631 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23632 }
23633 {
23634 void *ptr;
23635 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23636 _v = 0;
23637 PyErr_Clear();
23638 } else {
23639 _v = 1;
23640 }
23641 }
23642 if (_v) {
23643 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23644 }
23645 }
23646 }
23647 }
23648 if (argc == 3) {
23649 int _v;
23650 {
23651 void *ptr;
23652 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23653 _v = 0;
23654 PyErr_Clear();
23655 } else {
23656 _v = 1;
23657 }
23658 }
23659 if (_v) {
23660 {
23661 void *ptr;
23662 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23663 _v = 0;
23664 PyErr_Clear();
23665 } else {
23666 _v = 1;
23667 }
23668 }
23669 if (_v) {
23670 {
23671 void *ptr;
23672 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23673 _v = 0;
23674 PyErr_Clear();
23675 } else {
23676 _v = 1;
23677 }
23678 }
23679 if (_v) {
23680 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
23681 }
23682 }
23683 }
23684 }
23685
23686 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
23687 return NULL;
23688 }
23689
23690
23691 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23692 PyObject *resultobj;
23693 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23694 PyObject *arg2 = (PyObject *) 0 ;
23695 PyObject *arg3 = (PyObject *) 0 ;
23696 PyObject * obj0 = 0 ;
23697 PyObject * obj1 = 0 ;
23698 PyObject * obj2 = 0 ;
23699 char *kwnames[] = {
23700 (char *) "self",(char *) "self",(char *) "_class", NULL
23701 };
23702
23703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23706 arg2 = obj1;
23707 arg3 = obj2;
23708 {
23709 PyThreadState* __tstate = wxPyBeginAllowThreads();
23710 (arg1)->_setCallbackInfo(arg2,arg3);
23711
23712 wxPyEndAllowThreads(__tstate);
23713 if (PyErr_Occurred()) SWIG_fail;
23714 }
23715 Py_INCREF(Py_None); resultobj = Py_None;
23716 return resultobj;
23717 fail:
23718 return NULL;
23719 }
23720
23721
23722 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23723 PyObject *resultobj;
23724 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23725 int arg2 ;
23726 bool result;
23727 PyObject * obj0 = 0 ;
23728 PyObject * obj1 = 0 ;
23729 char *kwnames[] = {
23730 (char *) "self",(char *) "pageNum", NULL
23731 };
23732
23733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23736 arg2 = (int) SWIG_AsInt(obj1);
23737 if (PyErr_Occurred()) SWIG_fail;
23738 {
23739 PyThreadState* __tstate = wxPyBeginAllowThreads();
23740 result = (bool)(arg1)->base_SetCurrentPage(arg2);
23741
23742 wxPyEndAllowThreads(__tstate);
23743 if (PyErr_Occurred()) SWIG_fail;
23744 }
23745 {
23746 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23747 }
23748 return resultobj;
23749 fail:
23750 return NULL;
23751 }
23752
23753
23754 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23755 PyObject *resultobj;
23756 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23757 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23758 wxDC *arg3 = 0 ;
23759 bool result;
23760 PyObject * obj0 = 0 ;
23761 PyObject * obj1 = 0 ;
23762 PyObject * obj2 = 0 ;
23763 char *kwnames[] = {
23764 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23765 };
23766
23767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23770 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23772 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23773 SWIG_POINTER_EXCEPTION | 0)) == -1)
23774 SWIG_fail;
23775 if (arg3 == NULL) {
23776 PyErr_SetString(PyExc_TypeError,"null reference");
23777 SWIG_fail;
23778 }
23779 {
23780 PyThreadState* __tstate = wxPyBeginAllowThreads();
23781 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
23782
23783 wxPyEndAllowThreads(__tstate);
23784 if (PyErr_Occurred()) SWIG_fail;
23785 }
23786 {
23787 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23788 }
23789 return resultobj;
23790 fail:
23791 return NULL;
23792 }
23793
23794
23795 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23796 PyObject *resultobj;
23797 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23798 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23799 wxDC *arg3 = 0 ;
23800 bool result;
23801 PyObject * obj0 = 0 ;
23802 PyObject * obj1 = 0 ;
23803 PyObject * obj2 = 0 ;
23804 char *kwnames[] = {
23805 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23806 };
23807
23808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23811 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23813 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23814 SWIG_POINTER_EXCEPTION | 0)) == -1)
23815 SWIG_fail;
23816 if (arg3 == NULL) {
23817 PyErr_SetString(PyExc_TypeError,"null reference");
23818 SWIG_fail;
23819 }
23820 {
23821 PyThreadState* __tstate = wxPyBeginAllowThreads();
23822 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
23823
23824 wxPyEndAllowThreads(__tstate);
23825 if (PyErr_Occurred()) SWIG_fail;
23826 }
23827 {
23828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23829 }
23830 return resultobj;
23831 fail:
23832 return NULL;
23833 }
23834
23835
23836 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23837 PyObject *resultobj;
23838 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23839 int arg2 ;
23840 bool result;
23841 PyObject * obj0 = 0 ;
23842 PyObject * obj1 = 0 ;
23843 char *kwnames[] = {
23844 (char *) "self",(char *) "pageNum", NULL
23845 };
23846
23847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23850 arg2 = (int) SWIG_AsInt(obj1);
23851 if (PyErr_Occurred()) SWIG_fail;
23852 {
23853 PyThreadState* __tstate = wxPyBeginAllowThreads();
23854 result = (bool)(arg1)->base_RenderPage(arg2);
23855
23856 wxPyEndAllowThreads(__tstate);
23857 if (PyErr_Occurred()) SWIG_fail;
23858 }
23859 {
23860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23861 }
23862 return resultobj;
23863 fail:
23864 return NULL;
23865 }
23866
23867
23868 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23869 PyObject *resultobj;
23870 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23871 int arg2 ;
23872 PyObject * obj0 = 0 ;
23873 PyObject * obj1 = 0 ;
23874 char *kwnames[] = {
23875 (char *) "self",(char *) "percent", NULL
23876 };
23877
23878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
23879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23881 arg2 = (int) SWIG_AsInt(obj1);
23882 if (PyErr_Occurred()) SWIG_fail;
23883 {
23884 PyThreadState* __tstate = wxPyBeginAllowThreads();
23885 (arg1)->base_SetZoom(arg2);
23886
23887 wxPyEndAllowThreads(__tstate);
23888 if (PyErr_Occurred()) SWIG_fail;
23889 }
23890 Py_INCREF(Py_None); resultobj = Py_None;
23891 return resultobj;
23892 fail:
23893 return NULL;
23894 }
23895
23896
23897 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
23898 PyObject *resultobj;
23899 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23900 bool arg2 ;
23901 bool result;
23902 PyObject * obj0 = 0 ;
23903 PyObject * obj1 = 0 ;
23904 char *kwnames[] = {
23905 (char *) "self",(char *) "interactive", NULL
23906 };
23907
23908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
23909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23911 arg2 = (bool) SWIG_AsBool(obj1);
23912 if (PyErr_Occurred()) SWIG_fail;
23913 {
23914 PyThreadState* __tstate = wxPyBeginAllowThreads();
23915 result = (bool)(arg1)->base_Print(arg2);
23916
23917 wxPyEndAllowThreads(__tstate);
23918 if (PyErr_Occurred()) SWIG_fail;
23919 }
23920 {
23921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23922 }
23923 return resultobj;
23924 fail:
23925 return NULL;
23926 }
23927
23928
23929 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
23930 PyObject *resultobj;
23931 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23932 PyObject * obj0 = 0 ;
23933 char *kwnames[] = {
23934 (char *) "self", NULL
23935 };
23936
23937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
23938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23940 {
23941 PyThreadState* __tstate = wxPyBeginAllowThreads();
23942 (arg1)->base_DetermineScaling();
23943
23944 wxPyEndAllowThreads(__tstate);
23945 if (PyErr_Occurred()) SWIG_fail;
23946 }
23947 Py_INCREF(Py_None); resultobj = Py_None;
23948 return resultobj;
23949 fail:
23950 return NULL;
23951 }
23952
23953
23954 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
23955 PyObject *obj;
23956 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23957 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
23958 Py_INCREF(obj);
23959 return Py_BuildValue((char *)"");
23960 }
23961 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23962 PyObject *resultobj;
23963 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23964 wxFrame *arg2 = (wxFrame *) 0 ;
23965 wxString *arg3 = 0 ;
23966 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23967 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23968 wxSize const &arg5_defvalue = wxDefaultSize ;
23969 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23970 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
23971 wxString const &arg7_defvalue = wxPyFrameNameStr ;
23972 wxString *arg7 = (wxString *) &arg7_defvalue ;
23973 wxPyPreviewFrame *result;
23974 bool temp3 = False ;
23975 wxPoint temp4 ;
23976 wxSize temp5 ;
23977 bool temp7 = False ;
23978 PyObject * obj0 = 0 ;
23979 PyObject * obj1 = 0 ;
23980 PyObject * obj2 = 0 ;
23981 PyObject * obj3 = 0 ;
23982 PyObject * obj4 = 0 ;
23983 PyObject * obj5 = 0 ;
23984 PyObject * obj6 = 0 ;
23985 char *kwnames[] = {
23986 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23987 };
23988
23989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23992 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23994 {
23995 arg3 = wxString_in_helper(obj2);
23996 if (arg3 == NULL) SWIG_fail;
23997 temp3 = True;
23998 }
23999 if (obj3) {
24000 {
24001 arg4 = &temp4;
24002 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24003 }
24004 }
24005 if (obj4) {
24006 {
24007 arg5 = &temp5;
24008 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24009 }
24010 }
24011 if (obj5) {
24012 arg6 = (long) SWIG_AsLong(obj5);
24013 if (PyErr_Occurred()) SWIG_fail;
24014 }
24015 if (obj6) {
24016 {
24017 arg7 = wxString_in_helper(obj6);
24018 if (arg7 == NULL) SWIG_fail;
24019 temp7 = True;
24020 }
24021 }
24022 {
24023 PyThreadState* __tstate = wxPyBeginAllowThreads();
24024 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24025
24026 wxPyEndAllowThreads(__tstate);
24027 if (PyErr_Occurred()) SWIG_fail;
24028 }
24029 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
24030 {
24031 if (temp3)
24032 delete arg3;
24033 }
24034 {
24035 if (temp7)
24036 delete arg7;
24037 }
24038 return resultobj;
24039 fail:
24040 {
24041 if (temp3)
24042 delete arg3;
24043 }
24044 {
24045 if (temp7)
24046 delete arg7;
24047 }
24048 return NULL;
24049 }
24050
24051
24052 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24053 PyObject *resultobj;
24054 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24055 PyObject *arg2 = (PyObject *) 0 ;
24056 PyObject *arg3 = (PyObject *) 0 ;
24057 PyObject * obj0 = 0 ;
24058 PyObject * obj1 = 0 ;
24059 PyObject * obj2 = 0 ;
24060 char *kwnames[] = {
24061 (char *) "self",(char *) "self",(char *) "_class", NULL
24062 };
24063
24064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24067 arg2 = obj1;
24068 arg3 = obj2;
24069 {
24070 PyThreadState* __tstate = wxPyBeginAllowThreads();
24071 (arg1)->_setCallbackInfo(arg2,arg3);
24072
24073 wxPyEndAllowThreads(__tstate);
24074 if (PyErr_Occurred()) SWIG_fail;
24075 }
24076 Py_INCREF(Py_None); resultobj = Py_None;
24077 return resultobj;
24078 fail:
24079 return NULL;
24080 }
24081
24082
24083 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24084 PyObject *resultobj;
24085 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24086 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24087 PyObject * obj0 = 0 ;
24088 PyObject * obj1 = 0 ;
24089 char *kwnames[] = {
24090 (char *) "self",(char *) "canvas", NULL
24091 };
24092
24093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
24094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24096 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24098 {
24099 PyThreadState* __tstate = wxPyBeginAllowThreads();
24100 (arg1)->SetPreviewCanvas(arg2);
24101
24102 wxPyEndAllowThreads(__tstate);
24103 if (PyErr_Occurred()) SWIG_fail;
24104 }
24105 Py_INCREF(Py_None); resultobj = Py_None;
24106 return resultobj;
24107 fail:
24108 return NULL;
24109 }
24110
24111
24112 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24113 PyObject *resultobj;
24114 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24115 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
24116 PyObject * obj0 = 0 ;
24117 PyObject * obj1 = 0 ;
24118 char *kwnames[] = {
24119 (char *) "self",(char *) "bar", NULL
24120 };
24121
24122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
24123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24125 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
24126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24127 {
24128 PyThreadState* __tstate = wxPyBeginAllowThreads();
24129 (arg1)->SetControlBar(arg2);
24130
24131 wxPyEndAllowThreads(__tstate);
24132 if (PyErr_Occurred()) SWIG_fail;
24133 }
24134 Py_INCREF(Py_None); resultobj = Py_None;
24135 return resultobj;
24136 fail:
24137 return NULL;
24138 }
24139
24140
24141 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
24142 PyObject *resultobj;
24143 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24144 PyObject * obj0 = 0 ;
24145 char *kwnames[] = {
24146 (char *) "self", NULL
24147 };
24148
24149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
24150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24152 {
24153 PyThreadState* __tstate = wxPyBeginAllowThreads();
24154 (arg1)->base_Initialize();
24155
24156 wxPyEndAllowThreads(__tstate);
24157 if (PyErr_Occurred()) SWIG_fail;
24158 }
24159 Py_INCREF(Py_None); resultobj = Py_None;
24160 return resultobj;
24161 fail:
24162 return NULL;
24163 }
24164
24165
24166 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24167 PyObject *resultobj;
24168 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24169 PyObject * obj0 = 0 ;
24170 char *kwnames[] = {
24171 (char *) "self", NULL
24172 };
24173
24174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
24175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24177 {
24178 PyThreadState* __tstate = wxPyBeginAllowThreads();
24179 (arg1)->base_CreateCanvas();
24180
24181 wxPyEndAllowThreads(__tstate);
24182 if (PyErr_Occurred()) SWIG_fail;
24183 }
24184 Py_INCREF(Py_None); resultobj = Py_None;
24185 return resultobj;
24186 fail:
24187 return NULL;
24188 }
24189
24190
24191 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24192 PyObject *resultobj;
24193 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24194 PyObject * obj0 = 0 ;
24195 char *kwnames[] = {
24196 (char *) "self", NULL
24197 };
24198
24199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
24200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24202 {
24203 PyThreadState* __tstate = wxPyBeginAllowThreads();
24204 (arg1)->base_CreateControlBar();
24205
24206 wxPyEndAllowThreads(__tstate);
24207 if (PyErr_Occurred()) SWIG_fail;
24208 }
24209 Py_INCREF(Py_None); resultobj = Py_None;
24210 return resultobj;
24211 fail:
24212 return NULL;
24213 }
24214
24215
24216 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
24217 PyObject *obj;
24218 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24219 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
24220 Py_INCREF(obj);
24221 return Py_BuildValue((char *)"");
24222 }
24223 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24224 PyObject *resultobj;
24225 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24226 long arg2 ;
24227 wxWindow *arg3 = (wxWindow *) 0 ;
24228 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24229 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24230 wxSize const &arg5_defvalue = wxDefaultSize ;
24231 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24232 long arg6 = (long) 0 ;
24233 wxString const &arg7_defvalue = wxPyPanelNameStr ;
24234 wxString *arg7 = (wxString *) &arg7_defvalue ;
24235 wxPyPreviewControlBar *result;
24236 wxPoint temp4 ;
24237 wxSize temp5 ;
24238 bool temp7 = False ;
24239 PyObject * obj0 = 0 ;
24240 PyObject * obj1 = 0 ;
24241 PyObject * obj2 = 0 ;
24242 PyObject * obj3 = 0 ;
24243 PyObject * obj4 = 0 ;
24244 PyObject * obj5 = 0 ;
24245 PyObject * obj6 = 0 ;
24246 char *kwnames[] = {
24247 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24248 };
24249
24250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24253 arg2 = (long) SWIG_AsLong(obj1);
24254 if (PyErr_Occurred()) SWIG_fail;
24255 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
24256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24257 if (obj3) {
24258 {
24259 arg4 = &temp4;
24260 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24261 }
24262 }
24263 if (obj4) {
24264 {
24265 arg5 = &temp5;
24266 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24267 }
24268 }
24269 if (obj5) {
24270 arg6 = (long) SWIG_AsLong(obj5);
24271 if (PyErr_Occurred()) SWIG_fail;
24272 }
24273 if (obj6) {
24274 {
24275 arg7 = wxString_in_helper(obj6);
24276 if (arg7 == NULL) SWIG_fail;
24277 temp7 = True;
24278 }
24279 }
24280 {
24281 PyThreadState* __tstate = wxPyBeginAllowThreads();
24282 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24283
24284 wxPyEndAllowThreads(__tstate);
24285 if (PyErr_Occurred()) SWIG_fail;
24286 }
24287 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
24288 {
24289 if (temp7)
24290 delete arg7;
24291 }
24292 return resultobj;
24293 fail:
24294 {
24295 if (temp7)
24296 delete arg7;
24297 }
24298 return NULL;
24299 }
24300
24301
24302 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24303 PyObject *resultobj;
24304 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24305 PyObject *arg2 = (PyObject *) 0 ;
24306 PyObject *arg3 = (PyObject *) 0 ;
24307 PyObject * obj0 = 0 ;
24308 PyObject * obj1 = 0 ;
24309 PyObject * obj2 = 0 ;
24310 char *kwnames[] = {
24311 (char *) "self",(char *) "self",(char *) "_class", NULL
24312 };
24313
24314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24317 arg2 = obj1;
24318 arg3 = obj2;
24319 {
24320 PyThreadState* __tstate = wxPyBeginAllowThreads();
24321 (arg1)->_setCallbackInfo(arg2,arg3);
24322
24323 wxPyEndAllowThreads(__tstate);
24324 if (PyErr_Occurred()) SWIG_fail;
24325 }
24326 Py_INCREF(Py_None); resultobj = Py_None;
24327 return resultobj;
24328 fail:
24329 return NULL;
24330 }
24331
24332
24333 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
24334 PyObject *resultobj;
24335 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24336 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
24337 PyObject * obj0 = 0 ;
24338 PyObject * obj1 = 0 ;
24339 char *kwnames[] = {
24340 (char *) "self",(char *) "preview", NULL
24341 };
24342
24343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
24344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24346 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
24347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24348 {
24349 PyThreadState* __tstate = wxPyBeginAllowThreads();
24350 (arg1)->SetPrintPreview(arg2);
24351
24352 wxPyEndAllowThreads(__tstate);
24353 if (PyErr_Occurred()) SWIG_fail;
24354 }
24355 Py_INCREF(Py_None); resultobj = Py_None;
24356 return resultobj;
24357 fail:
24358 return NULL;
24359 }
24360
24361
24362 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
24363 PyObject *resultobj;
24364 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24365 PyObject * obj0 = 0 ;
24366 char *kwnames[] = {
24367 (char *) "self", NULL
24368 };
24369
24370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
24371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24373 {
24374 PyThreadState* __tstate = wxPyBeginAllowThreads();
24375 (arg1)->base_CreateButtons();
24376
24377 wxPyEndAllowThreads(__tstate);
24378 if (PyErr_Occurred()) SWIG_fail;
24379 }
24380 Py_INCREF(Py_None); resultobj = Py_None;
24381 return resultobj;
24382 fail:
24383 return NULL;
24384 }
24385
24386
24387 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
24388 PyObject *resultobj;
24389 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24390 int arg2 ;
24391 PyObject * obj0 = 0 ;
24392 PyObject * obj1 = 0 ;
24393 char *kwnames[] = {
24394 (char *) "self",(char *) "zoom", NULL
24395 };
24396
24397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
24398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24400 arg2 = (int) SWIG_AsInt(obj1);
24401 if (PyErr_Occurred()) SWIG_fail;
24402 {
24403 PyThreadState* __tstate = wxPyBeginAllowThreads();
24404 (arg1)->base_SetZoomControl(arg2);
24405
24406 wxPyEndAllowThreads(__tstate);
24407 if (PyErr_Occurred()) SWIG_fail;
24408 }
24409 Py_INCREF(Py_None); resultobj = Py_None;
24410 return resultobj;
24411 fail:
24412 return NULL;
24413 }
24414
24415
24416 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
24417 PyObject *obj;
24418 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24419 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
24420 Py_INCREF(obj);
24421 return Py_BuildValue((char *)"");
24422 }
24423 static PyMethodDef SwigMethods[] = {
24424 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
24425 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
24426 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
24427 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
24428 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
24429 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24430 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24431 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24432 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
24433 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
24434 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24435 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24436 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
24437 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
24438 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
24439 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
24440 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
24441 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
24442 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
24443 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
24444 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
24445 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
24446 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
24447 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24448 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24449 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS },
24450 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS },
24451 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
24452 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
24453 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
24454 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
24455 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
24456 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
24457 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
24458 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
24459 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
24460 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
24461 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
24462 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
24463 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
24464 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
24465 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
24466 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
24467 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
24468 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
24469 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
24470 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
24471 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
24472 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
24473 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
24474 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
24475 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
24476 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
24477 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24478 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24479 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24480 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24481 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24482 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24483 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
24484 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
24485 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
24486 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
24487 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
24488 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
24489 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
24490 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
24491 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
24492 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
24493 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
24494 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
24495 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
24496 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
24497 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24498 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
24499 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS },
24500 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
24501 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
24502 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
24503 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
24504 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
24505 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
24506 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
24507 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
24508 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
24509 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
24510 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
24511 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
24512 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
24513 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
24514 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
24515 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
24516 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
24517 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24518 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24519 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24520 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
24521 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24522 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24523 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24524 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
24525 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
24526 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
24527 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
24528 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
24529 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
24530 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
24531 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
24532 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
24533 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
24534 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
24535 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
24536 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
24537 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
24538 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
24539 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
24540 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
24541 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS },
24542 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
24543 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
24544 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
24545 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
24546 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
24547 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24548 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24549 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24550 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24551 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24552 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24553 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24554 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24555 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
24556 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
24557 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24558 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24559 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
24560 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
24561 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
24562 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
24563 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
24564 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
24565 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
24566 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
24567 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
24568 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
24569 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
24570 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
24571 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24572 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24573 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24574 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24575 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24576 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24577 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24578 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24579 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24580 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24581 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24582 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24583 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24584 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24585 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
24586 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
24587 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
24588 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
24589 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
24590 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
24591 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
24592 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
24593 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
24594 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
24595 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24596 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24597 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24598 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24599 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
24600 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
24601 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24602 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24603 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
24604 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
24605 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
24606 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
24607 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24608 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24609 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
24610 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
24611 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
24612 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
24613 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
24614 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
24615 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
24616 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24617 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
24618 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
24619 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24620 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
24621 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
24622 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
24623 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
24624 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
24625 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
24626 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
24627 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
24628 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
24629 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
24630 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
24631 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
24632 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
24633 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
24634 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24635 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
24636 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
24637 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
24638 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
24639 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
24640 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
24641 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
24642 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24643 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24644 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24645 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24646 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
24647 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
24648 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
24649 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
24650 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
24651 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
24652 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
24653 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
24654 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
24655 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
24656 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
24657 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
24658 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
24659 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
24660 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
24661 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
24662 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24663 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
24664 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
24665 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
24666 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
24667 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
24668 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
24669 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
24670 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
24671 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
24672 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
24673 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
24674 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
24675 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
24676 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
24677 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
24678 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
24679 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
24680 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
24681 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
24682 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
24683 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
24684 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
24685 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
24686 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
24687 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
24688 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24689 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
24690 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
24691 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
24692 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
24693 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
24694 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
24695 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS },
24696 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS },
24697 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
24698 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
24699 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
24700 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
24701 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
24702 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
24703 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
24704 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
24705 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
24706 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
24707 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
24708 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
24709 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
24710 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
24711 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
24712 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
24713 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
24714 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
24715 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
24716 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
24717 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
24718 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
24719 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
24720 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
24721 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
24722 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
24723 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
24724 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
24725 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
24726 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
24727 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
24728 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
24729 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
24730 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
24731 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
24732 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
24733 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
24734 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
24735 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
24736 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
24737 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
24738 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
24739 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
24740 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
24741 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
24742 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
24743 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
24744 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
24745 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
24746 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
24747 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
24748 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
24749 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
24750 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
24751 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
24752 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
24753 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
24754 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
24755 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
24756 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
24757 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
24758 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
24759 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
24760 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
24761 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
24762 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
24763 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
24764 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
24765 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
24766 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
24767 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
24768 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
24769 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
24770 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
24771 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
24772 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
24773 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
24774 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
24775 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
24776 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
24777 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
24778 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
24779 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
24780 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24781 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
24782 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
24783 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
24784 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24785 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
24786 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
24787 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
24788 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
24789 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
24790 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
24791 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
24792 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
24793 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
24794 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
24795 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
24796 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
24797 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
24798 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
24799 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
24800 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
24801 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
24802 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
24803 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
24804 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
24805 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
24806 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
24807 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
24808 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
24809 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
24810 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
24811 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
24812 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
24813 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_GetWindowMenu, METH_VARARGS | METH_KEYWORDS },
24814 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS },
24815 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction) _wrap_MDIParentFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
24816 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
24817 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
24818 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
24819 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
24820 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
24821 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
24822 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
24823 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
24824 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
24825 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
24826 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
24827 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
24828 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
24829 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
24830 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS },
24831 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24832 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24833 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24834 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24835 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24836 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24837 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24838 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24839 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24840 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24841 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24842 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24843 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24844 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
24845 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24846 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24847 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24848 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24849 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
24850 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24851 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
24852 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
24853 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
24854 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS },
24855 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24856 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24857 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24858 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24859 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24860 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24861 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24862 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24863 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24864 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24865 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24866 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24867 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24868 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
24869 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24870 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24871 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24872 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24873 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
24874 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24875 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
24876 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
24877 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24878 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24879 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24880 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24881 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24882 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24883 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24884 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24885 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24886 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24887 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24888 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24889 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24890 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24891 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24892 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
24893 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24894 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24895 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24896 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24897 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
24898 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24899 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
24900 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS },
24901 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
24902 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
24903 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
24904 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
24905 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24906 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
24907 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
24908 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
24909 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
24910 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
24911 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
24912 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
24913 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
24914 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
24915 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24916 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
24917 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
24918 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
24919 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
24920 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
24921 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
24922 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
24923 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
24924 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
24925 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
24926 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
24927 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
24928 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
24929 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
24930 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
24931 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
24932 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
24933 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
24934 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
24935 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
24936 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
24937 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
24938 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
24939 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
24940 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
24941 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
24942 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
24943 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
24944 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
24945 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS },
24946 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
24947 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
24948 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
24949 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
24950 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
24951 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
24952 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
24953 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
24954 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
24955 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
24956 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
24957 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
24958 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
24959 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
24960 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
24961 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24962 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24963 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24964 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24965 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
24966 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
24967 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
24968 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
24969 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
24970 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
24971 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24972 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24973 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24974 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24975 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
24976 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
24977 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
24978 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
24979 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
24980 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
24981 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24982 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
24983 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS },
24984 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
24985 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
24986 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
24987 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
24988 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
24989 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
24990 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
24991 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
24992 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
24993 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
24994 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
24995 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
24996 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
24997 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
24998 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
24999 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
25000 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
25001 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
25002 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
25003 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
25004 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
25005 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
25006 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
25007 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
25008 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
25009 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
25010 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
25011 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
25012 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
25013 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
25014 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
25015 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
25016 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
25017 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
25018 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25019 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
25020 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
25021 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
25022 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
25023 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
25024 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
25025 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25026 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
25027 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
25028 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
25029 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
25030 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
25031 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
25032 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
25033 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
25034 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25035 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
25036 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
25037 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
25038 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
25039 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
25040 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
25041 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
25042 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
25043 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
25044 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
25045 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
25046 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
25047 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
25048 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
25049 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
25050 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
25051 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
25052 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
25053 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
25054 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
25055 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
25056 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
25057 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
25058 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
25059 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
25060 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
25061 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
25062 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
25063 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
25064 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
25065 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
25066 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
25067 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
25068 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
25069 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
25070 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
25071 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
25072 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
25073 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
25074 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS },
25075 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25076 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25077 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
25078 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
25079 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
25080 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
25081 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
25082 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
25083 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
25084 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
25085 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
25086 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
25087 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
25088 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25089 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
25090 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
25091 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
25092 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
25093 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
25094 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
25095 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
25096 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
25097 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
25098 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS },
25099 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25100 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25101 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
25102 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
25103 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
25104 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
25105 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
25106 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
25107 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
25108 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
25109 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25110 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
25111 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
25112 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
25113 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
25114 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
25115 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
25116 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
25117 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25118 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
25119 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
25120 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
25121 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
25122 { NULL, NULL }
25123 };
25124
25125
25126 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25127
25128 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
25129 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25130 }
25131 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25132 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25133 }
25134 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25135 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25136 }
25137 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25138 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25139 }
25140 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
25141 return (void *)((wxEvent *) ((wxMouseEvent *) x));
25142 }
25143 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
25144 return (void *)((wxEvent *) ((wxEraseEvent *) x));
25145 }
25146 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
25147 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
25148 }
25149 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
25150 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25151 }
25152 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
25153 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
25154 }
25155 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25156 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25157 }
25158 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
25159 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
25160 }
25161 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25162 return (void *)((wxEvent *) ((wxPyEvent *) x));
25163 }
25164 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25165 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25166 }
25167 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
25168 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
25169 }
25170 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25171 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25172 }
25173 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25174 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25175 }
25176 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25177 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25178 }
25179 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25180 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25181 }
25182 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25183 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25184 }
25185 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25186 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25187 }
25188 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25189 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25190 }
25191 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25192 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25193 }
25194 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25195 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25196 }
25197 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25198 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25199 }
25200 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25201 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25202 }
25203 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25204 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25205 }
25206 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25207 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25208 }
25209 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25210 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25211 }
25212 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25213 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25214 }
25215 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25216 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25217 }
25218 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25219 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25220 }
25221 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25222 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25223 }
25224 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
25225 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
25226 }
25227 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
25228 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25229 }
25230 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25231 return (void *)((wxEvent *) ((wxShowEvent *) x));
25232 }
25233 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25234 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25235 }
25236 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25237 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25238 }
25239 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25240 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25241 }
25242 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25243 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25244 }
25245 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25246 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25247 }
25248 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25249 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25250 }
25251 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
25252 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
25253 }
25254 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
25255 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
25256 }
25257 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
25258 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25259 }
25260 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
25261 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25262 }
25263 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
25264 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25265 }
25266 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25267 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25268 }
25269 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25270 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25271 }
25272 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25273 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25274 }
25275 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
25276 return (void *)((wxEvtHandler *) ((wxMenu *) x));
25277 }
25278 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
25279 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25280 }
25281 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
25282 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25283 }
25284 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
25285 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25286 }
25287 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
25288 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25289 }
25290 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
25291 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25292 }
25293 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
25294 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25295 }
25296 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
25297 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25298 }
25299 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
25300 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
25301 }
25302 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
25303 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
25304 }
25305 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
25306 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25307 }
25308 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
25309 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25310 }
25311 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
25312 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25313 }
25314 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
25315 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
25316 }
25317 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
25318 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25319 }
25320 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
25321 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
25322 }
25323 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
25324 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
25325 }
25326 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
25327 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
25328 }
25329 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
25330 return (void *)((wxEvtHandler *) ((wxWindow *) x));
25331 }
25332 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
25333 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25334 }
25335 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
25336 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
25337 }
25338 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
25339 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
25340 }
25341 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
25342 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25343 }
25344 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
25345 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
25346 }
25347 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
25348 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25349 }
25350 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
25351 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25352 }
25353 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
25354 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25355 }
25356 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
25357 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
25358 }
25359 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
25360 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25361 }
25362 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
25363 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
25364 }
25365 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
25366 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25367 }
25368 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
25369 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25370 }
25371 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
25372 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25373 }
25374 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
25375 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25376 }
25377 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
25378 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25379 }
25380 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
25381 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
25382 }
25383 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
25384 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25385 }
25386 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
25387 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25388 }
25389 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
25390 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25391 }
25392 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
25393 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25394 }
25395 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
25396 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25397 }
25398 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
25399 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25400 }
25401 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
25402 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25403 }
25404 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
25405 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25406 }
25407 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
25408 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
25409 }
25410 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
25411 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
25412 }
25413 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
25414 return (void *)((wxFrame *) ((wxProgressDialog *) x));
25415 }
25416 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
25417 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
25418 }
25419 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
25420 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25421 }
25422 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
25423 return (void *)((wxFrame *) ((wxMiniFrame *) x));
25424 }
25425 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
25426 return (void *)((wxFrame *) ((wxSplashScreen *) x));
25427 }
25428 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
25429 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
25430 }
25431 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
25432 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
25433 }
25434 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
25435 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25436 }
25437 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
25438 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25439 }
25440 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
25441 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25442 }
25443 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
25444 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
25445 }
25446 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
25447 return (void *)((wxObject *) ((wxSizerItem *) x));
25448 }
25449 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
25450 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
25451 }
25452 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
25453 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
25454 }
25455 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
25456 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
25457 }
25458 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
25459 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
25460 }
25461 static void *_p_wxSizerTo_p_wxObject(void *x) {
25462 return (void *)((wxObject *) ((wxSizer *) x));
25463 }
25464 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
25465 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
25466 }
25467 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
25468 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
25469 }
25470 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
25471 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25472 }
25473 static void *_p_wxEventTo_p_wxObject(void *x) {
25474 return (void *)((wxObject *) ((wxEvent *) x));
25475 }
25476 static void *_p_wxFontDataTo_p_wxObject(void *x) {
25477 return (void *)((wxObject *) ((wxFontData *) x));
25478 }
25479 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
25480 return (void *)((wxObject *) ((wxPrintData *) x));
25481 }
25482 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
25483 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
25484 }
25485 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
25486 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
25487 }
25488 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
25489 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
25490 }
25491 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
25492 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
25493 }
25494 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
25495 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
25496 }
25497 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
25498 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
25499 }
25500 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
25501 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
25502 }
25503 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
25504 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
25505 }
25506 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
25507 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
25508 }
25509 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
25510 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
25511 }
25512 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
25513 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25514 }
25515 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
25516 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
25517 }
25518 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
25519 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25520 }
25521 static void *_p_wxControlTo_p_wxObject(void *x) {
25522 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
25523 }
25524 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
25525 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
25526 }
25527 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
25528 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25529 }
25530 static void *_p_wxFSFileTo_p_wxObject(void *x) {
25531 return (void *)((wxObject *) ((wxFSFile *) x));
25532 }
25533 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
25534 return (void *)((wxObject *) ((wxFindReplaceData *) x));
25535 }
25536 static void *_p_wxPySizerTo_p_wxObject(void *x) {
25537 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
25538 }
25539 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
25540 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25541 }
25542 static void *_p_wxColourDataTo_p_wxObject(void *x) {
25543 return (void *)((wxObject *) ((wxColourData *) x));
25544 }
25545 static void *_p_wxPyEventTo_p_wxObject(void *x) {
25546 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
25547 }
25548 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
25549 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
25550 }
25551 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
25552 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
25553 }
25554 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
25555 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25556 }
25557 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
25558 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25559 }
25560 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
25561 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25562 }
25563 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
25564 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25565 }
25566 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
25567 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25568 }
25569 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
25570 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25571 }
25572 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
25573 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25574 }
25575 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
25576 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25577 }
25578 static void *_p_wxShowEventTo_p_wxObject(void *x) {
25579 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
25580 }
25581 static void *_p_wxPrinterTo_p_wxObject(void *x) {
25582 return (void *)((wxObject *) ((wxPrinter *) x));
25583 }
25584 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
25585 return (void *)((wxObject *) ((wxMenuItem *) x));
25586 }
25587 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
25588 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
25589 }
25590 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
25591 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
25592 }
25593 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
25594 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
25595 }
25596 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
25597 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
25598 }
25599 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
25600 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
25601 }
25602 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
25603 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
25604 }
25605 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
25606 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
25607 }
25608 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
25609 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
25610 }
25611 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
25612 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
25613 }
25614 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
25615 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
25616 }
25617 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
25618 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
25619 }
25620 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
25621 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
25622 }
25623 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
25624 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
25625 }
25626 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
25627 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
25628 }
25629 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
25630 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
25631 }
25632 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
25633 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
25634 }
25635 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
25636 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
25637 }
25638 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
25639 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
25640 }
25641 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
25642 return (void *)((wxObject *) ((wxImageHandler *) x));
25643 }
25644 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
25645 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
25646 }
25647 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
25648 return (void *)((wxObject *) ((wxEvtHandler *) x));
25649 }
25650 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
25651 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
25652 }
25653 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
25654 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25655 }
25656 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
25657 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25658 }
25659 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
25660 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
25661 }
25662 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
25663 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25664 }
25665 static void *_p_wxImageTo_p_wxObject(void *x) {
25666 return (void *)((wxObject *) ((wxImage *) x));
25667 }
25668 static void *_p_wxFrameTo_p_wxObject(void *x) {
25669 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25670 }
25671 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
25672 return (void *)((wxObject *) ((wxPyPrintout *) x));
25673 }
25674 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
25675 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
25676 }
25677 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
25678 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
25679 }
25680 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
25681 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
25682 }
25683 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
25684 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25685 }
25686 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
25687 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25688 }
25689 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
25690 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
25691 }
25692 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
25693 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
25694 }
25695 static void *_p_wxWindowTo_p_wxObject(void *x) {
25696 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
25697 }
25698 static void *_p_wxMenuTo_p_wxObject(void *x) {
25699 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
25700 }
25701 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
25702 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
25703 }
25704 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
25705 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25706 }
25707 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
25708 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
25709 }
25710 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
25711 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
25712 }
25713 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
25714 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
25715 }
25716 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
25717 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
25718 }
25719 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
25720 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25721 }
25722 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
25723 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
25724 }
25725 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
25726 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25727 }
25728 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
25729 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25730 }
25731 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
25732 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25733 }
25734 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
25735 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
25736 }
25737 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
25738 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25739 }
25740 static void *_p_wxSashEventTo_p_wxObject(void *x) {
25741 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
25742 }
25743 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
25744 return (void *)((wxObject *) ((wxPrintPreview *) x));
25745 }
25746 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
25747 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
25748 }
25749 static void *_p_wxPanelTo_p_wxObject(void *x) {
25750 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
25751 }
25752 static void *_p_wxDialogTo_p_wxObject(void *x) {
25753 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25754 }
25755 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
25756 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25757 }
25758 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
25759 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25760 }
25761 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
25762 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25763 }
25764 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
25765 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25766 }
25767 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
25768 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25769 }
25770 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
25771 return (void *)((wxObject *) ((wxFileSystem *) x));
25772 }
25773 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
25774 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
25775 }
25776 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
25777 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
25778 }
25779 static void *_p_wxPyAppTo_p_wxObject(void *x) {
25780 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
25781 }
25782 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
25783 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
25784 }
25785 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
25786 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
25787 }
25788 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
25789 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
25790 }
25791 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
25792 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
25793 }
25794 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
25795 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
25796 }
25797 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
25798 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25799 }
25800 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
25801 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25802 }
25803 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
25804 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
25805 }
25806 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
25807 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
25808 }
25809 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
25810 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
25811 }
25812 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
25813 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25814 }
25815 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
25816 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
25817 }
25818 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
25819 return (void *)((wxObject *) ((wxPrintDialogData *) x));
25820 }
25821 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
25822 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
25823 }
25824 static void *_p_wxValidatorTo_p_wxObject(void *x) {
25825 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
25826 }
25827 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
25828 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25829 }
25830 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
25831 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
25832 }
25833 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
25834 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25835 }
25836 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
25837 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25838 }
25839 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
25840 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25841 }
25842 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
25843 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
25844 }
25845 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
25846 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
25847 }
25848 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
25849 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
25850 }
25851 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
25852 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
25853 }
25854 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
25855 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
25856 }
25857 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
25858 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
25859 }
25860 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
25861 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
25862 }
25863 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
25864 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
25865 }
25866 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
25867 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
25868 }
25869 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
25870 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
25871 }
25872 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
25873 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
25874 }
25875 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
25876 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
25877 }
25878 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
25879 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
25880 }
25881 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
25882 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
25883 }
25884 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
25885 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
25886 }
25887 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
25888 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
25889 }
25890 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
25891 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
25892 }
25893 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
25894 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
25895 }
25896 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
25897 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
25898 }
25899 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
25900 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
25901 }
25902 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
25903 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25904 }
25905 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
25906 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25907 }
25908 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
25909 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25910 }
25911 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
25912 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
25913 }
25914 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
25915 return (void *)((wxWindow *) ((wxMenuBar *) x));
25916 }
25917 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
25918 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25919 }
25920 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
25921 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25922 }
25923 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
25924 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25925 }
25926 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
25927 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25928 }
25929 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
25930 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25931 }
25932 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
25933 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25934 }
25935 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
25936 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25937 }
25938 static void *_p_wxPanelTo_p_wxWindow(void *x) {
25939 return (void *)((wxWindow *) ((wxPanel *) x));
25940 }
25941 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
25942 return (void *)((wxWindow *) ((wxStatusBar *) x));
25943 }
25944 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
25945 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
25946 }
25947 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
25948 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
25949 }
25950 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
25951 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25952 }
25953 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
25954 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25955 }
25956 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
25957 return (void *)((wxWindow *) ((wxPopupWindow *) x));
25958 }
25959 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
25960 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
25961 }
25962 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
25963 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
25964 }
25965 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
25966 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
25967 }
25968 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
25969 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
25970 }
25971 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
25972 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
25973 }
25974 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
25975 return (void *)((wxWindow *) ((wxSashWindow *) x));
25976 }
25977 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
25978 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25979 }
25980 static void *_p_wxControlTo_p_wxWindow(void *x) {
25981 return (void *)((wxWindow *) ((wxControl *) x));
25982 }
25983 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
25984 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25985 }
25986 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
25987 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25988 }
25989 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
25990 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25991 }
25992 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
25993 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
25994 }
25995 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
25996 return (void *)((wxWindow *) ((wxPyWindow *) x));
25997 }
25998 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
25999 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26000 }
26001 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
26002 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26003 }
26004 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
26005 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26006 }
26007 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
26008 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
26009 }
26010 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
26011 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26012 }
26013 static void *_p_wxFrameTo_p_wxWindow(void *x) {
26014 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
26015 }
26016 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
26017 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26018 }
26019 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
26020 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26021 }
26022 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
26023 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26024 }
26025 static void *_p_wxDialogTo_p_wxWindow(void *x) {
26026 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
26027 }
26028 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
26029 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26030 }
26031 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
26032 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26033 }
26034 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
26035 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26036 }
26037 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
26038 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26039 }
26040 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
26041 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
26042 }
26043 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
26044 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
26045 }
26046 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
26047 return (void *)((wxDialog *) ((wxColourDialog *) x));
26048 }
26049 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
26050 return (void *)((wxDialog *) ((wxDirDialog *) x));
26051 }
26052 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
26053 return (void *)((wxDialog *) ((wxFontDialog *) x));
26054 }
26055 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
26056 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
26057 }
26058 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
26059 return (void *)((wxDialog *) ((wxPrintDialog *) x));
26060 }
26061 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
26062 return (void *)((wxDialog *) ((wxFileDialog *) x));
26063 }
26064 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
26065 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
26066 }
26067 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
26068 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
26069 }
26070 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
26071 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
26072 }
26073 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
26074 return (void *)((wxDialog *) ((wxMessageDialog *) x));
26075 }
26076 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
26077 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
26078 }
26079 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
26080 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
26081 }
26082 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
26083 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
26084 }
26085 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
26086 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26087 }
26088 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
26089 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26090 }
26091 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
26092 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26093 }
26094 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
26095 return (void *)((wxPanel *) ((wxPyPanel *) x));
26096 }
26097 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
26098 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
26099 }
26100 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
26101 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
26102 }
26103 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
26104 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26105 }
26106 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
26107 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
26108 }
26109 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
26110 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
26111 }
26112 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
26113 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
26114 }
26115 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
26116 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
26117 }
26118 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
26119 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
26120 }
26121 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
26122 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26123 }
26124 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
26125 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
26126 }
26127 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
26128 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
26129 }
26130 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
26131 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
26132 }
26133 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
26134 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
26135 }
26136 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
26137 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
26138 }
26139 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
26140 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26141 }
26142 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26143 static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0, 0, 0, 0},{"_p_wxPreviewFrame", 0, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26144 static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0, 0, 0, 0},{"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26145 static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0, 0, 0, 0},{"_p_wxPyPanel", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26146 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0, 0, 0, 0},{"_p_wxMenu", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26147 static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0, 0, 0, 0},{"_p_wxPrintData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26148 static swig_type_info _swigt__p_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0, 0, 0, 0},{"_p_wxFontData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26149 static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26150 static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0, 0, 0, 0},{"_p_wxTaskBarIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26151 static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0, 0, 0, 0},{"_p_wxIconBundle", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26152 static swig_type_info _swigt__p_wxLayoutAlgorithm[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26153 static swig_type_info _swigt__p_wxFindDialogEvent[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0, 0, 0, 0},{"_p_wxFindDialogEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26154 static swig_type_info _swigt__p_wxPreviewCanvas[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0, 0, 0, 0},{"_p_wxPreviewCanvas", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26155 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26156 static swig_type_info _swigt__p_wxSplitterEvent[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0, 0, 0, 0},{"_p_wxSplitterEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26157 static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0, 0, 0, 0},{"_p_wxRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26158 static swig_type_info _swigt__p_wxFindReplaceData[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0, 0, 0, 0},{"_p_wxFindReplaceData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26159 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26160 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26161 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26162 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26163 static swig_type_info _swigt__p_wxMDIChildFrame[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26164 static swig_type_info _swigt__p_wxColourData[] = {{"_p_wxColourData", 0, "wxColourData *", 0, 0, 0, 0},{"_p_wxColourData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26165 static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26166 static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0, 0, 0, 0},{"_p_wxPyWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26167 static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0, 0, 0, 0},{"_p_wxSplashScreen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26168 static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0, 0, 0, 0},{"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26169 static swig_type_info _swigt__p_wxProgressDialog[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0, 0, 0, 0},{"_p_wxProgressDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26170 static swig_type_info _swigt__p_wxMessageDialog[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0, 0, 0, 0},{"_p_wxMessageDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26171 static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0, 0, 0, 0},{"_p_wxTextEntryDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26172 static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26173 static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26174 static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0, 0, 0, 0},{"_p_wxFileDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26175 static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0, 0, 0, 0},{"_p_wxPrinter", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26176 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0, 0, 0, 0},{"_p_wxArrayInt", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26177 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26178 static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26179 static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0, 0, 0, 0},{"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26180 static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0, 0, 0, 0},{"_p_wxPyVListBox", 0, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26181 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26182 static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26183 static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0, 0, 0, 0},{"_p_wxMiniFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26184 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26185 static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0, 0, 0, 0},{"_p_wxPyPrintout", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26186 static swig_type_info _swigt__p_wxTaskBarIconEvent[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26187 static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0, 0, 0, 0},{"_p_wxScrollWinEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26188 static swig_type_info _swigt__p_wxStatusBar[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0, 0, 0, 0},{"_p_wxStatusBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26189 static swig_type_info _swigt__p_wxMDIParentFrame[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0, 0, 0, 0},{"_p_wxMDIParentFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26190 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26191 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26192 static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0, 0, 0, 0},{"_p_wxOutputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26193 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26194 static swig_type_info _swigt__p_wxPyScrolledWindow[] = {{"_p_wxPyScrolledWindow", 0, "wxPyScrolledWindow *", 0, 0, 0, 0},{"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26195 static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0, 0, 0, 0},{"_p_wxMDIClientWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26196 static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0, 0, 0, 0},{"_p_wxTipWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26197 static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0, 0, 0, 0},{"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26198 static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0, 0, 0, 0},{"_p_wxSplitterWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26199 static swig_type_info _swigt__p_wxPyVScrolledWindow[] = {{"_p_wxPyVScrolledWindow", 0, "wxPyVScrolledWindow *", 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPyVScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26200 static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26201 static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0, 0, 0, 0},{"_p_wxPopupWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26202 static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0, 0, 0, 0},{"_p_wxSashWindow", 0, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26203 static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26204 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26205 static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26206 static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0, 0, 0, 0},{"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26207 static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0, 0, 0, 0},{"_p_wxMenuBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26208 static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0, 0, 0, 0},{"_p_wxPrintPreview", 0, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26209 static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0, 0, 0, 0},{"_p_wxSashEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26210 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26211 static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0, 0, 0, 0},{"_p_wxPyPrintPreview", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26212 static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0, 0, 0, 0},{"_p_wxFontDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26213 static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0, 0, 0, 0},{"_p_wxDirDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26214 static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0, 0, 0, 0},{"_p_wxColourDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26215 static swig_type_info _swigt__p_wxDialog[] = {{"_p_wxDialog", 0, "wxDialog *", 0, 0, 0, 0},{"_p_wxDialog", 0, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26216 static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26217 static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0, 0, 0, 0},{"_p_wxPageSetupDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26218 static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0, 0, 0, 0},{"_p_wxPrintDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26219 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26220 static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26221 static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0, 0, 0, 0},{"_p_wxPreviewControlBar", 0, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26222 static swig_type_info _swigt__p_wxPyPreviewControlBar[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26223 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26224 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0, 0, 0, 0},{"_p_wxToolBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26225 static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0, 0, 0, 0},{"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26226 static swig_type_info _swigt__p_wxPrintDialogData[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0, 0, 0, 0},{"_p_wxPrintDialogData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26227
26228 static swig_type_info *swig_types_initial[] = {
26229 _swigt__p_wxQueryLayoutInfoEvent,
26230 _swigt__p_wxPreviewFrame,
26231 _swigt__p_wxPyPreviewFrame,
26232 _swigt__p_wxPyPanel,
26233 _swigt__p_wxMenu,
26234 _swigt__p_wxPrintData,
26235 _swigt__p_wxFontData,
26236 _swigt__p_wxEvent,
26237 _swigt__p_wxTaskBarIcon,
26238 _swigt__p_wxIconBundle,
26239 _swigt__p_wxLayoutAlgorithm,
26240 _swigt__p_wxFindDialogEvent,
26241 _swigt__p_wxPreviewCanvas,
26242 _swigt__p_wxFont,
26243 _swigt__p_wxSplitterEvent,
26244 _swigt__p_wxRegion,
26245 _swigt__p_wxFindReplaceData,
26246 _swigt__p_int,
26247 _swigt__p_wxSize,
26248 _swigt__p_wxDC,
26249 _swigt__p_wxIcon,
26250 _swigt__p_wxMDIChildFrame,
26251 _swigt__p_wxColourData,
26252 _swigt__p_wxNotifyEvent,
26253 _swigt__p_wxPyWindow,
26254 _swigt__p_wxSplashScreen,
26255 _swigt__p_wxFindReplaceDialog,
26256 _swigt__p_wxProgressDialog,
26257 _swigt__p_wxMessageDialog,
26258 _swigt__p_wxTextEntryDialog,
26259 _swigt__p_wxSingleChoiceDialog,
26260 _swigt__p_wxMultiChoiceDialog,
26261 _swigt__p_wxFileDialog,
26262 _swigt__p_wxPrinter,
26263 _swigt__p_wxArrayInt,
26264 _swigt__p_wxEvtHandler,
26265 _swigt__p_wxCalculateLayoutEvent,
26266 _swigt__p_wxPyHtmlListBox,
26267 _swigt__p_wxPyVListBox,
26268 _swigt__p_wxRect,
26269 _swigt__p_char,
26270 _swigt__p_wxMiniFrame,
26271 _swigt__p_wxFrame,
26272 _swigt__p_wxPyPrintout,
26273 _swigt__p_wxTaskBarIconEvent,
26274 _swigt__p_wxScrollWinEvent,
26275 _swigt__p_wxStatusBar,
26276 _swigt__p_wxMDIParentFrame,
26277 _swigt__p_wxPoint,
26278 _swigt__p_wxObject,
26279 _swigt__p_wxOutputStream,
26280 _swigt__p_unsigned_long,
26281 _swigt__p_wxPyScrolledWindow,
26282 _swigt__p_wxMDIClientWindow,
26283 _swigt__p_wxTipWindow,
26284 _swigt__p_wxSashLayoutWindow,
26285 _swigt__p_wxSplitterWindow,
26286 _swigt__p_wxPyVScrolledWindow,
26287 _swigt__p_wxPyPopupTransientWindow,
26288 _swigt__p_wxPopupWindow,
26289 _swigt__p_wxSashWindow,
26290 _swigt__p_wxTopLevelWindow,
26291 _swigt__p_wxWindow,
26292 _swigt__p_wxScrolledWindow,
26293 _swigt__p_wxSplashScreenWindow,
26294 _swigt__p_wxMenuBar,
26295 _swigt__p_wxPrintPreview,
26296 _swigt__p_wxSashEvent,
26297 _swigt__p_wxString,
26298 _swigt__p_wxPyPrintPreview,
26299 _swigt__p_wxFontDialog,
26300 _swigt__p_wxDirDialog,
26301 _swigt__p_wxColourDialog,
26302 _swigt__p_wxDialog,
26303 _swigt__p_wxPanel,
26304 _swigt__p_wxPageSetupDialog,
26305 _swigt__p_wxPrintDialog,
26306 _swigt__p_wxBitmap,
26307 _swigt__p_wxCommandEvent,
26308 _swigt__p_wxPreviewControlBar,
26309 _swigt__p_wxPyPreviewControlBar,
26310 _swigt__p_wxColour,
26311 _swigt__p_wxToolBar,
26312 _swigt__p_wxPageSetupDialogData,
26313 _swigt__p_wxPrintDialogData,
26314 0
26315 };
26316
26317
26318 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26319
26320 static swig_const_info swig_const_table[] = {
26321 {0}};
26322
26323 #ifdef __cplusplus
26324 }
26325 #endif
26326
26327 #ifdef __cplusplus
26328 extern "C"
26329 #endif
26330 SWIGEXPORT(void) SWIG_init(void) {
26331 static PyObject *SWIG_globals = 0;
26332 static int typeinit = 0;
26333 PyObject *m, *d;
26334 int i;
26335 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
26336 m = Py_InitModule((char *) SWIG_name, SwigMethods);
26337 d = PyModule_GetDict(m);
26338
26339 if (!typeinit) {
26340 for (i = 0; swig_types_initial[i]; i++) {
26341 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
26342 }
26343 typeinit = 1;
26344 }
26345 SWIG_InstallConstants(d,swig_const_table);
26346
26347 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
26348 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
26349 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
26350 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
26351 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
26352 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR));
26353 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR));
26354 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR));
26355 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER));
26356 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION));
26357 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL));
26358 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG));
26359 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT));
26360 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN));
26361 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE));
26362 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT));
26363 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT));
26364 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
26365 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER));
26366 PyDict_SetItemString(d,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH));
26367 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT));
26368 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE));
26369 PyDict_SetItemString(d,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH));
26370 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER));
26371 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME));
26372 PyDict_SetItemString(d,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER));
26373 PyDict_SetItemString(d,"SP_3D", SWIG_FromInt((int)wxSP_3D));
26374 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL));
26375 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL));
26376 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE));
26377 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING));
26378 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN));
26379 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
26380 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
26381 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
26382 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
26383 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
26384 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
26385 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE));
26386 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING));
26387 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN));
26388 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER));
26389 PyDict_SetItemString(d,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER));
26390 PyDict_SetItemString(d,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH));
26391 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER));
26392 PyDict_SetItemString(d,"SW_3D", SWIG_FromInt((int)wxSW_3D));
26393 PyDict_SetItemString(d,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP));
26394 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT));
26395 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM));
26396 PyDict_SetItemString(d,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT));
26397 PyDict_SetItemString(d,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE));
26398 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK));
26399 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE));
26400 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
26401 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL));
26402 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL));
26403 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE));
26404 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP));
26405 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT));
26406 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT));
26407 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM));
26408 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y));
26409 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X));
26410 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH));
26411 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY));
26412 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
26413 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
26414 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
26415
26416 // Map renamed classes back to their common name for OOR
26417 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26418 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26419 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26420
26421 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
26422 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
26423 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
26424 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
26425 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
26426 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
26427 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
26428 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
26429 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
26430 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
26431 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
26432 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
26433 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
26434 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE));
26435 PyDict_SetItemString(d,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN));
26436 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD));
26437 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE));
26438 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG));
26439 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN));
26440 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE));
26441 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD));
26442 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
26443 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
26444 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
26445 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
26446 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
26447 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26448 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26449 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26450 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26451 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26452 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26453 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26454 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26455 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
26456 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
26457 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE));
26458 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW));
26459 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE));
26460 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER));
26461 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM));
26462 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR));
26463 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED));
26464 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR));
26465 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT));
26466 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS));
26467 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT));
26468 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM));
26469 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST));
26470 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST));
26471 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO));
26472 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT));
26473 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE));
26474 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT));
26475 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS));
26476 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT));
26477 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM));
26478 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST));
26479 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST));
26480 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO));
26481
26482 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
26483
26484 }
26485