]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/windows_wrap.cpp
embedded sample compiles again
[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 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
829 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
830 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
831 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
832 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
833 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
834 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
835 wxArrayString arr;
836 self->GetFilenames(arr);
837 return wxArrayString2PyList_helper(arr);
838 }
839 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
840 wxArrayString arr;
841 self->GetPaths(arr);
842 return wxArrayString2PyList_helper(arr);
843 }
844 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
845 return wxArrayInt2PyList_helper(self->GetSelections());
846 }
847 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
848 return new wxSingleChoiceDialog(parent, message, caption,
849 choices, choices_array, NULL, style, pos);
850 }
851
852 #include <wx/mdi.h>
853
854 // C++ version of Python aware wxWindow
855 class wxPyWindow : public wxWindow
856 {
857 DECLARE_DYNAMIC_CLASS(wxPyWindow)
858 public:
859 wxPyWindow() : wxWindow() {}
860 wxPyWindow(wxWindow* parent, const wxWindowID id,
861 const wxPoint& pos = wxDefaultPosition,
862 const wxSize& size = wxDefaultSize,
863 long style = 0,
864 const wxString& name = wxPyPanelNameStr)
865 : wxWindow(parent, id, pos, size, style, name) {}
866
867
868 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
869 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
870 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
871 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
872
873 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
874 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
875 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
876
877 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
878 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
879
880 DEC_PYCALLBACK__(InitDialog);
881 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
882 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
883 DEC_PYCALLBACK_BOOL_(Validate);
884
885 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
886 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
887 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
888
889 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
890 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
891
892 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
893 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
894
895 PYPRIVATE;
896 };
897
898 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
899
900 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
901 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
902 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
903 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
904
905 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
906 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
907 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
908
909 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
910 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
911
912 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
913 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
914 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
915 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
916
917 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
918 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
919 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
920
921 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
922 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
923
924 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, ShouldInheritColours);
925 IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
926
927
928 // C++ version of Python aware wxPanel
929 class wxPyPanel : public wxPanel
930 {
931 DECLARE_DYNAMIC_CLASS(wxPyPanel)
932 public:
933 wxPyPanel() : wxPanel() {}
934 wxPyPanel(wxWindow* parent, const wxWindowID id,
935 const wxPoint& pos = wxDefaultPosition,
936 const wxSize& size = wxDefaultSize,
937 long style = 0,
938 const wxString& name = wxPyPanelNameStr)
939 : wxPanel(parent, id, pos, size, style, name) {}
940
941
942 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
943 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
944 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
945 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
946
947 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
948 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
949 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
950
951 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
952 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
953
954 DEC_PYCALLBACK__(InitDialog);
955 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
956 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
957 DEC_PYCALLBACK_BOOL_(Validate);
958
959 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
960 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
961 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
962
963 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
964 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
965
966 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
967 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
968
969 PYPRIVATE;
970 };
971
972 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
973
974 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
975 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
976 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
977 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
978
979 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
980 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
981 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
982
983 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
984 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
985
986 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
987 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
988 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
989 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
990
991 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
992 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
993 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
994
995 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
996 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
997
998 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, ShouldInheritColours);
999 IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
1000
1001 // C++ version of Python aware wxScrolledWindow
1002 class wxPyScrolledWindow : public wxScrolledWindow
1003 {
1004 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
1005 public:
1006 wxPyScrolledWindow() : wxScrolledWindow() {}
1007 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
1008 const wxPoint& pos = wxDefaultPosition,
1009 const wxSize& size = wxDefaultSize,
1010 long style = 0,
1011 const wxString& name = wxPyPanelNameStr)
1012 : wxScrolledWindow(parent, id, pos, size, style, name) {}
1013
1014
1015 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1016 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1017 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1018 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1019
1020 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1021 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1022 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1023
1024 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1025 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1026
1027 DEC_PYCALLBACK__(InitDialog);
1028 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1029 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1030 DEC_PYCALLBACK_BOOL_(Validate);
1031
1032 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1033 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1034 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1035
1036 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1037 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1038
1039 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
1040 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1041
1042 PYPRIVATE;
1043 };
1044
1045 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
1046
1047 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
1048 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
1049 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
1050 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
1051
1052 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
1053 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
1054 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
1055
1056 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
1057 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
1058
1059 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
1060 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
1061 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
1062 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
1063
1064 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
1065 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
1066 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
1067
1068 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
1069 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
1070
1071 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
1072 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
1073
1074
1075 #include "wx/wxPython/printfw.h"
1076
1077
1078 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
1079 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1080
1081
1082
1083 // Since this one would be tough and ugly to do with the Macros...
1084 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1085 bool hadErr = False;
1086 bool found;
1087
1088 bool blocked = wxPyBeginBlockThreads();
1089 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
1090 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1091 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
1092 PyObject* val;
1093
1094 val = PyTuple_GetItem(result, 0);
1095 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
1096 else hadErr = True;
1097
1098 val = PyTuple_GetItem(result, 1);
1099 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
1100 else hadErr = True;
1101
1102 val = PyTuple_GetItem(result, 2);
1103 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
1104 else hadErr = True;
1105
1106 val = PyTuple_GetItem(result, 3);
1107 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
1108 else hadErr = True;
1109 }
1110 else
1111 hadErr = True;
1112
1113 if (hadErr) {
1114 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1115 PyErr_Print();
1116 }
1117 Py_DECREF(result);
1118 }
1119 wxPyEndBlockThreads(blocked);
1120 if (! found)
1121 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1122 }
1123
1124 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1125 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1126 }
1127
1128
1129 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1130 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1131 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1132 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1133 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1134 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1135 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1136
1137
1138
1139
1140
1141 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1142 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1143 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1144
1145
1146 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1147 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1148 bool rval=False; \
1149 bool found; \
1150 bool blocked = wxPyBeginBlockThreads(); \
1151 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1152 PyObject* win = wxPyMake_wxObject(a); \
1153 PyObject* dc = wxPyMake_wxObject(&b); \
1154 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1155 Py_DECREF(win); \
1156 Py_DECREF(dc); \
1157 } \
1158 wxPyEndBlockThreads(blocked); \
1159 if (! found) \
1160 rval = PCLASS::CBNAME(a, b); \
1161 return rval; \
1162 } \
1163 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1164 return PCLASS::CBNAME(a, b); \
1165 }
1166
1167
1168
1169
1170 class wxPyPrintPreview : public wxPrintPreview
1171 {
1172 DECLARE_CLASS(wxPyPrintPreview)
1173 public:
1174 wxPyPrintPreview(wxPyPrintout* printout,
1175 wxPyPrintout* printoutForPrinting,
1176 wxPrintDialogData* data=NULL)
1177 : wxPrintPreview(printout, printoutForPrinting, data)
1178 {}
1179 wxPyPrintPreview(wxPyPrintout* printout,
1180 wxPyPrintout* printoutForPrinting,
1181 wxPrintData* data=NULL)
1182 : wxPrintPreview(printout, printoutForPrinting, data)
1183 {}
1184
1185 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1186 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1187 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1188 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1189 DEC_PYCALLBACK_VOID_INT(SetZoom);
1190 DEC_PYCALLBACK_BOOL_BOOL(Print);
1191 DEC_PYCALLBACK_VOID_(DetermineScaling);
1192
1193 PYPRIVATE;
1194 };
1195
1196 // Stupid renamed classes... Fix this in 2.5...
1197 #if defined(__WXMSW__)
1198 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1199 #elif defined(__WXMAC__)
1200 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1201 #else
1202 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1203 #endif
1204
1205 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1206 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1207 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1208 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1209 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1210 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1211 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1212
1213
1214 class wxPyPreviewFrame : public wxPreviewFrame
1215 {
1216 DECLARE_CLASS(wxPyPreviewFrame);
1217 public:
1218 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1219 const wxString& title,
1220 const wxPoint& pos = wxDefaultPosition,
1221 const wxSize& size = wxDefaultSize,
1222 long style = wxDEFAULT_FRAME_STYLE,
1223 const wxString& name = wxPyFrameNameStr)
1224 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1225 {}
1226
1227 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1228 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1229
1230 DEC_PYCALLBACK_VOID_(Initialize);
1231 DEC_PYCALLBACK_VOID_(CreateCanvas);
1232 DEC_PYCALLBACK_VOID_(CreateControlBar);
1233
1234 PYPRIVATE;
1235 };
1236
1237 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1238
1239 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1240 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1241 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1242
1243
1244 class wxPyPreviewControlBar : public wxPreviewControlBar
1245 {
1246 DECLARE_CLASS(wxPyPreviewControlBar);
1247 public:
1248 wxPyPreviewControlBar(wxPrintPreview *preview,
1249 long buttons,
1250 wxWindow *parent,
1251 const wxPoint& pos = wxDefaultPosition,
1252 const wxSize& size = wxDefaultSize,
1253 long style = 0,
1254 const wxString& name = wxPyPanelNameStr)
1255 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1256 {}
1257
1258 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1259
1260 DEC_PYCALLBACK_VOID_(CreateButtons);
1261 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1262
1263 PYPRIVATE;
1264 };
1265
1266 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1267 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1268 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1269
1270 #ifdef __cplusplus
1271 extern "C" {
1272 #endif
1273 static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
1274 PyObject *resultobj;
1275 wxWindow *arg1 = (wxWindow *) 0 ;
1276 int arg2 = (int) (int)-1 ;
1277 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1278 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1279 wxSize const &arg4_defvalue = wxDefaultSize ;
1280 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1281 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1282 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1283 wxString *arg6 = (wxString *) &arg6_defvalue ;
1284 wxPanel *result;
1285 wxPoint temp3 ;
1286 wxSize temp4 ;
1287 bool temp6 = False ;
1288 PyObject * obj0 = 0 ;
1289 PyObject * obj1 = 0 ;
1290 PyObject * obj2 = 0 ;
1291 PyObject * obj3 = 0 ;
1292 PyObject * obj4 = 0 ;
1293 PyObject * obj5 = 0 ;
1294 char *kwnames[] = {
1295 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1296 };
1297
1298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1301 if (obj1) {
1302 arg2 = (int const) SWIG_AsInt(obj1);
1303 if (PyErr_Occurred()) SWIG_fail;
1304 }
1305 if (obj2) {
1306 {
1307 arg3 = &temp3;
1308 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1309 }
1310 }
1311 if (obj3) {
1312 {
1313 arg4 = &temp4;
1314 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1315 }
1316 }
1317 if (obj4) {
1318 arg5 = (long) SWIG_AsLong(obj4);
1319 if (PyErr_Occurred()) SWIG_fail;
1320 }
1321 if (obj5) {
1322 {
1323 arg6 = wxString_in_helper(obj5);
1324 if (arg6 == NULL) SWIG_fail;
1325 temp6 = True;
1326 }
1327 }
1328 {
1329 PyThreadState* __tstate = wxPyBeginAllowThreads();
1330 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1331
1332 wxPyEndAllowThreads(__tstate);
1333 if (PyErr_Occurred()) SWIG_fail;
1334 }
1335 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1336 {
1337 if (temp6)
1338 delete arg6;
1339 }
1340 return resultobj;
1341 fail:
1342 {
1343 if (temp6)
1344 delete arg6;
1345 }
1346 return NULL;
1347 }
1348
1349
1350 static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1351 PyObject *resultobj;
1352 wxPanel *result;
1353 char *kwnames[] = {
1354 NULL
1355 };
1356
1357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1358 {
1359 PyThreadState* __tstate = wxPyBeginAllowThreads();
1360 result = (wxPanel *)new wxPanel();
1361
1362 wxPyEndAllowThreads(__tstate);
1363 if (PyErr_Occurred()) SWIG_fail;
1364 }
1365 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1366 return resultobj;
1367 fail:
1368 return NULL;
1369 }
1370
1371
1372 static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1373 PyObject *resultobj;
1374 wxPanel *arg1 = (wxPanel *) 0 ;
1375 wxWindow *arg2 = (wxWindow *) 0 ;
1376 int arg3 ;
1377 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1378 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1379 wxSize const &arg5_defvalue = wxDefaultSize ;
1380 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1381 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1382 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1383 wxString *arg7 = (wxString *) &arg7_defvalue ;
1384 bool result;
1385 wxPoint temp4 ;
1386 wxSize temp5 ;
1387 bool temp7 = False ;
1388 PyObject * obj0 = 0 ;
1389 PyObject * obj1 = 0 ;
1390 PyObject * obj2 = 0 ;
1391 PyObject * obj3 = 0 ;
1392 PyObject * obj4 = 0 ;
1393 PyObject * obj5 = 0 ;
1394 PyObject * obj6 = 0 ;
1395 char *kwnames[] = {
1396 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1397 };
1398
1399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1402 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1404 arg3 = (int const) SWIG_AsInt(obj2);
1405 if (PyErr_Occurred()) SWIG_fail;
1406 if (obj3) {
1407 {
1408 arg4 = &temp4;
1409 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1410 }
1411 }
1412 if (obj4) {
1413 {
1414 arg5 = &temp5;
1415 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1416 }
1417 }
1418 if (obj5) {
1419 arg6 = (long) SWIG_AsLong(obj5);
1420 if (PyErr_Occurred()) SWIG_fail;
1421 }
1422 if (obj6) {
1423 {
1424 arg7 = wxString_in_helper(obj6);
1425 if (arg7 == NULL) SWIG_fail;
1426 temp7 = True;
1427 }
1428 }
1429 {
1430 PyThreadState* __tstate = wxPyBeginAllowThreads();
1431 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1432
1433 wxPyEndAllowThreads(__tstate);
1434 if (PyErr_Occurred()) SWIG_fail;
1435 }
1436 {
1437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1438 }
1439 {
1440 if (temp7)
1441 delete arg7;
1442 }
1443 return resultobj;
1444 fail:
1445 {
1446 if (temp7)
1447 delete arg7;
1448 }
1449 return NULL;
1450 }
1451
1452
1453 static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1454 PyObject *resultobj;
1455 wxPanel *arg1 = (wxPanel *) 0 ;
1456 PyObject * obj0 = 0 ;
1457 char *kwnames[] = {
1458 (char *) "self", NULL
1459 };
1460
1461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1464 {
1465 PyThreadState* __tstate = wxPyBeginAllowThreads();
1466 (arg1)->InitDialog();
1467
1468 wxPyEndAllowThreads(__tstate);
1469 if (PyErr_Occurred()) SWIG_fail;
1470 }
1471 Py_INCREF(Py_None); resultobj = Py_None;
1472 return resultobj;
1473 fail:
1474 return NULL;
1475 }
1476
1477
1478 static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1479 PyObject *obj;
1480 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1481 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1482 Py_INCREF(obj);
1483 return Py_BuildValue((char *)"");
1484 }
1485 static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1486 PyObject *resultobj;
1487 wxWindow *arg1 = (wxWindow *) 0 ;
1488 int arg2 = (int) (int)-1 ;
1489 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1490 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1491 wxSize const &arg4_defvalue = wxDefaultSize ;
1492 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1493 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1494 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1495 wxString *arg6 = (wxString *) &arg6_defvalue ;
1496 wxScrolledWindow *result;
1497 wxPoint temp3 ;
1498 wxSize temp4 ;
1499 bool temp6 = False ;
1500 PyObject * obj0 = 0 ;
1501 PyObject * obj1 = 0 ;
1502 PyObject * obj2 = 0 ;
1503 PyObject * obj3 = 0 ;
1504 PyObject * obj4 = 0 ;
1505 PyObject * obj5 = 0 ;
1506 char *kwnames[] = {
1507 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1508 };
1509
1510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1513 if (obj1) {
1514 arg2 = (int const) SWIG_AsInt(obj1);
1515 if (PyErr_Occurred()) SWIG_fail;
1516 }
1517 if (obj2) {
1518 {
1519 arg3 = &temp3;
1520 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1521 }
1522 }
1523 if (obj3) {
1524 {
1525 arg4 = &temp4;
1526 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1527 }
1528 }
1529 if (obj4) {
1530 arg5 = (long) SWIG_AsLong(obj4);
1531 if (PyErr_Occurred()) SWIG_fail;
1532 }
1533 if (obj5) {
1534 {
1535 arg6 = wxString_in_helper(obj5);
1536 if (arg6 == NULL) SWIG_fail;
1537 temp6 = True;
1538 }
1539 }
1540 {
1541 PyThreadState* __tstate = wxPyBeginAllowThreads();
1542 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1543
1544 wxPyEndAllowThreads(__tstate);
1545 if (PyErr_Occurred()) SWIG_fail;
1546 }
1547 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1548 {
1549 if (temp6)
1550 delete arg6;
1551 }
1552 return resultobj;
1553 fail:
1554 {
1555 if (temp6)
1556 delete arg6;
1557 }
1558 return NULL;
1559 }
1560
1561
1562 static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1563 PyObject *resultobj;
1564 wxScrolledWindow *result;
1565 char *kwnames[] = {
1566 NULL
1567 };
1568
1569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1570 {
1571 PyThreadState* __tstate = wxPyBeginAllowThreads();
1572 result = (wxScrolledWindow *)new wxScrolledWindow();
1573
1574 wxPyEndAllowThreads(__tstate);
1575 if (PyErr_Occurred()) SWIG_fail;
1576 }
1577 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1578 return resultobj;
1579 fail:
1580 return NULL;
1581 }
1582
1583
1584 static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1585 PyObject *resultobj;
1586 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1587 wxWindow *arg2 = (wxWindow *) 0 ;
1588 int arg3 = (int) (int)-1 ;
1589 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1590 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1591 wxSize const &arg5_defvalue = wxDefaultSize ;
1592 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1593 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1594 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1595 wxString *arg7 = (wxString *) &arg7_defvalue ;
1596 bool result;
1597 wxPoint temp4 ;
1598 wxSize temp5 ;
1599 bool temp7 = False ;
1600 PyObject * obj0 = 0 ;
1601 PyObject * obj1 = 0 ;
1602 PyObject * obj2 = 0 ;
1603 PyObject * obj3 = 0 ;
1604 PyObject * obj4 = 0 ;
1605 PyObject * obj5 = 0 ;
1606 PyObject * obj6 = 0 ;
1607 char *kwnames[] = {
1608 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1609 };
1610
1611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1614 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1616 if (obj2) {
1617 arg3 = (int const) SWIG_AsInt(obj2);
1618 if (PyErr_Occurred()) SWIG_fail;
1619 }
1620 if (obj3) {
1621 {
1622 arg4 = &temp4;
1623 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1624 }
1625 }
1626 if (obj4) {
1627 {
1628 arg5 = &temp5;
1629 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1630 }
1631 }
1632 if (obj5) {
1633 arg6 = (long) SWIG_AsLong(obj5);
1634 if (PyErr_Occurred()) SWIG_fail;
1635 }
1636 if (obj6) {
1637 {
1638 arg7 = wxString_in_helper(obj6);
1639 if (arg7 == NULL) SWIG_fail;
1640 temp7 = True;
1641 }
1642 }
1643 {
1644 PyThreadState* __tstate = wxPyBeginAllowThreads();
1645 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1646
1647 wxPyEndAllowThreads(__tstate);
1648 if (PyErr_Occurred()) SWIG_fail;
1649 }
1650 {
1651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1652 }
1653 {
1654 if (temp7)
1655 delete arg7;
1656 }
1657 return resultobj;
1658 fail:
1659 {
1660 if (temp7)
1661 delete arg7;
1662 }
1663 return NULL;
1664 }
1665
1666
1667 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1668 PyObject *resultobj;
1669 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1670 int arg2 ;
1671 int arg3 ;
1672 int arg4 ;
1673 int arg5 ;
1674 int arg6 = (int) 0 ;
1675 int arg7 = (int) 0 ;
1676 bool arg8 = (bool) False ;
1677 PyObject * obj0 = 0 ;
1678 PyObject * obj1 = 0 ;
1679 PyObject * obj2 = 0 ;
1680 PyObject * obj3 = 0 ;
1681 PyObject * obj4 = 0 ;
1682 PyObject * obj5 = 0 ;
1683 PyObject * obj6 = 0 ;
1684 PyObject * obj7 = 0 ;
1685 char *kwnames[] = {
1686 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1687 };
1688
1689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1692 arg2 = (int) SWIG_AsInt(obj1);
1693 if (PyErr_Occurred()) SWIG_fail;
1694 arg3 = (int) SWIG_AsInt(obj2);
1695 if (PyErr_Occurred()) SWIG_fail;
1696 arg4 = (int) SWIG_AsInt(obj3);
1697 if (PyErr_Occurred()) SWIG_fail;
1698 arg5 = (int) SWIG_AsInt(obj4);
1699 if (PyErr_Occurred()) SWIG_fail;
1700 if (obj5) {
1701 arg6 = (int) SWIG_AsInt(obj5);
1702 if (PyErr_Occurred()) SWIG_fail;
1703 }
1704 if (obj6) {
1705 arg7 = (int) SWIG_AsInt(obj6);
1706 if (PyErr_Occurred()) SWIG_fail;
1707 }
1708 if (obj7) {
1709 arg8 = (bool) SWIG_AsBool(obj7);
1710 if (PyErr_Occurred()) SWIG_fail;
1711 }
1712 {
1713 PyThreadState* __tstate = wxPyBeginAllowThreads();
1714 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1715
1716 wxPyEndAllowThreads(__tstate);
1717 if (PyErr_Occurred()) SWIG_fail;
1718 }
1719 Py_INCREF(Py_None); resultobj = Py_None;
1720 return resultobj;
1721 fail:
1722 return NULL;
1723 }
1724
1725
1726 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1727 PyObject *resultobj;
1728 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1729 int arg2 ;
1730 int arg3 ;
1731 PyObject * obj0 = 0 ;
1732 PyObject * obj1 = 0 ;
1733 PyObject * obj2 = 0 ;
1734 char *kwnames[] = {
1735 (char *) "self",(char *) "x",(char *) "y", NULL
1736 };
1737
1738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1741 arg2 = (int) SWIG_AsInt(obj1);
1742 if (PyErr_Occurred()) SWIG_fail;
1743 arg3 = (int) SWIG_AsInt(obj2);
1744 if (PyErr_Occurred()) SWIG_fail;
1745 {
1746 PyThreadState* __tstate = wxPyBeginAllowThreads();
1747 (arg1)->Scroll(arg2,arg3);
1748
1749 wxPyEndAllowThreads(__tstate);
1750 if (PyErr_Occurred()) SWIG_fail;
1751 }
1752 Py_INCREF(Py_None); resultobj = Py_None;
1753 return resultobj;
1754 fail:
1755 return NULL;
1756 }
1757
1758
1759 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1760 PyObject *resultobj;
1761 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1762 int arg2 ;
1763 int result;
1764 PyObject * obj0 = 0 ;
1765 PyObject * obj1 = 0 ;
1766 char *kwnames[] = {
1767 (char *) "self",(char *) "orient", NULL
1768 };
1769
1770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1773 arg2 = (int) SWIG_AsInt(obj1);
1774 if (PyErr_Occurred()) SWIG_fail;
1775 {
1776 PyThreadState* __tstate = wxPyBeginAllowThreads();
1777 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1778
1779 wxPyEndAllowThreads(__tstate);
1780 if (PyErr_Occurred()) SWIG_fail;
1781 }
1782 resultobj = SWIG_FromInt((int)result);
1783 return resultobj;
1784 fail:
1785 return NULL;
1786 }
1787
1788
1789 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1790 PyObject *resultobj;
1791 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1792 int arg2 ;
1793 int arg3 ;
1794 PyObject * obj0 = 0 ;
1795 PyObject * obj1 = 0 ;
1796 PyObject * obj2 = 0 ;
1797 char *kwnames[] = {
1798 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1799 };
1800
1801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
1802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1804 arg2 = (int) SWIG_AsInt(obj1);
1805 if (PyErr_Occurred()) SWIG_fail;
1806 arg3 = (int) SWIG_AsInt(obj2);
1807 if (PyErr_Occurred()) SWIG_fail;
1808 {
1809 PyThreadState* __tstate = wxPyBeginAllowThreads();
1810 (arg1)->SetScrollPageSize(arg2,arg3);
1811
1812 wxPyEndAllowThreads(__tstate);
1813 if (PyErr_Occurred()) SWIG_fail;
1814 }
1815 Py_INCREF(Py_None); resultobj = Py_None;
1816 return resultobj;
1817 fail:
1818 return NULL;
1819 }
1820
1821
1822 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1823 PyObject *resultobj;
1824 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1825 int arg2 ;
1826 int arg3 ;
1827 PyObject * obj0 = 0 ;
1828 PyObject * obj1 = 0 ;
1829 PyObject * obj2 = 0 ;
1830 char *kwnames[] = {
1831 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1832 };
1833
1834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
1835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1837 arg2 = (int) SWIG_AsInt(obj1);
1838 if (PyErr_Occurred()) SWIG_fail;
1839 arg3 = (int) SWIG_AsInt(obj2);
1840 if (PyErr_Occurred()) SWIG_fail;
1841 {
1842 PyThreadState* __tstate = wxPyBeginAllowThreads();
1843 (arg1)->SetScrollRate(arg2,arg3);
1844
1845 wxPyEndAllowThreads(__tstate);
1846 if (PyErr_Occurred()) SWIG_fail;
1847 }
1848 Py_INCREF(Py_None); resultobj = Py_None;
1849 return resultobj;
1850 fail:
1851 return NULL;
1852 }
1853
1854
1855 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1856 PyObject *resultobj;
1857 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1858 int *arg2 = (int *) 0 ;
1859 int *arg3 = (int *) 0 ;
1860 int temp2 ;
1861 int temp3 ;
1862 PyObject * obj0 = 0 ;
1863 char *kwnames[] = {
1864 (char *) "self", NULL
1865 };
1866
1867 arg2 = &temp2;
1868 arg3 = &temp3;
1869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1872 {
1873 PyThreadState* __tstate = wxPyBeginAllowThreads();
1874 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1875
1876 wxPyEndAllowThreads(__tstate);
1877 if (PyErr_Occurred()) SWIG_fail;
1878 }
1879 Py_INCREF(Py_None); resultobj = Py_None;
1880 {
1881 PyObject *o = PyInt_FromLong((long) (*arg2));
1882 resultobj = t_output_helper(resultobj,o);
1883 }
1884 {
1885 PyObject *o = PyInt_FromLong((long) (*arg3));
1886 resultobj = t_output_helper(resultobj,o);
1887 }
1888 return resultobj;
1889 fail:
1890 return NULL;
1891 }
1892
1893
1894 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1895 PyObject *resultobj;
1896 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1897 bool arg2 ;
1898 bool arg3 ;
1899 PyObject * obj0 = 0 ;
1900 PyObject * obj1 = 0 ;
1901 PyObject * obj2 = 0 ;
1902 char *kwnames[] = {
1903 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1904 };
1905
1906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1909 arg2 = (bool) SWIG_AsBool(obj1);
1910 if (PyErr_Occurred()) SWIG_fail;
1911 arg3 = (bool) SWIG_AsBool(obj2);
1912 if (PyErr_Occurred()) SWIG_fail;
1913 {
1914 PyThreadState* __tstate = wxPyBeginAllowThreads();
1915 (arg1)->EnableScrolling(arg2,arg3);
1916
1917 wxPyEndAllowThreads(__tstate);
1918 if (PyErr_Occurred()) SWIG_fail;
1919 }
1920 Py_INCREF(Py_None); resultobj = Py_None;
1921 return resultobj;
1922 fail:
1923 return NULL;
1924 }
1925
1926
1927 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1928 PyObject *resultobj;
1929 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1930 int *arg2 = (int *) 0 ;
1931 int *arg3 = (int *) 0 ;
1932 int temp2 ;
1933 int temp3 ;
1934 PyObject * obj0 = 0 ;
1935 char *kwnames[] = {
1936 (char *) "self", NULL
1937 };
1938
1939 arg2 = &temp2;
1940 arg3 = &temp3;
1941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1944 {
1945 PyThreadState* __tstate = wxPyBeginAllowThreads();
1946 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1947
1948 wxPyEndAllowThreads(__tstate);
1949 if (PyErr_Occurred()) SWIG_fail;
1950 }
1951 Py_INCREF(Py_None); resultobj = Py_None;
1952 {
1953 PyObject *o = PyInt_FromLong((long) (*arg2));
1954 resultobj = t_output_helper(resultobj,o);
1955 }
1956 {
1957 PyObject *o = PyInt_FromLong((long) (*arg3));
1958 resultobj = t_output_helper(resultobj,o);
1959 }
1960 return resultobj;
1961 fail:
1962 return NULL;
1963 }
1964
1965
1966 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
1967 PyObject *resultobj;
1968 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1969 double arg2 ;
1970 double arg3 ;
1971 PyObject * obj0 = 0 ;
1972 PyObject * obj1 = 0 ;
1973 PyObject * obj2 = 0 ;
1974 char *kwnames[] = {
1975 (char *) "self",(char *) "xs",(char *) "ys", NULL
1976 };
1977
1978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
1979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1981 arg2 = (double) SWIG_AsDouble(obj1);
1982 if (PyErr_Occurred()) SWIG_fail;
1983 arg3 = (double) SWIG_AsDouble(obj2);
1984 if (PyErr_Occurred()) SWIG_fail;
1985 {
1986 PyThreadState* __tstate = wxPyBeginAllowThreads();
1987 (arg1)->SetScale(arg2,arg3);
1988
1989 wxPyEndAllowThreads(__tstate);
1990 if (PyErr_Occurred()) SWIG_fail;
1991 }
1992 Py_INCREF(Py_None); resultobj = Py_None;
1993 return resultobj;
1994 fail:
1995 return NULL;
1996 }
1997
1998
1999 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
2000 PyObject *resultobj;
2001 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2002 double result;
2003 PyObject * obj0 = 0 ;
2004 char *kwnames[] = {
2005 (char *) "self", NULL
2006 };
2007
2008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
2009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2011 {
2012 PyThreadState* __tstate = wxPyBeginAllowThreads();
2013 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
2014
2015 wxPyEndAllowThreads(__tstate);
2016 if (PyErr_Occurred()) SWIG_fail;
2017 }
2018 resultobj = SWIG_FromDouble((double)result);
2019 return resultobj;
2020 fail:
2021 return NULL;
2022 }
2023
2024
2025 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
2026 PyObject *resultobj;
2027 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2028 double result;
2029 PyObject * obj0 = 0 ;
2030 char *kwnames[] = {
2031 (char *) "self", NULL
2032 };
2033
2034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
2035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2037 {
2038 PyThreadState* __tstate = wxPyBeginAllowThreads();
2039 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
2040
2041 wxPyEndAllowThreads(__tstate);
2042 if (PyErr_Occurred()) SWIG_fail;
2043 }
2044 resultobj = SWIG_FromDouble((double)result);
2045 return resultobj;
2046 fail:
2047 return NULL;
2048 }
2049
2050
2051 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2052 PyObject *resultobj;
2053 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2054 wxPoint *arg2 = 0 ;
2055 wxPoint result;
2056 wxPoint temp2 ;
2057 PyObject * obj0 = 0 ;
2058 PyObject * obj1 = 0 ;
2059
2060 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
2061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2063 {
2064 arg2 = &temp2;
2065 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2066 }
2067 {
2068 PyThreadState* __tstate = wxPyBeginAllowThreads();
2069 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
2070
2071 wxPyEndAllowThreads(__tstate);
2072 if (PyErr_Occurred()) SWIG_fail;
2073 }
2074 {
2075 wxPoint * resultptr;
2076 resultptr = new wxPoint((wxPoint &) result);
2077 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2078 }
2079 return resultobj;
2080 fail:
2081 return NULL;
2082 }
2083
2084
2085 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2086 PyObject *resultobj;
2087 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2088 int arg2 ;
2089 int arg3 ;
2090 int *arg4 = (int *) 0 ;
2091 int *arg5 = (int *) 0 ;
2092 int temp4 ;
2093 int temp5 ;
2094 PyObject * obj0 = 0 ;
2095 PyObject * obj1 = 0 ;
2096 PyObject * obj2 = 0 ;
2097
2098 arg4 = &temp4;
2099 arg5 = &temp5;
2100 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2103 arg2 = (int) SWIG_AsInt(obj1);
2104 if (PyErr_Occurred()) SWIG_fail;
2105 arg3 = (int) SWIG_AsInt(obj2);
2106 if (PyErr_Occurred()) SWIG_fail;
2107 {
2108 PyThreadState* __tstate = wxPyBeginAllowThreads();
2109 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
2110
2111 wxPyEndAllowThreads(__tstate);
2112 if (PyErr_Occurred()) SWIG_fail;
2113 }
2114 Py_INCREF(Py_None); resultobj = Py_None;
2115 {
2116 PyObject *o = PyInt_FromLong((long) (*arg4));
2117 resultobj = t_output_helper(resultobj,o);
2118 }
2119 {
2120 PyObject *o = PyInt_FromLong((long) (*arg5));
2121 resultobj = t_output_helper(resultobj,o);
2122 }
2123 return resultobj;
2124 fail:
2125 return NULL;
2126 }
2127
2128
2129 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2130 int argc;
2131 PyObject *argv[4];
2132 int ii;
2133
2134 argc = PyObject_Length(args);
2135 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2136 argv[ii] = PyTuple_GetItem(args,ii);
2137 }
2138 if (argc == 2) {
2139 int _v;
2140 {
2141 void *ptr;
2142 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2143 _v = 0;
2144 PyErr_Clear();
2145 } else {
2146 _v = 1;
2147 }
2148 }
2149 if (_v) {
2150 {
2151 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2152 }
2153 if (_v) {
2154 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
2155 }
2156 }
2157 }
2158 if (argc == 3) {
2159 int _v;
2160 {
2161 void *ptr;
2162 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2163 _v = 0;
2164 PyErr_Clear();
2165 } else {
2166 _v = 1;
2167 }
2168 }
2169 if (_v) {
2170 _v = SWIG_CheckInt(argv[1]);
2171 if (_v) {
2172 _v = SWIG_CheckInt(argv[2]);
2173 if (_v) {
2174 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2175 }
2176 }
2177 }
2178 }
2179
2180 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2181 return NULL;
2182 }
2183
2184
2185 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2186 PyObject *resultobj;
2187 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2188 wxPoint *arg2 = 0 ;
2189 wxPoint result;
2190 wxPoint temp2 ;
2191 PyObject * obj0 = 0 ;
2192 PyObject * obj1 = 0 ;
2193
2194 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2197 {
2198 arg2 = &temp2;
2199 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2200 }
2201 {
2202 PyThreadState* __tstate = wxPyBeginAllowThreads();
2203 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2204
2205 wxPyEndAllowThreads(__tstate);
2206 if (PyErr_Occurred()) SWIG_fail;
2207 }
2208 {
2209 wxPoint * resultptr;
2210 resultptr = new wxPoint((wxPoint &) result);
2211 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2212 }
2213 return resultobj;
2214 fail:
2215 return NULL;
2216 }
2217
2218
2219 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2220 PyObject *resultobj;
2221 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2222 int arg2 ;
2223 int arg3 ;
2224 int *arg4 = (int *) 0 ;
2225 int *arg5 = (int *) 0 ;
2226 int temp4 ;
2227 int temp5 ;
2228 PyObject * obj0 = 0 ;
2229 PyObject * obj1 = 0 ;
2230 PyObject * obj2 = 0 ;
2231
2232 arg4 = &temp4;
2233 arg5 = &temp5;
2234 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2237 arg2 = (int) SWIG_AsInt(obj1);
2238 if (PyErr_Occurred()) SWIG_fail;
2239 arg3 = (int) SWIG_AsInt(obj2);
2240 if (PyErr_Occurred()) SWIG_fail;
2241 {
2242 PyThreadState* __tstate = wxPyBeginAllowThreads();
2243 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2244
2245 wxPyEndAllowThreads(__tstate);
2246 if (PyErr_Occurred()) SWIG_fail;
2247 }
2248 Py_INCREF(Py_None); resultobj = Py_None;
2249 {
2250 PyObject *o = PyInt_FromLong((long) (*arg4));
2251 resultobj = t_output_helper(resultobj,o);
2252 }
2253 {
2254 PyObject *o = PyInt_FromLong((long) (*arg5));
2255 resultobj = t_output_helper(resultobj,o);
2256 }
2257 return resultobj;
2258 fail:
2259 return NULL;
2260 }
2261
2262
2263 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2264 int argc;
2265 PyObject *argv[4];
2266 int ii;
2267
2268 argc = PyObject_Length(args);
2269 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2270 argv[ii] = PyTuple_GetItem(args,ii);
2271 }
2272 if (argc == 2) {
2273 int _v;
2274 {
2275 void *ptr;
2276 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2277 _v = 0;
2278 PyErr_Clear();
2279 } else {
2280 _v = 1;
2281 }
2282 }
2283 if (_v) {
2284 {
2285 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2286 }
2287 if (_v) {
2288 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2289 }
2290 }
2291 }
2292 if (argc == 3) {
2293 int _v;
2294 {
2295 void *ptr;
2296 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2297 _v = 0;
2298 PyErr_Clear();
2299 } else {
2300 _v = 1;
2301 }
2302 }
2303 if (_v) {
2304 _v = SWIG_CheckInt(argv[1]);
2305 if (_v) {
2306 _v = SWIG_CheckInt(argv[2]);
2307 if (_v) {
2308 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2309 }
2310 }
2311 }
2312 }
2313
2314 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2315 return NULL;
2316 }
2317
2318
2319 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
2320 PyObject *resultobj;
2321 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2322 PyObject * obj0 = 0 ;
2323 char *kwnames[] = {
2324 (char *) "self", NULL
2325 };
2326
2327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2330 {
2331 PyThreadState* __tstate = wxPyBeginAllowThreads();
2332 (arg1)->AdjustScrollbars();
2333
2334 wxPyEndAllowThreads(__tstate);
2335 if (PyErr_Occurred()) SWIG_fail;
2336 }
2337 Py_INCREF(Py_None); resultobj = Py_None;
2338 return resultobj;
2339 fail:
2340 return NULL;
2341 }
2342
2343
2344 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
2345 PyObject *resultobj;
2346 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2347 wxScrollWinEvent *arg2 = 0 ;
2348 int result;
2349 PyObject * obj0 = 0 ;
2350 PyObject * obj1 = 0 ;
2351 char *kwnames[] = {
2352 (char *) "self",(char *) "event", NULL
2353 };
2354
2355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2358 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2359 SWIG_POINTER_EXCEPTION | 0)) == -1)
2360 SWIG_fail;
2361 if (arg2 == NULL) {
2362 PyErr_SetString(PyExc_TypeError,"null reference");
2363 SWIG_fail;
2364 }
2365 {
2366 PyThreadState* __tstate = wxPyBeginAllowThreads();
2367 result = (int)(arg1)->CalcScrollInc(*arg2);
2368
2369 wxPyEndAllowThreads(__tstate);
2370 if (PyErr_Occurred()) SWIG_fail;
2371 }
2372 resultobj = SWIG_FromInt((int)result);
2373 return resultobj;
2374 fail:
2375 return NULL;
2376 }
2377
2378
2379 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2380 PyObject *resultobj;
2381 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2382 wxWindow *arg2 = (wxWindow *) 0 ;
2383 PyObject * obj0 = 0 ;
2384 PyObject * obj1 = 0 ;
2385 char *kwnames[] = {
2386 (char *) "self",(char *) "target", NULL
2387 };
2388
2389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2392 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2394 {
2395 PyThreadState* __tstate = wxPyBeginAllowThreads();
2396 (arg1)->SetTargetWindow(arg2);
2397
2398 wxPyEndAllowThreads(__tstate);
2399 if (PyErr_Occurred()) SWIG_fail;
2400 }
2401 Py_INCREF(Py_None); resultobj = Py_None;
2402 return resultobj;
2403 fail:
2404 return NULL;
2405 }
2406
2407
2408 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2409 PyObject *resultobj;
2410 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2411 wxWindow *result;
2412 PyObject * obj0 = 0 ;
2413 char *kwnames[] = {
2414 (char *) "self", NULL
2415 };
2416
2417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2420 {
2421 PyThreadState* __tstate = wxPyBeginAllowThreads();
2422 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2423
2424 wxPyEndAllowThreads(__tstate);
2425 if (PyErr_Occurred()) SWIG_fail;
2426 }
2427 {
2428 resultobj = wxPyMake_wxObject(result);
2429 }
2430 return resultobj;
2431 fail:
2432 return NULL;
2433 }
2434
2435
2436 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2437 PyObject *resultobj;
2438 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2439 wxRect *arg2 = 0 ;
2440 wxRect temp2 ;
2441 PyObject * obj0 = 0 ;
2442 PyObject * obj1 = 0 ;
2443 char *kwnames[] = {
2444 (char *) "self",(char *) "rect", NULL
2445 };
2446
2447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2450 {
2451 arg2 = &temp2;
2452 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2453 }
2454 {
2455 PyThreadState* __tstate = wxPyBeginAllowThreads();
2456 (arg1)->SetTargetRect((wxRect const &)*arg2);
2457
2458 wxPyEndAllowThreads(__tstate);
2459 if (PyErr_Occurred()) SWIG_fail;
2460 }
2461 Py_INCREF(Py_None); resultobj = Py_None;
2462 return resultobj;
2463 fail:
2464 return NULL;
2465 }
2466
2467
2468 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2469 PyObject *resultobj;
2470 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2471 wxRect result;
2472 PyObject * obj0 = 0 ;
2473 char *kwnames[] = {
2474 (char *) "self", NULL
2475 };
2476
2477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2480 {
2481 PyThreadState* __tstate = wxPyBeginAllowThreads();
2482 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2483
2484 wxPyEndAllowThreads(__tstate);
2485 if (PyErr_Occurred()) SWIG_fail;
2486 }
2487 {
2488 wxRect * resultptr;
2489 resultptr = new wxRect((wxRect &) result);
2490 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
2491 }
2492 return resultobj;
2493 fail:
2494 return NULL;
2495 }
2496
2497
2498 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2499 PyObject *obj;
2500 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2501 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2502 Py_INCREF(obj);
2503 return Py_BuildValue((char *)"");
2504 }
2505 static int _wrap_FrameNameStr_set(PyObject *_val) {
2506 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2507 return 1;
2508 }
2509
2510
2511 static PyObject *_wrap_FrameNameStr_get() {
2512 PyObject *pyobj;
2513
2514 {
2515 #if wxUSE_UNICODE
2516 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2517 #else
2518 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2519 #endif
2520 }
2521 return pyobj;
2522 }
2523
2524
2525 static int _wrap_DialogNameStr_set(PyObject *_val) {
2526 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2527 return 1;
2528 }
2529
2530
2531 static PyObject *_wrap_DialogNameStr_get() {
2532 PyObject *pyobj;
2533
2534 {
2535 #if wxUSE_UNICODE
2536 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2537 #else
2538 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2539 #endif
2540 }
2541 return pyobj;
2542 }
2543
2544
2545 static int _wrap_StatusLineNameStr_set(PyObject *_val) {
2546 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2547 return 1;
2548 }
2549
2550
2551 static PyObject *_wrap_StatusLineNameStr_get() {
2552 PyObject *pyobj;
2553
2554 {
2555 #if wxUSE_UNICODE
2556 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2557 #else
2558 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2559 #endif
2560 }
2561 return pyobj;
2562 }
2563
2564
2565 static int _wrap_ToolBarNameStr_set(PyObject *_val) {
2566 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2567 return 1;
2568 }
2569
2570
2571 static PyObject *_wrap_ToolBarNameStr_get() {
2572 PyObject *pyobj;
2573
2574 {
2575 #if wxUSE_UNICODE
2576 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2577 #else
2578 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2579 #endif
2580 }
2581 return pyobj;
2582 }
2583
2584
2585 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2586 PyObject *resultobj;
2587 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2588 bool arg2 = (bool) True ;
2589 PyObject * obj0 = 0 ;
2590 PyObject * obj1 = 0 ;
2591 char *kwnames[] = {
2592 (char *) "self",(char *) "maximize", NULL
2593 };
2594
2595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2598 if (obj1) {
2599 arg2 = (bool) SWIG_AsBool(obj1);
2600 if (PyErr_Occurred()) SWIG_fail;
2601 }
2602 {
2603 PyThreadState* __tstate = wxPyBeginAllowThreads();
2604 (arg1)->Maximize(arg2);
2605
2606 wxPyEndAllowThreads(__tstate);
2607 if (PyErr_Occurred()) SWIG_fail;
2608 }
2609 Py_INCREF(Py_None); resultobj = Py_None;
2610 return resultobj;
2611 fail:
2612 return NULL;
2613 }
2614
2615
2616 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2617 PyObject *resultobj;
2618 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2619 PyObject * obj0 = 0 ;
2620 char *kwnames[] = {
2621 (char *) "self", NULL
2622 };
2623
2624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2627 {
2628 PyThreadState* __tstate = wxPyBeginAllowThreads();
2629 (arg1)->Restore();
2630
2631 wxPyEndAllowThreads(__tstate);
2632 if (PyErr_Occurred()) SWIG_fail;
2633 }
2634 Py_INCREF(Py_None); resultobj = Py_None;
2635 return resultobj;
2636 fail:
2637 return NULL;
2638 }
2639
2640
2641 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2642 PyObject *resultobj;
2643 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2644 bool arg2 = (bool) True ;
2645 PyObject * obj0 = 0 ;
2646 PyObject * obj1 = 0 ;
2647 char *kwnames[] = {
2648 (char *) "self",(char *) "iconize", NULL
2649 };
2650
2651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2654 if (obj1) {
2655 arg2 = (bool) SWIG_AsBool(obj1);
2656 if (PyErr_Occurred()) SWIG_fail;
2657 }
2658 {
2659 PyThreadState* __tstate = wxPyBeginAllowThreads();
2660 (arg1)->Iconize(arg2);
2661
2662 wxPyEndAllowThreads(__tstate);
2663 if (PyErr_Occurred()) SWIG_fail;
2664 }
2665 Py_INCREF(Py_None); resultobj = Py_None;
2666 return resultobj;
2667 fail:
2668 return NULL;
2669 }
2670
2671
2672 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2673 PyObject *resultobj;
2674 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2675 bool result;
2676 PyObject * obj0 = 0 ;
2677 char *kwnames[] = {
2678 (char *) "self", NULL
2679 };
2680
2681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2684 {
2685 PyThreadState* __tstate = wxPyBeginAllowThreads();
2686 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2687
2688 wxPyEndAllowThreads(__tstate);
2689 if (PyErr_Occurred()) SWIG_fail;
2690 }
2691 {
2692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2693 }
2694 return resultobj;
2695 fail:
2696 return NULL;
2697 }
2698
2699
2700 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2701 PyObject *resultobj;
2702 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2703 bool result;
2704 PyObject * obj0 = 0 ;
2705 char *kwnames[] = {
2706 (char *) "self", NULL
2707 };
2708
2709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2712 {
2713 PyThreadState* __tstate = wxPyBeginAllowThreads();
2714 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2715
2716 wxPyEndAllowThreads(__tstate);
2717 if (PyErr_Occurred()) SWIG_fail;
2718 }
2719 {
2720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2721 }
2722 return resultobj;
2723 fail:
2724 return NULL;
2725 }
2726
2727
2728 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2729 PyObject *resultobj;
2730 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2731 wxIcon result;
2732 PyObject * obj0 = 0 ;
2733 char *kwnames[] = {
2734 (char *) "self", NULL
2735 };
2736
2737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2740 {
2741 PyThreadState* __tstate = wxPyBeginAllowThreads();
2742 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2743
2744 wxPyEndAllowThreads(__tstate);
2745 if (PyErr_Occurred()) SWIG_fail;
2746 }
2747 {
2748 wxIcon * resultptr;
2749 resultptr = new wxIcon((wxIcon &) result);
2750 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
2751 }
2752 return resultobj;
2753 fail:
2754 return NULL;
2755 }
2756
2757
2758 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2759 PyObject *resultobj;
2760 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2761 wxIcon *arg2 = 0 ;
2762 PyObject * obj0 = 0 ;
2763 PyObject * obj1 = 0 ;
2764 char *kwnames[] = {
2765 (char *) "self",(char *) "icon", NULL
2766 };
2767
2768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2771 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
2772 SWIG_POINTER_EXCEPTION | 0)) == -1)
2773 SWIG_fail;
2774 if (arg2 == NULL) {
2775 PyErr_SetString(PyExc_TypeError,"null reference");
2776 SWIG_fail;
2777 }
2778 {
2779 PyThreadState* __tstate = wxPyBeginAllowThreads();
2780 (arg1)->SetIcon((wxIcon const &)*arg2);
2781
2782 wxPyEndAllowThreads(__tstate);
2783 if (PyErr_Occurred()) SWIG_fail;
2784 }
2785 Py_INCREF(Py_None); resultobj = Py_None;
2786 return resultobj;
2787 fail:
2788 return NULL;
2789 }
2790
2791
2792 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2793 PyObject *resultobj;
2794 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2795 wxIconBundle *arg2 = 0 ;
2796 PyObject * obj0 = 0 ;
2797 PyObject * obj1 = 0 ;
2798 char *kwnames[] = {
2799 (char *) "self",(char *) "icons", NULL
2800 };
2801
2802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2805 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
2806 SWIG_POINTER_EXCEPTION | 0)) == -1)
2807 SWIG_fail;
2808 if (arg2 == NULL) {
2809 PyErr_SetString(PyExc_TypeError,"null reference");
2810 SWIG_fail;
2811 }
2812 {
2813 PyThreadState* __tstate = wxPyBeginAllowThreads();
2814 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2815
2816 wxPyEndAllowThreads(__tstate);
2817 if (PyErr_Occurred()) SWIG_fail;
2818 }
2819 Py_INCREF(Py_None); resultobj = Py_None;
2820 return resultobj;
2821 fail:
2822 return NULL;
2823 }
2824
2825
2826 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2827 PyObject *resultobj;
2828 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2829 bool arg2 ;
2830 long arg3 = (long) wxFULLSCREEN_ALL ;
2831 bool result;
2832 PyObject * obj0 = 0 ;
2833 PyObject * obj1 = 0 ;
2834 PyObject * obj2 = 0 ;
2835 char *kwnames[] = {
2836 (char *) "self",(char *) "show",(char *) "style", NULL
2837 };
2838
2839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2842 arg2 = (bool) SWIG_AsBool(obj1);
2843 if (PyErr_Occurred()) SWIG_fail;
2844 if (obj2) {
2845 arg3 = (long) SWIG_AsLong(obj2);
2846 if (PyErr_Occurred()) SWIG_fail;
2847 }
2848 {
2849 PyThreadState* __tstate = wxPyBeginAllowThreads();
2850 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2851
2852 wxPyEndAllowThreads(__tstate);
2853 if (PyErr_Occurred()) SWIG_fail;
2854 }
2855 {
2856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2857 }
2858 return resultobj;
2859 fail:
2860 return NULL;
2861 }
2862
2863
2864 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2865 PyObject *resultobj;
2866 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2867 bool result;
2868 PyObject * obj0 = 0 ;
2869 char *kwnames[] = {
2870 (char *) "self", NULL
2871 };
2872
2873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2876 {
2877 PyThreadState* __tstate = wxPyBeginAllowThreads();
2878 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2879
2880 wxPyEndAllowThreads(__tstate);
2881 if (PyErr_Occurred()) SWIG_fail;
2882 }
2883 {
2884 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2885 }
2886 return resultobj;
2887 fail:
2888 return NULL;
2889 }
2890
2891
2892 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2893 PyObject *resultobj;
2894 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2895 wxString *arg2 = 0 ;
2896 bool temp2 = False ;
2897 PyObject * obj0 = 0 ;
2898 PyObject * obj1 = 0 ;
2899 char *kwnames[] = {
2900 (char *) "self",(char *) "title", NULL
2901 };
2902
2903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2906 {
2907 arg2 = wxString_in_helper(obj1);
2908 if (arg2 == NULL) SWIG_fail;
2909 temp2 = True;
2910 }
2911 {
2912 PyThreadState* __tstate = wxPyBeginAllowThreads();
2913 (arg1)->SetTitle((wxString const &)*arg2);
2914
2915 wxPyEndAllowThreads(__tstate);
2916 if (PyErr_Occurred()) SWIG_fail;
2917 }
2918 Py_INCREF(Py_None); resultobj = Py_None;
2919 {
2920 if (temp2)
2921 delete arg2;
2922 }
2923 return resultobj;
2924 fail:
2925 {
2926 if (temp2)
2927 delete arg2;
2928 }
2929 return NULL;
2930 }
2931
2932
2933 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2934 PyObject *resultobj;
2935 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2936 wxString result;
2937 PyObject * obj0 = 0 ;
2938 char *kwnames[] = {
2939 (char *) "self", NULL
2940 };
2941
2942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2945 {
2946 PyThreadState* __tstate = wxPyBeginAllowThreads();
2947 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2948
2949 wxPyEndAllowThreads(__tstate);
2950 if (PyErr_Occurred()) SWIG_fail;
2951 }
2952 {
2953 #if wxUSE_UNICODE
2954 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2955 #else
2956 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2957 #endif
2958 }
2959 return resultobj;
2960 fail:
2961 return NULL;
2962 }
2963
2964
2965 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2966 PyObject *resultobj;
2967 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2968 wxRegion *arg2 = 0 ;
2969 bool result;
2970 PyObject * obj0 = 0 ;
2971 PyObject * obj1 = 0 ;
2972 char *kwnames[] = {
2973 (char *) "self",(char *) "region", NULL
2974 };
2975
2976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2979 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
2980 SWIG_POINTER_EXCEPTION | 0)) == -1)
2981 SWIG_fail;
2982 if (arg2 == NULL) {
2983 PyErr_SetString(PyExc_TypeError,"null reference");
2984 SWIG_fail;
2985 }
2986 {
2987 PyThreadState* __tstate = wxPyBeginAllowThreads();
2988 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2989
2990 wxPyEndAllowThreads(__tstate);
2991 if (PyErr_Occurred()) SWIG_fail;
2992 }
2993 {
2994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2995 }
2996 return resultobj;
2997 fail:
2998 return NULL;
2999 }
3000
3001
3002 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
3003 PyObject *obj;
3004 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3005 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
3006 Py_INCREF(obj);
3007 return Py_BuildValue((char *)"");
3008 }
3009 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
3010 PyObject *resultobj;
3011 wxWindow *arg1 = (wxWindow *) 0 ;
3012 int arg2 ;
3013 wxString *arg3 = 0 ;
3014 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3015 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3016 wxSize const &arg5_defvalue = wxDefaultSize ;
3017 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3018 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3019 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3020 wxString *arg7 = (wxString *) &arg7_defvalue ;
3021 wxFrame *result;
3022 bool temp3 = False ;
3023 wxPoint temp4 ;
3024 wxSize temp5 ;
3025 bool temp7 = False ;
3026 PyObject * obj0 = 0 ;
3027 PyObject * obj1 = 0 ;
3028 PyObject * obj2 = 0 ;
3029 PyObject * obj3 = 0 ;
3030 PyObject * obj4 = 0 ;
3031 PyObject * obj5 = 0 ;
3032 PyObject * obj6 = 0 ;
3033 char *kwnames[] = {
3034 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3035 };
3036
3037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3040 arg2 = (int const) SWIG_AsInt(obj1);
3041 if (PyErr_Occurred()) SWIG_fail;
3042 {
3043 arg3 = wxString_in_helper(obj2);
3044 if (arg3 == NULL) SWIG_fail;
3045 temp3 = True;
3046 }
3047 if (obj3) {
3048 {
3049 arg4 = &temp4;
3050 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3051 }
3052 }
3053 if (obj4) {
3054 {
3055 arg5 = &temp5;
3056 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3057 }
3058 }
3059 if (obj5) {
3060 arg6 = (long) SWIG_AsLong(obj5);
3061 if (PyErr_Occurred()) SWIG_fail;
3062 }
3063 if (obj6) {
3064 {
3065 arg7 = wxString_in_helper(obj6);
3066 if (arg7 == NULL) SWIG_fail;
3067 temp7 = True;
3068 }
3069 }
3070 {
3071 PyThreadState* __tstate = wxPyBeginAllowThreads();
3072 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3073
3074 wxPyEndAllowThreads(__tstate);
3075 if (PyErr_Occurred()) SWIG_fail;
3076 }
3077 {
3078 resultobj = wxPyMake_wxObject(result);
3079 }
3080 {
3081 if (temp3)
3082 delete arg3;
3083 }
3084 {
3085 if (temp7)
3086 delete arg7;
3087 }
3088 return resultobj;
3089 fail:
3090 {
3091 if (temp3)
3092 delete arg3;
3093 }
3094 {
3095 if (temp7)
3096 delete arg7;
3097 }
3098 return NULL;
3099 }
3100
3101
3102 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3103 PyObject *resultobj;
3104 wxFrame *result;
3105 char *kwnames[] = {
3106 NULL
3107 };
3108
3109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3110 {
3111 PyThreadState* __tstate = wxPyBeginAllowThreads();
3112 result = (wxFrame *)new wxFrame();
3113
3114 wxPyEndAllowThreads(__tstate);
3115 if (PyErr_Occurred()) SWIG_fail;
3116 }
3117 {
3118 resultobj = wxPyMake_wxObject(result);
3119 }
3120 return resultobj;
3121 fail:
3122 return NULL;
3123 }
3124
3125
3126 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3127 PyObject *resultobj;
3128 wxFrame *arg1 = (wxFrame *) 0 ;
3129 wxWindow *arg2 = (wxWindow *) 0 ;
3130 int arg3 ;
3131 wxString *arg4 = 0 ;
3132 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3133 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3134 wxSize const &arg6_defvalue = wxDefaultSize ;
3135 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3136 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3137 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3138 wxString *arg8 = (wxString *) &arg8_defvalue ;
3139 bool result;
3140 bool temp4 = False ;
3141 wxPoint temp5 ;
3142 wxSize temp6 ;
3143 bool temp8 = False ;
3144 PyObject * obj0 = 0 ;
3145 PyObject * obj1 = 0 ;
3146 PyObject * obj2 = 0 ;
3147 PyObject * obj3 = 0 ;
3148 PyObject * obj4 = 0 ;
3149 PyObject * obj5 = 0 ;
3150 PyObject * obj6 = 0 ;
3151 PyObject * obj7 = 0 ;
3152 char *kwnames[] = {
3153 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3154 };
3155
3156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3159 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3161 arg3 = (int const) SWIG_AsInt(obj2);
3162 if (PyErr_Occurred()) SWIG_fail;
3163 {
3164 arg4 = wxString_in_helper(obj3);
3165 if (arg4 == NULL) SWIG_fail;
3166 temp4 = True;
3167 }
3168 if (obj4) {
3169 {
3170 arg5 = &temp5;
3171 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3172 }
3173 }
3174 if (obj5) {
3175 {
3176 arg6 = &temp6;
3177 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3178 }
3179 }
3180 if (obj6) {
3181 arg7 = (long) SWIG_AsLong(obj6);
3182 if (PyErr_Occurred()) SWIG_fail;
3183 }
3184 if (obj7) {
3185 {
3186 arg8 = wxString_in_helper(obj7);
3187 if (arg8 == NULL) SWIG_fail;
3188 temp8 = True;
3189 }
3190 }
3191 {
3192 PyThreadState* __tstate = wxPyBeginAllowThreads();
3193 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3194
3195 wxPyEndAllowThreads(__tstate);
3196 if (PyErr_Occurred()) SWIG_fail;
3197 }
3198 {
3199 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3200 }
3201 {
3202 if (temp4)
3203 delete arg4;
3204 }
3205 {
3206 if (temp8)
3207 delete arg8;
3208 }
3209 return resultobj;
3210 fail:
3211 {
3212 if (temp4)
3213 delete arg4;
3214 }
3215 {
3216 if (temp8)
3217 delete arg8;
3218 }
3219 return NULL;
3220 }
3221
3222
3223 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
3224 PyObject *resultobj;
3225 wxFrame *arg1 = (wxFrame *) 0 ;
3226 wxPoint result;
3227 PyObject * obj0 = 0 ;
3228 char *kwnames[] = {
3229 (char *) "self", NULL
3230 };
3231
3232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3235 {
3236 PyThreadState* __tstate = wxPyBeginAllowThreads();
3237 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3238
3239 wxPyEndAllowThreads(__tstate);
3240 if (PyErr_Occurred()) SWIG_fail;
3241 }
3242 {
3243 wxPoint * resultptr;
3244 resultptr = new wxPoint((wxPoint &) result);
3245 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3246 }
3247 return resultobj;
3248 fail:
3249 return NULL;
3250 }
3251
3252
3253 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3254 PyObject *resultobj;
3255 wxFrame *arg1 = (wxFrame *) 0 ;
3256 PyObject * obj0 = 0 ;
3257 char *kwnames[] = {
3258 (char *) "self", NULL
3259 };
3260
3261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3264 {
3265 PyThreadState* __tstate = wxPyBeginAllowThreads();
3266 (arg1)->SendSizeEvent();
3267
3268 wxPyEndAllowThreads(__tstate);
3269 if (PyErr_Occurred()) SWIG_fail;
3270 }
3271 Py_INCREF(Py_None); resultobj = Py_None;
3272 return resultobj;
3273 fail:
3274 return NULL;
3275 }
3276
3277
3278 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3279 PyObject *resultobj;
3280 wxFrame *arg1 = (wxFrame *) 0 ;
3281 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3282 PyObject * obj0 = 0 ;
3283 PyObject * obj1 = 0 ;
3284 char *kwnames[] = {
3285 (char *) "self",(char *) "menubar", NULL
3286 };
3287
3288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3291 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3293 {
3294 PyThreadState* __tstate = wxPyBeginAllowThreads();
3295 (arg1)->SetMenuBar(arg2);
3296
3297 wxPyEndAllowThreads(__tstate);
3298 if (PyErr_Occurred()) SWIG_fail;
3299 }
3300 Py_INCREF(Py_None); resultobj = Py_None;
3301 return resultobj;
3302 fail:
3303 return NULL;
3304 }
3305
3306
3307 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3308 PyObject *resultobj;
3309 wxFrame *arg1 = (wxFrame *) 0 ;
3310 wxMenuBar *result;
3311 PyObject * obj0 = 0 ;
3312 char *kwnames[] = {
3313 (char *) "self", NULL
3314 };
3315
3316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3319 {
3320 PyThreadState* __tstate = wxPyBeginAllowThreads();
3321 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3322
3323 wxPyEndAllowThreads(__tstate);
3324 if (PyErr_Occurred()) SWIG_fail;
3325 }
3326 {
3327 resultobj = wxPyMake_wxObject(result);
3328 }
3329 return resultobj;
3330 fail:
3331 return NULL;
3332 }
3333
3334
3335 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3336 PyObject *resultobj;
3337 wxFrame *arg1 = (wxFrame *) 0 ;
3338 int arg2 ;
3339 bool result;
3340 PyObject * obj0 = 0 ;
3341 PyObject * obj1 = 0 ;
3342 char *kwnames[] = {
3343 (char *) "self",(char *) "winid", NULL
3344 };
3345
3346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3349 arg2 = (int) SWIG_AsInt(obj1);
3350 if (PyErr_Occurred()) SWIG_fail;
3351 {
3352 PyThreadState* __tstate = wxPyBeginAllowThreads();
3353 result = (bool)(arg1)->ProcessCommand(arg2);
3354
3355 wxPyEndAllowThreads(__tstate);
3356 if (PyErr_Occurred()) SWIG_fail;
3357 }
3358 {
3359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3360 }
3361 return resultobj;
3362 fail:
3363 return NULL;
3364 }
3365
3366
3367 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3368 PyObject *resultobj;
3369 wxFrame *arg1 = (wxFrame *) 0 ;
3370 int arg2 = (int) 1 ;
3371 long arg3 = (long) wxST_SIZEGRIP ;
3372 int arg4 = (int) 0 ;
3373 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3374 wxString *arg5 = (wxString *) &arg5_defvalue ;
3375 wxStatusBar *result;
3376 bool temp5 = False ;
3377 PyObject * obj0 = 0 ;
3378 PyObject * obj1 = 0 ;
3379 PyObject * obj2 = 0 ;
3380 PyObject * obj3 = 0 ;
3381 PyObject * obj4 = 0 ;
3382 char *kwnames[] = {
3383 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3384 };
3385
3386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3389 if (obj1) {
3390 arg2 = (int) SWIG_AsInt(obj1);
3391 if (PyErr_Occurred()) SWIG_fail;
3392 }
3393 if (obj2) {
3394 arg3 = (long) SWIG_AsLong(obj2);
3395 if (PyErr_Occurred()) SWIG_fail;
3396 }
3397 if (obj3) {
3398 arg4 = (int) SWIG_AsInt(obj3);
3399 if (PyErr_Occurred()) SWIG_fail;
3400 }
3401 if (obj4) {
3402 {
3403 arg5 = wxString_in_helper(obj4);
3404 if (arg5 == NULL) SWIG_fail;
3405 temp5 = True;
3406 }
3407 }
3408 {
3409 PyThreadState* __tstate = wxPyBeginAllowThreads();
3410 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3411
3412 wxPyEndAllowThreads(__tstate);
3413 if (PyErr_Occurred()) SWIG_fail;
3414 }
3415 {
3416 resultobj = wxPyMake_wxObject(result);
3417 }
3418 {
3419 if (temp5)
3420 delete arg5;
3421 }
3422 return resultobj;
3423 fail:
3424 {
3425 if (temp5)
3426 delete arg5;
3427 }
3428 return NULL;
3429 }
3430
3431
3432 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3433 PyObject *resultobj;
3434 wxFrame *arg1 = (wxFrame *) 0 ;
3435 wxStatusBar *result;
3436 PyObject * obj0 = 0 ;
3437 char *kwnames[] = {
3438 (char *) "self", NULL
3439 };
3440
3441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3444 {
3445 PyThreadState* __tstate = wxPyBeginAllowThreads();
3446 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3447
3448 wxPyEndAllowThreads(__tstate);
3449 if (PyErr_Occurred()) SWIG_fail;
3450 }
3451 {
3452 resultobj = wxPyMake_wxObject(result);
3453 }
3454 return resultobj;
3455 fail:
3456 return NULL;
3457 }
3458
3459
3460 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3461 PyObject *resultobj;
3462 wxFrame *arg1 = (wxFrame *) 0 ;
3463 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3464 PyObject * obj0 = 0 ;
3465 PyObject * obj1 = 0 ;
3466 char *kwnames[] = {
3467 (char *) "self",(char *) "statBar", NULL
3468 };
3469
3470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3473 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3475 {
3476 PyThreadState* __tstate = wxPyBeginAllowThreads();
3477 (arg1)->SetStatusBar(arg2);
3478
3479 wxPyEndAllowThreads(__tstate);
3480 if (PyErr_Occurred()) SWIG_fail;
3481 }
3482 Py_INCREF(Py_None); resultobj = Py_None;
3483 return resultobj;
3484 fail:
3485 return NULL;
3486 }
3487
3488
3489 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3490 PyObject *resultobj;
3491 wxFrame *arg1 = (wxFrame *) 0 ;
3492 wxString *arg2 = 0 ;
3493 int arg3 = (int) 0 ;
3494 bool temp2 = False ;
3495 PyObject * obj0 = 0 ;
3496 PyObject * obj1 = 0 ;
3497 PyObject * obj2 = 0 ;
3498 char *kwnames[] = {
3499 (char *) "self",(char *) "text",(char *) "number", NULL
3500 };
3501
3502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3505 {
3506 arg2 = wxString_in_helper(obj1);
3507 if (arg2 == NULL) SWIG_fail;
3508 temp2 = True;
3509 }
3510 if (obj2) {
3511 arg3 = (int) SWIG_AsInt(obj2);
3512 if (PyErr_Occurred()) SWIG_fail;
3513 }
3514 {
3515 PyThreadState* __tstate = wxPyBeginAllowThreads();
3516 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3517
3518 wxPyEndAllowThreads(__tstate);
3519 if (PyErr_Occurred()) SWIG_fail;
3520 }
3521 Py_INCREF(Py_None); resultobj = Py_None;
3522 {
3523 if (temp2)
3524 delete arg2;
3525 }
3526 return resultobj;
3527 fail:
3528 {
3529 if (temp2)
3530 delete arg2;
3531 }
3532 return NULL;
3533 }
3534
3535
3536 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3537 PyObject *resultobj;
3538 wxFrame *arg1 = (wxFrame *) 0 ;
3539 int arg2 ;
3540 int *arg3 = (int *) 0 ;
3541 PyObject * obj0 = 0 ;
3542 PyObject * obj1 = 0 ;
3543 char *kwnames[] = {
3544 (char *) "self",(char *) "widths", NULL
3545 };
3546
3547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3550 {
3551 arg2 = PyList_Size(obj1);
3552 arg3 = int_LIST_helper(obj1);
3553 if (arg3 == NULL) SWIG_fail;
3554 }
3555 {
3556 PyThreadState* __tstate = wxPyBeginAllowThreads();
3557 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3558
3559 wxPyEndAllowThreads(__tstate);
3560 if (PyErr_Occurred()) SWIG_fail;
3561 }
3562 Py_INCREF(Py_None); resultobj = Py_None;
3563 {
3564 if (arg3) delete [] arg3;
3565 }
3566 return resultobj;
3567 fail:
3568 {
3569 if (arg3) delete [] arg3;
3570 }
3571 return NULL;
3572 }
3573
3574
3575 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3576 PyObject *resultobj;
3577 wxFrame *arg1 = (wxFrame *) 0 ;
3578 wxString *arg2 = 0 ;
3579 int arg3 = (int) 0 ;
3580 bool temp2 = False ;
3581 PyObject * obj0 = 0 ;
3582 PyObject * obj1 = 0 ;
3583 PyObject * obj2 = 0 ;
3584 char *kwnames[] = {
3585 (char *) "self",(char *) "text",(char *) "number", NULL
3586 };
3587
3588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3591 {
3592 arg2 = wxString_in_helper(obj1);
3593 if (arg2 == NULL) SWIG_fail;
3594 temp2 = True;
3595 }
3596 if (obj2) {
3597 arg3 = (int) SWIG_AsInt(obj2);
3598 if (PyErr_Occurred()) SWIG_fail;
3599 }
3600 {
3601 PyThreadState* __tstate = wxPyBeginAllowThreads();
3602 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3603
3604 wxPyEndAllowThreads(__tstate);
3605 if (PyErr_Occurred()) SWIG_fail;
3606 }
3607 Py_INCREF(Py_None); resultobj = Py_None;
3608 {
3609 if (temp2)
3610 delete arg2;
3611 }
3612 return resultobj;
3613 fail:
3614 {
3615 if (temp2)
3616 delete arg2;
3617 }
3618 return NULL;
3619 }
3620
3621
3622 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3623 PyObject *resultobj;
3624 wxFrame *arg1 = (wxFrame *) 0 ;
3625 int arg2 = (int) 0 ;
3626 PyObject * obj0 = 0 ;
3627 PyObject * obj1 = 0 ;
3628 char *kwnames[] = {
3629 (char *) "self",(char *) "number", NULL
3630 };
3631
3632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3635 if (obj1) {
3636 arg2 = (int) SWIG_AsInt(obj1);
3637 if (PyErr_Occurred()) SWIG_fail;
3638 }
3639 {
3640 PyThreadState* __tstate = wxPyBeginAllowThreads();
3641 (arg1)->PopStatusText(arg2);
3642
3643 wxPyEndAllowThreads(__tstate);
3644 if (PyErr_Occurred()) SWIG_fail;
3645 }
3646 Py_INCREF(Py_None); resultobj = Py_None;
3647 return resultobj;
3648 fail:
3649 return NULL;
3650 }
3651
3652
3653 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3654 PyObject *resultobj;
3655 wxFrame *arg1 = (wxFrame *) 0 ;
3656 int arg2 ;
3657 PyObject * obj0 = 0 ;
3658 PyObject * obj1 = 0 ;
3659 char *kwnames[] = {
3660 (char *) "self",(char *) "n", NULL
3661 };
3662
3663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
3664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3666 arg2 = (int) SWIG_AsInt(obj1);
3667 if (PyErr_Occurred()) SWIG_fail;
3668 {
3669 PyThreadState* __tstate = wxPyBeginAllowThreads();
3670 (arg1)->SetStatusBarPane(arg2);
3671
3672 wxPyEndAllowThreads(__tstate);
3673 if (PyErr_Occurred()) SWIG_fail;
3674 }
3675 Py_INCREF(Py_None); resultobj = Py_None;
3676 return resultobj;
3677 fail:
3678 return NULL;
3679 }
3680
3681
3682 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3683 PyObject *resultobj;
3684 wxFrame *arg1 = (wxFrame *) 0 ;
3685 int result;
3686 PyObject * obj0 = 0 ;
3687 char *kwnames[] = {
3688 (char *) "self", NULL
3689 };
3690
3691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3694 {
3695 PyThreadState* __tstate = wxPyBeginAllowThreads();
3696 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3697
3698 wxPyEndAllowThreads(__tstate);
3699 if (PyErr_Occurred()) SWIG_fail;
3700 }
3701 resultobj = SWIG_FromInt((int)result);
3702 return resultobj;
3703 fail:
3704 return NULL;
3705 }
3706
3707
3708 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3709 PyObject *resultobj;
3710 wxFrame *arg1 = (wxFrame *) 0 ;
3711 long arg2 = (long) -1 ;
3712 int arg3 = (int) -1 ;
3713 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3714 wxString *arg4 = (wxString *) &arg4_defvalue ;
3715 wxToolBar *result;
3716 bool temp4 = False ;
3717 PyObject * obj0 = 0 ;
3718 PyObject * obj1 = 0 ;
3719 PyObject * obj2 = 0 ;
3720 PyObject * obj3 = 0 ;
3721 char *kwnames[] = {
3722 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3723 };
3724
3725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3728 if (obj1) {
3729 arg2 = (long) SWIG_AsLong(obj1);
3730 if (PyErr_Occurred()) SWIG_fail;
3731 }
3732 if (obj2) {
3733 arg3 = (int) SWIG_AsInt(obj2);
3734 if (PyErr_Occurred()) SWIG_fail;
3735 }
3736 if (obj3) {
3737 {
3738 arg4 = wxString_in_helper(obj3);
3739 if (arg4 == NULL) SWIG_fail;
3740 temp4 = True;
3741 }
3742 }
3743 {
3744 PyThreadState* __tstate = wxPyBeginAllowThreads();
3745 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3746
3747 wxPyEndAllowThreads(__tstate);
3748 if (PyErr_Occurred()) SWIG_fail;
3749 }
3750 {
3751 resultobj = wxPyMake_wxObject(result);
3752 }
3753 {
3754 if (temp4)
3755 delete arg4;
3756 }
3757 return resultobj;
3758 fail:
3759 {
3760 if (temp4)
3761 delete arg4;
3762 }
3763 return NULL;
3764 }
3765
3766
3767 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3768 PyObject *resultobj;
3769 wxFrame *arg1 = (wxFrame *) 0 ;
3770 wxToolBar *result;
3771 PyObject * obj0 = 0 ;
3772 char *kwnames[] = {
3773 (char *) "self", NULL
3774 };
3775
3776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3779 {
3780 PyThreadState* __tstate = wxPyBeginAllowThreads();
3781 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3782
3783 wxPyEndAllowThreads(__tstate);
3784 if (PyErr_Occurred()) SWIG_fail;
3785 }
3786 {
3787 resultobj = wxPyMake_wxObject(result);
3788 }
3789 return resultobj;
3790 fail:
3791 return NULL;
3792 }
3793
3794
3795 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3796 PyObject *resultobj;
3797 wxFrame *arg1 = (wxFrame *) 0 ;
3798 wxToolBar *arg2 = (wxToolBar *) 0 ;
3799 PyObject * obj0 = 0 ;
3800 PyObject * obj1 = 0 ;
3801 char *kwnames[] = {
3802 (char *) "self",(char *) "toolbar", NULL
3803 };
3804
3805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3808 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
3809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3810 {
3811 PyThreadState* __tstate = wxPyBeginAllowThreads();
3812 (arg1)->SetToolBar(arg2);
3813
3814 wxPyEndAllowThreads(__tstate);
3815 if (PyErr_Occurred()) SWIG_fail;
3816 }
3817 Py_INCREF(Py_None); resultobj = Py_None;
3818 return resultobj;
3819 fail:
3820 return NULL;
3821 }
3822
3823
3824 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3825 PyObject *resultobj;
3826 wxFrame *arg1 = (wxFrame *) 0 ;
3827 wxString *arg2 = 0 ;
3828 bool arg3 ;
3829 bool temp2 = False ;
3830 PyObject * obj0 = 0 ;
3831 PyObject * obj1 = 0 ;
3832 PyObject * obj2 = 0 ;
3833 char *kwnames[] = {
3834 (char *) "self",(char *) "text",(char *) "show", NULL
3835 };
3836
3837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3840 {
3841 arg2 = wxString_in_helper(obj1);
3842 if (arg2 == NULL) SWIG_fail;
3843 temp2 = True;
3844 }
3845 arg3 = (bool) SWIG_AsBool(obj2);
3846 if (PyErr_Occurred()) SWIG_fail;
3847 {
3848 PyThreadState* __tstate = wxPyBeginAllowThreads();
3849 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3850
3851 wxPyEndAllowThreads(__tstate);
3852 if (PyErr_Occurred()) SWIG_fail;
3853 }
3854 Py_INCREF(Py_None); resultobj = Py_None;
3855 {
3856 if (temp2)
3857 delete arg2;
3858 }
3859 return resultobj;
3860 fail:
3861 {
3862 if (temp2)
3863 delete arg2;
3864 }
3865 return NULL;
3866 }
3867
3868
3869 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3870 PyObject *resultobj;
3871 wxFrame *arg1 = (wxFrame *) 0 ;
3872 wxMenu *arg2 = (wxMenu *) NULL ;
3873 PyObject * obj0 = 0 ;
3874 PyObject * obj1 = 0 ;
3875 char *kwnames[] = {
3876 (char *) "self",(char *) "menu", NULL
3877 };
3878
3879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3882 if (obj1) {
3883 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
3884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3885 }
3886 {
3887 PyThreadState* __tstate = wxPyBeginAllowThreads();
3888 (arg1)->DoMenuUpdates(arg2);
3889
3890 wxPyEndAllowThreads(__tstate);
3891 if (PyErr_Occurred()) SWIG_fail;
3892 }
3893 Py_INCREF(Py_None); resultobj = Py_None;
3894 return resultobj;
3895 fail:
3896 return NULL;
3897 }
3898
3899
3900 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3901 PyObject *obj;
3902 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3903 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3904 Py_INCREF(obj);
3905 return Py_BuildValue((char *)"");
3906 }
3907 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3908 PyObject *resultobj;
3909 wxWindow *arg1 = (wxWindow *) 0 ;
3910 int arg2 ;
3911 wxString *arg3 = 0 ;
3912 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3913 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3914 wxSize const &arg5_defvalue = wxDefaultSize ;
3915 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3916 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3917 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3918 wxString *arg7 = (wxString *) &arg7_defvalue ;
3919 wxDialog *result;
3920 bool temp3 = False ;
3921 wxPoint temp4 ;
3922 wxSize temp5 ;
3923 bool temp7 = False ;
3924 PyObject * obj0 = 0 ;
3925 PyObject * obj1 = 0 ;
3926 PyObject * obj2 = 0 ;
3927 PyObject * obj3 = 0 ;
3928 PyObject * obj4 = 0 ;
3929 PyObject * obj5 = 0 ;
3930 PyObject * obj6 = 0 ;
3931 char *kwnames[] = {
3932 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3933 };
3934
3935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3938 arg2 = (int const) SWIG_AsInt(obj1);
3939 if (PyErr_Occurred()) SWIG_fail;
3940 {
3941 arg3 = wxString_in_helper(obj2);
3942 if (arg3 == NULL) SWIG_fail;
3943 temp3 = True;
3944 }
3945 if (obj3) {
3946 {
3947 arg4 = &temp4;
3948 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3949 }
3950 }
3951 if (obj4) {
3952 {
3953 arg5 = &temp5;
3954 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3955 }
3956 }
3957 if (obj5) {
3958 arg6 = (long) SWIG_AsLong(obj5);
3959 if (PyErr_Occurred()) SWIG_fail;
3960 }
3961 if (obj6) {
3962 {
3963 arg7 = wxString_in_helper(obj6);
3964 if (arg7 == NULL) SWIG_fail;
3965 temp7 = True;
3966 }
3967 }
3968 {
3969 PyThreadState* __tstate = wxPyBeginAllowThreads();
3970 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3971
3972 wxPyEndAllowThreads(__tstate);
3973 if (PyErr_Occurred()) SWIG_fail;
3974 }
3975 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
3976 {
3977 if (temp3)
3978 delete arg3;
3979 }
3980 {
3981 if (temp7)
3982 delete arg7;
3983 }
3984 return resultobj;
3985 fail:
3986 {
3987 if (temp3)
3988 delete arg3;
3989 }
3990 {
3991 if (temp7)
3992 delete arg7;
3993 }
3994 return NULL;
3995 }
3996
3997
3998 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3999 PyObject *resultobj;
4000 wxDialog *result;
4001 char *kwnames[] = {
4002 NULL
4003 };
4004
4005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
4006 {
4007 PyThreadState* __tstate = wxPyBeginAllowThreads();
4008 result = (wxDialog *)new wxDialog();
4009
4010 wxPyEndAllowThreads(__tstate);
4011 if (PyErr_Occurred()) SWIG_fail;
4012 }
4013 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
4014 return resultobj;
4015 fail:
4016 return NULL;
4017 }
4018
4019
4020 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4021 PyObject *resultobj;
4022 wxDialog *arg1 = (wxDialog *) 0 ;
4023 wxWindow *arg2 = (wxWindow *) 0 ;
4024 int arg3 ;
4025 wxString *arg4 = 0 ;
4026 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4027 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4028 wxSize const &arg6_defvalue = wxDefaultSize ;
4029 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4030 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
4031 wxString const &arg8_defvalue = wxPyDialogNameStr ;
4032 wxString *arg8 = (wxString *) &arg8_defvalue ;
4033 bool result;
4034 bool temp4 = False ;
4035 wxPoint temp5 ;
4036 wxSize temp6 ;
4037 bool temp8 = False ;
4038 PyObject * obj0 = 0 ;
4039 PyObject * obj1 = 0 ;
4040 PyObject * obj2 = 0 ;
4041 PyObject * obj3 = 0 ;
4042 PyObject * obj4 = 0 ;
4043 PyObject * obj5 = 0 ;
4044 PyObject * obj6 = 0 ;
4045 PyObject * obj7 = 0 ;
4046 char *kwnames[] = {
4047 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4048 };
4049
4050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4053 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4055 arg3 = (int const) SWIG_AsInt(obj2);
4056 if (PyErr_Occurred()) SWIG_fail;
4057 {
4058 arg4 = wxString_in_helper(obj3);
4059 if (arg4 == NULL) SWIG_fail;
4060 temp4 = True;
4061 }
4062 if (obj4) {
4063 {
4064 arg5 = &temp5;
4065 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4066 }
4067 }
4068 if (obj5) {
4069 {
4070 arg6 = &temp6;
4071 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4072 }
4073 }
4074 if (obj6) {
4075 arg7 = (long) SWIG_AsLong(obj6);
4076 if (PyErr_Occurred()) SWIG_fail;
4077 }
4078 if (obj7) {
4079 {
4080 arg8 = wxString_in_helper(obj7);
4081 if (arg8 == NULL) SWIG_fail;
4082 temp8 = True;
4083 }
4084 }
4085 {
4086 PyThreadState* __tstate = wxPyBeginAllowThreads();
4087 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4088
4089 wxPyEndAllowThreads(__tstate);
4090 if (PyErr_Occurred()) SWIG_fail;
4091 }
4092 {
4093 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4094 }
4095 {
4096 if (temp4)
4097 delete arg4;
4098 }
4099 {
4100 if (temp8)
4101 delete arg8;
4102 }
4103 return resultobj;
4104 fail:
4105 {
4106 if (temp4)
4107 delete arg4;
4108 }
4109 {
4110 if (temp8)
4111 delete arg8;
4112 }
4113 return NULL;
4114 }
4115
4116
4117 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4118 PyObject *resultobj;
4119 wxDialog *arg1 = (wxDialog *) 0 ;
4120 int arg2 ;
4121 PyObject * obj0 = 0 ;
4122 PyObject * obj1 = 0 ;
4123 char *kwnames[] = {
4124 (char *) "self",(char *) "returnCode", NULL
4125 };
4126
4127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4130 arg2 = (int) SWIG_AsInt(obj1);
4131 if (PyErr_Occurred()) SWIG_fail;
4132 {
4133 PyThreadState* __tstate = wxPyBeginAllowThreads();
4134 (arg1)->SetReturnCode(arg2);
4135
4136 wxPyEndAllowThreads(__tstate);
4137 if (PyErr_Occurred()) SWIG_fail;
4138 }
4139 Py_INCREF(Py_None); resultobj = Py_None;
4140 return resultobj;
4141 fail:
4142 return NULL;
4143 }
4144
4145
4146 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4147 PyObject *resultobj;
4148 wxDialog *arg1 = (wxDialog *) 0 ;
4149 int result;
4150 PyObject * obj0 = 0 ;
4151 char *kwnames[] = {
4152 (char *) "self", NULL
4153 };
4154
4155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4158 {
4159 PyThreadState* __tstate = wxPyBeginAllowThreads();
4160 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4161
4162 wxPyEndAllowThreads(__tstate);
4163 if (PyErr_Occurred()) SWIG_fail;
4164 }
4165 resultobj = SWIG_FromInt((int)result);
4166 return resultobj;
4167 fail:
4168 return NULL;
4169 }
4170
4171
4172 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4173 PyObject *resultobj;
4174 wxDialog *arg1 = (wxDialog *) 0 ;
4175 wxString *arg2 = 0 ;
4176 wxSizer *result;
4177 bool temp2 = False ;
4178 PyObject * obj0 = 0 ;
4179 PyObject * obj1 = 0 ;
4180 char *kwnames[] = {
4181 (char *) "self",(char *) "message", NULL
4182 };
4183
4184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4187 {
4188 arg2 = wxString_in_helper(obj1);
4189 if (arg2 == NULL) SWIG_fail;
4190 temp2 = True;
4191 }
4192 {
4193 PyThreadState* __tstate = wxPyBeginAllowThreads();
4194 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4195
4196 wxPyEndAllowThreads(__tstate);
4197 if (PyErr_Occurred()) SWIG_fail;
4198 }
4199 {
4200 resultobj = wxPyMake_wxSizer(result);
4201 }
4202 {
4203 if (temp2)
4204 delete arg2;
4205 }
4206 return resultobj;
4207 fail:
4208 {
4209 if (temp2)
4210 delete arg2;
4211 }
4212 return NULL;
4213 }
4214
4215
4216 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4217 PyObject *resultobj;
4218 wxDialog *arg1 = (wxDialog *) 0 ;
4219 long arg2 ;
4220 wxSizer *result;
4221 PyObject * obj0 = 0 ;
4222 PyObject * obj1 = 0 ;
4223 char *kwnames[] = {
4224 (char *) "self",(char *) "flags", NULL
4225 };
4226
4227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4230 arg2 = (long) SWIG_AsLong(obj1);
4231 if (PyErr_Occurred()) SWIG_fail;
4232 {
4233 PyThreadState* __tstate = wxPyBeginAllowThreads();
4234 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4235
4236 wxPyEndAllowThreads(__tstate);
4237 if (PyErr_Occurred()) SWIG_fail;
4238 }
4239 {
4240 resultobj = wxPyMake_wxSizer(result);
4241 }
4242 return resultobj;
4243 fail:
4244 return NULL;
4245 }
4246
4247
4248 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4249 PyObject *resultobj;
4250 wxDialog *arg1 = (wxDialog *) 0 ;
4251 bool result;
4252 PyObject * obj0 = 0 ;
4253 char *kwnames[] = {
4254 (char *) "self", NULL
4255 };
4256
4257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4260 {
4261 PyThreadState* __tstate = wxPyBeginAllowThreads();
4262 result = (bool)((wxDialog const *)arg1)->IsModal();
4263
4264 wxPyEndAllowThreads(__tstate);
4265 if (PyErr_Occurred()) SWIG_fail;
4266 }
4267 {
4268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4269 }
4270 return resultobj;
4271 fail:
4272 return NULL;
4273 }
4274
4275
4276 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4277 PyObject *resultobj;
4278 wxDialog *arg1 = (wxDialog *) 0 ;
4279 int result;
4280 PyObject * obj0 = 0 ;
4281 char *kwnames[] = {
4282 (char *) "self", NULL
4283 };
4284
4285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4288 {
4289 PyThreadState* __tstate = wxPyBeginAllowThreads();
4290 result = (int)(arg1)->ShowModal();
4291
4292 wxPyEndAllowThreads(__tstate);
4293 if (PyErr_Occurred()) SWIG_fail;
4294 }
4295 resultobj = SWIG_FromInt((int)result);
4296 return resultobj;
4297 fail:
4298 return NULL;
4299 }
4300
4301
4302 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4303 PyObject *resultobj;
4304 wxDialog *arg1 = (wxDialog *) 0 ;
4305 int arg2 ;
4306 PyObject * obj0 = 0 ;
4307 PyObject * obj1 = 0 ;
4308 char *kwnames[] = {
4309 (char *) "self",(char *) "retCode", NULL
4310 };
4311
4312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4315 arg2 = (int) SWIG_AsInt(obj1);
4316 if (PyErr_Occurred()) SWIG_fail;
4317 {
4318 PyThreadState* __tstate = wxPyBeginAllowThreads();
4319 (arg1)->EndModal(arg2);
4320
4321 wxPyEndAllowThreads(__tstate);
4322 if (PyErr_Occurred()) SWIG_fail;
4323 }
4324 Py_INCREF(Py_None); resultobj = Py_None;
4325 return resultobj;
4326 fail:
4327 return NULL;
4328 }
4329
4330
4331 static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) {
4332 PyObject *resultobj;
4333 wxDialog *arg1 = (wxDialog *) 0 ;
4334 bool result;
4335 PyObject * obj0 = 0 ;
4336 char *kwnames[] = {
4337 (char *) "self", NULL
4338 };
4339
4340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
4341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4343 {
4344 PyThreadState* __tstate = wxPyBeginAllowThreads();
4345 result = (bool)wxDialog_IsModalShowing(arg1);
4346
4347 wxPyEndAllowThreads(__tstate);
4348 if (PyErr_Occurred()) SWIG_fail;
4349 }
4350 {
4351 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4352 }
4353 return resultobj;
4354 fail:
4355 return NULL;
4356 }
4357
4358
4359 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
4360 PyObject *obj;
4361 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4362 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4363 Py_INCREF(obj);
4364 return Py_BuildValue((char *)"");
4365 }
4366 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4367 PyObject *resultobj;
4368 wxWindow *arg1 = (wxWindow *) 0 ;
4369 int arg2 ;
4370 wxString *arg3 = 0 ;
4371 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4372 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4373 wxSize const &arg5_defvalue = wxDefaultSize ;
4374 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4375 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4376 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4377 wxString *arg7 = (wxString *) &arg7_defvalue ;
4378 wxMiniFrame *result;
4379 bool temp3 = False ;
4380 wxPoint temp4 ;
4381 wxSize temp5 ;
4382 bool temp7 = False ;
4383 PyObject * obj0 = 0 ;
4384 PyObject * obj1 = 0 ;
4385 PyObject * obj2 = 0 ;
4386 PyObject * obj3 = 0 ;
4387 PyObject * obj4 = 0 ;
4388 PyObject * obj5 = 0 ;
4389 PyObject * obj6 = 0 ;
4390 char *kwnames[] = {
4391 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4392 };
4393
4394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4397 arg2 = (int const) SWIG_AsInt(obj1);
4398 if (PyErr_Occurred()) SWIG_fail;
4399 {
4400 arg3 = wxString_in_helper(obj2);
4401 if (arg3 == NULL) SWIG_fail;
4402 temp3 = True;
4403 }
4404 if (obj3) {
4405 {
4406 arg4 = &temp4;
4407 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4408 }
4409 }
4410 if (obj4) {
4411 {
4412 arg5 = &temp5;
4413 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4414 }
4415 }
4416 if (obj5) {
4417 arg6 = (long) SWIG_AsLong(obj5);
4418 if (PyErr_Occurred()) SWIG_fail;
4419 }
4420 if (obj6) {
4421 {
4422 arg7 = wxString_in_helper(obj6);
4423 if (arg7 == NULL) SWIG_fail;
4424 temp7 = True;
4425 }
4426 }
4427 {
4428 PyThreadState* __tstate = wxPyBeginAllowThreads();
4429 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4430
4431 wxPyEndAllowThreads(__tstate);
4432 if (PyErr_Occurred()) SWIG_fail;
4433 }
4434 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4435 {
4436 if (temp3)
4437 delete arg3;
4438 }
4439 {
4440 if (temp7)
4441 delete arg7;
4442 }
4443 return resultobj;
4444 fail:
4445 {
4446 if (temp3)
4447 delete arg3;
4448 }
4449 {
4450 if (temp7)
4451 delete arg7;
4452 }
4453 return NULL;
4454 }
4455
4456
4457 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4458 PyObject *resultobj;
4459 wxMiniFrame *result;
4460 char *kwnames[] = {
4461 NULL
4462 };
4463
4464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4465 {
4466 PyThreadState* __tstate = wxPyBeginAllowThreads();
4467 result = (wxMiniFrame *)new wxMiniFrame();
4468
4469 wxPyEndAllowThreads(__tstate);
4470 if (PyErr_Occurred()) SWIG_fail;
4471 }
4472 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4473 return resultobj;
4474 fail:
4475 return NULL;
4476 }
4477
4478
4479 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4480 PyObject *resultobj;
4481 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4482 wxWindow *arg2 = (wxWindow *) 0 ;
4483 int arg3 ;
4484 wxString *arg4 = 0 ;
4485 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4486 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4487 wxSize const &arg6_defvalue = wxDefaultSize ;
4488 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4489 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4490 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4491 wxString *arg8 = (wxString *) &arg8_defvalue ;
4492 bool result;
4493 bool temp4 = False ;
4494 wxPoint temp5 ;
4495 wxSize temp6 ;
4496 bool temp8 = False ;
4497 PyObject * obj0 = 0 ;
4498 PyObject * obj1 = 0 ;
4499 PyObject * obj2 = 0 ;
4500 PyObject * obj3 = 0 ;
4501 PyObject * obj4 = 0 ;
4502 PyObject * obj5 = 0 ;
4503 PyObject * obj6 = 0 ;
4504 PyObject * obj7 = 0 ;
4505 char *kwnames[] = {
4506 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4507 };
4508
4509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4512 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4514 arg3 = (int const) SWIG_AsInt(obj2);
4515 if (PyErr_Occurred()) SWIG_fail;
4516 {
4517 arg4 = wxString_in_helper(obj3);
4518 if (arg4 == NULL) SWIG_fail;
4519 temp4 = True;
4520 }
4521 if (obj4) {
4522 {
4523 arg5 = &temp5;
4524 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4525 }
4526 }
4527 if (obj5) {
4528 {
4529 arg6 = &temp6;
4530 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4531 }
4532 }
4533 if (obj6) {
4534 arg7 = (long) SWIG_AsLong(obj6);
4535 if (PyErr_Occurred()) SWIG_fail;
4536 }
4537 if (obj7) {
4538 {
4539 arg8 = wxString_in_helper(obj7);
4540 if (arg8 == NULL) SWIG_fail;
4541 temp8 = True;
4542 }
4543 }
4544 {
4545 PyThreadState* __tstate = wxPyBeginAllowThreads();
4546 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4547
4548 wxPyEndAllowThreads(__tstate);
4549 if (PyErr_Occurred()) SWIG_fail;
4550 }
4551 {
4552 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4553 }
4554 {
4555 if (temp4)
4556 delete arg4;
4557 }
4558 {
4559 if (temp8)
4560 delete arg8;
4561 }
4562 return resultobj;
4563 fail:
4564 {
4565 if (temp4)
4566 delete arg4;
4567 }
4568 {
4569 if (temp8)
4570 delete arg8;
4571 }
4572 return NULL;
4573 }
4574
4575
4576 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4577 PyObject *obj;
4578 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4579 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4580 Py_INCREF(obj);
4581 return Py_BuildValue((char *)"");
4582 }
4583 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4584 PyObject *resultobj;
4585 wxBitmap *arg1 = 0 ;
4586 wxWindow *arg2 = (wxWindow *) 0 ;
4587 int arg3 ;
4588 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4589 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4590 wxSize const &arg5_defvalue = wxDefaultSize ;
4591 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4592 long arg6 = (long) wxNO_BORDER ;
4593 wxSplashScreenWindow *result;
4594 wxPoint temp4 ;
4595 wxSize temp5 ;
4596 PyObject * obj0 = 0 ;
4597 PyObject * obj1 = 0 ;
4598 PyObject * obj2 = 0 ;
4599 PyObject * obj3 = 0 ;
4600 PyObject * obj4 = 0 ;
4601 PyObject * obj5 = 0 ;
4602 char *kwnames[] = {
4603 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4604 };
4605
4606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4608 SWIG_POINTER_EXCEPTION | 0)) == -1)
4609 SWIG_fail;
4610 if (arg1 == NULL) {
4611 PyErr_SetString(PyExc_TypeError,"null reference");
4612 SWIG_fail;
4613 }
4614 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4616 arg3 = (int) SWIG_AsInt(obj2);
4617 if (PyErr_Occurred()) SWIG_fail;
4618 if (obj3) {
4619 {
4620 arg4 = &temp4;
4621 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4622 }
4623 }
4624 if (obj4) {
4625 {
4626 arg5 = &temp5;
4627 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4628 }
4629 }
4630 if (obj5) {
4631 arg6 = (long) SWIG_AsLong(obj5);
4632 if (PyErr_Occurred()) SWIG_fail;
4633 }
4634 {
4635 PyThreadState* __tstate = wxPyBeginAllowThreads();
4636 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4637
4638 wxPyEndAllowThreads(__tstate);
4639 if (PyErr_Occurred()) SWIG_fail;
4640 }
4641 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
4642 return resultobj;
4643 fail:
4644 return NULL;
4645 }
4646
4647
4648 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4649 PyObject *resultobj;
4650 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4651 wxBitmap *arg2 = 0 ;
4652 PyObject * obj0 = 0 ;
4653 PyObject * obj1 = 0 ;
4654 char *kwnames[] = {
4655 (char *) "self",(char *) "bitmap", NULL
4656 };
4657
4658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4661 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4662 SWIG_POINTER_EXCEPTION | 0)) == -1)
4663 SWIG_fail;
4664 if (arg2 == NULL) {
4665 PyErr_SetString(PyExc_TypeError,"null reference");
4666 SWIG_fail;
4667 }
4668 {
4669 PyThreadState* __tstate = wxPyBeginAllowThreads();
4670 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4671
4672 wxPyEndAllowThreads(__tstate);
4673 if (PyErr_Occurred()) SWIG_fail;
4674 }
4675 Py_INCREF(Py_None); resultobj = Py_None;
4676 return resultobj;
4677 fail:
4678 return NULL;
4679 }
4680
4681
4682 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4683 PyObject *resultobj;
4684 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4685 wxBitmap *result;
4686 PyObject * obj0 = 0 ;
4687 char *kwnames[] = {
4688 (char *) "self", NULL
4689 };
4690
4691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4694 {
4695 PyThreadState* __tstate = wxPyBeginAllowThreads();
4696 {
4697 wxBitmap &_result_ref = (arg1)->GetBitmap();
4698 result = (wxBitmap *) &_result_ref;
4699 }
4700
4701 wxPyEndAllowThreads(__tstate);
4702 if (PyErr_Occurred()) SWIG_fail;
4703 }
4704 {
4705 wxBitmap* resultptr = new wxBitmap(*result);
4706 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
4707 }
4708 return resultobj;
4709 fail:
4710 return NULL;
4711 }
4712
4713
4714 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4715 PyObject *obj;
4716 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4717 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4718 Py_INCREF(obj);
4719 return Py_BuildValue((char *)"");
4720 }
4721 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4722 PyObject *resultobj;
4723 wxBitmap *arg1 = 0 ;
4724 long arg2 ;
4725 int arg3 ;
4726 wxWindow *arg4 = (wxWindow *) 0 ;
4727 int arg5 ;
4728 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4729 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4730 wxSize const &arg7_defvalue = wxDefaultSize ;
4731 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4732 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4733 wxSplashScreen *result;
4734 wxPoint temp6 ;
4735 wxSize temp7 ;
4736 PyObject * obj0 = 0 ;
4737 PyObject * obj1 = 0 ;
4738 PyObject * obj2 = 0 ;
4739 PyObject * obj3 = 0 ;
4740 PyObject * obj4 = 0 ;
4741 PyObject * obj5 = 0 ;
4742 PyObject * obj6 = 0 ;
4743 PyObject * obj7 = 0 ;
4744 char *kwnames[] = {
4745 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4746 };
4747
4748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4750 SWIG_POINTER_EXCEPTION | 0)) == -1)
4751 SWIG_fail;
4752 if (arg1 == NULL) {
4753 PyErr_SetString(PyExc_TypeError,"null reference");
4754 SWIG_fail;
4755 }
4756 arg2 = (long) SWIG_AsLong(obj1);
4757 if (PyErr_Occurred()) SWIG_fail;
4758 arg3 = (int) SWIG_AsInt(obj2);
4759 if (PyErr_Occurred()) SWIG_fail;
4760 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
4761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4762 arg5 = (int) SWIG_AsInt(obj4);
4763 if (PyErr_Occurred()) SWIG_fail;
4764 if (obj5) {
4765 {
4766 arg6 = &temp6;
4767 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4768 }
4769 }
4770 if (obj6) {
4771 {
4772 arg7 = &temp7;
4773 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4774 }
4775 }
4776 if (obj7) {
4777 arg8 = (long) SWIG_AsLong(obj7);
4778 if (PyErr_Occurred()) SWIG_fail;
4779 }
4780 {
4781 PyThreadState* __tstate = wxPyBeginAllowThreads();
4782 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4783
4784 wxPyEndAllowThreads(__tstate);
4785 if (PyErr_Occurred()) SWIG_fail;
4786 }
4787 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
4788 return resultobj;
4789 fail:
4790 return NULL;
4791 }
4792
4793
4794 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4795 PyObject *resultobj;
4796 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4797 long result;
4798 PyObject * obj0 = 0 ;
4799 char *kwnames[] = {
4800 (char *) "self", NULL
4801 };
4802
4803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4806 {
4807 PyThreadState* __tstate = wxPyBeginAllowThreads();
4808 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4809
4810 wxPyEndAllowThreads(__tstate);
4811 if (PyErr_Occurred()) SWIG_fail;
4812 }
4813 resultobj = SWIG_FromLong((long)result);
4814 return resultobj;
4815 fail:
4816 return NULL;
4817 }
4818
4819
4820 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4821 PyObject *resultobj;
4822 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4823 wxSplashScreenWindow *result;
4824 PyObject * obj0 = 0 ;
4825 char *kwnames[] = {
4826 (char *) "self", NULL
4827 };
4828
4829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4832 {
4833 PyThreadState* __tstate = wxPyBeginAllowThreads();
4834 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4835
4836 wxPyEndAllowThreads(__tstate);
4837 if (PyErr_Occurred()) SWIG_fail;
4838 }
4839 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
4840 return resultobj;
4841 fail:
4842 return NULL;
4843 }
4844
4845
4846 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4847 PyObject *resultobj;
4848 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4849 int result;
4850 PyObject * obj0 = 0 ;
4851 char *kwnames[] = {
4852 (char *) "self", NULL
4853 };
4854
4855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4858 {
4859 PyThreadState* __tstate = wxPyBeginAllowThreads();
4860 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4861
4862 wxPyEndAllowThreads(__tstate);
4863 if (PyErr_Occurred()) SWIG_fail;
4864 }
4865 resultobj = SWIG_FromInt((int)result);
4866 return resultobj;
4867 fail:
4868 return NULL;
4869 }
4870
4871
4872 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4873 PyObject *obj;
4874 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4875 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4876 Py_INCREF(obj);
4877 return Py_BuildValue((char *)"");
4878 }
4879 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4880 PyObject *resultobj;
4881 wxWindow *arg1 = (wxWindow *) 0 ;
4882 int arg2 = (int) -1 ;
4883 long arg3 = (long) wxST_SIZEGRIP ;
4884 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4885 wxString *arg4 = (wxString *) &arg4_defvalue ;
4886 wxStatusBar *result;
4887 bool temp4 = False ;
4888 PyObject * obj0 = 0 ;
4889 PyObject * obj1 = 0 ;
4890 PyObject * obj2 = 0 ;
4891 PyObject * obj3 = 0 ;
4892 char *kwnames[] = {
4893 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4894 };
4895
4896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4899 if (obj1) {
4900 arg2 = (int) SWIG_AsInt(obj1);
4901 if (PyErr_Occurred()) SWIG_fail;
4902 }
4903 if (obj2) {
4904 arg3 = (long) SWIG_AsLong(obj2);
4905 if (PyErr_Occurred()) SWIG_fail;
4906 }
4907 if (obj3) {
4908 {
4909 arg4 = wxString_in_helper(obj3);
4910 if (arg4 == NULL) SWIG_fail;
4911 temp4 = True;
4912 }
4913 }
4914 {
4915 PyThreadState* __tstate = wxPyBeginAllowThreads();
4916 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4917
4918 wxPyEndAllowThreads(__tstate);
4919 if (PyErr_Occurred()) SWIG_fail;
4920 }
4921 {
4922 resultobj = wxPyMake_wxObject(result);
4923 }
4924 {
4925 if (temp4)
4926 delete arg4;
4927 }
4928 return resultobj;
4929 fail:
4930 {
4931 if (temp4)
4932 delete arg4;
4933 }
4934 return NULL;
4935 }
4936
4937
4938 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4939 PyObject *resultobj;
4940 wxStatusBar *result;
4941 char *kwnames[] = {
4942 NULL
4943 };
4944
4945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4946 {
4947 PyThreadState* __tstate = wxPyBeginAllowThreads();
4948 result = (wxStatusBar *)new wxStatusBar();
4949
4950 wxPyEndAllowThreads(__tstate);
4951 if (PyErr_Occurred()) SWIG_fail;
4952 }
4953 {
4954 resultobj = wxPyMake_wxObject(result);
4955 }
4956 return resultobj;
4957 fail:
4958 return NULL;
4959 }
4960
4961
4962 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4963 PyObject *resultobj;
4964 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4965 wxWindow *arg2 = (wxWindow *) 0 ;
4966 int arg3 ;
4967 long arg4 = (long) wxST_SIZEGRIP ;
4968 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4969 wxString *arg5 = (wxString *) &arg5_defvalue ;
4970 bool result;
4971 bool temp5 = False ;
4972 PyObject * obj0 = 0 ;
4973 PyObject * obj1 = 0 ;
4974 PyObject * obj2 = 0 ;
4975 PyObject * obj3 = 0 ;
4976 PyObject * obj4 = 0 ;
4977 char *kwnames[] = {
4978 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4979 };
4980
4981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4984 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4986 arg3 = (int) SWIG_AsInt(obj2);
4987 if (PyErr_Occurred()) SWIG_fail;
4988 if (obj3) {
4989 arg4 = (long) SWIG_AsLong(obj3);
4990 if (PyErr_Occurred()) SWIG_fail;
4991 }
4992 if (obj4) {
4993 {
4994 arg5 = wxString_in_helper(obj4);
4995 if (arg5 == NULL) SWIG_fail;
4996 temp5 = True;
4997 }
4998 }
4999 {
5000 PyThreadState* __tstate = wxPyBeginAllowThreads();
5001 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
5002
5003 wxPyEndAllowThreads(__tstate);
5004 if (PyErr_Occurred()) SWIG_fail;
5005 }
5006 {
5007 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5008 }
5009 {
5010 if (temp5)
5011 delete arg5;
5012 }
5013 return resultobj;
5014 fail:
5015 {
5016 if (temp5)
5017 delete arg5;
5018 }
5019 return NULL;
5020 }
5021
5022
5023 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5024 PyObject *resultobj;
5025 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5026 int arg2 = (int) 1 ;
5027 PyObject * obj0 = 0 ;
5028 PyObject * obj1 = 0 ;
5029 char *kwnames[] = {
5030 (char *) "self",(char *) "number", NULL
5031 };
5032
5033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
5034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5036 if (obj1) {
5037 arg2 = (int) SWIG_AsInt(obj1);
5038 if (PyErr_Occurred()) SWIG_fail;
5039 }
5040 {
5041 PyThreadState* __tstate = wxPyBeginAllowThreads();
5042 (arg1)->SetFieldsCount(arg2);
5043
5044 wxPyEndAllowThreads(__tstate);
5045 if (PyErr_Occurred()) SWIG_fail;
5046 }
5047 Py_INCREF(Py_None); resultobj = Py_None;
5048 return resultobj;
5049 fail:
5050 return NULL;
5051 }
5052
5053
5054 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5055 PyObject *resultobj;
5056 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5057 int result;
5058 PyObject * obj0 = 0 ;
5059 char *kwnames[] = {
5060 (char *) "self", NULL
5061 };
5062
5063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
5064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5066 {
5067 PyThreadState* __tstate = wxPyBeginAllowThreads();
5068 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5069
5070 wxPyEndAllowThreads(__tstate);
5071 if (PyErr_Occurred()) SWIG_fail;
5072 }
5073 resultobj = SWIG_FromInt((int)result);
5074 return resultobj;
5075 fail:
5076 return NULL;
5077 }
5078
5079
5080 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5081 PyObject *resultobj;
5082 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5083 wxString *arg2 = 0 ;
5084 int arg3 = (int) 0 ;
5085 bool temp2 = False ;
5086 PyObject * obj0 = 0 ;
5087 PyObject * obj1 = 0 ;
5088 PyObject * obj2 = 0 ;
5089 char *kwnames[] = {
5090 (char *) "self",(char *) "text",(char *) "number", NULL
5091 };
5092
5093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5096 {
5097 arg2 = wxString_in_helper(obj1);
5098 if (arg2 == NULL) SWIG_fail;
5099 temp2 = True;
5100 }
5101 if (obj2) {
5102 arg3 = (int) SWIG_AsInt(obj2);
5103 if (PyErr_Occurred()) SWIG_fail;
5104 }
5105 {
5106 PyThreadState* __tstate = wxPyBeginAllowThreads();
5107 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5108
5109 wxPyEndAllowThreads(__tstate);
5110 if (PyErr_Occurred()) SWIG_fail;
5111 }
5112 Py_INCREF(Py_None); resultobj = Py_None;
5113 {
5114 if (temp2)
5115 delete arg2;
5116 }
5117 return resultobj;
5118 fail:
5119 {
5120 if (temp2)
5121 delete arg2;
5122 }
5123 return NULL;
5124 }
5125
5126
5127 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5128 PyObject *resultobj;
5129 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5130 int arg2 = (int) 0 ;
5131 wxString result;
5132 PyObject * obj0 = 0 ;
5133 PyObject * obj1 = 0 ;
5134 char *kwnames[] = {
5135 (char *) "self",(char *) "number", NULL
5136 };
5137
5138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5141 if (obj1) {
5142 arg2 = (int) SWIG_AsInt(obj1);
5143 if (PyErr_Occurred()) SWIG_fail;
5144 }
5145 {
5146 PyThreadState* __tstate = wxPyBeginAllowThreads();
5147 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5148
5149 wxPyEndAllowThreads(__tstate);
5150 if (PyErr_Occurred()) SWIG_fail;
5151 }
5152 {
5153 #if wxUSE_UNICODE
5154 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5155 #else
5156 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5157 #endif
5158 }
5159 return resultobj;
5160 fail:
5161 return NULL;
5162 }
5163
5164
5165 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5166 PyObject *resultobj;
5167 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5168 wxString *arg2 = 0 ;
5169 int arg3 = (int) 0 ;
5170 bool temp2 = False ;
5171 PyObject * obj0 = 0 ;
5172 PyObject * obj1 = 0 ;
5173 PyObject * obj2 = 0 ;
5174 char *kwnames[] = {
5175 (char *) "self",(char *) "text",(char *) "number", NULL
5176 };
5177
5178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5181 {
5182 arg2 = wxString_in_helper(obj1);
5183 if (arg2 == NULL) SWIG_fail;
5184 temp2 = True;
5185 }
5186 if (obj2) {
5187 arg3 = (int) SWIG_AsInt(obj2);
5188 if (PyErr_Occurred()) SWIG_fail;
5189 }
5190 {
5191 PyThreadState* __tstate = wxPyBeginAllowThreads();
5192 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5193
5194 wxPyEndAllowThreads(__tstate);
5195 if (PyErr_Occurred()) SWIG_fail;
5196 }
5197 Py_INCREF(Py_None); resultobj = Py_None;
5198 {
5199 if (temp2)
5200 delete arg2;
5201 }
5202 return resultobj;
5203 fail:
5204 {
5205 if (temp2)
5206 delete arg2;
5207 }
5208 return NULL;
5209 }
5210
5211
5212 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5213 PyObject *resultobj;
5214 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5215 int arg2 = (int) 0 ;
5216 PyObject * obj0 = 0 ;
5217 PyObject * obj1 = 0 ;
5218 char *kwnames[] = {
5219 (char *) "self",(char *) "number", NULL
5220 };
5221
5222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5225 if (obj1) {
5226 arg2 = (int) SWIG_AsInt(obj1);
5227 if (PyErr_Occurred()) SWIG_fail;
5228 }
5229 {
5230 PyThreadState* __tstate = wxPyBeginAllowThreads();
5231 (arg1)->PopStatusText(arg2);
5232
5233 wxPyEndAllowThreads(__tstate);
5234 if (PyErr_Occurred()) SWIG_fail;
5235 }
5236 Py_INCREF(Py_None); resultobj = Py_None;
5237 return resultobj;
5238 fail:
5239 return NULL;
5240 }
5241
5242
5243 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
5244 PyObject *resultobj;
5245 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5246 int arg2 ;
5247 int *arg3 = (int *) 0 ;
5248 PyObject * obj0 = 0 ;
5249 PyObject * obj1 = 0 ;
5250 char *kwnames[] = {
5251 (char *) "self",(char *) "widths", NULL
5252 };
5253
5254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5257 {
5258 arg2 = PyList_Size(obj1);
5259 arg3 = int_LIST_helper(obj1);
5260 if (arg3 == NULL) SWIG_fail;
5261 }
5262 {
5263 PyThreadState* __tstate = wxPyBeginAllowThreads();
5264 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5265
5266 wxPyEndAllowThreads(__tstate);
5267 if (PyErr_Occurred()) SWIG_fail;
5268 }
5269 Py_INCREF(Py_None); resultobj = Py_None;
5270 {
5271 if (arg3) delete [] arg3;
5272 }
5273 return resultobj;
5274 fail:
5275 {
5276 if (arg3) delete [] arg3;
5277 }
5278 return NULL;
5279 }
5280
5281
5282 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5283 PyObject *resultobj;
5284 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5285 int arg2 ;
5286 wxRect result;
5287 PyObject * obj0 = 0 ;
5288 PyObject * obj1 = 0 ;
5289 char *kwnames[] = {
5290 (char *) "self",(char *) "i", NULL
5291 };
5292
5293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5296 arg2 = (int) SWIG_AsInt(obj1);
5297 if (PyErr_Occurred()) SWIG_fail;
5298 {
5299 PyThreadState* __tstate = wxPyBeginAllowThreads();
5300 result = wxStatusBar_GetFieldRect(arg1,arg2);
5301
5302 wxPyEndAllowThreads(__tstate);
5303 if (PyErr_Occurred()) SWIG_fail;
5304 }
5305 {
5306 wxRect * resultptr;
5307 resultptr = new wxRect((wxRect &) result);
5308 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5309 }
5310 return resultobj;
5311 fail:
5312 return NULL;
5313 }
5314
5315
5316 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5317 PyObject *resultobj;
5318 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5319 int arg2 ;
5320 PyObject * obj0 = 0 ;
5321 PyObject * obj1 = 0 ;
5322 char *kwnames[] = {
5323 (char *) "self",(char *) "height", NULL
5324 };
5325
5326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5329 arg2 = (int) SWIG_AsInt(obj1);
5330 if (PyErr_Occurred()) SWIG_fail;
5331 {
5332 PyThreadState* __tstate = wxPyBeginAllowThreads();
5333 (arg1)->SetMinHeight(arg2);
5334
5335 wxPyEndAllowThreads(__tstate);
5336 if (PyErr_Occurred()) SWIG_fail;
5337 }
5338 Py_INCREF(Py_None); resultobj = Py_None;
5339 return resultobj;
5340 fail:
5341 return NULL;
5342 }
5343
5344
5345 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
5346 PyObject *resultobj;
5347 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5348 int result;
5349 PyObject * obj0 = 0 ;
5350 char *kwnames[] = {
5351 (char *) "self", NULL
5352 };
5353
5354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5357 {
5358 PyThreadState* __tstate = wxPyBeginAllowThreads();
5359 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5360
5361 wxPyEndAllowThreads(__tstate);
5362 if (PyErr_Occurred()) SWIG_fail;
5363 }
5364 resultobj = SWIG_FromInt((int)result);
5365 return resultobj;
5366 fail:
5367 return NULL;
5368 }
5369
5370
5371 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
5372 PyObject *resultobj;
5373 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5374 int result;
5375 PyObject * obj0 = 0 ;
5376 char *kwnames[] = {
5377 (char *) "self", NULL
5378 };
5379
5380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5383 {
5384 PyThreadState* __tstate = wxPyBeginAllowThreads();
5385 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5386
5387 wxPyEndAllowThreads(__tstate);
5388 if (PyErr_Occurred()) SWIG_fail;
5389 }
5390 resultobj = SWIG_FromInt((int)result);
5391 return resultobj;
5392 fail:
5393 return NULL;
5394 }
5395
5396
5397 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
5398 PyObject *obj;
5399 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5400 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5401 Py_INCREF(obj);
5402 return Py_BuildValue((char *)"");
5403 }
5404 static int _wrap_SplitterNameStr_set(PyObject *_val) {
5405 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5406 return 1;
5407 }
5408
5409
5410 static PyObject *_wrap_SplitterNameStr_get() {
5411 PyObject *pyobj;
5412
5413 {
5414 #if wxUSE_UNICODE
5415 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5416 #else
5417 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5418 #endif
5419 }
5420 return pyobj;
5421 }
5422
5423
5424 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5425 PyObject *resultobj;
5426 wxWindow *arg1 = (wxWindow *) 0 ;
5427 int arg2 ;
5428 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5429 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5430 wxSize const &arg4_defvalue = wxDefaultSize ;
5431 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5432 long arg5 = (long) wxSP_3D ;
5433 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5434 wxString *arg6 = (wxString *) &arg6_defvalue ;
5435 wxSplitterWindow *result;
5436 wxPoint temp3 ;
5437 wxSize temp4 ;
5438 bool temp6 = False ;
5439 PyObject * obj0 = 0 ;
5440 PyObject * obj1 = 0 ;
5441 PyObject * obj2 = 0 ;
5442 PyObject * obj3 = 0 ;
5443 PyObject * obj4 = 0 ;
5444 PyObject * obj5 = 0 ;
5445 char *kwnames[] = {
5446 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5447 };
5448
5449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5452 arg2 = (int) SWIG_AsInt(obj1);
5453 if (PyErr_Occurred()) SWIG_fail;
5454 if (obj2) {
5455 {
5456 arg3 = &temp3;
5457 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5458 }
5459 }
5460 if (obj3) {
5461 {
5462 arg4 = &temp4;
5463 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5464 }
5465 }
5466 if (obj4) {
5467 arg5 = (long) SWIG_AsLong(obj4);
5468 if (PyErr_Occurred()) SWIG_fail;
5469 }
5470 if (obj5) {
5471 {
5472 arg6 = wxString_in_helper(obj5);
5473 if (arg6 == NULL) SWIG_fail;
5474 temp6 = True;
5475 }
5476 }
5477 {
5478 PyThreadState* __tstate = wxPyBeginAllowThreads();
5479 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5480
5481 wxPyEndAllowThreads(__tstate);
5482 if (PyErr_Occurred()) SWIG_fail;
5483 }
5484 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5485 {
5486 if (temp6)
5487 delete arg6;
5488 }
5489 return resultobj;
5490 fail:
5491 {
5492 if (temp6)
5493 delete arg6;
5494 }
5495 return NULL;
5496 }
5497
5498
5499 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5500 PyObject *resultobj;
5501 wxSplitterWindow *result;
5502 char *kwnames[] = {
5503 NULL
5504 };
5505
5506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5507 {
5508 PyThreadState* __tstate = wxPyBeginAllowThreads();
5509 result = (wxSplitterWindow *)new wxSplitterWindow();
5510
5511 wxPyEndAllowThreads(__tstate);
5512 if (PyErr_Occurred()) SWIG_fail;
5513 }
5514 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5515 return resultobj;
5516 fail:
5517 return NULL;
5518 }
5519
5520
5521 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5522 PyObject *resultobj;
5523 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5524 wxWindow *arg2 = (wxWindow *) 0 ;
5525 int arg3 ;
5526 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5527 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5528 wxSize const &arg5_defvalue = wxDefaultSize ;
5529 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5530 long arg6 = (long) wxSP_3D ;
5531 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5532 wxString *arg7 = (wxString *) &arg7_defvalue ;
5533 bool result;
5534 wxPoint temp4 ;
5535 wxSize temp5 ;
5536 bool temp7 = False ;
5537 PyObject * obj0 = 0 ;
5538 PyObject * obj1 = 0 ;
5539 PyObject * obj2 = 0 ;
5540 PyObject * obj3 = 0 ;
5541 PyObject * obj4 = 0 ;
5542 PyObject * obj5 = 0 ;
5543 PyObject * obj6 = 0 ;
5544 char *kwnames[] = {
5545 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5546 };
5547
5548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5551 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5553 arg3 = (int) SWIG_AsInt(obj2);
5554 if (PyErr_Occurred()) SWIG_fail;
5555 if (obj3) {
5556 {
5557 arg4 = &temp4;
5558 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5559 }
5560 }
5561 if (obj4) {
5562 {
5563 arg5 = &temp5;
5564 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5565 }
5566 }
5567 if (obj5) {
5568 arg6 = (long) SWIG_AsLong(obj5);
5569 if (PyErr_Occurred()) SWIG_fail;
5570 }
5571 if (obj6) {
5572 {
5573 arg7 = wxString_in_helper(obj6);
5574 if (arg7 == NULL) SWIG_fail;
5575 temp7 = True;
5576 }
5577 }
5578 {
5579 PyThreadState* __tstate = wxPyBeginAllowThreads();
5580 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5581
5582 wxPyEndAllowThreads(__tstate);
5583 if (PyErr_Occurred()) SWIG_fail;
5584 }
5585 {
5586 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5587 }
5588 {
5589 if (temp7)
5590 delete arg7;
5591 }
5592 return resultobj;
5593 fail:
5594 {
5595 if (temp7)
5596 delete arg7;
5597 }
5598 return NULL;
5599 }
5600
5601
5602 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5603 PyObject *resultobj;
5604 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5605 wxWindow *result;
5606 PyObject * obj0 = 0 ;
5607 char *kwnames[] = {
5608 (char *) "self", NULL
5609 };
5610
5611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5614 {
5615 PyThreadState* __tstate = wxPyBeginAllowThreads();
5616 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5617
5618 wxPyEndAllowThreads(__tstate);
5619 if (PyErr_Occurred()) SWIG_fail;
5620 }
5621 {
5622 resultobj = wxPyMake_wxObject(result);
5623 }
5624 return resultobj;
5625 fail:
5626 return NULL;
5627 }
5628
5629
5630 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5631 PyObject *resultobj;
5632 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5633 wxWindow *result;
5634 PyObject * obj0 = 0 ;
5635 char *kwnames[] = {
5636 (char *) "self", NULL
5637 };
5638
5639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5642 {
5643 PyThreadState* __tstate = wxPyBeginAllowThreads();
5644 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5645
5646 wxPyEndAllowThreads(__tstate);
5647 if (PyErr_Occurred()) SWIG_fail;
5648 }
5649 {
5650 resultobj = wxPyMake_wxObject(result);
5651 }
5652 return resultobj;
5653 fail:
5654 return NULL;
5655 }
5656
5657
5658 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5659 PyObject *resultobj;
5660 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5661 int arg2 ;
5662 PyObject * obj0 = 0 ;
5663 PyObject * obj1 = 0 ;
5664 char *kwnames[] = {
5665 (char *) "self",(char *) "mode", NULL
5666 };
5667
5668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
5669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5671 arg2 = (int) SWIG_AsInt(obj1);
5672 if (PyErr_Occurred()) SWIG_fail;
5673 {
5674 PyThreadState* __tstate = wxPyBeginAllowThreads();
5675 (arg1)->SetSplitMode(arg2);
5676
5677 wxPyEndAllowThreads(__tstate);
5678 if (PyErr_Occurred()) SWIG_fail;
5679 }
5680 Py_INCREF(Py_None); resultobj = Py_None;
5681 return resultobj;
5682 fail:
5683 return NULL;
5684 }
5685
5686
5687 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5688 PyObject *resultobj;
5689 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5690 int result;
5691 PyObject * obj0 = 0 ;
5692 char *kwnames[] = {
5693 (char *) "self", NULL
5694 };
5695
5696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5699 {
5700 PyThreadState* __tstate = wxPyBeginAllowThreads();
5701 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5702
5703 wxPyEndAllowThreads(__tstate);
5704 if (PyErr_Occurred()) SWIG_fail;
5705 }
5706 resultobj = SWIG_FromInt((int)result);
5707 return resultobj;
5708 fail:
5709 return NULL;
5710 }
5711
5712
5713 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5714 PyObject *resultobj;
5715 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5716 wxWindow *arg2 = (wxWindow *) 0 ;
5717 PyObject * obj0 = 0 ;
5718 PyObject * obj1 = 0 ;
5719 char *kwnames[] = {
5720 (char *) "self",(char *) "window", NULL
5721 };
5722
5723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5726 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5728 {
5729 PyThreadState* __tstate = wxPyBeginAllowThreads();
5730 (arg1)->Initialize(arg2);
5731
5732 wxPyEndAllowThreads(__tstate);
5733 if (PyErr_Occurred()) SWIG_fail;
5734 }
5735 Py_INCREF(Py_None); resultobj = Py_None;
5736 return resultobj;
5737 fail:
5738 return NULL;
5739 }
5740
5741
5742 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
5743 PyObject *resultobj;
5744 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5745 wxWindow *arg2 = (wxWindow *) 0 ;
5746 wxWindow *arg3 = (wxWindow *) 0 ;
5747 int arg4 = (int) 0 ;
5748 bool result;
5749 PyObject * obj0 = 0 ;
5750 PyObject * obj1 = 0 ;
5751 PyObject * obj2 = 0 ;
5752 PyObject * obj3 = 0 ;
5753 char *kwnames[] = {
5754 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5755 };
5756
5757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5760 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5762 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5764 if (obj3) {
5765 arg4 = (int) SWIG_AsInt(obj3);
5766 if (PyErr_Occurred()) SWIG_fail;
5767 }
5768 {
5769 PyThreadState* __tstate = wxPyBeginAllowThreads();
5770 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5771
5772 wxPyEndAllowThreads(__tstate);
5773 if (PyErr_Occurred()) SWIG_fail;
5774 }
5775 {
5776 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5777 }
5778 return resultobj;
5779 fail:
5780 return NULL;
5781 }
5782
5783
5784 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5785 PyObject *resultobj;
5786 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5787 wxWindow *arg2 = (wxWindow *) 0 ;
5788 wxWindow *arg3 = (wxWindow *) 0 ;
5789 int arg4 = (int) 0 ;
5790 bool result;
5791 PyObject * obj0 = 0 ;
5792 PyObject * obj1 = 0 ;
5793 PyObject * obj2 = 0 ;
5794 PyObject * obj3 = 0 ;
5795 char *kwnames[] = {
5796 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5797 };
5798
5799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5802 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5804 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5806 if (obj3) {
5807 arg4 = (int) SWIG_AsInt(obj3);
5808 if (PyErr_Occurred()) SWIG_fail;
5809 }
5810 {
5811 PyThreadState* __tstate = wxPyBeginAllowThreads();
5812 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5813
5814 wxPyEndAllowThreads(__tstate);
5815 if (PyErr_Occurred()) SWIG_fail;
5816 }
5817 {
5818 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5819 }
5820 return resultobj;
5821 fail:
5822 return NULL;
5823 }
5824
5825
5826 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5827 PyObject *resultobj;
5828 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5829 wxWindow *arg2 = (wxWindow *) NULL ;
5830 bool result;
5831 PyObject * obj0 = 0 ;
5832 PyObject * obj1 = 0 ;
5833 char *kwnames[] = {
5834 (char *) "self",(char *) "toRemove", NULL
5835 };
5836
5837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5840 if (obj1) {
5841 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5843 }
5844 {
5845 PyThreadState* __tstate = wxPyBeginAllowThreads();
5846 result = (bool)(arg1)->Unsplit(arg2);
5847
5848 wxPyEndAllowThreads(__tstate);
5849 if (PyErr_Occurred()) SWIG_fail;
5850 }
5851 {
5852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5853 }
5854 return resultobj;
5855 fail:
5856 return NULL;
5857 }
5858
5859
5860 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5861 PyObject *resultobj;
5862 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5863 wxWindow *arg2 = (wxWindow *) 0 ;
5864 wxWindow *arg3 = (wxWindow *) 0 ;
5865 bool result;
5866 PyObject * obj0 = 0 ;
5867 PyObject * obj1 = 0 ;
5868 PyObject * obj2 = 0 ;
5869 char *kwnames[] = {
5870 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5871 };
5872
5873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5876 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5878 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5880 {
5881 PyThreadState* __tstate = wxPyBeginAllowThreads();
5882 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5883
5884 wxPyEndAllowThreads(__tstate);
5885 if (PyErr_Occurred()) SWIG_fail;
5886 }
5887 {
5888 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5889 }
5890 return resultobj;
5891 fail:
5892 return NULL;
5893 }
5894
5895
5896 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5897 PyObject *resultobj;
5898 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5899 PyObject * obj0 = 0 ;
5900 char *kwnames[] = {
5901 (char *) "self", NULL
5902 };
5903
5904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
5905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5907 {
5908 PyThreadState* __tstate = wxPyBeginAllowThreads();
5909 (arg1)->UpdateSize();
5910
5911 wxPyEndAllowThreads(__tstate);
5912 if (PyErr_Occurred()) SWIG_fail;
5913 }
5914 Py_INCREF(Py_None); resultobj = Py_None;
5915 return resultobj;
5916 fail:
5917 return NULL;
5918 }
5919
5920
5921 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5922 PyObject *resultobj;
5923 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5924 bool result;
5925 PyObject * obj0 = 0 ;
5926 char *kwnames[] = {
5927 (char *) "self", NULL
5928 };
5929
5930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5933 {
5934 PyThreadState* __tstate = wxPyBeginAllowThreads();
5935 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5936
5937 wxPyEndAllowThreads(__tstate);
5938 if (PyErr_Occurred()) SWIG_fail;
5939 }
5940 {
5941 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5942 }
5943 return resultobj;
5944 fail:
5945 return NULL;
5946 }
5947
5948
5949 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5950 PyObject *resultobj;
5951 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5952 int arg2 ;
5953 PyObject * obj0 = 0 ;
5954 PyObject * obj1 = 0 ;
5955 char *kwnames[] = {
5956 (char *) "self",(char *) "width", NULL
5957 };
5958
5959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
5960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5962 arg2 = (int) SWIG_AsInt(obj1);
5963 if (PyErr_Occurred()) SWIG_fail;
5964 {
5965 PyThreadState* __tstate = wxPyBeginAllowThreads();
5966 (arg1)->SetSashSize(arg2);
5967
5968 wxPyEndAllowThreads(__tstate);
5969 if (PyErr_Occurred()) SWIG_fail;
5970 }
5971 Py_INCREF(Py_None); resultobj = Py_None;
5972 return resultobj;
5973 fail:
5974 return NULL;
5975 }
5976
5977
5978 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5979 PyObject *resultobj;
5980 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5981 int arg2 ;
5982 PyObject * obj0 = 0 ;
5983 PyObject * obj1 = 0 ;
5984 char *kwnames[] = {
5985 (char *) "self",(char *) "width", NULL
5986 };
5987
5988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
5989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5991 arg2 = (int) SWIG_AsInt(obj1);
5992 if (PyErr_Occurred()) SWIG_fail;
5993 {
5994 PyThreadState* __tstate = wxPyBeginAllowThreads();
5995 (arg1)->SetBorderSize(arg2);
5996
5997 wxPyEndAllowThreads(__tstate);
5998 if (PyErr_Occurred()) SWIG_fail;
5999 }
6000 Py_INCREF(Py_None); resultobj = Py_None;
6001 return resultobj;
6002 fail:
6003 return NULL;
6004 }
6005
6006
6007 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6008 PyObject *resultobj;
6009 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6010 int result;
6011 PyObject * obj0 = 0 ;
6012 char *kwnames[] = {
6013 (char *) "self", NULL
6014 };
6015
6016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
6017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6019 {
6020 PyThreadState* __tstate = wxPyBeginAllowThreads();
6021 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
6022
6023 wxPyEndAllowThreads(__tstate);
6024 if (PyErr_Occurred()) SWIG_fail;
6025 }
6026 resultobj = SWIG_FromInt((int)result);
6027 return resultobj;
6028 fail:
6029 return NULL;
6030 }
6031
6032
6033 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6034 PyObject *resultobj;
6035 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6036 int result;
6037 PyObject * obj0 = 0 ;
6038 char *kwnames[] = {
6039 (char *) "self", NULL
6040 };
6041
6042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
6043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6045 {
6046 PyThreadState* __tstate = wxPyBeginAllowThreads();
6047 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
6048
6049 wxPyEndAllowThreads(__tstate);
6050 if (PyErr_Occurred()) SWIG_fail;
6051 }
6052 resultobj = SWIG_FromInt((int)result);
6053 return resultobj;
6054 fail:
6055 return NULL;
6056 }
6057
6058
6059 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6060 PyObject *resultobj;
6061 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6062 int arg2 ;
6063 bool arg3 = (bool) True ;
6064 PyObject * obj0 = 0 ;
6065 PyObject * obj1 = 0 ;
6066 PyObject * obj2 = 0 ;
6067 char *kwnames[] = {
6068 (char *) "self",(char *) "position",(char *) "redraw", NULL
6069 };
6070
6071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
6072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6074 arg2 = (int) SWIG_AsInt(obj1);
6075 if (PyErr_Occurred()) SWIG_fail;
6076 if (obj2) {
6077 arg3 = (bool) SWIG_AsBool(obj2);
6078 if (PyErr_Occurred()) SWIG_fail;
6079 }
6080 {
6081 PyThreadState* __tstate = wxPyBeginAllowThreads();
6082 (arg1)->SetSashPosition(arg2,arg3);
6083
6084 wxPyEndAllowThreads(__tstate);
6085 if (PyErr_Occurred()) SWIG_fail;
6086 }
6087 Py_INCREF(Py_None); resultobj = Py_None;
6088 return resultobj;
6089 fail:
6090 return NULL;
6091 }
6092
6093
6094 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6095 PyObject *resultobj;
6096 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6097 int result;
6098 PyObject * obj0 = 0 ;
6099 char *kwnames[] = {
6100 (char *) "self", NULL
6101 };
6102
6103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
6104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6106 {
6107 PyThreadState* __tstate = wxPyBeginAllowThreads();
6108 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6109
6110 wxPyEndAllowThreads(__tstate);
6111 if (PyErr_Occurred()) SWIG_fail;
6112 }
6113 resultobj = SWIG_FromInt((int)result);
6114 return resultobj;
6115 fail:
6116 return NULL;
6117 }
6118
6119
6120 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6121 PyObject *resultobj;
6122 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6123 int arg2 ;
6124 PyObject * obj0 = 0 ;
6125 PyObject * obj1 = 0 ;
6126 char *kwnames[] = {
6127 (char *) "self",(char *) "min", NULL
6128 };
6129
6130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6133 arg2 = (int) SWIG_AsInt(obj1);
6134 if (PyErr_Occurred()) SWIG_fail;
6135 {
6136 PyThreadState* __tstate = wxPyBeginAllowThreads();
6137 (arg1)->SetMinimumPaneSize(arg2);
6138
6139 wxPyEndAllowThreads(__tstate);
6140 if (PyErr_Occurred()) SWIG_fail;
6141 }
6142 Py_INCREF(Py_None); resultobj = Py_None;
6143 return resultobj;
6144 fail:
6145 return NULL;
6146 }
6147
6148
6149 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6150 PyObject *resultobj;
6151 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6152 int result;
6153 PyObject * obj0 = 0 ;
6154 char *kwnames[] = {
6155 (char *) "self", NULL
6156 };
6157
6158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6161 {
6162 PyThreadState* __tstate = wxPyBeginAllowThreads();
6163 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6164
6165 wxPyEndAllowThreads(__tstate);
6166 if (PyErr_Occurred()) SWIG_fail;
6167 }
6168 resultobj = SWIG_FromInt((int)result);
6169 return resultobj;
6170 fail:
6171 return NULL;
6172 }
6173
6174
6175 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6176 PyObject *resultobj;
6177 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6178 int arg2 ;
6179 int arg3 ;
6180 int arg4 = (int) 5 ;
6181 bool result;
6182 PyObject * obj0 = 0 ;
6183 PyObject * obj1 = 0 ;
6184 PyObject * obj2 = 0 ;
6185 PyObject * obj3 = 0 ;
6186 char *kwnames[] = {
6187 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6188 };
6189
6190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6193 arg2 = (int) SWIG_AsInt(obj1);
6194 if (PyErr_Occurred()) SWIG_fail;
6195 arg3 = (int) SWIG_AsInt(obj2);
6196 if (PyErr_Occurred()) SWIG_fail;
6197 if (obj3) {
6198 arg4 = (int) SWIG_AsInt(obj3);
6199 if (PyErr_Occurred()) SWIG_fail;
6200 }
6201 {
6202 PyThreadState* __tstate = wxPyBeginAllowThreads();
6203 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6204
6205 wxPyEndAllowThreads(__tstate);
6206 if (PyErr_Occurred()) SWIG_fail;
6207 }
6208 {
6209 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6210 }
6211 return resultobj;
6212 fail:
6213 return NULL;
6214 }
6215
6216
6217 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6218 PyObject *resultobj;
6219 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6220 PyObject * obj0 = 0 ;
6221 char *kwnames[] = {
6222 (char *) "self", NULL
6223 };
6224
6225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6228 {
6229 PyThreadState* __tstate = wxPyBeginAllowThreads();
6230 (arg1)->SizeWindows();
6231
6232 wxPyEndAllowThreads(__tstate);
6233 if (PyErr_Occurred()) SWIG_fail;
6234 }
6235 Py_INCREF(Py_None); resultobj = Py_None;
6236 return resultobj;
6237 fail:
6238 return NULL;
6239 }
6240
6241
6242 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6243 PyObject *resultobj;
6244 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6245 bool arg2 ;
6246 PyObject * obj0 = 0 ;
6247 PyObject * obj1 = 0 ;
6248 char *kwnames[] = {
6249 (char *) "self",(char *) "needUpdating", NULL
6250 };
6251
6252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6255 arg2 = (bool) SWIG_AsBool(obj1);
6256 if (PyErr_Occurred()) SWIG_fail;
6257 {
6258 PyThreadState* __tstate = wxPyBeginAllowThreads();
6259 (arg1)->SetNeedUpdating(arg2);
6260
6261 wxPyEndAllowThreads(__tstate);
6262 if (PyErr_Occurred()) SWIG_fail;
6263 }
6264 Py_INCREF(Py_None); resultobj = Py_None;
6265 return resultobj;
6266 fail:
6267 return NULL;
6268 }
6269
6270
6271 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6272 PyObject *resultobj;
6273 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6274 bool result;
6275 PyObject * obj0 = 0 ;
6276 char *kwnames[] = {
6277 (char *) "self", NULL
6278 };
6279
6280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6283 {
6284 PyThreadState* __tstate = wxPyBeginAllowThreads();
6285 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6286
6287 wxPyEndAllowThreads(__tstate);
6288 if (PyErr_Occurred()) SWIG_fail;
6289 }
6290 {
6291 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6292 }
6293 return resultobj;
6294 fail:
6295 return NULL;
6296 }
6297
6298
6299 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
6300 PyObject *obj;
6301 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6302 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6303 Py_INCREF(obj);
6304 return Py_BuildValue((char *)"");
6305 }
6306 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6307 PyObject *resultobj;
6308 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6309 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6310 wxSplitterEvent *result;
6311 PyObject * obj0 = 0 ;
6312 PyObject * obj1 = 0 ;
6313 char *kwnames[] = {
6314 (char *) "type",(char *) "splitter", NULL
6315 };
6316
6317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6318 if (obj0) {
6319 arg1 = (wxEventType) SWIG_AsInt(obj0);
6320 if (PyErr_Occurred()) SWIG_fail;
6321 }
6322 if (obj1) {
6323 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6325 }
6326 {
6327 PyThreadState* __tstate = wxPyBeginAllowThreads();
6328 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6329
6330 wxPyEndAllowThreads(__tstate);
6331 if (PyErr_Occurred()) SWIG_fail;
6332 }
6333 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6334 return resultobj;
6335 fail:
6336 return NULL;
6337 }
6338
6339
6340 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6341 PyObject *resultobj;
6342 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6343 int arg2 ;
6344 PyObject * obj0 = 0 ;
6345 PyObject * obj1 = 0 ;
6346 char *kwnames[] = {
6347 (char *) "self",(char *) "pos", NULL
6348 };
6349
6350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6353 arg2 = (int) SWIG_AsInt(obj1);
6354 if (PyErr_Occurred()) SWIG_fail;
6355 {
6356 PyThreadState* __tstate = wxPyBeginAllowThreads();
6357 (arg1)->SetSashPosition(arg2);
6358
6359 wxPyEndAllowThreads(__tstate);
6360 if (PyErr_Occurred()) SWIG_fail;
6361 }
6362 Py_INCREF(Py_None); resultobj = Py_None;
6363 return resultobj;
6364 fail:
6365 return NULL;
6366 }
6367
6368
6369 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6370 PyObject *resultobj;
6371 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6372 int result;
6373 PyObject * obj0 = 0 ;
6374 char *kwnames[] = {
6375 (char *) "self", NULL
6376 };
6377
6378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6381 {
6382 PyThreadState* __tstate = wxPyBeginAllowThreads();
6383 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6384
6385 wxPyEndAllowThreads(__tstate);
6386 if (PyErr_Occurred()) SWIG_fail;
6387 }
6388 resultobj = SWIG_FromInt((int)result);
6389 return resultobj;
6390 fail:
6391 return NULL;
6392 }
6393
6394
6395 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
6396 PyObject *resultobj;
6397 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6398 wxWindow *result;
6399 PyObject * obj0 = 0 ;
6400 char *kwnames[] = {
6401 (char *) "self", NULL
6402 };
6403
6404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6407 {
6408 PyThreadState* __tstate = wxPyBeginAllowThreads();
6409 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6410
6411 wxPyEndAllowThreads(__tstate);
6412 if (PyErr_Occurred()) SWIG_fail;
6413 }
6414 {
6415 resultobj = wxPyMake_wxObject(result);
6416 }
6417 return resultobj;
6418 fail:
6419 return NULL;
6420 }
6421
6422
6423 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
6424 PyObject *resultobj;
6425 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6426 int result;
6427 PyObject * obj0 = 0 ;
6428 char *kwnames[] = {
6429 (char *) "self", NULL
6430 };
6431
6432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6435 {
6436 PyThreadState* __tstate = wxPyBeginAllowThreads();
6437 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6438
6439 wxPyEndAllowThreads(__tstate);
6440 if (PyErr_Occurred()) SWIG_fail;
6441 }
6442 resultobj = SWIG_FromInt((int)result);
6443 return resultobj;
6444 fail:
6445 return NULL;
6446 }
6447
6448
6449 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
6450 PyObject *resultobj;
6451 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6452 int result;
6453 PyObject * obj0 = 0 ;
6454 char *kwnames[] = {
6455 (char *) "self", NULL
6456 };
6457
6458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6461 {
6462 PyThreadState* __tstate = wxPyBeginAllowThreads();
6463 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6464
6465 wxPyEndAllowThreads(__tstate);
6466 if (PyErr_Occurred()) SWIG_fail;
6467 }
6468 resultobj = SWIG_FromInt((int)result);
6469 return resultobj;
6470 fail:
6471 return NULL;
6472 }
6473
6474
6475 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
6476 PyObject *obj;
6477 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6478 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6479 Py_INCREF(obj);
6480 return Py_BuildValue((char *)"");
6481 }
6482 static int _wrap_SashNameStr_set(PyObject *_val) {
6483 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6484 return 1;
6485 }
6486
6487
6488 static PyObject *_wrap_SashNameStr_get() {
6489 PyObject *pyobj;
6490
6491 {
6492 #if wxUSE_UNICODE
6493 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6494 #else
6495 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6496 #endif
6497 }
6498 return pyobj;
6499 }
6500
6501
6502 static int _wrap_SashLayoutNameStr_set(PyObject *_val) {
6503 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6504 return 1;
6505 }
6506
6507
6508 static PyObject *_wrap_SashLayoutNameStr_get() {
6509 PyObject *pyobj;
6510
6511 {
6512 #if wxUSE_UNICODE
6513 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6514 #else
6515 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6516 #endif
6517 }
6518 return pyobj;
6519 }
6520
6521
6522 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6523 PyObject *resultobj;
6524 wxWindow *arg1 = (wxWindow *) 0 ;
6525 int arg2 ;
6526 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6527 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6528 wxSize const &arg4_defvalue = wxDefaultSize ;
6529 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6530 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6531 wxString const &arg6_defvalue = wxPySashNameStr ;
6532 wxString *arg6 = (wxString *) &arg6_defvalue ;
6533 wxSashWindow *result;
6534 wxPoint temp3 ;
6535 wxSize temp4 ;
6536 bool temp6 = False ;
6537 PyObject * obj0 = 0 ;
6538 PyObject * obj1 = 0 ;
6539 PyObject * obj2 = 0 ;
6540 PyObject * obj3 = 0 ;
6541 PyObject * obj4 = 0 ;
6542 PyObject * obj5 = 0 ;
6543 char *kwnames[] = {
6544 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6545 };
6546
6547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6550 arg2 = (int) SWIG_AsInt(obj1);
6551 if (PyErr_Occurred()) SWIG_fail;
6552 if (obj2) {
6553 {
6554 arg3 = &temp3;
6555 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6556 }
6557 }
6558 if (obj3) {
6559 {
6560 arg4 = &temp4;
6561 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6562 }
6563 }
6564 if (obj4) {
6565 arg5 = (long) SWIG_AsLong(obj4);
6566 if (PyErr_Occurred()) SWIG_fail;
6567 }
6568 if (obj5) {
6569 {
6570 arg6 = wxString_in_helper(obj5);
6571 if (arg6 == NULL) SWIG_fail;
6572 temp6 = True;
6573 }
6574 }
6575 {
6576 PyThreadState* __tstate = wxPyBeginAllowThreads();
6577 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6578
6579 wxPyEndAllowThreads(__tstate);
6580 if (PyErr_Occurred()) SWIG_fail;
6581 }
6582 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6583 {
6584 if (temp6)
6585 delete arg6;
6586 }
6587 return resultobj;
6588 fail:
6589 {
6590 if (temp6)
6591 delete arg6;
6592 }
6593 return NULL;
6594 }
6595
6596
6597 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6598 PyObject *resultobj;
6599 wxSashWindow *result;
6600 char *kwnames[] = {
6601 NULL
6602 };
6603
6604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6605 {
6606 PyThreadState* __tstate = wxPyBeginAllowThreads();
6607 result = (wxSashWindow *)new wxSashWindow();
6608
6609 wxPyEndAllowThreads(__tstate);
6610 if (PyErr_Occurred()) SWIG_fail;
6611 }
6612 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6613 return resultobj;
6614 fail:
6615 return NULL;
6616 }
6617
6618
6619 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6620 PyObject *resultobj;
6621 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6622 wxWindow *arg2 = (wxWindow *) 0 ;
6623 int arg3 ;
6624 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6625 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6626 wxSize const &arg5_defvalue = wxDefaultSize ;
6627 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6628 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6629 wxString const &arg7_defvalue = wxPySashNameStr ;
6630 wxString *arg7 = (wxString *) &arg7_defvalue ;
6631 bool result;
6632 wxPoint temp4 ;
6633 wxSize temp5 ;
6634 bool temp7 = False ;
6635 PyObject * obj0 = 0 ;
6636 PyObject * obj1 = 0 ;
6637 PyObject * obj2 = 0 ;
6638 PyObject * obj3 = 0 ;
6639 PyObject * obj4 = 0 ;
6640 PyObject * obj5 = 0 ;
6641 PyObject * obj6 = 0 ;
6642 char *kwnames[] = {
6643 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6644 };
6645
6646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6649 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6651 arg3 = (int) SWIG_AsInt(obj2);
6652 if (PyErr_Occurred()) SWIG_fail;
6653 if (obj3) {
6654 {
6655 arg4 = &temp4;
6656 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6657 }
6658 }
6659 if (obj4) {
6660 {
6661 arg5 = &temp5;
6662 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6663 }
6664 }
6665 if (obj5) {
6666 arg6 = (long) SWIG_AsLong(obj5);
6667 if (PyErr_Occurred()) SWIG_fail;
6668 }
6669 if (obj6) {
6670 {
6671 arg7 = wxString_in_helper(obj6);
6672 if (arg7 == NULL) SWIG_fail;
6673 temp7 = True;
6674 }
6675 }
6676 {
6677 PyThreadState* __tstate = wxPyBeginAllowThreads();
6678 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6679
6680 wxPyEndAllowThreads(__tstate);
6681 if (PyErr_Occurred()) SWIG_fail;
6682 }
6683 {
6684 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6685 }
6686 {
6687 if (temp7)
6688 delete arg7;
6689 }
6690 return resultobj;
6691 fail:
6692 {
6693 if (temp7)
6694 delete arg7;
6695 }
6696 return NULL;
6697 }
6698
6699
6700 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6701 PyObject *resultobj;
6702 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6703 int arg2 ;
6704 bool arg3 ;
6705 PyObject * obj0 = 0 ;
6706 PyObject * obj1 = 0 ;
6707 PyObject * obj2 = 0 ;
6708 char *kwnames[] = {
6709 (char *) "self",(char *) "edge",(char *) "sash", NULL
6710 };
6711
6712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
6713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6715 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6716 if (PyErr_Occurred()) SWIG_fail;
6717 arg3 = (bool) SWIG_AsBool(obj2);
6718 if (PyErr_Occurred()) SWIG_fail;
6719 {
6720 PyThreadState* __tstate = wxPyBeginAllowThreads();
6721 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6722
6723 wxPyEndAllowThreads(__tstate);
6724 if (PyErr_Occurred()) SWIG_fail;
6725 }
6726 Py_INCREF(Py_None); resultobj = Py_None;
6727 return resultobj;
6728 fail:
6729 return NULL;
6730 }
6731
6732
6733 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6734 PyObject *resultobj;
6735 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6736 int arg2 ;
6737 bool result;
6738 PyObject * obj0 = 0 ;
6739 PyObject * obj1 = 0 ;
6740 char *kwnames[] = {
6741 (char *) "self",(char *) "edge", NULL
6742 };
6743
6744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
6745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6747 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6748 if (PyErr_Occurred()) SWIG_fail;
6749 {
6750 PyThreadState* __tstate = wxPyBeginAllowThreads();
6751 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
6752
6753 wxPyEndAllowThreads(__tstate);
6754 if (PyErr_Occurred()) SWIG_fail;
6755 }
6756 {
6757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6758 }
6759 return resultobj;
6760 fail:
6761 return NULL;
6762 }
6763
6764
6765 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6766 PyObject *resultobj;
6767 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6768 int arg2 ;
6769 bool arg3 ;
6770 PyObject * obj0 = 0 ;
6771 PyObject * obj1 = 0 ;
6772 PyObject * obj2 = 0 ;
6773 char *kwnames[] = {
6774 (char *) "self",(char *) "edge",(char *) "border", NULL
6775 };
6776
6777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
6778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6780 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6781 if (PyErr_Occurred()) SWIG_fail;
6782 arg3 = (bool) SWIG_AsBool(obj2);
6783 if (PyErr_Occurred()) SWIG_fail;
6784 {
6785 PyThreadState* __tstate = wxPyBeginAllowThreads();
6786 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
6787
6788 wxPyEndAllowThreads(__tstate);
6789 if (PyErr_Occurred()) SWIG_fail;
6790 }
6791 Py_INCREF(Py_None); resultobj = Py_None;
6792 return resultobj;
6793 fail:
6794 return NULL;
6795 }
6796
6797
6798 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6799 PyObject *resultobj;
6800 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6801 int arg2 ;
6802 bool result;
6803 PyObject * obj0 = 0 ;
6804 PyObject * obj1 = 0 ;
6805 char *kwnames[] = {
6806 (char *) "self",(char *) "edge", NULL
6807 };
6808
6809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
6810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6812 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6813 if (PyErr_Occurred()) SWIG_fail;
6814 {
6815 PyThreadState* __tstate = wxPyBeginAllowThreads();
6816 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
6817
6818 wxPyEndAllowThreads(__tstate);
6819 if (PyErr_Occurred()) SWIG_fail;
6820 }
6821 {
6822 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6823 }
6824 return resultobj;
6825 fail:
6826 return NULL;
6827 }
6828
6829
6830 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
6831 PyObject *resultobj;
6832 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6833 int arg2 ;
6834 int result;
6835 PyObject * obj0 = 0 ;
6836 PyObject * obj1 = 0 ;
6837 char *kwnames[] = {
6838 (char *) "self",(char *) "edge", NULL
6839 };
6840
6841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
6842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6844 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6845 if (PyErr_Occurred()) SWIG_fail;
6846 {
6847 PyThreadState* __tstate = wxPyBeginAllowThreads();
6848 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
6849
6850 wxPyEndAllowThreads(__tstate);
6851 if (PyErr_Occurred()) SWIG_fail;
6852 }
6853 resultobj = SWIG_FromInt((int)result);
6854 return resultobj;
6855 fail:
6856 return NULL;
6857 }
6858
6859
6860 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6861 PyObject *resultobj;
6862 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6863 int arg2 ;
6864 PyObject * obj0 = 0 ;
6865 PyObject * obj1 = 0 ;
6866 char *kwnames[] = {
6867 (char *) "self",(char *) "width", NULL
6868 };
6869
6870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
6871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6873 arg2 = (int) SWIG_AsInt(obj1);
6874 if (PyErr_Occurred()) SWIG_fail;
6875 {
6876 PyThreadState* __tstate = wxPyBeginAllowThreads();
6877 (arg1)->SetDefaultBorderSize(arg2);
6878
6879 wxPyEndAllowThreads(__tstate);
6880 if (PyErr_Occurred()) SWIG_fail;
6881 }
6882 Py_INCREF(Py_None); resultobj = Py_None;
6883 return resultobj;
6884 fail:
6885 return NULL;
6886 }
6887
6888
6889 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6890 PyObject *resultobj;
6891 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6892 int result;
6893 PyObject * obj0 = 0 ;
6894 char *kwnames[] = {
6895 (char *) "self", NULL
6896 };
6897
6898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
6899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6901 {
6902 PyThreadState* __tstate = wxPyBeginAllowThreads();
6903 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
6904
6905 wxPyEndAllowThreads(__tstate);
6906 if (PyErr_Occurred()) SWIG_fail;
6907 }
6908 resultobj = SWIG_FromInt((int)result);
6909 return resultobj;
6910 fail:
6911 return NULL;
6912 }
6913
6914
6915 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6916 PyObject *resultobj;
6917 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6918 int arg2 ;
6919 PyObject * obj0 = 0 ;
6920 PyObject * obj1 = 0 ;
6921 char *kwnames[] = {
6922 (char *) "self",(char *) "width", NULL
6923 };
6924
6925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
6926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6928 arg2 = (int) SWIG_AsInt(obj1);
6929 if (PyErr_Occurred()) SWIG_fail;
6930 {
6931 PyThreadState* __tstate = wxPyBeginAllowThreads();
6932 (arg1)->SetExtraBorderSize(arg2);
6933
6934 wxPyEndAllowThreads(__tstate);
6935 if (PyErr_Occurred()) SWIG_fail;
6936 }
6937 Py_INCREF(Py_None); resultobj = Py_None;
6938 return resultobj;
6939 fail:
6940 return NULL;
6941 }
6942
6943
6944 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6945 PyObject *resultobj;
6946 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6947 int result;
6948 PyObject * obj0 = 0 ;
6949 char *kwnames[] = {
6950 (char *) "self", NULL
6951 };
6952
6953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
6954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6956 {
6957 PyThreadState* __tstate = wxPyBeginAllowThreads();
6958 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
6959
6960 wxPyEndAllowThreads(__tstate);
6961 if (PyErr_Occurred()) SWIG_fail;
6962 }
6963 resultobj = SWIG_FromInt((int)result);
6964 return resultobj;
6965 fail:
6966 return NULL;
6967 }
6968
6969
6970 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6971 PyObject *resultobj;
6972 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6973 int arg2 ;
6974 PyObject * obj0 = 0 ;
6975 PyObject * obj1 = 0 ;
6976 char *kwnames[] = {
6977 (char *) "self",(char *) "min", NULL
6978 };
6979
6980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
6981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6983 arg2 = (int) SWIG_AsInt(obj1);
6984 if (PyErr_Occurred()) SWIG_fail;
6985 {
6986 PyThreadState* __tstate = wxPyBeginAllowThreads();
6987 (arg1)->SetMinimumSizeX(arg2);
6988
6989 wxPyEndAllowThreads(__tstate);
6990 if (PyErr_Occurred()) SWIG_fail;
6991 }
6992 Py_INCREF(Py_None); resultobj = Py_None;
6993 return resultobj;
6994 fail:
6995 return NULL;
6996 }
6997
6998
6999 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7000 PyObject *resultobj;
7001 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7002 int arg2 ;
7003 PyObject * obj0 = 0 ;
7004 PyObject * obj1 = 0 ;
7005 char *kwnames[] = {
7006 (char *) "self",(char *) "min", NULL
7007 };
7008
7009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
7010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7012 arg2 = (int) SWIG_AsInt(obj1);
7013 if (PyErr_Occurred()) SWIG_fail;
7014 {
7015 PyThreadState* __tstate = wxPyBeginAllowThreads();
7016 (arg1)->SetMinimumSizeY(arg2);
7017
7018 wxPyEndAllowThreads(__tstate);
7019 if (PyErr_Occurred()) SWIG_fail;
7020 }
7021 Py_INCREF(Py_None); resultobj = Py_None;
7022 return resultobj;
7023 fail:
7024 return NULL;
7025 }
7026
7027
7028 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7029 PyObject *resultobj;
7030 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7031 int result;
7032 PyObject * obj0 = 0 ;
7033 char *kwnames[] = {
7034 (char *) "self", NULL
7035 };
7036
7037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
7038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7040 {
7041 PyThreadState* __tstate = wxPyBeginAllowThreads();
7042 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
7043
7044 wxPyEndAllowThreads(__tstate);
7045 if (PyErr_Occurred()) SWIG_fail;
7046 }
7047 resultobj = SWIG_FromInt((int)result);
7048 return resultobj;
7049 fail:
7050 return NULL;
7051 }
7052
7053
7054 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7055 PyObject *resultobj;
7056 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7057 int result;
7058 PyObject * obj0 = 0 ;
7059 char *kwnames[] = {
7060 (char *) "self", NULL
7061 };
7062
7063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
7064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7066 {
7067 PyThreadState* __tstate = wxPyBeginAllowThreads();
7068 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
7069
7070 wxPyEndAllowThreads(__tstate);
7071 if (PyErr_Occurred()) SWIG_fail;
7072 }
7073 resultobj = SWIG_FromInt((int)result);
7074 return resultobj;
7075 fail:
7076 return NULL;
7077 }
7078
7079
7080 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7081 PyObject *resultobj;
7082 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7083 int arg2 ;
7084 PyObject * obj0 = 0 ;
7085 PyObject * obj1 = 0 ;
7086 char *kwnames[] = {
7087 (char *) "self",(char *) "max", NULL
7088 };
7089
7090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
7091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7093 arg2 = (int) SWIG_AsInt(obj1);
7094 if (PyErr_Occurred()) SWIG_fail;
7095 {
7096 PyThreadState* __tstate = wxPyBeginAllowThreads();
7097 (arg1)->SetMaximumSizeX(arg2);
7098
7099 wxPyEndAllowThreads(__tstate);
7100 if (PyErr_Occurred()) SWIG_fail;
7101 }
7102 Py_INCREF(Py_None); resultobj = Py_None;
7103 return resultobj;
7104 fail:
7105 return NULL;
7106 }
7107
7108
7109 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7110 PyObject *resultobj;
7111 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7112 int arg2 ;
7113 PyObject * obj0 = 0 ;
7114 PyObject * obj1 = 0 ;
7115 char *kwnames[] = {
7116 (char *) "self",(char *) "max", NULL
7117 };
7118
7119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7122 arg2 = (int) SWIG_AsInt(obj1);
7123 if (PyErr_Occurred()) SWIG_fail;
7124 {
7125 PyThreadState* __tstate = wxPyBeginAllowThreads();
7126 (arg1)->SetMaximumSizeY(arg2);
7127
7128 wxPyEndAllowThreads(__tstate);
7129 if (PyErr_Occurred()) SWIG_fail;
7130 }
7131 Py_INCREF(Py_None); resultobj = Py_None;
7132 return resultobj;
7133 fail:
7134 return NULL;
7135 }
7136
7137
7138 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7139 PyObject *resultobj;
7140 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7141 int result;
7142 PyObject * obj0 = 0 ;
7143 char *kwnames[] = {
7144 (char *) "self", NULL
7145 };
7146
7147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7150 {
7151 PyThreadState* __tstate = wxPyBeginAllowThreads();
7152 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7153
7154 wxPyEndAllowThreads(__tstate);
7155 if (PyErr_Occurred()) SWIG_fail;
7156 }
7157 resultobj = SWIG_FromInt((int)result);
7158 return resultobj;
7159 fail:
7160 return NULL;
7161 }
7162
7163
7164 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7165 PyObject *resultobj;
7166 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7167 int result;
7168 PyObject * obj0 = 0 ;
7169 char *kwnames[] = {
7170 (char *) "self", NULL
7171 };
7172
7173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7176 {
7177 PyThreadState* __tstate = wxPyBeginAllowThreads();
7178 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7179
7180 wxPyEndAllowThreads(__tstate);
7181 if (PyErr_Occurred()) SWIG_fail;
7182 }
7183 resultobj = SWIG_FromInt((int)result);
7184 return resultobj;
7185 fail:
7186 return NULL;
7187 }
7188
7189
7190 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
7191 PyObject *resultobj;
7192 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7193 int arg2 ;
7194 int arg3 ;
7195 int arg4 = (int) 2 ;
7196 int result;
7197 PyObject * obj0 = 0 ;
7198 PyObject * obj1 = 0 ;
7199 PyObject * obj2 = 0 ;
7200 PyObject * obj3 = 0 ;
7201 char *kwnames[] = {
7202 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7203 };
7204
7205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7208 arg2 = (int) SWIG_AsInt(obj1);
7209 if (PyErr_Occurred()) SWIG_fail;
7210 arg3 = (int) SWIG_AsInt(obj2);
7211 if (PyErr_Occurred()) SWIG_fail;
7212 if (obj3) {
7213 arg4 = (int) SWIG_AsInt(obj3);
7214 if (PyErr_Occurred()) SWIG_fail;
7215 }
7216 {
7217 PyThreadState* __tstate = wxPyBeginAllowThreads();
7218 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7219
7220 wxPyEndAllowThreads(__tstate);
7221 if (PyErr_Occurred()) SWIG_fail;
7222 }
7223 resultobj = SWIG_FromInt((int)result);
7224 return resultobj;
7225 fail:
7226 return NULL;
7227 }
7228
7229
7230 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
7231 PyObject *resultobj;
7232 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7233 PyObject * obj0 = 0 ;
7234 char *kwnames[] = {
7235 (char *) "self", NULL
7236 };
7237
7238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7241 {
7242 PyThreadState* __tstate = wxPyBeginAllowThreads();
7243 (arg1)->SizeWindows();
7244
7245 wxPyEndAllowThreads(__tstate);
7246 if (PyErr_Occurred()) SWIG_fail;
7247 }
7248 Py_INCREF(Py_None); resultobj = Py_None;
7249 return resultobj;
7250 fail:
7251 return NULL;
7252 }
7253
7254
7255 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
7256 PyObject *obj;
7257 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7258 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7259 Py_INCREF(obj);
7260 return Py_BuildValue((char *)"");
7261 }
7262 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7263 PyObject *resultobj;
7264 int arg1 = (int) 0 ;
7265 int arg2 = (int) wxSASH_NONE ;
7266 wxSashEvent *result;
7267 PyObject * obj0 = 0 ;
7268 PyObject * obj1 = 0 ;
7269 char *kwnames[] = {
7270 (char *) "id",(char *) "edge", NULL
7271 };
7272
7273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7274 if (obj0) {
7275 arg1 = (int) SWIG_AsInt(obj0);
7276 if (PyErr_Occurred()) SWIG_fail;
7277 }
7278 if (obj1) {
7279 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7280 if (PyErr_Occurred()) SWIG_fail;
7281 }
7282 {
7283 PyThreadState* __tstate = wxPyBeginAllowThreads();
7284 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7285
7286 wxPyEndAllowThreads(__tstate);
7287 if (PyErr_Occurred()) SWIG_fail;
7288 }
7289 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7290 return resultobj;
7291 fail:
7292 return NULL;
7293 }
7294
7295
7296 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7297 PyObject *resultobj;
7298 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7299 int arg2 ;
7300 PyObject * obj0 = 0 ;
7301 PyObject * obj1 = 0 ;
7302 char *kwnames[] = {
7303 (char *) "self",(char *) "edge", NULL
7304 };
7305
7306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7309 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7310 if (PyErr_Occurred()) SWIG_fail;
7311 {
7312 PyThreadState* __tstate = wxPyBeginAllowThreads();
7313 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7314
7315 wxPyEndAllowThreads(__tstate);
7316 if (PyErr_Occurred()) SWIG_fail;
7317 }
7318 Py_INCREF(Py_None); resultobj = Py_None;
7319 return resultobj;
7320 fail:
7321 return NULL;
7322 }
7323
7324
7325 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7326 PyObject *resultobj;
7327 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7328 int result;
7329 PyObject * obj0 = 0 ;
7330 char *kwnames[] = {
7331 (char *) "self", NULL
7332 };
7333
7334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7337 {
7338 PyThreadState* __tstate = wxPyBeginAllowThreads();
7339 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7340
7341 wxPyEndAllowThreads(__tstate);
7342 if (PyErr_Occurred()) SWIG_fail;
7343 }
7344 resultobj = SWIG_FromInt((int)result);
7345 return resultobj;
7346 fail:
7347 return NULL;
7348 }
7349
7350
7351 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7352 PyObject *resultobj;
7353 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7354 wxRect *arg2 = 0 ;
7355 wxRect temp2 ;
7356 PyObject * obj0 = 0 ;
7357 PyObject * obj1 = 0 ;
7358 char *kwnames[] = {
7359 (char *) "self",(char *) "rect", NULL
7360 };
7361
7362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7365 {
7366 arg2 = &temp2;
7367 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7368 }
7369 {
7370 PyThreadState* __tstate = wxPyBeginAllowThreads();
7371 (arg1)->SetDragRect((wxRect const &)*arg2);
7372
7373 wxPyEndAllowThreads(__tstate);
7374 if (PyErr_Occurred()) SWIG_fail;
7375 }
7376 Py_INCREF(Py_None); resultobj = Py_None;
7377 return resultobj;
7378 fail:
7379 return NULL;
7380 }
7381
7382
7383 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7384 PyObject *resultobj;
7385 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7386 wxRect result;
7387 PyObject * obj0 = 0 ;
7388 char *kwnames[] = {
7389 (char *) "self", NULL
7390 };
7391
7392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7395 {
7396 PyThreadState* __tstate = wxPyBeginAllowThreads();
7397 result = ((wxSashEvent const *)arg1)->GetDragRect();
7398
7399 wxPyEndAllowThreads(__tstate);
7400 if (PyErr_Occurred()) SWIG_fail;
7401 }
7402 {
7403 wxRect * resultptr;
7404 resultptr = new wxRect((wxRect &) result);
7405 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7406 }
7407 return resultobj;
7408 fail:
7409 return NULL;
7410 }
7411
7412
7413 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7414 PyObject *resultobj;
7415 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7416 int arg2 ;
7417 PyObject * obj0 = 0 ;
7418 PyObject * obj1 = 0 ;
7419 char *kwnames[] = {
7420 (char *) "self",(char *) "status", NULL
7421 };
7422
7423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7426 arg2 = (wxSashDragStatus) SWIG_AsInt(obj1);
7427 if (PyErr_Occurred()) SWIG_fail;
7428 {
7429 PyThreadState* __tstate = wxPyBeginAllowThreads();
7430 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7431
7432 wxPyEndAllowThreads(__tstate);
7433 if (PyErr_Occurred()) SWIG_fail;
7434 }
7435 Py_INCREF(Py_None); resultobj = Py_None;
7436 return resultobj;
7437 fail:
7438 return NULL;
7439 }
7440
7441
7442 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7443 PyObject *resultobj;
7444 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7445 int result;
7446 PyObject * obj0 = 0 ;
7447 char *kwnames[] = {
7448 (char *) "self", NULL
7449 };
7450
7451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7454 {
7455 PyThreadState* __tstate = wxPyBeginAllowThreads();
7456 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7457
7458 wxPyEndAllowThreads(__tstate);
7459 if (PyErr_Occurred()) SWIG_fail;
7460 }
7461 resultobj = SWIG_FromInt((int)result);
7462 return resultobj;
7463 fail:
7464 return NULL;
7465 }
7466
7467
7468 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
7469 PyObject *obj;
7470 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7471 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7472 Py_INCREF(obj);
7473 return Py_BuildValue((char *)"");
7474 }
7475 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7476 PyObject *resultobj;
7477 int arg1 = (int) 0 ;
7478 wxQueryLayoutInfoEvent *result;
7479 PyObject * obj0 = 0 ;
7480 char *kwnames[] = {
7481 (char *) "id", NULL
7482 };
7483
7484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7485 if (obj0) {
7486 arg1 = (int) SWIG_AsInt(obj0);
7487 if (PyErr_Occurred()) SWIG_fail;
7488 }
7489 {
7490 PyThreadState* __tstate = wxPyBeginAllowThreads();
7491 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7492
7493 wxPyEndAllowThreads(__tstate);
7494 if (PyErr_Occurred()) SWIG_fail;
7495 }
7496 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7497 return resultobj;
7498 fail:
7499 return NULL;
7500 }
7501
7502
7503 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7504 PyObject *resultobj;
7505 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7506 int arg2 ;
7507 PyObject * obj0 = 0 ;
7508 PyObject * obj1 = 0 ;
7509 char *kwnames[] = {
7510 (char *) "self",(char *) "length", NULL
7511 };
7512
7513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
7514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7516 arg2 = (int) SWIG_AsInt(obj1);
7517 if (PyErr_Occurred()) SWIG_fail;
7518 {
7519 PyThreadState* __tstate = wxPyBeginAllowThreads();
7520 (arg1)->SetRequestedLength(arg2);
7521
7522 wxPyEndAllowThreads(__tstate);
7523 if (PyErr_Occurred()) SWIG_fail;
7524 }
7525 Py_INCREF(Py_None); resultobj = Py_None;
7526 return resultobj;
7527 fail:
7528 return NULL;
7529 }
7530
7531
7532 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7533 PyObject *resultobj;
7534 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7535 int result;
7536 PyObject * obj0 = 0 ;
7537 char *kwnames[] = {
7538 (char *) "self", NULL
7539 };
7540
7541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
7542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7544 {
7545 PyThreadState* __tstate = wxPyBeginAllowThreads();
7546 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7547
7548 wxPyEndAllowThreads(__tstate);
7549 if (PyErr_Occurred()) SWIG_fail;
7550 }
7551 resultobj = SWIG_FromInt((int)result);
7552 return resultobj;
7553 fail:
7554 return NULL;
7555 }
7556
7557
7558 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7559 PyObject *resultobj;
7560 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7561 int arg2 ;
7562 PyObject * obj0 = 0 ;
7563 PyObject * obj1 = 0 ;
7564 char *kwnames[] = {
7565 (char *) "self",(char *) "flags", NULL
7566 };
7567
7568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7571 arg2 = (int) SWIG_AsInt(obj1);
7572 if (PyErr_Occurred()) SWIG_fail;
7573 {
7574 PyThreadState* __tstate = wxPyBeginAllowThreads();
7575 (arg1)->SetFlags(arg2);
7576
7577 wxPyEndAllowThreads(__tstate);
7578 if (PyErr_Occurred()) SWIG_fail;
7579 }
7580 Py_INCREF(Py_None); resultobj = Py_None;
7581 return resultobj;
7582 fail:
7583 return NULL;
7584 }
7585
7586
7587 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7588 PyObject *resultobj;
7589 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7590 int result;
7591 PyObject * obj0 = 0 ;
7592 char *kwnames[] = {
7593 (char *) "self", NULL
7594 };
7595
7596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
7597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7599 {
7600 PyThreadState* __tstate = wxPyBeginAllowThreads();
7601 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
7602
7603 wxPyEndAllowThreads(__tstate);
7604 if (PyErr_Occurred()) SWIG_fail;
7605 }
7606 resultobj = SWIG_FromInt((int)result);
7607 return resultobj;
7608 fail:
7609 return NULL;
7610 }
7611
7612
7613 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7614 PyObject *resultobj;
7615 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7616 wxSize *arg2 = 0 ;
7617 wxSize temp2 ;
7618 PyObject * obj0 = 0 ;
7619 PyObject * obj1 = 0 ;
7620 char *kwnames[] = {
7621 (char *) "self",(char *) "size", NULL
7622 };
7623
7624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
7625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7627 {
7628 arg2 = &temp2;
7629 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7630 }
7631 {
7632 PyThreadState* __tstate = wxPyBeginAllowThreads();
7633 (arg1)->SetSize((wxSize const &)*arg2);
7634
7635 wxPyEndAllowThreads(__tstate);
7636 if (PyErr_Occurred()) SWIG_fail;
7637 }
7638 Py_INCREF(Py_None); resultobj = Py_None;
7639 return resultobj;
7640 fail:
7641 return NULL;
7642 }
7643
7644
7645 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7646 PyObject *resultobj;
7647 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7648 wxSize result;
7649 PyObject * obj0 = 0 ;
7650 char *kwnames[] = {
7651 (char *) "self", NULL
7652 };
7653
7654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
7655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7657 {
7658 PyThreadState* __tstate = wxPyBeginAllowThreads();
7659 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
7660
7661 wxPyEndAllowThreads(__tstate);
7662 if (PyErr_Occurred()) SWIG_fail;
7663 }
7664 {
7665 wxSize * resultptr;
7666 resultptr = new wxSize((wxSize &) result);
7667 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
7668 }
7669 return resultobj;
7670 fail:
7671 return NULL;
7672 }
7673
7674
7675 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7676 PyObject *resultobj;
7677 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7678 int arg2 ;
7679 PyObject * obj0 = 0 ;
7680 PyObject * obj1 = 0 ;
7681 char *kwnames[] = {
7682 (char *) "self",(char *) "orient", NULL
7683 };
7684
7685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
7686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7688 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
7689 if (PyErr_Occurred()) SWIG_fail;
7690 {
7691 PyThreadState* __tstate = wxPyBeginAllowThreads();
7692 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7693
7694 wxPyEndAllowThreads(__tstate);
7695 if (PyErr_Occurred()) SWIG_fail;
7696 }
7697 Py_INCREF(Py_None); resultobj = Py_None;
7698 return resultobj;
7699 fail:
7700 return NULL;
7701 }
7702
7703
7704 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7705 PyObject *resultobj;
7706 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7707 int result;
7708 PyObject * obj0 = 0 ;
7709 char *kwnames[] = {
7710 (char *) "self", NULL
7711 };
7712
7713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
7714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7716 {
7717 PyThreadState* __tstate = wxPyBeginAllowThreads();
7718 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
7719
7720 wxPyEndAllowThreads(__tstate);
7721 if (PyErr_Occurred()) SWIG_fail;
7722 }
7723 resultobj = SWIG_FromInt((int)result);
7724 return resultobj;
7725 fail:
7726 return NULL;
7727 }
7728
7729
7730 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7731 PyObject *resultobj;
7732 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7733 int arg2 ;
7734 PyObject * obj0 = 0 ;
7735 PyObject * obj1 = 0 ;
7736 char *kwnames[] = {
7737 (char *) "self",(char *) "align", NULL
7738 };
7739
7740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7743 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
7744 if (PyErr_Occurred()) SWIG_fail;
7745 {
7746 PyThreadState* __tstate = wxPyBeginAllowThreads();
7747 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7748
7749 wxPyEndAllowThreads(__tstate);
7750 if (PyErr_Occurred()) SWIG_fail;
7751 }
7752 Py_INCREF(Py_None); resultobj = Py_None;
7753 return resultobj;
7754 fail:
7755 return NULL;
7756 }
7757
7758
7759 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7760 PyObject *resultobj;
7761 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7762 int result;
7763 PyObject * obj0 = 0 ;
7764 char *kwnames[] = {
7765 (char *) "self", NULL
7766 };
7767
7768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
7769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7771 {
7772 PyThreadState* __tstate = wxPyBeginAllowThreads();
7773 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
7774
7775 wxPyEndAllowThreads(__tstate);
7776 if (PyErr_Occurred()) SWIG_fail;
7777 }
7778 resultobj = SWIG_FromInt((int)result);
7779 return resultobj;
7780 fail:
7781 return NULL;
7782 }
7783
7784
7785 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
7786 PyObject *obj;
7787 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7788 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
7789 Py_INCREF(obj);
7790 return Py_BuildValue((char *)"");
7791 }
7792 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7793 PyObject *resultobj;
7794 int arg1 = (int) 0 ;
7795 wxCalculateLayoutEvent *result;
7796 PyObject * obj0 = 0 ;
7797 char *kwnames[] = {
7798 (char *) "id", NULL
7799 };
7800
7801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
7802 if (obj0) {
7803 arg1 = (int) SWIG_AsInt(obj0);
7804 if (PyErr_Occurred()) SWIG_fail;
7805 }
7806 {
7807 PyThreadState* __tstate = wxPyBeginAllowThreads();
7808 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
7809
7810 wxPyEndAllowThreads(__tstate);
7811 if (PyErr_Occurred()) SWIG_fail;
7812 }
7813 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
7814 return resultobj;
7815 fail:
7816 return NULL;
7817 }
7818
7819
7820 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7821 PyObject *resultobj;
7822 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7823 int arg2 ;
7824 PyObject * obj0 = 0 ;
7825 PyObject * obj1 = 0 ;
7826 char *kwnames[] = {
7827 (char *) "self",(char *) "flags", NULL
7828 };
7829
7830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7833 arg2 = (int) SWIG_AsInt(obj1);
7834 if (PyErr_Occurred()) SWIG_fail;
7835 {
7836 PyThreadState* __tstate = wxPyBeginAllowThreads();
7837 (arg1)->SetFlags(arg2);
7838
7839 wxPyEndAllowThreads(__tstate);
7840 if (PyErr_Occurred()) SWIG_fail;
7841 }
7842 Py_INCREF(Py_None); resultobj = Py_None;
7843 return resultobj;
7844 fail:
7845 return NULL;
7846 }
7847
7848
7849 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7850 PyObject *resultobj;
7851 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7852 int result;
7853 PyObject * obj0 = 0 ;
7854 char *kwnames[] = {
7855 (char *) "self", NULL
7856 };
7857
7858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
7859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7861 {
7862 PyThreadState* __tstate = wxPyBeginAllowThreads();
7863 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
7864
7865 wxPyEndAllowThreads(__tstate);
7866 if (PyErr_Occurred()) SWIG_fail;
7867 }
7868 resultobj = SWIG_FromInt((int)result);
7869 return resultobj;
7870 fail:
7871 return NULL;
7872 }
7873
7874
7875 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7876 PyObject *resultobj;
7877 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7878 wxRect *arg2 = 0 ;
7879 wxRect temp2 ;
7880 PyObject * obj0 = 0 ;
7881 PyObject * obj1 = 0 ;
7882 char *kwnames[] = {
7883 (char *) "self",(char *) "rect", NULL
7884 };
7885
7886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
7887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7889 {
7890 arg2 = &temp2;
7891 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7892 }
7893 {
7894 PyThreadState* __tstate = wxPyBeginAllowThreads();
7895 (arg1)->SetRect((wxRect const &)*arg2);
7896
7897 wxPyEndAllowThreads(__tstate);
7898 if (PyErr_Occurred()) SWIG_fail;
7899 }
7900 Py_INCREF(Py_None); resultobj = Py_None;
7901 return resultobj;
7902 fail:
7903 return NULL;
7904 }
7905
7906
7907 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7908 PyObject *resultobj;
7909 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7910 wxRect result;
7911 PyObject * obj0 = 0 ;
7912 char *kwnames[] = {
7913 (char *) "self", NULL
7914 };
7915
7916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
7917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7919 {
7920 PyThreadState* __tstate = wxPyBeginAllowThreads();
7921 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
7922
7923 wxPyEndAllowThreads(__tstate);
7924 if (PyErr_Occurred()) SWIG_fail;
7925 }
7926 {
7927 wxRect * resultptr;
7928 resultptr = new wxRect((wxRect &) result);
7929 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7930 }
7931 return resultobj;
7932 fail:
7933 return NULL;
7934 }
7935
7936
7937 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
7938 PyObject *obj;
7939 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7940 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
7941 Py_INCREF(obj);
7942 return Py_BuildValue((char *)"");
7943 }
7944 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7945 PyObject *resultobj;
7946 wxWindow *arg1 = (wxWindow *) 0 ;
7947 int arg2 ;
7948 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7949 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7950 wxSize const &arg4_defvalue = wxDefaultSize ;
7951 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7952 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7953 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
7954 wxString *arg6 = (wxString *) &arg6_defvalue ;
7955 wxSashLayoutWindow *result;
7956 wxPoint temp3 ;
7957 wxSize temp4 ;
7958 bool temp6 = False ;
7959 PyObject * obj0 = 0 ;
7960 PyObject * obj1 = 0 ;
7961 PyObject * obj2 = 0 ;
7962 PyObject * obj3 = 0 ;
7963 PyObject * obj4 = 0 ;
7964 PyObject * obj5 = 0 ;
7965 char *kwnames[] = {
7966 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7967 };
7968
7969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7972 arg2 = (int) SWIG_AsInt(obj1);
7973 if (PyErr_Occurred()) SWIG_fail;
7974 if (obj2) {
7975 {
7976 arg3 = &temp3;
7977 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7978 }
7979 }
7980 if (obj3) {
7981 {
7982 arg4 = &temp4;
7983 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7984 }
7985 }
7986 if (obj4) {
7987 arg5 = (long) SWIG_AsLong(obj4);
7988 if (PyErr_Occurred()) SWIG_fail;
7989 }
7990 if (obj5) {
7991 {
7992 arg6 = wxString_in_helper(obj5);
7993 if (arg6 == NULL) SWIG_fail;
7994 temp6 = True;
7995 }
7996 }
7997 {
7998 PyThreadState* __tstate = wxPyBeginAllowThreads();
7999 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8000
8001 wxPyEndAllowThreads(__tstate);
8002 if (PyErr_Occurred()) SWIG_fail;
8003 }
8004 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8005 {
8006 if (temp6)
8007 delete arg6;
8008 }
8009 return resultobj;
8010 fail:
8011 {
8012 if (temp6)
8013 delete arg6;
8014 }
8015 return NULL;
8016 }
8017
8018
8019 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8020 PyObject *resultobj;
8021 wxSashLayoutWindow *result;
8022 char *kwnames[] = {
8023 NULL
8024 };
8025
8026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
8027 {
8028 PyThreadState* __tstate = wxPyBeginAllowThreads();
8029 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
8030
8031 wxPyEndAllowThreads(__tstate);
8032 if (PyErr_Occurred()) SWIG_fail;
8033 }
8034 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8035 return resultobj;
8036 fail:
8037 return NULL;
8038 }
8039
8040
8041 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8042 PyObject *resultobj;
8043 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8044 wxWindow *arg2 = (wxWindow *) 0 ;
8045 int arg3 ;
8046 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8047 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8048 wxSize const &arg5_defvalue = wxDefaultSize ;
8049 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8050 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8051 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
8052 wxString *arg7 = (wxString *) &arg7_defvalue ;
8053 bool result;
8054 wxPoint temp4 ;
8055 wxSize temp5 ;
8056 bool temp7 = False ;
8057 PyObject * obj0 = 0 ;
8058 PyObject * obj1 = 0 ;
8059 PyObject * obj2 = 0 ;
8060 PyObject * obj3 = 0 ;
8061 PyObject * obj4 = 0 ;
8062 PyObject * obj5 = 0 ;
8063 PyObject * obj6 = 0 ;
8064 char *kwnames[] = {
8065 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8066 };
8067
8068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8071 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8073 arg3 = (int) SWIG_AsInt(obj2);
8074 if (PyErr_Occurred()) SWIG_fail;
8075 if (obj3) {
8076 {
8077 arg4 = &temp4;
8078 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8079 }
8080 }
8081 if (obj4) {
8082 {
8083 arg5 = &temp5;
8084 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8085 }
8086 }
8087 if (obj5) {
8088 arg6 = (long) SWIG_AsLong(obj5);
8089 if (PyErr_Occurred()) SWIG_fail;
8090 }
8091 if (obj6) {
8092 {
8093 arg7 = wxString_in_helper(obj6);
8094 if (arg7 == NULL) SWIG_fail;
8095 temp7 = True;
8096 }
8097 }
8098 {
8099 PyThreadState* __tstate = wxPyBeginAllowThreads();
8100 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8101
8102 wxPyEndAllowThreads(__tstate);
8103 if (PyErr_Occurred()) SWIG_fail;
8104 }
8105 {
8106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8107 }
8108 {
8109 if (temp7)
8110 delete arg7;
8111 }
8112 return resultobj;
8113 fail:
8114 {
8115 if (temp7)
8116 delete arg7;
8117 }
8118 return NULL;
8119 }
8120
8121
8122 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8123 PyObject *resultobj;
8124 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8125 int result;
8126 PyObject * obj0 = 0 ;
8127 char *kwnames[] = {
8128 (char *) "self", NULL
8129 };
8130
8131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8134 {
8135 PyThreadState* __tstate = wxPyBeginAllowThreads();
8136 result = (int)(arg1)->GetAlignment();
8137
8138 wxPyEndAllowThreads(__tstate);
8139 if (PyErr_Occurred()) SWIG_fail;
8140 }
8141 resultobj = SWIG_FromInt((int)result);
8142 return resultobj;
8143 fail:
8144 return NULL;
8145 }
8146
8147
8148 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8149 PyObject *resultobj;
8150 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8151 int result;
8152 PyObject * obj0 = 0 ;
8153 char *kwnames[] = {
8154 (char *) "self", NULL
8155 };
8156
8157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8160 {
8161 PyThreadState* __tstate = wxPyBeginAllowThreads();
8162 result = (int)(arg1)->GetOrientation();
8163
8164 wxPyEndAllowThreads(__tstate);
8165 if (PyErr_Occurred()) SWIG_fail;
8166 }
8167 resultobj = SWIG_FromInt((int)result);
8168 return resultobj;
8169 fail:
8170 return NULL;
8171 }
8172
8173
8174 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8175 PyObject *resultobj;
8176 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8177 int arg2 ;
8178 PyObject * obj0 = 0 ;
8179 PyObject * obj1 = 0 ;
8180 char *kwnames[] = {
8181 (char *) "self",(char *) "alignment", NULL
8182 };
8183
8184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8187 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
8188 if (PyErr_Occurred()) SWIG_fail;
8189 {
8190 PyThreadState* __tstate = wxPyBeginAllowThreads();
8191 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8192
8193 wxPyEndAllowThreads(__tstate);
8194 if (PyErr_Occurred()) SWIG_fail;
8195 }
8196 Py_INCREF(Py_None); resultobj = Py_None;
8197 return resultobj;
8198 fail:
8199 return NULL;
8200 }
8201
8202
8203 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8204 PyObject *resultobj;
8205 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8206 wxSize *arg2 = 0 ;
8207 wxSize temp2 ;
8208 PyObject * obj0 = 0 ;
8209 PyObject * obj1 = 0 ;
8210 char *kwnames[] = {
8211 (char *) "self",(char *) "size", NULL
8212 };
8213
8214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8217 {
8218 arg2 = &temp2;
8219 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8220 }
8221 {
8222 PyThreadState* __tstate = wxPyBeginAllowThreads();
8223 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8224
8225 wxPyEndAllowThreads(__tstate);
8226 if (PyErr_Occurred()) SWIG_fail;
8227 }
8228 Py_INCREF(Py_None); resultobj = Py_None;
8229 return resultobj;
8230 fail:
8231 return NULL;
8232 }
8233
8234
8235 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8236 PyObject *resultobj;
8237 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8238 int arg2 ;
8239 PyObject * obj0 = 0 ;
8240 PyObject * obj1 = 0 ;
8241 char *kwnames[] = {
8242 (char *) "self",(char *) "orientation", NULL
8243 };
8244
8245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8248 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
8249 if (PyErr_Occurred()) SWIG_fail;
8250 {
8251 PyThreadState* __tstate = wxPyBeginAllowThreads();
8252 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8253
8254 wxPyEndAllowThreads(__tstate);
8255 if (PyErr_Occurred()) SWIG_fail;
8256 }
8257 Py_INCREF(Py_None); resultobj = Py_None;
8258 return resultobj;
8259 fail:
8260 return NULL;
8261 }
8262
8263
8264 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
8265 PyObject *obj;
8266 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8267 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8268 Py_INCREF(obj);
8269 return Py_BuildValue((char *)"");
8270 }
8271 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8272 PyObject *resultobj;
8273 wxLayoutAlgorithm *result;
8274 char *kwnames[] = {
8275 NULL
8276 };
8277
8278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8279 {
8280 PyThreadState* __tstate = wxPyBeginAllowThreads();
8281 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8282
8283 wxPyEndAllowThreads(__tstate);
8284 if (PyErr_Occurred()) SWIG_fail;
8285 }
8286 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8287 return resultobj;
8288 fail:
8289 return NULL;
8290 }
8291
8292
8293 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8294 PyObject *resultobj;
8295 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8296 PyObject * obj0 = 0 ;
8297 char *kwnames[] = {
8298 (char *) "self", NULL
8299 };
8300
8301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8304 {
8305 PyThreadState* __tstate = wxPyBeginAllowThreads();
8306 delete arg1;
8307
8308 wxPyEndAllowThreads(__tstate);
8309 if (PyErr_Occurred()) SWIG_fail;
8310 }
8311 Py_INCREF(Py_None); resultobj = Py_None;
8312 return resultobj;
8313 fail:
8314 return NULL;
8315 }
8316
8317
8318 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8319 PyObject *resultobj;
8320 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8321 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8322 wxRect *arg3 = (wxRect *) NULL ;
8323 bool result;
8324 PyObject * obj0 = 0 ;
8325 PyObject * obj1 = 0 ;
8326 PyObject * obj2 = 0 ;
8327 char *kwnames[] = {
8328 (char *) "self",(char *) "frame",(char *) "rect", NULL
8329 };
8330
8331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8334 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8336 if (obj2) {
8337 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8339 }
8340 {
8341 PyThreadState* __tstate = wxPyBeginAllowThreads();
8342 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8343
8344 wxPyEndAllowThreads(__tstate);
8345 if (PyErr_Occurred()) SWIG_fail;
8346 }
8347 {
8348 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8349 }
8350 return resultobj;
8351 fail:
8352 return NULL;
8353 }
8354
8355
8356 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8357 PyObject *resultobj;
8358 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8359 wxFrame *arg2 = (wxFrame *) 0 ;
8360 wxWindow *arg3 = (wxWindow *) NULL ;
8361 bool result;
8362 PyObject * obj0 = 0 ;
8363 PyObject * obj1 = 0 ;
8364 PyObject * obj2 = 0 ;
8365 char *kwnames[] = {
8366 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8367 };
8368
8369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8372 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8374 if (obj2) {
8375 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8377 }
8378 {
8379 PyThreadState* __tstate = wxPyBeginAllowThreads();
8380 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8381
8382 wxPyEndAllowThreads(__tstate);
8383 if (PyErr_Occurred()) SWIG_fail;
8384 }
8385 {
8386 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8387 }
8388 return resultobj;
8389 fail:
8390 return NULL;
8391 }
8392
8393
8394 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8395 PyObject *resultobj;
8396 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8397 wxWindow *arg2 = (wxWindow *) 0 ;
8398 wxWindow *arg3 = (wxWindow *) NULL ;
8399 bool result;
8400 PyObject * obj0 = 0 ;
8401 PyObject * obj1 = 0 ;
8402 PyObject * obj2 = 0 ;
8403 char *kwnames[] = {
8404 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8405 };
8406
8407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8410 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8412 if (obj2) {
8413 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8415 }
8416 {
8417 PyThreadState* __tstate = wxPyBeginAllowThreads();
8418 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8419
8420 wxPyEndAllowThreads(__tstate);
8421 if (PyErr_Occurred()) SWIG_fail;
8422 }
8423 {
8424 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8425 }
8426 return resultobj;
8427 fail:
8428 return NULL;
8429 }
8430
8431
8432 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
8433 PyObject *obj;
8434 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8435 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8436 Py_INCREF(obj);
8437 return Py_BuildValue((char *)"");
8438 }
8439 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8440 PyObject *resultobj;
8441 wxWindow *arg1 = (wxWindow *) 0 ;
8442 int arg2 = (int) wxBORDER_NONE ;
8443 wxPopupWindow *result;
8444 PyObject * obj0 = 0 ;
8445 PyObject * obj1 = 0 ;
8446 char *kwnames[] = {
8447 (char *) "parent",(char *) "flags", NULL
8448 };
8449
8450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8453 if (obj1) {
8454 arg2 = (int) SWIG_AsInt(obj1);
8455 if (PyErr_Occurred()) SWIG_fail;
8456 }
8457 {
8458 PyThreadState* __tstate = wxPyBeginAllowThreads();
8459 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8460
8461 wxPyEndAllowThreads(__tstate);
8462 if (PyErr_Occurred()) SWIG_fail;
8463 }
8464 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8465 return resultobj;
8466 fail:
8467 return NULL;
8468 }
8469
8470
8471 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8472 PyObject *resultobj;
8473 wxPopupWindow *result;
8474 char *kwnames[] = {
8475 NULL
8476 };
8477
8478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8479 {
8480 PyThreadState* __tstate = wxPyBeginAllowThreads();
8481 result = (wxPopupWindow *)new wxPopupWindow();
8482
8483 wxPyEndAllowThreads(__tstate);
8484 if (PyErr_Occurred()) SWIG_fail;
8485 }
8486 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8487 return resultobj;
8488 fail:
8489 return NULL;
8490 }
8491
8492
8493 static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8494 PyObject *resultobj;
8495 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8496 wxWindow *arg2 = (wxWindow *) 0 ;
8497 int arg3 = (int) wxBORDER_NONE ;
8498 bool result;
8499 PyObject * obj0 = 0 ;
8500 PyObject * obj1 = 0 ;
8501 PyObject * obj2 = 0 ;
8502 char *kwnames[] = {
8503 (char *) "self",(char *) "parent",(char *) "flags", NULL
8504 };
8505
8506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
8507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8509 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8511 if (obj2) {
8512 arg3 = (int) SWIG_AsInt(obj2);
8513 if (PyErr_Occurred()) SWIG_fail;
8514 }
8515 {
8516 PyThreadState* __tstate = wxPyBeginAllowThreads();
8517 result = (bool)(arg1)->Create(arg2,arg3);
8518
8519 wxPyEndAllowThreads(__tstate);
8520 if (PyErr_Occurred()) SWIG_fail;
8521 }
8522 {
8523 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8524 }
8525 return resultobj;
8526 fail:
8527 return NULL;
8528 }
8529
8530
8531 static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
8532 PyObject *resultobj;
8533 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8534 wxPoint *arg2 = 0 ;
8535 wxSize *arg3 = 0 ;
8536 wxPoint temp2 ;
8537 wxSize temp3 ;
8538 PyObject * obj0 = 0 ;
8539 PyObject * obj1 = 0 ;
8540 PyObject * obj2 = 0 ;
8541 char *kwnames[] = {
8542 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8543 };
8544
8545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
8546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8548 {
8549 arg2 = &temp2;
8550 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8551 }
8552 {
8553 arg3 = &temp3;
8554 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
8555 }
8556 {
8557 PyThreadState* __tstate = wxPyBeginAllowThreads();
8558 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
8559
8560 wxPyEndAllowThreads(__tstate);
8561 if (PyErr_Occurred()) SWIG_fail;
8562 }
8563 Py_INCREF(Py_None); resultobj = Py_None;
8564 return resultobj;
8565 fail:
8566 return NULL;
8567 }
8568
8569
8570 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
8571 PyObject *obj;
8572 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8573 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
8574 Py_INCREF(obj);
8575 return Py_BuildValue((char *)"");
8576 }
8577 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8578 PyObject *resultobj;
8579 wxWindow *arg1 = (wxWindow *) 0 ;
8580 int arg2 = (int) wxBORDER_NONE ;
8581 wxPyPopupTransientWindow *result;
8582 PyObject * obj0 = 0 ;
8583 PyObject * obj1 = 0 ;
8584 char *kwnames[] = {
8585 (char *) "parent",(char *) "style", NULL
8586 };
8587
8588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
8589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8591 if (obj1) {
8592 arg2 = (int) SWIG_AsInt(obj1);
8593 if (PyErr_Occurred()) SWIG_fail;
8594 }
8595 {
8596 PyThreadState* __tstate = wxPyBeginAllowThreads();
8597 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
8598
8599 wxPyEndAllowThreads(__tstate);
8600 if (PyErr_Occurred()) SWIG_fail;
8601 }
8602 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8603 return resultobj;
8604 fail:
8605 return NULL;
8606 }
8607
8608
8609 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8610 PyObject *resultobj;
8611 wxPyPopupTransientWindow *result;
8612 char *kwnames[] = {
8613 NULL
8614 };
8615
8616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
8617 {
8618 PyThreadState* __tstate = wxPyBeginAllowThreads();
8619 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
8620
8621 wxPyEndAllowThreads(__tstate);
8622 if (PyErr_Occurred()) SWIG_fail;
8623 }
8624 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8625 return resultobj;
8626 fail:
8627 return NULL;
8628 }
8629
8630
8631 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8632 PyObject *resultobj;
8633 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8634 PyObject *arg2 = (PyObject *) 0 ;
8635 PyObject *arg3 = (PyObject *) 0 ;
8636 PyObject * obj0 = 0 ;
8637 PyObject * obj1 = 0 ;
8638 PyObject * obj2 = 0 ;
8639 char *kwnames[] = {
8640 (char *) "self",(char *) "self",(char *) "_class", NULL
8641 };
8642
8643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8646 arg2 = obj1;
8647 arg3 = obj2;
8648 {
8649 PyThreadState* __tstate = wxPyBeginAllowThreads();
8650 (arg1)->_setCallbackInfo(arg2,arg3);
8651
8652 wxPyEndAllowThreads(__tstate);
8653 if (PyErr_Occurred()) SWIG_fail;
8654 }
8655 Py_INCREF(Py_None); resultobj = Py_None;
8656 return resultobj;
8657 fail:
8658 return NULL;
8659 }
8660
8661
8662 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
8663 PyObject *resultobj;
8664 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8665 wxWindow *arg2 = (wxWindow *) NULL ;
8666 PyObject * obj0 = 0 ;
8667 PyObject * obj1 = 0 ;
8668 char *kwnames[] = {
8669 (char *) "self",(char *) "focus", NULL
8670 };
8671
8672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
8673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8675 if (obj1) {
8676 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8678 }
8679 {
8680 PyThreadState* __tstate = wxPyBeginAllowThreads();
8681 (arg1)->Popup(arg2);
8682
8683 wxPyEndAllowThreads(__tstate);
8684 if (PyErr_Occurred()) SWIG_fail;
8685 }
8686 Py_INCREF(Py_None); resultobj = Py_None;
8687 return resultobj;
8688 fail:
8689 return NULL;
8690 }
8691
8692
8693 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
8694 PyObject *resultobj;
8695 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8696 PyObject * obj0 = 0 ;
8697 char *kwnames[] = {
8698 (char *) "self", NULL
8699 };
8700
8701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
8702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8704 {
8705 PyThreadState* __tstate = wxPyBeginAllowThreads();
8706 (arg1)->Dismiss();
8707
8708 wxPyEndAllowThreads(__tstate);
8709 if (PyErr_Occurred()) SWIG_fail;
8710 }
8711 Py_INCREF(Py_None); resultobj = Py_None;
8712 return resultobj;
8713 fail:
8714 return NULL;
8715 }
8716
8717
8718 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
8719 PyObject *obj;
8720 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8721 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
8722 Py_INCREF(obj);
8723 return Py_BuildValue((char *)"");
8724 }
8725 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8726 PyObject *resultobj;
8727 wxWindow *arg1 = (wxWindow *) 0 ;
8728 wxString *arg2 = 0 ;
8729 int arg3 = (int) 100 ;
8730 wxRect *arg4 = (wxRect *) NULL ;
8731 wxTipWindow *result;
8732 bool temp2 = False ;
8733 PyObject * obj0 = 0 ;
8734 PyObject * obj1 = 0 ;
8735 PyObject * obj2 = 0 ;
8736 PyObject * obj3 = 0 ;
8737 char *kwnames[] = {
8738 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8739 };
8740
8741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8744 {
8745 arg2 = wxString_in_helper(obj1);
8746 if (arg2 == NULL) SWIG_fail;
8747 temp2 = True;
8748 }
8749 if (obj2) {
8750 arg3 = (int) SWIG_AsInt(obj2);
8751 if (PyErr_Occurred()) SWIG_fail;
8752 }
8753 if (obj3) {
8754 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
8755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8756 }
8757 {
8758 PyThreadState* __tstate = wxPyBeginAllowThreads();
8759 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
8760
8761 wxPyEndAllowThreads(__tstate);
8762 if (PyErr_Occurred()) SWIG_fail;
8763 }
8764 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
8765 {
8766 if (temp2)
8767 delete arg2;
8768 }
8769 return resultobj;
8770 fail:
8771 {
8772 if (temp2)
8773 delete arg2;
8774 }
8775 return NULL;
8776 }
8777
8778
8779 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8780 PyObject *resultobj;
8781 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8782 wxRect *arg2 = 0 ;
8783 wxRect temp2 ;
8784 PyObject * obj0 = 0 ;
8785 PyObject * obj1 = 0 ;
8786 char *kwnames[] = {
8787 (char *) "self",(char *) "rectBound", NULL
8788 };
8789
8790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
8791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8793 {
8794 arg2 = &temp2;
8795 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8796 }
8797 {
8798 PyThreadState* __tstate = wxPyBeginAllowThreads();
8799 (arg1)->SetBoundingRect((wxRect const &)*arg2);
8800
8801 wxPyEndAllowThreads(__tstate);
8802 if (PyErr_Occurred()) SWIG_fail;
8803 }
8804 Py_INCREF(Py_None); resultobj = Py_None;
8805 return resultobj;
8806 fail:
8807 return NULL;
8808 }
8809
8810
8811 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
8812 PyObject *resultobj;
8813 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8814 PyObject * obj0 = 0 ;
8815 char *kwnames[] = {
8816 (char *) "self", NULL
8817 };
8818
8819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
8820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8822 {
8823 PyThreadState* __tstate = wxPyBeginAllowThreads();
8824 (arg1)->Close();
8825
8826 wxPyEndAllowThreads(__tstate);
8827 if (PyErr_Occurred()) SWIG_fail;
8828 }
8829 Py_INCREF(Py_None); resultobj = Py_None;
8830 return resultobj;
8831 fail:
8832 return NULL;
8833 }
8834
8835
8836 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
8837 PyObject *obj;
8838 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8839 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
8840 Py_INCREF(obj);
8841 return Py_BuildValue((char *)"");
8842 }
8843 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8844 PyObject *resultobj;
8845 wxWindow *arg1 = (wxWindow *) 0 ;
8846 int arg2 = (int) wxID_ANY ;
8847 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8848 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8849 wxSize const &arg4_defvalue = wxDefaultSize ;
8850 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8851 long arg5 = (long) 0 ;
8852 wxString const &arg6_defvalue = wxPyPanelNameStr ;
8853 wxString *arg6 = (wxString *) &arg6_defvalue ;
8854 wxPyVScrolledWindow *result;
8855 wxPoint temp3 ;
8856 wxSize temp4 ;
8857 bool temp6 = False ;
8858 PyObject * obj0 = 0 ;
8859 PyObject * obj1 = 0 ;
8860 PyObject * obj2 = 0 ;
8861 PyObject * obj3 = 0 ;
8862 PyObject * obj4 = 0 ;
8863 PyObject * obj5 = 0 ;
8864 char *kwnames[] = {
8865 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8866 };
8867
8868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8871 if (obj1) {
8872 arg2 = (int) SWIG_AsInt(obj1);
8873 if (PyErr_Occurred()) SWIG_fail;
8874 }
8875 if (obj2) {
8876 {
8877 arg3 = &temp3;
8878 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8879 }
8880 }
8881 if (obj3) {
8882 {
8883 arg4 = &temp4;
8884 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8885 }
8886 }
8887 if (obj4) {
8888 arg5 = (long) SWIG_AsLong(obj4);
8889 if (PyErr_Occurred()) SWIG_fail;
8890 }
8891 if (obj5) {
8892 {
8893 arg6 = wxString_in_helper(obj5);
8894 if (arg6 == NULL) SWIG_fail;
8895 temp6 = True;
8896 }
8897 }
8898 {
8899 PyThreadState* __tstate = wxPyBeginAllowThreads();
8900 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8901
8902 wxPyEndAllowThreads(__tstate);
8903 if (PyErr_Occurred()) SWIG_fail;
8904 }
8905 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
8906 {
8907 if (temp6)
8908 delete arg6;
8909 }
8910 return resultobj;
8911 fail:
8912 {
8913 if (temp6)
8914 delete arg6;
8915 }
8916 return NULL;
8917 }
8918
8919
8920 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8921 PyObject *resultobj;
8922 wxPyVScrolledWindow *result;
8923 char *kwnames[] = {
8924 NULL
8925 };
8926
8927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
8928 {
8929 PyThreadState* __tstate = wxPyBeginAllowThreads();
8930 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
8931
8932 wxPyEndAllowThreads(__tstate);
8933 if (PyErr_Occurred()) SWIG_fail;
8934 }
8935 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
8936 return resultobj;
8937 fail:
8938 return NULL;
8939 }
8940
8941
8942 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8943 PyObject *resultobj;
8944 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8945 PyObject *arg2 = (PyObject *) 0 ;
8946 PyObject *arg3 = (PyObject *) 0 ;
8947 PyObject * obj0 = 0 ;
8948 PyObject * obj1 = 0 ;
8949 PyObject * obj2 = 0 ;
8950 char *kwnames[] = {
8951 (char *) "self",(char *) "self",(char *) "_class", NULL
8952 };
8953
8954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8957 arg2 = obj1;
8958 arg3 = obj2;
8959 {
8960 PyThreadState* __tstate = wxPyBeginAllowThreads();
8961 (arg1)->_setCallbackInfo(arg2,arg3);
8962
8963 wxPyEndAllowThreads(__tstate);
8964 if (PyErr_Occurred()) SWIG_fail;
8965 }
8966 Py_INCREF(Py_None); resultobj = Py_None;
8967 return resultobj;
8968 fail:
8969 return NULL;
8970 }
8971
8972
8973 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8974 PyObject *resultobj;
8975 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8976 wxWindow *arg2 = (wxWindow *) 0 ;
8977 int arg3 = (int) wxID_ANY ;
8978 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8979 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8980 wxSize const &arg5_defvalue = wxDefaultSize ;
8981 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8982 long arg6 = (long) 0 ;
8983 wxString const &arg7_defvalue = wxPyPanelNameStr ;
8984 wxString *arg7 = (wxString *) &arg7_defvalue ;
8985 bool result;
8986 wxPoint temp4 ;
8987 wxSize temp5 ;
8988 bool temp7 = False ;
8989 PyObject * obj0 = 0 ;
8990 PyObject * obj1 = 0 ;
8991 PyObject * obj2 = 0 ;
8992 PyObject * obj3 = 0 ;
8993 PyObject * obj4 = 0 ;
8994 PyObject * obj5 = 0 ;
8995 PyObject * obj6 = 0 ;
8996 char *kwnames[] = {
8997 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8998 };
8999
9000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9003 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9005 if (obj2) {
9006 arg3 = (int) SWIG_AsInt(obj2);
9007 if (PyErr_Occurred()) SWIG_fail;
9008 }
9009 if (obj3) {
9010 {
9011 arg4 = &temp4;
9012 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9013 }
9014 }
9015 if (obj4) {
9016 {
9017 arg5 = &temp5;
9018 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9019 }
9020 }
9021 if (obj5) {
9022 arg6 = (long) SWIG_AsLong(obj5);
9023 if (PyErr_Occurred()) SWIG_fail;
9024 }
9025 if (obj6) {
9026 {
9027 arg7 = wxString_in_helper(obj6);
9028 if (arg7 == NULL) SWIG_fail;
9029 temp7 = True;
9030 }
9031 }
9032 {
9033 PyThreadState* __tstate = wxPyBeginAllowThreads();
9034 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9035
9036 wxPyEndAllowThreads(__tstate);
9037 if (PyErr_Occurred()) SWIG_fail;
9038 }
9039 {
9040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9041 }
9042 {
9043 if (temp7)
9044 delete arg7;
9045 }
9046 return resultobj;
9047 fail:
9048 {
9049 if (temp7)
9050 delete arg7;
9051 }
9052 return NULL;
9053 }
9054
9055
9056 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9057 PyObject *resultobj;
9058 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9059 size_t arg2 ;
9060 PyObject * obj0 = 0 ;
9061 PyObject * obj1 = 0 ;
9062 char *kwnames[] = {
9063 (char *) "self",(char *) "count", NULL
9064 };
9065
9066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
9067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9069 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9070 if (PyErr_Occurred()) SWIG_fail;
9071 {
9072 PyThreadState* __tstate = wxPyBeginAllowThreads();
9073 (arg1)->SetLineCount(arg2);
9074
9075 wxPyEndAllowThreads(__tstate);
9076 if (PyErr_Occurred()) SWIG_fail;
9077 }
9078 Py_INCREF(Py_None); resultobj = Py_None;
9079 return resultobj;
9080 fail:
9081 return NULL;
9082 }
9083
9084
9085 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9086 PyObject *resultobj;
9087 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9088 size_t arg2 ;
9089 bool result;
9090 PyObject * obj0 = 0 ;
9091 PyObject * obj1 = 0 ;
9092 char *kwnames[] = {
9093 (char *) "self",(char *) "line", NULL
9094 };
9095
9096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
9097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9099 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9100 if (PyErr_Occurred()) SWIG_fail;
9101 {
9102 PyThreadState* __tstate = wxPyBeginAllowThreads();
9103 result = (bool)(arg1)->ScrollToLine(arg2);
9104
9105 wxPyEndAllowThreads(__tstate);
9106 if (PyErr_Occurred()) SWIG_fail;
9107 }
9108 {
9109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9110 }
9111 return resultobj;
9112 fail:
9113 return NULL;
9114 }
9115
9116
9117 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9118 PyObject *resultobj;
9119 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9120 int arg2 ;
9121 bool result;
9122 PyObject * obj0 = 0 ;
9123 PyObject * obj1 = 0 ;
9124 char *kwnames[] = {
9125 (char *) "self",(char *) "lines", NULL
9126 };
9127
9128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
9129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9131 arg2 = (int) SWIG_AsInt(obj1);
9132 if (PyErr_Occurred()) SWIG_fail;
9133 {
9134 PyThreadState* __tstate = wxPyBeginAllowThreads();
9135 result = (bool)(arg1)->ScrollLines(arg2);
9136
9137 wxPyEndAllowThreads(__tstate);
9138 if (PyErr_Occurred()) SWIG_fail;
9139 }
9140 {
9141 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9142 }
9143 return resultobj;
9144 fail:
9145 return NULL;
9146 }
9147
9148
9149 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
9150 PyObject *resultobj;
9151 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9152 int arg2 ;
9153 bool result;
9154 PyObject * obj0 = 0 ;
9155 PyObject * obj1 = 0 ;
9156 char *kwnames[] = {
9157 (char *) "self",(char *) "pages", NULL
9158 };
9159
9160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
9161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9163 arg2 = (int) SWIG_AsInt(obj1);
9164 if (PyErr_Occurred()) SWIG_fail;
9165 {
9166 PyThreadState* __tstate = wxPyBeginAllowThreads();
9167 result = (bool)(arg1)->ScrollPages(arg2);
9168
9169 wxPyEndAllowThreads(__tstate);
9170 if (PyErr_Occurred()) SWIG_fail;
9171 }
9172 {
9173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9174 }
9175 return resultobj;
9176 fail:
9177 return NULL;
9178 }
9179
9180
9181 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9182 PyObject *resultobj;
9183 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9184 size_t arg2 ;
9185 PyObject * obj0 = 0 ;
9186 PyObject * obj1 = 0 ;
9187 char *kwnames[] = {
9188 (char *) "self",(char *) "line", NULL
9189 };
9190
9191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9194 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9195 if (PyErr_Occurred()) SWIG_fail;
9196 {
9197 PyThreadState* __tstate = wxPyBeginAllowThreads();
9198 (arg1)->RefreshLine(arg2);
9199
9200 wxPyEndAllowThreads(__tstate);
9201 if (PyErr_Occurred()) SWIG_fail;
9202 }
9203 Py_INCREF(Py_None); resultobj = Py_None;
9204 return resultobj;
9205 fail:
9206 return NULL;
9207 }
9208
9209
9210 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9211 PyObject *resultobj;
9212 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9213 size_t arg2 ;
9214 size_t arg3 ;
9215 PyObject * obj0 = 0 ;
9216 PyObject * obj1 = 0 ;
9217 PyObject * obj2 = 0 ;
9218 char *kwnames[] = {
9219 (char *) "self",(char *) "from",(char *) "to", NULL
9220 };
9221
9222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9225 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9226 if (PyErr_Occurred()) SWIG_fail;
9227 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9228 if (PyErr_Occurred()) SWIG_fail;
9229 {
9230 PyThreadState* __tstate = wxPyBeginAllowThreads();
9231 (arg1)->RefreshLines(arg2,arg3);
9232
9233 wxPyEndAllowThreads(__tstate);
9234 if (PyErr_Occurred()) SWIG_fail;
9235 }
9236 Py_INCREF(Py_None); resultobj = Py_None;
9237 return resultobj;
9238 fail:
9239 return NULL;
9240 }
9241
9242
9243 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
9244 PyObject *resultobj;
9245 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9246 int arg2 ;
9247 int arg3 ;
9248 int result;
9249 PyObject * obj0 = 0 ;
9250 PyObject * obj1 = 0 ;
9251 PyObject * obj2 = 0 ;
9252 char *kwnames[] = {
9253 (char *) "self",(char *) "x",(char *) "y", NULL
9254 };
9255
9256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail;
9257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9259 arg2 = (int) SWIG_AsInt(obj1);
9260 if (PyErr_Occurred()) SWIG_fail;
9261 arg3 = (int) SWIG_AsInt(obj2);
9262 if (PyErr_Occurred()) SWIG_fail;
9263 {
9264 PyThreadState* __tstate = wxPyBeginAllowThreads();
9265 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9266
9267 wxPyEndAllowThreads(__tstate);
9268 if (PyErr_Occurred()) SWIG_fail;
9269 }
9270 resultobj = SWIG_FromInt((int)result);
9271 return resultobj;
9272 fail:
9273 return NULL;
9274 }
9275
9276
9277 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9278 PyObject *resultobj;
9279 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9280 wxPoint *arg2 = 0 ;
9281 int result;
9282 wxPoint temp2 ;
9283 PyObject * obj0 = 0 ;
9284 PyObject * obj1 = 0 ;
9285 char *kwnames[] = {
9286 (char *) "self",(char *) "pt", NULL
9287 };
9288
9289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9292 {
9293 arg2 = &temp2;
9294 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9295 }
9296 {
9297 PyThreadState* __tstate = wxPyBeginAllowThreads();
9298 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9299
9300 wxPyEndAllowThreads(__tstate);
9301 if (PyErr_Occurred()) SWIG_fail;
9302 }
9303 resultobj = SWIG_FromInt((int)result);
9304 return resultobj;
9305 fail:
9306 return NULL;
9307 }
9308
9309
9310 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9311 PyObject *resultobj;
9312 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9313 PyObject * obj0 = 0 ;
9314 char *kwnames[] = {
9315 (char *) "self", NULL
9316 };
9317
9318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9321 {
9322 PyThreadState* __tstate = wxPyBeginAllowThreads();
9323 (arg1)->RefreshAll();
9324
9325 wxPyEndAllowThreads(__tstate);
9326 if (PyErr_Occurred()) SWIG_fail;
9327 }
9328 Py_INCREF(Py_None); resultobj = Py_None;
9329 return resultobj;
9330 fail:
9331 return NULL;
9332 }
9333
9334
9335 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9336 PyObject *resultobj;
9337 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9338 size_t result;
9339 PyObject * obj0 = 0 ;
9340 char *kwnames[] = {
9341 (char *) "self", NULL
9342 };
9343
9344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9347 {
9348 PyThreadState* __tstate = wxPyBeginAllowThreads();
9349 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9350
9351 wxPyEndAllowThreads(__tstate);
9352 if (PyErr_Occurred()) SWIG_fail;
9353 }
9354 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9355 return resultobj;
9356 fail:
9357 return NULL;
9358 }
9359
9360
9361 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9362 PyObject *resultobj;
9363 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9364 size_t result;
9365 PyObject * obj0 = 0 ;
9366 char *kwnames[] = {
9367 (char *) "self", NULL
9368 };
9369
9370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9373 {
9374 PyThreadState* __tstate = wxPyBeginAllowThreads();
9375 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9376
9377 wxPyEndAllowThreads(__tstate);
9378 if (PyErr_Occurred()) SWIG_fail;
9379 }
9380 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9381 return resultobj;
9382 fail:
9383 return NULL;
9384 }
9385
9386
9387 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9388 PyObject *resultobj;
9389 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9390 size_t result;
9391 PyObject * obj0 = 0 ;
9392 char *kwnames[] = {
9393 (char *) "self", NULL
9394 };
9395
9396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9399 {
9400 PyThreadState* __tstate = wxPyBeginAllowThreads();
9401 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9402
9403 wxPyEndAllowThreads(__tstate);
9404 if (PyErr_Occurred()) SWIG_fail;
9405 }
9406 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9407 return resultobj;
9408 fail:
9409 return NULL;
9410 }
9411
9412
9413 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9414 PyObject *resultobj;
9415 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9416 size_t arg2 ;
9417 bool result;
9418 PyObject * obj0 = 0 ;
9419 PyObject * obj1 = 0 ;
9420 char *kwnames[] = {
9421 (char *) "self",(char *) "line", NULL
9422 };
9423
9424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9427 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9428 if (PyErr_Occurred()) SWIG_fail;
9429 {
9430 PyThreadState* __tstate = wxPyBeginAllowThreads();
9431 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9432
9433 wxPyEndAllowThreads(__tstate);
9434 if (PyErr_Occurred()) SWIG_fail;
9435 }
9436 {
9437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9438 }
9439 return resultobj;
9440 fail:
9441 return NULL;
9442 }
9443
9444
9445 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
9446 PyObject *obj;
9447 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9448 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9449 Py_INCREF(obj);
9450 return Py_BuildValue((char *)"");
9451 }
9452 static int _wrap_VListBoxNameStr_set(PyObject *_val) {
9453 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9454 return 1;
9455 }
9456
9457
9458 static PyObject *_wrap_VListBoxNameStr_get() {
9459 PyObject *pyobj;
9460
9461 {
9462 #if wxUSE_UNICODE
9463 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9464 #else
9465 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9466 #endif
9467 }
9468 return pyobj;
9469 }
9470
9471
9472 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9473 PyObject *resultobj;
9474 wxWindow *arg1 = (wxWindow *) 0 ;
9475 int arg2 = (int) wxID_ANY ;
9476 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9477 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9478 wxSize const &arg4_defvalue = wxDefaultSize ;
9479 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9480 long arg5 = (long) 0 ;
9481 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9482 wxString *arg6 = (wxString *) &arg6_defvalue ;
9483 wxPyVListBox *result;
9484 wxPoint temp3 ;
9485 wxSize temp4 ;
9486 bool temp6 = False ;
9487 PyObject * obj0 = 0 ;
9488 PyObject * obj1 = 0 ;
9489 PyObject * obj2 = 0 ;
9490 PyObject * obj3 = 0 ;
9491 PyObject * obj4 = 0 ;
9492 PyObject * obj5 = 0 ;
9493 char *kwnames[] = {
9494 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9495 };
9496
9497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9500 if (obj1) {
9501 arg2 = (int) SWIG_AsInt(obj1);
9502 if (PyErr_Occurred()) SWIG_fail;
9503 }
9504 if (obj2) {
9505 {
9506 arg3 = &temp3;
9507 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9508 }
9509 }
9510 if (obj3) {
9511 {
9512 arg4 = &temp4;
9513 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9514 }
9515 }
9516 if (obj4) {
9517 arg5 = (long) SWIG_AsLong(obj4);
9518 if (PyErr_Occurred()) SWIG_fail;
9519 }
9520 if (obj5) {
9521 {
9522 arg6 = wxString_in_helper(obj5);
9523 if (arg6 == NULL) SWIG_fail;
9524 temp6 = True;
9525 }
9526 }
9527 {
9528 PyThreadState* __tstate = wxPyBeginAllowThreads();
9529 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9530
9531 wxPyEndAllowThreads(__tstate);
9532 if (PyErr_Occurred()) SWIG_fail;
9533 }
9534 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9535 {
9536 if (temp6)
9537 delete arg6;
9538 }
9539 return resultobj;
9540 fail:
9541 {
9542 if (temp6)
9543 delete arg6;
9544 }
9545 return NULL;
9546 }
9547
9548
9549 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9550 PyObject *resultobj;
9551 wxPyVListBox *result;
9552 char *kwnames[] = {
9553 NULL
9554 };
9555
9556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9557 {
9558 PyThreadState* __tstate = wxPyBeginAllowThreads();
9559 result = (wxPyVListBox *)new wxPyVListBox();
9560
9561 wxPyEndAllowThreads(__tstate);
9562 if (PyErr_Occurred()) SWIG_fail;
9563 }
9564 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9565 return resultobj;
9566 fail:
9567 return NULL;
9568 }
9569
9570
9571 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9572 PyObject *resultobj;
9573 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9574 PyObject *arg2 = (PyObject *) 0 ;
9575 PyObject *arg3 = (PyObject *) 0 ;
9576 PyObject * obj0 = 0 ;
9577 PyObject * obj1 = 0 ;
9578 PyObject * obj2 = 0 ;
9579 char *kwnames[] = {
9580 (char *) "self",(char *) "self",(char *) "_class", NULL
9581 };
9582
9583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9586 arg2 = obj1;
9587 arg3 = obj2;
9588 {
9589 PyThreadState* __tstate = wxPyBeginAllowThreads();
9590 (arg1)->_setCallbackInfo(arg2,arg3);
9591
9592 wxPyEndAllowThreads(__tstate);
9593 if (PyErr_Occurred()) SWIG_fail;
9594 }
9595 Py_INCREF(Py_None); resultobj = Py_None;
9596 return resultobj;
9597 fail:
9598 return NULL;
9599 }
9600
9601
9602 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9603 PyObject *resultobj;
9604 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9605 wxWindow *arg2 = (wxWindow *) 0 ;
9606 int arg3 = (int) wxID_ANY ;
9607 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9608 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9609 wxSize const &arg5_defvalue = wxDefaultSize ;
9610 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9611 long arg6 = (long) 0 ;
9612 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9613 wxString *arg7 = (wxString *) &arg7_defvalue ;
9614 bool result;
9615 wxPoint temp4 ;
9616 wxSize temp5 ;
9617 bool temp7 = False ;
9618 PyObject * obj0 = 0 ;
9619 PyObject * obj1 = 0 ;
9620 PyObject * obj2 = 0 ;
9621 PyObject * obj3 = 0 ;
9622 PyObject * obj4 = 0 ;
9623 PyObject * obj5 = 0 ;
9624 PyObject * obj6 = 0 ;
9625 char *kwnames[] = {
9626 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9627 };
9628
9629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9632 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9634 if (obj2) {
9635 arg3 = (int) SWIG_AsInt(obj2);
9636 if (PyErr_Occurred()) SWIG_fail;
9637 }
9638 if (obj3) {
9639 {
9640 arg4 = &temp4;
9641 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9642 }
9643 }
9644 if (obj4) {
9645 {
9646 arg5 = &temp5;
9647 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9648 }
9649 }
9650 if (obj5) {
9651 arg6 = (long) SWIG_AsLong(obj5);
9652 if (PyErr_Occurred()) SWIG_fail;
9653 }
9654 if (obj6) {
9655 {
9656 arg7 = wxString_in_helper(obj6);
9657 if (arg7 == NULL) SWIG_fail;
9658 temp7 = True;
9659 }
9660 }
9661 {
9662 PyThreadState* __tstate = wxPyBeginAllowThreads();
9663 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9664
9665 wxPyEndAllowThreads(__tstate);
9666 if (PyErr_Occurred()) SWIG_fail;
9667 }
9668 {
9669 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9670 }
9671 {
9672 if (temp7)
9673 delete arg7;
9674 }
9675 return resultobj;
9676 fail:
9677 {
9678 if (temp7)
9679 delete arg7;
9680 }
9681 return NULL;
9682 }
9683
9684
9685 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9686 PyObject *resultobj;
9687 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9688 size_t result;
9689 PyObject * obj0 = 0 ;
9690 char *kwnames[] = {
9691 (char *) "self", NULL
9692 };
9693
9694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
9695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9697 {
9698 PyThreadState* __tstate = wxPyBeginAllowThreads();
9699 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
9700
9701 wxPyEndAllowThreads(__tstate);
9702 if (PyErr_Occurred()) SWIG_fail;
9703 }
9704 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9705 return resultobj;
9706 fail:
9707 return NULL;
9708 }
9709
9710
9711 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9712 PyObject *resultobj;
9713 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9714 bool result;
9715 PyObject * obj0 = 0 ;
9716 char *kwnames[] = {
9717 (char *) "self", NULL
9718 };
9719
9720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
9721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9723 {
9724 PyThreadState* __tstate = wxPyBeginAllowThreads();
9725 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
9726
9727 wxPyEndAllowThreads(__tstate);
9728 if (PyErr_Occurred()) SWIG_fail;
9729 }
9730 {
9731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9732 }
9733 return resultobj;
9734 fail:
9735 return NULL;
9736 }
9737
9738
9739 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9740 PyObject *resultobj;
9741 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9742 int result;
9743 PyObject * obj0 = 0 ;
9744 char *kwnames[] = {
9745 (char *) "self", NULL
9746 };
9747
9748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
9749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9751 {
9752 PyThreadState* __tstate = wxPyBeginAllowThreads();
9753 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
9754
9755 wxPyEndAllowThreads(__tstate);
9756 if (PyErr_Occurred()) SWIG_fail;
9757 }
9758 resultobj = SWIG_FromInt((int)result);
9759 return resultobj;
9760 fail:
9761 return NULL;
9762 }
9763
9764
9765 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
9766 PyObject *resultobj;
9767 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9768 size_t arg2 ;
9769 bool result;
9770 PyObject * obj0 = 0 ;
9771 PyObject * obj1 = 0 ;
9772 char *kwnames[] = {
9773 (char *) "self",(char *) "item", NULL
9774 };
9775
9776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
9777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9779 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9780 if (PyErr_Occurred()) SWIG_fail;
9781 {
9782 PyThreadState* __tstate = wxPyBeginAllowThreads();
9783 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
9784
9785 wxPyEndAllowThreads(__tstate);
9786 if (PyErr_Occurred()) SWIG_fail;
9787 }
9788 {
9789 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9790 }
9791 return resultobj;
9792 fail:
9793 return NULL;
9794 }
9795
9796
9797 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9798 PyObject *resultobj;
9799 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9800 size_t arg2 ;
9801 bool result;
9802 PyObject * obj0 = 0 ;
9803 PyObject * obj1 = 0 ;
9804 char *kwnames[] = {
9805 (char *) "self",(char *) "item", NULL
9806 };
9807
9808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
9809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9811 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9812 if (PyErr_Occurred()) SWIG_fail;
9813 {
9814 PyThreadState* __tstate = wxPyBeginAllowThreads();
9815 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
9816
9817 wxPyEndAllowThreads(__tstate);
9818 if (PyErr_Occurred()) SWIG_fail;
9819 }
9820 {
9821 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9822 }
9823 return resultobj;
9824 fail:
9825 return NULL;
9826 }
9827
9828
9829 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9830 PyObject *resultobj;
9831 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9832 size_t result;
9833 PyObject * obj0 = 0 ;
9834 char *kwnames[] = {
9835 (char *) "self", NULL
9836 };
9837
9838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
9839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9841 {
9842 PyThreadState* __tstate = wxPyBeginAllowThreads();
9843 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
9844
9845 wxPyEndAllowThreads(__tstate);
9846 if (PyErr_Occurred()) SWIG_fail;
9847 }
9848 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9849 return resultobj;
9850 fail:
9851 return NULL;
9852 }
9853
9854
9855 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9856 PyObject *resultobj;
9857 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9858 unsigned long *arg2 = 0 ;
9859 int result;
9860 PyObject * obj0 = 0 ;
9861 PyObject * obj1 = 0 ;
9862 char *kwnames[] = {
9863 (char *) "self",(char *) "cookie", NULL
9864 };
9865
9866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
9867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9869 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9870 SWIG_POINTER_EXCEPTION | 0)) == -1)
9871 SWIG_fail;
9872 if (arg2 == NULL) {
9873 PyErr_SetString(PyExc_TypeError,"null reference");
9874 SWIG_fail;
9875 }
9876 {
9877 PyThreadState* __tstate = wxPyBeginAllowThreads();
9878 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
9879
9880 wxPyEndAllowThreads(__tstate);
9881 if (PyErr_Occurred()) SWIG_fail;
9882 }
9883 resultobj = SWIG_FromInt((int)result);
9884 return resultobj;
9885 fail:
9886 return NULL;
9887 }
9888
9889
9890 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9891 PyObject *resultobj;
9892 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9893 unsigned long *arg2 = 0 ;
9894 int result;
9895 PyObject * obj0 = 0 ;
9896 PyObject * obj1 = 0 ;
9897 char *kwnames[] = {
9898 (char *) "self",(char *) "cookie", NULL
9899 };
9900
9901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
9902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9904 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9905 SWIG_POINTER_EXCEPTION | 0)) == -1)
9906 SWIG_fail;
9907 if (arg2 == NULL) {
9908 PyErr_SetString(PyExc_TypeError,"null reference");
9909 SWIG_fail;
9910 }
9911 {
9912 PyThreadState* __tstate = wxPyBeginAllowThreads();
9913 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
9914
9915 wxPyEndAllowThreads(__tstate);
9916 if (PyErr_Occurred()) SWIG_fail;
9917 }
9918 resultobj = SWIG_FromInt((int)result);
9919 return resultobj;
9920 fail:
9921 return NULL;
9922 }
9923
9924
9925 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9926 PyObject *resultobj;
9927 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9928 wxPoint result;
9929 PyObject * obj0 = 0 ;
9930 char *kwnames[] = {
9931 (char *) "self", NULL
9932 };
9933
9934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
9935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9937 {
9938 PyThreadState* __tstate = wxPyBeginAllowThreads();
9939 result = ((wxPyVListBox const *)arg1)->GetMargins();
9940
9941 wxPyEndAllowThreads(__tstate);
9942 if (PyErr_Occurred()) SWIG_fail;
9943 }
9944 {
9945 wxPoint * resultptr;
9946 resultptr = new wxPoint((wxPoint &) result);
9947 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
9948 }
9949 return resultobj;
9950 fail:
9951 return NULL;
9952 }
9953
9954
9955 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9956 PyObject *resultobj;
9957 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9958 wxColour *result;
9959 PyObject * obj0 = 0 ;
9960 char *kwnames[] = {
9961 (char *) "self", NULL
9962 };
9963
9964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
9965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9967 {
9968 PyThreadState* __tstate = wxPyBeginAllowThreads();
9969 {
9970 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
9971 result = (wxColour *) &_result_ref;
9972 }
9973
9974 wxPyEndAllowThreads(__tstate);
9975 if (PyErr_Occurred()) SWIG_fail;
9976 }
9977 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9978 return resultobj;
9979 fail:
9980 return NULL;
9981 }
9982
9983
9984 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9985 PyObject *resultobj;
9986 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9987 size_t arg2 ;
9988 PyObject * obj0 = 0 ;
9989 PyObject * obj1 = 0 ;
9990 char *kwnames[] = {
9991 (char *) "self",(char *) "count", NULL
9992 };
9993
9994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9997 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9998 if (PyErr_Occurred()) SWIG_fail;
9999 {
10000 PyThreadState* __tstate = wxPyBeginAllowThreads();
10001 (arg1)->SetItemCount(arg2);
10002
10003 wxPyEndAllowThreads(__tstate);
10004 if (PyErr_Occurred()) SWIG_fail;
10005 }
10006 Py_INCREF(Py_None); resultobj = Py_None;
10007 return resultobj;
10008 fail:
10009 return NULL;
10010 }
10011
10012
10013 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
10014 PyObject *resultobj;
10015 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10016 PyObject * obj0 = 0 ;
10017 char *kwnames[] = {
10018 (char *) "self", NULL
10019 };
10020
10021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
10022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10024 {
10025 PyThreadState* __tstate = wxPyBeginAllowThreads();
10026 (arg1)->Clear();
10027
10028 wxPyEndAllowThreads(__tstate);
10029 if (PyErr_Occurred()) SWIG_fail;
10030 }
10031 Py_INCREF(Py_None); resultobj = Py_None;
10032 return resultobj;
10033 fail:
10034 return NULL;
10035 }
10036
10037
10038 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10039 PyObject *resultobj;
10040 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10041 int arg2 ;
10042 PyObject * obj0 = 0 ;
10043 PyObject * obj1 = 0 ;
10044 char *kwnames[] = {
10045 (char *) "self",(char *) "selection", NULL
10046 };
10047
10048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
10049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10051 arg2 = (int) SWIG_AsInt(obj1);
10052 if (PyErr_Occurred()) SWIG_fail;
10053 {
10054 PyThreadState* __tstate = wxPyBeginAllowThreads();
10055 (arg1)->SetSelection(arg2);
10056
10057 wxPyEndAllowThreads(__tstate);
10058 if (PyErr_Occurred()) SWIG_fail;
10059 }
10060 Py_INCREF(Py_None); resultobj = Py_None;
10061 return resultobj;
10062 fail:
10063 return NULL;
10064 }
10065
10066
10067 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
10068 PyObject *resultobj;
10069 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10070 size_t arg2 ;
10071 bool arg3 = (bool) True ;
10072 bool result;
10073 PyObject * obj0 = 0 ;
10074 PyObject * obj1 = 0 ;
10075 PyObject * obj2 = 0 ;
10076 char *kwnames[] = {
10077 (char *) "self",(char *) "item",(char *) "select", NULL
10078 };
10079
10080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
10081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10083 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10084 if (PyErr_Occurred()) SWIG_fail;
10085 if (obj2) {
10086 arg3 = (bool) SWIG_AsBool(obj2);
10087 if (PyErr_Occurred()) SWIG_fail;
10088 }
10089 {
10090 PyThreadState* __tstate = wxPyBeginAllowThreads();
10091 result = (bool)(arg1)->Select(arg2,arg3);
10092
10093 wxPyEndAllowThreads(__tstate);
10094 if (PyErr_Occurred()) SWIG_fail;
10095 }
10096 {
10097 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10098 }
10099 return resultobj;
10100 fail:
10101 return NULL;
10102 }
10103
10104
10105 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10106 PyObject *resultobj;
10107 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10108 size_t arg2 ;
10109 size_t arg3 ;
10110 bool result;
10111 PyObject * obj0 = 0 ;
10112 PyObject * obj1 = 0 ;
10113 PyObject * obj2 = 0 ;
10114 char *kwnames[] = {
10115 (char *) "self",(char *) "from",(char *) "to", NULL
10116 };
10117
10118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10121 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10122 if (PyErr_Occurred()) SWIG_fail;
10123 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
10124 if (PyErr_Occurred()) SWIG_fail;
10125 {
10126 PyThreadState* __tstate = wxPyBeginAllowThreads();
10127 result = (bool)(arg1)->SelectRange(arg2,arg3);
10128
10129 wxPyEndAllowThreads(__tstate);
10130 if (PyErr_Occurred()) SWIG_fail;
10131 }
10132 {
10133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10134 }
10135 return resultobj;
10136 fail:
10137 return NULL;
10138 }
10139
10140
10141 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
10142 PyObject *resultobj;
10143 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10144 size_t arg2 ;
10145 PyObject * obj0 = 0 ;
10146 PyObject * obj1 = 0 ;
10147 char *kwnames[] = {
10148 (char *) "self",(char *) "item", NULL
10149 };
10150
10151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
10152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10154 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10155 if (PyErr_Occurred()) SWIG_fail;
10156 {
10157 PyThreadState* __tstate = wxPyBeginAllowThreads();
10158 (arg1)->Toggle(arg2);
10159
10160 wxPyEndAllowThreads(__tstate);
10161 if (PyErr_Occurred()) SWIG_fail;
10162 }
10163 Py_INCREF(Py_None); resultobj = Py_None;
10164 return resultobj;
10165 fail:
10166 return NULL;
10167 }
10168
10169
10170 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10171 PyObject *resultobj;
10172 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10173 bool result;
10174 PyObject * obj0 = 0 ;
10175 char *kwnames[] = {
10176 (char *) "self", NULL
10177 };
10178
10179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10182 {
10183 PyThreadState* __tstate = wxPyBeginAllowThreads();
10184 result = (bool)(arg1)->SelectAll();
10185
10186 wxPyEndAllowThreads(__tstate);
10187 if (PyErr_Occurred()) SWIG_fail;
10188 }
10189 {
10190 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10191 }
10192 return resultobj;
10193 fail:
10194 return NULL;
10195 }
10196
10197
10198 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10199 PyObject *resultobj;
10200 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10201 bool result;
10202 PyObject * obj0 = 0 ;
10203 char *kwnames[] = {
10204 (char *) "self", NULL
10205 };
10206
10207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10210 {
10211 PyThreadState* __tstate = wxPyBeginAllowThreads();
10212 result = (bool)(arg1)->DeselectAll();
10213
10214 wxPyEndAllowThreads(__tstate);
10215 if (PyErr_Occurred()) SWIG_fail;
10216 }
10217 {
10218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10219 }
10220 return resultobj;
10221 fail:
10222 return NULL;
10223 }
10224
10225
10226 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10227 PyObject *resultobj;
10228 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10229 wxPoint *arg2 = 0 ;
10230 wxPoint temp2 ;
10231 PyObject * obj0 = 0 ;
10232 PyObject * obj1 = 0 ;
10233 char *kwnames[] = {
10234 (char *) "self",(char *) "pt", NULL
10235 };
10236
10237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10240 {
10241 arg2 = &temp2;
10242 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10243 }
10244 {
10245 PyThreadState* __tstate = wxPyBeginAllowThreads();
10246 (arg1)->SetMargins((wxPoint const &)*arg2);
10247
10248 wxPyEndAllowThreads(__tstate);
10249 if (PyErr_Occurred()) SWIG_fail;
10250 }
10251 Py_INCREF(Py_None); resultobj = Py_None;
10252 return resultobj;
10253 fail:
10254 return NULL;
10255 }
10256
10257
10258 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
10259 PyObject *resultobj;
10260 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10261 int arg2 ;
10262 int arg3 ;
10263 PyObject * obj0 = 0 ;
10264 PyObject * obj1 = 0 ;
10265 PyObject * obj2 = 0 ;
10266 char *kwnames[] = {
10267 (char *) "self",(char *) "x",(char *) "y", NULL
10268 };
10269
10270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10273 arg2 = (int) SWIG_AsInt(obj1);
10274 if (PyErr_Occurred()) SWIG_fail;
10275 arg3 = (int) SWIG_AsInt(obj2);
10276 if (PyErr_Occurred()) SWIG_fail;
10277 {
10278 PyThreadState* __tstate = wxPyBeginAllowThreads();
10279 (arg1)->SetMargins(arg2,arg3);
10280
10281 wxPyEndAllowThreads(__tstate);
10282 if (PyErr_Occurred()) SWIG_fail;
10283 }
10284 Py_INCREF(Py_None); resultobj = Py_None;
10285 return resultobj;
10286 fail:
10287 return NULL;
10288 }
10289
10290
10291 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10292 PyObject *resultobj;
10293 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10294 wxColour *arg2 = 0 ;
10295 wxColour temp2 ;
10296 PyObject * obj0 = 0 ;
10297 PyObject * obj1 = 0 ;
10298 char *kwnames[] = {
10299 (char *) "self",(char *) "col", NULL
10300 };
10301
10302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10305 {
10306 arg2 = &temp2;
10307 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10308 }
10309 {
10310 PyThreadState* __tstate = wxPyBeginAllowThreads();
10311 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10312
10313 wxPyEndAllowThreads(__tstate);
10314 if (PyErr_Occurred()) SWIG_fail;
10315 }
10316 Py_INCREF(Py_None); resultobj = Py_None;
10317 return resultobj;
10318 fail:
10319 return NULL;
10320 }
10321
10322
10323 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
10324 PyObject *obj;
10325 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10326 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10327 Py_INCREF(obj);
10328 return Py_BuildValue((char *)"");
10329 }
10330 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10331 PyObject *resultobj;
10332 wxWindow *arg1 = (wxWindow *) 0 ;
10333 int arg2 = (int) wxID_ANY ;
10334 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10335 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10336 wxSize const &arg4_defvalue = wxDefaultSize ;
10337 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10338 long arg5 = (long) 0 ;
10339 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10340 wxString *arg6 = (wxString *) &arg6_defvalue ;
10341 wxPyHtmlListBox *result;
10342 wxPoint temp3 ;
10343 wxSize temp4 ;
10344 bool temp6 = False ;
10345 PyObject * obj0 = 0 ;
10346 PyObject * obj1 = 0 ;
10347 PyObject * obj2 = 0 ;
10348 PyObject * obj3 = 0 ;
10349 PyObject * obj4 = 0 ;
10350 PyObject * obj5 = 0 ;
10351 char *kwnames[] = {
10352 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10353 };
10354
10355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10358 if (obj1) {
10359 arg2 = (int) SWIG_AsInt(obj1);
10360 if (PyErr_Occurred()) SWIG_fail;
10361 }
10362 if (obj2) {
10363 {
10364 arg3 = &temp3;
10365 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10366 }
10367 }
10368 if (obj3) {
10369 {
10370 arg4 = &temp4;
10371 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10372 }
10373 }
10374 if (obj4) {
10375 arg5 = (long) SWIG_AsLong(obj4);
10376 if (PyErr_Occurred()) SWIG_fail;
10377 }
10378 if (obj5) {
10379 {
10380 arg6 = wxString_in_helper(obj5);
10381 if (arg6 == NULL) SWIG_fail;
10382 temp6 = True;
10383 }
10384 }
10385 {
10386 PyThreadState* __tstate = wxPyBeginAllowThreads();
10387 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10388
10389 wxPyEndAllowThreads(__tstate);
10390 if (PyErr_Occurred()) SWIG_fail;
10391 }
10392 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10393 {
10394 if (temp6)
10395 delete arg6;
10396 }
10397 return resultobj;
10398 fail:
10399 {
10400 if (temp6)
10401 delete arg6;
10402 }
10403 return NULL;
10404 }
10405
10406
10407 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10408 PyObject *resultobj;
10409 wxPyHtmlListBox *result;
10410 char *kwnames[] = {
10411 NULL
10412 };
10413
10414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10415 {
10416 PyThreadState* __tstate = wxPyBeginAllowThreads();
10417 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10418
10419 wxPyEndAllowThreads(__tstate);
10420 if (PyErr_Occurred()) SWIG_fail;
10421 }
10422 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10423 return resultobj;
10424 fail:
10425 return NULL;
10426 }
10427
10428
10429 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10430 PyObject *resultobj;
10431 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10432 PyObject *arg2 = (PyObject *) 0 ;
10433 PyObject *arg3 = (PyObject *) 0 ;
10434 PyObject * obj0 = 0 ;
10435 PyObject * obj1 = 0 ;
10436 PyObject * obj2 = 0 ;
10437 char *kwnames[] = {
10438 (char *) "self",(char *) "self",(char *) "_class", NULL
10439 };
10440
10441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10444 arg2 = obj1;
10445 arg3 = obj2;
10446 {
10447 PyThreadState* __tstate = wxPyBeginAllowThreads();
10448 (arg1)->_setCallbackInfo(arg2,arg3);
10449
10450 wxPyEndAllowThreads(__tstate);
10451 if (PyErr_Occurred()) SWIG_fail;
10452 }
10453 Py_INCREF(Py_None); resultobj = Py_None;
10454 return resultobj;
10455 fail:
10456 return NULL;
10457 }
10458
10459
10460 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10461 PyObject *resultobj;
10462 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10463 wxWindow *arg2 = (wxWindow *) 0 ;
10464 int arg3 = (int) wxID_ANY ;
10465 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10466 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10467 wxSize const &arg5_defvalue = wxDefaultSize ;
10468 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10469 long arg6 = (long) 0 ;
10470 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10471 wxString *arg7 = (wxString *) &arg7_defvalue ;
10472 bool result;
10473 wxPoint temp4 ;
10474 wxSize temp5 ;
10475 bool temp7 = False ;
10476 PyObject * obj0 = 0 ;
10477 PyObject * obj1 = 0 ;
10478 PyObject * obj2 = 0 ;
10479 PyObject * obj3 = 0 ;
10480 PyObject * obj4 = 0 ;
10481 PyObject * obj5 = 0 ;
10482 PyObject * obj6 = 0 ;
10483 char *kwnames[] = {
10484 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10485 };
10486
10487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10490 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10492 if (obj2) {
10493 arg3 = (int) SWIG_AsInt(obj2);
10494 if (PyErr_Occurred()) SWIG_fail;
10495 }
10496 if (obj3) {
10497 {
10498 arg4 = &temp4;
10499 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10500 }
10501 }
10502 if (obj4) {
10503 {
10504 arg5 = &temp5;
10505 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10506 }
10507 }
10508 if (obj5) {
10509 arg6 = (long) SWIG_AsLong(obj5);
10510 if (PyErr_Occurred()) SWIG_fail;
10511 }
10512 if (obj6) {
10513 {
10514 arg7 = wxString_in_helper(obj6);
10515 if (arg7 == NULL) SWIG_fail;
10516 temp7 = True;
10517 }
10518 }
10519 {
10520 PyThreadState* __tstate = wxPyBeginAllowThreads();
10521 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10522
10523 wxPyEndAllowThreads(__tstate);
10524 if (PyErr_Occurred()) SWIG_fail;
10525 }
10526 {
10527 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10528 }
10529 {
10530 if (temp7)
10531 delete arg7;
10532 }
10533 return resultobj;
10534 fail:
10535 {
10536 if (temp7)
10537 delete arg7;
10538 }
10539 return NULL;
10540 }
10541
10542
10543 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10544 PyObject *resultobj;
10545 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10546 PyObject * obj0 = 0 ;
10547 char *kwnames[] = {
10548 (char *) "self", NULL
10549 };
10550
10551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10554 {
10555 PyThreadState* __tstate = wxPyBeginAllowThreads();
10556 (arg1)->RefreshAll();
10557
10558 wxPyEndAllowThreads(__tstate);
10559 if (PyErr_Occurred()) SWIG_fail;
10560 }
10561 Py_INCREF(Py_None); resultobj = Py_None;
10562 return resultobj;
10563 fail:
10564 return NULL;
10565 }
10566
10567
10568 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10569 PyObject *resultobj;
10570 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10571 size_t arg2 ;
10572 PyObject * obj0 = 0 ;
10573 PyObject * obj1 = 0 ;
10574 char *kwnames[] = {
10575 (char *) "self",(char *) "count", NULL
10576 };
10577
10578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10581 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10582 if (PyErr_Occurred()) SWIG_fail;
10583 {
10584 PyThreadState* __tstate = wxPyBeginAllowThreads();
10585 (arg1)->SetItemCount(arg2);
10586
10587 wxPyEndAllowThreads(__tstate);
10588 if (PyErr_Occurred()) SWIG_fail;
10589 }
10590 Py_INCREF(Py_None); resultobj = Py_None;
10591 return resultobj;
10592 fail:
10593 return NULL;
10594 }
10595
10596
10597 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
10598 PyObject *obj;
10599 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10600 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
10601 Py_INCREF(obj);
10602 return Py_BuildValue((char *)"");
10603 }
10604 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10605 PyObject *resultobj;
10606 wxTaskBarIcon *result;
10607 char *kwnames[] = {
10608 NULL
10609 };
10610
10611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
10612 {
10613 PyThreadState* __tstate = wxPyBeginAllowThreads();
10614 result = (wxTaskBarIcon *)new wxTaskBarIcon();
10615
10616 wxPyEndAllowThreads(__tstate);
10617 if (PyErr_Occurred()) SWIG_fail;
10618 }
10619 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
10620 return resultobj;
10621 fail:
10622 return NULL;
10623 }
10624
10625
10626 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10627 PyObject *resultobj;
10628 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10629 PyObject * obj0 = 0 ;
10630 char *kwnames[] = {
10631 (char *) "self", NULL
10632 };
10633
10634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
10635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10637 {
10638 PyThreadState* __tstate = wxPyBeginAllowThreads();
10639 delete arg1;
10640
10641 wxPyEndAllowThreads(__tstate);
10642 if (PyErr_Occurred()) SWIG_fail;
10643 }
10644 Py_INCREF(Py_None); resultobj = Py_None;
10645 return resultobj;
10646 fail:
10647 return NULL;
10648 }
10649
10650
10651 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
10652 PyObject *resultobj;
10653 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10654 bool result;
10655 PyObject * obj0 = 0 ;
10656 char *kwnames[] = {
10657 (char *) "self", NULL
10658 };
10659
10660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
10661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10663 {
10664 PyThreadState* __tstate = wxPyBeginAllowThreads();
10665 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
10666
10667 wxPyEndAllowThreads(__tstate);
10668 if (PyErr_Occurred()) SWIG_fail;
10669 }
10670 {
10671 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10672 }
10673 return resultobj;
10674 fail:
10675 return NULL;
10676 }
10677
10678
10679 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
10680 PyObject *resultobj;
10681 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10682 bool result;
10683 PyObject * obj0 = 0 ;
10684 char *kwnames[] = {
10685 (char *) "self", NULL
10686 };
10687
10688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
10689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10691 {
10692 PyThreadState* __tstate = wxPyBeginAllowThreads();
10693 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
10694
10695 wxPyEndAllowThreads(__tstate);
10696 if (PyErr_Occurred()) SWIG_fail;
10697 }
10698 {
10699 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10700 }
10701 return resultobj;
10702 fail:
10703 return NULL;
10704 }
10705
10706
10707 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10708 PyObject *resultobj;
10709 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10710 wxIcon *arg2 = 0 ;
10711 wxString const &arg3_defvalue = wxPyEmptyString ;
10712 wxString *arg3 = (wxString *) &arg3_defvalue ;
10713 bool result;
10714 bool temp3 = False ;
10715 PyObject * obj0 = 0 ;
10716 PyObject * obj1 = 0 ;
10717 PyObject * obj2 = 0 ;
10718 char *kwnames[] = {
10719 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10720 };
10721
10722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
10723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10725 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
10726 SWIG_POINTER_EXCEPTION | 0)) == -1)
10727 SWIG_fail;
10728 if (arg2 == NULL) {
10729 PyErr_SetString(PyExc_TypeError,"null reference");
10730 SWIG_fail;
10731 }
10732 if (obj2) {
10733 {
10734 arg3 = wxString_in_helper(obj2);
10735 if (arg3 == NULL) SWIG_fail;
10736 temp3 = True;
10737 }
10738 }
10739 {
10740 PyThreadState* __tstate = wxPyBeginAllowThreads();
10741 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
10742
10743 wxPyEndAllowThreads(__tstate);
10744 if (PyErr_Occurred()) SWIG_fail;
10745 }
10746 {
10747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10748 }
10749 {
10750 if (temp3)
10751 delete arg3;
10752 }
10753 return resultobj;
10754 fail:
10755 {
10756 if (temp3)
10757 delete arg3;
10758 }
10759 return NULL;
10760 }
10761
10762
10763 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10764 PyObject *resultobj;
10765 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10766 bool result;
10767 PyObject * obj0 = 0 ;
10768 char *kwnames[] = {
10769 (char *) "self", NULL
10770 };
10771
10772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
10773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10775 {
10776 PyThreadState* __tstate = wxPyBeginAllowThreads();
10777 result = (bool)(arg1)->RemoveIcon();
10778
10779 wxPyEndAllowThreads(__tstate);
10780 if (PyErr_Occurred()) SWIG_fail;
10781 }
10782 {
10783 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10784 }
10785 return resultobj;
10786 fail:
10787 return NULL;
10788 }
10789
10790
10791 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10792 PyObject *resultobj;
10793 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10794 wxMenu *arg2 = (wxMenu *) 0 ;
10795 bool result;
10796 PyObject * obj0 = 0 ;
10797 PyObject * obj1 = 0 ;
10798 char *kwnames[] = {
10799 (char *) "self",(char *) "menu", NULL
10800 };
10801
10802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
10803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10805 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
10806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10807 {
10808 PyThreadState* __tstate = wxPyBeginAllowThreads();
10809 result = (bool)(arg1)->PopupMenu(arg2);
10810
10811 wxPyEndAllowThreads(__tstate);
10812 if (PyErr_Occurred()) SWIG_fail;
10813 }
10814 {
10815 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10816 }
10817 return resultobj;
10818 fail:
10819 return NULL;
10820 }
10821
10822
10823 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
10824 PyObject *obj;
10825 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10826 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
10827 Py_INCREF(obj);
10828 return Py_BuildValue((char *)"");
10829 }
10830 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10831 PyObject *resultobj;
10832 wxEventType arg1 ;
10833 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
10834 wxTaskBarIconEvent *result;
10835 PyObject * obj0 = 0 ;
10836 PyObject * obj1 = 0 ;
10837 char *kwnames[] = {
10838 (char *) "evtType",(char *) "tbIcon", NULL
10839 };
10840
10841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
10842 arg1 = (wxEventType) SWIG_AsInt(obj0);
10843 if (PyErr_Occurred()) SWIG_fail;
10844 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
10845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10846 {
10847 PyThreadState* __tstate = wxPyBeginAllowThreads();
10848 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
10849
10850 wxPyEndAllowThreads(__tstate);
10851 if (PyErr_Occurred()) SWIG_fail;
10852 }
10853 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
10854 return resultobj;
10855 fail:
10856 return NULL;
10857 }
10858
10859
10860 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
10861 PyObject *obj;
10862 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10863 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
10864 Py_INCREF(obj);
10865 return Py_BuildValue((char *)"");
10866 }
10867 static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
10868 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
10869 return 1;
10870 }
10871
10872
10873 static PyObject *_wrap_FileSelectorPromptStr_get() {
10874 PyObject *pyobj;
10875
10876 {
10877 #if wxUSE_UNICODE
10878 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10879 #else
10880 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10881 #endif
10882 }
10883 return pyobj;
10884 }
10885
10886
10887 static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
10888 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
10889 return 1;
10890 }
10891
10892
10893 static PyObject *_wrap_DirSelectorPromptStr_get() {
10894 PyObject *pyobj;
10895
10896 {
10897 #if wxUSE_UNICODE
10898 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10899 #else
10900 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10901 #endif
10902 }
10903 return pyobj;
10904 }
10905
10906
10907 static int _wrap_DirDialogNameStr_set(PyObject *_val) {
10908 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
10909 return 1;
10910 }
10911
10912
10913 static PyObject *_wrap_DirDialogNameStr_get() {
10914 PyObject *pyobj;
10915
10916 {
10917 #if wxUSE_UNICODE
10918 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10919 #else
10920 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10921 #endif
10922 }
10923 return pyobj;
10924 }
10925
10926
10927 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
10928 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
10929 return 1;
10930 }
10931
10932
10933 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
10934 PyObject *pyobj;
10935
10936 {
10937 #if wxUSE_UNICODE
10938 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10939 #else
10940 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10941 #endif
10942 }
10943 return pyobj;
10944 }
10945
10946
10947 static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) {
10948 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
10949 return 1;
10950 }
10951
10952
10953 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
10954 PyObject *pyobj;
10955
10956 {
10957 #if wxUSE_UNICODE
10958 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10959 #else
10960 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10961 #endif
10962 }
10963 return pyobj;
10964 }
10965
10966
10967 static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) {
10968 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
10969 return 1;
10970 }
10971
10972
10973 static PyObject *_wrap_MessageBoxCaptionStr_get() {
10974 PyObject *pyobj;
10975
10976 {
10977 #if wxUSE_UNICODE
10978 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10979 #else
10980 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10981 #endif
10982 }
10983 return pyobj;
10984 }
10985
10986
10987 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10988 PyObject *resultobj;
10989 wxColourData *result;
10990 char *kwnames[] = {
10991 NULL
10992 };
10993
10994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
10995 {
10996 PyThreadState* __tstate = wxPyBeginAllowThreads();
10997 result = (wxColourData *)new wxColourData();
10998
10999 wxPyEndAllowThreads(__tstate);
11000 if (PyErr_Occurred()) SWIG_fail;
11001 }
11002 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
11003 return resultobj;
11004 fail:
11005 return NULL;
11006 }
11007
11008
11009 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11010 PyObject *resultobj;
11011 wxColourData *arg1 = (wxColourData *) 0 ;
11012 PyObject * obj0 = 0 ;
11013 char *kwnames[] = {
11014 (char *) "self", NULL
11015 };
11016
11017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
11018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11020 {
11021 PyThreadState* __tstate = wxPyBeginAllowThreads();
11022 delete arg1;
11023
11024 wxPyEndAllowThreads(__tstate);
11025 if (PyErr_Occurred()) SWIG_fail;
11026 }
11027 Py_INCREF(Py_None); resultobj = Py_None;
11028 return resultobj;
11029 fail:
11030 return NULL;
11031 }
11032
11033
11034 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11035 PyObject *resultobj;
11036 wxColourData *arg1 = (wxColourData *) 0 ;
11037 bool result;
11038 PyObject * obj0 = 0 ;
11039 char *kwnames[] = {
11040 (char *) "self", NULL
11041 };
11042
11043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
11044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11046 {
11047 PyThreadState* __tstate = wxPyBeginAllowThreads();
11048 result = (bool)(arg1)->GetChooseFull();
11049
11050 wxPyEndAllowThreads(__tstate);
11051 if (PyErr_Occurred()) SWIG_fail;
11052 }
11053 {
11054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11055 }
11056 return resultobj;
11057 fail:
11058 return NULL;
11059 }
11060
11061
11062 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11063 PyObject *resultobj;
11064 wxColourData *arg1 = (wxColourData *) 0 ;
11065 wxColour result;
11066 PyObject * obj0 = 0 ;
11067 char *kwnames[] = {
11068 (char *) "self", NULL
11069 };
11070
11071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
11072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11074 {
11075 PyThreadState* __tstate = wxPyBeginAllowThreads();
11076 result = (arg1)->GetColour();
11077
11078 wxPyEndAllowThreads(__tstate);
11079 if (PyErr_Occurred()) SWIG_fail;
11080 }
11081 {
11082 wxColour * resultptr;
11083 resultptr = new wxColour((wxColour &) result);
11084 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11085 }
11086 return resultobj;
11087 fail:
11088 return NULL;
11089 }
11090
11091
11092 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11093 PyObject *resultobj;
11094 wxColourData *arg1 = (wxColourData *) 0 ;
11095 int arg2 ;
11096 wxColour result;
11097 PyObject * obj0 = 0 ;
11098 PyObject * obj1 = 0 ;
11099 char *kwnames[] = {
11100 (char *) "self",(char *) "i", NULL
11101 };
11102
11103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
11104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11106 arg2 = (int) SWIG_AsInt(obj1);
11107 if (PyErr_Occurred()) SWIG_fail;
11108 {
11109 PyThreadState* __tstate = wxPyBeginAllowThreads();
11110 result = (arg1)->GetCustomColour(arg2);
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_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11127 PyObject *resultobj;
11128 wxColourData *arg1 = (wxColourData *) 0 ;
11129 int arg2 ;
11130 PyObject * obj0 = 0 ;
11131 PyObject * obj1 = 0 ;
11132 char *kwnames[] = {
11133 (char *) "self",(char *) "flag", NULL
11134 };
11135
11136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
11137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11139 arg2 = (int) SWIG_AsInt(obj1);
11140 if (PyErr_Occurred()) SWIG_fail;
11141 {
11142 PyThreadState* __tstate = wxPyBeginAllowThreads();
11143 (arg1)->SetChooseFull(arg2);
11144
11145 wxPyEndAllowThreads(__tstate);
11146 if (PyErr_Occurred()) SWIG_fail;
11147 }
11148 Py_INCREF(Py_None); resultobj = Py_None;
11149 return resultobj;
11150 fail:
11151 return NULL;
11152 }
11153
11154
11155 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11156 PyObject *resultobj;
11157 wxColourData *arg1 = (wxColourData *) 0 ;
11158 wxColour *arg2 = 0 ;
11159 wxColour temp2 ;
11160 PyObject * obj0 = 0 ;
11161 PyObject * obj1 = 0 ;
11162 char *kwnames[] = {
11163 (char *) "self",(char *) "colour", NULL
11164 };
11165
11166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11169 {
11170 arg2 = &temp2;
11171 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11172 }
11173 {
11174 PyThreadState* __tstate = wxPyBeginAllowThreads();
11175 (arg1)->SetColour((wxColour const &)*arg2);
11176
11177 wxPyEndAllowThreads(__tstate);
11178 if (PyErr_Occurred()) SWIG_fail;
11179 }
11180 Py_INCREF(Py_None); resultobj = Py_None;
11181 return resultobj;
11182 fail:
11183 return NULL;
11184 }
11185
11186
11187 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11188 PyObject *resultobj;
11189 wxColourData *arg1 = (wxColourData *) 0 ;
11190 int arg2 ;
11191 wxColour *arg3 = 0 ;
11192 wxColour temp3 ;
11193 PyObject * obj0 = 0 ;
11194 PyObject * obj1 = 0 ;
11195 PyObject * obj2 = 0 ;
11196 char *kwnames[] = {
11197 (char *) "self",(char *) "i",(char *) "colour", NULL
11198 };
11199
11200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11203 arg2 = (int) SWIG_AsInt(obj1);
11204 if (PyErr_Occurred()) SWIG_fail;
11205 {
11206 arg3 = &temp3;
11207 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11208 }
11209 {
11210 PyThreadState* __tstate = wxPyBeginAllowThreads();
11211 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11212
11213 wxPyEndAllowThreads(__tstate);
11214 if (PyErr_Occurred()) SWIG_fail;
11215 }
11216 Py_INCREF(Py_None); resultobj = Py_None;
11217 return resultobj;
11218 fail:
11219 return NULL;
11220 }
11221
11222
11223 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
11224 PyObject *obj;
11225 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11226 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11227 Py_INCREF(obj);
11228 return Py_BuildValue((char *)"");
11229 }
11230 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11231 PyObject *resultobj;
11232 wxWindow *arg1 = (wxWindow *) 0 ;
11233 wxColourData *arg2 = (wxColourData *) NULL ;
11234 wxColourDialog *result;
11235 PyObject * obj0 = 0 ;
11236 PyObject * obj1 = 0 ;
11237 char *kwnames[] = {
11238 (char *) "parent",(char *) "data", NULL
11239 };
11240
11241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
11242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11244 if (obj1) {
11245 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11247 }
11248 {
11249 PyThreadState* __tstate = wxPyBeginAllowThreads();
11250 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11251
11252 wxPyEndAllowThreads(__tstate);
11253 if (PyErr_Occurred()) SWIG_fail;
11254 }
11255 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
11256 return resultobj;
11257 fail:
11258 return NULL;
11259 }
11260
11261
11262 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11263 PyObject *resultobj;
11264 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11265 wxColourData *result;
11266 PyObject * obj0 = 0 ;
11267 char *kwnames[] = {
11268 (char *) "self", NULL
11269 };
11270
11271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
11272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11274 {
11275 PyThreadState* __tstate = wxPyBeginAllowThreads();
11276 {
11277 wxColourData &_result_ref = (arg1)->GetColourData();
11278 result = (wxColourData *) &_result_ref;
11279 }
11280
11281 wxPyEndAllowThreads(__tstate);
11282 if (PyErr_Occurred()) SWIG_fail;
11283 }
11284 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
11285 return resultobj;
11286 fail:
11287 return NULL;
11288 }
11289
11290
11291 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
11292 PyObject *obj;
11293 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11294 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11295 Py_INCREF(obj);
11296 return Py_BuildValue((char *)"");
11297 }
11298 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11299 PyObject *resultobj;
11300 wxWindow *arg1 = (wxWindow *) 0 ;
11301 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11302 wxString *arg2 = (wxString *) &arg2_defvalue ;
11303 wxString const &arg3_defvalue = wxPyEmptyString ;
11304 wxString *arg3 = (wxString *) &arg3_defvalue ;
11305 long arg4 = (long) 0 ;
11306 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11307 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11308 wxSize const &arg6_defvalue = wxDefaultSize ;
11309 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11310 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11311 wxString *arg7 = (wxString *) &arg7_defvalue ;
11312 wxDirDialog *result;
11313 bool temp2 = False ;
11314 bool temp3 = False ;
11315 wxPoint temp5 ;
11316 wxSize temp6 ;
11317 bool temp7 = False ;
11318 PyObject * obj0 = 0 ;
11319 PyObject * obj1 = 0 ;
11320 PyObject * obj2 = 0 ;
11321 PyObject * obj3 = 0 ;
11322 PyObject * obj4 = 0 ;
11323 PyObject * obj5 = 0 ;
11324 PyObject * obj6 = 0 ;
11325 char *kwnames[] = {
11326 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11327 };
11328
11329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11332 if (obj1) {
11333 {
11334 arg2 = wxString_in_helper(obj1);
11335 if (arg2 == NULL) SWIG_fail;
11336 temp2 = True;
11337 }
11338 }
11339 if (obj2) {
11340 {
11341 arg3 = wxString_in_helper(obj2);
11342 if (arg3 == NULL) SWIG_fail;
11343 temp3 = True;
11344 }
11345 }
11346 if (obj3) {
11347 arg4 = (long) SWIG_AsLong(obj3);
11348 if (PyErr_Occurred()) SWIG_fail;
11349 }
11350 if (obj4) {
11351 {
11352 arg5 = &temp5;
11353 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11354 }
11355 }
11356 if (obj5) {
11357 {
11358 arg6 = &temp6;
11359 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11360 }
11361 }
11362 if (obj6) {
11363 {
11364 arg7 = wxString_in_helper(obj6);
11365 if (arg7 == NULL) SWIG_fail;
11366 temp7 = True;
11367 }
11368 }
11369 {
11370 PyThreadState* __tstate = wxPyBeginAllowThreads();
11371 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11372
11373 wxPyEndAllowThreads(__tstate);
11374 if (PyErr_Occurred()) SWIG_fail;
11375 }
11376 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
11377 {
11378 if (temp2)
11379 delete arg2;
11380 }
11381 {
11382 if (temp3)
11383 delete arg3;
11384 }
11385 {
11386 if (temp7)
11387 delete arg7;
11388 }
11389 return resultobj;
11390 fail:
11391 {
11392 if (temp2)
11393 delete arg2;
11394 }
11395 {
11396 if (temp3)
11397 delete arg3;
11398 }
11399 {
11400 if (temp7)
11401 delete arg7;
11402 }
11403 return NULL;
11404 }
11405
11406
11407 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11408 PyObject *resultobj;
11409 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11410 wxString result;
11411 PyObject * obj0 = 0 ;
11412 char *kwnames[] = {
11413 (char *) "self", NULL
11414 };
11415
11416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
11417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11419 {
11420 PyThreadState* __tstate = wxPyBeginAllowThreads();
11421 result = (arg1)->GetPath();
11422
11423 wxPyEndAllowThreads(__tstate);
11424 if (PyErr_Occurred()) SWIG_fail;
11425 }
11426 {
11427 #if wxUSE_UNICODE
11428 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11429 #else
11430 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11431 #endif
11432 }
11433 return resultobj;
11434 fail:
11435 return NULL;
11436 }
11437
11438
11439 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11440 PyObject *resultobj;
11441 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11442 wxString result;
11443 PyObject * obj0 = 0 ;
11444 char *kwnames[] = {
11445 (char *) "self", NULL
11446 };
11447
11448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
11449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11451 {
11452 PyThreadState* __tstate = wxPyBeginAllowThreads();
11453 result = (arg1)->GetMessage();
11454
11455 wxPyEndAllowThreads(__tstate);
11456 if (PyErr_Occurred()) SWIG_fail;
11457 }
11458 {
11459 #if wxUSE_UNICODE
11460 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11461 #else
11462 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11463 #endif
11464 }
11465 return resultobj;
11466 fail:
11467 return NULL;
11468 }
11469
11470
11471 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11472 PyObject *resultobj;
11473 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11474 long result;
11475 PyObject * obj0 = 0 ;
11476 char *kwnames[] = {
11477 (char *) "self", NULL
11478 };
11479
11480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
11481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11483 {
11484 PyThreadState* __tstate = wxPyBeginAllowThreads();
11485 result = (long)(arg1)->GetStyle();
11486
11487 wxPyEndAllowThreads(__tstate);
11488 if (PyErr_Occurred()) SWIG_fail;
11489 }
11490 resultobj = SWIG_FromLong((long)result);
11491 return resultobj;
11492 fail:
11493 return NULL;
11494 }
11495
11496
11497 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11498 PyObject *resultobj;
11499 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11500 wxString *arg2 = 0 ;
11501 bool temp2 = False ;
11502 PyObject * obj0 = 0 ;
11503 PyObject * obj1 = 0 ;
11504 char *kwnames[] = {
11505 (char *) "self",(char *) "message", NULL
11506 };
11507
11508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11511 {
11512 arg2 = wxString_in_helper(obj1);
11513 if (arg2 == NULL) SWIG_fail;
11514 temp2 = True;
11515 }
11516 {
11517 PyThreadState* __tstate = wxPyBeginAllowThreads();
11518 (arg1)->SetMessage((wxString const &)*arg2);
11519
11520 wxPyEndAllowThreads(__tstate);
11521 if (PyErr_Occurred()) SWIG_fail;
11522 }
11523 Py_INCREF(Py_None); resultobj = Py_None;
11524 {
11525 if (temp2)
11526 delete arg2;
11527 }
11528 return resultobj;
11529 fail:
11530 {
11531 if (temp2)
11532 delete arg2;
11533 }
11534 return NULL;
11535 }
11536
11537
11538 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11539 PyObject *resultobj;
11540 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11541 wxString *arg2 = 0 ;
11542 bool temp2 = False ;
11543 PyObject * obj0 = 0 ;
11544 PyObject * obj1 = 0 ;
11545 char *kwnames[] = {
11546 (char *) "self",(char *) "path", NULL
11547 };
11548
11549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11552 {
11553 arg2 = wxString_in_helper(obj1);
11554 if (arg2 == NULL) SWIG_fail;
11555 temp2 = True;
11556 }
11557 {
11558 PyThreadState* __tstate = wxPyBeginAllowThreads();
11559 (arg1)->SetPath((wxString const &)*arg2);
11560
11561 wxPyEndAllowThreads(__tstate);
11562 if (PyErr_Occurred()) SWIG_fail;
11563 }
11564 Py_INCREF(Py_None); resultobj = Py_None;
11565 {
11566 if (temp2)
11567 delete arg2;
11568 }
11569 return resultobj;
11570 fail:
11571 {
11572 if (temp2)
11573 delete arg2;
11574 }
11575 return NULL;
11576 }
11577
11578
11579 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
11580 PyObject *obj;
11581 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11582 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
11583 Py_INCREF(obj);
11584 return Py_BuildValue((char *)"");
11585 }
11586 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11587 PyObject *resultobj;
11588 wxWindow *arg1 = (wxWindow *) 0 ;
11589 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
11590 wxString *arg2 = (wxString *) &arg2_defvalue ;
11591 wxString const &arg3_defvalue = wxPyEmptyString ;
11592 wxString *arg3 = (wxString *) &arg3_defvalue ;
11593 wxString const &arg4_defvalue = wxPyEmptyString ;
11594 wxString *arg4 = (wxString *) &arg4_defvalue ;
11595 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
11596 wxString *arg5 = (wxString *) &arg5_defvalue ;
11597 long arg6 = (long) 0 ;
11598 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11599 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11600 wxFileDialog *result;
11601 bool temp2 = False ;
11602 bool temp3 = False ;
11603 bool temp4 = False ;
11604 bool temp5 = False ;
11605 wxPoint temp7 ;
11606 PyObject * obj0 = 0 ;
11607 PyObject * obj1 = 0 ;
11608 PyObject * obj2 = 0 ;
11609 PyObject * obj3 = 0 ;
11610 PyObject * obj4 = 0 ;
11611 PyObject * obj5 = 0 ;
11612 PyObject * obj6 = 0 ;
11613 char *kwnames[] = {
11614 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11615 };
11616
11617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11620 if (obj1) {
11621 {
11622 arg2 = wxString_in_helper(obj1);
11623 if (arg2 == NULL) SWIG_fail;
11624 temp2 = True;
11625 }
11626 }
11627 if (obj2) {
11628 {
11629 arg3 = wxString_in_helper(obj2);
11630 if (arg3 == NULL) SWIG_fail;
11631 temp3 = True;
11632 }
11633 }
11634 if (obj3) {
11635 {
11636 arg4 = wxString_in_helper(obj3);
11637 if (arg4 == NULL) SWIG_fail;
11638 temp4 = True;
11639 }
11640 }
11641 if (obj4) {
11642 {
11643 arg5 = wxString_in_helper(obj4);
11644 if (arg5 == NULL) SWIG_fail;
11645 temp5 = True;
11646 }
11647 }
11648 if (obj5) {
11649 arg6 = (long) SWIG_AsLong(obj5);
11650 if (PyErr_Occurred()) SWIG_fail;
11651 }
11652 if (obj6) {
11653 {
11654 arg7 = &temp7;
11655 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11656 }
11657 }
11658 {
11659 PyThreadState* __tstate = wxPyBeginAllowThreads();
11660 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
11661
11662 wxPyEndAllowThreads(__tstate);
11663 if (PyErr_Occurred()) SWIG_fail;
11664 }
11665 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
11666 {
11667 if (temp2)
11668 delete arg2;
11669 }
11670 {
11671 if (temp3)
11672 delete arg3;
11673 }
11674 {
11675 if (temp4)
11676 delete arg4;
11677 }
11678 {
11679 if (temp5)
11680 delete arg5;
11681 }
11682 return resultobj;
11683 fail:
11684 {
11685 if (temp2)
11686 delete arg2;
11687 }
11688 {
11689 if (temp3)
11690 delete arg3;
11691 }
11692 {
11693 if (temp4)
11694 delete arg4;
11695 }
11696 {
11697 if (temp5)
11698 delete arg5;
11699 }
11700 return NULL;
11701 }
11702
11703
11704 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11705 PyObject *resultobj;
11706 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11707 wxString *arg2 = 0 ;
11708 bool temp2 = False ;
11709 PyObject * obj0 = 0 ;
11710 PyObject * obj1 = 0 ;
11711 char *kwnames[] = {
11712 (char *) "self",(char *) "message", NULL
11713 };
11714
11715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11718 {
11719 arg2 = wxString_in_helper(obj1);
11720 if (arg2 == NULL) SWIG_fail;
11721 temp2 = True;
11722 }
11723 {
11724 PyThreadState* __tstate = wxPyBeginAllowThreads();
11725 (arg1)->SetMessage((wxString const &)*arg2);
11726
11727 wxPyEndAllowThreads(__tstate);
11728 if (PyErr_Occurred()) SWIG_fail;
11729 }
11730 Py_INCREF(Py_None); resultobj = Py_None;
11731 {
11732 if (temp2)
11733 delete arg2;
11734 }
11735 return resultobj;
11736 fail:
11737 {
11738 if (temp2)
11739 delete arg2;
11740 }
11741 return NULL;
11742 }
11743
11744
11745 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11746 PyObject *resultobj;
11747 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11748 wxString *arg2 = 0 ;
11749 bool temp2 = False ;
11750 PyObject * obj0 = 0 ;
11751 PyObject * obj1 = 0 ;
11752 char *kwnames[] = {
11753 (char *) "self",(char *) "path", NULL
11754 };
11755
11756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11759 {
11760 arg2 = wxString_in_helper(obj1);
11761 if (arg2 == NULL) SWIG_fail;
11762 temp2 = True;
11763 }
11764 {
11765 PyThreadState* __tstate = wxPyBeginAllowThreads();
11766 (arg1)->SetPath((wxString const &)*arg2);
11767
11768 wxPyEndAllowThreads(__tstate);
11769 if (PyErr_Occurred()) SWIG_fail;
11770 }
11771 Py_INCREF(Py_None); resultobj = Py_None;
11772 {
11773 if (temp2)
11774 delete arg2;
11775 }
11776 return resultobj;
11777 fail:
11778 {
11779 if (temp2)
11780 delete arg2;
11781 }
11782 return NULL;
11783 }
11784
11785
11786 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11787 PyObject *resultobj;
11788 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11789 wxString *arg2 = 0 ;
11790 bool temp2 = False ;
11791 PyObject * obj0 = 0 ;
11792 PyObject * obj1 = 0 ;
11793 char *kwnames[] = {
11794 (char *) "self",(char *) "dir", NULL
11795 };
11796
11797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
11798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11800 {
11801 arg2 = wxString_in_helper(obj1);
11802 if (arg2 == NULL) SWIG_fail;
11803 temp2 = True;
11804 }
11805 {
11806 PyThreadState* __tstate = wxPyBeginAllowThreads();
11807 (arg1)->SetDirectory((wxString const &)*arg2);
11808
11809 wxPyEndAllowThreads(__tstate);
11810 if (PyErr_Occurred()) SWIG_fail;
11811 }
11812 Py_INCREF(Py_None); resultobj = Py_None;
11813 {
11814 if (temp2)
11815 delete arg2;
11816 }
11817 return resultobj;
11818 fail:
11819 {
11820 if (temp2)
11821 delete arg2;
11822 }
11823 return NULL;
11824 }
11825
11826
11827 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11828 PyObject *resultobj;
11829 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11830 wxString *arg2 = 0 ;
11831 bool temp2 = False ;
11832 PyObject * obj0 = 0 ;
11833 PyObject * obj1 = 0 ;
11834 char *kwnames[] = {
11835 (char *) "self",(char *) "name", NULL
11836 };
11837
11838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
11839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11841 {
11842 arg2 = wxString_in_helper(obj1);
11843 if (arg2 == NULL) SWIG_fail;
11844 temp2 = True;
11845 }
11846 {
11847 PyThreadState* __tstate = wxPyBeginAllowThreads();
11848 (arg1)->SetFilename((wxString const &)*arg2);
11849
11850 wxPyEndAllowThreads(__tstate);
11851 if (PyErr_Occurred()) SWIG_fail;
11852 }
11853 Py_INCREF(Py_None); resultobj = Py_None;
11854 {
11855 if (temp2)
11856 delete arg2;
11857 }
11858 return resultobj;
11859 fail:
11860 {
11861 if (temp2)
11862 delete arg2;
11863 }
11864 return NULL;
11865 }
11866
11867
11868 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11869 PyObject *resultobj;
11870 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11871 wxString *arg2 = 0 ;
11872 bool temp2 = False ;
11873 PyObject * obj0 = 0 ;
11874 PyObject * obj1 = 0 ;
11875 char *kwnames[] = {
11876 (char *) "self",(char *) "wildCard", NULL
11877 };
11878
11879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
11880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11882 {
11883 arg2 = wxString_in_helper(obj1);
11884 if (arg2 == NULL) SWIG_fail;
11885 temp2 = True;
11886 }
11887 {
11888 PyThreadState* __tstate = wxPyBeginAllowThreads();
11889 (arg1)->SetWildcard((wxString const &)*arg2);
11890
11891 wxPyEndAllowThreads(__tstate);
11892 if (PyErr_Occurred()) SWIG_fail;
11893 }
11894 Py_INCREF(Py_None); resultobj = Py_None;
11895 {
11896 if (temp2)
11897 delete arg2;
11898 }
11899 return resultobj;
11900 fail:
11901 {
11902 if (temp2)
11903 delete arg2;
11904 }
11905 return NULL;
11906 }
11907
11908
11909 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11910 PyObject *resultobj;
11911 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11912 long arg2 ;
11913 PyObject * obj0 = 0 ;
11914 PyObject * obj1 = 0 ;
11915 char *kwnames[] = {
11916 (char *) "self",(char *) "style", NULL
11917 };
11918
11919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
11920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11922 arg2 = (long) SWIG_AsLong(obj1);
11923 if (PyErr_Occurred()) SWIG_fail;
11924 {
11925 PyThreadState* __tstate = wxPyBeginAllowThreads();
11926 (arg1)->SetStyle(arg2);
11927
11928 wxPyEndAllowThreads(__tstate);
11929 if (PyErr_Occurred()) SWIG_fail;
11930 }
11931 Py_INCREF(Py_None); resultobj = Py_None;
11932 return resultobj;
11933 fail:
11934 return NULL;
11935 }
11936
11937
11938 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11939 PyObject *resultobj;
11940 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11941 int arg2 ;
11942 PyObject * obj0 = 0 ;
11943 PyObject * obj1 = 0 ;
11944 char *kwnames[] = {
11945 (char *) "self",(char *) "filterIndex", NULL
11946 };
11947
11948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
11949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11951 arg2 = (int) SWIG_AsInt(obj1);
11952 if (PyErr_Occurred()) SWIG_fail;
11953 {
11954 PyThreadState* __tstate = wxPyBeginAllowThreads();
11955 (arg1)->SetFilterIndex(arg2);
11956
11957 wxPyEndAllowThreads(__tstate);
11958 if (PyErr_Occurred()) SWIG_fail;
11959 }
11960 Py_INCREF(Py_None); resultobj = Py_None;
11961 return resultobj;
11962 fail:
11963 return NULL;
11964 }
11965
11966
11967 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11968 PyObject *resultobj;
11969 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11970 wxString result;
11971 PyObject * obj0 = 0 ;
11972 char *kwnames[] = {
11973 (char *) "self", NULL
11974 };
11975
11976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
11977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11979 {
11980 PyThreadState* __tstate = wxPyBeginAllowThreads();
11981 result = ((wxFileDialog const *)arg1)->GetMessage();
11982
11983 wxPyEndAllowThreads(__tstate);
11984 if (PyErr_Occurred()) SWIG_fail;
11985 }
11986 {
11987 #if wxUSE_UNICODE
11988 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11989 #else
11990 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11991 #endif
11992 }
11993 return resultobj;
11994 fail:
11995 return NULL;
11996 }
11997
11998
11999 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
12000 PyObject *resultobj;
12001 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12002 wxString result;
12003 PyObject * obj0 = 0 ;
12004 char *kwnames[] = {
12005 (char *) "self", NULL
12006 };
12007
12008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
12009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12011 {
12012 PyThreadState* __tstate = wxPyBeginAllowThreads();
12013 result = ((wxFileDialog const *)arg1)->GetPath();
12014
12015 wxPyEndAllowThreads(__tstate);
12016 if (PyErr_Occurred()) SWIG_fail;
12017 }
12018 {
12019 #if wxUSE_UNICODE
12020 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12021 #else
12022 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12023 #endif
12024 }
12025 return resultobj;
12026 fail:
12027 return NULL;
12028 }
12029
12030
12031 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
12032 PyObject *resultobj;
12033 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12034 wxString result;
12035 PyObject * obj0 = 0 ;
12036 char *kwnames[] = {
12037 (char *) "self", NULL
12038 };
12039
12040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
12041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12043 {
12044 PyThreadState* __tstate = wxPyBeginAllowThreads();
12045 result = ((wxFileDialog const *)arg1)->GetDirectory();
12046
12047 wxPyEndAllowThreads(__tstate);
12048 if (PyErr_Occurred()) SWIG_fail;
12049 }
12050 {
12051 #if wxUSE_UNICODE
12052 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12053 #else
12054 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12055 #endif
12056 }
12057 return resultobj;
12058 fail:
12059 return NULL;
12060 }
12061
12062
12063 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
12064 PyObject *resultobj;
12065 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12066 wxString result;
12067 PyObject * obj0 = 0 ;
12068 char *kwnames[] = {
12069 (char *) "self", NULL
12070 };
12071
12072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
12073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12075 {
12076 PyThreadState* __tstate = wxPyBeginAllowThreads();
12077 result = ((wxFileDialog const *)arg1)->GetFilename();
12078
12079 wxPyEndAllowThreads(__tstate);
12080 if (PyErr_Occurred()) SWIG_fail;
12081 }
12082 {
12083 #if wxUSE_UNICODE
12084 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12085 #else
12086 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12087 #endif
12088 }
12089 return resultobj;
12090 fail:
12091 return NULL;
12092 }
12093
12094
12095 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
12096 PyObject *resultobj;
12097 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12098 wxString result;
12099 PyObject * obj0 = 0 ;
12100 char *kwnames[] = {
12101 (char *) "self", NULL
12102 };
12103
12104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
12105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12107 {
12108 PyThreadState* __tstate = wxPyBeginAllowThreads();
12109 result = ((wxFileDialog const *)arg1)->GetWildcard();
12110
12111 wxPyEndAllowThreads(__tstate);
12112 if (PyErr_Occurred()) SWIG_fail;
12113 }
12114 {
12115 #if wxUSE_UNICODE
12116 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12117 #else
12118 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12119 #endif
12120 }
12121 return resultobj;
12122 fail:
12123 return NULL;
12124 }
12125
12126
12127 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12128 PyObject *resultobj;
12129 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12130 long result;
12131 PyObject * obj0 = 0 ;
12132 char *kwnames[] = {
12133 (char *) "self", NULL
12134 };
12135
12136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
12137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12139 {
12140 PyThreadState* __tstate = wxPyBeginAllowThreads();
12141 result = (long)((wxFileDialog const *)arg1)->GetStyle();
12142
12143 wxPyEndAllowThreads(__tstate);
12144 if (PyErr_Occurred()) SWIG_fail;
12145 }
12146 resultobj = SWIG_FromLong((long)result);
12147 return resultobj;
12148 fail:
12149 return NULL;
12150 }
12151
12152
12153 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12154 PyObject *resultobj;
12155 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12156 int result;
12157 PyObject * obj0 = 0 ;
12158 char *kwnames[] = {
12159 (char *) "self", NULL
12160 };
12161
12162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
12163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12165 {
12166 PyThreadState* __tstate = wxPyBeginAllowThreads();
12167 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12168
12169 wxPyEndAllowThreads(__tstate);
12170 if (PyErr_Occurred()) SWIG_fail;
12171 }
12172 resultobj = SWIG_FromInt((int)result);
12173 return resultobj;
12174 fail:
12175 return NULL;
12176 }
12177
12178
12179 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
12180 PyObject *resultobj;
12181 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12182 PyObject *result;
12183 PyObject * obj0 = 0 ;
12184 char *kwnames[] = {
12185 (char *) "self", NULL
12186 };
12187
12188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
12189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12191 {
12192 PyThreadState* __tstate = wxPyBeginAllowThreads();
12193 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12194
12195 wxPyEndAllowThreads(__tstate);
12196 if (PyErr_Occurred()) SWIG_fail;
12197 }
12198 resultobj = result;
12199 return resultobj;
12200 fail:
12201 return NULL;
12202 }
12203
12204
12205 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
12206 PyObject *resultobj;
12207 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12208 PyObject *result;
12209 PyObject * obj0 = 0 ;
12210 char *kwnames[] = {
12211 (char *) "self", NULL
12212 };
12213
12214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
12215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12217 {
12218 PyThreadState* __tstate = wxPyBeginAllowThreads();
12219 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12220
12221 wxPyEndAllowThreads(__tstate);
12222 if (PyErr_Occurred()) SWIG_fail;
12223 }
12224 resultobj = result;
12225 return resultobj;
12226 fail:
12227 return NULL;
12228 }
12229
12230
12231 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
12232 PyObject *obj;
12233 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12234 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12235 Py_INCREF(obj);
12236 return Py_BuildValue((char *)"");
12237 }
12238 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12239 PyObject *resultobj;
12240 wxWindow *arg1 = (wxWindow *) 0 ;
12241 wxString *arg2 = 0 ;
12242 wxString *arg3 = 0 ;
12243 int arg4 = (int) 0 ;
12244 wxString *arg5 = (wxString *) 0 ;
12245 long arg6 = (long) wxCHOICEDLG_STYLE ;
12246 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12247 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12248 wxMultiChoiceDialog *result;
12249 bool temp2 = False ;
12250 bool temp3 = False ;
12251 wxPoint temp6 ;
12252 PyObject * obj0 = 0 ;
12253 PyObject * obj1 = 0 ;
12254 PyObject * obj2 = 0 ;
12255 PyObject * obj3 = 0 ;
12256 PyObject * obj4 = 0 ;
12257 PyObject * obj5 = 0 ;
12258 char *kwnames[] = {
12259 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12260 };
12261
12262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12265 {
12266 arg2 = wxString_in_helper(obj1);
12267 if (arg2 == NULL) SWIG_fail;
12268 temp2 = True;
12269 }
12270 {
12271 arg3 = wxString_in_helper(obj2);
12272 if (arg3 == NULL) SWIG_fail;
12273 temp3 = True;
12274 }
12275 if (obj3) {
12276 {
12277 arg4 = PyList_Size(obj3);
12278 arg5 = wxString_LIST_helper(obj3);
12279 if (arg5 == NULL) SWIG_fail;
12280 }
12281 }
12282 if (obj4) {
12283 arg6 = (long) SWIG_AsLong(obj4);
12284 if (PyErr_Occurred()) SWIG_fail;
12285 }
12286 if (obj5) {
12287 {
12288 arg7 = &temp6;
12289 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12290 }
12291 }
12292 {
12293 PyThreadState* __tstate = wxPyBeginAllowThreads();
12294 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12295
12296 wxPyEndAllowThreads(__tstate);
12297 if (PyErr_Occurred()) SWIG_fail;
12298 }
12299 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12300 {
12301 if (temp2)
12302 delete arg2;
12303 }
12304 {
12305 if (temp3)
12306 delete arg3;
12307 }
12308 {
12309 if (arg5) delete [] arg5;
12310 }
12311 return resultobj;
12312 fail:
12313 {
12314 if (temp2)
12315 delete arg2;
12316 }
12317 {
12318 if (temp3)
12319 delete arg3;
12320 }
12321 {
12322 if (arg5) delete [] arg5;
12323 }
12324 return NULL;
12325 }
12326
12327
12328 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12329 PyObject *resultobj;
12330 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12331 wxArrayInt *arg2 = 0 ;
12332 bool temp2 = False ;
12333 PyObject * obj0 = 0 ;
12334 PyObject * obj1 = 0 ;
12335 char *kwnames[] = {
12336 (char *) "self",(char *) "selections", NULL
12337 };
12338
12339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12342 {
12343 if (! PySequence_Check(obj1)) {
12344 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12345 SWIG_fail;
12346 }
12347 arg2 = new wxArrayInt;
12348 temp2 = True;
12349 int i, len=PySequence_Length(obj1);
12350 for (i=0; i<len; i++) {
12351 PyObject* item = PySequence_GetItem(obj1, i);
12352 PyObject* number = PyNumber_Int(item);
12353 arg2->Add(PyInt_AS_LONG(number));
12354 Py_DECREF(item);
12355 Py_DECREF(number);
12356 }
12357 }
12358 {
12359 PyThreadState* __tstate = wxPyBeginAllowThreads();
12360 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12361
12362 wxPyEndAllowThreads(__tstate);
12363 if (PyErr_Occurred()) SWIG_fail;
12364 }
12365 Py_INCREF(Py_None); resultobj = Py_None;
12366 {
12367 if (temp2) delete arg2;
12368 }
12369 return resultobj;
12370 fail:
12371 {
12372 if (temp2) delete arg2;
12373 }
12374 return NULL;
12375 }
12376
12377
12378 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12379 PyObject *resultobj;
12380 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12381 PyObject *result;
12382 PyObject * obj0 = 0 ;
12383 char *kwnames[] = {
12384 (char *) "self", NULL
12385 };
12386
12387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12390 {
12391 PyThreadState* __tstate = wxPyBeginAllowThreads();
12392 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12393
12394 wxPyEndAllowThreads(__tstate);
12395 if (PyErr_Occurred()) SWIG_fail;
12396 }
12397 resultobj = result;
12398 return resultobj;
12399 fail:
12400 return NULL;
12401 }
12402
12403
12404 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12405 PyObject *obj;
12406 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12407 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12408 Py_INCREF(obj);
12409 return Py_BuildValue((char *)"");
12410 }
12411 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12412 PyObject *resultobj;
12413 wxWindow *arg1 = (wxWindow *) 0 ;
12414 wxString *arg2 = 0 ;
12415 wxString *arg3 = 0 ;
12416 int arg4 ;
12417 wxString *arg5 = (wxString *) 0 ;
12418 long arg6 = (long) wxCHOICEDLG_STYLE ;
12419 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12420 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12421 wxSingleChoiceDialog *result;
12422 bool temp2 = False ;
12423 bool temp3 = False ;
12424 wxPoint temp6 ;
12425 PyObject * obj0 = 0 ;
12426 PyObject * obj1 = 0 ;
12427 PyObject * obj2 = 0 ;
12428 PyObject * obj3 = 0 ;
12429 PyObject * obj4 = 0 ;
12430 PyObject * obj5 = 0 ;
12431 char *kwnames[] = {
12432 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12433 };
12434
12435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12438 {
12439 arg2 = wxString_in_helper(obj1);
12440 if (arg2 == NULL) SWIG_fail;
12441 temp2 = True;
12442 }
12443 {
12444 arg3 = wxString_in_helper(obj2);
12445 if (arg3 == NULL) SWIG_fail;
12446 temp3 = True;
12447 }
12448 {
12449 arg4 = PyList_Size(obj3);
12450 arg5 = wxString_LIST_helper(obj3);
12451 if (arg5 == NULL) SWIG_fail;
12452 }
12453 if (obj4) {
12454 arg6 = (long) SWIG_AsLong(obj4);
12455 if (PyErr_Occurred()) SWIG_fail;
12456 }
12457 if (obj5) {
12458 {
12459 arg7 = &temp6;
12460 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12461 }
12462 }
12463 {
12464 PyThreadState* __tstate = wxPyBeginAllowThreads();
12465 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12466
12467 wxPyEndAllowThreads(__tstate);
12468 if (PyErr_Occurred()) SWIG_fail;
12469 }
12470 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
12471 {
12472 if (temp2)
12473 delete arg2;
12474 }
12475 {
12476 if (temp3)
12477 delete arg3;
12478 }
12479 {
12480 if (arg5) delete [] arg5;
12481 }
12482 return resultobj;
12483 fail:
12484 {
12485 if (temp2)
12486 delete arg2;
12487 }
12488 {
12489 if (temp3)
12490 delete arg3;
12491 }
12492 {
12493 if (arg5) delete [] arg5;
12494 }
12495 return NULL;
12496 }
12497
12498
12499 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12500 PyObject *resultobj;
12501 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12502 int result;
12503 PyObject * obj0 = 0 ;
12504 char *kwnames[] = {
12505 (char *) "self", NULL
12506 };
12507
12508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
12509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12511 {
12512 PyThreadState* __tstate = wxPyBeginAllowThreads();
12513 result = (int)(arg1)->GetSelection();
12514
12515 wxPyEndAllowThreads(__tstate);
12516 if (PyErr_Occurred()) SWIG_fail;
12517 }
12518 resultobj = SWIG_FromInt((int)result);
12519 return resultobj;
12520 fail:
12521 return NULL;
12522 }
12523
12524
12525 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12526 PyObject *resultobj;
12527 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12528 wxString result;
12529 PyObject * obj0 = 0 ;
12530 char *kwnames[] = {
12531 (char *) "self", NULL
12532 };
12533
12534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
12535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12537 {
12538 PyThreadState* __tstate = wxPyBeginAllowThreads();
12539 result = (arg1)->GetStringSelection();
12540
12541 wxPyEndAllowThreads(__tstate);
12542 if (PyErr_Occurred()) SWIG_fail;
12543 }
12544 {
12545 #if wxUSE_UNICODE
12546 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12547 #else
12548 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12549 #endif
12550 }
12551 return resultobj;
12552 fail:
12553 return NULL;
12554 }
12555
12556
12557 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12558 PyObject *resultobj;
12559 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12560 int arg2 ;
12561 PyObject * obj0 = 0 ;
12562 PyObject * obj1 = 0 ;
12563 char *kwnames[] = {
12564 (char *) "self",(char *) "sel", NULL
12565 };
12566
12567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12570 arg2 = (int) SWIG_AsInt(obj1);
12571 if (PyErr_Occurred()) SWIG_fail;
12572 {
12573 PyThreadState* __tstate = wxPyBeginAllowThreads();
12574 (arg1)->SetSelection(arg2);
12575
12576 wxPyEndAllowThreads(__tstate);
12577 if (PyErr_Occurred()) SWIG_fail;
12578 }
12579 Py_INCREF(Py_None); resultobj = Py_None;
12580 return resultobj;
12581 fail:
12582 return NULL;
12583 }
12584
12585
12586 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12587 PyObject *obj;
12588 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12589 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
12590 Py_INCREF(obj);
12591 return Py_BuildValue((char *)"");
12592 }
12593 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12594 PyObject *resultobj;
12595 wxWindow *arg1 = (wxWindow *) 0 ;
12596 wxString *arg2 = 0 ;
12597 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
12598 wxString *arg3 = (wxString *) &arg3_defvalue ;
12599 wxString const &arg4_defvalue = wxPyEmptyString ;
12600 wxString *arg4 = (wxString *) &arg4_defvalue ;
12601 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
12602 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12603 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12604 wxTextEntryDialog *result;
12605 bool temp2 = False ;
12606 bool temp3 = False ;
12607 bool temp4 = False ;
12608 wxPoint temp6 ;
12609 PyObject * obj0 = 0 ;
12610 PyObject * obj1 = 0 ;
12611 PyObject * obj2 = 0 ;
12612 PyObject * obj3 = 0 ;
12613 PyObject * obj4 = 0 ;
12614 PyObject * obj5 = 0 ;
12615 char *kwnames[] = {
12616 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12617 };
12618
12619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12622 {
12623 arg2 = wxString_in_helper(obj1);
12624 if (arg2 == NULL) SWIG_fail;
12625 temp2 = True;
12626 }
12627 if (obj2) {
12628 {
12629 arg3 = wxString_in_helper(obj2);
12630 if (arg3 == NULL) SWIG_fail;
12631 temp3 = True;
12632 }
12633 }
12634 if (obj3) {
12635 {
12636 arg4 = wxString_in_helper(obj3);
12637 if (arg4 == NULL) SWIG_fail;
12638 temp4 = True;
12639 }
12640 }
12641 if (obj4) {
12642 arg5 = (long) SWIG_AsLong(obj4);
12643 if (PyErr_Occurred()) SWIG_fail;
12644 }
12645 if (obj5) {
12646 {
12647 arg6 = &temp6;
12648 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12649 }
12650 }
12651 {
12652 PyThreadState* __tstate = wxPyBeginAllowThreads();
12653 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
12654
12655 wxPyEndAllowThreads(__tstate);
12656 if (PyErr_Occurred()) SWIG_fail;
12657 }
12658 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
12659 {
12660 if (temp2)
12661 delete arg2;
12662 }
12663 {
12664 if (temp3)
12665 delete arg3;
12666 }
12667 {
12668 if (temp4)
12669 delete arg4;
12670 }
12671 return resultobj;
12672 fail:
12673 {
12674 if (temp2)
12675 delete arg2;
12676 }
12677 {
12678 if (temp3)
12679 delete arg3;
12680 }
12681 {
12682 if (temp4)
12683 delete arg4;
12684 }
12685 return NULL;
12686 }
12687
12688
12689 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12690 PyObject *resultobj;
12691 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12692 wxString result;
12693 PyObject * obj0 = 0 ;
12694 char *kwnames[] = {
12695 (char *) "self", NULL
12696 };
12697
12698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
12699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12701 {
12702 PyThreadState* __tstate = wxPyBeginAllowThreads();
12703 result = (arg1)->GetValue();
12704
12705 wxPyEndAllowThreads(__tstate);
12706 if (PyErr_Occurred()) SWIG_fail;
12707 }
12708 {
12709 #if wxUSE_UNICODE
12710 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12711 #else
12712 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12713 #endif
12714 }
12715 return resultobj;
12716 fail:
12717 return NULL;
12718 }
12719
12720
12721 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12722 PyObject *resultobj;
12723 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12724 wxString *arg2 = 0 ;
12725 bool temp2 = False ;
12726 PyObject * obj0 = 0 ;
12727 PyObject * obj1 = 0 ;
12728 char *kwnames[] = {
12729 (char *) "self",(char *) "value", NULL
12730 };
12731
12732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
12733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12735 {
12736 arg2 = wxString_in_helper(obj1);
12737 if (arg2 == NULL) SWIG_fail;
12738 temp2 = True;
12739 }
12740 {
12741 PyThreadState* __tstate = wxPyBeginAllowThreads();
12742 (arg1)->SetValue((wxString const &)*arg2);
12743
12744 wxPyEndAllowThreads(__tstate);
12745 if (PyErr_Occurred()) SWIG_fail;
12746 }
12747 Py_INCREF(Py_None); resultobj = Py_None;
12748 {
12749 if (temp2)
12750 delete arg2;
12751 }
12752 return resultobj;
12753 fail:
12754 {
12755 if (temp2)
12756 delete arg2;
12757 }
12758 return NULL;
12759 }
12760
12761
12762 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
12763 PyObject *obj;
12764 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12765 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
12766 Py_INCREF(obj);
12767 return Py_BuildValue((char *)"");
12768 }
12769 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12770 PyObject *resultobj;
12771 wxFontData *result;
12772 char *kwnames[] = {
12773 NULL
12774 };
12775
12776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
12777 {
12778 PyThreadState* __tstate = wxPyBeginAllowThreads();
12779 result = (wxFontData *)new wxFontData();
12780
12781 wxPyEndAllowThreads(__tstate);
12782 if (PyErr_Occurred()) SWIG_fail;
12783 }
12784 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
12785 return resultobj;
12786 fail:
12787 return NULL;
12788 }
12789
12790
12791 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12792 PyObject *resultobj;
12793 wxFontData *arg1 = (wxFontData *) 0 ;
12794 PyObject * obj0 = 0 ;
12795 char *kwnames[] = {
12796 (char *) "self", NULL
12797 };
12798
12799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
12800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12802 {
12803 PyThreadState* __tstate = wxPyBeginAllowThreads();
12804 delete arg1;
12805
12806 wxPyEndAllowThreads(__tstate);
12807 if (PyErr_Occurred()) SWIG_fail;
12808 }
12809 Py_INCREF(Py_None); resultobj = Py_None;
12810 return resultobj;
12811 fail:
12812 return NULL;
12813 }
12814
12815
12816 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12817 PyObject *resultobj;
12818 wxFontData *arg1 = (wxFontData *) 0 ;
12819 bool arg2 ;
12820 PyObject * obj0 = 0 ;
12821 PyObject * obj1 = 0 ;
12822 char *kwnames[] = {
12823 (char *) "self",(char *) "enable", NULL
12824 };
12825
12826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
12827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12829 arg2 = (bool) SWIG_AsBool(obj1);
12830 if (PyErr_Occurred()) SWIG_fail;
12831 {
12832 PyThreadState* __tstate = wxPyBeginAllowThreads();
12833 (arg1)->EnableEffects(arg2);
12834
12835 wxPyEndAllowThreads(__tstate);
12836 if (PyErr_Occurred()) SWIG_fail;
12837 }
12838 Py_INCREF(Py_None); resultobj = Py_None;
12839 return resultobj;
12840 fail:
12841 return NULL;
12842 }
12843
12844
12845 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12846 PyObject *resultobj;
12847 wxFontData *arg1 = (wxFontData *) 0 ;
12848 bool result;
12849 PyObject * obj0 = 0 ;
12850 char *kwnames[] = {
12851 (char *) "self", NULL
12852 };
12853
12854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
12855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12857 {
12858 PyThreadState* __tstate = wxPyBeginAllowThreads();
12859 result = (bool)(arg1)->GetAllowSymbols();
12860
12861 wxPyEndAllowThreads(__tstate);
12862 if (PyErr_Occurred()) SWIG_fail;
12863 }
12864 {
12865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12866 }
12867 return resultobj;
12868 fail:
12869 return NULL;
12870 }
12871
12872
12873 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12874 PyObject *resultobj;
12875 wxFontData *arg1 = (wxFontData *) 0 ;
12876 wxColour result;
12877 PyObject * obj0 = 0 ;
12878 char *kwnames[] = {
12879 (char *) "self", NULL
12880 };
12881
12882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
12883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12885 {
12886 PyThreadState* __tstate = wxPyBeginAllowThreads();
12887 result = (arg1)->GetColour();
12888
12889 wxPyEndAllowThreads(__tstate);
12890 if (PyErr_Occurred()) SWIG_fail;
12891 }
12892 {
12893 wxColour * resultptr;
12894 resultptr = new wxColour((wxColour &) result);
12895 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
12896 }
12897 return resultobj;
12898 fail:
12899 return NULL;
12900 }
12901
12902
12903 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12904 PyObject *resultobj;
12905 wxFontData *arg1 = (wxFontData *) 0 ;
12906 wxFont result;
12907 PyObject * obj0 = 0 ;
12908 char *kwnames[] = {
12909 (char *) "self", NULL
12910 };
12911
12912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
12913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12915 {
12916 PyThreadState* __tstate = wxPyBeginAllowThreads();
12917 result = (arg1)->GetChosenFont();
12918
12919 wxPyEndAllowThreads(__tstate);
12920 if (PyErr_Occurred()) SWIG_fail;
12921 }
12922 {
12923 wxFont * resultptr;
12924 resultptr = new wxFont((wxFont &) result);
12925 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
12926 }
12927 return resultobj;
12928 fail:
12929 return NULL;
12930 }
12931
12932
12933 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12934 PyObject *resultobj;
12935 wxFontData *arg1 = (wxFontData *) 0 ;
12936 bool result;
12937 PyObject * obj0 = 0 ;
12938 char *kwnames[] = {
12939 (char *) "self", NULL
12940 };
12941
12942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
12943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12945 {
12946 PyThreadState* __tstate = wxPyBeginAllowThreads();
12947 result = (bool)(arg1)->GetEnableEffects();
12948
12949 wxPyEndAllowThreads(__tstate);
12950 if (PyErr_Occurred()) SWIG_fail;
12951 }
12952 {
12953 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12954 }
12955 return resultobj;
12956 fail:
12957 return NULL;
12958 }
12959
12960
12961 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12962 PyObject *resultobj;
12963 wxFontData *arg1 = (wxFontData *) 0 ;
12964 wxFont result;
12965 PyObject * obj0 = 0 ;
12966 char *kwnames[] = {
12967 (char *) "self", NULL
12968 };
12969
12970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
12971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12973 {
12974 PyThreadState* __tstate = wxPyBeginAllowThreads();
12975 result = (arg1)->GetInitialFont();
12976
12977 wxPyEndAllowThreads(__tstate);
12978 if (PyErr_Occurred()) SWIG_fail;
12979 }
12980 {
12981 wxFont * resultptr;
12982 resultptr = new wxFont((wxFont &) result);
12983 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
12984 }
12985 return resultobj;
12986 fail:
12987 return NULL;
12988 }
12989
12990
12991 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12992 PyObject *resultobj;
12993 wxFontData *arg1 = (wxFontData *) 0 ;
12994 bool result;
12995 PyObject * obj0 = 0 ;
12996 char *kwnames[] = {
12997 (char *) "self", NULL
12998 };
12999
13000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
13001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13003 {
13004 PyThreadState* __tstate = wxPyBeginAllowThreads();
13005 result = (bool)(arg1)->GetShowHelp();
13006
13007 wxPyEndAllowThreads(__tstate);
13008 if (PyErr_Occurred()) SWIG_fail;
13009 }
13010 {
13011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13012 }
13013 return resultobj;
13014 fail:
13015 return NULL;
13016 }
13017
13018
13019 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
13020 PyObject *resultobj;
13021 wxFontData *arg1 = (wxFontData *) 0 ;
13022 bool arg2 ;
13023 PyObject * obj0 = 0 ;
13024 PyObject * obj1 = 0 ;
13025 char *kwnames[] = {
13026 (char *) "self",(char *) "allowSymbols", NULL
13027 };
13028
13029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
13030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13032 arg2 = (bool) SWIG_AsBool(obj1);
13033 if (PyErr_Occurred()) SWIG_fail;
13034 {
13035 PyThreadState* __tstate = wxPyBeginAllowThreads();
13036 (arg1)->SetAllowSymbols(arg2);
13037
13038 wxPyEndAllowThreads(__tstate);
13039 if (PyErr_Occurred()) SWIG_fail;
13040 }
13041 Py_INCREF(Py_None); resultobj = Py_None;
13042 return resultobj;
13043 fail:
13044 return NULL;
13045 }
13046
13047
13048 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13049 PyObject *resultobj;
13050 wxFontData *arg1 = (wxFontData *) 0 ;
13051 wxFont *arg2 = 0 ;
13052 PyObject * obj0 = 0 ;
13053 PyObject * obj1 = 0 ;
13054 char *kwnames[] = {
13055 (char *) "self",(char *) "font", NULL
13056 };
13057
13058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
13059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13061 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13062 SWIG_POINTER_EXCEPTION | 0)) == -1)
13063 SWIG_fail;
13064 if (arg2 == NULL) {
13065 PyErr_SetString(PyExc_TypeError,"null reference");
13066 SWIG_fail;
13067 }
13068 {
13069 PyThreadState* __tstate = wxPyBeginAllowThreads();
13070 (arg1)->SetChosenFont((wxFont const &)*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_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
13083 PyObject *resultobj;
13084 wxFontData *arg1 = (wxFontData *) 0 ;
13085 wxColour *arg2 = 0 ;
13086 wxColour temp2 ;
13087 PyObject * obj0 = 0 ;
13088 PyObject * obj1 = 0 ;
13089 char *kwnames[] = {
13090 (char *) "self",(char *) "colour", NULL
13091 };
13092
13093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13096 {
13097 arg2 = &temp2;
13098 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13099 }
13100 {
13101 PyThreadState* __tstate = wxPyBeginAllowThreads();
13102 (arg1)->SetColour((wxColour const &)*arg2);
13103
13104 wxPyEndAllowThreads(__tstate);
13105 if (PyErr_Occurred()) SWIG_fail;
13106 }
13107 Py_INCREF(Py_None); resultobj = Py_None;
13108 return resultobj;
13109 fail:
13110 return NULL;
13111 }
13112
13113
13114 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13115 PyObject *resultobj;
13116 wxFontData *arg1 = (wxFontData *) 0 ;
13117 wxFont *arg2 = 0 ;
13118 PyObject * obj0 = 0 ;
13119 PyObject * obj1 = 0 ;
13120 char *kwnames[] = {
13121 (char *) "self",(char *) "font", NULL
13122 };
13123
13124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
13125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13127 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13128 SWIG_POINTER_EXCEPTION | 0)) == -1)
13129 SWIG_fail;
13130 if (arg2 == NULL) {
13131 PyErr_SetString(PyExc_TypeError,"null reference");
13132 SWIG_fail;
13133 }
13134 {
13135 PyThreadState* __tstate = wxPyBeginAllowThreads();
13136 (arg1)->SetInitialFont((wxFont 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_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
13149 PyObject *resultobj;
13150 wxFontData *arg1 = (wxFontData *) 0 ;
13151 int arg2 ;
13152 int arg3 ;
13153 PyObject * obj0 = 0 ;
13154 PyObject * obj1 = 0 ;
13155 PyObject * obj2 = 0 ;
13156 char *kwnames[] = {
13157 (char *) "self",(char *) "min",(char *) "max", NULL
13158 };
13159
13160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13163 arg2 = (int) SWIG_AsInt(obj1);
13164 if (PyErr_Occurred()) SWIG_fail;
13165 arg3 = (int) SWIG_AsInt(obj2);
13166 if (PyErr_Occurred()) SWIG_fail;
13167 {
13168 PyThreadState* __tstate = wxPyBeginAllowThreads();
13169 (arg1)->SetRange(arg2,arg3);
13170
13171 wxPyEndAllowThreads(__tstate);
13172 if (PyErr_Occurred()) SWIG_fail;
13173 }
13174 Py_INCREF(Py_None); resultobj = Py_None;
13175 return resultobj;
13176 fail:
13177 return NULL;
13178 }
13179
13180
13181 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13182 PyObject *resultobj;
13183 wxFontData *arg1 = (wxFontData *) 0 ;
13184 bool arg2 ;
13185 PyObject * obj0 = 0 ;
13186 PyObject * obj1 = 0 ;
13187 char *kwnames[] = {
13188 (char *) "self",(char *) "showHelp", NULL
13189 };
13190
13191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
13192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13194 arg2 = (bool) SWIG_AsBool(obj1);
13195 if (PyErr_Occurred()) SWIG_fail;
13196 {
13197 PyThreadState* __tstate = wxPyBeginAllowThreads();
13198 (arg1)->SetShowHelp(arg2);
13199
13200 wxPyEndAllowThreads(__tstate);
13201 if (PyErr_Occurred()) SWIG_fail;
13202 }
13203 Py_INCREF(Py_None); resultobj = Py_None;
13204 return resultobj;
13205 fail:
13206 return NULL;
13207 }
13208
13209
13210 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
13211 PyObject *obj;
13212 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13213 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
13214 Py_INCREF(obj);
13215 return Py_BuildValue((char *)"");
13216 }
13217 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13218 PyObject *resultobj;
13219 wxWindow *arg1 = (wxWindow *) 0 ;
13220 wxFontData *arg2 = 0 ;
13221 wxFontDialog *result;
13222 PyObject * obj0 = 0 ;
13223 PyObject * obj1 = 0 ;
13224 char *kwnames[] = {
13225 (char *) "parent",(char *) "data", NULL
13226 };
13227
13228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
13229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13231 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
13232 SWIG_POINTER_EXCEPTION | 0)) == -1)
13233 SWIG_fail;
13234 if (arg2 == NULL) {
13235 PyErr_SetString(PyExc_TypeError,"null reference");
13236 SWIG_fail;
13237 }
13238 {
13239 PyThreadState* __tstate = wxPyBeginAllowThreads();
13240 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
13241
13242 wxPyEndAllowThreads(__tstate);
13243 if (PyErr_Occurred()) SWIG_fail;
13244 }
13245 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
13246 return resultobj;
13247 fail:
13248 return NULL;
13249 }
13250
13251
13252 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
13253 PyObject *resultobj;
13254 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13255 wxFontData *result;
13256 PyObject * obj0 = 0 ;
13257 char *kwnames[] = {
13258 (char *) "self", NULL
13259 };
13260
13261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13264 {
13265 PyThreadState* __tstate = wxPyBeginAllowThreads();
13266 {
13267 wxFontData &_result_ref = (arg1)->GetFontData();
13268 result = (wxFontData *) &_result_ref;
13269 }
13270
13271 wxPyEndAllowThreads(__tstate);
13272 if (PyErr_Occurred()) SWIG_fail;
13273 }
13274 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
13275 return resultobj;
13276 fail:
13277 return NULL;
13278 }
13279
13280
13281 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
13282 PyObject *obj;
13283 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13284 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13285 Py_INCREF(obj);
13286 return Py_BuildValue((char *)"");
13287 }
13288 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13289 PyObject *resultobj;
13290 wxWindow *arg1 = (wxWindow *) 0 ;
13291 wxString *arg2 = 0 ;
13292 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13293 wxString *arg3 = (wxString *) &arg3_defvalue ;
13294 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13295 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13296 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13297 wxMessageDialog *result;
13298 bool temp2 = False ;
13299 bool temp3 = False ;
13300 wxPoint temp5 ;
13301 PyObject * obj0 = 0 ;
13302 PyObject * obj1 = 0 ;
13303 PyObject * obj2 = 0 ;
13304 PyObject * obj3 = 0 ;
13305 PyObject * obj4 = 0 ;
13306 char *kwnames[] = {
13307 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13308 };
13309
13310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13313 {
13314 arg2 = wxString_in_helper(obj1);
13315 if (arg2 == NULL) SWIG_fail;
13316 temp2 = True;
13317 }
13318 if (obj2) {
13319 {
13320 arg3 = wxString_in_helper(obj2);
13321 if (arg3 == NULL) SWIG_fail;
13322 temp3 = True;
13323 }
13324 }
13325 if (obj3) {
13326 arg4 = (long) SWIG_AsLong(obj3);
13327 if (PyErr_Occurred()) SWIG_fail;
13328 }
13329 if (obj4) {
13330 {
13331 arg5 = &temp5;
13332 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13333 }
13334 }
13335 {
13336 PyThreadState* __tstate = wxPyBeginAllowThreads();
13337 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13338
13339 wxPyEndAllowThreads(__tstate);
13340 if (PyErr_Occurred()) SWIG_fail;
13341 }
13342 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
13343 {
13344 if (temp2)
13345 delete arg2;
13346 }
13347 {
13348 if (temp3)
13349 delete arg3;
13350 }
13351 return resultobj;
13352 fail:
13353 {
13354 if (temp2)
13355 delete arg2;
13356 }
13357 {
13358 if (temp3)
13359 delete arg3;
13360 }
13361 return NULL;
13362 }
13363
13364
13365 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
13366 PyObject *obj;
13367 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13368 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13369 Py_INCREF(obj);
13370 return Py_BuildValue((char *)"");
13371 }
13372 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13373 PyObject *resultobj;
13374 wxString *arg1 = 0 ;
13375 wxString *arg2 = 0 ;
13376 int arg3 = (int) 100 ;
13377 wxWindow *arg4 = (wxWindow *) NULL ;
13378 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13379 wxProgressDialog *result;
13380 bool temp1 = False ;
13381 bool temp2 = False ;
13382 PyObject * obj0 = 0 ;
13383 PyObject * obj1 = 0 ;
13384 PyObject * obj2 = 0 ;
13385 PyObject * obj3 = 0 ;
13386 PyObject * obj4 = 0 ;
13387 char *kwnames[] = {
13388 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13389 };
13390
13391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13392 {
13393 arg1 = wxString_in_helper(obj0);
13394 if (arg1 == NULL) SWIG_fail;
13395 temp1 = True;
13396 }
13397 {
13398 arg2 = wxString_in_helper(obj1);
13399 if (arg2 == NULL) SWIG_fail;
13400 temp2 = True;
13401 }
13402 if (obj2) {
13403 arg3 = (int) SWIG_AsInt(obj2);
13404 if (PyErr_Occurred()) SWIG_fail;
13405 }
13406 if (obj3) {
13407 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
13408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13409 }
13410 if (obj4) {
13411 arg5 = (int) SWIG_AsInt(obj4);
13412 if (PyErr_Occurred()) SWIG_fail;
13413 }
13414 {
13415 PyThreadState* __tstate = wxPyBeginAllowThreads();
13416 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13417
13418 wxPyEndAllowThreads(__tstate);
13419 if (PyErr_Occurred()) SWIG_fail;
13420 }
13421 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
13422 {
13423 if (temp1)
13424 delete arg1;
13425 }
13426 {
13427 if (temp2)
13428 delete arg2;
13429 }
13430 return resultobj;
13431 fail:
13432 {
13433 if (temp1)
13434 delete arg1;
13435 }
13436 {
13437 if (temp2)
13438 delete arg2;
13439 }
13440 return NULL;
13441 }
13442
13443
13444 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
13445 PyObject *resultobj;
13446 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13447 int arg2 ;
13448 wxString const &arg3_defvalue = wxPyEmptyString ;
13449 wxString *arg3 = (wxString *) &arg3_defvalue ;
13450 bool result;
13451 bool temp3 = False ;
13452 PyObject * obj0 = 0 ;
13453 PyObject * obj1 = 0 ;
13454 PyObject * obj2 = 0 ;
13455 char *kwnames[] = {
13456 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13457 };
13458
13459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13462 arg2 = (int) SWIG_AsInt(obj1);
13463 if (PyErr_Occurred()) SWIG_fail;
13464 if (obj2) {
13465 {
13466 arg3 = wxString_in_helper(obj2);
13467 if (arg3 == NULL) SWIG_fail;
13468 temp3 = True;
13469 }
13470 }
13471 {
13472 PyThreadState* __tstate = wxPyBeginAllowThreads();
13473 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13474
13475 wxPyEndAllowThreads(__tstate);
13476 if (PyErr_Occurred()) SWIG_fail;
13477 }
13478 {
13479 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13480 }
13481 {
13482 if (temp3)
13483 delete arg3;
13484 }
13485 return resultobj;
13486 fail:
13487 {
13488 if (temp3)
13489 delete arg3;
13490 }
13491 return NULL;
13492 }
13493
13494
13495 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
13496 PyObject *resultobj;
13497 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13498 PyObject * obj0 = 0 ;
13499 char *kwnames[] = {
13500 (char *) "self", NULL
13501 };
13502
13503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
13504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13506 {
13507 PyThreadState* __tstate = wxPyBeginAllowThreads();
13508 (arg1)->Resume();
13509
13510 wxPyEndAllowThreads(__tstate);
13511 if (PyErr_Occurred()) SWIG_fail;
13512 }
13513 Py_INCREF(Py_None); resultobj = Py_None;
13514 return resultobj;
13515 fail:
13516 return NULL;
13517 }
13518
13519
13520 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
13521 PyObject *obj;
13522 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13523 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
13524 Py_INCREF(obj);
13525 return Py_BuildValue((char *)"");
13526 }
13527 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13528 PyObject *resultobj;
13529 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13530 int arg2 = (int) 0 ;
13531 wxFindDialogEvent *result;
13532 PyObject * obj0 = 0 ;
13533 PyObject * obj1 = 0 ;
13534 char *kwnames[] = {
13535 (char *) "commandType",(char *) "id", NULL
13536 };
13537
13538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
13539 if (obj0) {
13540 arg1 = (wxEventType) SWIG_AsInt(obj0);
13541 if (PyErr_Occurred()) SWIG_fail;
13542 }
13543 if (obj1) {
13544 arg2 = (int) SWIG_AsInt(obj1);
13545 if (PyErr_Occurred()) SWIG_fail;
13546 }
13547 {
13548 PyThreadState* __tstate = wxPyBeginAllowThreads();
13549 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
13550
13551 wxPyEndAllowThreads(__tstate);
13552 if (PyErr_Occurred()) SWIG_fail;
13553 }
13554 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
13555 return resultobj;
13556 fail:
13557 return NULL;
13558 }
13559
13560
13561 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13562 PyObject *resultobj;
13563 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13564 int result;
13565 PyObject * obj0 = 0 ;
13566 char *kwnames[] = {
13567 (char *) "self", NULL
13568 };
13569
13570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
13571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13573 {
13574 PyThreadState* __tstate = wxPyBeginAllowThreads();
13575 result = (int)(arg1)->GetFlags();
13576
13577 wxPyEndAllowThreads(__tstate);
13578 if (PyErr_Occurred()) SWIG_fail;
13579 }
13580 resultobj = SWIG_FromInt((int)result);
13581 return resultobj;
13582 fail:
13583 return NULL;
13584 }
13585
13586
13587 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13588 PyObject *resultobj;
13589 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13590 wxString *result;
13591 PyObject * obj0 = 0 ;
13592 char *kwnames[] = {
13593 (char *) "self", NULL
13594 };
13595
13596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
13597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13599 {
13600 PyThreadState* __tstate = wxPyBeginAllowThreads();
13601 {
13602 wxString const &_result_ref = (arg1)->GetFindString();
13603 result = (wxString *) &_result_ref;
13604 }
13605
13606 wxPyEndAllowThreads(__tstate);
13607 if (PyErr_Occurred()) SWIG_fail;
13608 }
13609 {
13610 #if wxUSE_UNICODE
13611 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13612 #else
13613 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13614 #endif
13615 }
13616 return resultobj;
13617 fail:
13618 return NULL;
13619 }
13620
13621
13622 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13623 PyObject *resultobj;
13624 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13625 wxString *result;
13626 PyObject * obj0 = 0 ;
13627 char *kwnames[] = {
13628 (char *) "self", NULL
13629 };
13630
13631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
13632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13634 {
13635 PyThreadState* __tstate = wxPyBeginAllowThreads();
13636 {
13637 wxString const &_result_ref = (arg1)->GetReplaceString();
13638 result = (wxString *) &_result_ref;
13639 }
13640
13641 wxPyEndAllowThreads(__tstate);
13642 if (PyErr_Occurred()) SWIG_fail;
13643 }
13644 {
13645 #if wxUSE_UNICODE
13646 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13647 #else
13648 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13649 #endif
13650 }
13651 return resultobj;
13652 fail:
13653 return NULL;
13654 }
13655
13656
13657 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13658 PyObject *resultobj;
13659 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13660 wxFindReplaceDialog *result;
13661 PyObject * obj0 = 0 ;
13662 char *kwnames[] = {
13663 (char *) "self", NULL
13664 };
13665
13666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
13667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13669 {
13670 PyThreadState* __tstate = wxPyBeginAllowThreads();
13671 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
13672
13673 wxPyEndAllowThreads(__tstate);
13674 if (PyErr_Occurred()) SWIG_fail;
13675 }
13676 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
13677 return resultobj;
13678 fail:
13679 return NULL;
13680 }
13681
13682
13683 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13684 PyObject *resultobj;
13685 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13686 int arg2 ;
13687 PyObject * obj0 = 0 ;
13688 PyObject * obj1 = 0 ;
13689 char *kwnames[] = {
13690 (char *) "self",(char *) "flags", NULL
13691 };
13692
13693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13696 arg2 = (int) SWIG_AsInt(obj1);
13697 if (PyErr_Occurred()) SWIG_fail;
13698 {
13699 PyThreadState* __tstate = wxPyBeginAllowThreads();
13700 (arg1)->SetFlags(arg2);
13701
13702 wxPyEndAllowThreads(__tstate);
13703 if (PyErr_Occurred()) SWIG_fail;
13704 }
13705 Py_INCREF(Py_None); resultobj = Py_None;
13706 return resultobj;
13707 fail:
13708 return NULL;
13709 }
13710
13711
13712 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13713 PyObject *resultobj;
13714 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13715 wxString *arg2 = 0 ;
13716 bool temp2 = False ;
13717 PyObject * obj0 = 0 ;
13718 PyObject * obj1 = 0 ;
13719 char *kwnames[] = {
13720 (char *) "self",(char *) "str", NULL
13721 };
13722
13723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13726 {
13727 arg2 = wxString_in_helper(obj1);
13728 if (arg2 == NULL) SWIG_fail;
13729 temp2 = True;
13730 }
13731 {
13732 PyThreadState* __tstate = wxPyBeginAllowThreads();
13733 (arg1)->SetFindString((wxString const &)*arg2);
13734
13735 wxPyEndAllowThreads(__tstate);
13736 if (PyErr_Occurred()) SWIG_fail;
13737 }
13738 Py_INCREF(Py_None); resultobj = Py_None;
13739 {
13740 if (temp2)
13741 delete arg2;
13742 }
13743 return resultobj;
13744 fail:
13745 {
13746 if (temp2)
13747 delete arg2;
13748 }
13749 return NULL;
13750 }
13751
13752
13753 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13754 PyObject *resultobj;
13755 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13756 wxString *arg2 = 0 ;
13757 bool temp2 = False ;
13758 PyObject * obj0 = 0 ;
13759 PyObject * obj1 = 0 ;
13760 char *kwnames[] = {
13761 (char *) "self",(char *) "str", NULL
13762 };
13763
13764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13767 {
13768 arg2 = wxString_in_helper(obj1);
13769 if (arg2 == NULL) SWIG_fail;
13770 temp2 = True;
13771 }
13772 {
13773 PyThreadState* __tstate = wxPyBeginAllowThreads();
13774 (arg1)->SetReplaceString((wxString const &)*arg2);
13775
13776 wxPyEndAllowThreads(__tstate);
13777 if (PyErr_Occurred()) SWIG_fail;
13778 }
13779 Py_INCREF(Py_None); resultobj = Py_None;
13780 {
13781 if (temp2)
13782 delete arg2;
13783 }
13784 return resultobj;
13785 fail:
13786 {
13787 if (temp2)
13788 delete arg2;
13789 }
13790 return NULL;
13791 }
13792
13793
13794 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
13795 PyObject *obj;
13796 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13797 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
13798 Py_INCREF(obj);
13799 return Py_BuildValue((char *)"");
13800 }
13801 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13802 PyObject *resultobj;
13803 int arg1 = (int) 0 ;
13804 wxFindReplaceData *result;
13805 PyObject * obj0 = 0 ;
13806 char *kwnames[] = {
13807 (char *) "flags", NULL
13808 };
13809
13810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
13811 if (obj0) {
13812 arg1 = (int) SWIG_AsInt(obj0);
13813 if (PyErr_Occurred()) SWIG_fail;
13814 }
13815 {
13816 PyThreadState* __tstate = wxPyBeginAllowThreads();
13817 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
13818
13819 wxPyEndAllowThreads(__tstate);
13820 if (PyErr_Occurred()) SWIG_fail;
13821 }
13822 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
13823 return resultobj;
13824 fail:
13825 return NULL;
13826 }
13827
13828
13829 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13830 PyObject *resultobj;
13831 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13832 PyObject * obj0 = 0 ;
13833 char *kwnames[] = {
13834 (char *) "self", NULL
13835 };
13836
13837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
13838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13840 {
13841 PyThreadState* __tstate = wxPyBeginAllowThreads();
13842 delete arg1;
13843
13844 wxPyEndAllowThreads(__tstate);
13845 if (PyErr_Occurred()) SWIG_fail;
13846 }
13847 Py_INCREF(Py_None); resultobj = Py_None;
13848 return resultobj;
13849 fail:
13850 return NULL;
13851 }
13852
13853
13854 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13855 PyObject *resultobj;
13856 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13857 wxString *result;
13858 PyObject * obj0 = 0 ;
13859 char *kwnames[] = {
13860 (char *) "self", NULL
13861 };
13862
13863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
13864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13866 {
13867 PyThreadState* __tstate = wxPyBeginAllowThreads();
13868 {
13869 wxString const &_result_ref = (arg1)->GetFindString();
13870 result = (wxString *) &_result_ref;
13871 }
13872
13873 wxPyEndAllowThreads(__tstate);
13874 if (PyErr_Occurred()) SWIG_fail;
13875 }
13876 {
13877 #if wxUSE_UNICODE
13878 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13879 #else
13880 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13881 #endif
13882 }
13883 return resultobj;
13884 fail:
13885 return NULL;
13886 }
13887
13888
13889 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13890 PyObject *resultobj;
13891 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13892 wxString *result;
13893 PyObject * obj0 = 0 ;
13894 char *kwnames[] = {
13895 (char *) "self", NULL
13896 };
13897
13898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
13899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13901 {
13902 PyThreadState* __tstate = wxPyBeginAllowThreads();
13903 {
13904 wxString const &_result_ref = (arg1)->GetReplaceString();
13905 result = (wxString *) &_result_ref;
13906 }
13907
13908 wxPyEndAllowThreads(__tstate);
13909 if (PyErr_Occurred()) SWIG_fail;
13910 }
13911 {
13912 #if wxUSE_UNICODE
13913 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13914 #else
13915 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13916 #endif
13917 }
13918 return resultobj;
13919 fail:
13920 return NULL;
13921 }
13922
13923
13924 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13925 PyObject *resultobj;
13926 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13927 int result;
13928 PyObject * obj0 = 0 ;
13929 char *kwnames[] = {
13930 (char *) "self", NULL
13931 };
13932
13933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
13934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13936 {
13937 PyThreadState* __tstate = wxPyBeginAllowThreads();
13938 result = (int)(arg1)->GetFlags();
13939
13940 wxPyEndAllowThreads(__tstate);
13941 if (PyErr_Occurred()) SWIG_fail;
13942 }
13943 resultobj = SWIG_FromInt((int)result);
13944 return resultobj;
13945 fail:
13946 return NULL;
13947 }
13948
13949
13950 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13951 PyObject *resultobj;
13952 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13953 int arg2 ;
13954 PyObject * obj0 = 0 ;
13955 PyObject * obj1 = 0 ;
13956 char *kwnames[] = {
13957 (char *) "self",(char *) "flags", NULL
13958 };
13959
13960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13963 arg2 = (int) SWIG_AsInt(obj1);
13964 if (PyErr_Occurred()) SWIG_fail;
13965 {
13966 PyThreadState* __tstate = wxPyBeginAllowThreads();
13967 (arg1)->SetFlags(arg2);
13968
13969 wxPyEndAllowThreads(__tstate);
13970 if (PyErr_Occurred()) SWIG_fail;
13971 }
13972 Py_INCREF(Py_None); resultobj = Py_None;
13973 return resultobj;
13974 fail:
13975 return NULL;
13976 }
13977
13978
13979 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13980 PyObject *resultobj;
13981 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13982 wxString *arg2 = 0 ;
13983 bool temp2 = False ;
13984 PyObject * obj0 = 0 ;
13985 PyObject * obj1 = 0 ;
13986 char *kwnames[] = {
13987 (char *) "self",(char *) "str", NULL
13988 };
13989
13990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13993 {
13994 arg2 = wxString_in_helper(obj1);
13995 if (arg2 == NULL) SWIG_fail;
13996 temp2 = True;
13997 }
13998 {
13999 PyThreadState* __tstate = wxPyBeginAllowThreads();
14000 (arg1)->SetFindString((wxString const &)*arg2);
14001
14002 wxPyEndAllowThreads(__tstate);
14003 if (PyErr_Occurred()) SWIG_fail;
14004 }
14005 Py_INCREF(Py_None); resultobj = Py_None;
14006 {
14007 if (temp2)
14008 delete arg2;
14009 }
14010 return resultobj;
14011 fail:
14012 {
14013 if (temp2)
14014 delete arg2;
14015 }
14016 return NULL;
14017 }
14018
14019
14020 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
14021 PyObject *resultobj;
14022 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14023 wxString *arg2 = 0 ;
14024 bool temp2 = False ;
14025 PyObject * obj0 = 0 ;
14026 PyObject * obj1 = 0 ;
14027 char *kwnames[] = {
14028 (char *) "self",(char *) "str", NULL
14029 };
14030
14031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14034 {
14035 arg2 = wxString_in_helper(obj1);
14036 if (arg2 == NULL) SWIG_fail;
14037 temp2 = True;
14038 }
14039 {
14040 PyThreadState* __tstate = wxPyBeginAllowThreads();
14041 (arg1)->SetReplaceString((wxString const &)*arg2);
14042
14043 wxPyEndAllowThreads(__tstate);
14044 if (PyErr_Occurred()) SWIG_fail;
14045 }
14046 Py_INCREF(Py_None); resultobj = Py_None;
14047 {
14048 if (temp2)
14049 delete arg2;
14050 }
14051 return resultobj;
14052 fail:
14053 {
14054 if (temp2)
14055 delete arg2;
14056 }
14057 return NULL;
14058 }
14059
14060
14061 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
14062 PyObject *obj;
14063 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14064 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
14065 Py_INCREF(obj);
14066 return Py_BuildValue((char *)"");
14067 }
14068 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14069 PyObject *resultobj;
14070 wxWindow *arg1 = (wxWindow *) 0 ;
14071 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14072 wxString *arg3 = 0 ;
14073 int arg4 = (int) 0 ;
14074 wxFindReplaceDialog *result;
14075 bool temp3 = False ;
14076 PyObject * obj0 = 0 ;
14077 PyObject * obj1 = 0 ;
14078 PyObject * obj2 = 0 ;
14079 PyObject * obj3 = 0 ;
14080 char *kwnames[] = {
14081 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14082 };
14083
14084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14087 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14089 {
14090 arg3 = wxString_in_helper(obj2);
14091 if (arg3 == NULL) SWIG_fail;
14092 temp3 = True;
14093 }
14094 if (obj3) {
14095 arg4 = (int) SWIG_AsInt(obj3);
14096 if (PyErr_Occurred()) SWIG_fail;
14097 }
14098 {
14099 PyThreadState* __tstate = wxPyBeginAllowThreads();
14100 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
14101
14102 wxPyEndAllowThreads(__tstate);
14103 if (PyErr_Occurred()) SWIG_fail;
14104 }
14105 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14106 {
14107 if (temp3)
14108 delete arg3;
14109 }
14110 return resultobj;
14111 fail:
14112 {
14113 if (temp3)
14114 delete arg3;
14115 }
14116 return NULL;
14117 }
14118
14119
14120 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14121 PyObject *resultobj;
14122 wxFindReplaceDialog *result;
14123 char *kwnames[] = {
14124 NULL
14125 };
14126
14127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
14128 {
14129 PyThreadState* __tstate = wxPyBeginAllowThreads();
14130 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
14131
14132 wxPyEndAllowThreads(__tstate);
14133 if (PyErr_Occurred()) SWIG_fail;
14134 }
14135 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14136 return resultobj;
14137 fail:
14138 return NULL;
14139 }
14140
14141
14142 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14143 PyObject *resultobj;
14144 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14145 wxWindow *arg2 = (wxWindow *) 0 ;
14146 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14147 wxString *arg4 = 0 ;
14148 int arg5 = (int) 0 ;
14149 bool result;
14150 bool temp4 = False ;
14151 PyObject * obj0 = 0 ;
14152 PyObject * obj1 = 0 ;
14153 PyObject * obj2 = 0 ;
14154 PyObject * obj3 = 0 ;
14155 PyObject * obj4 = 0 ;
14156 char *kwnames[] = {
14157 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14158 };
14159
14160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14163 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14165 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
14166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14167 {
14168 arg4 = wxString_in_helper(obj3);
14169 if (arg4 == NULL) SWIG_fail;
14170 temp4 = True;
14171 }
14172 if (obj4) {
14173 arg5 = (int) SWIG_AsInt(obj4);
14174 if (PyErr_Occurred()) SWIG_fail;
14175 }
14176 {
14177 PyThreadState* __tstate = wxPyBeginAllowThreads();
14178 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14179
14180 wxPyEndAllowThreads(__tstate);
14181 if (PyErr_Occurred()) SWIG_fail;
14182 }
14183 {
14184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14185 }
14186 {
14187 if (temp4)
14188 delete arg4;
14189 }
14190 return resultobj;
14191 fail:
14192 {
14193 if (temp4)
14194 delete arg4;
14195 }
14196 return NULL;
14197 }
14198
14199
14200 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14201 PyObject *resultobj;
14202 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14203 wxFindReplaceData *result;
14204 PyObject * obj0 = 0 ;
14205 char *kwnames[] = {
14206 (char *) "self", NULL
14207 };
14208
14209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
14210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14212 {
14213 PyThreadState* __tstate = wxPyBeginAllowThreads();
14214 result = (wxFindReplaceData *)(arg1)->GetData();
14215
14216 wxPyEndAllowThreads(__tstate);
14217 if (PyErr_Occurred()) SWIG_fail;
14218 }
14219 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
14220 return resultobj;
14221 fail:
14222 return NULL;
14223 }
14224
14225
14226 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14227 PyObject *resultobj;
14228 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14229 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14230 PyObject * obj0 = 0 ;
14231 PyObject * obj1 = 0 ;
14232 char *kwnames[] = {
14233 (char *) "self",(char *) "data", NULL
14234 };
14235
14236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
14237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14239 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14241 {
14242 PyThreadState* __tstate = wxPyBeginAllowThreads();
14243 (arg1)->SetData(arg2);
14244
14245 wxPyEndAllowThreads(__tstate);
14246 if (PyErr_Occurred()) SWIG_fail;
14247 }
14248 Py_INCREF(Py_None); resultobj = Py_None;
14249 return resultobj;
14250 fail:
14251 return NULL;
14252 }
14253
14254
14255 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
14256 PyObject *obj;
14257 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14258 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14259 Py_INCREF(obj);
14260 return Py_BuildValue((char *)"");
14261 }
14262 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14263 PyObject *resultobj;
14264 wxWindow *arg1 = (wxWindow *) 0 ;
14265 int arg2 ;
14266 wxString *arg3 = 0 ;
14267 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14268 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14269 wxSize const &arg5_defvalue = wxDefaultSize ;
14270 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14271 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14272 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14273 wxString *arg7 = (wxString *) &arg7_defvalue ;
14274 wxMDIParentFrame *result;
14275 bool temp3 = False ;
14276 wxPoint temp4 ;
14277 wxSize temp5 ;
14278 bool temp7 = False ;
14279 PyObject * obj0 = 0 ;
14280 PyObject * obj1 = 0 ;
14281 PyObject * obj2 = 0 ;
14282 PyObject * obj3 = 0 ;
14283 PyObject * obj4 = 0 ;
14284 PyObject * obj5 = 0 ;
14285 PyObject * obj6 = 0 ;
14286 char *kwnames[] = {
14287 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14288 };
14289
14290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14293 arg2 = (int const) SWIG_AsInt(obj1);
14294 if (PyErr_Occurred()) SWIG_fail;
14295 {
14296 arg3 = wxString_in_helper(obj2);
14297 if (arg3 == NULL) SWIG_fail;
14298 temp3 = True;
14299 }
14300 if (obj3) {
14301 {
14302 arg4 = &temp4;
14303 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14304 }
14305 }
14306 if (obj4) {
14307 {
14308 arg5 = &temp5;
14309 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14310 }
14311 }
14312 if (obj5) {
14313 arg6 = (long) SWIG_AsLong(obj5);
14314 if (PyErr_Occurred()) SWIG_fail;
14315 }
14316 if (obj6) {
14317 {
14318 arg7 = wxString_in_helper(obj6);
14319 if (arg7 == NULL) SWIG_fail;
14320 temp7 = True;
14321 }
14322 }
14323 {
14324 PyThreadState* __tstate = wxPyBeginAllowThreads();
14325 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14326
14327 wxPyEndAllowThreads(__tstate);
14328 if (PyErr_Occurred()) SWIG_fail;
14329 }
14330 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14331 {
14332 if (temp3)
14333 delete arg3;
14334 }
14335 {
14336 if (temp7)
14337 delete arg7;
14338 }
14339 return resultobj;
14340 fail:
14341 {
14342 if (temp3)
14343 delete arg3;
14344 }
14345 {
14346 if (temp7)
14347 delete arg7;
14348 }
14349 return NULL;
14350 }
14351
14352
14353 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14354 PyObject *resultobj;
14355 wxMDIParentFrame *result;
14356 char *kwnames[] = {
14357 NULL
14358 };
14359
14360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14361 {
14362 PyThreadState* __tstate = wxPyBeginAllowThreads();
14363 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14364
14365 wxPyEndAllowThreads(__tstate);
14366 if (PyErr_Occurred()) SWIG_fail;
14367 }
14368 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14369 return resultobj;
14370 fail:
14371 return NULL;
14372 }
14373
14374
14375 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14376 PyObject *resultobj;
14377 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14378 wxWindow *arg2 = (wxWindow *) 0 ;
14379 int arg3 ;
14380 wxString *arg4 = 0 ;
14381 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14382 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14383 wxSize const &arg6_defvalue = wxDefaultSize ;
14384 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14385 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14386 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14387 wxString *arg8 = (wxString *) &arg8_defvalue ;
14388 bool result;
14389 bool temp4 = False ;
14390 wxPoint temp5 ;
14391 wxSize temp6 ;
14392 bool temp8 = False ;
14393 PyObject * obj0 = 0 ;
14394 PyObject * obj1 = 0 ;
14395 PyObject * obj2 = 0 ;
14396 PyObject * obj3 = 0 ;
14397 PyObject * obj4 = 0 ;
14398 PyObject * obj5 = 0 ;
14399 PyObject * obj6 = 0 ;
14400 PyObject * obj7 = 0 ;
14401 char *kwnames[] = {
14402 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14403 };
14404
14405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14408 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14410 arg3 = (int const) SWIG_AsInt(obj2);
14411 if (PyErr_Occurred()) SWIG_fail;
14412 {
14413 arg4 = wxString_in_helper(obj3);
14414 if (arg4 == NULL) SWIG_fail;
14415 temp4 = True;
14416 }
14417 if (obj4) {
14418 {
14419 arg5 = &temp5;
14420 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14421 }
14422 }
14423 if (obj5) {
14424 {
14425 arg6 = &temp6;
14426 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14427 }
14428 }
14429 if (obj6) {
14430 arg7 = (long) SWIG_AsLong(obj6);
14431 if (PyErr_Occurred()) SWIG_fail;
14432 }
14433 if (obj7) {
14434 {
14435 arg8 = wxString_in_helper(obj7);
14436 if (arg8 == NULL) SWIG_fail;
14437 temp8 = True;
14438 }
14439 }
14440 {
14441 PyThreadState* __tstate = wxPyBeginAllowThreads();
14442 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14443
14444 wxPyEndAllowThreads(__tstate);
14445 if (PyErr_Occurred()) SWIG_fail;
14446 }
14447 {
14448 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14449 }
14450 {
14451 if (temp4)
14452 delete arg4;
14453 }
14454 {
14455 if (temp8)
14456 delete arg8;
14457 }
14458 return resultobj;
14459 fail:
14460 {
14461 if (temp4)
14462 delete arg4;
14463 }
14464 {
14465 if (temp8)
14466 delete arg8;
14467 }
14468 return NULL;
14469 }
14470
14471
14472 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
14473 PyObject *resultobj;
14474 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14475 PyObject * obj0 = 0 ;
14476 char *kwnames[] = {
14477 (char *) "self", NULL
14478 };
14479
14480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
14481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14483 {
14484 PyThreadState* __tstate = wxPyBeginAllowThreads();
14485 (arg1)->ActivateNext();
14486
14487 wxPyEndAllowThreads(__tstate);
14488 if (PyErr_Occurred()) SWIG_fail;
14489 }
14490 Py_INCREF(Py_None); resultobj = Py_None;
14491 return resultobj;
14492 fail:
14493 return NULL;
14494 }
14495
14496
14497 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
14498 PyObject *resultobj;
14499 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14500 PyObject * obj0 = 0 ;
14501 char *kwnames[] = {
14502 (char *) "self", NULL
14503 };
14504
14505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
14506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14508 {
14509 PyThreadState* __tstate = wxPyBeginAllowThreads();
14510 (arg1)->ActivatePrevious();
14511
14512 wxPyEndAllowThreads(__tstate);
14513 if (PyErr_Occurred()) SWIG_fail;
14514 }
14515 Py_INCREF(Py_None); resultobj = Py_None;
14516 return resultobj;
14517 fail:
14518 return NULL;
14519 }
14520
14521
14522 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
14523 PyObject *resultobj;
14524 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14525 PyObject * obj0 = 0 ;
14526 char *kwnames[] = {
14527 (char *) "self", NULL
14528 };
14529
14530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
14531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14533 {
14534 PyThreadState* __tstate = wxPyBeginAllowThreads();
14535 (arg1)->ArrangeIcons();
14536
14537 wxPyEndAllowThreads(__tstate);
14538 if (PyErr_Occurred()) SWIG_fail;
14539 }
14540 Py_INCREF(Py_None); resultobj = Py_None;
14541 return resultobj;
14542 fail:
14543 return NULL;
14544 }
14545
14546
14547 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
14548 PyObject *resultobj;
14549 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14550 PyObject * obj0 = 0 ;
14551 char *kwnames[] = {
14552 (char *) "self", NULL
14553 };
14554
14555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
14556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14558 {
14559 PyThreadState* __tstate = wxPyBeginAllowThreads();
14560 (arg1)->Cascade();
14561
14562 wxPyEndAllowThreads(__tstate);
14563 if (PyErr_Occurred()) SWIG_fail;
14564 }
14565 Py_INCREF(Py_None); resultobj = Py_None;
14566 return resultobj;
14567 fail:
14568 return NULL;
14569 }
14570
14571
14572 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14573 PyObject *resultobj;
14574 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14575 wxMDIChildFrame *result;
14576 PyObject * obj0 = 0 ;
14577 char *kwnames[] = {
14578 (char *) "self", NULL
14579 };
14580
14581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
14582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14584 {
14585 PyThreadState* __tstate = wxPyBeginAllowThreads();
14586 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
14587
14588 wxPyEndAllowThreads(__tstate);
14589 if (PyErr_Occurred()) SWIG_fail;
14590 }
14591 {
14592 resultobj = wxPyMake_wxObject(result);
14593 }
14594 return resultobj;
14595 fail:
14596 return NULL;
14597 }
14598
14599
14600 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14601 PyObject *resultobj;
14602 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14603 wxMDIClientWindow *result;
14604 PyObject * obj0 = 0 ;
14605 char *kwnames[] = {
14606 (char *) "self", NULL
14607 };
14608
14609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
14610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14612 {
14613 PyThreadState* __tstate = wxPyBeginAllowThreads();
14614 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
14615
14616 wxPyEndAllowThreads(__tstate);
14617 if (PyErr_Occurred()) SWIG_fail;
14618 }
14619 {
14620 resultobj = wxPyMake_wxObject(result);
14621 }
14622 return resultobj;
14623 fail:
14624 return NULL;
14625 }
14626
14627
14628 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14629 PyObject *resultobj;
14630 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14631 wxWindow *result;
14632 PyObject * obj0 = 0 ;
14633 char *kwnames[] = {
14634 (char *) "self", NULL
14635 };
14636
14637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
14638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14640 {
14641 PyThreadState* __tstate = wxPyBeginAllowThreads();
14642 result = (wxWindow *)(arg1)->GetToolBar();
14643
14644 wxPyEndAllowThreads(__tstate);
14645 if (PyErr_Occurred()) SWIG_fail;
14646 }
14647 {
14648 resultobj = wxPyMake_wxObject(result);
14649 }
14650 return resultobj;
14651 fail:
14652 return NULL;
14653 }
14654
14655
14656 static PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
14657 PyObject *resultobj;
14658 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14659 wxMenu *result;
14660 PyObject * obj0 = 0 ;
14661 char *kwnames[] = {
14662 (char *) "self", NULL
14663 };
14664
14665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames,&obj0)) goto fail;
14666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14668 {
14669 PyThreadState* __tstate = wxPyBeginAllowThreads();
14670 result = (wxMenu *)(arg1)->GetWindowMenu();
14671
14672 wxPyEndAllowThreads(__tstate);
14673 if (PyErr_Occurred()) SWIG_fail;
14674 }
14675 {
14676 resultobj = wxPyMake_wxObject(result);
14677 }
14678 return resultobj;
14679 fail:
14680 return NULL;
14681 }
14682
14683
14684 static PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
14685 PyObject *resultobj;
14686 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14687 wxMenu *arg2 = (wxMenu *) 0 ;
14688 PyObject * obj0 = 0 ;
14689 PyObject * obj1 = 0 ;
14690 char *kwnames[] = {
14691 (char *) "self",(char *) "menu", NULL
14692 };
14693
14694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) goto fail;
14695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14697 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
14698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14699 {
14700 PyThreadState* __tstate = wxPyBeginAllowThreads();
14701 (arg1)->SetWindowMenu(arg2);
14702
14703 wxPyEndAllowThreads(__tstate);
14704 if (PyErr_Occurred()) SWIG_fail;
14705 }
14706 Py_INCREF(Py_None); resultobj = Py_None;
14707 return resultobj;
14708 fail:
14709 return NULL;
14710 }
14711
14712
14713 static PyObject *_wrap_MDIParentFrame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14714 PyObject *resultobj;
14715 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14716 wxToolBar *arg2 = (wxToolBar *) 0 ;
14717 PyObject * obj0 = 0 ;
14718 PyObject * obj1 = 0 ;
14719 char *kwnames[] = {
14720 (char *) "self",(char *) "toolbar", NULL
14721 };
14722
14723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
14724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14726 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
14727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14728 {
14729 PyThreadState* __tstate = wxPyBeginAllowThreads();
14730 (arg1)->SetToolBar(arg2);
14731
14732 wxPyEndAllowThreads(__tstate);
14733 if (PyErr_Occurred()) SWIG_fail;
14734 }
14735 Py_INCREF(Py_None); resultobj = Py_None;
14736 return resultobj;
14737 fail:
14738 return NULL;
14739 }
14740
14741
14742 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
14743 PyObject *resultobj;
14744 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14745 PyObject * obj0 = 0 ;
14746 char *kwnames[] = {
14747 (char *) "self", NULL
14748 };
14749
14750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
14751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14753 {
14754 PyThreadState* __tstate = wxPyBeginAllowThreads();
14755 (arg1)->Tile();
14756
14757 wxPyEndAllowThreads(__tstate);
14758 if (PyErr_Occurred()) SWIG_fail;
14759 }
14760 Py_INCREF(Py_None); resultobj = Py_None;
14761 return resultobj;
14762 fail:
14763 return NULL;
14764 }
14765
14766
14767 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
14768 PyObject *obj;
14769 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14770 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
14771 Py_INCREF(obj);
14772 return Py_BuildValue((char *)"");
14773 }
14774 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14775 PyObject *resultobj;
14776 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14777 int arg2 ;
14778 wxString *arg3 = 0 ;
14779 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14780 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14781 wxSize const &arg5_defvalue = wxDefaultSize ;
14782 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14783 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
14784 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14785 wxString *arg7 = (wxString *) &arg7_defvalue ;
14786 wxMDIChildFrame *result;
14787 bool temp3 = False ;
14788 wxPoint temp4 ;
14789 wxSize temp5 ;
14790 bool temp7 = False ;
14791 PyObject * obj0 = 0 ;
14792 PyObject * obj1 = 0 ;
14793 PyObject * obj2 = 0 ;
14794 PyObject * obj3 = 0 ;
14795 PyObject * obj4 = 0 ;
14796 PyObject * obj5 = 0 ;
14797 PyObject * obj6 = 0 ;
14798 char *kwnames[] = {
14799 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14800 };
14801
14802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14805 arg2 = (int const) SWIG_AsInt(obj1);
14806 if (PyErr_Occurred()) SWIG_fail;
14807 {
14808 arg3 = wxString_in_helper(obj2);
14809 if (arg3 == NULL) SWIG_fail;
14810 temp3 = True;
14811 }
14812 if (obj3) {
14813 {
14814 arg4 = &temp4;
14815 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14816 }
14817 }
14818 if (obj4) {
14819 {
14820 arg5 = &temp5;
14821 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14822 }
14823 }
14824 if (obj5) {
14825 arg6 = (long) SWIG_AsLong(obj5);
14826 if (PyErr_Occurred()) SWIG_fail;
14827 }
14828 if (obj6) {
14829 {
14830 arg7 = wxString_in_helper(obj6);
14831 if (arg7 == NULL) SWIG_fail;
14832 temp7 = True;
14833 }
14834 }
14835 {
14836 PyThreadState* __tstate = wxPyBeginAllowThreads();
14837 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14838
14839 wxPyEndAllowThreads(__tstate);
14840 if (PyErr_Occurred()) SWIG_fail;
14841 }
14842 {
14843 resultobj = wxPyMake_wxObject(result);
14844 }
14845 {
14846 if (temp3)
14847 delete arg3;
14848 }
14849 {
14850 if (temp7)
14851 delete arg7;
14852 }
14853 return resultobj;
14854 fail:
14855 {
14856 if (temp3)
14857 delete arg3;
14858 }
14859 {
14860 if (temp7)
14861 delete arg7;
14862 }
14863 return NULL;
14864 }
14865
14866
14867 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14868 PyObject *resultobj;
14869 wxMDIChildFrame *result;
14870 char *kwnames[] = {
14871 NULL
14872 };
14873
14874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
14875 {
14876 PyThreadState* __tstate = wxPyBeginAllowThreads();
14877 result = (wxMDIChildFrame *)new wxMDIChildFrame();
14878
14879 wxPyEndAllowThreads(__tstate);
14880 if (PyErr_Occurred()) SWIG_fail;
14881 }
14882 {
14883 resultobj = wxPyMake_wxObject(result);
14884 }
14885 return resultobj;
14886 fail:
14887 return NULL;
14888 }
14889
14890
14891 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14892 PyObject *resultobj;
14893 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14894 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14895 int arg3 ;
14896 wxString *arg4 = 0 ;
14897 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14898 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14899 wxSize const &arg6_defvalue = wxDefaultSize ;
14900 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14901 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
14902 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14903 wxString *arg8 = (wxString *) &arg8_defvalue ;
14904 bool result;
14905 bool temp4 = False ;
14906 wxPoint temp5 ;
14907 wxSize temp6 ;
14908 bool temp8 = False ;
14909 PyObject * obj0 = 0 ;
14910 PyObject * obj1 = 0 ;
14911 PyObject * obj2 = 0 ;
14912 PyObject * obj3 = 0 ;
14913 PyObject * obj4 = 0 ;
14914 PyObject * obj5 = 0 ;
14915 PyObject * obj6 = 0 ;
14916 PyObject * obj7 = 0 ;
14917 char *kwnames[] = {
14918 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14919 };
14920
14921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14924 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
14925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14926 arg3 = (int const) SWIG_AsInt(obj2);
14927 if (PyErr_Occurred()) SWIG_fail;
14928 {
14929 arg4 = wxString_in_helper(obj3);
14930 if (arg4 == NULL) SWIG_fail;
14931 temp4 = True;
14932 }
14933 if (obj4) {
14934 {
14935 arg5 = &temp5;
14936 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14937 }
14938 }
14939 if (obj5) {
14940 {
14941 arg6 = &temp6;
14942 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14943 }
14944 }
14945 if (obj6) {
14946 arg7 = (long) SWIG_AsLong(obj6);
14947 if (PyErr_Occurred()) SWIG_fail;
14948 }
14949 if (obj7) {
14950 {
14951 arg8 = wxString_in_helper(obj7);
14952 if (arg8 == NULL) SWIG_fail;
14953 temp8 = True;
14954 }
14955 }
14956 {
14957 PyThreadState* __tstate = wxPyBeginAllowThreads();
14958 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14959
14960 wxPyEndAllowThreads(__tstate);
14961 if (PyErr_Occurred()) SWIG_fail;
14962 }
14963 {
14964 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14965 }
14966 {
14967 if (temp4)
14968 delete arg4;
14969 }
14970 {
14971 if (temp8)
14972 delete arg8;
14973 }
14974 return resultobj;
14975 fail:
14976 {
14977 if (temp4)
14978 delete arg4;
14979 }
14980 {
14981 if (temp8)
14982 delete arg8;
14983 }
14984 return NULL;
14985 }
14986
14987
14988 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
14989 PyObject *resultobj;
14990 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14991 PyObject * obj0 = 0 ;
14992 char *kwnames[] = {
14993 (char *) "self", NULL
14994 };
14995
14996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
14997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14999 {
15000 PyThreadState* __tstate = wxPyBeginAllowThreads();
15001 (arg1)->Activate();
15002
15003 wxPyEndAllowThreads(__tstate);
15004 if (PyErr_Occurred()) SWIG_fail;
15005 }
15006 Py_INCREF(Py_None); resultobj = Py_None;
15007 return resultobj;
15008 fail:
15009 return NULL;
15010 }
15011
15012
15013 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
15014 PyObject *resultobj;
15015 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15016 bool arg2 ;
15017 PyObject * obj0 = 0 ;
15018 PyObject * obj1 = 0 ;
15019 char *kwnames[] = {
15020 (char *) "self",(char *) "maximize", NULL
15021 };
15022
15023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
15024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15026 arg2 = (bool) SWIG_AsBool(obj1);
15027 if (PyErr_Occurred()) SWIG_fail;
15028 {
15029 PyThreadState* __tstate = wxPyBeginAllowThreads();
15030 (arg1)->Maximize(arg2);
15031
15032 wxPyEndAllowThreads(__tstate);
15033 if (PyErr_Occurred()) SWIG_fail;
15034 }
15035 Py_INCREF(Py_None); resultobj = Py_None;
15036 return resultobj;
15037 fail:
15038 return NULL;
15039 }
15040
15041
15042 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
15043 PyObject *resultobj;
15044 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15045 PyObject * obj0 = 0 ;
15046 char *kwnames[] = {
15047 (char *) "self", NULL
15048 };
15049
15050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
15051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15053 {
15054 PyThreadState* __tstate = wxPyBeginAllowThreads();
15055 (arg1)->Restore();
15056
15057 wxPyEndAllowThreads(__tstate);
15058 if (PyErr_Occurred()) SWIG_fail;
15059 }
15060 Py_INCREF(Py_None); resultobj = Py_None;
15061 return resultobj;
15062 fail:
15063 return NULL;
15064 }
15065
15066
15067 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
15068 PyObject *obj;
15069 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15070 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
15071 Py_INCREF(obj);
15072 return Py_BuildValue((char *)"");
15073 }
15074 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15075 PyObject *resultobj;
15076 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15077 long arg2 = (long) 0 ;
15078 wxMDIClientWindow *result;
15079 PyObject * obj0 = 0 ;
15080 PyObject * obj1 = 0 ;
15081 char *kwnames[] = {
15082 (char *) "parent",(char *) "style", NULL
15083 };
15084
15085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
15086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15088 if (obj1) {
15089 arg2 = (long) SWIG_AsLong(obj1);
15090 if (PyErr_Occurred()) SWIG_fail;
15091 }
15092 {
15093 PyThreadState* __tstate = wxPyBeginAllowThreads();
15094 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
15095
15096 wxPyEndAllowThreads(__tstate);
15097 if (PyErr_Occurred()) SWIG_fail;
15098 }
15099 {
15100 resultobj = wxPyMake_wxObject(result);
15101 }
15102 return resultobj;
15103 fail:
15104 return NULL;
15105 }
15106
15107
15108 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15109 PyObject *resultobj;
15110 wxMDIClientWindow *result;
15111 char *kwnames[] = {
15112 NULL
15113 };
15114
15115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
15116 {
15117 PyThreadState* __tstate = wxPyBeginAllowThreads();
15118 result = (wxMDIClientWindow *)new wxMDIClientWindow();
15119
15120 wxPyEndAllowThreads(__tstate);
15121 if (PyErr_Occurred()) SWIG_fail;
15122 }
15123 {
15124 resultobj = wxPyMake_wxObject(result);
15125 }
15126 return resultobj;
15127 fail:
15128 return NULL;
15129 }
15130
15131
15132 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15133 PyObject *resultobj;
15134 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
15135 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15136 long arg3 = (long) 0 ;
15137 bool result;
15138 PyObject * obj0 = 0 ;
15139 PyObject * obj1 = 0 ;
15140 PyObject * obj2 = 0 ;
15141 char *kwnames[] = {
15142 (char *) "self",(char *) "parent",(char *) "style", NULL
15143 };
15144
15145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
15147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15148 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15150 if (obj2) {
15151 arg3 = (long) SWIG_AsLong(obj2);
15152 if (PyErr_Occurred()) SWIG_fail;
15153 }
15154 {
15155 PyThreadState* __tstate = wxPyBeginAllowThreads();
15156 result = (bool)(arg1)->Create(arg2,arg3);
15157
15158 wxPyEndAllowThreads(__tstate);
15159 if (PyErr_Occurred()) SWIG_fail;
15160 }
15161 {
15162 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15163 }
15164 return resultobj;
15165 fail:
15166 return NULL;
15167 }
15168
15169
15170 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
15171 PyObject *obj;
15172 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15173 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
15174 Py_INCREF(obj);
15175 return Py_BuildValue((char *)"");
15176 }
15177 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15178 PyObject *resultobj;
15179 wxWindow *arg1 = (wxWindow *) 0 ;
15180 int arg2 ;
15181 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15182 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15183 wxSize const &arg4_defvalue = wxDefaultSize ;
15184 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15185 long arg5 = (long) 0 ;
15186 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15187 wxString *arg6 = (wxString *) &arg6_defvalue ;
15188 wxPyWindow *result;
15189 wxPoint temp3 ;
15190 wxSize temp4 ;
15191 bool temp6 = False ;
15192 PyObject * obj0 = 0 ;
15193 PyObject * obj1 = 0 ;
15194 PyObject * obj2 = 0 ;
15195 PyObject * obj3 = 0 ;
15196 PyObject * obj4 = 0 ;
15197 PyObject * obj5 = 0 ;
15198 char *kwnames[] = {
15199 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15200 };
15201
15202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15205 arg2 = (int const) SWIG_AsInt(obj1);
15206 if (PyErr_Occurred()) SWIG_fail;
15207 if (obj2) {
15208 {
15209 arg3 = &temp3;
15210 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15211 }
15212 }
15213 if (obj3) {
15214 {
15215 arg4 = &temp4;
15216 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15217 }
15218 }
15219 if (obj4) {
15220 arg5 = (long) SWIG_AsLong(obj4);
15221 if (PyErr_Occurred()) SWIG_fail;
15222 }
15223 if (obj5) {
15224 {
15225 arg6 = wxString_in_helper(obj5);
15226 if (arg6 == NULL) SWIG_fail;
15227 temp6 = True;
15228 }
15229 }
15230 {
15231 PyThreadState* __tstate = wxPyBeginAllowThreads();
15232 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15233
15234 wxPyEndAllowThreads(__tstate);
15235 if (PyErr_Occurred()) SWIG_fail;
15236 }
15237 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15238 {
15239 if (temp6)
15240 delete arg6;
15241 }
15242 return resultobj;
15243 fail:
15244 {
15245 if (temp6)
15246 delete arg6;
15247 }
15248 return NULL;
15249 }
15250
15251
15252 static PyObject *_wrap_new_PrePyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15253 PyObject *resultobj;
15254 wxPyWindow *result;
15255 char *kwnames[] = {
15256 NULL
15257 };
15258
15259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
15260 {
15261 PyThreadState* __tstate = wxPyBeginAllowThreads();
15262 result = (wxPyWindow *)new wxPyWindow();
15263
15264 wxPyEndAllowThreads(__tstate);
15265 if (PyErr_Occurred()) SWIG_fail;
15266 }
15267 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15268 return resultobj;
15269 fail:
15270 return NULL;
15271 }
15272
15273
15274 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15275 PyObject *resultobj;
15276 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15277 PyObject *arg2 = (PyObject *) 0 ;
15278 PyObject *arg3 = (PyObject *) 0 ;
15279 PyObject * obj0 = 0 ;
15280 PyObject * obj1 = 0 ;
15281 PyObject * obj2 = 0 ;
15282 char *kwnames[] = {
15283 (char *) "self",(char *) "self",(char *) "_class", NULL
15284 };
15285
15286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15289 arg2 = obj1;
15290 arg3 = obj2;
15291 {
15292 PyThreadState* __tstate = wxPyBeginAllowThreads();
15293 (arg1)->_setCallbackInfo(arg2,arg3);
15294
15295 wxPyEndAllowThreads(__tstate);
15296 if (PyErr_Occurred()) SWIG_fail;
15297 }
15298 Py_INCREF(Py_None); resultobj = Py_None;
15299 return resultobj;
15300 fail:
15301 return NULL;
15302 }
15303
15304
15305 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15306 PyObject *resultobj;
15307 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15308 int arg2 ;
15309 int arg3 ;
15310 int arg4 ;
15311 int arg5 ;
15312 PyObject * obj0 = 0 ;
15313 PyObject * obj1 = 0 ;
15314 PyObject * obj2 = 0 ;
15315 PyObject * obj3 = 0 ;
15316 PyObject * obj4 = 0 ;
15317 char *kwnames[] = {
15318 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15319 };
15320
15321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15324 arg2 = (int) SWIG_AsInt(obj1);
15325 if (PyErr_Occurred()) SWIG_fail;
15326 arg3 = (int) SWIG_AsInt(obj2);
15327 if (PyErr_Occurred()) SWIG_fail;
15328 arg4 = (int) SWIG_AsInt(obj3);
15329 if (PyErr_Occurred()) SWIG_fail;
15330 arg5 = (int) SWIG_AsInt(obj4);
15331 if (PyErr_Occurred()) SWIG_fail;
15332 {
15333 PyThreadState* __tstate = wxPyBeginAllowThreads();
15334 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15335
15336 wxPyEndAllowThreads(__tstate);
15337 if (PyErr_Occurred()) SWIG_fail;
15338 }
15339 Py_INCREF(Py_None); resultobj = Py_None;
15340 return resultobj;
15341 fail:
15342 return NULL;
15343 }
15344
15345
15346 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15347 PyObject *resultobj;
15348 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15349 int arg2 ;
15350 int arg3 ;
15351 int arg4 ;
15352 int arg5 ;
15353 int arg6 = (int) wxSIZE_AUTO ;
15354 PyObject * obj0 = 0 ;
15355 PyObject * obj1 = 0 ;
15356 PyObject * obj2 = 0 ;
15357 PyObject * obj3 = 0 ;
15358 PyObject * obj4 = 0 ;
15359 PyObject * obj5 = 0 ;
15360 char *kwnames[] = {
15361 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15362 };
15363
15364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15367 arg2 = (int) SWIG_AsInt(obj1);
15368 if (PyErr_Occurred()) SWIG_fail;
15369 arg3 = (int) SWIG_AsInt(obj2);
15370 if (PyErr_Occurred()) SWIG_fail;
15371 arg4 = (int) SWIG_AsInt(obj3);
15372 if (PyErr_Occurred()) SWIG_fail;
15373 arg5 = (int) SWIG_AsInt(obj4);
15374 if (PyErr_Occurred()) SWIG_fail;
15375 if (obj5) {
15376 arg6 = (int) SWIG_AsInt(obj5);
15377 if (PyErr_Occurred()) SWIG_fail;
15378 }
15379 {
15380 PyThreadState* __tstate = wxPyBeginAllowThreads();
15381 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15382
15383 wxPyEndAllowThreads(__tstate);
15384 if (PyErr_Occurred()) SWIG_fail;
15385 }
15386 Py_INCREF(Py_None); resultobj = Py_None;
15387 return resultobj;
15388 fail:
15389 return NULL;
15390 }
15391
15392
15393 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15394 PyObject *resultobj;
15395 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15396 int arg2 ;
15397 int arg3 ;
15398 PyObject * obj0 = 0 ;
15399 PyObject * obj1 = 0 ;
15400 PyObject * obj2 = 0 ;
15401 char *kwnames[] = {
15402 (char *) "self",(char *) "width",(char *) "height", NULL
15403 };
15404
15405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15408 arg2 = (int) SWIG_AsInt(obj1);
15409 if (PyErr_Occurred()) SWIG_fail;
15410 arg3 = (int) SWIG_AsInt(obj2);
15411 if (PyErr_Occurred()) SWIG_fail;
15412 {
15413 PyThreadState* __tstate = wxPyBeginAllowThreads();
15414 (arg1)->base_DoSetClientSize(arg2,arg3);
15415
15416 wxPyEndAllowThreads(__tstate);
15417 if (PyErr_Occurred()) SWIG_fail;
15418 }
15419 Py_INCREF(Py_None); resultobj = Py_None;
15420 return resultobj;
15421 fail:
15422 return NULL;
15423 }
15424
15425
15426 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15427 PyObject *resultobj;
15428 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15429 int arg2 ;
15430 int arg3 ;
15431 PyObject * obj0 = 0 ;
15432 PyObject * obj1 = 0 ;
15433 PyObject * obj2 = 0 ;
15434 char *kwnames[] = {
15435 (char *) "self",(char *) "x",(char *) "y", NULL
15436 };
15437
15438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15441 arg2 = (int) SWIG_AsInt(obj1);
15442 if (PyErr_Occurred()) SWIG_fail;
15443 arg3 = (int) SWIG_AsInt(obj2);
15444 if (PyErr_Occurred()) SWIG_fail;
15445 {
15446 PyThreadState* __tstate = wxPyBeginAllowThreads();
15447 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15448
15449 wxPyEndAllowThreads(__tstate);
15450 if (PyErr_Occurred()) SWIG_fail;
15451 }
15452 Py_INCREF(Py_None); resultobj = Py_None;
15453 return resultobj;
15454 fail:
15455 return NULL;
15456 }
15457
15458
15459 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15460 PyObject *resultobj;
15461 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15462 int *arg2 = (int *) 0 ;
15463 int *arg3 = (int *) 0 ;
15464 int temp2 ;
15465 int temp3 ;
15466 PyObject * obj0 = 0 ;
15467 char *kwnames[] = {
15468 (char *) "self", NULL
15469 };
15470
15471 arg2 = &temp2;
15472 arg3 = &temp3;
15473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15476 {
15477 PyThreadState* __tstate = wxPyBeginAllowThreads();
15478 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15479
15480 wxPyEndAllowThreads(__tstate);
15481 if (PyErr_Occurred()) SWIG_fail;
15482 }
15483 Py_INCREF(Py_None); resultobj = Py_None;
15484 {
15485 PyObject *o = PyInt_FromLong((long) (*arg2));
15486 resultobj = t_output_helper(resultobj,o);
15487 }
15488 {
15489 PyObject *o = PyInt_FromLong((long) (*arg3));
15490 resultobj = t_output_helper(resultobj,o);
15491 }
15492 return resultobj;
15493 fail:
15494 return NULL;
15495 }
15496
15497
15498 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15499 PyObject *resultobj;
15500 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15501 int *arg2 = (int *) 0 ;
15502 int *arg3 = (int *) 0 ;
15503 int temp2 ;
15504 int temp3 ;
15505 PyObject * obj0 = 0 ;
15506 char *kwnames[] = {
15507 (char *) "self", NULL
15508 };
15509
15510 arg2 = &temp2;
15511 arg3 = &temp3;
15512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15515 {
15516 PyThreadState* __tstate = wxPyBeginAllowThreads();
15517 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
15518
15519 wxPyEndAllowThreads(__tstate);
15520 if (PyErr_Occurred()) SWIG_fail;
15521 }
15522 Py_INCREF(Py_None); resultobj = Py_None;
15523 {
15524 PyObject *o = PyInt_FromLong((long) (*arg2));
15525 resultobj = t_output_helper(resultobj,o);
15526 }
15527 {
15528 PyObject *o = PyInt_FromLong((long) (*arg3));
15529 resultobj = t_output_helper(resultobj,o);
15530 }
15531 return resultobj;
15532 fail:
15533 return NULL;
15534 }
15535
15536
15537 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15538 PyObject *resultobj;
15539 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15540 int *arg2 = (int *) 0 ;
15541 int *arg3 = (int *) 0 ;
15542 int temp2 ;
15543 int temp3 ;
15544 PyObject * obj0 = 0 ;
15545 char *kwnames[] = {
15546 (char *) "self", NULL
15547 };
15548
15549 arg2 = &temp2;
15550 arg3 = &temp3;
15551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
15552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15554 {
15555 PyThreadState* __tstate = wxPyBeginAllowThreads();
15556 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
15557
15558 wxPyEndAllowThreads(__tstate);
15559 if (PyErr_Occurred()) SWIG_fail;
15560 }
15561 Py_INCREF(Py_None); resultobj = Py_None;
15562 {
15563 PyObject *o = PyInt_FromLong((long) (*arg2));
15564 resultobj = t_output_helper(resultobj,o);
15565 }
15566 {
15567 PyObject *o = PyInt_FromLong((long) (*arg3));
15568 resultobj = t_output_helper(resultobj,o);
15569 }
15570 return resultobj;
15571 fail:
15572 return NULL;
15573 }
15574
15575
15576 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15577 PyObject *resultobj;
15578 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15579 wxSize result;
15580 PyObject * obj0 = 0 ;
15581 char *kwnames[] = {
15582 (char *) "self", NULL
15583 };
15584
15585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",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 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
15591
15592 wxPyEndAllowThreads(__tstate);
15593 if (PyErr_Occurred()) SWIG_fail;
15594 }
15595 {
15596 wxSize * resultptr;
15597 resultptr = new wxSize((wxSize &) result);
15598 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15599 }
15600 return resultobj;
15601 fail:
15602 return NULL;
15603 }
15604
15605
15606 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15607 PyObject *resultobj;
15608 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15609 wxSize result;
15610 PyObject * obj0 = 0 ;
15611 char *kwnames[] = {
15612 (char *) "self", NULL
15613 };
15614
15615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15618 {
15619 PyThreadState* __tstate = wxPyBeginAllowThreads();
15620 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
15621
15622 wxPyEndAllowThreads(__tstate);
15623 if (PyErr_Occurred()) SWIG_fail;
15624 }
15625 {
15626 wxSize * resultptr;
15627 resultptr = new wxSize((wxSize &) result);
15628 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15629 }
15630 return resultobj;
15631 fail:
15632 return NULL;
15633 }
15634
15635
15636 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
15637 PyObject *resultobj;
15638 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15639 PyObject * obj0 = 0 ;
15640 char *kwnames[] = {
15641 (char *) "self", NULL
15642 };
15643
15644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
15645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15647 {
15648 PyThreadState* __tstate = wxPyBeginAllowThreads();
15649 (arg1)->base_InitDialog();
15650
15651 wxPyEndAllowThreads(__tstate);
15652 if (PyErr_Occurred()) SWIG_fail;
15653 }
15654 Py_INCREF(Py_None); resultobj = Py_None;
15655 return resultobj;
15656 fail:
15657 return NULL;
15658 }
15659
15660
15661 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15662 PyObject *resultobj;
15663 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15664 bool result;
15665 PyObject * obj0 = 0 ;
15666 char *kwnames[] = {
15667 (char *) "self", NULL
15668 };
15669
15670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15673 {
15674 PyThreadState* __tstate = wxPyBeginAllowThreads();
15675 result = (bool)(arg1)->base_TransferDataToWindow();
15676
15677 wxPyEndAllowThreads(__tstate);
15678 if (PyErr_Occurred()) SWIG_fail;
15679 }
15680 {
15681 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15682 }
15683 return resultobj;
15684 fail:
15685 return NULL;
15686 }
15687
15688
15689 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15690 PyObject *resultobj;
15691 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15692 bool result;
15693 PyObject * obj0 = 0 ;
15694 char *kwnames[] = {
15695 (char *) "self", NULL
15696 };
15697
15698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15701 {
15702 PyThreadState* __tstate = wxPyBeginAllowThreads();
15703 result = (bool)(arg1)->base_TransferDataFromWindow();
15704
15705 wxPyEndAllowThreads(__tstate);
15706 if (PyErr_Occurred()) SWIG_fail;
15707 }
15708 {
15709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15710 }
15711 return resultobj;
15712 fail:
15713 return NULL;
15714 }
15715
15716
15717 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
15718 PyObject *resultobj;
15719 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15720 bool result;
15721 PyObject * obj0 = 0 ;
15722 char *kwnames[] = {
15723 (char *) "self", NULL
15724 };
15725
15726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
15727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15729 {
15730 PyThreadState* __tstate = wxPyBeginAllowThreads();
15731 result = (bool)(arg1)->base_Validate();
15732
15733 wxPyEndAllowThreads(__tstate);
15734 if (PyErr_Occurred()) SWIG_fail;
15735 }
15736 {
15737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15738 }
15739 return resultobj;
15740 fail:
15741 return NULL;
15742 }
15743
15744
15745 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
15746 PyObject *resultobj;
15747 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15748 bool result;
15749 PyObject * obj0 = 0 ;
15750 char *kwnames[] = {
15751 (char *) "self", NULL
15752 };
15753
15754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15757 {
15758 PyThreadState* __tstate = wxPyBeginAllowThreads();
15759 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
15760
15761 wxPyEndAllowThreads(__tstate);
15762 if (PyErr_Occurred()) SWIG_fail;
15763 }
15764 {
15765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15766 }
15767 return resultobj;
15768 fail:
15769 return NULL;
15770 }
15771
15772
15773 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
15774 PyObject *resultobj;
15775 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15776 bool result;
15777 PyObject * obj0 = 0 ;
15778 char *kwnames[] = {
15779 (char *) "self", NULL
15780 };
15781
15782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15785 {
15786 PyThreadState* __tstate = wxPyBeginAllowThreads();
15787 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
15788
15789 wxPyEndAllowThreads(__tstate);
15790 if (PyErr_Occurred()) SWIG_fail;
15791 }
15792 {
15793 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15794 }
15795 return resultobj;
15796 fail:
15797 return NULL;
15798 }
15799
15800
15801 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15802 PyObject *resultobj;
15803 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15804 wxSize result;
15805 PyObject * obj0 = 0 ;
15806 char *kwnames[] = {
15807 (char *) "self", NULL
15808 };
15809
15810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
15811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15813 {
15814 PyThreadState* __tstate = wxPyBeginAllowThreads();
15815 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
15816
15817 wxPyEndAllowThreads(__tstate);
15818 if (PyErr_Occurred()) SWIG_fail;
15819 }
15820 {
15821 wxSize * resultptr;
15822 resultptr = new wxSize((wxSize &) result);
15823 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15824 }
15825 return resultobj;
15826 fail:
15827 return NULL;
15828 }
15829
15830
15831 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15832 PyObject *resultobj;
15833 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15834 wxWindow *arg2 = (wxWindow *) 0 ;
15835 PyObject * obj0 = 0 ;
15836 PyObject * obj1 = 0 ;
15837 char *kwnames[] = {
15838 (char *) "self",(char *) "child", NULL
15839 };
15840
15841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15844 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15846 {
15847 PyThreadState* __tstate = wxPyBeginAllowThreads();
15848 (arg1)->base_AddChild(arg2);
15849
15850 wxPyEndAllowThreads(__tstate);
15851 if (PyErr_Occurred()) SWIG_fail;
15852 }
15853 Py_INCREF(Py_None); resultobj = Py_None;
15854 return resultobj;
15855 fail:
15856 return NULL;
15857 }
15858
15859
15860 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15861 PyObject *resultobj;
15862 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15863 wxWindow *arg2 = (wxWindow *) 0 ;
15864 PyObject * obj0 = 0 ;
15865 PyObject * obj1 = 0 ;
15866 char *kwnames[] = {
15867 (char *) "self",(char *) "child", NULL
15868 };
15869
15870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15873 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15875 {
15876 PyThreadState* __tstate = wxPyBeginAllowThreads();
15877 (arg1)->base_RemoveChild(arg2);
15878
15879 wxPyEndAllowThreads(__tstate);
15880 if (PyErr_Occurred()) SWIG_fail;
15881 }
15882 Py_INCREF(Py_None); resultobj = Py_None;
15883 return resultobj;
15884 fail:
15885 return NULL;
15886 }
15887
15888
15889 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
15890 PyObject *resultobj;
15891 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15892 bool result;
15893 PyObject * obj0 = 0 ;
15894 char *kwnames[] = {
15895 (char *) "self", NULL
15896 };
15897
15898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
15899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15901 {
15902 PyThreadState* __tstate = wxPyBeginAllowThreads();
15903 result = (bool)(arg1)->base_ShouldInheritColours();
15904
15905 wxPyEndAllowThreads(__tstate);
15906 if (PyErr_Occurred()) SWIG_fail;
15907 }
15908 {
15909 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15910 }
15911 return resultobj;
15912 fail:
15913 return NULL;
15914 }
15915
15916
15917 static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
15918 PyObject *resultobj;
15919 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15920 wxColour *arg2 = 0 ;
15921 wxColour temp2 ;
15922 PyObject * obj0 = 0 ;
15923 PyObject * obj1 = 0 ;
15924 char *kwnames[] = {
15925 (char *) "self",(char *) "c", NULL
15926 };
15927
15928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
15929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15931 {
15932 arg2 = &temp2;
15933 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15934 }
15935 {
15936 PyThreadState* __tstate = wxPyBeginAllowThreads();
15937 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
15938
15939 wxPyEndAllowThreads(__tstate);
15940 if (PyErr_Occurred()) SWIG_fail;
15941 }
15942 Py_INCREF(Py_None); resultobj = Py_None;
15943 return resultobj;
15944 fail:
15945 return NULL;
15946 }
15947
15948
15949 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
15950 PyObject *obj;
15951 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15952 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
15953 Py_INCREF(obj);
15954 return Py_BuildValue((char *)"");
15955 }
15956 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
15957 PyObject *resultobj;
15958 wxWindow *arg1 = (wxWindow *) 0 ;
15959 int arg2 ;
15960 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15961 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15962 wxSize const &arg4_defvalue = wxDefaultSize ;
15963 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15964 long arg5 = (long) 0 ;
15965 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15966 wxString *arg6 = (wxString *) &arg6_defvalue ;
15967 wxPyPanel *result;
15968 wxPoint temp3 ;
15969 wxSize temp4 ;
15970 bool temp6 = False ;
15971 PyObject * obj0 = 0 ;
15972 PyObject * obj1 = 0 ;
15973 PyObject * obj2 = 0 ;
15974 PyObject * obj3 = 0 ;
15975 PyObject * obj4 = 0 ;
15976 PyObject * obj5 = 0 ;
15977 char *kwnames[] = {
15978 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15979 };
15980
15981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15984 arg2 = (int const) SWIG_AsInt(obj1);
15985 if (PyErr_Occurred()) SWIG_fail;
15986 if (obj2) {
15987 {
15988 arg3 = &temp3;
15989 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15990 }
15991 }
15992 if (obj3) {
15993 {
15994 arg4 = &temp4;
15995 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15996 }
15997 }
15998 if (obj4) {
15999 arg5 = (long) SWIG_AsLong(obj4);
16000 if (PyErr_Occurred()) SWIG_fail;
16001 }
16002 if (obj5) {
16003 {
16004 arg6 = wxString_in_helper(obj5);
16005 if (arg6 == NULL) SWIG_fail;
16006 temp6 = True;
16007 }
16008 }
16009 {
16010 PyThreadState* __tstate = wxPyBeginAllowThreads();
16011 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16012
16013 wxPyEndAllowThreads(__tstate);
16014 if (PyErr_Occurred()) SWIG_fail;
16015 }
16016 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16017 {
16018 if (temp6)
16019 delete arg6;
16020 }
16021 return resultobj;
16022 fail:
16023 {
16024 if (temp6)
16025 delete arg6;
16026 }
16027 return NULL;
16028 }
16029
16030
16031 static PyObject *_wrap_new_PrePyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
16032 PyObject *resultobj;
16033 wxPyPanel *result;
16034 char *kwnames[] = {
16035 NULL
16036 };
16037
16038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
16039 {
16040 PyThreadState* __tstate = wxPyBeginAllowThreads();
16041 result = (wxPyPanel *)new wxPyPanel();
16042
16043 wxPyEndAllowThreads(__tstate);
16044 if (PyErr_Occurred()) SWIG_fail;
16045 }
16046 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16047 return resultobj;
16048 fail:
16049 return NULL;
16050 }
16051
16052
16053 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16054 PyObject *resultobj;
16055 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16056 PyObject *arg2 = (PyObject *) 0 ;
16057 PyObject *arg3 = (PyObject *) 0 ;
16058 PyObject * obj0 = 0 ;
16059 PyObject * obj1 = 0 ;
16060 PyObject * obj2 = 0 ;
16061 char *kwnames[] = {
16062 (char *) "self",(char *) "self",(char *) "_class", NULL
16063 };
16064
16065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16068 arg2 = obj1;
16069 arg3 = obj2;
16070 {
16071 PyThreadState* __tstate = wxPyBeginAllowThreads();
16072 (arg1)->_setCallbackInfo(arg2,arg3);
16073
16074 wxPyEndAllowThreads(__tstate);
16075 if (PyErr_Occurred()) SWIG_fail;
16076 }
16077 Py_INCREF(Py_None); resultobj = Py_None;
16078 return resultobj;
16079 fail:
16080 return NULL;
16081 }
16082
16083
16084 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16085 PyObject *resultobj;
16086 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16087 int arg2 ;
16088 int arg3 ;
16089 int arg4 ;
16090 int arg5 ;
16091 PyObject * obj0 = 0 ;
16092 PyObject * obj1 = 0 ;
16093 PyObject * obj2 = 0 ;
16094 PyObject * obj3 = 0 ;
16095 PyObject * obj4 = 0 ;
16096 char *kwnames[] = {
16097 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16098 };
16099
16100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16103 arg2 = (int) SWIG_AsInt(obj1);
16104 if (PyErr_Occurred()) SWIG_fail;
16105 arg3 = (int) SWIG_AsInt(obj2);
16106 if (PyErr_Occurred()) SWIG_fail;
16107 arg4 = (int) SWIG_AsInt(obj3);
16108 if (PyErr_Occurred()) SWIG_fail;
16109 arg5 = (int) SWIG_AsInt(obj4);
16110 if (PyErr_Occurred()) SWIG_fail;
16111 {
16112 PyThreadState* __tstate = wxPyBeginAllowThreads();
16113 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16114
16115 wxPyEndAllowThreads(__tstate);
16116 if (PyErr_Occurred()) SWIG_fail;
16117 }
16118 Py_INCREF(Py_None); resultobj = Py_None;
16119 return resultobj;
16120 fail:
16121 return NULL;
16122 }
16123
16124
16125 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16126 PyObject *resultobj;
16127 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16128 int arg2 ;
16129 int arg3 ;
16130 int arg4 ;
16131 int arg5 ;
16132 int arg6 = (int) wxSIZE_AUTO ;
16133 PyObject * obj0 = 0 ;
16134 PyObject * obj1 = 0 ;
16135 PyObject * obj2 = 0 ;
16136 PyObject * obj3 = 0 ;
16137 PyObject * obj4 = 0 ;
16138 PyObject * obj5 = 0 ;
16139 char *kwnames[] = {
16140 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16141 };
16142
16143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16146 arg2 = (int) SWIG_AsInt(obj1);
16147 if (PyErr_Occurred()) SWIG_fail;
16148 arg3 = (int) SWIG_AsInt(obj2);
16149 if (PyErr_Occurred()) SWIG_fail;
16150 arg4 = (int) SWIG_AsInt(obj3);
16151 if (PyErr_Occurred()) SWIG_fail;
16152 arg5 = (int) SWIG_AsInt(obj4);
16153 if (PyErr_Occurred()) SWIG_fail;
16154 if (obj5) {
16155 arg6 = (int) SWIG_AsInt(obj5);
16156 if (PyErr_Occurred()) SWIG_fail;
16157 }
16158 {
16159 PyThreadState* __tstate = wxPyBeginAllowThreads();
16160 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16161
16162 wxPyEndAllowThreads(__tstate);
16163 if (PyErr_Occurred()) SWIG_fail;
16164 }
16165 Py_INCREF(Py_None); resultobj = Py_None;
16166 return resultobj;
16167 fail:
16168 return NULL;
16169 }
16170
16171
16172 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16173 PyObject *resultobj;
16174 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16175 int arg2 ;
16176 int arg3 ;
16177 PyObject * obj0 = 0 ;
16178 PyObject * obj1 = 0 ;
16179 PyObject * obj2 = 0 ;
16180 char *kwnames[] = {
16181 (char *) "self",(char *) "width",(char *) "height", NULL
16182 };
16183
16184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16187 arg2 = (int) SWIG_AsInt(obj1);
16188 if (PyErr_Occurred()) SWIG_fail;
16189 arg3 = (int) SWIG_AsInt(obj2);
16190 if (PyErr_Occurred()) SWIG_fail;
16191 {
16192 PyThreadState* __tstate = wxPyBeginAllowThreads();
16193 (arg1)->base_DoSetClientSize(arg2,arg3);
16194
16195 wxPyEndAllowThreads(__tstate);
16196 if (PyErr_Occurred()) SWIG_fail;
16197 }
16198 Py_INCREF(Py_None); resultobj = Py_None;
16199 return resultobj;
16200 fail:
16201 return NULL;
16202 }
16203
16204
16205 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16206 PyObject *resultobj;
16207 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16208 int arg2 ;
16209 int arg3 ;
16210 PyObject * obj0 = 0 ;
16211 PyObject * obj1 = 0 ;
16212 PyObject * obj2 = 0 ;
16213 char *kwnames[] = {
16214 (char *) "self",(char *) "x",(char *) "y", NULL
16215 };
16216
16217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16220 arg2 = (int) SWIG_AsInt(obj1);
16221 if (PyErr_Occurred()) SWIG_fail;
16222 arg3 = (int) SWIG_AsInt(obj2);
16223 if (PyErr_Occurred()) SWIG_fail;
16224 {
16225 PyThreadState* __tstate = wxPyBeginAllowThreads();
16226 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16227
16228 wxPyEndAllowThreads(__tstate);
16229 if (PyErr_Occurred()) SWIG_fail;
16230 }
16231 Py_INCREF(Py_None); resultobj = Py_None;
16232 return resultobj;
16233 fail:
16234 return NULL;
16235 }
16236
16237
16238 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16239 PyObject *resultobj;
16240 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16241 int *arg2 = (int *) 0 ;
16242 int *arg3 = (int *) 0 ;
16243 int temp2 ;
16244 int temp3 ;
16245 PyObject * obj0 = 0 ;
16246 char *kwnames[] = {
16247 (char *) "self", NULL
16248 };
16249
16250 arg2 = &temp2;
16251 arg3 = &temp3;
16252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
16253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16255 {
16256 PyThreadState* __tstate = wxPyBeginAllowThreads();
16257 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
16258
16259 wxPyEndAllowThreads(__tstate);
16260 if (PyErr_Occurred()) SWIG_fail;
16261 }
16262 Py_INCREF(Py_None); resultobj = Py_None;
16263 {
16264 PyObject *o = PyInt_FromLong((long) (*arg2));
16265 resultobj = t_output_helper(resultobj,o);
16266 }
16267 {
16268 PyObject *o = PyInt_FromLong((long) (*arg3));
16269 resultobj = t_output_helper(resultobj,o);
16270 }
16271 return resultobj;
16272 fail:
16273 return NULL;
16274 }
16275
16276
16277 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16278 PyObject *resultobj;
16279 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16280 int *arg2 = (int *) 0 ;
16281 int *arg3 = (int *) 0 ;
16282 int temp2 ;
16283 int temp3 ;
16284 PyObject * obj0 = 0 ;
16285 char *kwnames[] = {
16286 (char *) "self", NULL
16287 };
16288
16289 arg2 = &temp2;
16290 arg3 = &temp3;
16291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16294 {
16295 PyThreadState* __tstate = wxPyBeginAllowThreads();
16296 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
16297
16298 wxPyEndAllowThreads(__tstate);
16299 if (PyErr_Occurred()) SWIG_fail;
16300 }
16301 Py_INCREF(Py_None); resultobj = Py_None;
16302 {
16303 PyObject *o = PyInt_FromLong((long) (*arg2));
16304 resultobj = t_output_helper(resultobj,o);
16305 }
16306 {
16307 PyObject *o = PyInt_FromLong((long) (*arg3));
16308 resultobj = t_output_helper(resultobj,o);
16309 }
16310 return resultobj;
16311 fail:
16312 return NULL;
16313 }
16314
16315
16316 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16317 PyObject *resultobj;
16318 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16319 int *arg2 = (int *) 0 ;
16320 int *arg3 = (int *) 0 ;
16321 int temp2 ;
16322 int temp3 ;
16323 PyObject * obj0 = 0 ;
16324 char *kwnames[] = {
16325 (char *) "self", NULL
16326 };
16327
16328 arg2 = &temp2;
16329 arg3 = &temp3;
16330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
16331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16333 {
16334 PyThreadState* __tstate = wxPyBeginAllowThreads();
16335 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
16336
16337 wxPyEndAllowThreads(__tstate);
16338 if (PyErr_Occurred()) SWIG_fail;
16339 }
16340 Py_INCREF(Py_None); resultobj = Py_None;
16341 {
16342 PyObject *o = PyInt_FromLong((long) (*arg2));
16343 resultobj = t_output_helper(resultobj,o);
16344 }
16345 {
16346 PyObject *o = PyInt_FromLong((long) (*arg3));
16347 resultobj = t_output_helper(resultobj,o);
16348 }
16349 return resultobj;
16350 fail:
16351 return NULL;
16352 }
16353
16354
16355 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16356 PyObject *resultobj;
16357 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16358 wxSize result;
16359 PyObject * obj0 = 0 ;
16360 char *kwnames[] = {
16361 (char *) "self", NULL
16362 };
16363
16364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",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 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
16370
16371 wxPyEndAllowThreads(__tstate);
16372 if (PyErr_Occurred()) SWIG_fail;
16373 }
16374 {
16375 wxSize * resultptr;
16376 resultptr = new wxSize((wxSize &) result);
16377 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16378 }
16379 return resultobj;
16380 fail:
16381 return NULL;
16382 }
16383
16384
16385 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16386 PyObject *resultobj;
16387 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16388 wxSize result;
16389 PyObject * obj0 = 0 ;
16390 char *kwnames[] = {
16391 (char *) "self", NULL
16392 };
16393
16394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16397 {
16398 PyThreadState* __tstate = wxPyBeginAllowThreads();
16399 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
16400
16401 wxPyEndAllowThreads(__tstate);
16402 if (PyErr_Occurred()) SWIG_fail;
16403 }
16404 {
16405 wxSize * resultptr;
16406 resultptr = new wxSize((wxSize &) result);
16407 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16408 }
16409 return resultobj;
16410 fail:
16411 return NULL;
16412 }
16413
16414
16415 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16416 PyObject *resultobj;
16417 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16418 PyObject * obj0 = 0 ;
16419 char *kwnames[] = {
16420 (char *) "self", NULL
16421 };
16422
16423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
16424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16426 {
16427 PyThreadState* __tstate = wxPyBeginAllowThreads();
16428 (arg1)->base_InitDialog();
16429
16430 wxPyEndAllowThreads(__tstate);
16431 if (PyErr_Occurred()) SWIG_fail;
16432 }
16433 Py_INCREF(Py_None); resultobj = Py_None;
16434 return resultobj;
16435 fail:
16436 return NULL;
16437 }
16438
16439
16440 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16441 PyObject *resultobj;
16442 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16443 bool result;
16444 PyObject * obj0 = 0 ;
16445 char *kwnames[] = {
16446 (char *) "self", NULL
16447 };
16448
16449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16452 {
16453 PyThreadState* __tstate = wxPyBeginAllowThreads();
16454 result = (bool)(arg1)->base_TransferDataToWindow();
16455
16456 wxPyEndAllowThreads(__tstate);
16457 if (PyErr_Occurred()) SWIG_fail;
16458 }
16459 {
16460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16461 }
16462 return resultobj;
16463 fail:
16464 return NULL;
16465 }
16466
16467
16468 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16469 PyObject *resultobj;
16470 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16471 bool result;
16472 PyObject * obj0 = 0 ;
16473 char *kwnames[] = {
16474 (char *) "self", NULL
16475 };
16476
16477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16480 {
16481 PyThreadState* __tstate = wxPyBeginAllowThreads();
16482 result = (bool)(arg1)->base_TransferDataFromWindow();
16483
16484 wxPyEndAllowThreads(__tstate);
16485 if (PyErr_Occurred()) SWIG_fail;
16486 }
16487 {
16488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16489 }
16490 return resultobj;
16491 fail:
16492 return NULL;
16493 }
16494
16495
16496 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
16497 PyObject *resultobj;
16498 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16499 bool result;
16500 PyObject * obj0 = 0 ;
16501 char *kwnames[] = {
16502 (char *) "self", NULL
16503 };
16504
16505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
16506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16508 {
16509 PyThreadState* __tstate = wxPyBeginAllowThreads();
16510 result = (bool)(arg1)->base_Validate();
16511
16512 wxPyEndAllowThreads(__tstate);
16513 if (PyErr_Occurred()) SWIG_fail;
16514 }
16515 {
16516 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16517 }
16518 return resultobj;
16519 fail:
16520 return NULL;
16521 }
16522
16523
16524 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16525 PyObject *resultobj;
16526 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16527 bool result;
16528 PyObject * obj0 = 0 ;
16529 char *kwnames[] = {
16530 (char *) "self", NULL
16531 };
16532
16533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16536 {
16537 PyThreadState* __tstate = wxPyBeginAllowThreads();
16538 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
16539
16540 wxPyEndAllowThreads(__tstate);
16541 if (PyErr_Occurred()) SWIG_fail;
16542 }
16543 {
16544 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16545 }
16546 return resultobj;
16547 fail:
16548 return NULL;
16549 }
16550
16551
16552 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
16553 PyObject *resultobj;
16554 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16555 bool result;
16556 PyObject * obj0 = 0 ;
16557 char *kwnames[] = {
16558 (char *) "self", NULL
16559 };
16560
16561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16564 {
16565 PyThreadState* __tstate = wxPyBeginAllowThreads();
16566 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
16567
16568 wxPyEndAllowThreads(__tstate);
16569 if (PyErr_Occurred()) SWIG_fail;
16570 }
16571 {
16572 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16573 }
16574 return resultobj;
16575 fail:
16576 return NULL;
16577 }
16578
16579
16580 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16581 PyObject *resultobj;
16582 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16583 wxSize result;
16584 PyObject * obj0 = 0 ;
16585 char *kwnames[] = {
16586 (char *) "self", NULL
16587 };
16588
16589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
16590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16592 {
16593 PyThreadState* __tstate = wxPyBeginAllowThreads();
16594 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
16595
16596 wxPyEndAllowThreads(__tstate);
16597 if (PyErr_Occurred()) SWIG_fail;
16598 }
16599 {
16600 wxSize * resultptr;
16601 resultptr = new wxSize((wxSize &) result);
16602 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16603 }
16604 return resultobj;
16605 fail:
16606 return NULL;
16607 }
16608
16609
16610 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16611 PyObject *resultobj;
16612 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16613 wxWindow *arg2 = (wxWindow *) 0 ;
16614 PyObject * obj0 = 0 ;
16615 PyObject * obj1 = 0 ;
16616 char *kwnames[] = {
16617 (char *) "self",(char *) "child", NULL
16618 };
16619
16620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16623 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16625 {
16626 PyThreadState* __tstate = wxPyBeginAllowThreads();
16627 (arg1)->base_AddChild(arg2);
16628
16629 wxPyEndAllowThreads(__tstate);
16630 if (PyErr_Occurred()) SWIG_fail;
16631 }
16632 Py_INCREF(Py_None); resultobj = Py_None;
16633 return resultobj;
16634 fail:
16635 return NULL;
16636 }
16637
16638
16639 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16640 PyObject *resultobj;
16641 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16642 wxWindow *arg2 = (wxWindow *) 0 ;
16643 PyObject * obj0 = 0 ;
16644 PyObject * obj1 = 0 ;
16645 char *kwnames[] = {
16646 (char *) "self",(char *) "child", NULL
16647 };
16648
16649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16652 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16654 {
16655 PyThreadState* __tstate = wxPyBeginAllowThreads();
16656 (arg1)->base_RemoveChild(arg2);
16657
16658 wxPyEndAllowThreads(__tstate);
16659 if (PyErr_Occurred()) SWIG_fail;
16660 }
16661 Py_INCREF(Py_None); resultobj = Py_None;
16662 return resultobj;
16663 fail:
16664 return NULL;
16665 }
16666
16667
16668 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
16669 PyObject *resultobj;
16670 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16671 bool result;
16672 PyObject * obj0 = 0 ;
16673 char *kwnames[] = {
16674 (char *) "self", NULL
16675 };
16676
16677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16680 {
16681 PyThreadState* __tstate = wxPyBeginAllowThreads();
16682 result = (bool)(arg1)->base_ShouldInheritColours();
16683
16684 wxPyEndAllowThreads(__tstate);
16685 if (PyErr_Occurred()) SWIG_fail;
16686 }
16687 {
16688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16689 }
16690 return resultobj;
16691 fail:
16692 return NULL;
16693 }
16694
16695
16696 static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
16697 PyObject *resultobj;
16698 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16699 wxColour *arg2 = 0 ;
16700 wxColour temp2 ;
16701 PyObject * obj0 = 0 ;
16702 PyObject * obj1 = 0 ;
16703 char *kwnames[] = {
16704 (char *) "self",(char *) "c", NULL
16705 };
16706
16707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16710 {
16711 arg2 = &temp2;
16712 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16713 }
16714 {
16715 PyThreadState* __tstate = wxPyBeginAllowThreads();
16716 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16717
16718 wxPyEndAllowThreads(__tstate);
16719 if (PyErr_Occurred()) SWIG_fail;
16720 }
16721 Py_INCREF(Py_None); resultobj = Py_None;
16722 return resultobj;
16723 fail:
16724 return NULL;
16725 }
16726
16727
16728 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
16729 PyObject *obj;
16730 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16731 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
16732 Py_INCREF(obj);
16733 return Py_BuildValue((char *)"");
16734 }
16735 static PyObject *_wrap_new_PyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16736 PyObject *resultobj;
16737 wxWindow *arg1 = (wxWindow *) 0 ;
16738 int arg2 ;
16739 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16740 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16741 wxSize const &arg4_defvalue = wxDefaultSize ;
16742 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16743 long arg5 = (long) 0 ;
16744 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16745 wxString *arg6 = (wxString *) &arg6_defvalue ;
16746 wxPyScrolledWindow *result;
16747 wxPoint temp3 ;
16748 wxSize temp4 ;
16749 bool temp6 = False ;
16750 PyObject * obj0 = 0 ;
16751 PyObject * obj1 = 0 ;
16752 PyObject * obj2 = 0 ;
16753 PyObject * obj3 = 0 ;
16754 PyObject * obj4 = 0 ;
16755 PyObject * obj5 = 0 ;
16756 char *kwnames[] = {
16757 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16758 };
16759
16760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16763 arg2 = (int const) SWIG_AsInt(obj1);
16764 if (PyErr_Occurred()) SWIG_fail;
16765 if (obj2) {
16766 {
16767 arg3 = &temp3;
16768 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16769 }
16770 }
16771 if (obj3) {
16772 {
16773 arg4 = &temp4;
16774 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16775 }
16776 }
16777 if (obj4) {
16778 arg5 = (long) SWIG_AsLong(obj4);
16779 if (PyErr_Occurred()) SWIG_fail;
16780 }
16781 if (obj5) {
16782 {
16783 arg6 = wxString_in_helper(obj5);
16784 if (arg6 == NULL) SWIG_fail;
16785 temp6 = True;
16786 }
16787 }
16788 {
16789 PyThreadState* __tstate = wxPyBeginAllowThreads();
16790 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16791
16792 wxPyEndAllowThreads(__tstate);
16793 if (PyErr_Occurred()) SWIG_fail;
16794 }
16795 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
16796 {
16797 if (temp6)
16798 delete arg6;
16799 }
16800 return resultobj;
16801 fail:
16802 {
16803 if (temp6)
16804 delete arg6;
16805 }
16806 return NULL;
16807 }
16808
16809
16810 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16811 PyObject *resultobj;
16812 wxPyScrolledWindow *result;
16813 char *kwnames[] = {
16814 NULL
16815 };
16816
16817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
16818 {
16819 PyThreadState* __tstate = wxPyBeginAllowThreads();
16820 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
16821
16822 wxPyEndAllowThreads(__tstate);
16823 if (PyErr_Occurred()) SWIG_fail;
16824 }
16825 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
16826 return resultobj;
16827 fail:
16828 return NULL;
16829 }
16830
16831
16832 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16833 PyObject *resultobj;
16834 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16835 PyObject *arg2 = (PyObject *) 0 ;
16836 PyObject *arg3 = (PyObject *) 0 ;
16837 PyObject * obj0 = 0 ;
16838 PyObject * obj1 = 0 ;
16839 PyObject * obj2 = 0 ;
16840 char *kwnames[] = {
16841 (char *) "self",(char *) "self",(char *) "_class", NULL
16842 };
16843
16844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16847 arg2 = obj1;
16848 arg3 = obj2;
16849 {
16850 PyThreadState* __tstate = wxPyBeginAllowThreads();
16851 (arg1)->_setCallbackInfo(arg2,arg3);
16852
16853 wxPyEndAllowThreads(__tstate);
16854 if (PyErr_Occurred()) SWIG_fail;
16855 }
16856 Py_INCREF(Py_None); resultobj = Py_None;
16857 return resultobj;
16858 fail:
16859 return NULL;
16860 }
16861
16862
16863 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16864 PyObject *resultobj;
16865 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16866 int arg2 ;
16867 int arg3 ;
16868 int arg4 ;
16869 int arg5 ;
16870 PyObject * obj0 = 0 ;
16871 PyObject * obj1 = 0 ;
16872 PyObject * obj2 = 0 ;
16873 PyObject * obj3 = 0 ;
16874 PyObject * obj4 = 0 ;
16875 char *kwnames[] = {
16876 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16877 };
16878
16879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16882 arg2 = (int) SWIG_AsInt(obj1);
16883 if (PyErr_Occurred()) SWIG_fail;
16884 arg3 = (int) SWIG_AsInt(obj2);
16885 if (PyErr_Occurred()) SWIG_fail;
16886 arg4 = (int) SWIG_AsInt(obj3);
16887 if (PyErr_Occurred()) SWIG_fail;
16888 arg5 = (int) SWIG_AsInt(obj4);
16889 if (PyErr_Occurred()) SWIG_fail;
16890 {
16891 PyThreadState* __tstate = wxPyBeginAllowThreads();
16892 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16893
16894 wxPyEndAllowThreads(__tstate);
16895 if (PyErr_Occurred()) SWIG_fail;
16896 }
16897 Py_INCREF(Py_None); resultobj = Py_None;
16898 return resultobj;
16899 fail:
16900 return NULL;
16901 }
16902
16903
16904 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16905 PyObject *resultobj;
16906 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16907 int arg2 ;
16908 int arg3 ;
16909 int arg4 ;
16910 int arg5 ;
16911 int arg6 = (int) wxSIZE_AUTO ;
16912 PyObject * obj0 = 0 ;
16913 PyObject * obj1 = 0 ;
16914 PyObject * obj2 = 0 ;
16915 PyObject * obj3 = 0 ;
16916 PyObject * obj4 = 0 ;
16917 PyObject * obj5 = 0 ;
16918 char *kwnames[] = {
16919 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16920 };
16921
16922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16925 arg2 = (int) SWIG_AsInt(obj1);
16926 if (PyErr_Occurred()) SWIG_fail;
16927 arg3 = (int) SWIG_AsInt(obj2);
16928 if (PyErr_Occurred()) SWIG_fail;
16929 arg4 = (int) SWIG_AsInt(obj3);
16930 if (PyErr_Occurred()) SWIG_fail;
16931 arg5 = (int) SWIG_AsInt(obj4);
16932 if (PyErr_Occurred()) SWIG_fail;
16933 if (obj5) {
16934 arg6 = (int) SWIG_AsInt(obj5);
16935 if (PyErr_Occurred()) SWIG_fail;
16936 }
16937 {
16938 PyThreadState* __tstate = wxPyBeginAllowThreads();
16939 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16940
16941 wxPyEndAllowThreads(__tstate);
16942 if (PyErr_Occurred()) SWIG_fail;
16943 }
16944 Py_INCREF(Py_None); resultobj = Py_None;
16945 return resultobj;
16946 fail:
16947 return NULL;
16948 }
16949
16950
16951 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16952 PyObject *resultobj;
16953 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16954 int arg2 ;
16955 int arg3 ;
16956 PyObject * obj0 = 0 ;
16957 PyObject * obj1 = 0 ;
16958 PyObject * obj2 = 0 ;
16959 char *kwnames[] = {
16960 (char *) "self",(char *) "width",(char *) "height", NULL
16961 };
16962
16963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16966 arg2 = (int) SWIG_AsInt(obj1);
16967 if (PyErr_Occurred()) SWIG_fail;
16968 arg3 = (int) SWIG_AsInt(obj2);
16969 if (PyErr_Occurred()) SWIG_fail;
16970 {
16971 PyThreadState* __tstate = wxPyBeginAllowThreads();
16972 (arg1)->base_DoSetClientSize(arg2,arg3);
16973
16974 wxPyEndAllowThreads(__tstate);
16975 if (PyErr_Occurred()) SWIG_fail;
16976 }
16977 Py_INCREF(Py_None); resultobj = Py_None;
16978 return resultobj;
16979 fail:
16980 return NULL;
16981 }
16982
16983
16984 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16985 PyObject *resultobj;
16986 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16987 int arg2 ;
16988 int arg3 ;
16989 PyObject * obj0 = 0 ;
16990 PyObject * obj1 = 0 ;
16991 PyObject * obj2 = 0 ;
16992 char *kwnames[] = {
16993 (char *) "self",(char *) "x",(char *) "y", NULL
16994 };
16995
16996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16999 arg2 = (int) SWIG_AsInt(obj1);
17000 if (PyErr_Occurred()) SWIG_fail;
17001 arg3 = (int) SWIG_AsInt(obj2);
17002 if (PyErr_Occurred()) SWIG_fail;
17003 {
17004 PyThreadState* __tstate = wxPyBeginAllowThreads();
17005 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17006
17007 wxPyEndAllowThreads(__tstate);
17008 if (PyErr_Occurred()) SWIG_fail;
17009 }
17010 Py_INCREF(Py_None); resultobj = Py_None;
17011 return resultobj;
17012 fail:
17013 return NULL;
17014 }
17015
17016
17017 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17018 PyObject *resultobj;
17019 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17020 int *arg2 = (int *) 0 ;
17021 int *arg3 = (int *) 0 ;
17022 int temp2 ;
17023 int temp3 ;
17024 PyObject * obj0 = 0 ;
17025 char *kwnames[] = {
17026 (char *) "self", NULL
17027 };
17028
17029 arg2 = &temp2;
17030 arg3 = &temp3;
17031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
17032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17034 {
17035 PyThreadState* __tstate = wxPyBeginAllowThreads();
17036 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
17037
17038 wxPyEndAllowThreads(__tstate);
17039 if (PyErr_Occurred()) SWIG_fail;
17040 }
17041 Py_INCREF(Py_None); resultobj = Py_None;
17042 {
17043 PyObject *o = PyInt_FromLong((long) (*arg2));
17044 resultobj = t_output_helper(resultobj,o);
17045 }
17046 {
17047 PyObject *o = PyInt_FromLong((long) (*arg3));
17048 resultobj = t_output_helper(resultobj,o);
17049 }
17050 return resultobj;
17051 fail:
17052 return NULL;
17053 }
17054
17055
17056 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17057 PyObject *resultobj;
17058 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17059 int *arg2 = (int *) 0 ;
17060 int *arg3 = (int *) 0 ;
17061 int temp2 ;
17062 int temp3 ;
17063 PyObject * obj0 = 0 ;
17064 char *kwnames[] = {
17065 (char *) "self", NULL
17066 };
17067
17068 arg2 = &temp2;
17069 arg3 = &temp3;
17070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17073 {
17074 PyThreadState* __tstate = wxPyBeginAllowThreads();
17075 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
17076
17077 wxPyEndAllowThreads(__tstate);
17078 if (PyErr_Occurred()) SWIG_fail;
17079 }
17080 Py_INCREF(Py_None); resultobj = Py_None;
17081 {
17082 PyObject *o = PyInt_FromLong((long) (*arg2));
17083 resultobj = t_output_helper(resultobj,o);
17084 }
17085 {
17086 PyObject *o = PyInt_FromLong((long) (*arg3));
17087 resultobj = t_output_helper(resultobj,o);
17088 }
17089 return resultobj;
17090 fail:
17091 return NULL;
17092 }
17093
17094
17095 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17096 PyObject *resultobj;
17097 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17098 int *arg2 = (int *) 0 ;
17099 int *arg3 = (int *) 0 ;
17100 int temp2 ;
17101 int temp3 ;
17102 PyObject * obj0 = 0 ;
17103 char *kwnames[] = {
17104 (char *) "self", NULL
17105 };
17106
17107 arg2 = &temp2;
17108 arg3 = &temp3;
17109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
17110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17112 {
17113 PyThreadState* __tstate = wxPyBeginAllowThreads();
17114 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
17115
17116 wxPyEndAllowThreads(__tstate);
17117 if (PyErr_Occurred()) SWIG_fail;
17118 }
17119 Py_INCREF(Py_None); resultobj = Py_None;
17120 {
17121 PyObject *o = PyInt_FromLong((long) (*arg2));
17122 resultobj = t_output_helper(resultobj,o);
17123 }
17124 {
17125 PyObject *o = PyInt_FromLong((long) (*arg3));
17126 resultobj = t_output_helper(resultobj,o);
17127 }
17128 return resultobj;
17129 fail:
17130 return NULL;
17131 }
17132
17133
17134 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17135 PyObject *resultobj;
17136 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17137 wxSize result;
17138 PyObject * obj0 = 0 ;
17139 char *kwnames[] = {
17140 (char *) "self", NULL
17141 };
17142
17143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",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 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
17149
17150 wxPyEndAllowThreads(__tstate);
17151 if (PyErr_Occurred()) SWIG_fail;
17152 }
17153 {
17154 wxSize * resultptr;
17155 resultptr = new wxSize((wxSize &) result);
17156 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17157 }
17158 return resultobj;
17159 fail:
17160 return NULL;
17161 }
17162
17163
17164 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17165 PyObject *resultobj;
17166 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17167 wxSize result;
17168 PyObject * obj0 = 0 ;
17169 char *kwnames[] = {
17170 (char *) "self", NULL
17171 };
17172
17173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17176 {
17177 PyThreadState* __tstate = wxPyBeginAllowThreads();
17178 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
17179
17180 wxPyEndAllowThreads(__tstate);
17181 if (PyErr_Occurred()) SWIG_fail;
17182 }
17183 {
17184 wxSize * resultptr;
17185 resultptr = new wxSize((wxSize &) result);
17186 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17187 }
17188 return resultobj;
17189 fail:
17190 return NULL;
17191 }
17192
17193
17194 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17195 PyObject *resultobj;
17196 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17197 PyObject * obj0 = 0 ;
17198 char *kwnames[] = {
17199 (char *) "self", NULL
17200 };
17201
17202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
17203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17205 {
17206 PyThreadState* __tstate = wxPyBeginAllowThreads();
17207 (arg1)->base_InitDialog();
17208
17209 wxPyEndAllowThreads(__tstate);
17210 if (PyErr_Occurred()) SWIG_fail;
17211 }
17212 Py_INCREF(Py_None); resultobj = Py_None;
17213 return resultobj;
17214 fail:
17215 return NULL;
17216 }
17217
17218
17219 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17220 PyObject *resultobj;
17221 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17222 bool result;
17223 PyObject * obj0 = 0 ;
17224 char *kwnames[] = {
17225 (char *) "self", NULL
17226 };
17227
17228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17231 {
17232 PyThreadState* __tstate = wxPyBeginAllowThreads();
17233 result = (bool)(arg1)->base_TransferDataToWindow();
17234
17235 wxPyEndAllowThreads(__tstate);
17236 if (PyErr_Occurred()) SWIG_fail;
17237 }
17238 {
17239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17240 }
17241 return resultobj;
17242 fail:
17243 return NULL;
17244 }
17245
17246
17247 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17248 PyObject *resultobj;
17249 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17250 bool result;
17251 PyObject * obj0 = 0 ;
17252 char *kwnames[] = {
17253 (char *) "self", NULL
17254 };
17255
17256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17259 {
17260 PyThreadState* __tstate = wxPyBeginAllowThreads();
17261 result = (bool)(arg1)->base_TransferDataFromWindow();
17262
17263 wxPyEndAllowThreads(__tstate);
17264 if (PyErr_Occurred()) SWIG_fail;
17265 }
17266 {
17267 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17268 }
17269 return resultobj;
17270 fail:
17271 return NULL;
17272 }
17273
17274
17275 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
17276 PyObject *resultobj;
17277 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17278 bool result;
17279 PyObject * obj0 = 0 ;
17280 char *kwnames[] = {
17281 (char *) "self", NULL
17282 };
17283
17284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
17285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17287 {
17288 PyThreadState* __tstate = wxPyBeginAllowThreads();
17289 result = (bool)(arg1)->base_Validate();
17290
17291 wxPyEndAllowThreads(__tstate);
17292 if (PyErr_Occurred()) SWIG_fail;
17293 }
17294 {
17295 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17296 }
17297 return resultobj;
17298 fail:
17299 return NULL;
17300 }
17301
17302
17303 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
17304 PyObject *resultobj;
17305 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17306 bool result;
17307 PyObject * obj0 = 0 ;
17308 char *kwnames[] = {
17309 (char *) "self", NULL
17310 };
17311
17312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17315 {
17316 PyThreadState* __tstate = wxPyBeginAllowThreads();
17317 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
17318
17319 wxPyEndAllowThreads(__tstate);
17320 if (PyErr_Occurred()) SWIG_fail;
17321 }
17322 {
17323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17324 }
17325 return resultobj;
17326 fail:
17327 return NULL;
17328 }
17329
17330
17331 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
17332 PyObject *resultobj;
17333 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17334 bool result;
17335 PyObject * obj0 = 0 ;
17336 char *kwnames[] = {
17337 (char *) "self", NULL
17338 };
17339
17340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17343 {
17344 PyThreadState* __tstate = wxPyBeginAllowThreads();
17345 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
17346
17347 wxPyEndAllowThreads(__tstate);
17348 if (PyErr_Occurred()) SWIG_fail;
17349 }
17350 {
17351 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17352 }
17353 return resultobj;
17354 fail:
17355 return NULL;
17356 }
17357
17358
17359 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17360 PyObject *resultobj;
17361 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17362 wxSize result;
17363 PyObject * obj0 = 0 ;
17364 char *kwnames[] = {
17365 (char *) "self", NULL
17366 };
17367
17368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
17369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17371 {
17372 PyThreadState* __tstate = wxPyBeginAllowThreads();
17373 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
17374
17375 wxPyEndAllowThreads(__tstate);
17376 if (PyErr_Occurred()) SWIG_fail;
17377 }
17378 {
17379 wxSize * resultptr;
17380 resultptr = new wxSize((wxSize &) result);
17381 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17382 }
17383 return resultobj;
17384 fail:
17385 return NULL;
17386 }
17387
17388
17389 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17390 PyObject *resultobj;
17391 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17392 wxWindow *arg2 = (wxWindow *) 0 ;
17393 PyObject * obj0 = 0 ;
17394 PyObject * obj1 = 0 ;
17395 char *kwnames[] = {
17396 (char *) "self",(char *) "child", NULL
17397 };
17398
17399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17402 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17404 {
17405 PyThreadState* __tstate = wxPyBeginAllowThreads();
17406 (arg1)->base_AddChild(arg2);
17407
17408 wxPyEndAllowThreads(__tstate);
17409 if (PyErr_Occurred()) SWIG_fail;
17410 }
17411 Py_INCREF(Py_None); resultobj = Py_None;
17412 return resultobj;
17413 fail:
17414 return NULL;
17415 }
17416
17417
17418 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17419 PyObject *resultobj;
17420 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17421 wxWindow *arg2 = (wxWindow *) 0 ;
17422 PyObject * obj0 = 0 ;
17423 PyObject * obj1 = 0 ;
17424 char *kwnames[] = {
17425 (char *) "self",(char *) "child", NULL
17426 };
17427
17428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17431 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17433 {
17434 PyThreadState* __tstate = wxPyBeginAllowThreads();
17435 (arg1)->base_RemoveChild(arg2);
17436
17437 wxPyEndAllowThreads(__tstate);
17438 if (PyErr_Occurred()) SWIG_fail;
17439 }
17440 Py_INCREF(Py_None); resultobj = Py_None;
17441 return resultobj;
17442 fail:
17443 return NULL;
17444 }
17445
17446
17447 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
17448 PyObject *resultobj;
17449 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17450 bool result;
17451 PyObject * obj0 = 0 ;
17452 char *kwnames[] = {
17453 (char *) "self", NULL
17454 };
17455
17456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17459 {
17460 PyThreadState* __tstate = wxPyBeginAllowThreads();
17461 result = (bool)(arg1)->base_ShouldInheritColours();
17462
17463 wxPyEndAllowThreads(__tstate);
17464 if (PyErr_Occurred()) SWIG_fail;
17465 }
17466 {
17467 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17468 }
17469 return resultobj;
17470 fail:
17471 return NULL;
17472 }
17473
17474
17475 static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
17476 PyObject *resultobj;
17477 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17478 wxColour *arg2 = 0 ;
17479 wxColour temp2 ;
17480 PyObject * obj0 = 0 ;
17481 PyObject * obj1 = 0 ;
17482 char *kwnames[] = {
17483 (char *) "self",(char *) "c", NULL
17484 };
17485
17486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17489 {
17490 arg2 = &temp2;
17491 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17492 }
17493 {
17494 PyThreadState* __tstate = wxPyBeginAllowThreads();
17495 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17496
17497 wxPyEndAllowThreads(__tstate);
17498 if (PyErr_Occurred()) SWIG_fail;
17499 }
17500 Py_INCREF(Py_None); resultobj = Py_None;
17501 return resultobj;
17502 fail:
17503 return NULL;
17504 }
17505
17506
17507 static PyObject * PyScrolledWindow_swigregister(PyObject *self, PyObject *args) {
17508 PyObject *obj;
17509 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17510 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
17511 Py_INCREF(obj);
17512 return Py_BuildValue((char *)"");
17513 }
17514 static int _wrap_PrintoutTitleStr_set(PyObject *_val) {
17515 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
17516 return 1;
17517 }
17518
17519
17520 static PyObject *_wrap_PrintoutTitleStr_get() {
17521 PyObject *pyobj;
17522
17523 {
17524 #if wxUSE_UNICODE
17525 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17526 #else
17527 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17528 #endif
17529 }
17530 return pyobj;
17531 }
17532
17533
17534 static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) {
17535 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
17536 return 1;
17537 }
17538
17539
17540 static PyObject *_wrap_PreviewCanvasNameStr_get() {
17541 PyObject *pyobj;
17542
17543 {
17544 #if wxUSE_UNICODE
17545 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17546 #else
17547 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17548 #endif
17549 }
17550 return pyobj;
17551 }
17552
17553
17554 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17555 PyObject *resultobj;
17556 wxPrintData *result;
17557 char *kwnames[] = {
17558 NULL
17559 };
17560
17561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
17562 {
17563 PyThreadState* __tstate = wxPyBeginAllowThreads();
17564 result = (wxPrintData *)new wxPrintData();
17565
17566 wxPyEndAllowThreads(__tstate);
17567 if (PyErr_Occurred()) SWIG_fail;
17568 }
17569 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
17570 return resultobj;
17571 fail:
17572 return NULL;
17573 }
17574
17575
17576 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17577 PyObject *resultobj;
17578 wxPrintData *arg1 = (wxPrintData *) 0 ;
17579 PyObject * obj0 = 0 ;
17580 char *kwnames[] = {
17581 (char *) "self", NULL
17582 };
17583
17584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
17585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17587 {
17588 PyThreadState* __tstate = wxPyBeginAllowThreads();
17589 delete arg1;
17590
17591 wxPyEndAllowThreads(__tstate);
17592 if (PyErr_Occurred()) SWIG_fail;
17593 }
17594 Py_INCREF(Py_None); resultobj = Py_None;
17595 return resultobj;
17596 fail:
17597 return NULL;
17598 }
17599
17600
17601 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17602 PyObject *resultobj;
17603 wxPrintData *arg1 = (wxPrintData *) 0 ;
17604 int result;
17605 PyObject * obj0 = 0 ;
17606 char *kwnames[] = {
17607 (char *) "self", NULL
17608 };
17609
17610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
17611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17613 {
17614 PyThreadState* __tstate = wxPyBeginAllowThreads();
17615 result = (int)(arg1)->GetNoCopies();
17616
17617 wxPyEndAllowThreads(__tstate);
17618 if (PyErr_Occurred()) SWIG_fail;
17619 }
17620 resultobj = SWIG_FromInt((int)result);
17621 return resultobj;
17622 fail:
17623 return NULL;
17624 }
17625
17626
17627 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17628 PyObject *resultobj;
17629 wxPrintData *arg1 = (wxPrintData *) 0 ;
17630 bool result;
17631 PyObject * obj0 = 0 ;
17632 char *kwnames[] = {
17633 (char *) "self", NULL
17634 };
17635
17636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
17637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17639 {
17640 PyThreadState* __tstate = wxPyBeginAllowThreads();
17641 result = (bool)(arg1)->GetCollate();
17642
17643 wxPyEndAllowThreads(__tstate);
17644 if (PyErr_Occurred()) SWIG_fail;
17645 }
17646 {
17647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17648 }
17649 return resultobj;
17650 fail:
17651 return NULL;
17652 }
17653
17654
17655 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17656 PyObject *resultobj;
17657 wxPrintData *arg1 = (wxPrintData *) 0 ;
17658 int result;
17659 PyObject * obj0 = 0 ;
17660 char *kwnames[] = {
17661 (char *) "self", NULL
17662 };
17663
17664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
17665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17667 {
17668 PyThreadState* __tstate = wxPyBeginAllowThreads();
17669 result = (int)(arg1)->GetOrientation();
17670
17671 wxPyEndAllowThreads(__tstate);
17672 if (PyErr_Occurred()) SWIG_fail;
17673 }
17674 resultobj = SWIG_FromInt((int)result);
17675 return resultobj;
17676 fail:
17677 return NULL;
17678 }
17679
17680
17681 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
17682 PyObject *resultobj;
17683 wxPrintData *arg1 = (wxPrintData *) 0 ;
17684 bool result;
17685 PyObject * obj0 = 0 ;
17686 char *kwnames[] = {
17687 (char *) "self", NULL
17688 };
17689
17690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
17691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17693 {
17694 PyThreadState* __tstate = wxPyBeginAllowThreads();
17695 result = (bool)(arg1)->Ok();
17696
17697 wxPyEndAllowThreads(__tstate);
17698 if (PyErr_Occurred()) SWIG_fail;
17699 }
17700 {
17701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17702 }
17703 return resultobj;
17704 fail:
17705 return NULL;
17706 }
17707
17708
17709 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
17710 PyObject *resultobj;
17711 wxPrintData *arg1 = (wxPrintData *) 0 ;
17712 wxString *result;
17713 PyObject * obj0 = 0 ;
17714 char *kwnames[] = {
17715 (char *) "self", NULL
17716 };
17717
17718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
17719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17721 {
17722 PyThreadState* __tstate = wxPyBeginAllowThreads();
17723 {
17724 wxString const &_result_ref = (arg1)->GetPrinterName();
17725 result = (wxString *) &_result_ref;
17726 }
17727
17728 wxPyEndAllowThreads(__tstate);
17729 if (PyErr_Occurred()) SWIG_fail;
17730 }
17731 {
17732 #if wxUSE_UNICODE
17733 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17734 #else
17735 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17736 #endif
17737 }
17738 return resultobj;
17739 fail:
17740 return NULL;
17741 }
17742
17743
17744 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17745 PyObject *resultobj;
17746 wxPrintData *arg1 = (wxPrintData *) 0 ;
17747 bool result;
17748 PyObject * obj0 = 0 ;
17749 char *kwnames[] = {
17750 (char *) "self", NULL
17751 };
17752
17753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
17754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17756 {
17757 PyThreadState* __tstate = wxPyBeginAllowThreads();
17758 result = (bool)(arg1)->GetColour();
17759
17760 wxPyEndAllowThreads(__tstate);
17761 if (PyErr_Occurred()) SWIG_fail;
17762 }
17763 {
17764 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17765 }
17766 return resultobj;
17767 fail:
17768 return NULL;
17769 }
17770
17771
17772 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
17773 PyObject *resultobj;
17774 wxPrintData *arg1 = (wxPrintData *) 0 ;
17775 int result;
17776 PyObject * obj0 = 0 ;
17777 char *kwnames[] = {
17778 (char *) "self", NULL
17779 };
17780
17781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
17782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17784 {
17785 PyThreadState* __tstate = wxPyBeginAllowThreads();
17786 result = (int)(arg1)->GetDuplex();
17787
17788 wxPyEndAllowThreads(__tstate);
17789 if (PyErr_Occurred()) SWIG_fail;
17790 }
17791 resultobj = SWIG_FromInt((int)result);
17792 return resultobj;
17793 fail:
17794 return NULL;
17795 }
17796
17797
17798 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
17799 PyObject *resultobj;
17800 wxPrintData *arg1 = (wxPrintData *) 0 ;
17801 int result;
17802 PyObject * obj0 = 0 ;
17803 char *kwnames[] = {
17804 (char *) "self", NULL
17805 };
17806
17807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
17808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17810 {
17811 PyThreadState* __tstate = wxPyBeginAllowThreads();
17812 result = (int)(arg1)->GetPaperId();
17813
17814 wxPyEndAllowThreads(__tstate);
17815 if (PyErr_Occurred()) SWIG_fail;
17816 }
17817 resultobj = SWIG_FromInt((int)result);
17818 return resultobj;
17819 fail:
17820 return NULL;
17821 }
17822
17823
17824 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17825 PyObject *resultobj;
17826 wxPrintData *arg1 = (wxPrintData *) 0 ;
17827 wxSize *result;
17828 PyObject * obj0 = 0 ;
17829 char *kwnames[] = {
17830 (char *) "self", NULL
17831 };
17832
17833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
17834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17836 {
17837 PyThreadState* __tstate = wxPyBeginAllowThreads();
17838 {
17839 wxSize const &_result_ref = (arg1)->GetPaperSize();
17840 result = (wxSize *) &_result_ref;
17841 }
17842
17843 wxPyEndAllowThreads(__tstate);
17844 if (PyErr_Occurred()) SWIG_fail;
17845 }
17846 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
17847 return resultobj;
17848 fail:
17849 return NULL;
17850 }
17851
17852
17853 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
17854 PyObject *resultobj;
17855 wxPrintData *arg1 = (wxPrintData *) 0 ;
17856 int result;
17857 PyObject * obj0 = 0 ;
17858 char *kwnames[] = {
17859 (char *) "self", NULL
17860 };
17861
17862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
17863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17865 {
17866 PyThreadState* __tstate = wxPyBeginAllowThreads();
17867 result = (int)(arg1)->GetQuality();
17868
17869 wxPyEndAllowThreads(__tstate);
17870 if (PyErr_Occurred()) SWIG_fail;
17871 }
17872 resultobj = SWIG_FromInt((int)result);
17873 return resultobj;
17874 fail:
17875 return NULL;
17876 }
17877
17878
17879 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17880 PyObject *resultobj;
17881 wxPrintData *arg1 = (wxPrintData *) 0 ;
17882 int arg2 ;
17883 PyObject * obj0 = 0 ;
17884 PyObject * obj1 = 0 ;
17885 char *kwnames[] = {
17886 (char *) "self",(char *) "v", NULL
17887 };
17888
17889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
17890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17892 arg2 = (int) SWIG_AsInt(obj1);
17893 if (PyErr_Occurred()) SWIG_fail;
17894 {
17895 PyThreadState* __tstate = wxPyBeginAllowThreads();
17896 (arg1)->SetNoCopies(arg2);
17897
17898 wxPyEndAllowThreads(__tstate);
17899 if (PyErr_Occurred()) SWIG_fail;
17900 }
17901 Py_INCREF(Py_None); resultobj = Py_None;
17902 return resultobj;
17903 fail:
17904 return NULL;
17905 }
17906
17907
17908 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17909 PyObject *resultobj;
17910 wxPrintData *arg1 = (wxPrintData *) 0 ;
17911 bool arg2 ;
17912 PyObject * obj0 = 0 ;
17913 PyObject * obj1 = 0 ;
17914 char *kwnames[] = {
17915 (char *) "self",(char *) "flag", NULL
17916 };
17917
17918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
17919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17921 arg2 = (bool) SWIG_AsBool(obj1);
17922 if (PyErr_Occurred()) SWIG_fail;
17923 {
17924 PyThreadState* __tstate = wxPyBeginAllowThreads();
17925 (arg1)->SetCollate(arg2);
17926
17927 wxPyEndAllowThreads(__tstate);
17928 if (PyErr_Occurred()) SWIG_fail;
17929 }
17930 Py_INCREF(Py_None); resultobj = Py_None;
17931 return resultobj;
17932 fail:
17933 return NULL;
17934 }
17935
17936
17937 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17938 PyObject *resultobj;
17939 wxPrintData *arg1 = (wxPrintData *) 0 ;
17940 int arg2 ;
17941 PyObject * obj0 = 0 ;
17942 PyObject * obj1 = 0 ;
17943 char *kwnames[] = {
17944 (char *) "self",(char *) "orient", NULL
17945 };
17946
17947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
17948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17950 arg2 = (int) SWIG_AsInt(obj1);
17951 if (PyErr_Occurred()) SWIG_fail;
17952 {
17953 PyThreadState* __tstate = wxPyBeginAllowThreads();
17954 (arg1)->SetOrientation(arg2);
17955
17956 wxPyEndAllowThreads(__tstate);
17957 if (PyErr_Occurred()) SWIG_fail;
17958 }
17959 Py_INCREF(Py_None); resultobj = Py_None;
17960 return resultobj;
17961 fail:
17962 return NULL;
17963 }
17964
17965
17966 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
17967 PyObject *resultobj;
17968 wxPrintData *arg1 = (wxPrintData *) 0 ;
17969 wxString *arg2 = 0 ;
17970 bool temp2 = False ;
17971 PyObject * obj0 = 0 ;
17972 PyObject * obj1 = 0 ;
17973 char *kwnames[] = {
17974 (char *) "self",(char *) "name", NULL
17975 };
17976
17977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
17978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17980 {
17981 arg2 = wxString_in_helper(obj1);
17982 if (arg2 == NULL) SWIG_fail;
17983 temp2 = True;
17984 }
17985 {
17986 PyThreadState* __tstate = wxPyBeginAllowThreads();
17987 (arg1)->SetPrinterName((wxString const &)*arg2);
17988
17989 wxPyEndAllowThreads(__tstate);
17990 if (PyErr_Occurred()) SWIG_fail;
17991 }
17992 Py_INCREF(Py_None); resultobj = Py_None;
17993 {
17994 if (temp2)
17995 delete arg2;
17996 }
17997 return resultobj;
17998 fail:
17999 {
18000 if (temp2)
18001 delete arg2;
18002 }
18003 return NULL;
18004 }
18005
18006
18007 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18008 PyObject *resultobj;
18009 wxPrintData *arg1 = (wxPrintData *) 0 ;
18010 bool arg2 ;
18011 PyObject * obj0 = 0 ;
18012 PyObject * obj1 = 0 ;
18013 char *kwnames[] = {
18014 (char *) "self",(char *) "colour", NULL
18015 };
18016
18017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
18018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18020 arg2 = (bool) SWIG_AsBool(obj1);
18021 if (PyErr_Occurred()) SWIG_fail;
18022 {
18023 PyThreadState* __tstate = wxPyBeginAllowThreads();
18024 (arg1)->SetColour(arg2);
18025
18026 wxPyEndAllowThreads(__tstate);
18027 if (PyErr_Occurred()) SWIG_fail;
18028 }
18029 Py_INCREF(Py_None); resultobj = Py_None;
18030 return resultobj;
18031 fail:
18032 return NULL;
18033 }
18034
18035
18036 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
18037 PyObject *resultobj;
18038 wxPrintData *arg1 = (wxPrintData *) 0 ;
18039 int arg2 ;
18040 PyObject * obj0 = 0 ;
18041 PyObject * obj1 = 0 ;
18042 char *kwnames[] = {
18043 (char *) "self",(char *) "duplex", NULL
18044 };
18045
18046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
18047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18049 arg2 = (wxDuplexMode) SWIG_AsInt(obj1);
18050 if (PyErr_Occurred()) SWIG_fail;
18051 {
18052 PyThreadState* __tstate = wxPyBeginAllowThreads();
18053 (arg1)->SetDuplex((wxDuplexMode )arg2);
18054
18055 wxPyEndAllowThreads(__tstate);
18056 if (PyErr_Occurred()) SWIG_fail;
18057 }
18058 Py_INCREF(Py_None); resultobj = Py_None;
18059 return resultobj;
18060 fail:
18061 return NULL;
18062 }
18063
18064
18065 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18066 PyObject *resultobj;
18067 wxPrintData *arg1 = (wxPrintData *) 0 ;
18068 int arg2 ;
18069 PyObject * obj0 = 0 ;
18070 PyObject * obj1 = 0 ;
18071 char *kwnames[] = {
18072 (char *) "self",(char *) "sizeId", NULL
18073 };
18074
18075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
18076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18078 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
18079 if (PyErr_Occurred()) SWIG_fail;
18080 {
18081 PyThreadState* __tstate = wxPyBeginAllowThreads();
18082 (arg1)->SetPaperId((wxPaperSize )arg2);
18083
18084 wxPyEndAllowThreads(__tstate);
18085 if (PyErr_Occurred()) SWIG_fail;
18086 }
18087 Py_INCREF(Py_None); resultobj = Py_None;
18088 return resultobj;
18089 fail:
18090 return NULL;
18091 }
18092
18093
18094 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18095 PyObject *resultobj;
18096 wxPrintData *arg1 = (wxPrintData *) 0 ;
18097 wxSize *arg2 = 0 ;
18098 wxSize temp2 ;
18099 PyObject * obj0 = 0 ;
18100 PyObject * obj1 = 0 ;
18101 char *kwnames[] = {
18102 (char *) "self",(char *) "sz", NULL
18103 };
18104
18105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
18106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18108 {
18109 arg2 = &temp2;
18110 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18111 }
18112 {
18113 PyThreadState* __tstate = wxPyBeginAllowThreads();
18114 (arg1)->SetPaperSize((wxSize const &)*arg2);
18115
18116 wxPyEndAllowThreads(__tstate);
18117 if (PyErr_Occurred()) SWIG_fail;
18118 }
18119 Py_INCREF(Py_None); resultobj = Py_None;
18120 return resultobj;
18121 fail:
18122 return NULL;
18123 }
18124
18125
18126 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
18127 PyObject *resultobj;
18128 wxPrintData *arg1 = (wxPrintData *) 0 ;
18129 int arg2 ;
18130 PyObject * obj0 = 0 ;
18131 PyObject * obj1 = 0 ;
18132 char *kwnames[] = {
18133 (char *) "self",(char *) "quality", NULL
18134 };
18135
18136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
18137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18139 arg2 = (int) SWIG_AsInt(obj1);
18140 if (PyErr_Occurred()) SWIG_fail;
18141 {
18142 PyThreadState* __tstate = wxPyBeginAllowThreads();
18143 (arg1)->SetQuality(arg2);
18144
18145 wxPyEndAllowThreads(__tstate);
18146 if (PyErr_Occurred()) SWIG_fail;
18147 }
18148 Py_INCREF(Py_None); resultobj = Py_None;
18149 return resultobj;
18150 fail:
18151 return NULL;
18152 }
18153
18154
18155 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18156 PyObject *resultobj;
18157 wxPrintData *arg1 = (wxPrintData *) 0 ;
18158 wxString *result;
18159 PyObject * obj0 = 0 ;
18160 char *kwnames[] = {
18161 (char *) "self", NULL
18162 };
18163
18164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
18165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18167 {
18168 PyThreadState* __tstate = wxPyBeginAllowThreads();
18169 {
18170 wxString const &_result_ref = (arg1)->GetPrinterCommand();
18171 result = (wxString *) &_result_ref;
18172 }
18173
18174 wxPyEndAllowThreads(__tstate);
18175 if (PyErr_Occurred()) SWIG_fail;
18176 }
18177 {
18178 #if wxUSE_UNICODE
18179 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18180 #else
18181 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18182 #endif
18183 }
18184 return resultobj;
18185 fail:
18186 return NULL;
18187 }
18188
18189
18190 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18191 PyObject *resultobj;
18192 wxPrintData *arg1 = (wxPrintData *) 0 ;
18193 wxString *result;
18194 PyObject * obj0 = 0 ;
18195 char *kwnames[] = {
18196 (char *) "self", NULL
18197 };
18198
18199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
18200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18202 {
18203 PyThreadState* __tstate = wxPyBeginAllowThreads();
18204 {
18205 wxString const &_result_ref = (arg1)->GetPrinterOptions();
18206 result = (wxString *) &_result_ref;
18207 }
18208
18209 wxPyEndAllowThreads(__tstate);
18210 if (PyErr_Occurred()) SWIG_fail;
18211 }
18212 {
18213 #if wxUSE_UNICODE
18214 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18215 #else
18216 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18217 #endif
18218 }
18219 return resultobj;
18220 fail:
18221 return NULL;
18222 }
18223
18224
18225 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18226 PyObject *resultobj;
18227 wxPrintData *arg1 = (wxPrintData *) 0 ;
18228 wxString *result;
18229 PyObject * obj0 = 0 ;
18230 char *kwnames[] = {
18231 (char *) "self", NULL
18232 };
18233
18234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
18235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18237 {
18238 PyThreadState* __tstate = wxPyBeginAllowThreads();
18239 {
18240 wxString const &_result_ref = (arg1)->GetPreviewCommand();
18241 result = (wxString *) &_result_ref;
18242 }
18243
18244 wxPyEndAllowThreads(__tstate);
18245 if (PyErr_Occurred()) SWIG_fail;
18246 }
18247 {
18248 #if wxUSE_UNICODE
18249 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18250 #else
18251 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18252 #endif
18253 }
18254 return resultobj;
18255 fail:
18256 return NULL;
18257 }
18258
18259
18260 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18261 PyObject *resultobj;
18262 wxPrintData *arg1 = (wxPrintData *) 0 ;
18263 wxString *result;
18264 PyObject * obj0 = 0 ;
18265 char *kwnames[] = {
18266 (char *) "self", NULL
18267 };
18268
18269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
18270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18272 {
18273 PyThreadState* __tstate = wxPyBeginAllowThreads();
18274 {
18275 wxString const &_result_ref = (arg1)->GetFilename();
18276 result = (wxString *) &_result_ref;
18277 }
18278
18279 wxPyEndAllowThreads(__tstate);
18280 if (PyErr_Occurred()) SWIG_fail;
18281 }
18282 {
18283 #if wxUSE_UNICODE
18284 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18285 #else
18286 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18287 #endif
18288 }
18289 return resultobj;
18290 fail:
18291 return NULL;
18292 }
18293
18294
18295 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18296 PyObject *resultobj;
18297 wxPrintData *arg1 = (wxPrintData *) 0 ;
18298 wxString *result;
18299 PyObject * obj0 = 0 ;
18300 char *kwnames[] = {
18301 (char *) "self", NULL
18302 };
18303
18304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
18305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18307 {
18308 PyThreadState* __tstate = wxPyBeginAllowThreads();
18309 {
18310 wxString const &_result_ref = (arg1)->GetFontMetricPath();
18311 result = (wxString *) &_result_ref;
18312 }
18313
18314 wxPyEndAllowThreads(__tstate);
18315 if (PyErr_Occurred()) SWIG_fail;
18316 }
18317 {
18318 #if wxUSE_UNICODE
18319 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18320 #else
18321 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18322 #endif
18323 }
18324 return resultobj;
18325 fail:
18326 return NULL;
18327 }
18328
18329
18330 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18331 PyObject *resultobj;
18332 wxPrintData *arg1 = (wxPrintData *) 0 ;
18333 double result;
18334 PyObject * obj0 = 0 ;
18335 char *kwnames[] = {
18336 (char *) "self", NULL
18337 };
18338
18339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
18340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18342 {
18343 PyThreadState* __tstate = wxPyBeginAllowThreads();
18344 result = (double)(arg1)->GetPrinterScaleX();
18345
18346 wxPyEndAllowThreads(__tstate);
18347 if (PyErr_Occurred()) SWIG_fail;
18348 }
18349 resultobj = SWIG_FromDouble((double)result);
18350 return resultobj;
18351 fail:
18352 return NULL;
18353 }
18354
18355
18356 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18357 PyObject *resultobj;
18358 wxPrintData *arg1 = (wxPrintData *) 0 ;
18359 double result;
18360 PyObject * obj0 = 0 ;
18361 char *kwnames[] = {
18362 (char *) "self", NULL
18363 };
18364
18365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
18366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18368 {
18369 PyThreadState* __tstate = wxPyBeginAllowThreads();
18370 result = (double)(arg1)->GetPrinterScaleY();
18371
18372 wxPyEndAllowThreads(__tstate);
18373 if (PyErr_Occurred()) SWIG_fail;
18374 }
18375 resultobj = SWIG_FromDouble((double)result);
18376 return resultobj;
18377 fail:
18378 return NULL;
18379 }
18380
18381
18382 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
18383 PyObject *resultobj;
18384 wxPrintData *arg1 = (wxPrintData *) 0 ;
18385 long result;
18386 PyObject * obj0 = 0 ;
18387 char *kwnames[] = {
18388 (char *) "self", NULL
18389 };
18390
18391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
18392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18394 {
18395 PyThreadState* __tstate = wxPyBeginAllowThreads();
18396 result = (long)(arg1)->GetPrinterTranslateX();
18397
18398 wxPyEndAllowThreads(__tstate);
18399 if (PyErr_Occurred()) SWIG_fail;
18400 }
18401 resultobj = SWIG_FromLong((long)result);
18402 return resultobj;
18403 fail:
18404 return NULL;
18405 }
18406
18407
18408 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
18409 PyObject *resultobj;
18410 wxPrintData *arg1 = (wxPrintData *) 0 ;
18411 long result;
18412 PyObject * obj0 = 0 ;
18413 char *kwnames[] = {
18414 (char *) "self", NULL
18415 };
18416
18417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
18418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18420 {
18421 PyThreadState* __tstate = wxPyBeginAllowThreads();
18422 result = (long)(arg1)->GetPrinterTranslateY();
18423
18424 wxPyEndAllowThreads(__tstate);
18425 if (PyErr_Occurred()) SWIG_fail;
18426 }
18427 resultobj = SWIG_FromLong((long)result);
18428 return resultobj;
18429 fail:
18430 return NULL;
18431 }
18432
18433
18434 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18435 PyObject *resultobj;
18436 wxPrintData *arg1 = (wxPrintData *) 0 ;
18437 int result;
18438 PyObject * obj0 = 0 ;
18439 char *kwnames[] = {
18440 (char *) "self", NULL
18441 };
18442
18443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
18444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18446 {
18447 PyThreadState* __tstate = wxPyBeginAllowThreads();
18448 result = (int)(arg1)->GetPrintMode();
18449
18450 wxPyEndAllowThreads(__tstate);
18451 if (PyErr_Occurred()) SWIG_fail;
18452 }
18453 resultobj = SWIG_FromInt((int)result);
18454 return resultobj;
18455 fail:
18456 return NULL;
18457 }
18458
18459
18460 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18461 PyObject *resultobj;
18462 wxPrintData *arg1 = (wxPrintData *) 0 ;
18463 wxString *arg2 = 0 ;
18464 bool temp2 = False ;
18465 PyObject * obj0 = 0 ;
18466 PyObject * obj1 = 0 ;
18467 char *kwnames[] = {
18468 (char *) "self",(char *) "command", NULL
18469 };
18470
18471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
18472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18474 {
18475 arg2 = wxString_in_helper(obj1);
18476 if (arg2 == NULL) SWIG_fail;
18477 temp2 = True;
18478 }
18479 {
18480 PyThreadState* __tstate = wxPyBeginAllowThreads();
18481 (arg1)->SetPrinterCommand((wxString const &)*arg2);
18482
18483 wxPyEndAllowThreads(__tstate);
18484 if (PyErr_Occurred()) SWIG_fail;
18485 }
18486 Py_INCREF(Py_None); resultobj = Py_None;
18487 {
18488 if (temp2)
18489 delete arg2;
18490 }
18491 return resultobj;
18492 fail:
18493 {
18494 if (temp2)
18495 delete arg2;
18496 }
18497 return NULL;
18498 }
18499
18500
18501 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18502 PyObject *resultobj;
18503 wxPrintData *arg1 = (wxPrintData *) 0 ;
18504 wxString *arg2 = 0 ;
18505 bool temp2 = False ;
18506 PyObject * obj0 = 0 ;
18507 PyObject * obj1 = 0 ;
18508 char *kwnames[] = {
18509 (char *) "self",(char *) "options", NULL
18510 };
18511
18512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
18513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18515 {
18516 arg2 = wxString_in_helper(obj1);
18517 if (arg2 == NULL) SWIG_fail;
18518 temp2 = True;
18519 }
18520 {
18521 PyThreadState* __tstate = wxPyBeginAllowThreads();
18522 (arg1)->SetPrinterOptions((wxString const &)*arg2);
18523
18524 wxPyEndAllowThreads(__tstate);
18525 if (PyErr_Occurred()) SWIG_fail;
18526 }
18527 Py_INCREF(Py_None); resultobj = Py_None;
18528 {
18529 if (temp2)
18530 delete arg2;
18531 }
18532 return resultobj;
18533 fail:
18534 {
18535 if (temp2)
18536 delete arg2;
18537 }
18538 return NULL;
18539 }
18540
18541
18542 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18543 PyObject *resultobj;
18544 wxPrintData *arg1 = (wxPrintData *) 0 ;
18545 wxString *arg2 = 0 ;
18546 bool temp2 = False ;
18547 PyObject * obj0 = 0 ;
18548 PyObject * obj1 = 0 ;
18549 char *kwnames[] = {
18550 (char *) "self",(char *) "command", NULL
18551 };
18552
18553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
18554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18556 {
18557 arg2 = wxString_in_helper(obj1);
18558 if (arg2 == NULL) SWIG_fail;
18559 temp2 = True;
18560 }
18561 {
18562 PyThreadState* __tstate = wxPyBeginAllowThreads();
18563 (arg1)->SetPreviewCommand((wxString const &)*arg2);
18564
18565 wxPyEndAllowThreads(__tstate);
18566 if (PyErr_Occurred()) SWIG_fail;
18567 }
18568 Py_INCREF(Py_None); resultobj = Py_None;
18569 {
18570 if (temp2)
18571 delete arg2;
18572 }
18573 return resultobj;
18574 fail:
18575 {
18576 if (temp2)
18577 delete arg2;
18578 }
18579 return NULL;
18580 }
18581
18582
18583 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18584 PyObject *resultobj;
18585 wxPrintData *arg1 = (wxPrintData *) 0 ;
18586 wxString *arg2 = 0 ;
18587 bool temp2 = False ;
18588 PyObject * obj0 = 0 ;
18589 PyObject * obj1 = 0 ;
18590 char *kwnames[] = {
18591 (char *) "self",(char *) "filename", NULL
18592 };
18593
18594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
18595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18597 {
18598 arg2 = wxString_in_helper(obj1);
18599 if (arg2 == NULL) SWIG_fail;
18600 temp2 = True;
18601 }
18602 {
18603 PyThreadState* __tstate = wxPyBeginAllowThreads();
18604 (arg1)->SetFilename((wxString const &)*arg2);
18605
18606 wxPyEndAllowThreads(__tstate);
18607 if (PyErr_Occurred()) SWIG_fail;
18608 }
18609 Py_INCREF(Py_None); resultobj = Py_None;
18610 {
18611 if (temp2)
18612 delete arg2;
18613 }
18614 return resultobj;
18615 fail:
18616 {
18617 if (temp2)
18618 delete arg2;
18619 }
18620 return NULL;
18621 }
18622
18623
18624 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18625 PyObject *resultobj;
18626 wxPrintData *arg1 = (wxPrintData *) 0 ;
18627 wxString *arg2 = 0 ;
18628 bool temp2 = False ;
18629 PyObject * obj0 = 0 ;
18630 PyObject * obj1 = 0 ;
18631 char *kwnames[] = {
18632 (char *) "self",(char *) "path", NULL
18633 };
18634
18635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
18636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18638 {
18639 arg2 = wxString_in_helper(obj1);
18640 if (arg2 == NULL) SWIG_fail;
18641 temp2 = True;
18642 }
18643 {
18644 PyThreadState* __tstate = wxPyBeginAllowThreads();
18645 (arg1)->SetFontMetricPath((wxString const &)*arg2);
18646
18647 wxPyEndAllowThreads(__tstate);
18648 if (PyErr_Occurred()) SWIG_fail;
18649 }
18650 Py_INCREF(Py_None); resultobj = Py_None;
18651 {
18652 if (temp2)
18653 delete arg2;
18654 }
18655 return resultobj;
18656 fail:
18657 {
18658 if (temp2)
18659 delete arg2;
18660 }
18661 return NULL;
18662 }
18663
18664
18665 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18666 PyObject *resultobj;
18667 wxPrintData *arg1 = (wxPrintData *) 0 ;
18668 double arg2 ;
18669 PyObject * obj0 = 0 ;
18670 PyObject * obj1 = 0 ;
18671 char *kwnames[] = {
18672 (char *) "self",(char *) "x", NULL
18673 };
18674
18675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
18676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18678 arg2 = (double) SWIG_AsDouble(obj1);
18679 if (PyErr_Occurred()) SWIG_fail;
18680 {
18681 PyThreadState* __tstate = wxPyBeginAllowThreads();
18682 (arg1)->SetPrinterScaleX(arg2);
18683
18684 wxPyEndAllowThreads(__tstate);
18685 if (PyErr_Occurred()) SWIG_fail;
18686 }
18687 Py_INCREF(Py_None); resultobj = Py_None;
18688 return resultobj;
18689 fail:
18690 return NULL;
18691 }
18692
18693
18694 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18695 PyObject *resultobj;
18696 wxPrintData *arg1 = (wxPrintData *) 0 ;
18697 double arg2 ;
18698 PyObject * obj0 = 0 ;
18699 PyObject * obj1 = 0 ;
18700 char *kwnames[] = {
18701 (char *) "self",(char *) "y", NULL
18702 };
18703
18704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
18705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18707 arg2 = (double) SWIG_AsDouble(obj1);
18708 if (PyErr_Occurred()) SWIG_fail;
18709 {
18710 PyThreadState* __tstate = wxPyBeginAllowThreads();
18711 (arg1)->SetPrinterScaleY(arg2);
18712
18713 wxPyEndAllowThreads(__tstate);
18714 if (PyErr_Occurred()) SWIG_fail;
18715 }
18716 Py_INCREF(Py_None); resultobj = Py_None;
18717 return resultobj;
18718 fail:
18719 return NULL;
18720 }
18721
18722
18723 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
18724 PyObject *resultobj;
18725 wxPrintData *arg1 = (wxPrintData *) 0 ;
18726 double arg2 ;
18727 double arg3 ;
18728 PyObject * obj0 = 0 ;
18729 PyObject * obj1 = 0 ;
18730 PyObject * obj2 = 0 ;
18731 char *kwnames[] = {
18732 (char *) "self",(char *) "x",(char *) "y", NULL
18733 };
18734
18735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
18736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18738 arg2 = (double) SWIG_AsDouble(obj1);
18739 if (PyErr_Occurred()) SWIG_fail;
18740 arg3 = (double) SWIG_AsDouble(obj2);
18741 if (PyErr_Occurred()) SWIG_fail;
18742 {
18743 PyThreadState* __tstate = wxPyBeginAllowThreads();
18744 (arg1)->SetPrinterScaling(arg2,arg3);
18745
18746 wxPyEndAllowThreads(__tstate);
18747 if (PyErr_Occurred()) SWIG_fail;
18748 }
18749 Py_INCREF(Py_None); resultobj = Py_None;
18750 return resultobj;
18751 fail:
18752 return NULL;
18753 }
18754
18755
18756 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
18757 PyObject *resultobj;
18758 wxPrintData *arg1 = (wxPrintData *) 0 ;
18759 long arg2 ;
18760 PyObject * obj0 = 0 ;
18761 PyObject * obj1 = 0 ;
18762 char *kwnames[] = {
18763 (char *) "self",(char *) "x", NULL
18764 };
18765
18766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
18767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18769 arg2 = (long) SWIG_AsLong(obj1);
18770 if (PyErr_Occurred()) SWIG_fail;
18771 {
18772 PyThreadState* __tstate = wxPyBeginAllowThreads();
18773 (arg1)->SetPrinterTranslateX(arg2);
18774
18775 wxPyEndAllowThreads(__tstate);
18776 if (PyErr_Occurred()) SWIG_fail;
18777 }
18778 Py_INCREF(Py_None); resultobj = Py_None;
18779 return resultobj;
18780 fail:
18781 return NULL;
18782 }
18783
18784
18785 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
18786 PyObject *resultobj;
18787 wxPrintData *arg1 = (wxPrintData *) 0 ;
18788 long arg2 ;
18789 PyObject * obj0 = 0 ;
18790 PyObject * obj1 = 0 ;
18791 char *kwnames[] = {
18792 (char *) "self",(char *) "y", NULL
18793 };
18794
18795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
18796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18798 arg2 = (long) SWIG_AsLong(obj1);
18799 if (PyErr_Occurred()) SWIG_fail;
18800 {
18801 PyThreadState* __tstate = wxPyBeginAllowThreads();
18802 (arg1)->SetPrinterTranslateY(arg2);
18803
18804 wxPyEndAllowThreads(__tstate);
18805 if (PyErr_Occurred()) SWIG_fail;
18806 }
18807 Py_INCREF(Py_None); resultobj = Py_None;
18808 return resultobj;
18809 fail:
18810 return NULL;
18811 }
18812
18813
18814 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
18815 PyObject *resultobj;
18816 wxPrintData *arg1 = (wxPrintData *) 0 ;
18817 long arg2 ;
18818 long arg3 ;
18819 PyObject * obj0 = 0 ;
18820 PyObject * obj1 = 0 ;
18821 PyObject * obj2 = 0 ;
18822 char *kwnames[] = {
18823 (char *) "self",(char *) "x",(char *) "y", NULL
18824 };
18825
18826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
18827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18829 arg2 = (long) SWIG_AsLong(obj1);
18830 if (PyErr_Occurred()) SWIG_fail;
18831 arg3 = (long) SWIG_AsLong(obj2);
18832 if (PyErr_Occurred()) SWIG_fail;
18833 {
18834 PyThreadState* __tstate = wxPyBeginAllowThreads();
18835 (arg1)->SetPrinterTranslation(arg2,arg3);
18836
18837 wxPyEndAllowThreads(__tstate);
18838 if (PyErr_Occurred()) SWIG_fail;
18839 }
18840 Py_INCREF(Py_None); resultobj = Py_None;
18841 return resultobj;
18842 fail:
18843 return NULL;
18844 }
18845
18846
18847 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18848 PyObject *resultobj;
18849 wxPrintData *arg1 = (wxPrintData *) 0 ;
18850 int arg2 ;
18851 PyObject * obj0 = 0 ;
18852 PyObject * obj1 = 0 ;
18853 char *kwnames[] = {
18854 (char *) "self",(char *) "printMode", NULL
18855 };
18856
18857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
18858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18860 arg2 = (wxPrintMode) SWIG_AsInt(obj1);
18861 if (PyErr_Occurred()) SWIG_fail;
18862 {
18863 PyThreadState* __tstate = wxPyBeginAllowThreads();
18864 (arg1)->SetPrintMode((wxPrintMode )arg2);
18865
18866 wxPyEndAllowThreads(__tstate);
18867 if (PyErr_Occurred()) SWIG_fail;
18868 }
18869 Py_INCREF(Py_None); resultobj = Py_None;
18870 return resultobj;
18871 fail:
18872 return NULL;
18873 }
18874
18875
18876 static PyObject *_wrap_PrintData_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
18877 PyObject *resultobj;
18878 wxPrintData *arg1 = (wxPrintData *) 0 ;
18879 wxOutputStream *result;
18880 PyObject * obj0 = 0 ;
18881 char *kwnames[] = {
18882 (char *) "self", NULL
18883 };
18884
18885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
18886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18888 {
18889 PyThreadState* __tstate = wxPyBeginAllowThreads();
18890 result = (wxOutputStream *)(arg1)->GetOutputStream();
18891
18892 wxPyEndAllowThreads(__tstate);
18893 if (PyErr_Occurred()) SWIG_fail;
18894 }
18895 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
18896 return resultobj;
18897 fail:
18898 return NULL;
18899 }
18900
18901
18902 static PyObject *_wrap_PrintData_SetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
18903 PyObject *resultobj;
18904 wxPrintData *arg1 = (wxPrintData *) 0 ;
18905 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
18906 PyObject * obj0 = 0 ;
18907 PyObject * obj1 = 0 ;
18908 char *kwnames[] = {
18909 (char *) "self",(char *) "outputstream", NULL
18910 };
18911
18912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
18913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18915 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
18916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18917 {
18918 PyThreadState* __tstate = wxPyBeginAllowThreads();
18919 (arg1)->SetOutputStream(arg2);
18920
18921 wxPyEndAllowThreads(__tstate);
18922 if (PyErr_Occurred()) SWIG_fail;
18923 }
18924 Py_INCREF(Py_None); resultobj = Py_None;
18925 return resultobj;
18926 fail:
18927 return NULL;
18928 }
18929
18930
18931 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
18932 PyObject *obj;
18933 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18934 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
18935 Py_INCREF(obj);
18936 return Py_BuildValue((char *)"");
18937 }
18938 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18939 PyObject *resultobj;
18940 wxPageSetupDialogData *result;
18941 char *kwnames[] = {
18942 NULL
18943 };
18944
18945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
18946 {
18947 PyThreadState* __tstate = wxPyBeginAllowThreads();
18948 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
18949
18950 wxPyEndAllowThreads(__tstate);
18951 if (PyErr_Occurred()) SWIG_fail;
18952 }
18953 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
18954 return resultobj;
18955 fail:
18956 return NULL;
18957 }
18958
18959
18960 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18961 PyObject *resultobj;
18962 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18963 PyObject * obj0 = 0 ;
18964 char *kwnames[] = {
18965 (char *) "self", NULL
18966 };
18967
18968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
18969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18971 {
18972 PyThreadState* __tstate = wxPyBeginAllowThreads();
18973 delete arg1;
18974
18975 wxPyEndAllowThreads(__tstate);
18976 if (PyErr_Occurred()) SWIG_fail;
18977 }
18978 Py_INCREF(Py_None); resultobj = Py_None;
18979 return resultobj;
18980 fail:
18981 return NULL;
18982 }
18983
18984
18985 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
18986 PyObject *resultobj;
18987 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18988 bool arg2 ;
18989 PyObject * obj0 = 0 ;
18990 PyObject * obj1 = 0 ;
18991 char *kwnames[] = {
18992 (char *) "self",(char *) "flag", NULL
18993 };
18994
18995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
18996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18998 arg2 = (bool) SWIG_AsBool(obj1);
18999 if (PyErr_Occurred()) SWIG_fail;
19000 {
19001 PyThreadState* __tstate = wxPyBeginAllowThreads();
19002 (arg1)->EnableHelp(arg2);
19003
19004 wxPyEndAllowThreads(__tstate);
19005 if (PyErr_Occurred()) SWIG_fail;
19006 }
19007 Py_INCREF(Py_None); resultobj = Py_None;
19008 return resultobj;
19009 fail:
19010 return NULL;
19011 }
19012
19013
19014 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19015 PyObject *resultobj;
19016 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19017 bool arg2 ;
19018 PyObject * obj0 = 0 ;
19019 PyObject * obj1 = 0 ;
19020 char *kwnames[] = {
19021 (char *) "self",(char *) "flag", NULL
19022 };
19023
19024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
19025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19027 arg2 = (bool) SWIG_AsBool(obj1);
19028 if (PyErr_Occurred()) SWIG_fail;
19029 {
19030 PyThreadState* __tstate = wxPyBeginAllowThreads();
19031 (arg1)->EnableMargins(arg2);
19032
19033 wxPyEndAllowThreads(__tstate);
19034 if (PyErr_Occurred()) SWIG_fail;
19035 }
19036 Py_INCREF(Py_None); resultobj = Py_None;
19037 return resultobj;
19038 fail:
19039 return NULL;
19040 }
19041
19042
19043 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
19044 PyObject *resultobj;
19045 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19046 bool arg2 ;
19047 PyObject * obj0 = 0 ;
19048 PyObject * obj1 = 0 ;
19049 char *kwnames[] = {
19050 (char *) "self",(char *) "flag", NULL
19051 };
19052
19053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
19054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19056 arg2 = (bool) SWIG_AsBool(obj1);
19057 if (PyErr_Occurred()) SWIG_fail;
19058 {
19059 PyThreadState* __tstate = wxPyBeginAllowThreads();
19060 (arg1)->EnableOrientation(arg2);
19061
19062 wxPyEndAllowThreads(__tstate);
19063 if (PyErr_Occurred()) SWIG_fail;
19064 }
19065 Py_INCREF(Py_None); resultobj = Py_None;
19066 return resultobj;
19067 fail:
19068 return NULL;
19069 }
19070
19071
19072 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
19073 PyObject *resultobj;
19074 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19075 bool arg2 ;
19076 PyObject * obj0 = 0 ;
19077 PyObject * obj1 = 0 ;
19078 char *kwnames[] = {
19079 (char *) "self",(char *) "flag", NULL
19080 };
19081
19082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
19083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19085 arg2 = (bool) SWIG_AsBool(obj1);
19086 if (PyErr_Occurred()) SWIG_fail;
19087 {
19088 PyThreadState* __tstate = wxPyBeginAllowThreads();
19089 (arg1)->EnablePaper(arg2);
19090
19091 wxPyEndAllowThreads(__tstate);
19092 if (PyErr_Occurred()) SWIG_fail;
19093 }
19094 Py_INCREF(Py_None); resultobj = Py_None;
19095 return resultobj;
19096 fail:
19097 return NULL;
19098 }
19099
19100
19101 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19102 PyObject *resultobj;
19103 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19104 bool arg2 ;
19105 PyObject * obj0 = 0 ;
19106 PyObject * obj1 = 0 ;
19107 char *kwnames[] = {
19108 (char *) "self",(char *) "flag", NULL
19109 };
19110
19111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
19112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19114 arg2 = (bool) SWIG_AsBool(obj1);
19115 if (PyErr_Occurred()) SWIG_fail;
19116 {
19117 PyThreadState* __tstate = wxPyBeginAllowThreads();
19118 (arg1)->EnablePrinter(arg2);
19119
19120 wxPyEndAllowThreads(__tstate);
19121 if (PyErr_Occurred()) SWIG_fail;
19122 }
19123 Py_INCREF(Py_None); resultobj = Py_None;
19124 return resultobj;
19125 fail:
19126 return NULL;
19127 }
19128
19129
19130 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19131 PyObject *resultobj;
19132 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19133 bool result;
19134 PyObject * obj0 = 0 ;
19135 char *kwnames[] = {
19136 (char *) "self", NULL
19137 };
19138
19139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
19140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19142 {
19143 PyThreadState* __tstate = wxPyBeginAllowThreads();
19144 result = (bool)(arg1)->GetDefaultMinMargins();
19145
19146 wxPyEndAllowThreads(__tstate);
19147 if (PyErr_Occurred()) SWIG_fail;
19148 }
19149 {
19150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19151 }
19152 return resultobj;
19153 fail:
19154 return NULL;
19155 }
19156
19157
19158 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19159 PyObject *resultobj;
19160 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19161 bool result;
19162 PyObject * obj0 = 0 ;
19163 char *kwnames[] = {
19164 (char *) "self", NULL
19165 };
19166
19167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
19168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19170 {
19171 PyThreadState* __tstate = wxPyBeginAllowThreads();
19172 result = (bool)(arg1)->GetEnableMargins();
19173
19174 wxPyEndAllowThreads(__tstate);
19175 if (PyErr_Occurred()) SWIG_fail;
19176 }
19177 {
19178 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19179 }
19180 return resultobj;
19181 fail:
19182 return NULL;
19183 }
19184
19185
19186 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
19187 PyObject *resultobj;
19188 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19189 bool result;
19190 PyObject * obj0 = 0 ;
19191 char *kwnames[] = {
19192 (char *) "self", NULL
19193 };
19194
19195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
19196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19198 {
19199 PyThreadState* __tstate = wxPyBeginAllowThreads();
19200 result = (bool)(arg1)->GetEnableOrientation();
19201
19202 wxPyEndAllowThreads(__tstate);
19203 if (PyErr_Occurred()) SWIG_fail;
19204 }
19205 {
19206 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19207 }
19208 return resultobj;
19209 fail:
19210 return NULL;
19211 }
19212
19213
19214 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
19215 PyObject *resultobj;
19216 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19217 bool result;
19218 PyObject * obj0 = 0 ;
19219 char *kwnames[] = {
19220 (char *) "self", NULL
19221 };
19222
19223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
19224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19226 {
19227 PyThreadState* __tstate = wxPyBeginAllowThreads();
19228 result = (bool)(arg1)->GetEnablePaper();
19229
19230 wxPyEndAllowThreads(__tstate);
19231 if (PyErr_Occurred()) SWIG_fail;
19232 }
19233 {
19234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19235 }
19236 return resultobj;
19237 fail:
19238 return NULL;
19239 }
19240
19241
19242 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19243 PyObject *resultobj;
19244 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19245 bool result;
19246 PyObject * obj0 = 0 ;
19247 char *kwnames[] = {
19248 (char *) "self", NULL
19249 };
19250
19251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
19252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19254 {
19255 PyThreadState* __tstate = wxPyBeginAllowThreads();
19256 result = (bool)(arg1)->GetEnablePrinter();
19257
19258 wxPyEndAllowThreads(__tstate);
19259 if (PyErr_Occurred()) SWIG_fail;
19260 }
19261 {
19262 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19263 }
19264 return resultobj;
19265 fail:
19266 return NULL;
19267 }
19268
19269
19270 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19271 PyObject *resultobj;
19272 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19273 bool result;
19274 PyObject * obj0 = 0 ;
19275 char *kwnames[] = {
19276 (char *) "self", NULL
19277 };
19278
19279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
19280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19282 {
19283 PyThreadState* __tstate = wxPyBeginAllowThreads();
19284 result = (bool)(arg1)->GetEnableHelp();
19285
19286 wxPyEndAllowThreads(__tstate);
19287 if (PyErr_Occurred()) SWIG_fail;
19288 }
19289 {
19290 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19291 }
19292 return resultobj;
19293 fail:
19294 return NULL;
19295 }
19296
19297
19298 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19299 PyObject *resultobj;
19300 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19301 bool result;
19302 PyObject * obj0 = 0 ;
19303 char *kwnames[] = {
19304 (char *) "self", NULL
19305 };
19306
19307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
19308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19310 {
19311 PyThreadState* __tstate = wxPyBeginAllowThreads();
19312 result = (bool)(arg1)->GetDefaultInfo();
19313
19314 wxPyEndAllowThreads(__tstate);
19315 if (PyErr_Occurred()) SWIG_fail;
19316 }
19317 {
19318 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19319 }
19320 return resultobj;
19321 fail:
19322 return NULL;
19323 }
19324
19325
19326 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19327 PyObject *resultobj;
19328 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19329 wxPoint result;
19330 PyObject * obj0 = 0 ;
19331 char *kwnames[] = {
19332 (char *) "self", NULL
19333 };
19334
19335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
19336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19338 {
19339 PyThreadState* __tstate = wxPyBeginAllowThreads();
19340 result = (arg1)->GetMarginTopLeft();
19341
19342 wxPyEndAllowThreads(__tstate);
19343 if (PyErr_Occurred()) SWIG_fail;
19344 }
19345 {
19346 wxPoint * resultptr;
19347 resultptr = new wxPoint((wxPoint &) result);
19348 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19349 }
19350 return resultobj;
19351 fail:
19352 return NULL;
19353 }
19354
19355
19356 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19357 PyObject *resultobj;
19358 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19359 wxPoint result;
19360 PyObject * obj0 = 0 ;
19361 char *kwnames[] = {
19362 (char *) "self", NULL
19363 };
19364
19365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
19366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19368 {
19369 PyThreadState* __tstate = wxPyBeginAllowThreads();
19370 result = (arg1)->GetMarginBottomRight();
19371
19372 wxPyEndAllowThreads(__tstate);
19373 if (PyErr_Occurred()) SWIG_fail;
19374 }
19375 {
19376 wxPoint * resultptr;
19377 resultptr = new wxPoint((wxPoint &) result);
19378 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19379 }
19380 return resultobj;
19381 fail:
19382 return NULL;
19383 }
19384
19385
19386 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19387 PyObject *resultobj;
19388 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19389 wxPoint result;
19390 PyObject * obj0 = 0 ;
19391 char *kwnames[] = {
19392 (char *) "self", NULL
19393 };
19394
19395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
19396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19398 {
19399 PyThreadState* __tstate = wxPyBeginAllowThreads();
19400 result = (arg1)->GetMinMarginTopLeft();
19401
19402 wxPyEndAllowThreads(__tstate);
19403 if (PyErr_Occurred()) SWIG_fail;
19404 }
19405 {
19406 wxPoint * resultptr;
19407 resultptr = new wxPoint((wxPoint &) result);
19408 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19409 }
19410 return resultobj;
19411 fail:
19412 return NULL;
19413 }
19414
19415
19416 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19417 PyObject *resultobj;
19418 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19419 wxPoint result;
19420 PyObject * obj0 = 0 ;
19421 char *kwnames[] = {
19422 (char *) "self", NULL
19423 };
19424
19425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
19426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19428 {
19429 PyThreadState* __tstate = wxPyBeginAllowThreads();
19430 result = (arg1)->GetMinMarginBottomRight();
19431
19432 wxPyEndAllowThreads(__tstate);
19433 if (PyErr_Occurred()) SWIG_fail;
19434 }
19435 {
19436 wxPoint * resultptr;
19437 resultptr = new wxPoint((wxPoint &) result);
19438 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19439 }
19440 return resultobj;
19441 fail:
19442 return NULL;
19443 }
19444
19445
19446 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
19447 PyObject *resultobj;
19448 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19449 int result;
19450 PyObject * obj0 = 0 ;
19451 char *kwnames[] = {
19452 (char *) "self", NULL
19453 };
19454
19455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
19456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19458 {
19459 PyThreadState* __tstate = wxPyBeginAllowThreads();
19460 result = (int)(arg1)->GetPaperId();
19461
19462 wxPyEndAllowThreads(__tstate);
19463 if (PyErr_Occurred()) SWIG_fail;
19464 }
19465 resultobj = SWIG_FromInt((int)result);
19466 return resultobj;
19467 fail:
19468 return NULL;
19469 }
19470
19471
19472 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19473 PyObject *resultobj;
19474 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19475 wxSize result;
19476 PyObject * obj0 = 0 ;
19477 char *kwnames[] = {
19478 (char *) "self", NULL
19479 };
19480
19481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
19482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19484 {
19485 PyThreadState* __tstate = wxPyBeginAllowThreads();
19486 result = (arg1)->GetPaperSize();
19487
19488 wxPyEndAllowThreads(__tstate);
19489 if (PyErr_Occurred()) SWIG_fail;
19490 }
19491 {
19492 wxSize * resultptr;
19493 resultptr = new wxSize((wxSize &) result);
19494 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19495 }
19496 return resultobj;
19497 fail:
19498 return NULL;
19499 }
19500
19501
19502 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19503 PyObject *resultobj;
19504 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19505 wxPrintData *result;
19506 PyObject * obj0 = 0 ;
19507 char *kwnames[] = {
19508 (char *) "self", NULL
19509 };
19510
19511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
19512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19514 {
19515 PyThreadState* __tstate = wxPyBeginAllowThreads();
19516 {
19517 wxPrintData &_result_ref = (arg1)->GetPrintData();
19518 result = (wxPrintData *) &_result_ref;
19519 }
19520
19521 wxPyEndAllowThreads(__tstate);
19522 if (PyErr_Occurred()) SWIG_fail;
19523 }
19524 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
19525 return resultobj;
19526 fail:
19527 return NULL;
19528 }
19529
19530
19531 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19532 PyObject *resultobj;
19533 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19534 bool result;
19535 PyObject * obj0 = 0 ;
19536 char *kwnames[] = {
19537 (char *) "self", NULL
19538 };
19539
19540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
19541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19543 {
19544 PyThreadState* __tstate = wxPyBeginAllowThreads();
19545 result = (bool)(arg1)->Ok();
19546
19547 wxPyEndAllowThreads(__tstate);
19548 if (PyErr_Occurred()) SWIG_fail;
19549 }
19550 {
19551 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19552 }
19553 return resultobj;
19554 fail:
19555 return NULL;
19556 }
19557
19558
19559 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19560 PyObject *resultobj;
19561 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19562 bool arg2 ;
19563 PyObject * obj0 = 0 ;
19564 PyObject * obj1 = 0 ;
19565 char *kwnames[] = {
19566 (char *) "self",(char *) "flag", NULL
19567 };
19568
19569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
19570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19572 arg2 = (bool) SWIG_AsBool(obj1);
19573 if (PyErr_Occurred()) SWIG_fail;
19574 {
19575 PyThreadState* __tstate = wxPyBeginAllowThreads();
19576 (arg1)->SetDefaultInfo(arg2);
19577
19578 wxPyEndAllowThreads(__tstate);
19579 if (PyErr_Occurred()) SWIG_fail;
19580 }
19581 Py_INCREF(Py_None); resultobj = Py_None;
19582 return resultobj;
19583 fail:
19584 return NULL;
19585 }
19586
19587
19588 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19589 PyObject *resultobj;
19590 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19591 bool arg2 ;
19592 PyObject * obj0 = 0 ;
19593 PyObject * obj1 = 0 ;
19594 char *kwnames[] = {
19595 (char *) "self",(char *) "flag", NULL
19596 };
19597
19598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
19599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19601 arg2 = (bool) SWIG_AsBool(obj1);
19602 if (PyErr_Occurred()) SWIG_fail;
19603 {
19604 PyThreadState* __tstate = wxPyBeginAllowThreads();
19605 (arg1)->SetDefaultMinMargins(arg2);
19606
19607 wxPyEndAllowThreads(__tstate);
19608 if (PyErr_Occurred()) SWIG_fail;
19609 }
19610 Py_INCREF(Py_None); resultobj = Py_None;
19611 return resultobj;
19612 fail:
19613 return NULL;
19614 }
19615
19616
19617 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19618 PyObject *resultobj;
19619 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19620 wxPoint *arg2 = 0 ;
19621 wxPoint temp2 ;
19622 PyObject * obj0 = 0 ;
19623 PyObject * obj1 = 0 ;
19624 char *kwnames[] = {
19625 (char *) "self",(char *) "pt", NULL
19626 };
19627
19628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
19629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19631 {
19632 arg2 = &temp2;
19633 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19634 }
19635 {
19636 PyThreadState* __tstate = wxPyBeginAllowThreads();
19637 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
19638
19639 wxPyEndAllowThreads(__tstate);
19640 if (PyErr_Occurred()) SWIG_fail;
19641 }
19642 Py_INCREF(Py_None); resultobj = Py_None;
19643 return resultobj;
19644 fail:
19645 return NULL;
19646 }
19647
19648
19649 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19650 PyObject *resultobj;
19651 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19652 wxPoint *arg2 = 0 ;
19653 wxPoint temp2 ;
19654 PyObject * obj0 = 0 ;
19655 PyObject * obj1 = 0 ;
19656 char *kwnames[] = {
19657 (char *) "self",(char *) "pt", NULL
19658 };
19659
19660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
19661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19663 {
19664 arg2 = &temp2;
19665 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19666 }
19667 {
19668 PyThreadState* __tstate = wxPyBeginAllowThreads();
19669 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
19670
19671 wxPyEndAllowThreads(__tstate);
19672 if (PyErr_Occurred()) SWIG_fail;
19673 }
19674 Py_INCREF(Py_None); resultobj = Py_None;
19675 return resultobj;
19676 fail:
19677 return NULL;
19678 }
19679
19680
19681 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19682 PyObject *resultobj;
19683 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19684 wxPoint *arg2 = 0 ;
19685 wxPoint temp2 ;
19686 PyObject * obj0 = 0 ;
19687 PyObject * obj1 = 0 ;
19688 char *kwnames[] = {
19689 (char *) "self",(char *) "pt", NULL
19690 };
19691
19692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
19693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19695 {
19696 arg2 = &temp2;
19697 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19698 }
19699 {
19700 PyThreadState* __tstate = wxPyBeginAllowThreads();
19701 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
19702
19703 wxPyEndAllowThreads(__tstate);
19704 if (PyErr_Occurred()) SWIG_fail;
19705 }
19706 Py_INCREF(Py_None); resultobj = Py_None;
19707 return resultobj;
19708 fail:
19709 return NULL;
19710 }
19711
19712
19713 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19714 PyObject *resultobj;
19715 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19716 wxPoint *arg2 = 0 ;
19717 wxPoint temp2 ;
19718 PyObject * obj0 = 0 ;
19719 PyObject * obj1 = 0 ;
19720 char *kwnames[] = {
19721 (char *) "self",(char *) "pt", NULL
19722 };
19723
19724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
19725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19727 {
19728 arg2 = &temp2;
19729 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19730 }
19731 {
19732 PyThreadState* __tstate = wxPyBeginAllowThreads();
19733 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
19734
19735 wxPyEndAllowThreads(__tstate);
19736 if (PyErr_Occurred()) SWIG_fail;
19737 }
19738 Py_INCREF(Py_None); resultobj = Py_None;
19739 return resultobj;
19740 fail:
19741 return NULL;
19742 }
19743
19744
19745 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
19746 PyObject *resultobj;
19747 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19748 int arg2 ;
19749 PyObject * obj0 = 0 ;
19750 PyObject * obj1 = 0 ;
19751 char *kwnames[] = {
19752 (char *) "self",(char *) "id", NULL
19753 };
19754
19755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
19756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19758 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
19759 if (PyErr_Occurred()) SWIG_fail;
19760 {
19761 PyThreadState* __tstate = wxPyBeginAllowThreads();
19762 (arg1)->SetPaperId((wxPaperSize )arg2);
19763
19764 wxPyEndAllowThreads(__tstate);
19765 if (PyErr_Occurred()) SWIG_fail;
19766 }
19767 Py_INCREF(Py_None); resultobj = Py_None;
19768 return resultobj;
19769 fail:
19770 return NULL;
19771 }
19772
19773
19774 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19775 PyObject *resultobj;
19776 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19777 wxSize *arg2 = 0 ;
19778 wxSize temp2 ;
19779 PyObject * obj0 = 0 ;
19780 PyObject * obj1 = 0 ;
19781 char *kwnames[] = {
19782 (char *) "self",(char *) "size", NULL
19783 };
19784
19785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
19786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19788 {
19789 arg2 = &temp2;
19790 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19791 }
19792 {
19793 PyThreadState* __tstate = wxPyBeginAllowThreads();
19794 (arg1)->SetPaperSize((wxSize const &)*arg2);
19795
19796 wxPyEndAllowThreads(__tstate);
19797 if (PyErr_Occurred()) SWIG_fail;
19798 }
19799 Py_INCREF(Py_None); resultobj = Py_None;
19800 return resultobj;
19801 fail:
19802 return NULL;
19803 }
19804
19805
19806 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19807 PyObject *resultobj;
19808 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19809 wxPrintData *arg2 = 0 ;
19810 PyObject * obj0 = 0 ;
19811 PyObject * obj1 = 0 ;
19812 char *kwnames[] = {
19813 (char *) "self",(char *) "printData", NULL
19814 };
19815
19816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
19817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19819 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
19820 SWIG_POINTER_EXCEPTION | 0)) == -1)
19821 SWIG_fail;
19822 if (arg2 == NULL) {
19823 PyErr_SetString(PyExc_TypeError,"null reference");
19824 SWIG_fail;
19825 }
19826 {
19827 PyThreadState* __tstate = wxPyBeginAllowThreads();
19828 (arg1)->SetPrintData((wxPrintData 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 * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
19841 PyObject *obj;
19842 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19843 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
19844 Py_INCREF(obj);
19845 return Py_BuildValue((char *)"");
19846 }
19847 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19848 PyObject *resultobj;
19849 wxWindow *arg1 = (wxWindow *) 0 ;
19850 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
19851 wxPageSetupDialog *result;
19852 PyObject * obj0 = 0 ;
19853 PyObject * obj1 = 0 ;
19854 char *kwnames[] = {
19855 (char *) "parent",(char *) "data", NULL
19856 };
19857
19858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
19859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19861 if (obj1) {
19862 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
19863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19864 }
19865 {
19866 PyThreadState* __tstate = wxPyBeginAllowThreads();
19867 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
19868
19869 wxPyEndAllowThreads(__tstate);
19870 if (PyErr_Occurred()) SWIG_fail;
19871 }
19872 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
19873 return resultobj;
19874 fail:
19875 return NULL;
19876 }
19877
19878
19879 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
19880 PyObject *resultobj;
19881 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
19882 wxPageSetupDialogData *result;
19883 PyObject * obj0 = 0 ;
19884 char *kwnames[] = {
19885 (char *) "self", NULL
19886 };
19887
19888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
19889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
19890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19891 {
19892 PyThreadState* __tstate = wxPyBeginAllowThreads();
19893 {
19894 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
19895 result = (wxPageSetupDialogData *) &_result_ref;
19896 }
19897
19898 wxPyEndAllowThreads(__tstate);
19899 if (PyErr_Occurred()) SWIG_fail;
19900 }
19901 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
19902 return resultobj;
19903 fail:
19904 return NULL;
19905 }
19906
19907
19908 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
19909 PyObject *resultobj;
19910 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
19911 int result;
19912 PyObject * obj0 = 0 ;
19913 char *kwnames[] = {
19914 (char *) "self", NULL
19915 };
19916
19917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
19918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
19919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19920 {
19921 PyThreadState* __tstate = wxPyBeginAllowThreads();
19922 result = (int)(arg1)->ShowModal();
19923
19924 wxPyEndAllowThreads(__tstate);
19925 if (PyErr_Occurred()) SWIG_fail;
19926 }
19927 resultobj = SWIG_FromInt((int)result);
19928 return resultobj;
19929 fail:
19930 return NULL;
19931 }
19932
19933
19934 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
19935 PyObject *obj;
19936 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19937 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
19938 Py_INCREF(obj);
19939 return Py_BuildValue((char *)"");
19940 }
19941 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *self, PyObject *args) {
19942 PyObject *resultobj;
19943 wxPrintDialogData *result;
19944
19945 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
19946 {
19947 PyThreadState* __tstate = wxPyBeginAllowThreads();
19948 result = (wxPrintDialogData *)new wxPrintDialogData();
19949
19950 wxPyEndAllowThreads(__tstate);
19951 if (PyErr_Occurred()) SWIG_fail;
19952 }
19953 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
19954 return resultobj;
19955 fail:
19956 return NULL;
19957 }
19958
19959
19960 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *self, PyObject *args) {
19961 PyObject *resultobj;
19962 wxPrintData *arg1 = 0 ;
19963 wxPrintDialogData *result;
19964 PyObject * obj0 = 0 ;
19965
19966 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
19967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19968 SWIG_POINTER_EXCEPTION | 0)) == -1)
19969 SWIG_fail;
19970 if (arg1 == NULL) {
19971 PyErr_SetString(PyExc_TypeError,"null reference");
19972 SWIG_fail;
19973 }
19974 {
19975 PyThreadState* __tstate = wxPyBeginAllowThreads();
19976 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
19977
19978 wxPyEndAllowThreads(__tstate);
19979 if (PyErr_Occurred()) SWIG_fail;
19980 }
19981 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
19982 return resultobj;
19983 fail:
19984 return NULL;
19985 }
19986
19987
19988 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
19989 int argc;
19990 PyObject *argv[2];
19991 int ii;
19992
19993 argc = PyObject_Length(args);
19994 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
19995 argv[ii] = PyTuple_GetItem(args,ii);
19996 }
19997 if (argc == 0) {
19998 return _wrap_new_PrintDialogData__SWIG_0(self,args);
19999 }
20000 if (argc == 1) {
20001 int _v;
20002 {
20003 void *ptr;
20004 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20005 _v = 0;
20006 PyErr_Clear();
20007 } else {
20008 _v = 1;
20009 }
20010 }
20011 if (_v) {
20012 return _wrap_new_PrintDialogData__SWIG_1(self,args);
20013 }
20014 }
20015
20016 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
20017 return NULL;
20018 }
20019
20020
20021 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20022 PyObject *resultobj;
20023 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20024 PyObject * obj0 = 0 ;
20025 char *kwnames[] = {
20026 (char *) "self", NULL
20027 };
20028
20029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
20030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20032 {
20033 PyThreadState* __tstate = wxPyBeginAllowThreads();
20034 delete arg1;
20035
20036 wxPyEndAllowThreads(__tstate);
20037 if (PyErr_Occurred()) SWIG_fail;
20038 }
20039 Py_INCREF(Py_None); resultobj = Py_None;
20040 return resultobj;
20041 fail:
20042 return NULL;
20043 }
20044
20045
20046 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20047 PyObject *resultobj;
20048 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20049 int result;
20050 PyObject * obj0 = 0 ;
20051 char *kwnames[] = {
20052 (char *) "self", NULL
20053 };
20054
20055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
20056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20058 {
20059 PyThreadState* __tstate = wxPyBeginAllowThreads();
20060 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
20061
20062 wxPyEndAllowThreads(__tstate);
20063 if (PyErr_Occurred()) SWIG_fail;
20064 }
20065 resultobj = SWIG_FromInt((int)result);
20066 return resultobj;
20067 fail:
20068 return NULL;
20069 }
20070
20071
20072 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20073 PyObject *resultobj;
20074 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20075 int result;
20076 PyObject * obj0 = 0 ;
20077 char *kwnames[] = {
20078 (char *) "self", NULL
20079 };
20080
20081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
20082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20084 {
20085 PyThreadState* __tstate = wxPyBeginAllowThreads();
20086 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
20087
20088 wxPyEndAllowThreads(__tstate);
20089 if (PyErr_Occurred()) SWIG_fail;
20090 }
20091 resultobj = SWIG_FromInt((int)result);
20092 return resultobj;
20093 fail:
20094 return NULL;
20095 }
20096
20097
20098 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20099 PyObject *resultobj;
20100 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20101 int result;
20102 PyObject * obj0 = 0 ;
20103 char *kwnames[] = {
20104 (char *) "self", NULL
20105 };
20106
20107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
20108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20110 {
20111 PyThreadState* __tstate = wxPyBeginAllowThreads();
20112 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
20113
20114 wxPyEndAllowThreads(__tstate);
20115 if (PyErr_Occurred()) SWIG_fail;
20116 }
20117 resultobj = SWIG_FromInt((int)result);
20118 return resultobj;
20119 fail:
20120 return NULL;
20121 }
20122
20123
20124 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20125 PyObject *resultobj;
20126 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20127 int result;
20128 PyObject * obj0 = 0 ;
20129 char *kwnames[] = {
20130 (char *) "self", NULL
20131 };
20132
20133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
20134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20136 {
20137 PyThreadState* __tstate = wxPyBeginAllowThreads();
20138 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
20139
20140 wxPyEndAllowThreads(__tstate);
20141 if (PyErr_Occurred()) SWIG_fail;
20142 }
20143 resultobj = SWIG_FromInt((int)result);
20144 return resultobj;
20145 fail:
20146 return NULL;
20147 }
20148
20149
20150 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20151 PyObject *resultobj;
20152 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20153 int result;
20154 PyObject * obj0 = 0 ;
20155 char *kwnames[] = {
20156 (char *) "self", NULL
20157 };
20158
20159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
20160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20162 {
20163 PyThreadState* __tstate = wxPyBeginAllowThreads();
20164 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
20165
20166 wxPyEndAllowThreads(__tstate);
20167 if (PyErr_Occurred()) SWIG_fail;
20168 }
20169 resultobj = SWIG_FromInt((int)result);
20170 return resultobj;
20171 fail:
20172 return NULL;
20173 }
20174
20175
20176 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20177 PyObject *resultobj;
20178 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20179 bool result;
20180 PyObject * obj0 = 0 ;
20181 char *kwnames[] = {
20182 (char *) "self", NULL
20183 };
20184
20185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
20186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20188 {
20189 PyThreadState* __tstate = wxPyBeginAllowThreads();
20190 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
20191
20192 wxPyEndAllowThreads(__tstate);
20193 if (PyErr_Occurred()) SWIG_fail;
20194 }
20195 {
20196 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20197 }
20198 return resultobj;
20199 fail:
20200 return NULL;
20201 }
20202
20203
20204 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20205 PyObject *resultobj;
20206 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20207 bool result;
20208 PyObject * obj0 = 0 ;
20209 char *kwnames[] = {
20210 (char *) "self", NULL
20211 };
20212
20213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
20214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20216 {
20217 PyThreadState* __tstate = wxPyBeginAllowThreads();
20218 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
20219
20220 wxPyEndAllowThreads(__tstate);
20221 if (PyErr_Occurred()) SWIG_fail;
20222 }
20223 {
20224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20225 }
20226 return resultobj;
20227 fail:
20228 return NULL;
20229 }
20230
20231
20232 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20233 PyObject *resultobj;
20234 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20235 bool result;
20236 PyObject * obj0 = 0 ;
20237 char *kwnames[] = {
20238 (char *) "self", NULL
20239 };
20240
20241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
20242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20244 {
20245 PyThreadState* __tstate = wxPyBeginAllowThreads();
20246 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
20247
20248 wxPyEndAllowThreads(__tstate);
20249 if (PyErr_Occurred()) SWIG_fail;
20250 }
20251 {
20252 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20253 }
20254 return resultobj;
20255 fail:
20256 return NULL;
20257 }
20258
20259
20260 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20261 PyObject *resultobj;
20262 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20263 bool result;
20264 PyObject * obj0 = 0 ;
20265 char *kwnames[] = {
20266 (char *) "self", NULL
20267 };
20268
20269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
20270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20272 {
20273 PyThreadState* __tstate = wxPyBeginAllowThreads();
20274 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
20275
20276 wxPyEndAllowThreads(__tstate);
20277 if (PyErr_Occurred()) SWIG_fail;
20278 }
20279 {
20280 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20281 }
20282 return resultobj;
20283 fail:
20284 return NULL;
20285 }
20286
20287
20288 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20289 PyObject *resultobj;
20290 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20291 bool result;
20292 PyObject * obj0 = 0 ;
20293 char *kwnames[] = {
20294 (char *) "self", NULL
20295 };
20296
20297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
20298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20300 {
20301 PyThreadState* __tstate = wxPyBeginAllowThreads();
20302 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
20303
20304 wxPyEndAllowThreads(__tstate);
20305 if (PyErr_Occurred()) SWIG_fail;
20306 }
20307 {
20308 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20309 }
20310 return resultobj;
20311 fail:
20312 return NULL;
20313 }
20314
20315
20316 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20317 PyObject *resultobj;
20318 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20319 int arg2 ;
20320 PyObject * obj0 = 0 ;
20321 PyObject * obj1 = 0 ;
20322 char *kwnames[] = {
20323 (char *) "self",(char *) "v", NULL
20324 };
20325
20326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
20327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20329 arg2 = (int) SWIG_AsInt(obj1);
20330 if (PyErr_Occurred()) SWIG_fail;
20331 {
20332 PyThreadState* __tstate = wxPyBeginAllowThreads();
20333 (arg1)->SetFromPage(arg2);
20334
20335 wxPyEndAllowThreads(__tstate);
20336 if (PyErr_Occurred()) SWIG_fail;
20337 }
20338 Py_INCREF(Py_None); resultobj = Py_None;
20339 return resultobj;
20340 fail:
20341 return NULL;
20342 }
20343
20344
20345 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20346 PyObject *resultobj;
20347 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20348 int arg2 ;
20349 PyObject * obj0 = 0 ;
20350 PyObject * obj1 = 0 ;
20351 char *kwnames[] = {
20352 (char *) "self",(char *) "v", NULL
20353 };
20354
20355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
20356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20358 arg2 = (int) SWIG_AsInt(obj1);
20359 if (PyErr_Occurred()) SWIG_fail;
20360 {
20361 PyThreadState* __tstate = wxPyBeginAllowThreads();
20362 (arg1)->SetToPage(arg2);
20363
20364 wxPyEndAllowThreads(__tstate);
20365 if (PyErr_Occurred()) SWIG_fail;
20366 }
20367 Py_INCREF(Py_None); resultobj = Py_None;
20368 return resultobj;
20369 fail:
20370 return NULL;
20371 }
20372
20373
20374 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20375 PyObject *resultobj;
20376 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20377 int arg2 ;
20378 PyObject * obj0 = 0 ;
20379 PyObject * obj1 = 0 ;
20380 char *kwnames[] = {
20381 (char *) "self",(char *) "v", NULL
20382 };
20383
20384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
20385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20387 arg2 = (int) SWIG_AsInt(obj1);
20388 if (PyErr_Occurred()) SWIG_fail;
20389 {
20390 PyThreadState* __tstate = wxPyBeginAllowThreads();
20391 (arg1)->SetMinPage(arg2);
20392
20393 wxPyEndAllowThreads(__tstate);
20394 if (PyErr_Occurred()) SWIG_fail;
20395 }
20396 Py_INCREF(Py_None); resultobj = Py_None;
20397 return resultobj;
20398 fail:
20399 return NULL;
20400 }
20401
20402
20403 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20404 PyObject *resultobj;
20405 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20406 int arg2 ;
20407 PyObject * obj0 = 0 ;
20408 PyObject * obj1 = 0 ;
20409 char *kwnames[] = {
20410 (char *) "self",(char *) "v", NULL
20411 };
20412
20413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
20414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20416 arg2 = (int) SWIG_AsInt(obj1);
20417 if (PyErr_Occurred()) SWIG_fail;
20418 {
20419 PyThreadState* __tstate = wxPyBeginAllowThreads();
20420 (arg1)->SetMaxPage(arg2);
20421
20422 wxPyEndAllowThreads(__tstate);
20423 if (PyErr_Occurred()) SWIG_fail;
20424 }
20425 Py_INCREF(Py_None); resultobj = Py_None;
20426 return resultobj;
20427 fail:
20428 return NULL;
20429 }
20430
20431
20432 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20433 PyObject *resultobj;
20434 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20435 int arg2 ;
20436 PyObject * obj0 = 0 ;
20437 PyObject * obj1 = 0 ;
20438 char *kwnames[] = {
20439 (char *) "self",(char *) "v", NULL
20440 };
20441
20442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
20443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20445 arg2 = (int) SWIG_AsInt(obj1);
20446 if (PyErr_Occurred()) SWIG_fail;
20447 {
20448 PyThreadState* __tstate = wxPyBeginAllowThreads();
20449 (arg1)->SetNoCopies(arg2);
20450
20451 wxPyEndAllowThreads(__tstate);
20452 if (PyErr_Occurred()) SWIG_fail;
20453 }
20454 Py_INCREF(Py_None); resultobj = Py_None;
20455 return resultobj;
20456 fail:
20457 return NULL;
20458 }
20459
20460
20461 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20462 PyObject *resultobj;
20463 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20464 bool arg2 ;
20465 PyObject * obj0 = 0 ;
20466 PyObject * obj1 = 0 ;
20467 char *kwnames[] = {
20468 (char *) "self",(char *) "flag", NULL
20469 };
20470
20471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
20472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20474 arg2 = (bool) SWIG_AsBool(obj1);
20475 if (PyErr_Occurred()) SWIG_fail;
20476 {
20477 PyThreadState* __tstate = wxPyBeginAllowThreads();
20478 (arg1)->SetAllPages(arg2);
20479
20480 wxPyEndAllowThreads(__tstate);
20481 if (PyErr_Occurred()) SWIG_fail;
20482 }
20483 Py_INCREF(Py_None); resultobj = Py_None;
20484 return resultobj;
20485 fail:
20486 return NULL;
20487 }
20488
20489
20490 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20491 PyObject *resultobj;
20492 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20493 bool arg2 ;
20494 PyObject * obj0 = 0 ;
20495 PyObject * obj1 = 0 ;
20496 char *kwnames[] = {
20497 (char *) "self",(char *) "flag", NULL
20498 };
20499
20500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
20501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20503 arg2 = (bool) SWIG_AsBool(obj1);
20504 if (PyErr_Occurred()) SWIG_fail;
20505 {
20506 PyThreadState* __tstate = wxPyBeginAllowThreads();
20507 (arg1)->SetSelection(arg2);
20508
20509 wxPyEndAllowThreads(__tstate);
20510 if (PyErr_Occurred()) SWIG_fail;
20511 }
20512 Py_INCREF(Py_None); resultobj = Py_None;
20513 return resultobj;
20514 fail:
20515 return NULL;
20516 }
20517
20518
20519 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20520 PyObject *resultobj;
20521 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20522 bool arg2 ;
20523 PyObject * obj0 = 0 ;
20524 PyObject * obj1 = 0 ;
20525 char *kwnames[] = {
20526 (char *) "self",(char *) "flag", NULL
20527 };
20528
20529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
20530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20532 arg2 = (bool) SWIG_AsBool(obj1);
20533 if (PyErr_Occurred()) SWIG_fail;
20534 {
20535 PyThreadState* __tstate = wxPyBeginAllowThreads();
20536 (arg1)->SetCollate(arg2);
20537
20538 wxPyEndAllowThreads(__tstate);
20539 if (PyErr_Occurred()) SWIG_fail;
20540 }
20541 Py_INCREF(Py_None); resultobj = Py_None;
20542 return resultobj;
20543 fail:
20544 return NULL;
20545 }
20546
20547
20548 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20549 PyObject *resultobj;
20550 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20551 bool arg2 ;
20552 PyObject * obj0 = 0 ;
20553 PyObject * obj1 = 0 ;
20554 char *kwnames[] = {
20555 (char *) "self",(char *) "flag", NULL
20556 };
20557
20558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
20559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20561 arg2 = (bool) SWIG_AsBool(obj1);
20562 if (PyErr_Occurred()) SWIG_fail;
20563 {
20564 PyThreadState* __tstate = wxPyBeginAllowThreads();
20565 (arg1)->SetPrintToFile(arg2);
20566
20567 wxPyEndAllowThreads(__tstate);
20568 if (PyErr_Occurred()) SWIG_fail;
20569 }
20570 Py_INCREF(Py_None); resultobj = Py_None;
20571 return resultobj;
20572 fail:
20573 return NULL;
20574 }
20575
20576
20577 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20578 PyObject *resultobj;
20579 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20580 bool arg2 ;
20581 PyObject * obj0 = 0 ;
20582 PyObject * obj1 = 0 ;
20583 char *kwnames[] = {
20584 (char *) "self",(char *) "flag", NULL
20585 };
20586
20587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20590 arg2 = (bool) SWIG_AsBool(obj1);
20591 if (PyErr_Occurred()) SWIG_fail;
20592 {
20593 PyThreadState* __tstate = wxPyBeginAllowThreads();
20594 (arg1)->SetSetupDialog(arg2);
20595
20596 wxPyEndAllowThreads(__tstate);
20597 if (PyErr_Occurred()) SWIG_fail;
20598 }
20599 Py_INCREF(Py_None); resultobj = Py_None;
20600 return resultobj;
20601 fail:
20602 return NULL;
20603 }
20604
20605
20606 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20607 PyObject *resultobj;
20608 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20609 bool arg2 ;
20610 PyObject * obj0 = 0 ;
20611 PyObject * obj1 = 0 ;
20612 char *kwnames[] = {
20613 (char *) "self",(char *) "flag", NULL
20614 };
20615
20616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
20617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20619 arg2 = (bool) SWIG_AsBool(obj1);
20620 if (PyErr_Occurred()) SWIG_fail;
20621 {
20622 PyThreadState* __tstate = wxPyBeginAllowThreads();
20623 (arg1)->EnablePrintToFile(arg2);
20624
20625 wxPyEndAllowThreads(__tstate);
20626 if (PyErr_Occurred()) SWIG_fail;
20627 }
20628 Py_INCREF(Py_None); resultobj = Py_None;
20629 return resultobj;
20630 fail:
20631 return NULL;
20632 }
20633
20634
20635 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20636 PyObject *resultobj;
20637 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20638 bool arg2 ;
20639 PyObject * obj0 = 0 ;
20640 PyObject * obj1 = 0 ;
20641 char *kwnames[] = {
20642 (char *) "self",(char *) "flag", NULL
20643 };
20644
20645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
20646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20648 arg2 = (bool) SWIG_AsBool(obj1);
20649 if (PyErr_Occurred()) SWIG_fail;
20650 {
20651 PyThreadState* __tstate = wxPyBeginAllowThreads();
20652 (arg1)->EnableSelection(arg2);
20653
20654 wxPyEndAllowThreads(__tstate);
20655 if (PyErr_Occurred()) SWIG_fail;
20656 }
20657 Py_INCREF(Py_None); resultobj = Py_None;
20658 return resultobj;
20659 fail:
20660 return NULL;
20661 }
20662
20663
20664 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
20665 PyObject *resultobj;
20666 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20667 bool arg2 ;
20668 PyObject * obj0 = 0 ;
20669 PyObject * obj1 = 0 ;
20670 char *kwnames[] = {
20671 (char *) "self",(char *) "flag", NULL
20672 };
20673
20674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
20675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20677 arg2 = (bool) SWIG_AsBool(obj1);
20678 if (PyErr_Occurred()) SWIG_fail;
20679 {
20680 PyThreadState* __tstate = wxPyBeginAllowThreads();
20681 (arg1)->EnablePageNumbers(arg2);
20682
20683 wxPyEndAllowThreads(__tstate);
20684 if (PyErr_Occurred()) SWIG_fail;
20685 }
20686 Py_INCREF(Py_None); resultobj = Py_None;
20687 return resultobj;
20688 fail:
20689 return NULL;
20690 }
20691
20692
20693 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
20694 PyObject *resultobj;
20695 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20696 bool arg2 ;
20697 PyObject * obj0 = 0 ;
20698 PyObject * obj1 = 0 ;
20699 char *kwnames[] = {
20700 (char *) "self",(char *) "flag", NULL
20701 };
20702
20703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
20704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20706 arg2 = (bool) SWIG_AsBool(obj1);
20707 if (PyErr_Occurred()) SWIG_fail;
20708 {
20709 PyThreadState* __tstate = wxPyBeginAllowThreads();
20710 (arg1)->EnableHelp(arg2);
20711
20712 wxPyEndAllowThreads(__tstate);
20713 if (PyErr_Occurred()) SWIG_fail;
20714 }
20715 Py_INCREF(Py_None); resultobj = Py_None;
20716 return resultobj;
20717 fail:
20718 return NULL;
20719 }
20720
20721
20722 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20723 PyObject *resultobj;
20724 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20725 bool result;
20726 PyObject * obj0 = 0 ;
20727 char *kwnames[] = {
20728 (char *) "self", NULL
20729 };
20730
20731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
20732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20734 {
20735 PyThreadState* __tstate = wxPyBeginAllowThreads();
20736 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
20737
20738 wxPyEndAllowThreads(__tstate);
20739 if (PyErr_Occurred()) SWIG_fail;
20740 }
20741 {
20742 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20743 }
20744 return resultobj;
20745 fail:
20746 return NULL;
20747 }
20748
20749
20750 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20751 PyObject *resultobj;
20752 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20753 bool result;
20754 PyObject * obj0 = 0 ;
20755 char *kwnames[] = {
20756 (char *) "self", NULL
20757 };
20758
20759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
20760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20762 {
20763 PyThreadState* __tstate = wxPyBeginAllowThreads();
20764 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
20765
20766 wxPyEndAllowThreads(__tstate);
20767 if (PyErr_Occurred()) SWIG_fail;
20768 }
20769 {
20770 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20771 }
20772 return resultobj;
20773 fail:
20774 return NULL;
20775 }
20776
20777
20778 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
20779 PyObject *resultobj;
20780 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20781 bool result;
20782 PyObject * obj0 = 0 ;
20783 char *kwnames[] = {
20784 (char *) "self", NULL
20785 };
20786
20787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
20788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20790 {
20791 PyThreadState* __tstate = wxPyBeginAllowThreads();
20792 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
20793
20794 wxPyEndAllowThreads(__tstate);
20795 if (PyErr_Occurred()) SWIG_fail;
20796 }
20797 {
20798 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20799 }
20800 return resultobj;
20801 fail:
20802 return NULL;
20803 }
20804
20805
20806 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
20807 PyObject *resultobj;
20808 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20809 bool result;
20810 PyObject * obj0 = 0 ;
20811 char *kwnames[] = {
20812 (char *) "self", NULL
20813 };
20814
20815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
20816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20818 {
20819 PyThreadState* __tstate = wxPyBeginAllowThreads();
20820 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
20821
20822 wxPyEndAllowThreads(__tstate);
20823 if (PyErr_Occurred()) SWIG_fail;
20824 }
20825 {
20826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20827 }
20828 return resultobj;
20829 fail:
20830 return NULL;
20831 }
20832
20833
20834 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
20835 PyObject *resultobj;
20836 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20837 bool result;
20838 PyObject * obj0 = 0 ;
20839 char *kwnames[] = {
20840 (char *) "self", NULL
20841 };
20842
20843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
20844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20846 {
20847 PyThreadState* __tstate = wxPyBeginAllowThreads();
20848 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
20849
20850 wxPyEndAllowThreads(__tstate);
20851 if (PyErr_Occurred()) SWIG_fail;
20852 }
20853 {
20854 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20855 }
20856 return resultobj;
20857 fail:
20858 return NULL;
20859 }
20860
20861
20862 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
20863 PyObject *resultobj;
20864 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20865 wxPrintData *result;
20866 PyObject * obj0 = 0 ;
20867 char *kwnames[] = {
20868 (char *) "self", NULL
20869 };
20870
20871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
20872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20874 {
20875 PyThreadState* __tstate = wxPyBeginAllowThreads();
20876 {
20877 wxPrintData &_result_ref = (arg1)->GetPrintData();
20878 result = (wxPrintData *) &_result_ref;
20879 }
20880
20881 wxPyEndAllowThreads(__tstate);
20882 if (PyErr_Occurred()) SWIG_fail;
20883 }
20884 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
20885 return resultobj;
20886 fail:
20887 return NULL;
20888 }
20889
20890
20891 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
20892 PyObject *resultobj;
20893 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20894 wxPrintData *arg2 = 0 ;
20895 PyObject * obj0 = 0 ;
20896 PyObject * obj1 = 0 ;
20897 char *kwnames[] = {
20898 (char *) "self",(char *) "printData", NULL
20899 };
20900
20901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
20902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20904 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20905 SWIG_POINTER_EXCEPTION | 0)) == -1)
20906 SWIG_fail;
20907 if (arg2 == NULL) {
20908 PyErr_SetString(PyExc_TypeError,"null reference");
20909 SWIG_fail;
20910 }
20911 {
20912 PyThreadState* __tstate = wxPyBeginAllowThreads();
20913 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20914
20915 wxPyEndAllowThreads(__tstate);
20916 if (PyErr_Occurred()) SWIG_fail;
20917 }
20918 Py_INCREF(Py_None); resultobj = Py_None;
20919 return resultobj;
20920 fail:
20921 return NULL;
20922 }
20923
20924
20925 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
20926 PyObject *obj;
20927 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20928 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
20929 Py_INCREF(obj);
20930 return Py_BuildValue((char *)"");
20931 }
20932 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20933 PyObject *resultobj;
20934 wxWindow *arg1 = (wxWindow *) 0 ;
20935 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
20936 wxPrintDialog *result;
20937 PyObject * obj0 = 0 ;
20938 PyObject * obj1 = 0 ;
20939 char *kwnames[] = {
20940 (char *) "parent",(char *) "data", NULL
20941 };
20942
20943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
20944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20946 if (obj1) {
20947 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
20948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20949 }
20950 {
20951 PyThreadState* __tstate = wxPyBeginAllowThreads();
20952 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
20953
20954 wxPyEndAllowThreads(__tstate);
20955 if (PyErr_Occurred()) SWIG_fail;
20956 }
20957 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
20958 return resultobj;
20959 fail:
20960 return NULL;
20961 }
20962
20963
20964 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20965 PyObject *resultobj;
20966 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
20967 wxPrintDialogData *result;
20968 PyObject * obj0 = 0 ;
20969 char *kwnames[] = {
20970 (char *) "self", NULL
20971 };
20972
20973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
20974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
20975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20976 {
20977 PyThreadState* __tstate = wxPyBeginAllowThreads();
20978 {
20979 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
20980 result = (wxPrintDialogData *) &_result_ref;
20981 }
20982
20983 wxPyEndAllowThreads(__tstate);
20984 if (PyErr_Occurred()) SWIG_fail;
20985 }
20986 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
20987 return resultobj;
20988 fail:
20989 return NULL;
20990 }
20991
20992
20993 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
20994 PyObject *resultobj;
20995 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
20996 wxDC *result;
20997 PyObject * obj0 = 0 ;
20998 char *kwnames[] = {
20999 (char *) "self", NULL
21000 };
21001
21002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
21003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21005 {
21006 PyThreadState* __tstate = wxPyBeginAllowThreads();
21007 result = (wxDC *)(arg1)->GetPrintDC();
21008
21009 wxPyEndAllowThreads(__tstate);
21010 if (PyErr_Occurred()) SWIG_fail;
21011 }
21012 {
21013 resultobj = wxPyMake_wxObject(result);
21014 }
21015 return resultobj;
21016 fail:
21017 return NULL;
21018 }
21019
21020
21021 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
21022 PyObject *resultobj;
21023 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21024 int result;
21025 PyObject * obj0 = 0 ;
21026 char *kwnames[] = {
21027 (char *) "self", NULL
21028 };
21029
21030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
21031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21033 {
21034 PyThreadState* __tstate = wxPyBeginAllowThreads();
21035 result = (int)(arg1)->ShowModal();
21036
21037 wxPyEndAllowThreads(__tstate);
21038 if (PyErr_Occurred()) SWIG_fail;
21039 }
21040 resultobj = SWIG_FromInt((int)result);
21041 return resultobj;
21042 fail:
21043 return NULL;
21044 }
21045
21046
21047 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
21048 PyObject *obj;
21049 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21050 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
21051 Py_INCREF(obj);
21052 return Py_BuildValue((char *)"");
21053 }
21054 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
21055 PyObject *resultobj;
21056 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
21057 wxPrinter *result;
21058 PyObject * obj0 = 0 ;
21059 char *kwnames[] = {
21060 (char *) "data", NULL
21061 };
21062
21063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
21064 if (obj0) {
21065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21067 }
21068 {
21069 PyThreadState* __tstate = wxPyBeginAllowThreads();
21070 result = (wxPrinter *)new wxPrinter(arg1);
21071
21072 wxPyEndAllowThreads(__tstate);
21073 if (PyErr_Occurred()) SWIG_fail;
21074 }
21075 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
21076 return resultobj;
21077 fail:
21078 return NULL;
21079 }
21080
21081
21082 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
21083 PyObject *resultobj;
21084 wxPrinter *arg1 = (wxPrinter *) 0 ;
21085 PyObject * obj0 = 0 ;
21086 char *kwnames[] = {
21087 (char *) "self", NULL
21088 };
21089
21090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
21091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21093 {
21094 PyThreadState* __tstate = wxPyBeginAllowThreads();
21095 delete arg1;
21096
21097 wxPyEndAllowThreads(__tstate);
21098 if (PyErr_Occurred()) SWIG_fail;
21099 }
21100 Py_INCREF(Py_None); resultobj = Py_None;
21101 return resultobj;
21102 fail:
21103 return NULL;
21104 }
21105
21106
21107 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
21108 PyObject *resultobj;
21109 wxPrinter *arg1 = (wxPrinter *) 0 ;
21110 wxWindow *arg2 = (wxWindow *) 0 ;
21111 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21112 PyObject * obj0 = 0 ;
21113 PyObject * obj1 = 0 ;
21114 PyObject * obj2 = 0 ;
21115 char *kwnames[] = {
21116 (char *) "self",(char *) "parent",(char *) "printout", NULL
21117 };
21118
21119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
21120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21122 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21124 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21126 {
21127 PyThreadState* __tstate = wxPyBeginAllowThreads();
21128 (arg1)->CreateAbortWindow(arg2,arg3);
21129
21130 wxPyEndAllowThreads(__tstate);
21131 if (PyErr_Occurred()) SWIG_fail;
21132 }
21133 Py_INCREF(Py_None); resultobj = Py_None;
21134 return resultobj;
21135 fail:
21136 return NULL;
21137 }
21138
21139
21140 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
21141 PyObject *resultobj;
21142 wxPrinter *arg1 = (wxPrinter *) 0 ;
21143 wxPrintDialogData *result;
21144 PyObject * obj0 = 0 ;
21145 char *kwnames[] = {
21146 (char *) "self", NULL
21147 };
21148
21149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
21150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21152 {
21153 PyThreadState* __tstate = wxPyBeginAllowThreads();
21154 {
21155 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21156 result = (wxPrintDialogData *) &_result_ref;
21157 }
21158
21159 wxPyEndAllowThreads(__tstate);
21160 if (PyErr_Occurred()) SWIG_fail;
21161 }
21162 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21163 return resultobj;
21164 fail:
21165 return NULL;
21166 }
21167
21168
21169 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
21170 PyObject *resultobj;
21171 wxPrinter *arg1 = (wxPrinter *) 0 ;
21172 wxWindow *arg2 = (wxWindow *) 0 ;
21173 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21174 int arg4 = (int) True ;
21175 bool result;
21176 PyObject * obj0 = 0 ;
21177 PyObject * obj1 = 0 ;
21178 PyObject * obj2 = 0 ;
21179 PyObject * obj3 = 0 ;
21180 char *kwnames[] = {
21181 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21182 };
21183
21184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21187 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21189 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21191 if (obj3) {
21192 arg4 = (int) SWIG_AsInt(obj3);
21193 if (PyErr_Occurred()) SWIG_fail;
21194 }
21195 {
21196 PyThreadState* __tstate = wxPyBeginAllowThreads();
21197 result = (bool)(arg1)->Print(arg2,arg3,arg4);
21198
21199 wxPyEndAllowThreads(__tstate);
21200 if (PyErr_Occurred()) SWIG_fail;
21201 }
21202 {
21203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21204 }
21205 return resultobj;
21206 fail:
21207 return NULL;
21208 }
21209
21210
21211 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21212 PyObject *resultobj;
21213 wxPrinter *arg1 = (wxPrinter *) 0 ;
21214 wxWindow *arg2 = (wxWindow *) 0 ;
21215 wxDC *result;
21216 PyObject * obj0 = 0 ;
21217 PyObject * obj1 = 0 ;
21218 char *kwnames[] = {
21219 (char *) "self",(char *) "parent", NULL
21220 };
21221
21222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21225 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21227 {
21228 PyThreadState* __tstate = wxPyBeginAllowThreads();
21229 result = (wxDC *)(arg1)->PrintDialog(arg2);
21230
21231 wxPyEndAllowThreads(__tstate);
21232 if (PyErr_Occurred()) SWIG_fail;
21233 }
21234 {
21235 resultobj = wxPyMake_wxObject(result);
21236 }
21237 return resultobj;
21238 fail:
21239 return NULL;
21240 }
21241
21242
21243 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
21244 PyObject *resultobj;
21245 wxPrinter *arg1 = (wxPrinter *) 0 ;
21246 wxWindow *arg2 = (wxWindow *) 0 ;
21247 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21248 wxString *arg4 = 0 ;
21249 bool temp4 = False ;
21250 PyObject * obj0 = 0 ;
21251 PyObject * obj1 = 0 ;
21252 PyObject * obj2 = 0 ;
21253 PyObject * obj3 = 0 ;
21254 char *kwnames[] = {
21255 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21256 };
21257
21258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21261 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21263 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21265 {
21266 arg4 = wxString_in_helper(obj3);
21267 if (arg4 == NULL) SWIG_fail;
21268 temp4 = True;
21269 }
21270 {
21271 PyThreadState* __tstate = wxPyBeginAllowThreads();
21272 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
21273
21274 wxPyEndAllowThreads(__tstate);
21275 if (PyErr_Occurred()) SWIG_fail;
21276 }
21277 Py_INCREF(Py_None); resultobj = Py_None;
21278 {
21279 if (temp4)
21280 delete arg4;
21281 }
21282 return resultobj;
21283 fail:
21284 {
21285 if (temp4)
21286 delete arg4;
21287 }
21288 return NULL;
21289 }
21290
21291
21292 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
21293 PyObject *resultobj;
21294 wxPrinter *arg1 = (wxPrinter *) 0 ;
21295 wxWindow *arg2 = (wxWindow *) 0 ;
21296 bool result;
21297 PyObject * obj0 = 0 ;
21298 PyObject * obj1 = 0 ;
21299 char *kwnames[] = {
21300 (char *) "self",(char *) "parent", NULL
21301 };
21302
21303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
21304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21306 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21308 {
21309 PyThreadState* __tstate = wxPyBeginAllowThreads();
21310 result = (bool)(arg1)->Setup(arg2);
21311
21312 wxPyEndAllowThreads(__tstate);
21313 if (PyErr_Occurred()) SWIG_fail;
21314 }
21315 {
21316 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21317 }
21318 return resultobj;
21319 fail:
21320 return NULL;
21321 }
21322
21323
21324 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
21325 PyObject *resultobj;
21326 wxPrinter *arg1 = (wxPrinter *) 0 ;
21327 bool result;
21328 PyObject * obj0 = 0 ;
21329 char *kwnames[] = {
21330 (char *) "self", NULL
21331 };
21332
21333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
21334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21336 {
21337 PyThreadState* __tstate = wxPyBeginAllowThreads();
21338 result = (bool)(arg1)->GetAbort();
21339
21340 wxPyEndAllowThreads(__tstate);
21341 if (PyErr_Occurred()) SWIG_fail;
21342 }
21343 {
21344 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21345 }
21346 return resultobj;
21347 fail:
21348 return NULL;
21349 }
21350
21351
21352 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
21353 PyObject *resultobj;
21354 int result;
21355 char *kwnames[] = {
21356 NULL
21357 };
21358
21359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
21360 {
21361 PyThreadState* __tstate = wxPyBeginAllowThreads();
21362 result = (int)wxPrinter::GetLastError();
21363
21364 wxPyEndAllowThreads(__tstate);
21365 if (PyErr_Occurred()) SWIG_fail;
21366 }
21367 resultobj = SWIG_FromInt((int)result);
21368 return resultobj;
21369 fail:
21370 return NULL;
21371 }
21372
21373
21374 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
21375 PyObject *obj;
21376 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21377 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
21378 Py_INCREF(obj);
21379 return Py_BuildValue((char *)"");
21380 }
21381 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
21382 PyObject *resultobj;
21383 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
21384 wxString *arg1 = (wxString *) &arg1_defvalue ;
21385 wxPyPrintout *result;
21386 bool temp1 = False ;
21387 PyObject * obj0 = 0 ;
21388 char *kwnames[] = {
21389 (char *) "title", NULL
21390 };
21391
21392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
21393 if (obj0) {
21394 {
21395 arg1 = wxString_in_helper(obj0);
21396 if (arg1 == NULL) SWIG_fail;
21397 temp1 = True;
21398 }
21399 }
21400 {
21401 PyThreadState* __tstate = wxPyBeginAllowThreads();
21402 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
21403
21404 wxPyEndAllowThreads(__tstate);
21405 if (PyErr_Occurred()) SWIG_fail;
21406 }
21407 {
21408 resultobj = wxPyMake_wxObject(result);
21409 }
21410 {
21411 if (temp1)
21412 delete arg1;
21413 }
21414 return resultobj;
21415 fail:
21416 {
21417 if (temp1)
21418 delete arg1;
21419 }
21420 return NULL;
21421 }
21422
21423
21424 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21425 PyObject *resultobj;
21426 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21427 PyObject *arg2 = (PyObject *) 0 ;
21428 PyObject *arg3 = (PyObject *) 0 ;
21429 PyObject * obj0 = 0 ;
21430 PyObject * obj1 = 0 ;
21431 PyObject * obj2 = 0 ;
21432 char *kwnames[] = {
21433 (char *) "self",(char *) "self",(char *) "_class", NULL
21434 };
21435
21436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21439 arg2 = obj1;
21440 arg3 = obj2;
21441 {
21442 PyThreadState* __tstate = wxPyBeginAllowThreads();
21443 (arg1)->_setCallbackInfo(arg2,arg3);
21444
21445 wxPyEndAllowThreads(__tstate);
21446 if (PyErr_Occurred()) SWIG_fail;
21447 }
21448 Py_INCREF(Py_None); resultobj = Py_None;
21449 return resultobj;
21450 fail:
21451 return NULL;
21452 }
21453
21454
21455 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21456 PyObject *resultobj;
21457 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21458 wxString result;
21459 PyObject * obj0 = 0 ;
21460 char *kwnames[] = {
21461 (char *) "self", NULL
21462 };
21463
21464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
21465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21467 {
21468 PyThreadState* __tstate = wxPyBeginAllowThreads();
21469 result = ((wxPyPrintout const *)arg1)->GetTitle();
21470
21471 wxPyEndAllowThreads(__tstate);
21472 if (PyErr_Occurred()) SWIG_fail;
21473 }
21474 {
21475 #if wxUSE_UNICODE
21476 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21477 #else
21478 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21479 #endif
21480 }
21481 return resultobj;
21482 fail:
21483 return NULL;
21484 }
21485
21486
21487 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21488 PyObject *resultobj;
21489 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21490 wxDC *result;
21491 PyObject * obj0 = 0 ;
21492 char *kwnames[] = {
21493 (char *) "self", NULL
21494 };
21495
21496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
21497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21499 {
21500 PyThreadState* __tstate = wxPyBeginAllowThreads();
21501 result = (wxDC *)(arg1)->GetDC();
21502
21503 wxPyEndAllowThreads(__tstate);
21504 if (PyErr_Occurred()) SWIG_fail;
21505 }
21506 {
21507 resultobj = wxPyMake_wxObject(result);
21508 }
21509 return resultobj;
21510 fail:
21511 return NULL;
21512 }
21513
21514
21515 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21516 PyObject *resultobj;
21517 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21518 wxDC *arg2 = (wxDC *) 0 ;
21519 PyObject * obj0 = 0 ;
21520 PyObject * obj1 = 0 ;
21521 char *kwnames[] = {
21522 (char *) "self",(char *) "dc", NULL
21523 };
21524
21525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
21526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21528 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21530 {
21531 PyThreadState* __tstate = wxPyBeginAllowThreads();
21532 (arg1)->SetDC(arg2);
21533
21534 wxPyEndAllowThreads(__tstate);
21535 if (PyErr_Occurred()) SWIG_fail;
21536 }
21537 Py_INCREF(Py_None); resultobj = Py_None;
21538 return resultobj;
21539 fail:
21540 return NULL;
21541 }
21542
21543
21544 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21545 PyObject *resultobj;
21546 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21547 int arg2 ;
21548 int arg3 ;
21549 PyObject * obj0 = 0 ;
21550 PyObject * obj1 = 0 ;
21551 PyObject * obj2 = 0 ;
21552 char *kwnames[] = {
21553 (char *) "self",(char *) "w",(char *) "h", NULL
21554 };
21555
21556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
21557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21559 arg2 = (int) SWIG_AsInt(obj1);
21560 if (PyErr_Occurred()) SWIG_fail;
21561 arg3 = (int) SWIG_AsInt(obj2);
21562 if (PyErr_Occurred()) SWIG_fail;
21563 {
21564 PyThreadState* __tstate = wxPyBeginAllowThreads();
21565 (arg1)->SetPageSizePixels(arg2,arg3);
21566
21567 wxPyEndAllowThreads(__tstate);
21568 if (PyErr_Occurred()) SWIG_fail;
21569 }
21570 Py_INCREF(Py_None); resultobj = Py_None;
21571 return resultobj;
21572 fail:
21573 return NULL;
21574 }
21575
21576
21577 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21578 PyObject *resultobj;
21579 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21580 int *arg2 = (int *) 0 ;
21581 int *arg3 = (int *) 0 ;
21582 int temp2 ;
21583 int temp3 ;
21584 PyObject * obj0 = 0 ;
21585 char *kwnames[] = {
21586 (char *) "self", NULL
21587 };
21588
21589 arg2 = &temp2;
21590 arg3 = &temp3;
21591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
21592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21594 {
21595 PyThreadState* __tstate = wxPyBeginAllowThreads();
21596 (arg1)->GetPageSizePixels(arg2,arg3);
21597
21598 wxPyEndAllowThreads(__tstate);
21599 if (PyErr_Occurred()) SWIG_fail;
21600 }
21601 Py_INCREF(Py_None); resultobj = Py_None;
21602 {
21603 PyObject *o = PyInt_FromLong((long) (*arg2));
21604 resultobj = t_output_helper(resultobj,o);
21605 }
21606 {
21607 PyObject *o = PyInt_FromLong((long) (*arg3));
21608 resultobj = t_output_helper(resultobj,o);
21609 }
21610 return resultobj;
21611 fail:
21612 return NULL;
21613 }
21614
21615
21616 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
21617 PyObject *resultobj;
21618 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21619 int arg2 ;
21620 int arg3 ;
21621 PyObject * obj0 = 0 ;
21622 PyObject * obj1 = 0 ;
21623 PyObject * obj2 = 0 ;
21624 char *kwnames[] = {
21625 (char *) "self",(char *) "w",(char *) "h", NULL
21626 };
21627
21628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
21629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21631 arg2 = (int) SWIG_AsInt(obj1);
21632 if (PyErr_Occurred()) SWIG_fail;
21633 arg3 = (int) SWIG_AsInt(obj2);
21634 if (PyErr_Occurred()) SWIG_fail;
21635 {
21636 PyThreadState* __tstate = wxPyBeginAllowThreads();
21637 (arg1)->SetPageSizeMM(arg2,arg3);
21638
21639 wxPyEndAllowThreads(__tstate);
21640 if (PyErr_Occurred()) SWIG_fail;
21641 }
21642 Py_INCREF(Py_None); resultobj = Py_None;
21643 return resultobj;
21644 fail:
21645 return NULL;
21646 }
21647
21648
21649 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
21650 PyObject *resultobj;
21651 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21652 int *arg2 = (int *) 0 ;
21653 int *arg3 = (int *) 0 ;
21654 int temp2 ;
21655 int temp3 ;
21656 PyObject * obj0 = 0 ;
21657 char *kwnames[] = {
21658 (char *) "self", NULL
21659 };
21660
21661 arg2 = &temp2;
21662 arg3 = &temp3;
21663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
21664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21666 {
21667 PyThreadState* __tstate = wxPyBeginAllowThreads();
21668 (arg1)->GetPageSizeMM(arg2,arg3);
21669
21670 wxPyEndAllowThreads(__tstate);
21671 if (PyErr_Occurred()) SWIG_fail;
21672 }
21673 Py_INCREF(Py_None); resultobj = Py_None;
21674 {
21675 PyObject *o = PyInt_FromLong((long) (*arg2));
21676 resultobj = t_output_helper(resultobj,o);
21677 }
21678 {
21679 PyObject *o = PyInt_FromLong((long) (*arg3));
21680 resultobj = t_output_helper(resultobj,o);
21681 }
21682 return resultobj;
21683 fail:
21684 return NULL;
21685 }
21686
21687
21688 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
21689 PyObject *resultobj;
21690 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21691 int arg2 ;
21692 int arg3 ;
21693 PyObject * obj0 = 0 ;
21694 PyObject * obj1 = 0 ;
21695 PyObject * obj2 = 0 ;
21696 char *kwnames[] = {
21697 (char *) "self",(char *) "x",(char *) "y", NULL
21698 };
21699
21700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
21701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21703 arg2 = (int) SWIG_AsInt(obj1);
21704 if (PyErr_Occurred()) SWIG_fail;
21705 arg3 = (int) SWIG_AsInt(obj2);
21706 if (PyErr_Occurred()) SWIG_fail;
21707 {
21708 PyThreadState* __tstate = wxPyBeginAllowThreads();
21709 (arg1)->SetPPIScreen(arg2,arg3);
21710
21711 wxPyEndAllowThreads(__tstate);
21712 if (PyErr_Occurred()) SWIG_fail;
21713 }
21714 Py_INCREF(Py_None); resultobj = Py_None;
21715 return resultobj;
21716 fail:
21717 return NULL;
21718 }
21719
21720
21721 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
21722 PyObject *resultobj;
21723 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21724 int *arg2 = (int *) 0 ;
21725 int *arg3 = (int *) 0 ;
21726 int temp2 ;
21727 int temp3 ;
21728 PyObject * obj0 = 0 ;
21729 char *kwnames[] = {
21730 (char *) "self", NULL
21731 };
21732
21733 arg2 = &temp2;
21734 arg3 = &temp3;
21735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
21736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21738 {
21739 PyThreadState* __tstate = wxPyBeginAllowThreads();
21740 (arg1)->GetPPIScreen(arg2,arg3);
21741
21742 wxPyEndAllowThreads(__tstate);
21743 if (PyErr_Occurred()) SWIG_fail;
21744 }
21745 Py_INCREF(Py_None); resultobj = Py_None;
21746 {
21747 PyObject *o = PyInt_FromLong((long) (*arg2));
21748 resultobj = t_output_helper(resultobj,o);
21749 }
21750 {
21751 PyObject *o = PyInt_FromLong((long) (*arg3));
21752 resultobj = t_output_helper(resultobj,o);
21753 }
21754 return resultobj;
21755 fail:
21756 return NULL;
21757 }
21758
21759
21760 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
21761 PyObject *resultobj;
21762 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21763 int arg2 ;
21764 int arg3 ;
21765 PyObject * obj0 = 0 ;
21766 PyObject * obj1 = 0 ;
21767 PyObject * obj2 = 0 ;
21768 char *kwnames[] = {
21769 (char *) "self",(char *) "x",(char *) "y", NULL
21770 };
21771
21772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
21773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21775 arg2 = (int) SWIG_AsInt(obj1);
21776 if (PyErr_Occurred()) SWIG_fail;
21777 arg3 = (int) SWIG_AsInt(obj2);
21778 if (PyErr_Occurred()) SWIG_fail;
21779 {
21780 PyThreadState* __tstate = wxPyBeginAllowThreads();
21781 (arg1)->SetPPIPrinter(arg2,arg3);
21782
21783 wxPyEndAllowThreads(__tstate);
21784 if (PyErr_Occurred()) SWIG_fail;
21785 }
21786 Py_INCREF(Py_None); resultobj = Py_None;
21787 return resultobj;
21788 fail:
21789 return NULL;
21790 }
21791
21792
21793 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
21794 PyObject *resultobj;
21795 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21796 int *arg2 = (int *) 0 ;
21797 int *arg3 = (int *) 0 ;
21798 int temp2 ;
21799 int temp3 ;
21800 PyObject * obj0 = 0 ;
21801 char *kwnames[] = {
21802 (char *) "self", NULL
21803 };
21804
21805 arg2 = &temp2;
21806 arg3 = &temp3;
21807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
21808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21810 {
21811 PyThreadState* __tstate = wxPyBeginAllowThreads();
21812 (arg1)->GetPPIPrinter(arg2,arg3);
21813
21814 wxPyEndAllowThreads(__tstate);
21815 if (PyErr_Occurred()) SWIG_fail;
21816 }
21817 Py_INCREF(Py_None); resultobj = Py_None;
21818 {
21819 PyObject *o = PyInt_FromLong((long) (*arg2));
21820 resultobj = t_output_helper(resultobj,o);
21821 }
21822 {
21823 PyObject *o = PyInt_FromLong((long) (*arg3));
21824 resultobj = t_output_helper(resultobj,o);
21825 }
21826 return resultobj;
21827 fail:
21828 return NULL;
21829 }
21830
21831
21832 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21833 PyObject *resultobj;
21834 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21835 bool result;
21836 PyObject * obj0 = 0 ;
21837 char *kwnames[] = {
21838 (char *) "self", NULL
21839 };
21840
21841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",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 result = (bool)(arg1)->IsPreview();
21847
21848 wxPyEndAllowThreads(__tstate);
21849 if (PyErr_Occurred()) SWIG_fail;
21850 }
21851 {
21852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21853 }
21854 return resultobj;
21855 fail:
21856 return NULL;
21857 }
21858
21859
21860 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21861 PyObject *resultobj;
21862 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21863 bool arg2 ;
21864 PyObject * obj0 = 0 ;
21865 PyObject * obj1 = 0 ;
21866 char *kwnames[] = {
21867 (char *) "self",(char *) "p", NULL
21868 };
21869
21870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
21871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21873 arg2 = (bool) SWIG_AsBool(obj1);
21874 if (PyErr_Occurred()) SWIG_fail;
21875 {
21876 PyThreadState* __tstate = wxPyBeginAllowThreads();
21877 (arg1)->SetIsPreview(arg2);
21878
21879 wxPyEndAllowThreads(__tstate);
21880 if (PyErr_Occurred()) SWIG_fail;
21881 }
21882 Py_INCREF(Py_None); resultobj = Py_None;
21883 return resultobj;
21884 fail:
21885 return NULL;
21886 }
21887
21888
21889 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
21890 PyObject *resultobj;
21891 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21892 int arg2 ;
21893 int arg3 ;
21894 bool result;
21895 PyObject * obj0 = 0 ;
21896 PyObject * obj1 = 0 ;
21897 PyObject * obj2 = 0 ;
21898 char *kwnames[] = {
21899 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
21900 };
21901
21902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
21903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21905 arg2 = (int) SWIG_AsInt(obj1);
21906 if (PyErr_Occurred()) SWIG_fail;
21907 arg3 = (int) SWIG_AsInt(obj2);
21908 if (PyErr_Occurred()) SWIG_fail;
21909 {
21910 PyThreadState* __tstate = wxPyBeginAllowThreads();
21911 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
21912
21913 wxPyEndAllowThreads(__tstate);
21914 if (PyErr_Occurred()) SWIG_fail;
21915 }
21916 {
21917 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21918 }
21919 return resultobj;
21920 fail:
21921 return NULL;
21922 }
21923
21924
21925 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
21926 PyObject *resultobj;
21927 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21928 PyObject * obj0 = 0 ;
21929 char *kwnames[] = {
21930 (char *) "self", NULL
21931 };
21932
21933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
21934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21936 {
21937 PyThreadState* __tstate = wxPyBeginAllowThreads();
21938 (arg1)->base_OnEndDocument();
21939
21940 wxPyEndAllowThreads(__tstate);
21941 if (PyErr_Occurred()) SWIG_fail;
21942 }
21943 Py_INCREF(Py_None); resultobj = Py_None;
21944 return resultobj;
21945 fail:
21946 return NULL;
21947 }
21948
21949
21950 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
21951 PyObject *resultobj;
21952 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21953 PyObject * obj0 = 0 ;
21954 char *kwnames[] = {
21955 (char *) "self", NULL
21956 };
21957
21958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
21959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21961 {
21962 PyThreadState* __tstate = wxPyBeginAllowThreads();
21963 (arg1)->base_OnBeginPrinting();
21964
21965 wxPyEndAllowThreads(__tstate);
21966 if (PyErr_Occurred()) SWIG_fail;
21967 }
21968 Py_INCREF(Py_None); resultobj = Py_None;
21969 return resultobj;
21970 fail:
21971 return NULL;
21972 }
21973
21974
21975 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
21976 PyObject *resultobj;
21977 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21978 PyObject * obj0 = 0 ;
21979 char *kwnames[] = {
21980 (char *) "self", NULL
21981 };
21982
21983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
21984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21986 {
21987 PyThreadState* __tstate = wxPyBeginAllowThreads();
21988 (arg1)->base_OnEndPrinting();
21989
21990 wxPyEndAllowThreads(__tstate);
21991 if (PyErr_Occurred()) SWIG_fail;
21992 }
21993 Py_INCREF(Py_None); resultobj = Py_None;
21994 return resultobj;
21995 fail:
21996 return NULL;
21997 }
21998
21999
22000 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22001 PyObject *resultobj;
22002 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22003 PyObject * obj0 = 0 ;
22004 char *kwnames[] = {
22005 (char *) "self", NULL
22006 };
22007
22008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
22009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22011 {
22012 PyThreadState* __tstate = wxPyBeginAllowThreads();
22013 (arg1)->base_OnPreparePrinting();
22014
22015 wxPyEndAllowThreads(__tstate);
22016 if (PyErr_Occurred()) SWIG_fail;
22017 }
22018 Py_INCREF(Py_None); resultobj = Py_None;
22019 return resultobj;
22020 fail:
22021 return NULL;
22022 }
22023
22024
22025 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22026 PyObject *resultobj;
22027 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22028 int arg2 ;
22029 bool result;
22030 PyObject * obj0 = 0 ;
22031 PyObject * obj1 = 0 ;
22032 char *kwnames[] = {
22033 (char *) "self",(char *) "page", NULL
22034 };
22035
22036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
22037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22039 arg2 = (int) SWIG_AsInt(obj1);
22040 if (PyErr_Occurred()) SWIG_fail;
22041 {
22042 PyThreadState* __tstate = wxPyBeginAllowThreads();
22043 result = (bool)(arg1)->base_HasPage(arg2);
22044
22045 wxPyEndAllowThreads(__tstate);
22046 if (PyErr_Occurred()) SWIG_fail;
22047 }
22048 {
22049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22050 }
22051 return resultobj;
22052 fail:
22053 return NULL;
22054 }
22055
22056
22057 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22058 PyObject *resultobj;
22059 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22060 int *arg2 = (int *) 0 ;
22061 int *arg3 = (int *) 0 ;
22062 int *arg4 = (int *) 0 ;
22063 int *arg5 = (int *) 0 ;
22064 int temp2 ;
22065 int temp3 ;
22066 int temp4 ;
22067 int temp5 ;
22068 PyObject * obj0 = 0 ;
22069 char *kwnames[] = {
22070 (char *) "self", NULL
22071 };
22072
22073 arg2 = &temp2;
22074 arg3 = &temp3;
22075 arg4 = &temp4;
22076 arg5 = &temp5;
22077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
22078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22080 {
22081 PyThreadState* __tstate = wxPyBeginAllowThreads();
22082 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
22083
22084 wxPyEndAllowThreads(__tstate);
22085 if (PyErr_Occurred()) SWIG_fail;
22086 }
22087 Py_INCREF(Py_None); resultobj = Py_None;
22088 {
22089 PyObject *o = PyInt_FromLong((long) (*arg2));
22090 resultobj = t_output_helper(resultobj,o);
22091 }
22092 {
22093 PyObject *o = PyInt_FromLong((long) (*arg3));
22094 resultobj = t_output_helper(resultobj,o);
22095 }
22096 {
22097 PyObject *o = PyInt_FromLong((long) (*arg4));
22098 resultobj = t_output_helper(resultobj,o);
22099 }
22100 {
22101 PyObject *o = PyInt_FromLong((long) (*arg5));
22102 resultobj = t_output_helper(resultobj,o);
22103 }
22104 return resultobj;
22105 fail:
22106 return NULL;
22107 }
22108
22109
22110 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
22111 PyObject *obj;
22112 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22113 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
22114 Py_INCREF(obj);
22115 return Py_BuildValue((char *)"");
22116 }
22117 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22118 PyObject *resultobj;
22119 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22120 wxWindow *arg2 = (wxWindow *) 0 ;
22121 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22122 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22123 wxSize const &arg4_defvalue = wxDefaultSize ;
22124 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22125 long arg5 = (long) 0 ;
22126 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
22127 wxString *arg6 = (wxString *) &arg6_defvalue ;
22128 wxPreviewCanvas *result;
22129 wxPoint temp3 ;
22130 wxSize temp4 ;
22131 bool temp6 = False ;
22132 PyObject * obj0 = 0 ;
22133 PyObject * obj1 = 0 ;
22134 PyObject * obj2 = 0 ;
22135 PyObject * obj3 = 0 ;
22136 PyObject * obj4 = 0 ;
22137 PyObject * obj5 = 0 ;
22138 char *kwnames[] = {
22139 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22140 };
22141
22142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22145 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22147 if (obj2) {
22148 {
22149 arg3 = &temp3;
22150 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22151 }
22152 }
22153 if (obj3) {
22154 {
22155 arg4 = &temp4;
22156 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22157 }
22158 }
22159 if (obj4) {
22160 arg5 = (long) SWIG_AsLong(obj4);
22161 if (PyErr_Occurred()) SWIG_fail;
22162 }
22163 if (obj5) {
22164 {
22165 arg6 = wxString_in_helper(obj5);
22166 if (arg6 == NULL) SWIG_fail;
22167 temp6 = True;
22168 }
22169 }
22170 {
22171 PyThreadState* __tstate = wxPyBeginAllowThreads();
22172 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22173
22174 wxPyEndAllowThreads(__tstate);
22175 if (PyErr_Occurred()) SWIG_fail;
22176 }
22177 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
22178 {
22179 if (temp6)
22180 delete arg6;
22181 }
22182 return resultobj;
22183 fail:
22184 {
22185 if (temp6)
22186 delete arg6;
22187 }
22188 return NULL;
22189 }
22190
22191
22192 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
22193 PyObject *obj;
22194 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22195 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
22196 Py_INCREF(obj);
22197 return Py_BuildValue((char *)"");
22198 }
22199 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22200 PyObject *resultobj;
22201 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22202 wxFrame *arg2 = (wxFrame *) 0 ;
22203 wxString *arg3 = 0 ;
22204 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22205 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22206 wxSize const &arg5_defvalue = wxDefaultSize ;
22207 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22208 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
22209 wxString const &arg7_defvalue = wxPyFrameNameStr ;
22210 wxString *arg7 = (wxString *) &arg7_defvalue ;
22211 wxPreviewFrame *result;
22212 bool temp3 = False ;
22213 wxPoint temp4 ;
22214 wxSize temp5 ;
22215 bool temp7 = False ;
22216 PyObject * obj0 = 0 ;
22217 PyObject * obj1 = 0 ;
22218 PyObject * obj2 = 0 ;
22219 PyObject * obj3 = 0 ;
22220 PyObject * obj4 = 0 ;
22221 PyObject * obj5 = 0 ;
22222 PyObject * obj6 = 0 ;
22223 char *kwnames[] = {
22224 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22225 };
22226
22227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22230 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22232 {
22233 arg3 = wxString_in_helper(obj2);
22234 if (arg3 == NULL) SWIG_fail;
22235 temp3 = True;
22236 }
22237 if (obj3) {
22238 {
22239 arg4 = &temp4;
22240 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22241 }
22242 }
22243 if (obj4) {
22244 {
22245 arg5 = &temp5;
22246 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22247 }
22248 }
22249 if (obj5) {
22250 arg6 = (long) SWIG_AsLong(obj5);
22251 if (PyErr_Occurred()) SWIG_fail;
22252 }
22253 if (obj6) {
22254 {
22255 arg7 = wxString_in_helper(obj6);
22256 if (arg7 == NULL) SWIG_fail;
22257 temp7 = True;
22258 }
22259 }
22260 {
22261 PyThreadState* __tstate = wxPyBeginAllowThreads();
22262 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22263
22264 wxPyEndAllowThreads(__tstate);
22265 if (PyErr_Occurred()) SWIG_fail;
22266 }
22267 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
22268 {
22269 if (temp3)
22270 delete arg3;
22271 }
22272 {
22273 if (temp7)
22274 delete arg7;
22275 }
22276 return resultobj;
22277 fail:
22278 {
22279 if (temp3)
22280 delete arg3;
22281 }
22282 {
22283 if (temp7)
22284 delete arg7;
22285 }
22286 return NULL;
22287 }
22288
22289
22290 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
22291 PyObject *resultobj;
22292 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22293 PyObject * obj0 = 0 ;
22294 char *kwnames[] = {
22295 (char *) "self", NULL
22296 };
22297
22298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
22299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22301 {
22302 PyThreadState* __tstate = wxPyBeginAllowThreads();
22303 (arg1)->Initialize();
22304
22305 wxPyEndAllowThreads(__tstate);
22306 if (PyErr_Occurred()) SWIG_fail;
22307 }
22308 Py_INCREF(Py_None); resultobj = Py_None;
22309 return resultobj;
22310 fail:
22311 return NULL;
22312 }
22313
22314
22315 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22316 PyObject *resultobj;
22317 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22318 PyObject * obj0 = 0 ;
22319 char *kwnames[] = {
22320 (char *) "self", NULL
22321 };
22322
22323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
22324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22326 {
22327 PyThreadState* __tstate = wxPyBeginAllowThreads();
22328 (arg1)->CreateControlBar();
22329
22330 wxPyEndAllowThreads(__tstate);
22331 if (PyErr_Occurred()) SWIG_fail;
22332 }
22333 Py_INCREF(Py_None); resultobj = Py_None;
22334 return resultobj;
22335 fail:
22336 return NULL;
22337 }
22338
22339
22340 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22341 PyObject *resultobj;
22342 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22343 PyObject * obj0 = 0 ;
22344 char *kwnames[] = {
22345 (char *) "self", NULL
22346 };
22347
22348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
22349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22351 {
22352 PyThreadState* __tstate = wxPyBeginAllowThreads();
22353 (arg1)->CreateCanvas();
22354
22355 wxPyEndAllowThreads(__tstate);
22356 if (PyErr_Occurred()) SWIG_fail;
22357 }
22358 Py_INCREF(Py_None); resultobj = Py_None;
22359 return resultobj;
22360 fail:
22361 return NULL;
22362 }
22363
22364
22365 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22366 PyObject *resultobj;
22367 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22368 wxPreviewControlBar *result;
22369 PyObject * obj0 = 0 ;
22370 char *kwnames[] = {
22371 (char *) "self", NULL
22372 };
22373
22374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
22375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22377 {
22378 PyThreadState* __tstate = wxPyBeginAllowThreads();
22379 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
22380
22381 wxPyEndAllowThreads(__tstate);
22382 if (PyErr_Occurred()) SWIG_fail;
22383 }
22384 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
22385 return resultobj;
22386 fail:
22387 return NULL;
22388 }
22389
22390
22391 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
22392 PyObject *obj;
22393 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22394 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
22395 Py_INCREF(obj);
22396 return Py_BuildValue((char *)"");
22397 }
22398 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22399 PyObject *resultobj;
22400 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22401 long arg2 ;
22402 wxWindow *arg3 = (wxWindow *) 0 ;
22403 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22404 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22405 wxSize const &arg5_defvalue = wxDefaultSize ;
22406 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22407 long arg6 = (long) wxTAB_TRAVERSAL ;
22408 wxString const &arg7_defvalue = wxPyPanelNameStr ;
22409 wxString *arg7 = (wxString *) &arg7_defvalue ;
22410 wxPreviewControlBar *result;
22411 wxPoint temp4 ;
22412 wxSize temp5 ;
22413 bool temp7 = False ;
22414 PyObject * obj0 = 0 ;
22415 PyObject * obj1 = 0 ;
22416 PyObject * obj2 = 0 ;
22417 PyObject * obj3 = 0 ;
22418 PyObject * obj4 = 0 ;
22419 PyObject * obj5 = 0 ;
22420 PyObject * obj6 = 0 ;
22421 char *kwnames[] = {
22422 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22423 };
22424
22425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22428 arg2 = (long) SWIG_AsLong(obj1);
22429 if (PyErr_Occurred()) SWIG_fail;
22430 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
22431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22432 if (obj3) {
22433 {
22434 arg4 = &temp4;
22435 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22436 }
22437 }
22438 if (obj4) {
22439 {
22440 arg5 = &temp5;
22441 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22442 }
22443 }
22444 if (obj5) {
22445 arg6 = (long) SWIG_AsLong(obj5);
22446 if (PyErr_Occurred()) SWIG_fail;
22447 }
22448 if (obj6) {
22449 {
22450 arg7 = wxString_in_helper(obj6);
22451 if (arg7 == NULL) SWIG_fail;
22452 temp7 = True;
22453 }
22454 }
22455 {
22456 PyThreadState* __tstate = wxPyBeginAllowThreads();
22457 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22458
22459 wxPyEndAllowThreads(__tstate);
22460 if (PyErr_Occurred()) SWIG_fail;
22461 }
22462 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
22463 {
22464 if (temp7)
22465 delete arg7;
22466 }
22467 return resultobj;
22468 fail:
22469 {
22470 if (temp7)
22471 delete arg7;
22472 }
22473 return NULL;
22474 }
22475
22476
22477 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22478 PyObject *resultobj;
22479 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22480 int result;
22481 PyObject * obj0 = 0 ;
22482 char *kwnames[] = {
22483 (char *) "self", NULL
22484 };
22485
22486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
22487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22489 {
22490 PyThreadState* __tstate = wxPyBeginAllowThreads();
22491 result = (int)(arg1)->GetZoomControl();
22492
22493 wxPyEndAllowThreads(__tstate);
22494 if (PyErr_Occurred()) SWIG_fail;
22495 }
22496 resultobj = SWIG_FromInt((int)result);
22497 return resultobj;
22498 fail:
22499 return NULL;
22500 }
22501
22502
22503 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22504 PyObject *resultobj;
22505 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22506 int arg2 ;
22507 PyObject * obj0 = 0 ;
22508 PyObject * obj1 = 0 ;
22509 char *kwnames[] = {
22510 (char *) "self",(char *) "zoom", NULL
22511 };
22512
22513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
22514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22516 arg2 = (int) SWIG_AsInt(obj1);
22517 if (PyErr_Occurred()) SWIG_fail;
22518 {
22519 PyThreadState* __tstate = wxPyBeginAllowThreads();
22520 (arg1)->SetZoomControl(arg2);
22521
22522 wxPyEndAllowThreads(__tstate);
22523 if (PyErr_Occurred()) SWIG_fail;
22524 }
22525 Py_INCREF(Py_None); resultobj = Py_None;
22526 return resultobj;
22527 fail:
22528 return NULL;
22529 }
22530
22531
22532 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22533 PyObject *resultobj;
22534 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22535 wxPrintPreview *result;
22536 PyObject * obj0 = 0 ;
22537 char *kwnames[] = {
22538 (char *) "self", NULL
22539 };
22540
22541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
22542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22544 {
22545 PyThreadState* __tstate = wxPyBeginAllowThreads();
22546 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
22547
22548 wxPyEndAllowThreads(__tstate);
22549 if (PyErr_Occurred()) SWIG_fail;
22550 }
22551 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
22552 return resultobj;
22553 fail:
22554 return NULL;
22555 }
22556
22557
22558 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
22559 PyObject *resultobj;
22560 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22561 PyObject * obj0 = 0 ;
22562 char *kwnames[] = {
22563 (char *) "self", NULL
22564 };
22565
22566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
22567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22569 {
22570 PyThreadState* __tstate = wxPyBeginAllowThreads();
22571 (arg1)->OnNext();
22572
22573 wxPyEndAllowThreads(__tstate);
22574 if (PyErr_Occurred()) SWIG_fail;
22575 }
22576 Py_INCREF(Py_None); resultobj = Py_None;
22577 return resultobj;
22578 fail:
22579 return NULL;
22580 }
22581
22582
22583 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
22584 PyObject *resultobj;
22585 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22586 PyObject * obj0 = 0 ;
22587 char *kwnames[] = {
22588 (char *) "self", NULL
22589 };
22590
22591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
22592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22594 {
22595 PyThreadState* __tstate = wxPyBeginAllowThreads();
22596 (arg1)->OnPrevious();
22597
22598 wxPyEndAllowThreads(__tstate);
22599 if (PyErr_Occurred()) SWIG_fail;
22600 }
22601 Py_INCREF(Py_None); resultobj = Py_None;
22602 return resultobj;
22603 fail:
22604 return NULL;
22605 }
22606
22607
22608 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
22609 PyObject *resultobj;
22610 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22611 PyObject * obj0 = 0 ;
22612 char *kwnames[] = {
22613 (char *) "self", NULL
22614 };
22615
22616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
22617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22619 {
22620 PyThreadState* __tstate = wxPyBeginAllowThreads();
22621 (arg1)->OnFirst();
22622
22623 wxPyEndAllowThreads(__tstate);
22624 if (PyErr_Occurred()) SWIG_fail;
22625 }
22626 Py_INCREF(Py_None); resultobj = Py_None;
22627 return resultobj;
22628 fail:
22629 return NULL;
22630 }
22631
22632
22633 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
22634 PyObject *resultobj;
22635 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22636 PyObject * obj0 = 0 ;
22637 char *kwnames[] = {
22638 (char *) "self", NULL
22639 };
22640
22641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
22642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22644 {
22645 PyThreadState* __tstate = wxPyBeginAllowThreads();
22646 (arg1)->OnLast();
22647
22648 wxPyEndAllowThreads(__tstate);
22649 if (PyErr_Occurred()) SWIG_fail;
22650 }
22651 Py_INCREF(Py_None); resultobj = Py_None;
22652 return resultobj;
22653 fail:
22654 return NULL;
22655 }
22656
22657
22658 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
22659 PyObject *resultobj;
22660 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22661 PyObject * obj0 = 0 ;
22662 char *kwnames[] = {
22663 (char *) "self", NULL
22664 };
22665
22666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
22667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22669 {
22670 PyThreadState* __tstate = wxPyBeginAllowThreads();
22671 (arg1)->OnGoto();
22672
22673 wxPyEndAllowThreads(__tstate);
22674 if (PyErr_Occurred()) SWIG_fail;
22675 }
22676 Py_INCREF(Py_None); resultobj = Py_None;
22677 return resultobj;
22678 fail:
22679 return NULL;
22680 }
22681
22682
22683 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
22684 PyObject *obj;
22685 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22686 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
22687 Py_INCREF(obj);
22688 return Py_BuildValue((char *)"");
22689 }
22690 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *self, PyObject *args) {
22691 PyObject *resultobj;
22692 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22693 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22694 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
22695 wxPrintPreview *result;
22696 PyObject * obj0 = 0 ;
22697 PyObject * obj1 = 0 ;
22698 PyObject * obj2 = 0 ;
22699
22700 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
22701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22703 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22705 if (obj2) {
22706 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
22707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22708 }
22709 {
22710 PyThreadState* __tstate = wxPyBeginAllowThreads();
22711 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
22712
22713 wxPyEndAllowThreads(__tstate);
22714 if (PyErr_Occurred()) SWIG_fail;
22715 }
22716 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
22717 return resultobj;
22718 fail:
22719 return NULL;
22720 }
22721
22722
22723 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *self, PyObject *args) {
22724 PyObject *resultobj;
22725 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22726 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22727 wxPrintData *arg3 = (wxPrintData *) 0 ;
22728 wxPrintPreview *result;
22729 PyObject * obj0 = 0 ;
22730 PyObject * obj1 = 0 ;
22731 PyObject * obj2 = 0 ;
22732
22733 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
22734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22736 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22738 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
22739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22740 {
22741 PyThreadState* __tstate = wxPyBeginAllowThreads();
22742 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
22743
22744 wxPyEndAllowThreads(__tstate);
22745 if (PyErr_Occurred()) SWIG_fail;
22746 }
22747 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
22748 return resultobj;
22749 fail:
22750 return NULL;
22751 }
22752
22753
22754 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
22755 int argc;
22756 PyObject *argv[4];
22757 int ii;
22758
22759 argc = PyObject_Length(args);
22760 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
22761 argv[ii] = PyTuple_GetItem(args,ii);
22762 }
22763 if ((argc >= 2) && (argc <= 3)) {
22764 int _v;
22765 {
22766 void *ptr;
22767 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22768 _v = 0;
22769 PyErr_Clear();
22770 } else {
22771 _v = 1;
22772 }
22773 }
22774 if (_v) {
22775 {
22776 void *ptr;
22777 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22778 _v = 0;
22779 PyErr_Clear();
22780 } else {
22781 _v = 1;
22782 }
22783 }
22784 if (_v) {
22785 if (argc <= 2) {
22786 return _wrap_new_PrintPreview__SWIG_0(self,args);
22787 }
22788 {
22789 void *ptr;
22790 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
22791 _v = 0;
22792 PyErr_Clear();
22793 } else {
22794 _v = 1;
22795 }
22796 }
22797 if (_v) {
22798 return _wrap_new_PrintPreview__SWIG_0(self,args);
22799 }
22800 }
22801 }
22802 }
22803 if (argc == 3) {
22804 int _v;
22805 {
22806 void *ptr;
22807 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22808 _v = 0;
22809 PyErr_Clear();
22810 } else {
22811 _v = 1;
22812 }
22813 }
22814 if (_v) {
22815 {
22816 void *ptr;
22817 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22818 _v = 0;
22819 PyErr_Clear();
22820 } else {
22821 _v = 1;
22822 }
22823 }
22824 if (_v) {
22825 {
22826 void *ptr;
22827 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
22828 _v = 0;
22829 PyErr_Clear();
22830 } else {
22831 _v = 1;
22832 }
22833 }
22834 if (_v) {
22835 return _wrap_new_PrintPreview__SWIG_1(self,args);
22836 }
22837 }
22838 }
22839 }
22840
22841 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
22842 return NULL;
22843 }
22844
22845
22846 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22847 PyObject *resultobj;
22848 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22849 int arg2 ;
22850 bool result;
22851 PyObject * obj0 = 0 ;
22852 PyObject * obj1 = 0 ;
22853 char *kwnames[] = {
22854 (char *) "self",(char *) "pageNum", NULL
22855 };
22856
22857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
22858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22860 arg2 = (int) SWIG_AsInt(obj1);
22861 if (PyErr_Occurred()) SWIG_fail;
22862 {
22863 PyThreadState* __tstate = wxPyBeginAllowThreads();
22864 result = (bool)(arg1)->SetCurrentPage(arg2);
22865
22866 wxPyEndAllowThreads(__tstate);
22867 if (PyErr_Occurred()) SWIG_fail;
22868 }
22869 {
22870 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22871 }
22872 return resultobj;
22873 fail:
22874 return NULL;
22875 }
22876
22877
22878 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22879 PyObject *resultobj;
22880 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22881 int result;
22882 PyObject * obj0 = 0 ;
22883 char *kwnames[] = {
22884 (char *) "self", NULL
22885 };
22886
22887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
22888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22890 {
22891 PyThreadState* __tstate = wxPyBeginAllowThreads();
22892 result = (int)(arg1)->GetCurrentPage();
22893
22894 wxPyEndAllowThreads(__tstate);
22895 if (PyErr_Occurred()) SWIG_fail;
22896 }
22897 resultobj = SWIG_FromInt((int)result);
22898 return resultobj;
22899 fail:
22900 return NULL;
22901 }
22902
22903
22904 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
22905 PyObject *resultobj;
22906 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22907 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22908 PyObject * obj0 = 0 ;
22909 PyObject * obj1 = 0 ;
22910 char *kwnames[] = {
22911 (char *) "self",(char *) "printout", NULL
22912 };
22913
22914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
22915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22917 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22919 {
22920 PyThreadState* __tstate = wxPyBeginAllowThreads();
22921 (arg1)->SetPrintout(arg2);
22922
22923 wxPyEndAllowThreads(__tstate);
22924 if (PyErr_Occurred()) SWIG_fail;
22925 }
22926 Py_INCREF(Py_None); resultobj = Py_None;
22927 return resultobj;
22928 fail:
22929 return NULL;
22930 }
22931
22932
22933 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
22934 PyObject *resultobj;
22935 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22936 wxPyPrintout *result;
22937 PyObject * obj0 = 0 ;
22938 char *kwnames[] = {
22939 (char *) "self", NULL
22940 };
22941
22942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
22943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22945 {
22946 PyThreadState* __tstate = wxPyBeginAllowThreads();
22947 result = (wxPyPrintout *)(arg1)->GetPrintout();
22948
22949 wxPyEndAllowThreads(__tstate);
22950 if (PyErr_Occurred()) SWIG_fail;
22951 }
22952 {
22953 resultobj = wxPyMake_wxObject(result);
22954 }
22955 return resultobj;
22956 fail:
22957 return NULL;
22958 }
22959
22960
22961 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22962 PyObject *resultobj;
22963 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22964 wxPyPrintout *result;
22965 PyObject * obj0 = 0 ;
22966 char *kwnames[] = {
22967 (char *) "self", NULL
22968 };
22969
22970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
22971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22973 {
22974 PyThreadState* __tstate = wxPyBeginAllowThreads();
22975 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
22976
22977 wxPyEndAllowThreads(__tstate);
22978 if (PyErr_Occurred()) SWIG_fail;
22979 }
22980 {
22981 resultobj = wxPyMake_wxObject(result);
22982 }
22983 return resultobj;
22984 fail:
22985 return NULL;
22986 }
22987
22988
22989 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22990 PyObject *resultobj;
22991 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22992 wxFrame *arg2 = (wxFrame *) 0 ;
22993 PyObject * obj0 = 0 ;
22994 PyObject * obj1 = 0 ;
22995 char *kwnames[] = {
22996 (char *) "self",(char *) "frame", NULL
22997 };
22998
22999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
23000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23002 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23004 {
23005 PyThreadState* __tstate = wxPyBeginAllowThreads();
23006 (arg1)->SetFrame(arg2);
23007
23008 wxPyEndAllowThreads(__tstate);
23009 if (PyErr_Occurred()) SWIG_fail;
23010 }
23011 Py_INCREF(Py_None); resultobj = Py_None;
23012 return resultobj;
23013 fail:
23014 return NULL;
23015 }
23016
23017
23018 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23019 PyObject *resultobj;
23020 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23021 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23022 PyObject * obj0 = 0 ;
23023 PyObject * obj1 = 0 ;
23024 char *kwnames[] = {
23025 (char *) "self",(char *) "canvas", NULL
23026 };
23027
23028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
23029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23031 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23033 {
23034 PyThreadState* __tstate = wxPyBeginAllowThreads();
23035 (arg1)->SetCanvas(arg2);
23036
23037 wxPyEndAllowThreads(__tstate);
23038 if (PyErr_Occurred()) SWIG_fail;
23039 }
23040 Py_INCREF(Py_None); resultobj = Py_None;
23041 return resultobj;
23042 fail:
23043 return NULL;
23044 }
23045
23046
23047 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23048 PyObject *resultobj;
23049 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23050 wxFrame *result;
23051 PyObject * obj0 = 0 ;
23052 char *kwnames[] = {
23053 (char *) "self", NULL
23054 };
23055
23056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
23057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23059 {
23060 PyThreadState* __tstate = wxPyBeginAllowThreads();
23061 result = (wxFrame *)(arg1)->GetFrame();
23062
23063 wxPyEndAllowThreads(__tstate);
23064 if (PyErr_Occurred()) SWIG_fail;
23065 }
23066 {
23067 resultobj = wxPyMake_wxObject(result);
23068 }
23069 return resultobj;
23070 fail:
23071 return NULL;
23072 }
23073
23074
23075 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23076 PyObject *resultobj;
23077 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23078 wxPreviewCanvas *result;
23079 PyObject * obj0 = 0 ;
23080 char *kwnames[] = {
23081 (char *) "self", NULL
23082 };
23083
23084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
23085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23087 {
23088 PyThreadState* __tstate = wxPyBeginAllowThreads();
23089 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
23090
23091 wxPyEndAllowThreads(__tstate);
23092 if (PyErr_Occurred()) SWIG_fail;
23093 }
23094 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
23095 return resultobj;
23096 fail:
23097 return NULL;
23098 }
23099
23100
23101 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23102 PyObject *resultobj;
23103 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23104 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23105 wxDC *arg3 = 0 ;
23106 bool result;
23107 PyObject * obj0 = 0 ;
23108 PyObject * obj1 = 0 ;
23109 PyObject * obj2 = 0 ;
23110 char *kwnames[] = {
23111 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23112 };
23113
23114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23117 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23119 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23120 SWIG_POINTER_EXCEPTION | 0)) == -1)
23121 SWIG_fail;
23122 if (arg3 == NULL) {
23123 PyErr_SetString(PyExc_TypeError,"null reference");
23124 SWIG_fail;
23125 }
23126 {
23127 PyThreadState* __tstate = wxPyBeginAllowThreads();
23128 result = (bool)(arg1)->PaintPage(arg2,*arg3);
23129
23130 wxPyEndAllowThreads(__tstate);
23131 if (PyErr_Occurred()) SWIG_fail;
23132 }
23133 {
23134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23135 }
23136 return resultobj;
23137 fail:
23138 return NULL;
23139 }
23140
23141
23142 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23143 PyObject *resultobj;
23144 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23145 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23146 wxDC *arg3 = 0 ;
23147 bool result;
23148 PyObject * obj0 = 0 ;
23149 PyObject * obj1 = 0 ;
23150 PyObject * obj2 = 0 ;
23151 char *kwnames[] = {
23152 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23153 };
23154
23155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23158 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23160 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23161 SWIG_POINTER_EXCEPTION | 0)) == -1)
23162 SWIG_fail;
23163 if (arg3 == NULL) {
23164 PyErr_SetString(PyExc_TypeError,"null reference");
23165 SWIG_fail;
23166 }
23167 {
23168 PyThreadState* __tstate = wxPyBeginAllowThreads();
23169 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
23170
23171 wxPyEndAllowThreads(__tstate);
23172 if (PyErr_Occurred()) SWIG_fail;
23173 }
23174 {
23175 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23176 }
23177 return resultobj;
23178 fail:
23179 return NULL;
23180 }
23181
23182
23183 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23184 PyObject *resultobj;
23185 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23186 int arg2 ;
23187 bool result;
23188 PyObject * obj0 = 0 ;
23189 PyObject * obj1 = 0 ;
23190 char *kwnames[] = {
23191 (char *) "self",(char *) "pageNum", NULL
23192 };
23193
23194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23197 arg2 = (int) SWIG_AsInt(obj1);
23198 if (PyErr_Occurred()) SWIG_fail;
23199 {
23200 PyThreadState* __tstate = wxPyBeginAllowThreads();
23201 result = (bool)(arg1)->RenderPage(arg2);
23202
23203 wxPyEndAllowThreads(__tstate);
23204 if (PyErr_Occurred()) SWIG_fail;
23205 }
23206 {
23207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23208 }
23209 return resultobj;
23210 fail:
23211 return NULL;
23212 }
23213
23214
23215 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
23216 PyObject *resultobj;
23217 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23218 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23219 PyObject * obj0 = 0 ;
23220 PyObject * obj1 = 0 ;
23221 char *kwnames[] = {
23222 (char *) "self",(char *) "canvas", NULL
23223 };
23224
23225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
23226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23228 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23230 {
23231 PyThreadState* __tstate = wxPyBeginAllowThreads();
23232 (arg1)->AdjustScrollbars(arg2);
23233
23234 wxPyEndAllowThreads(__tstate);
23235 if (PyErr_Occurred()) SWIG_fail;
23236 }
23237 Py_INCREF(Py_None); resultobj = Py_None;
23238 return resultobj;
23239 fail:
23240 return NULL;
23241 }
23242
23243
23244 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
23245 PyObject *resultobj;
23246 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23247 wxPrintDialogData *result;
23248 PyObject * obj0 = 0 ;
23249 char *kwnames[] = {
23250 (char *) "self", NULL
23251 };
23252
23253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
23254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23256 {
23257 PyThreadState* __tstate = wxPyBeginAllowThreads();
23258 {
23259 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
23260 result = (wxPrintDialogData *) &_result_ref;
23261 }
23262
23263 wxPyEndAllowThreads(__tstate);
23264 if (PyErr_Occurred()) SWIG_fail;
23265 }
23266 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
23267 return resultobj;
23268 fail:
23269 return NULL;
23270 }
23271
23272
23273 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23274 PyObject *resultobj;
23275 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23276 int arg2 ;
23277 PyObject * obj0 = 0 ;
23278 PyObject * obj1 = 0 ;
23279 char *kwnames[] = {
23280 (char *) "self",(char *) "percent", NULL
23281 };
23282
23283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
23284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23286 arg2 = (int) SWIG_AsInt(obj1);
23287 if (PyErr_Occurred()) SWIG_fail;
23288 {
23289 PyThreadState* __tstate = wxPyBeginAllowThreads();
23290 (arg1)->SetZoom(arg2);
23291
23292 wxPyEndAllowThreads(__tstate);
23293 if (PyErr_Occurred()) SWIG_fail;
23294 }
23295 Py_INCREF(Py_None); resultobj = Py_None;
23296 return resultobj;
23297 fail:
23298 return NULL;
23299 }
23300
23301
23302 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23303 PyObject *resultobj;
23304 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23305 int result;
23306 PyObject * obj0 = 0 ;
23307 char *kwnames[] = {
23308 (char *) "self", NULL
23309 };
23310
23311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
23312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23314 {
23315 PyThreadState* __tstate = wxPyBeginAllowThreads();
23316 result = (int)(arg1)->GetZoom();
23317
23318 wxPyEndAllowThreads(__tstate);
23319 if (PyErr_Occurred()) SWIG_fail;
23320 }
23321 resultobj = SWIG_FromInt((int)result);
23322 return resultobj;
23323 fail:
23324 return NULL;
23325 }
23326
23327
23328 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23329 PyObject *resultobj;
23330 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23331 int result;
23332 PyObject * obj0 = 0 ;
23333 char *kwnames[] = {
23334 (char *) "self", NULL
23335 };
23336
23337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
23338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23340 {
23341 PyThreadState* __tstate = wxPyBeginAllowThreads();
23342 result = (int)(arg1)->GetMaxPage();
23343
23344 wxPyEndAllowThreads(__tstate);
23345 if (PyErr_Occurred()) SWIG_fail;
23346 }
23347 resultobj = SWIG_FromInt((int)result);
23348 return resultobj;
23349 fail:
23350 return NULL;
23351 }
23352
23353
23354 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23355 PyObject *resultobj;
23356 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23357 int result;
23358 PyObject * obj0 = 0 ;
23359 char *kwnames[] = {
23360 (char *) "self", NULL
23361 };
23362
23363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
23364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23366 {
23367 PyThreadState* __tstate = wxPyBeginAllowThreads();
23368 result = (int)(arg1)->GetMinPage();
23369
23370 wxPyEndAllowThreads(__tstate);
23371 if (PyErr_Occurred()) SWIG_fail;
23372 }
23373 resultobj = SWIG_FromInt((int)result);
23374 return resultobj;
23375 fail:
23376 return NULL;
23377 }
23378
23379
23380 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
23381 PyObject *resultobj;
23382 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23383 bool result;
23384 PyObject * obj0 = 0 ;
23385 char *kwnames[] = {
23386 (char *) "self", NULL
23387 };
23388
23389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
23390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23392 {
23393 PyThreadState* __tstate = wxPyBeginAllowThreads();
23394 result = (bool)(arg1)->Ok();
23395
23396 wxPyEndAllowThreads(__tstate);
23397 if (PyErr_Occurred()) SWIG_fail;
23398 }
23399 {
23400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23401 }
23402 return resultobj;
23403 fail:
23404 return NULL;
23405 }
23406
23407
23408 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
23409 PyObject *resultobj;
23410 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23411 bool arg2 ;
23412 PyObject * obj0 = 0 ;
23413 PyObject * obj1 = 0 ;
23414 char *kwnames[] = {
23415 (char *) "self",(char *) "ok", NULL
23416 };
23417
23418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
23419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23421 arg2 = (bool) SWIG_AsBool(obj1);
23422 if (PyErr_Occurred()) SWIG_fail;
23423 {
23424 PyThreadState* __tstate = wxPyBeginAllowThreads();
23425 (arg1)->SetOk(arg2);
23426
23427 wxPyEndAllowThreads(__tstate);
23428 if (PyErr_Occurred()) SWIG_fail;
23429 }
23430 Py_INCREF(Py_None); resultobj = Py_None;
23431 return resultobj;
23432 fail:
23433 return NULL;
23434 }
23435
23436
23437 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
23438 PyObject *resultobj;
23439 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23440 bool arg2 ;
23441 bool result;
23442 PyObject * obj0 = 0 ;
23443 PyObject * obj1 = 0 ;
23444 char *kwnames[] = {
23445 (char *) "self",(char *) "interactive", NULL
23446 };
23447
23448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
23449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23451 arg2 = (bool) SWIG_AsBool(obj1);
23452 if (PyErr_Occurred()) SWIG_fail;
23453 {
23454 PyThreadState* __tstate = wxPyBeginAllowThreads();
23455 result = (bool)(arg1)->Print(arg2);
23456
23457 wxPyEndAllowThreads(__tstate);
23458 if (PyErr_Occurred()) SWIG_fail;
23459 }
23460 {
23461 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23462 }
23463 return resultobj;
23464 fail:
23465 return NULL;
23466 }
23467
23468
23469 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
23470 PyObject *resultobj;
23471 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23472 PyObject * obj0 = 0 ;
23473 char *kwnames[] = {
23474 (char *) "self", NULL
23475 };
23476
23477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
23478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23480 {
23481 PyThreadState* __tstate = wxPyBeginAllowThreads();
23482 (arg1)->DetermineScaling();
23483
23484 wxPyEndAllowThreads(__tstate);
23485 if (PyErr_Occurred()) SWIG_fail;
23486 }
23487 Py_INCREF(Py_None); resultobj = Py_None;
23488 return resultobj;
23489 fail:
23490 return NULL;
23491 }
23492
23493
23494 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
23495 PyObject *obj;
23496 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23497 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
23498 Py_INCREF(obj);
23499 return Py_BuildValue((char *)"");
23500 }
23501 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *self, PyObject *args) {
23502 PyObject *resultobj;
23503 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23504 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23505 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23506 wxPyPrintPreview *result;
23507 PyObject * obj0 = 0 ;
23508 PyObject * obj1 = 0 ;
23509 PyObject * obj2 = 0 ;
23510
23511 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23514 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23516 if (obj2) {
23517 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23519 }
23520 {
23521 PyThreadState* __tstate = wxPyBeginAllowThreads();
23522 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23523
23524 wxPyEndAllowThreads(__tstate);
23525 if (PyErr_Occurred()) SWIG_fail;
23526 }
23527 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23528 return resultobj;
23529 fail:
23530 return NULL;
23531 }
23532
23533
23534 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *self, PyObject *args) {
23535 PyObject *resultobj;
23536 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23537 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23538 wxPrintData *arg3 = (wxPrintData *) 0 ;
23539 wxPyPrintPreview *result;
23540 PyObject * obj0 = 0 ;
23541 PyObject * obj1 = 0 ;
23542 PyObject * obj2 = 0 ;
23543
23544 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23547 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23549 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23551 {
23552 PyThreadState* __tstate = wxPyBeginAllowThreads();
23553 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23554
23555 wxPyEndAllowThreads(__tstate);
23556 if (PyErr_Occurred()) SWIG_fail;
23557 }
23558 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23559 return resultobj;
23560 fail:
23561 return NULL;
23562 }
23563
23564
23565 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
23566 int argc;
23567 PyObject *argv[4];
23568 int ii;
23569
23570 argc = PyObject_Length(args);
23571 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23572 argv[ii] = PyTuple_GetItem(args,ii);
23573 }
23574 if ((argc >= 2) && (argc <= 3)) {
23575 int _v;
23576 {
23577 void *ptr;
23578 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23579 _v = 0;
23580 PyErr_Clear();
23581 } else {
23582 _v = 1;
23583 }
23584 }
23585 if (_v) {
23586 {
23587 void *ptr;
23588 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23589 _v = 0;
23590 PyErr_Clear();
23591 } else {
23592 _v = 1;
23593 }
23594 }
23595 if (_v) {
23596 if (argc <= 2) {
23597 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23598 }
23599 {
23600 void *ptr;
23601 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23602 _v = 0;
23603 PyErr_Clear();
23604 } else {
23605 _v = 1;
23606 }
23607 }
23608 if (_v) {
23609 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23610 }
23611 }
23612 }
23613 }
23614 if (argc == 3) {
23615 int _v;
23616 {
23617 void *ptr;
23618 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23619 _v = 0;
23620 PyErr_Clear();
23621 } else {
23622 _v = 1;
23623 }
23624 }
23625 if (_v) {
23626 {
23627 void *ptr;
23628 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23629 _v = 0;
23630 PyErr_Clear();
23631 } else {
23632 _v = 1;
23633 }
23634 }
23635 if (_v) {
23636 {
23637 void *ptr;
23638 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23639 _v = 0;
23640 PyErr_Clear();
23641 } else {
23642 _v = 1;
23643 }
23644 }
23645 if (_v) {
23646 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
23647 }
23648 }
23649 }
23650 }
23651
23652 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
23653 return NULL;
23654 }
23655
23656
23657 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23658 PyObject *resultobj;
23659 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23660 PyObject *arg2 = (PyObject *) 0 ;
23661 PyObject *arg3 = (PyObject *) 0 ;
23662 PyObject * obj0 = 0 ;
23663 PyObject * obj1 = 0 ;
23664 PyObject * obj2 = 0 ;
23665 char *kwnames[] = {
23666 (char *) "self",(char *) "self",(char *) "_class", NULL
23667 };
23668
23669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23672 arg2 = obj1;
23673 arg3 = obj2;
23674 {
23675 PyThreadState* __tstate = wxPyBeginAllowThreads();
23676 (arg1)->_setCallbackInfo(arg2,arg3);
23677
23678 wxPyEndAllowThreads(__tstate);
23679 if (PyErr_Occurred()) SWIG_fail;
23680 }
23681 Py_INCREF(Py_None); resultobj = Py_None;
23682 return resultobj;
23683 fail:
23684 return NULL;
23685 }
23686
23687
23688 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23689 PyObject *resultobj;
23690 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23691 int arg2 ;
23692 bool result;
23693 PyObject * obj0 = 0 ;
23694 PyObject * obj1 = 0 ;
23695 char *kwnames[] = {
23696 (char *) "self",(char *) "pageNum", NULL
23697 };
23698
23699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23702 arg2 = (int) SWIG_AsInt(obj1);
23703 if (PyErr_Occurred()) SWIG_fail;
23704 {
23705 PyThreadState* __tstate = wxPyBeginAllowThreads();
23706 result = (bool)(arg1)->base_SetCurrentPage(arg2);
23707
23708 wxPyEndAllowThreads(__tstate);
23709 if (PyErr_Occurred()) SWIG_fail;
23710 }
23711 {
23712 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23713 }
23714 return resultobj;
23715 fail:
23716 return NULL;
23717 }
23718
23719
23720 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23721 PyObject *resultobj;
23722 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23723 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23724 wxDC *arg3 = 0 ;
23725 bool result;
23726 PyObject * obj0 = 0 ;
23727 PyObject * obj1 = 0 ;
23728 PyObject * obj2 = 0 ;
23729 char *kwnames[] = {
23730 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23731 };
23732
23733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23736 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23738 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23739 SWIG_POINTER_EXCEPTION | 0)) == -1)
23740 SWIG_fail;
23741 if (arg3 == NULL) {
23742 PyErr_SetString(PyExc_TypeError,"null reference");
23743 SWIG_fail;
23744 }
23745 {
23746 PyThreadState* __tstate = wxPyBeginAllowThreads();
23747 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
23748
23749 wxPyEndAllowThreads(__tstate);
23750 if (PyErr_Occurred()) SWIG_fail;
23751 }
23752 {
23753 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23754 }
23755 return resultobj;
23756 fail:
23757 return NULL;
23758 }
23759
23760
23761 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23762 PyObject *resultobj;
23763 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23764 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23765 wxDC *arg3 = 0 ;
23766 bool result;
23767 PyObject * obj0 = 0 ;
23768 PyObject * obj1 = 0 ;
23769 PyObject * obj2 = 0 ;
23770 char *kwnames[] = {
23771 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23772 };
23773
23774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23777 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23779 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23780 SWIG_POINTER_EXCEPTION | 0)) == -1)
23781 SWIG_fail;
23782 if (arg3 == NULL) {
23783 PyErr_SetString(PyExc_TypeError,"null reference");
23784 SWIG_fail;
23785 }
23786 {
23787 PyThreadState* __tstate = wxPyBeginAllowThreads();
23788 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
23789
23790 wxPyEndAllowThreads(__tstate);
23791 if (PyErr_Occurred()) SWIG_fail;
23792 }
23793 {
23794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23795 }
23796 return resultobj;
23797 fail:
23798 return NULL;
23799 }
23800
23801
23802 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23803 PyObject *resultobj;
23804 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23805 int arg2 ;
23806 bool result;
23807 PyObject * obj0 = 0 ;
23808 PyObject * obj1 = 0 ;
23809 char *kwnames[] = {
23810 (char *) "self",(char *) "pageNum", NULL
23811 };
23812
23813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23816 arg2 = (int) SWIG_AsInt(obj1);
23817 if (PyErr_Occurred()) SWIG_fail;
23818 {
23819 PyThreadState* __tstate = wxPyBeginAllowThreads();
23820 result = (bool)(arg1)->base_RenderPage(arg2);
23821
23822 wxPyEndAllowThreads(__tstate);
23823 if (PyErr_Occurred()) SWIG_fail;
23824 }
23825 {
23826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23827 }
23828 return resultobj;
23829 fail:
23830 return NULL;
23831 }
23832
23833
23834 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23835 PyObject *resultobj;
23836 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23837 int arg2 ;
23838 PyObject * obj0 = 0 ;
23839 PyObject * obj1 = 0 ;
23840 char *kwnames[] = {
23841 (char *) "self",(char *) "percent", NULL
23842 };
23843
23844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
23845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23847 arg2 = (int) SWIG_AsInt(obj1);
23848 if (PyErr_Occurred()) SWIG_fail;
23849 {
23850 PyThreadState* __tstate = wxPyBeginAllowThreads();
23851 (arg1)->base_SetZoom(arg2);
23852
23853 wxPyEndAllowThreads(__tstate);
23854 if (PyErr_Occurred()) SWIG_fail;
23855 }
23856 Py_INCREF(Py_None); resultobj = Py_None;
23857 return resultobj;
23858 fail:
23859 return NULL;
23860 }
23861
23862
23863 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
23864 PyObject *resultobj;
23865 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23866 bool arg2 ;
23867 bool result;
23868 PyObject * obj0 = 0 ;
23869 PyObject * obj1 = 0 ;
23870 char *kwnames[] = {
23871 (char *) "self",(char *) "interactive", NULL
23872 };
23873
23874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
23875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23877 arg2 = (bool) SWIG_AsBool(obj1);
23878 if (PyErr_Occurred()) SWIG_fail;
23879 {
23880 PyThreadState* __tstate = wxPyBeginAllowThreads();
23881 result = (bool)(arg1)->base_Print(arg2);
23882
23883 wxPyEndAllowThreads(__tstate);
23884 if (PyErr_Occurred()) SWIG_fail;
23885 }
23886 {
23887 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23888 }
23889 return resultobj;
23890 fail:
23891 return NULL;
23892 }
23893
23894
23895 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
23896 PyObject *resultobj;
23897 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23898 PyObject * obj0 = 0 ;
23899 char *kwnames[] = {
23900 (char *) "self", NULL
23901 };
23902
23903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
23904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23906 {
23907 PyThreadState* __tstate = wxPyBeginAllowThreads();
23908 (arg1)->base_DetermineScaling();
23909
23910 wxPyEndAllowThreads(__tstate);
23911 if (PyErr_Occurred()) SWIG_fail;
23912 }
23913 Py_INCREF(Py_None); resultobj = Py_None;
23914 return resultobj;
23915 fail:
23916 return NULL;
23917 }
23918
23919
23920 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
23921 PyObject *obj;
23922 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23923 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
23924 Py_INCREF(obj);
23925 return Py_BuildValue((char *)"");
23926 }
23927 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23928 PyObject *resultobj;
23929 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23930 wxFrame *arg2 = (wxFrame *) 0 ;
23931 wxString *arg3 = 0 ;
23932 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23933 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23934 wxSize const &arg5_defvalue = wxDefaultSize ;
23935 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23936 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
23937 wxString const &arg7_defvalue = wxPyFrameNameStr ;
23938 wxString *arg7 = (wxString *) &arg7_defvalue ;
23939 wxPyPreviewFrame *result;
23940 bool temp3 = False ;
23941 wxPoint temp4 ;
23942 wxSize temp5 ;
23943 bool temp7 = False ;
23944 PyObject * obj0 = 0 ;
23945 PyObject * obj1 = 0 ;
23946 PyObject * obj2 = 0 ;
23947 PyObject * obj3 = 0 ;
23948 PyObject * obj4 = 0 ;
23949 PyObject * obj5 = 0 ;
23950 PyObject * obj6 = 0 ;
23951 char *kwnames[] = {
23952 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23953 };
23954
23955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23958 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23960 {
23961 arg3 = wxString_in_helper(obj2);
23962 if (arg3 == NULL) SWIG_fail;
23963 temp3 = True;
23964 }
23965 if (obj3) {
23966 {
23967 arg4 = &temp4;
23968 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23969 }
23970 }
23971 if (obj4) {
23972 {
23973 arg5 = &temp5;
23974 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23975 }
23976 }
23977 if (obj5) {
23978 arg6 = (long) SWIG_AsLong(obj5);
23979 if (PyErr_Occurred()) SWIG_fail;
23980 }
23981 if (obj6) {
23982 {
23983 arg7 = wxString_in_helper(obj6);
23984 if (arg7 == NULL) SWIG_fail;
23985 temp7 = True;
23986 }
23987 }
23988 {
23989 PyThreadState* __tstate = wxPyBeginAllowThreads();
23990 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23991
23992 wxPyEndAllowThreads(__tstate);
23993 if (PyErr_Occurred()) SWIG_fail;
23994 }
23995 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
23996 {
23997 if (temp3)
23998 delete arg3;
23999 }
24000 {
24001 if (temp7)
24002 delete arg7;
24003 }
24004 return resultobj;
24005 fail:
24006 {
24007 if (temp3)
24008 delete arg3;
24009 }
24010 {
24011 if (temp7)
24012 delete arg7;
24013 }
24014 return NULL;
24015 }
24016
24017
24018 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24019 PyObject *resultobj;
24020 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24021 PyObject *arg2 = (PyObject *) 0 ;
24022 PyObject *arg3 = (PyObject *) 0 ;
24023 PyObject * obj0 = 0 ;
24024 PyObject * obj1 = 0 ;
24025 PyObject * obj2 = 0 ;
24026 char *kwnames[] = {
24027 (char *) "self",(char *) "self",(char *) "_class", NULL
24028 };
24029
24030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24033 arg2 = obj1;
24034 arg3 = obj2;
24035 {
24036 PyThreadState* __tstate = wxPyBeginAllowThreads();
24037 (arg1)->_setCallbackInfo(arg2,arg3);
24038
24039 wxPyEndAllowThreads(__tstate);
24040 if (PyErr_Occurred()) SWIG_fail;
24041 }
24042 Py_INCREF(Py_None); resultobj = Py_None;
24043 return resultobj;
24044 fail:
24045 return NULL;
24046 }
24047
24048
24049 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24050 PyObject *resultobj;
24051 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24052 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24053 PyObject * obj0 = 0 ;
24054 PyObject * obj1 = 0 ;
24055 char *kwnames[] = {
24056 (char *) "self",(char *) "canvas", NULL
24057 };
24058
24059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
24060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24062 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24064 {
24065 PyThreadState* __tstate = wxPyBeginAllowThreads();
24066 (arg1)->SetPreviewCanvas(arg2);
24067
24068 wxPyEndAllowThreads(__tstate);
24069 if (PyErr_Occurred()) SWIG_fail;
24070 }
24071 Py_INCREF(Py_None); resultobj = Py_None;
24072 return resultobj;
24073 fail:
24074 return NULL;
24075 }
24076
24077
24078 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24079 PyObject *resultobj;
24080 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24081 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
24082 PyObject * obj0 = 0 ;
24083 PyObject * obj1 = 0 ;
24084 char *kwnames[] = {
24085 (char *) "self",(char *) "bar", NULL
24086 };
24087
24088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
24089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24091 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
24092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24093 {
24094 PyThreadState* __tstate = wxPyBeginAllowThreads();
24095 (arg1)->SetControlBar(arg2);
24096
24097 wxPyEndAllowThreads(__tstate);
24098 if (PyErr_Occurred()) SWIG_fail;
24099 }
24100 Py_INCREF(Py_None); resultobj = Py_None;
24101 return resultobj;
24102 fail:
24103 return NULL;
24104 }
24105
24106
24107 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
24108 PyObject *resultobj;
24109 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24110 PyObject * obj0 = 0 ;
24111 char *kwnames[] = {
24112 (char *) "self", NULL
24113 };
24114
24115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
24116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24118 {
24119 PyThreadState* __tstate = wxPyBeginAllowThreads();
24120 (arg1)->base_Initialize();
24121
24122 wxPyEndAllowThreads(__tstate);
24123 if (PyErr_Occurred()) SWIG_fail;
24124 }
24125 Py_INCREF(Py_None); resultobj = Py_None;
24126 return resultobj;
24127 fail:
24128 return NULL;
24129 }
24130
24131
24132 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24133 PyObject *resultobj;
24134 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24135 PyObject * obj0 = 0 ;
24136 char *kwnames[] = {
24137 (char *) "self", NULL
24138 };
24139
24140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
24141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24143 {
24144 PyThreadState* __tstate = wxPyBeginAllowThreads();
24145 (arg1)->base_CreateCanvas();
24146
24147 wxPyEndAllowThreads(__tstate);
24148 if (PyErr_Occurred()) SWIG_fail;
24149 }
24150 Py_INCREF(Py_None); resultobj = Py_None;
24151 return resultobj;
24152 fail:
24153 return NULL;
24154 }
24155
24156
24157 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24158 PyObject *resultobj;
24159 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24160 PyObject * obj0 = 0 ;
24161 char *kwnames[] = {
24162 (char *) "self", NULL
24163 };
24164
24165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
24166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24168 {
24169 PyThreadState* __tstate = wxPyBeginAllowThreads();
24170 (arg1)->base_CreateControlBar();
24171
24172 wxPyEndAllowThreads(__tstate);
24173 if (PyErr_Occurred()) SWIG_fail;
24174 }
24175 Py_INCREF(Py_None); resultobj = Py_None;
24176 return resultobj;
24177 fail:
24178 return NULL;
24179 }
24180
24181
24182 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
24183 PyObject *obj;
24184 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24185 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
24186 Py_INCREF(obj);
24187 return Py_BuildValue((char *)"");
24188 }
24189 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24190 PyObject *resultobj;
24191 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24192 long arg2 ;
24193 wxWindow *arg3 = (wxWindow *) 0 ;
24194 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24195 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24196 wxSize const &arg5_defvalue = wxDefaultSize ;
24197 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24198 long arg6 = (long) 0 ;
24199 wxString const &arg7_defvalue = wxPyPanelNameStr ;
24200 wxString *arg7 = (wxString *) &arg7_defvalue ;
24201 wxPyPreviewControlBar *result;
24202 wxPoint temp4 ;
24203 wxSize temp5 ;
24204 bool temp7 = False ;
24205 PyObject * obj0 = 0 ;
24206 PyObject * obj1 = 0 ;
24207 PyObject * obj2 = 0 ;
24208 PyObject * obj3 = 0 ;
24209 PyObject * obj4 = 0 ;
24210 PyObject * obj5 = 0 ;
24211 PyObject * obj6 = 0 ;
24212 char *kwnames[] = {
24213 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24214 };
24215
24216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24219 arg2 = (long) SWIG_AsLong(obj1);
24220 if (PyErr_Occurred()) SWIG_fail;
24221 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
24222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24223 if (obj3) {
24224 {
24225 arg4 = &temp4;
24226 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24227 }
24228 }
24229 if (obj4) {
24230 {
24231 arg5 = &temp5;
24232 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24233 }
24234 }
24235 if (obj5) {
24236 arg6 = (long) SWIG_AsLong(obj5);
24237 if (PyErr_Occurred()) SWIG_fail;
24238 }
24239 if (obj6) {
24240 {
24241 arg7 = wxString_in_helper(obj6);
24242 if (arg7 == NULL) SWIG_fail;
24243 temp7 = True;
24244 }
24245 }
24246 {
24247 PyThreadState* __tstate = wxPyBeginAllowThreads();
24248 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24249
24250 wxPyEndAllowThreads(__tstate);
24251 if (PyErr_Occurred()) SWIG_fail;
24252 }
24253 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
24254 {
24255 if (temp7)
24256 delete arg7;
24257 }
24258 return resultobj;
24259 fail:
24260 {
24261 if (temp7)
24262 delete arg7;
24263 }
24264 return NULL;
24265 }
24266
24267
24268 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24269 PyObject *resultobj;
24270 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24271 PyObject *arg2 = (PyObject *) 0 ;
24272 PyObject *arg3 = (PyObject *) 0 ;
24273 PyObject * obj0 = 0 ;
24274 PyObject * obj1 = 0 ;
24275 PyObject * obj2 = 0 ;
24276 char *kwnames[] = {
24277 (char *) "self",(char *) "self",(char *) "_class", NULL
24278 };
24279
24280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24283 arg2 = obj1;
24284 arg3 = obj2;
24285 {
24286 PyThreadState* __tstate = wxPyBeginAllowThreads();
24287 (arg1)->_setCallbackInfo(arg2,arg3);
24288
24289 wxPyEndAllowThreads(__tstate);
24290 if (PyErr_Occurred()) SWIG_fail;
24291 }
24292 Py_INCREF(Py_None); resultobj = Py_None;
24293 return resultobj;
24294 fail:
24295 return NULL;
24296 }
24297
24298
24299 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
24300 PyObject *resultobj;
24301 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24302 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
24303 PyObject * obj0 = 0 ;
24304 PyObject * obj1 = 0 ;
24305 char *kwnames[] = {
24306 (char *) "self",(char *) "preview", NULL
24307 };
24308
24309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
24310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24312 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
24313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24314 {
24315 PyThreadState* __tstate = wxPyBeginAllowThreads();
24316 (arg1)->SetPrintPreview(arg2);
24317
24318 wxPyEndAllowThreads(__tstate);
24319 if (PyErr_Occurred()) SWIG_fail;
24320 }
24321 Py_INCREF(Py_None); resultobj = Py_None;
24322 return resultobj;
24323 fail:
24324 return NULL;
24325 }
24326
24327
24328 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
24329 PyObject *resultobj;
24330 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24331 PyObject * obj0 = 0 ;
24332 char *kwnames[] = {
24333 (char *) "self", NULL
24334 };
24335
24336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
24337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24339 {
24340 PyThreadState* __tstate = wxPyBeginAllowThreads();
24341 (arg1)->base_CreateButtons();
24342
24343 wxPyEndAllowThreads(__tstate);
24344 if (PyErr_Occurred()) SWIG_fail;
24345 }
24346 Py_INCREF(Py_None); resultobj = Py_None;
24347 return resultobj;
24348 fail:
24349 return NULL;
24350 }
24351
24352
24353 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
24354 PyObject *resultobj;
24355 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24356 int arg2 ;
24357 PyObject * obj0 = 0 ;
24358 PyObject * obj1 = 0 ;
24359 char *kwnames[] = {
24360 (char *) "self",(char *) "zoom", NULL
24361 };
24362
24363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
24364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24366 arg2 = (int) SWIG_AsInt(obj1);
24367 if (PyErr_Occurred()) SWIG_fail;
24368 {
24369 PyThreadState* __tstate = wxPyBeginAllowThreads();
24370 (arg1)->base_SetZoomControl(arg2);
24371
24372 wxPyEndAllowThreads(__tstate);
24373 if (PyErr_Occurred()) SWIG_fail;
24374 }
24375 Py_INCREF(Py_None); resultobj = Py_None;
24376 return resultobj;
24377 fail:
24378 return NULL;
24379 }
24380
24381
24382 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
24383 PyObject *obj;
24384 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24385 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
24386 Py_INCREF(obj);
24387 return Py_BuildValue((char *)"");
24388 }
24389 static PyMethodDef SwigMethods[] = {
24390 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
24391 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
24392 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
24393 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
24394 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
24395 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24396 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24397 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24398 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
24399 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
24400 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24401 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24402 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
24403 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
24404 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
24405 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
24406 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
24407 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
24408 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
24409 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
24410 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
24411 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
24412 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
24413 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24414 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24415 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS },
24416 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS },
24417 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
24418 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
24419 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
24420 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
24421 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
24422 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
24423 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
24424 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
24425 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
24426 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
24427 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
24428 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
24429 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
24430 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
24431 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
24432 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
24433 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
24434 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
24435 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
24436 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
24437 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
24438 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
24439 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
24440 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
24441 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
24442 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
24443 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24444 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24445 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24446 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24447 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24448 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24449 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
24450 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
24451 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
24452 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
24453 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
24454 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
24455 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
24456 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
24457 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
24458 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
24459 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
24460 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
24461 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
24462 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
24463 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24464 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
24465 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS },
24466 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
24467 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
24468 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
24469 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
24470 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
24471 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
24472 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
24473 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
24474 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
24475 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
24476 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
24477 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
24478 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
24479 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
24480 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
24481 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
24482 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
24483 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24484 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24485 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24486 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
24487 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24488 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24489 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24490 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
24491 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
24492 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
24493 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
24494 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
24495 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
24496 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
24497 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
24498 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
24499 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
24500 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
24501 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
24502 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
24503 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
24504 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
24505 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
24506 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
24507 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS },
24508 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
24509 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
24510 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
24511 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
24512 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
24513 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24514 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24515 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24516 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24517 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24518 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24519 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24520 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24521 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
24522 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
24523 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24524 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24525 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
24526 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
24527 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
24528 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
24529 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
24530 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
24531 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
24532 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
24533 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
24534 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
24535 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
24536 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
24537 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24538 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24539 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24540 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24541 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24542 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24543 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24544 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24545 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24546 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24547 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24548 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24549 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24550 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24551 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
24552 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
24553 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
24554 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
24555 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
24556 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
24557 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
24558 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
24559 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
24560 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
24561 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24562 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24563 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24564 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24565 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
24566 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
24567 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24568 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24569 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
24570 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
24571 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
24572 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
24573 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24574 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24575 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
24576 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
24577 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
24578 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
24579 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
24580 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
24581 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
24582 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24583 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
24584 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
24585 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24586 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
24587 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
24588 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
24589 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
24590 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
24591 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
24592 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
24593 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
24594 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
24595 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
24596 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
24597 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
24598 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
24599 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
24600 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24601 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
24602 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
24603 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
24604 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
24605 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
24606 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
24607 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
24608 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24609 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24610 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24611 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24612 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
24613 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
24614 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
24615 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
24616 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
24617 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
24618 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
24619 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
24620 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
24621 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
24622 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
24623 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
24624 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
24625 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
24626 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
24627 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
24628 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24629 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
24630 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
24631 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
24632 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
24633 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
24634 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
24635 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
24636 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
24637 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
24638 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
24639 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
24640 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
24641 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
24642 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
24643 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
24644 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
24645 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
24646 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
24647 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
24648 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
24649 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
24650 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
24651 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
24652 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
24653 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
24654 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24655 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
24656 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
24657 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
24658 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
24659 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
24660 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
24661 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS },
24662 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
24663 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
24664 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
24665 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
24666 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
24667 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
24668 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
24669 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
24670 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
24671 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
24672 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
24673 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
24674 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
24675 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
24676 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
24677 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
24678 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
24679 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
24680 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
24681 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
24682 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
24683 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
24684 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
24685 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
24686 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
24687 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
24688 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
24689 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
24690 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
24691 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
24692 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
24693 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
24694 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
24695 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
24696 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
24697 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
24698 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
24699 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
24700 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
24701 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
24702 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
24703 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
24704 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
24705 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
24706 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
24707 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
24708 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
24709 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
24710 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
24711 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
24712 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
24713 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
24714 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
24715 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
24716 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
24717 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
24718 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
24719 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
24720 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
24721 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
24722 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
24723 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
24724 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
24725 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
24726 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
24727 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
24728 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
24729 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
24730 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
24731 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
24732 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
24733 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
24734 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
24735 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
24736 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
24737 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
24738 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
24739 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
24740 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
24741 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
24742 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
24743 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
24744 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
24745 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24746 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
24747 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
24748 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
24749 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24750 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
24751 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
24752 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
24753 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
24754 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
24755 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
24756 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
24757 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
24758 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
24759 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
24760 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
24761 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
24762 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
24763 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
24764 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
24765 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
24766 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
24767 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
24768 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
24769 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
24770 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
24771 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
24772 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
24773 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
24774 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
24775 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
24776 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
24777 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
24778 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_GetWindowMenu, METH_VARARGS | METH_KEYWORDS },
24779 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS },
24780 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction) _wrap_MDIParentFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
24781 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
24782 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
24783 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
24784 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
24785 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
24786 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
24787 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
24788 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
24789 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
24790 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
24791 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
24792 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
24793 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
24794 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
24795 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS },
24796 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24797 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24798 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24799 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24800 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24801 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24802 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24803 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24804 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24805 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24806 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24807 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24808 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24809 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
24810 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24811 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24812 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24813 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24814 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
24815 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24816 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
24817 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
24818 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
24819 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS },
24820 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24821 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24822 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24823 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24824 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24825 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24826 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24827 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24828 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24829 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24830 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24831 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24832 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24833 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
24834 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24835 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24836 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24837 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24838 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
24839 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24840 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
24841 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
24842 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24843 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24844 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24845 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24846 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24847 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24848 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24849 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24850 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24851 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24852 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24853 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24854 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24855 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24856 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24857 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
24858 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24859 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24860 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24861 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24862 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
24863 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24864 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
24865 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS },
24866 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
24867 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
24868 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
24869 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
24870 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24871 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
24872 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
24873 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
24874 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
24875 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
24876 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
24877 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
24878 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
24879 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
24880 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24881 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
24882 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
24883 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
24884 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
24885 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
24886 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
24887 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
24888 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
24889 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
24890 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
24891 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
24892 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
24893 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
24894 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
24895 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
24896 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
24897 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
24898 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
24899 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
24900 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
24901 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
24902 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
24903 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
24904 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
24905 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
24906 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
24907 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
24908 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
24909 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
24910 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS },
24911 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
24912 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
24913 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
24914 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
24915 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
24916 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
24917 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
24918 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
24919 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
24920 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
24921 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
24922 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
24923 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
24924 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
24925 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
24926 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24927 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24928 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24929 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24930 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
24931 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
24932 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
24933 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
24934 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
24935 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
24936 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24937 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24938 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24939 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24940 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
24941 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
24942 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
24943 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
24944 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
24945 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
24946 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24947 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
24948 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS },
24949 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
24950 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
24951 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
24952 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
24953 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
24954 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
24955 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
24956 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
24957 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
24958 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
24959 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
24960 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
24961 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
24962 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
24963 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
24964 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
24965 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
24966 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
24967 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
24968 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
24969 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
24970 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
24971 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
24972 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
24973 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
24974 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
24975 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
24976 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
24977 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
24978 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
24979 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
24980 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
24981 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
24982 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
24983 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
24984 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
24985 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24986 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
24987 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
24988 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
24989 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
24990 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
24991 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
24992 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
24993 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
24994 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
24995 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
24996 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
24997 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
24998 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
24999 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25000 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
25001 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
25002 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
25003 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
25004 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
25005 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
25006 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
25007 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
25008 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
25009 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
25010 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
25011 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
25012 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
25013 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
25014 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
25015 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
25016 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
25017 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
25018 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
25019 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
25020 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
25021 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
25022 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
25023 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
25024 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
25025 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
25026 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
25027 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
25028 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
25029 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
25030 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
25031 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
25032 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
25033 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
25034 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
25035 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
25036 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
25037 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
25038 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
25039 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS },
25040 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25041 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25042 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
25043 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
25044 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
25045 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
25046 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
25047 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
25048 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
25049 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
25050 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
25051 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
25052 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
25053 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25054 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
25055 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
25056 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
25057 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
25058 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
25059 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
25060 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
25061 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
25062 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
25063 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS },
25064 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25065 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25066 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
25067 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
25068 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
25069 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
25070 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
25071 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
25072 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
25073 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
25074 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25075 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
25076 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
25077 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
25078 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
25079 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
25080 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
25081 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
25082 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25083 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
25084 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
25085 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
25086 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
25087 { NULL, NULL }
25088 };
25089
25090
25091 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25092
25093 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
25094 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25095 }
25096 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25097 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25098 }
25099 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25100 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25101 }
25102 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25103 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25104 }
25105 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
25106 return (void *)((wxEvent *) ((wxMouseEvent *) x));
25107 }
25108 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
25109 return (void *)((wxEvent *) ((wxEraseEvent *) x));
25110 }
25111 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
25112 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
25113 }
25114 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
25115 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25116 }
25117 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
25118 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
25119 }
25120 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25121 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25122 }
25123 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
25124 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
25125 }
25126 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25127 return (void *)((wxEvent *) ((wxPyEvent *) x));
25128 }
25129 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25130 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25131 }
25132 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
25133 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
25134 }
25135 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25136 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25137 }
25138 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25139 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25140 }
25141 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25142 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25143 }
25144 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25145 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25146 }
25147 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25148 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25149 }
25150 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25151 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25152 }
25153 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25154 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25155 }
25156 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25157 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25158 }
25159 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25160 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25161 }
25162 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25163 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25164 }
25165 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25166 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25167 }
25168 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25169 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25170 }
25171 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25172 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25173 }
25174 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25175 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25176 }
25177 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25178 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25179 }
25180 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25181 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25182 }
25183 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25184 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25185 }
25186 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25187 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25188 }
25189 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
25190 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
25191 }
25192 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
25193 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25194 }
25195 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25196 return (void *)((wxEvent *) ((wxShowEvent *) x));
25197 }
25198 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25199 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25200 }
25201 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25202 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25203 }
25204 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25205 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25206 }
25207 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25208 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25209 }
25210 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25211 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25212 }
25213 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25214 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25215 }
25216 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
25217 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
25218 }
25219 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
25220 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
25221 }
25222 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
25223 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25224 }
25225 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
25226 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25227 }
25228 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
25229 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25230 }
25231 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25232 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25233 }
25234 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25235 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25236 }
25237 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25238 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25239 }
25240 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
25241 return (void *)((wxEvtHandler *) ((wxMenu *) x));
25242 }
25243 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
25244 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25245 }
25246 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
25247 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25248 }
25249 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
25250 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25251 }
25252 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
25253 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25254 }
25255 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
25256 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25257 }
25258 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
25259 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25260 }
25261 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
25262 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25263 }
25264 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
25265 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
25266 }
25267 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
25268 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
25269 }
25270 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
25271 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25272 }
25273 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
25274 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25275 }
25276 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
25277 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25278 }
25279 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
25280 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
25281 }
25282 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
25283 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25284 }
25285 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
25286 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
25287 }
25288 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
25289 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
25290 }
25291 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
25292 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
25293 }
25294 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
25295 return (void *)((wxEvtHandler *) ((wxWindow *) x));
25296 }
25297 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
25298 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25299 }
25300 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
25301 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
25302 }
25303 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
25304 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
25305 }
25306 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
25307 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25308 }
25309 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
25310 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
25311 }
25312 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
25313 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25314 }
25315 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
25316 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25317 }
25318 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
25319 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25320 }
25321 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
25322 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
25323 }
25324 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
25325 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25326 }
25327 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
25328 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
25329 }
25330 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
25331 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25332 }
25333 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
25334 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25335 }
25336 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
25337 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25338 }
25339 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
25340 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25341 }
25342 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
25343 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25344 }
25345 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
25346 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
25347 }
25348 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
25349 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25350 }
25351 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
25352 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25353 }
25354 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
25355 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25356 }
25357 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
25358 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25359 }
25360 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
25361 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25362 }
25363 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
25364 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25365 }
25366 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
25367 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25368 }
25369 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
25370 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25371 }
25372 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
25373 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
25374 }
25375 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
25376 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
25377 }
25378 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
25379 return (void *)((wxFrame *) ((wxProgressDialog *) x));
25380 }
25381 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
25382 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
25383 }
25384 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
25385 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25386 }
25387 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
25388 return (void *)((wxFrame *) ((wxMiniFrame *) x));
25389 }
25390 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
25391 return (void *)((wxFrame *) ((wxSplashScreen *) x));
25392 }
25393 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
25394 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
25395 }
25396 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
25397 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
25398 }
25399 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
25400 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25401 }
25402 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
25403 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25404 }
25405 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
25406 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25407 }
25408 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
25409 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
25410 }
25411 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
25412 return (void *)((wxObject *) ((wxSizerItem *) x));
25413 }
25414 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
25415 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
25416 }
25417 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
25418 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
25419 }
25420 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
25421 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
25422 }
25423 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
25424 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
25425 }
25426 static void *_p_wxSizerTo_p_wxObject(void *x) {
25427 return (void *)((wxObject *) ((wxSizer *) x));
25428 }
25429 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
25430 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
25431 }
25432 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
25433 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
25434 }
25435 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
25436 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25437 }
25438 static void *_p_wxEventTo_p_wxObject(void *x) {
25439 return (void *)((wxObject *) ((wxEvent *) x));
25440 }
25441 static void *_p_wxFontDataTo_p_wxObject(void *x) {
25442 return (void *)((wxObject *) ((wxFontData *) x));
25443 }
25444 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
25445 return (void *)((wxObject *) ((wxPrintData *) x));
25446 }
25447 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
25448 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
25449 }
25450 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
25451 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
25452 }
25453 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
25454 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
25455 }
25456 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
25457 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
25458 }
25459 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
25460 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
25461 }
25462 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
25463 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
25464 }
25465 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
25466 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
25467 }
25468 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
25469 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
25470 }
25471 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
25472 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
25473 }
25474 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
25475 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
25476 }
25477 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
25478 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25479 }
25480 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
25481 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
25482 }
25483 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
25484 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25485 }
25486 static void *_p_wxControlTo_p_wxObject(void *x) {
25487 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
25488 }
25489 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
25490 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
25491 }
25492 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
25493 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25494 }
25495 static void *_p_wxFSFileTo_p_wxObject(void *x) {
25496 return (void *)((wxObject *) ((wxFSFile *) x));
25497 }
25498 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
25499 return (void *)((wxObject *) ((wxFindReplaceData *) x));
25500 }
25501 static void *_p_wxPySizerTo_p_wxObject(void *x) {
25502 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
25503 }
25504 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
25505 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25506 }
25507 static void *_p_wxColourDataTo_p_wxObject(void *x) {
25508 return (void *)((wxObject *) ((wxColourData *) x));
25509 }
25510 static void *_p_wxPyEventTo_p_wxObject(void *x) {
25511 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
25512 }
25513 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
25514 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
25515 }
25516 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
25517 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
25518 }
25519 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
25520 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25521 }
25522 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
25523 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25524 }
25525 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
25526 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25527 }
25528 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
25529 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25530 }
25531 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
25532 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25533 }
25534 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
25535 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25536 }
25537 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
25538 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25539 }
25540 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
25541 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25542 }
25543 static void *_p_wxShowEventTo_p_wxObject(void *x) {
25544 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
25545 }
25546 static void *_p_wxPrinterTo_p_wxObject(void *x) {
25547 return (void *)((wxObject *) ((wxPrinter *) x));
25548 }
25549 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
25550 return (void *)((wxObject *) ((wxMenuItem *) x));
25551 }
25552 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
25553 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
25554 }
25555 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
25556 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
25557 }
25558 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
25559 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
25560 }
25561 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
25562 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
25563 }
25564 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
25565 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
25566 }
25567 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
25568 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
25569 }
25570 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
25571 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
25572 }
25573 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
25574 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
25575 }
25576 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
25577 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
25578 }
25579 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
25580 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
25581 }
25582 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
25583 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
25584 }
25585 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
25586 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
25587 }
25588 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
25589 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
25590 }
25591 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
25592 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
25593 }
25594 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
25595 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
25596 }
25597 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
25598 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
25599 }
25600 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
25601 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
25602 }
25603 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
25604 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
25605 }
25606 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
25607 return (void *)((wxObject *) ((wxImageHandler *) x));
25608 }
25609 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
25610 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
25611 }
25612 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
25613 return (void *)((wxObject *) ((wxEvtHandler *) x));
25614 }
25615 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
25616 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
25617 }
25618 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
25619 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25620 }
25621 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
25622 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25623 }
25624 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
25625 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
25626 }
25627 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
25628 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25629 }
25630 static void *_p_wxImageTo_p_wxObject(void *x) {
25631 return (void *)((wxObject *) ((wxImage *) x));
25632 }
25633 static void *_p_wxFrameTo_p_wxObject(void *x) {
25634 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25635 }
25636 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
25637 return (void *)((wxObject *) ((wxPyPrintout *) x));
25638 }
25639 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
25640 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
25641 }
25642 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
25643 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
25644 }
25645 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
25646 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
25647 }
25648 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
25649 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25650 }
25651 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
25652 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25653 }
25654 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
25655 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
25656 }
25657 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
25658 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
25659 }
25660 static void *_p_wxWindowTo_p_wxObject(void *x) {
25661 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
25662 }
25663 static void *_p_wxMenuTo_p_wxObject(void *x) {
25664 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
25665 }
25666 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
25667 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
25668 }
25669 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
25670 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25671 }
25672 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
25673 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
25674 }
25675 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
25676 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
25677 }
25678 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
25679 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
25680 }
25681 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
25682 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
25683 }
25684 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
25685 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25686 }
25687 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
25688 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
25689 }
25690 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
25691 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25692 }
25693 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
25694 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25695 }
25696 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
25697 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25698 }
25699 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
25700 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
25701 }
25702 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
25703 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25704 }
25705 static void *_p_wxSashEventTo_p_wxObject(void *x) {
25706 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
25707 }
25708 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
25709 return (void *)((wxObject *) ((wxPrintPreview *) x));
25710 }
25711 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
25712 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
25713 }
25714 static void *_p_wxPanelTo_p_wxObject(void *x) {
25715 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
25716 }
25717 static void *_p_wxDialogTo_p_wxObject(void *x) {
25718 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25719 }
25720 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
25721 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25722 }
25723 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
25724 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25725 }
25726 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
25727 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25728 }
25729 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
25730 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25731 }
25732 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
25733 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25734 }
25735 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
25736 return (void *)((wxObject *) ((wxFileSystem *) x));
25737 }
25738 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
25739 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
25740 }
25741 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
25742 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
25743 }
25744 static void *_p_wxPyAppTo_p_wxObject(void *x) {
25745 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
25746 }
25747 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
25748 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
25749 }
25750 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
25751 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
25752 }
25753 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
25754 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
25755 }
25756 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
25757 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
25758 }
25759 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
25760 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
25761 }
25762 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
25763 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25764 }
25765 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
25766 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25767 }
25768 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
25769 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
25770 }
25771 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
25772 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
25773 }
25774 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
25775 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
25776 }
25777 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
25778 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25779 }
25780 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
25781 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
25782 }
25783 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
25784 return (void *)((wxObject *) ((wxPrintDialogData *) x));
25785 }
25786 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
25787 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
25788 }
25789 static void *_p_wxValidatorTo_p_wxObject(void *x) {
25790 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
25791 }
25792 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
25793 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25794 }
25795 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
25796 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
25797 }
25798 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
25799 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25800 }
25801 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
25802 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25803 }
25804 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
25805 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25806 }
25807 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
25808 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
25809 }
25810 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
25811 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
25812 }
25813 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
25814 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
25815 }
25816 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
25817 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
25818 }
25819 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
25820 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
25821 }
25822 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
25823 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
25824 }
25825 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
25826 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
25827 }
25828 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
25829 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
25830 }
25831 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
25832 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
25833 }
25834 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
25835 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
25836 }
25837 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
25838 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
25839 }
25840 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
25841 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
25842 }
25843 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
25844 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
25845 }
25846 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
25847 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
25848 }
25849 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
25850 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
25851 }
25852 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
25853 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
25854 }
25855 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
25856 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
25857 }
25858 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
25859 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
25860 }
25861 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
25862 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
25863 }
25864 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
25865 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
25866 }
25867 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
25868 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25869 }
25870 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
25871 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25872 }
25873 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
25874 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25875 }
25876 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
25877 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
25878 }
25879 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
25880 return (void *)((wxWindow *) ((wxMenuBar *) x));
25881 }
25882 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
25883 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25884 }
25885 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
25886 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25887 }
25888 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
25889 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25890 }
25891 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
25892 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25893 }
25894 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
25895 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25896 }
25897 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
25898 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25899 }
25900 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
25901 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25902 }
25903 static void *_p_wxPanelTo_p_wxWindow(void *x) {
25904 return (void *)((wxWindow *) ((wxPanel *) x));
25905 }
25906 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
25907 return (void *)((wxWindow *) ((wxStatusBar *) x));
25908 }
25909 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
25910 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
25911 }
25912 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
25913 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
25914 }
25915 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
25916 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25917 }
25918 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
25919 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25920 }
25921 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
25922 return (void *)((wxWindow *) ((wxPopupWindow *) x));
25923 }
25924 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
25925 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
25926 }
25927 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
25928 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
25929 }
25930 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
25931 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
25932 }
25933 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
25934 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
25935 }
25936 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
25937 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
25938 }
25939 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
25940 return (void *)((wxWindow *) ((wxSashWindow *) x));
25941 }
25942 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
25943 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25944 }
25945 static void *_p_wxControlTo_p_wxWindow(void *x) {
25946 return (void *)((wxWindow *) ((wxControl *) x));
25947 }
25948 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
25949 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25950 }
25951 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
25952 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25953 }
25954 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
25955 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25956 }
25957 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
25958 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
25959 }
25960 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
25961 return (void *)((wxWindow *) ((wxPyWindow *) x));
25962 }
25963 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
25964 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25965 }
25966 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
25967 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25968 }
25969 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
25970 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25971 }
25972 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
25973 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
25974 }
25975 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
25976 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25977 }
25978 static void *_p_wxFrameTo_p_wxWindow(void *x) {
25979 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
25980 }
25981 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
25982 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25983 }
25984 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
25985 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25986 }
25987 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
25988 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25989 }
25990 static void *_p_wxDialogTo_p_wxWindow(void *x) {
25991 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
25992 }
25993 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
25994 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25995 }
25996 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
25997 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25998 }
25999 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
26000 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26001 }
26002 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
26003 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26004 }
26005 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
26006 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
26007 }
26008 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
26009 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
26010 }
26011 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
26012 return (void *)((wxDialog *) ((wxColourDialog *) x));
26013 }
26014 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
26015 return (void *)((wxDialog *) ((wxDirDialog *) x));
26016 }
26017 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
26018 return (void *)((wxDialog *) ((wxFontDialog *) x));
26019 }
26020 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
26021 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
26022 }
26023 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
26024 return (void *)((wxDialog *) ((wxPrintDialog *) x));
26025 }
26026 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
26027 return (void *)((wxDialog *) ((wxFileDialog *) x));
26028 }
26029 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
26030 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
26031 }
26032 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
26033 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
26034 }
26035 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
26036 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
26037 }
26038 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
26039 return (void *)((wxDialog *) ((wxMessageDialog *) x));
26040 }
26041 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
26042 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
26043 }
26044 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
26045 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
26046 }
26047 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
26048 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
26049 }
26050 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
26051 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26052 }
26053 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
26054 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26055 }
26056 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
26057 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26058 }
26059 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
26060 return (void *)((wxPanel *) ((wxPyPanel *) x));
26061 }
26062 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
26063 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
26064 }
26065 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
26066 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
26067 }
26068 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
26069 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26070 }
26071 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
26072 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
26073 }
26074 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
26075 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
26076 }
26077 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
26078 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
26079 }
26080 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
26081 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
26082 }
26083 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
26084 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
26085 }
26086 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
26087 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26088 }
26089 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
26090 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
26091 }
26092 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
26093 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
26094 }
26095 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
26096 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
26097 }
26098 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
26099 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
26100 }
26101 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
26102 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
26103 }
26104 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
26105 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26106 }
26107 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}};
26108 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}};
26109 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}};
26110 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}};
26111 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}};
26112 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}};
26113 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}};
26114 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}};
26115 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}};
26116 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}};
26117 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}};
26118 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}};
26119 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}};
26120 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}};
26121 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}};
26122 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}};
26123 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}};
26124 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}};
26125 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}};
26126 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}};
26127 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}};
26128 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}};
26129 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}};
26130 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}};
26131 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}};
26132 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}};
26133 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}};
26134 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}};
26135 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}};
26136 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}};
26137 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}};
26138 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}};
26139 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}};
26140 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}};
26141 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}};
26142 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}};
26143 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}};
26144 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}};
26145 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}};
26146 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}};
26147 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}};
26148 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}};
26149 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}};
26150 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}};
26151 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}};
26152 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}};
26153 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}};
26154 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}};
26155 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}};
26156 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}};
26157 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}};
26158 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}};
26159 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}};
26160 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}};
26161 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}};
26162 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}};
26163 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}};
26164 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}};
26165 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}};
26166 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}};
26167 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}};
26168 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}};
26169 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}};
26170 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}};
26171 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}};
26172 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}};
26173 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}};
26174 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}};
26175 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}};
26176 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}};
26177 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}};
26178 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}};
26179 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}};
26180 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}};
26181 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}};
26182 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}};
26183 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}};
26184 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}};
26185 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}};
26186 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}};
26187 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}};
26188 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}};
26189 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}};
26190 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}};
26191 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}};
26192
26193 static swig_type_info *swig_types_initial[] = {
26194 _swigt__p_wxQueryLayoutInfoEvent,
26195 _swigt__p_wxPreviewFrame,
26196 _swigt__p_wxPyPreviewFrame,
26197 _swigt__p_wxPyPanel,
26198 _swigt__p_wxMenu,
26199 _swigt__p_wxPrintData,
26200 _swigt__p_wxFontData,
26201 _swigt__p_wxEvent,
26202 _swigt__p_wxTaskBarIcon,
26203 _swigt__p_wxIconBundle,
26204 _swigt__p_wxLayoutAlgorithm,
26205 _swigt__p_wxFindDialogEvent,
26206 _swigt__p_wxPreviewCanvas,
26207 _swigt__p_wxFont,
26208 _swigt__p_wxSplitterEvent,
26209 _swigt__p_wxRegion,
26210 _swigt__p_wxFindReplaceData,
26211 _swigt__p_int,
26212 _swigt__p_wxSize,
26213 _swigt__p_wxDC,
26214 _swigt__p_wxIcon,
26215 _swigt__p_wxMDIChildFrame,
26216 _swigt__p_wxColourData,
26217 _swigt__p_wxNotifyEvent,
26218 _swigt__p_wxPyWindow,
26219 _swigt__p_wxSplashScreen,
26220 _swigt__p_wxFindReplaceDialog,
26221 _swigt__p_wxProgressDialog,
26222 _swigt__p_wxMessageDialog,
26223 _swigt__p_wxTextEntryDialog,
26224 _swigt__p_wxSingleChoiceDialog,
26225 _swigt__p_wxMultiChoiceDialog,
26226 _swigt__p_wxFileDialog,
26227 _swigt__p_wxPrinter,
26228 _swigt__p_wxArrayInt,
26229 _swigt__p_wxEvtHandler,
26230 _swigt__p_wxCalculateLayoutEvent,
26231 _swigt__p_wxPyHtmlListBox,
26232 _swigt__p_wxPyVListBox,
26233 _swigt__p_wxRect,
26234 _swigt__p_char,
26235 _swigt__p_wxMiniFrame,
26236 _swigt__p_wxFrame,
26237 _swigt__p_wxPyPrintout,
26238 _swigt__p_wxTaskBarIconEvent,
26239 _swigt__p_wxScrollWinEvent,
26240 _swigt__p_wxStatusBar,
26241 _swigt__p_wxMDIParentFrame,
26242 _swigt__p_wxPoint,
26243 _swigt__p_wxObject,
26244 _swigt__p_wxOutputStream,
26245 _swigt__p_unsigned_long,
26246 _swigt__p_wxPyScrolledWindow,
26247 _swigt__p_wxMDIClientWindow,
26248 _swigt__p_wxTipWindow,
26249 _swigt__p_wxSashLayoutWindow,
26250 _swigt__p_wxSplitterWindow,
26251 _swigt__p_wxPyVScrolledWindow,
26252 _swigt__p_wxPyPopupTransientWindow,
26253 _swigt__p_wxPopupWindow,
26254 _swigt__p_wxSashWindow,
26255 _swigt__p_wxTopLevelWindow,
26256 _swigt__p_wxWindow,
26257 _swigt__p_wxScrolledWindow,
26258 _swigt__p_wxSplashScreenWindow,
26259 _swigt__p_wxMenuBar,
26260 _swigt__p_wxPrintPreview,
26261 _swigt__p_wxSashEvent,
26262 _swigt__p_wxString,
26263 _swigt__p_wxPyPrintPreview,
26264 _swigt__p_wxFontDialog,
26265 _swigt__p_wxDirDialog,
26266 _swigt__p_wxColourDialog,
26267 _swigt__p_wxDialog,
26268 _swigt__p_wxPanel,
26269 _swigt__p_wxPageSetupDialog,
26270 _swigt__p_wxPrintDialog,
26271 _swigt__p_wxBitmap,
26272 _swigt__p_wxCommandEvent,
26273 _swigt__p_wxPreviewControlBar,
26274 _swigt__p_wxPyPreviewControlBar,
26275 _swigt__p_wxColour,
26276 _swigt__p_wxToolBar,
26277 _swigt__p_wxPageSetupDialogData,
26278 _swigt__p_wxPrintDialogData,
26279 0
26280 };
26281
26282
26283 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26284
26285 static swig_const_info swig_const_table[] = {
26286 {0}};
26287
26288 #ifdef __cplusplus
26289 }
26290 #endif
26291
26292 #ifdef __cplusplus
26293 extern "C"
26294 #endif
26295 SWIGEXPORT(void) SWIG_init(void) {
26296 static PyObject *SWIG_globals = 0;
26297 static int typeinit = 0;
26298 PyObject *m, *d;
26299 int i;
26300 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
26301 m = Py_InitModule((char *) SWIG_name, SwigMethods);
26302 d = PyModule_GetDict(m);
26303
26304 if (!typeinit) {
26305 for (i = 0; swig_types_initial[i]; i++) {
26306 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
26307 }
26308 typeinit = 1;
26309 }
26310 SWIG_InstallConstants(d,swig_const_table);
26311
26312 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
26313 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
26314 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
26315 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
26316 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
26317 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR));
26318 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR));
26319 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR));
26320 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER));
26321 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION));
26322 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL));
26323 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG));
26324 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT));
26325 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN));
26326 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE));
26327 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT));
26328 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT));
26329 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
26330 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER));
26331 PyDict_SetItemString(d,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH));
26332 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT));
26333 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE));
26334 PyDict_SetItemString(d,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH));
26335 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER));
26336 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME));
26337 PyDict_SetItemString(d,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER));
26338 PyDict_SetItemString(d,"SP_3D", SWIG_FromInt((int)wxSP_3D));
26339 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL));
26340 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL));
26341 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE));
26342 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING));
26343 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN));
26344 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
26345 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
26346 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
26347 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
26348 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
26349 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
26350 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE));
26351 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING));
26352 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN));
26353 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER));
26354 PyDict_SetItemString(d,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER));
26355 PyDict_SetItemString(d,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH));
26356 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER));
26357 PyDict_SetItemString(d,"SW_3D", SWIG_FromInt((int)wxSW_3D));
26358 PyDict_SetItemString(d,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP));
26359 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT));
26360 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM));
26361 PyDict_SetItemString(d,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT));
26362 PyDict_SetItemString(d,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE));
26363 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK));
26364 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE));
26365 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
26366 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL));
26367 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL));
26368 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE));
26369 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP));
26370 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT));
26371 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT));
26372 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM));
26373 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y));
26374 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X));
26375 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH));
26376 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY));
26377 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
26378 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
26379 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
26380
26381 // Map renamed classes back to their common name for OOR
26382 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26383 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26384 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26385
26386 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
26387 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
26388 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
26389 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
26390 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
26391 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
26392 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
26393 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
26394 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
26395 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
26396 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
26397 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
26398 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
26399 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE));
26400 PyDict_SetItemString(d,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN));
26401 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD));
26402 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE));
26403 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG));
26404 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN));
26405 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE));
26406 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD));
26407 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
26408 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
26409 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
26410 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
26411 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
26412 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26413 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26414 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26415 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26416 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26417 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26418 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26419 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26420 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
26421 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
26422 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE));
26423 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW));
26424 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE));
26425 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER));
26426 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM));
26427 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR));
26428 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED));
26429 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR));
26430 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT));
26431 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS));
26432 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT));
26433 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM));
26434 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST));
26435 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST));
26436 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO));
26437 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT));
26438 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE));
26439 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT));
26440 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS));
26441 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT));
26442 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM));
26443 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST));
26444 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST));
26445 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO));
26446
26447 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
26448
26449 }
26450