]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/_windows_wrap.cpp
Do not check for Xinerama when building wxCocoa
[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_wxFontData swig_types[5]
215 #define SWIGTYPE_p_wxEvent swig_types[6]
216 #define SWIGTYPE_p_wxPrintData 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_wxVisualAttributes swig_types[21]
231 #define SWIGTYPE_p_wxMDIChildFrame swig_types[22]
232 #define SWIGTYPE_p_wxColourData swig_types[23]
233 #define SWIGTYPE_p_wxNotifyEvent swig_types[24]
234 #define SWIGTYPE_p_wxPyWindow swig_types[25]
235 #define SWIGTYPE_p_wxSplashScreen swig_types[26]
236 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[27]
237 #define SWIGTYPE_p_wxProgressDialog swig_types[28]
238 #define SWIGTYPE_p_wxMessageDialog swig_types[29]
239 #define SWIGTYPE_p_wxTextEntryDialog swig_types[30]
240 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[31]
241 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[32]
242 #define SWIGTYPE_p_wxFileDialog swig_types[33]
243 #define SWIGTYPE_p_wxPrinter swig_types[34]
244 #define SWIGTYPE_p_wxArrayInt swig_types[35]
245 #define SWIGTYPE_p_wxEvtHandler swig_types[36]
246 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[37]
247 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[38]
248 #define SWIGTYPE_p_wxPyVListBox swig_types[39]
249 #define SWIGTYPE_p_wxRect swig_types[40]
250 #define SWIGTYPE_p_char swig_types[41]
251 #define SWIGTYPE_p_wxMiniFrame swig_types[42]
252 #define SWIGTYPE_p_wxFrame swig_types[43]
253 #define SWIGTYPE_p_wxPyPrintout swig_types[44]
254 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[45]
255 #define SWIGTYPE_p_wxScrollWinEvent swig_types[46]
256 #define SWIGTYPE_p_wxStatusBar swig_types[47]
257 #define SWIGTYPE_p_wxMDIParentFrame swig_types[48]
258 #define SWIGTYPE_p_wxPoint swig_types[49]
259 #define SWIGTYPE_p_wxObject swig_types[50]
260 #define SWIGTYPE_p_wxOutputStream swig_types[51]
261 #define SWIGTYPE_p_unsigned_long swig_types[52]
262 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[53]
263 #define SWIGTYPE_p_wxMDIClientWindow swig_types[54]
264 #define SWIGTYPE_p_wxTipWindow swig_types[55]
265 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[56]
266 #define SWIGTYPE_p_wxSplitterWindow swig_types[57]
267 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[58]
268 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[59]
269 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[60]
270 #define SWIGTYPE_p_wxPopupWindow swig_types[61]
271 #define SWIGTYPE_p_wxSashWindow swig_types[62]
272 #define SWIGTYPE_p_wxTopLevelWindow swig_types[63]
273 #define SWIGTYPE_p_wxWindow swig_types[64]
274 #define SWIGTYPE_p_wxScrolledWindow swig_types[65]
275 #define SWIGTYPE_p_wxMenuBar swig_types[66]
276 #define SWIGTYPE_p_wxPrintPreview swig_types[67]
277 #define SWIGTYPE_p_wxSashEvent swig_types[68]
278 #define SWIGTYPE_p_wxString swig_types[69]
279 #define SWIGTYPE_p_wxPyPrintPreview swig_types[70]
280 #define SWIGTYPE_p_wxFontDialog swig_types[71]
281 #define SWIGTYPE_p_wxDirDialog swig_types[72]
282 #define SWIGTYPE_p_wxColourDialog swig_types[73]
283 #define SWIGTYPE_p_wxDialog swig_types[74]
284 #define SWIGTYPE_p_wxPanel swig_types[75]
285 #define SWIGTYPE_p_wxPageSetupDialog swig_types[76]
286 #define SWIGTYPE_p_wxPrintDialog swig_types[77]
287 #define SWIGTYPE_p_wxFileSystem swig_types[78]
288 #define SWIGTYPE_p_wxBitmap swig_types[79]
289 #define SWIGTYPE_p_wxCommandEvent swig_types[80]
290 #define SWIGTYPE_p_wxPreviewControlBar swig_types[81]
291 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[82]
292 #define SWIGTYPE_p_wxColour swig_types[83]
293 #define SWIGTYPE_p_wxToolBar swig_types[84]
294 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
295 #define SWIGTYPE_p_wxPrintDialogData swig_types[86]
296 static swig_type_info *swig_types[88];
297
298 /* -------- TYPES TABLE (END) -------- */
299
300
301 /*-----------------------------------------------
302 @(target):= _windows_.so
303 ------------------------------------------------*/
304 #define SWIG_init init_windows_
305
306 #define SWIG_name "_windows_"
307
308 /* Auxiliar swig macros */
309
310 #ifdef __cplusplus
311 #define SWIGSTATICINLINE(a) static inline a
312 #define SWIGSTATIC(a) static a
313 #define swig_new_array(type, size) (new type[(size)])
314 #define swig_delete_array(cptr) delete[] cptr
315 #define swig_const_cast(type,a) const_cast<type>(a)
316 #define swig_static_cast(type,a) static_cast<type>(a)
317 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
318
319 #ifdef HAVE_NUMERIC_CAST
320 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
321 #else
322 #define swig_numeric_cast(type,a) static_cast<type>(a)
323 #endif
324
325 #else /* C case */
326
327 #define SWIGSTATICINLINE(a) static a
328 #define SWIGSTATIC(a) static a
329 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
330 #define swig_delete_array(cptr) free((char*)cptr)
331 #define swig_const_cast(type,a) (type)(a)
332 #define swig_static_cast(type,a) (type)(a)
333 #define swig_reinterpret_cast(type,a) (type)(a)
334 #define swig_numeric_cast(type,a) (type)(a)
335
336 #endif /* __cplusplus */
337
338
339 #define SWIG_FromSignedChar PyInt_FromLong
340 #define SWIG_FromUnsignedChar PyInt_FromLong
341 #define SWIG_FromShort PyInt_FromLong
342 #define SWIG_FromUnsignedShort PyInt_FromLong
343 #define SWIG_FromInt PyInt_FromLong
344 #define SWIG_FromLong PyInt_FromLong
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
347 #define SWIG_FromFloat PyFloat_FromDouble
348 #define SWIG_FromDouble PyFloat_FromDouble
349
350
351 #include "wx/wxPython/wxPython.h"
352 #include "wx/wxPython/pyclasses.h"
353
354
355 static const wxString wxPyEmptyString(wxEmptyString);
356 static const wxString wxPyPanelNameStr(wxPanelNameStr);
357
358
359
360 #include <limits.h>
361
362
363 SWIGSTATICINLINE(long)
364 SWIG_CheckLongInRange(long value, const char* type,
365 long min_value, long max_value)
366 {
367 if (!PyErr_Occurred()) {
368 if (value < min_value) {
369 PyObject *err =
370 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
371 value, type, min_value);
372
373 PyErr_SetObject(PyExc_OverflowError, err);
374 Py_DECREF(err);
375 } else if (value > max_value) {
376 PyObject *err =
377 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
378 value, type, max_value);
379 PyErr_SetObject(PyExc_OverflowError, err);
380 Py_DECREF(err);
381 }
382 }
383 return value;
384 }
385
386
387 SWIGSTATICINLINE(long)
388 SWIG_AsLong(PyObject * obj)
389 {
390 if (PyNumber_Check(obj))
391 return PyInt_AsLong(obj);
392 else {
393 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
394 obj->ob_type->tp_name);
395 PyErr_SetObject(PyExc_TypeError, errmsg);
396 Py_DECREF(errmsg);
397 return 0;
398 }
399 }
400
401
402 #if INT_MAX != LONG_MAX
403 SWIGSTATICINLINE(int)
404 SWIG_AsInt(PyObject *obj)
405 {
406 return swig_numeric_cast(int,
407 SWIG_CheckLongInRange(SWIG_AsLong(obj),
408 "int", INT_MIN, INT_MAX));
409 }
410 #else
411 #define SWIG_AsInt SWIG_AsLong
412 #endif
413
414
415 SWIGSTATICINLINE(int)
416 SWIG_CheckInt(PyObject* obj)
417 {
418 SWIG_AsInt(obj);
419 if (PyErr_Occurred()) {
420 PyErr_Clear();
421 return 0;
422 } else {
423 return 1;
424 }
425 }
426
427
428 SWIGSTATICINLINE(int)
429 SWIG_CheckLong(PyObject* obj)
430 {
431 SWIG_AsLong(obj);
432 if (PyErr_Occurred()) {
433 PyErr_Clear();
434 return 0;
435 } else {
436 return 1;
437 }
438 }
439
440
441 SWIGSTATICINLINE(bool)
442 SWIG_AsBool(PyObject *obj)
443 {
444 return PyObject_IsTrue(obj) ? true : false;
445 }
446
447
448 SWIGSTATICINLINE(int)
449 SWIG_CheckBool(PyObject* obj)
450 {
451 SWIG_AsBool(obj);
452 if (PyErr_Occurred()) {
453 PyErr_Clear();
454 return 0;
455 } else {
456 return 1;
457 }
458 }
459
460
461 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
462 PyObject* o2;
463 PyObject* o3;
464
465 if (!target) {
466 target = o;
467 } else if (target == Py_None) {
468 Py_DECREF(Py_None);
469 target = o;
470 } else {
471 if (!PyTuple_Check(target)) {
472 o2 = target;
473 target = PyTuple_New(1);
474 PyTuple_SetItem(target, 0, o2);
475 }
476 o3 = PyTuple_New(1);
477 PyTuple_SetItem(o3, 0, o);
478
479 o2 = target;
480 target = PySequence_Concat(o2, o3);
481 Py_DECREF(o2);
482 Py_DECREF(o3);
483 }
484 return target;
485 }
486
487
488 SWIGSTATICINLINE(double)
489 SWIG_AsDouble(PyObject *obj)
490 {
491 if (PyNumber_Check(obj))
492 return PyFloat_AsDouble(obj);
493 else {
494 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
495 obj->ob_type->tp_name);
496 PyErr_SetObject(PyExc_TypeError, errmsg);
497 Py_DECREF(errmsg);
498 return 0;
499 }
500 }
501
502
503 SWIGSTATICINLINE(int)
504 SWIG_CheckDouble(PyObject* obj)
505 {
506 SWIG_AsDouble(obj);
507 if (PyErr_Occurred()) {
508 PyErr_Clear();
509 return 0;
510 } else {
511 return 1;
512 }
513 }
514
515 static const wxString wxPyFrameNameStr(wxFrameNameStr);
516 static const wxString wxPyDialogNameStr(wxDialogNameStr);
517 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
518 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
519
520
521 wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
522 wxRect r;
523 self->GetFieldRect(i, r);
524 return r;
525 }
526 static const wxString wxPySplitterNameStr(wxT("splitter"));
527 static const wxString wxPySashNameStr(wxT("sashWindow"));
528 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
529
530 #include <wx/popupwin.h>
531
532
533 class wxPyPopupTransientWindow : public wxPopupTransientWindow
534 {
535 public:
536 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
537 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
538 : wxPopupTransientWindow(parent, style) {}
539
540 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
541 DEC_PYCALLBACK__(OnDismiss);
542 DEC_PYCALLBACK_BOOL_(CanDismiss);
543 PYPRIVATE;
544 };
545
546
547 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
548 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
549 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
550
551
552 #include <wx/tipwin.h>
553
554 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
555 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
556 }
557
558 #include <wx/tipwin.h>
559
560
561 #include <wx/vscroll.h>
562
563
564 class wxPyVScrolledWindow : public wxVScrolledWindow
565 {
566 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
567 public:
568 wxPyVScrolledWindow() : wxVScrolledWindow() {}
569
570 wxPyVScrolledWindow(wxWindow *parent,
571 wxWindowID id = wxID_ANY,
572 const wxPoint& pos = wxDefaultPosition,
573 const wxSize& size = wxDefaultSize,
574 long style = 0,
575 const wxString& name = wxPyPanelNameStr)
576 : wxVScrolledWindow(parent, id, pos, size, style, name)
577 {}
578
579 // Overridable virtuals
580
581 // this function must be overridden in the derived class and it should
582 // return the height of the given line in pixels
583 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
584
585
586 // this function doesn't have to be overridden but it may be useful to do
587 // it if calculating the lines heights is a relatively expensive operation
588 // as it gives the user code a possibility to calculate several of them at
589 // once
590 //
591 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
592 // shouldn't rely on the latter being called for all lines in the interval
593 // specified here. It is also possible that OnGetLineHeight() will be
594 // called for the lines outside of this interval, so this is really just a
595 // hint, not a promise.
596 //
597 // finally note that lineMin is inclusive, while lineMax is exclusive, as
598 // usual
599 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
600
601
602 // when the number of lines changes, we try to estimate the total height
603 // of all lines which is a rather expensive operation in terms of lines
604 // access, so if the user code may estimate the average height
605 // better/faster than we do, it should override this function to implement
606 // its own logic
607 //
608 // this function should return the best guess for the total height it may
609 // make
610 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
611
612
613 // Also expose some other interesting protected methods
614
615
616 // find the index of the line we need to show at the top of the window such
617 // that the last (fully or partially) visible line is the given one
618 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
619 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
620
621 // get the total height of the lines between lineMin (inclusive) and
622 // lineMax (exclusive)
623 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
624 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
625
626
627 PYPRIVATE;
628 };
629
630 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
631
632 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
633 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
634 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
635
636
637 SWIGSTATICINLINE(unsigned long)
638 SWIG_AsUnsignedLong(PyObject * obj)
639 {
640 if (PyLong_Check(obj)) {
641 return PyLong_AsUnsignedLong(obj);
642 } else {
643 long i = SWIG_AsLong(obj);
644 if ( !PyErr_Occurred() && (i < 0)) {
645 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
646 }
647 return i;
648 }
649 }
650
651
652 SWIGSTATICINLINE(int)
653 SWIG_CheckUnsignedLong(PyObject* obj)
654 {
655 SWIG_AsUnsignedLong(obj);
656 if (PyErr_Occurred()) {
657 PyErr_Clear();
658 return 0;
659 } else {
660 return 1;
661 }
662 }
663
664
665 SWIGSTATICINLINE(PyObject* )
666 SWIG_FromUnsignedLong(unsigned long value)
667 {
668 return (value > LONG_MAX) ?
669 PyLong_FromUnsignedLong(value)
670 : PyInt_FromLong(swig_numeric_cast(long,value));
671 }
672
673
674 #include <wx/vlbox.h>
675
676 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
677
678 class wxPyVListBox : public wxVListBox
679 {
680 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
681 public:
682 wxPyVListBox() : wxVListBox() {}
683
684 wxPyVListBox(wxWindow *parent,
685 wxWindowID id = wxID_ANY,
686 const wxPoint& pos = wxDefaultPosition,
687 const wxSize& size = wxDefaultSize,
688 long style = 0,
689 const wxString& name = wxPyVListBoxNameStr)
690 : wxVListBox(parent, id, pos, size, style, name)
691 {}
692
693 // Overridable virtuals
694
695 // the derived class must implement this function to actually draw the item
696 // with the given index on the provided DC
697 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
698 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
699
700
701 // the derived class must implement this method to return the height of the
702 // specified item
703 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
704 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
705
706
707 // this method may be used to draw separators between the lines; note that
708 // the rectangle may be modified, typically to deflate it a bit before
709 // passing to OnDrawItem()
710 //
711 // the base class version doesn't do anything
712 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
713 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
714
715
716 // this method is used to draw the items background and, maybe, a border
717 // around it
718 //
719 // the base class version implements a reasonable default behaviour which
720 // consists in drawing the selected item with the standard background
721 // colour and drawing a border around the item if it is either selected or
722 // current
723 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
724 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
725
726
727 PYPRIVATE;
728 };
729
730 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
731
732 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
733 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
734 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
735 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
736
737
738
739 #include <wx/htmllbox.h>
740
741
742 class wxPyHtmlListBox : public wxHtmlListBox
743 {
744 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
745 public:
746 wxPyHtmlListBox() : wxHtmlListBox() {}
747
748 wxPyHtmlListBox(wxWindow *parent,
749 wxWindowID id = wxID_ANY,
750 const wxPoint& pos = wxDefaultPosition,
751 const wxSize& size = wxDefaultSize,
752 long style = 0,
753 const wxString& name = wxPyVListBoxNameStr)
754 : wxHtmlListBox(parent, id, pos, size, style, name)
755 {}
756
757 // Overridable virtuals
758
759 // this method must be implemented in the derived class and should return
760 // the body (i.e. without <html>) of the HTML for the given item
761 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
762
763 // this function may be overridden to decorate HTML returned by OnGetItem()
764 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
765
766 // TODO:
767 // // this method allows to customize the selection appearance: it may be used
768 // // to specify the colour of the text which normally has the given colour
769 // // colFg when it is inside the selection
770 // //
771 // // by default, the original colour is not used at all and all text has the
772 // // same (default for this system) colour inside selection
773 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
774
775 // // this is the same as GetSelectedTextColour() but allows to customize the
776 // // background colour -- this is even more rarely used as you can change it
777 // // globally using SetSelectionBackground()
778 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
779
780
781 PYPRIVATE;
782 };
783
784
785 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
786
787 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
788 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
789
790
791
792
793
794 #ifdef __WXMAC__
795 // implement dummy classes and such for wxMac
796
797 class wxTaskBarIcon : public wxEvtHandler
798 {
799 public:
800 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
801 };
802
803
804 class wxTaskBarIconEvent : public wxEvent
805 {
806 public:
807 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
808 { wxPyRaiseNotImplemented(); }
809 virtual wxEvent* Clone() const { return NULL; }
810 };
811
812 enum {
813 wxEVT_TASKBAR_MOVE = 0,
814 wxEVT_TASKBAR_LEFT_DOWN = 0,
815 wxEVT_TASKBAR_LEFT_UP = 0,
816 wxEVT_TASKBAR_RIGHT_DOWN = 0,
817 wxEVT_TASKBAR_RIGHT_UP = 0,
818 wxEVT_TASKBAR_LEFT_DCLICK = 0,
819 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
820 };
821 #endif
822
823 void wxTaskBarIcon_Destroy(wxTaskBarIcon *self){
824
825 self->RemoveIcon();
826
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 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
868
869 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
870 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
871 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
872 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
873
874 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
875 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
876 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
877
878 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
879 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
880
881 DEC_PYCALLBACK__(InitDialog);
882 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
883 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
884 DEC_PYCALLBACK_BOOL_(Validate);
885
886 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
887 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
888 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
889
890 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
891 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
892
893 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
894 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
895 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
896
897 PYPRIVATE;
898 };
899
900 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
901
902 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
903 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
904 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
905 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
906
907 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
908 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
909 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
910
911 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
912 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
913
914 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
915 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
916 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
917 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
918
919 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
920 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
921 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
922
923 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
924 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
925
926 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
927 IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
928 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
929
930
931 // C++ version of Python aware wxPanel
932 class wxPyPanel : public wxPanel
933 {
934 DECLARE_DYNAMIC_CLASS(wxPyPanel)
935 public:
936 wxPyPanel() : wxPanel() {}
937 wxPyPanel(wxWindow* parent, const wxWindowID id,
938 const wxPoint& pos = wxDefaultPosition,
939 const wxSize& size = wxDefaultSize,
940 long style = 0,
941 const wxString& name = wxPyPanelNameStr)
942 : wxPanel(parent, id, pos, size, style, name) {}
943
944 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
945
946
947 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
948 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
949 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
950 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
951
952 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
953 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
954 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
955
956 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
957 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
958
959 DEC_PYCALLBACK__(InitDialog);
960 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
961 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
962 DEC_PYCALLBACK_BOOL_(Validate);
963
964 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
965 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
966 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
967
968 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
969 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
970
971 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
972 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
973 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
974
975 PYPRIVATE;
976 };
977
978 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
979
980 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
981 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
982 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
983 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
984
985 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
986 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
987 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
988
989 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
990 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
991
992 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
993 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
994 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
995 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
996
997 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
998 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
999 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
1000
1001 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
1002 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
1003
1004 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
1005 IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
1006 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
1007
1008
1009 // C++ version of Python aware wxScrolledWindow
1010 class wxPyScrolledWindow : public wxScrolledWindow
1011 {
1012 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
1013 public:
1014 wxPyScrolledWindow() : wxScrolledWindow() {}
1015 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
1016 const wxPoint& pos = wxDefaultPosition,
1017 const wxSize& size = wxDefaultSize,
1018 long style = 0,
1019 const wxString& name = wxPyPanelNameStr)
1020 : wxScrolledWindow(parent, id, pos, size, style, name) {}
1021
1022 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
1023
1024 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1025 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1026 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1027 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1028
1029 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1030 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1031 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1032
1033 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1034 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1035
1036 DEC_PYCALLBACK__(InitDialog);
1037 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1038 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1039 DEC_PYCALLBACK_BOOL_(Validate);
1040
1041 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1042 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1043 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1044
1045 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1046 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1047
1048 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1049 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1050 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1051
1052 PYPRIVATE;
1053 };
1054
1055 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
1056
1057 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
1058 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
1059 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
1060 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
1061
1062 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
1063 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
1064 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
1065
1066 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
1067 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
1068
1069 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
1070 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
1071 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
1072 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
1073
1074 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
1075 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
1076 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
1077
1078 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
1079 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
1080
1081 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
1082 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
1083 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
1084
1085
1086
1087 #include "wx/wxPython/printfw.h"
1088
1089
1090 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
1091 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1092
1093
1094
1095 // Since this one would be tough and ugly to do with the Macros...
1096 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1097 bool hadErr = False;
1098 bool found;
1099
1100 bool blocked = wxPyBeginBlockThreads();
1101 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
1102 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1103 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
1104 PyObject* val;
1105
1106 val = PyTuple_GetItem(result, 0);
1107 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
1108 else hadErr = True;
1109
1110 val = PyTuple_GetItem(result, 1);
1111 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
1112 else hadErr = True;
1113
1114 val = PyTuple_GetItem(result, 2);
1115 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
1116 else hadErr = True;
1117
1118 val = PyTuple_GetItem(result, 3);
1119 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
1120 else hadErr = True;
1121 }
1122 else
1123 hadErr = True;
1124
1125 if (hadErr) {
1126 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1127 PyErr_Print();
1128 }
1129 Py_DECREF(result);
1130 }
1131 wxPyEndBlockThreads(blocked);
1132 if (! found)
1133 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1134 }
1135
1136 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1137 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1138 }
1139
1140
1141 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1142 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1143 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1144 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1145 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1146 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1147 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1148
1149
1150
1151
1152
1153 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1154 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1155 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1156
1157
1158 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1159 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1160 bool rval=False; \
1161 bool found; \
1162 bool blocked = wxPyBeginBlockThreads(); \
1163 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1164 PyObject* win = wxPyMake_wxObject(a); \
1165 PyObject* dc = wxPyMake_wxObject(&b); \
1166 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1167 Py_DECREF(win); \
1168 Py_DECREF(dc); \
1169 } \
1170 wxPyEndBlockThreads(blocked); \
1171 if (! found) \
1172 rval = PCLASS::CBNAME(a, b); \
1173 return rval; \
1174 } \
1175 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1176 return PCLASS::CBNAME(a, b); \
1177 }
1178
1179
1180
1181
1182 class wxPyPrintPreview : public wxPrintPreview
1183 {
1184 DECLARE_CLASS(wxPyPrintPreview)
1185 public:
1186 wxPyPrintPreview(wxPyPrintout* printout,
1187 wxPyPrintout* printoutForPrinting,
1188 wxPrintDialogData* data=NULL)
1189 : wxPrintPreview(printout, printoutForPrinting, data)
1190 {}
1191 wxPyPrintPreview(wxPyPrintout* printout,
1192 wxPyPrintout* printoutForPrinting,
1193 wxPrintData* data=NULL)
1194 : wxPrintPreview(printout, printoutForPrinting, data)
1195 {}
1196
1197 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1198 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1199 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1200 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1201 DEC_PYCALLBACK_VOID_INT(SetZoom);
1202 DEC_PYCALLBACK_BOOL_BOOL(Print);
1203 DEC_PYCALLBACK_VOID_(DetermineScaling);
1204
1205 PYPRIVATE;
1206 };
1207
1208 // Stupid renamed classes... Fix this in 2.5...
1209 #if defined(__WXMSW__)
1210 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1211 #elif defined(__WXMAC__)
1212 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1213 #else
1214 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1215 #endif
1216
1217 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1218 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1219 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1220 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1221 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1222 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1223 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1224
1225
1226 class wxPyPreviewFrame : public wxPreviewFrame
1227 {
1228 DECLARE_CLASS(wxPyPreviewFrame);
1229 public:
1230 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1231 const wxString& title,
1232 const wxPoint& pos = wxDefaultPosition,
1233 const wxSize& size = wxDefaultSize,
1234 long style = wxDEFAULT_FRAME_STYLE,
1235 const wxString& name = wxPyFrameNameStr)
1236 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1237 {}
1238
1239 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1240 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1241
1242 DEC_PYCALLBACK_VOID_(Initialize);
1243 DEC_PYCALLBACK_VOID_(CreateCanvas);
1244 DEC_PYCALLBACK_VOID_(CreateControlBar);
1245
1246 PYPRIVATE;
1247 };
1248
1249 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1250
1251 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1252 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1253 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1254
1255
1256 class wxPyPreviewControlBar : public wxPreviewControlBar
1257 {
1258 DECLARE_CLASS(wxPyPreviewControlBar);
1259 public:
1260 wxPyPreviewControlBar(wxPrintPreview *preview,
1261 long buttons,
1262 wxWindow *parent,
1263 const wxPoint& pos = wxDefaultPosition,
1264 const wxSize& size = wxDefaultSize,
1265 long style = 0,
1266 const wxString& name = wxPyPanelNameStr)
1267 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1268 {}
1269
1270 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1271
1272 DEC_PYCALLBACK_VOID_(CreateButtons);
1273 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1274
1275 PYPRIVATE;
1276 };
1277
1278 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1279 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1280 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1281
1282 #ifdef __cplusplus
1283 extern "C" {
1284 #endif
1285 static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
1286 PyObject *resultobj;
1287 wxWindow *arg1 = (wxWindow *) 0 ;
1288 int arg2 = (int) (int)-1 ;
1289 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1290 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1291 wxSize const &arg4_defvalue = wxDefaultSize ;
1292 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1293 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1294 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1295 wxString *arg6 = (wxString *) &arg6_defvalue ;
1296 wxPanel *result;
1297 wxPoint temp3 ;
1298 wxSize temp4 ;
1299 bool temp6 = False ;
1300 PyObject * obj0 = 0 ;
1301 PyObject * obj1 = 0 ;
1302 PyObject * obj2 = 0 ;
1303 PyObject * obj3 = 0 ;
1304 PyObject * obj4 = 0 ;
1305 PyObject * obj5 = 0 ;
1306 char *kwnames[] = {
1307 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1308 };
1309
1310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1313 if (obj1) {
1314 arg2 = (int const) SWIG_AsInt(obj1);
1315 if (PyErr_Occurred()) SWIG_fail;
1316 }
1317 if (obj2) {
1318 {
1319 arg3 = &temp3;
1320 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1321 }
1322 }
1323 if (obj3) {
1324 {
1325 arg4 = &temp4;
1326 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1327 }
1328 }
1329 if (obj4) {
1330 arg5 = (long) SWIG_AsLong(obj4);
1331 if (PyErr_Occurred()) SWIG_fail;
1332 }
1333 if (obj5) {
1334 {
1335 arg6 = wxString_in_helper(obj5);
1336 if (arg6 == NULL) SWIG_fail;
1337 temp6 = True;
1338 }
1339 }
1340 {
1341 if (!wxPyCheckForApp()) SWIG_fail;
1342 PyThreadState* __tstate = wxPyBeginAllowThreads();
1343 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1344
1345 wxPyEndAllowThreads(__tstate);
1346 if (PyErr_Occurred()) SWIG_fail;
1347 }
1348 {
1349 resultobj = wxPyMake_wxObject(result);
1350 }
1351 {
1352 if (temp6)
1353 delete arg6;
1354 }
1355 return resultobj;
1356 fail:
1357 {
1358 if (temp6)
1359 delete arg6;
1360 }
1361 return NULL;
1362 }
1363
1364
1365 static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1366 PyObject *resultobj;
1367 wxPanel *result;
1368 char *kwnames[] = {
1369 NULL
1370 };
1371
1372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1373 {
1374 if (!wxPyCheckForApp()) SWIG_fail;
1375 PyThreadState* __tstate = wxPyBeginAllowThreads();
1376 result = (wxPanel *)new wxPanel();
1377
1378 wxPyEndAllowThreads(__tstate);
1379 if (PyErr_Occurred()) SWIG_fail;
1380 }
1381 {
1382 resultobj = wxPyMake_wxObject(result);
1383 }
1384 return resultobj;
1385 fail:
1386 return NULL;
1387 }
1388
1389
1390 static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1391 PyObject *resultobj;
1392 wxPanel *arg1 = (wxPanel *) 0 ;
1393 wxWindow *arg2 = (wxWindow *) 0 ;
1394 int arg3 = (int) (int)-1 ;
1395 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1396 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1397 wxSize const &arg5_defvalue = wxDefaultSize ;
1398 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1399 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1400 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1401 wxString *arg7 = (wxString *) &arg7_defvalue ;
1402 bool result;
1403 wxPoint temp4 ;
1404 wxSize temp5 ;
1405 bool temp7 = False ;
1406 PyObject * obj0 = 0 ;
1407 PyObject * obj1 = 0 ;
1408 PyObject * obj2 = 0 ;
1409 PyObject * obj3 = 0 ;
1410 PyObject * obj4 = 0 ;
1411 PyObject * obj5 = 0 ;
1412 PyObject * obj6 = 0 ;
1413 char *kwnames[] = {
1414 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1415 };
1416
1417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1420 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1422 if (obj2) {
1423 arg3 = (int const) SWIG_AsInt(obj2);
1424 if (PyErr_Occurred()) SWIG_fail;
1425 }
1426 if (obj3) {
1427 {
1428 arg4 = &temp4;
1429 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1430 }
1431 }
1432 if (obj4) {
1433 {
1434 arg5 = &temp5;
1435 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1436 }
1437 }
1438 if (obj5) {
1439 arg6 = (long) SWIG_AsLong(obj5);
1440 if (PyErr_Occurred()) SWIG_fail;
1441 }
1442 if (obj6) {
1443 {
1444 arg7 = wxString_in_helper(obj6);
1445 if (arg7 == NULL) SWIG_fail;
1446 temp7 = True;
1447 }
1448 }
1449 {
1450 PyThreadState* __tstate = wxPyBeginAllowThreads();
1451 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1452
1453 wxPyEndAllowThreads(__tstate);
1454 if (PyErr_Occurred()) SWIG_fail;
1455 }
1456 {
1457 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1458 }
1459 {
1460 if (temp7)
1461 delete arg7;
1462 }
1463 return resultobj;
1464 fail:
1465 {
1466 if (temp7)
1467 delete arg7;
1468 }
1469 return NULL;
1470 }
1471
1472
1473 static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1474 PyObject *resultobj;
1475 wxPanel *arg1 = (wxPanel *) 0 ;
1476 PyObject * obj0 = 0 ;
1477 char *kwnames[] = {
1478 (char *) "self", NULL
1479 };
1480
1481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1484 {
1485 PyThreadState* __tstate = wxPyBeginAllowThreads();
1486 (arg1)->InitDialog();
1487
1488 wxPyEndAllowThreads(__tstate);
1489 if (PyErr_Occurred()) SWIG_fail;
1490 }
1491 Py_INCREF(Py_None); resultobj = Py_None;
1492 return resultobj;
1493 fail:
1494 return NULL;
1495 }
1496
1497
1498 static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1499 PyObject *resultobj;
1500 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
1501 wxVisualAttributes result;
1502 PyObject * obj0 = 0 ;
1503 char *kwnames[] = {
1504 (char *) "variant", NULL
1505 };
1506
1507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
1508 if (obj0) {
1509 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
1510 if (PyErr_Occurred()) SWIG_fail;
1511 }
1512 {
1513 if (!wxPyCheckForApp()) SWIG_fail;
1514 PyThreadState* __tstate = wxPyBeginAllowThreads();
1515 result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1);
1516
1517 wxPyEndAllowThreads(__tstate);
1518 if (PyErr_Occurred()) SWIG_fail;
1519 }
1520 {
1521 wxVisualAttributes * resultptr;
1522 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
1523 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
1524 }
1525 return resultobj;
1526 fail:
1527 return NULL;
1528 }
1529
1530
1531 static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1532 PyObject *obj;
1533 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1534 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1535 Py_INCREF(obj);
1536 return Py_BuildValue((char *)"");
1537 }
1538 static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1539 PyObject *resultobj;
1540 wxWindow *arg1 = (wxWindow *) 0 ;
1541 int arg2 = (int) (int)-1 ;
1542 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1543 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1544 wxSize const &arg4_defvalue = wxDefaultSize ;
1545 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1546 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1547 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1548 wxString *arg6 = (wxString *) &arg6_defvalue ;
1549 wxScrolledWindow *result;
1550 wxPoint temp3 ;
1551 wxSize temp4 ;
1552 bool temp6 = False ;
1553 PyObject * obj0 = 0 ;
1554 PyObject * obj1 = 0 ;
1555 PyObject * obj2 = 0 ;
1556 PyObject * obj3 = 0 ;
1557 PyObject * obj4 = 0 ;
1558 PyObject * obj5 = 0 ;
1559 char *kwnames[] = {
1560 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1561 };
1562
1563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1566 if (obj1) {
1567 arg2 = (int const) SWIG_AsInt(obj1);
1568 if (PyErr_Occurred()) SWIG_fail;
1569 }
1570 if (obj2) {
1571 {
1572 arg3 = &temp3;
1573 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1574 }
1575 }
1576 if (obj3) {
1577 {
1578 arg4 = &temp4;
1579 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1580 }
1581 }
1582 if (obj4) {
1583 arg5 = (long) SWIG_AsLong(obj4);
1584 if (PyErr_Occurred()) SWIG_fail;
1585 }
1586 if (obj5) {
1587 {
1588 arg6 = wxString_in_helper(obj5);
1589 if (arg6 == NULL) SWIG_fail;
1590 temp6 = True;
1591 }
1592 }
1593 {
1594 if (!wxPyCheckForApp()) SWIG_fail;
1595 PyThreadState* __tstate = wxPyBeginAllowThreads();
1596 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1597
1598 wxPyEndAllowThreads(__tstate);
1599 if (PyErr_Occurred()) SWIG_fail;
1600 }
1601 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1602 {
1603 if (temp6)
1604 delete arg6;
1605 }
1606 return resultobj;
1607 fail:
1608 {
1609 if (temp6)
1610 delete arg6;
1611 }
1612 return NULL;
1613 }
1614
1615
1616 static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1617 PyObject *resultobj;
1618 wxScrolledWindow *result;
1619 char *kwnames[] = {
1620 NULL
1621 };
1622
1623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1624 {
1625 if (!wxPyCheckForApp()) SWIG_fail;
1626 PyThreadState* __tstate = wxPyBeginAllowThreads();
1627 result = (wxScrolledWindow *)new wxScrolledWindow();
1628
1629 wxPyEndAllowThreads(__tstate);
1630 if (PyErr_Occurred()) SWIG_fail;
1631 }
1632 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1633 return resultobj;
1634 fail:
1635 return NULL;
1636 }
1637
1638
1639 static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1640 PyObject *resultobj;
1641 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1642 wxWindow *arg2 = (wxWindow *) 0 ;
1643 int arg3 = (int) (int)-1 ;
1644 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1645 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1646 wxSize const &arg5_defvalue = wxDefaultSize ;
1647 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1648 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1649 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1650 wxString *arg7 = (wxString *) &arg7_defvalue ;
1651 bool result;
1652 wxPoint temp4 ;
1653 wxSize temp5 ;
1654 bool temp7 = False ;
1655 PyObject * obj0 = 0 ;
1656 PyObject * obj1 = 0 ;
1657 PyObject * obj2 = 0 ;
1658 PyObject * obj3 = 0 ;
1659 PyObject * obj4 = 0 ;
1660 PyObject * obj5 = 0 ;
1661 PyObject * obj6 = 0 ;
1662 char *kwnames[] = {
1663 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1664 };
1665
1666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1669 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1671 if (obj2) {
1672 arg3 = (int const) SWIG_AsInt(obj2);
1673 if (PyErr_Occurred()) SWIG_fail;
1674 }
1675 if (obj3) {
1676 {
1677 arg4 = &temp4;
1678 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1679 }
1680 }
1681 if (obj4) {
1682 {
1683 arg5 = &temp5;
1684 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1685 }
1686 }
1687 if (obj5) {
1688 arg6 = (long) SWIG_AsLong(obj5);
1689 if (PyErr_Occurred()) SWIG_fail;
1690 }
1691 if (obj6) {
1692 {
1693 arg7 = wxString_in_helper(obj6);
1694 if (arg7 == NULL) SWIG_fail;
1695 temp7 = True;
1696 }
1697 }
1698 {
1699 PyThreadState* __tstate = wxPyBeginAllowThreads();
1700 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1701
1702 wxPyEndAllowThreads(__tstate);
1703 if (PyErr_Occurred()) SWIG_fail;
1704 }
1705 {
1706 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1707 }
1708 {
1709 if (temp7)
1710 delete arg7;
1711 }
1712 return resultobj;
1713 fail:
1714 {
1715 if (temp7)
1716 delete arg7;
1717 }
1718 return NULL;
1719 }
1720
1721
1722 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1723 PyObject *resultobj;
1724 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1725 int arg2 ;
1726 int arg3 ;
1727 int arg4 ;
1728 int arg5 ;
1729 int arg6 = (int) 0 ;
1730 int arg7 = (int) 0 ;
1731 bool arg8 = (bool) False ;
1732 PyObject * obj0 = 0 ;
1733 PyObject * obj1 = 0 ;
1734 PyObject * obj2 = 0 ;
1735 PyObject * obj3 = 0 ;
1736 PyObject * obj4 = 0 ;
1737 PyObject * obj5 = 0 ;
1738 PyObject * obj6 = 0 ;
1739 PyObject * obj7 = 0 ;
1740 char *kwnames[] = {
1741 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1742 };
1743
1744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1747 arg2 = (int) SWIG_AsInt(obj1);
1748 if (PyErr_Occurred()) SWIG_fail;
1749 arg3 = (int) SWIG_AsInt(obj2);
1750 if (PyErr_Occurred()) SWIG_fail;
1751 arg4 = (int) SWIG_AsInt(obj3);
1752 if (PyErr_Occurred()) SWIG_fail;
1753 arg5 = (int) SWIG_AsInt(obj4);
1754 if (PyErr_Occurred()) SWIG_fail;
1755 if (obj5) {
1756 arg6 = (int) SWIG_AsInt(obj5);
1757 if (PyErr_Occurred()) SWIG_fail;
1758 }
1759 if (obj6) {
1760 arg7 = (int) SWIG_AsInt(obj6);
1761 if (PyErr_Occurred()) SWIG_fail;
1762 }
1763 if (obj7) {
1764 arg8 = (bool) SWIG_AsBool(obj7);
1765 if (PyErr_Occurred()) SWIG_fail;
1766 }
1767 {
1768 PyThreadState* __tstate = wxPyBeginAllowThreads();
1769 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1770
1771 wxPyEndAllowThreads(__tstate);
1772 if (PyErr_Occurred()) SWIG_fail;
1773 }
1774 Py_INCREF(Py_None); resultobj = Py_None;
1775 return resultobj;
1776 fail:
1777 return NULL;
1778 }
1779
1780
1781 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1782 PyObject *resultobj;
1783 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1784 int arg2 ;
1785 int arg3 ;
1786 PyObject * obj0 = 0 ;
1787 PyObject * obj1 = 0 ;
1788 PyObject * obj2 = 0 ;
1789 char *kwnames[] = {
1790 (char *) "self",(char *) "x",(char *) "y", NULL
1791 };
1792
1793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1796 arg2 = (int) SWIG_AsInt(obj1);
1797 if (PyErr_Occurred()) SWIG_fail;
1798 arg3 = (int) SWIG_AsInt(obj2);
1799 if (PyErr_Occurred()) SWIG_fail;
1800 {
1801 PyThreadState* __tstate = wxPyBeginAllowThreads();
1802 (arg1)->Scroll(arg2,arg3);
1803
1804 wxPyEndAllowThreads(__tstate);
1805 if (PyErr_Occurred()) SWIG_fail;
1806 }
1807 Py_INCREF(Py_None); resultobj = Py_None;
1808 return resultobj;
1809 fail:
1810 return NULL;
1811 }
1812
1813
1814 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1815 PyObject *resultobj;
1816 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1817 int arg2 ;
1818 int result;
1819 PyObject * obj0 = 0 ;
1820 PyObject * obj1 = 0 ;
1821 char *kwnames[] = {
1822 (char *) "self",(char *) "orient", NULL
1823 };
1824
1825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1828 arg2 = (int) SWIG_AsInt(obj1);
1829 if (PyErr_Occurred()) SWIG_fail;
1830 {
1831 PyThreadState* __tstate = wxPyBeginAllowThreads();
1832 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1833
1834 wxPyEndAllowThreads(__tstate);
1835 if (PyErr_Occurred()) SWIG_fail;
1836 }
1837 resultobj = SWIG_FromInt((int)result);
1838 return resultobj;
1839 fail:
1840 return NULL;
1841 }
1842
1843
1844 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1845 PyObject *resultobj;
1846 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1847 int arg2 ;
1848 int arg3 ;
1849 PyObject * obj0 = 0 ;
1850 PyObject * obj1 = 0 ;
1851 PyObject * obj2 = 0 ;
1852 char *kwnames[] = {
1853 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1854 };
1855
1856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
1857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1859 arg2 = (int) SWIG_AsInt(obj1);
1860 if (PyErr_Occurred()) SWIG_fail;
1861 arg3 = (int) SWIG_AsInt(obj2);
1862 if (PyErr_Occurred()) SWIG_fail;
1863 {
1864 PyThreadState* __tstate = wxPyBeginAllowThreads();
1865 (arg1)->SetScrollPageSize(arg2,arg3);
1866
1867 wxPyEndAllowThreads(__tstate);
1868 if (PyErr_Occurred()) SWIG_fail;
1869 }
1870 Py_INCREF(Py_None); resultobj = Py_None;
1871 return resultobj;
1872 fail:
1873 return NULL;
1874 }
1875
1876
1877 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1878 PyObject *resultobj;
1879 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1880 int arg2 ;
1881 int arg3 ;
1882 PyObject * obj0 = 0 ;
1883 PyObject * obj1 = 0 ;
1884 PyObject * obj2 = 0 ;
1885 char *kwnames[] = {
1886 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1887 };
1888
1889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
1890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1892 arg2 = (int) SWIG_AsInt(obj1);
1893 if (PyErr_Occurred()) SWIG_fail;
1894 arg3 = (int) SWIG_AsInt(obj2);
1895 if (PyErr_Occurred()) SWIG_fail;
1896 {
1897 PyThreadState* __tstate = wxPyBeginAllowThreads();
1898 (arg1)->SetScrollRate(arg2,arg3);
1899
1900 wxPyEndAllowThreads(__tstate);
1901 if (PyErr_Occurred()) SWIG_fail;
1902 }
1903 Py_INCREF(Py_None); resultobj = Py_None;
1904 return resultobj;
1905 fail:
1906 return NULL;
1907 }
1908
1909
1910 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1911 PyObject *resultobj;
1912 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1913 int *arg2 = (int *) 0 ;
1914 int *arg3 = (int *) 0 ;
1915 int temp2 ;
1916 int temp3 ;
1917 PyObject * obj0 = 0 ;
1918 char *kwnames[] = {
1919 (char *) "self", NULL
1920 };
1921
1922 arg2 = &temp2;
1923 arg3 = &temp3;
1924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1927 {
1928 PyThreadState* __tstate = wxPyBeginAllowThreads();
1929 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1930
1931 wxPyEndAllowThreads(__tstate);
1932 if (PyErr_Occurred()) SWIG_fail;
1933 }
1934 Py_INCREF(Py_None); resultobj = Py_None;
1935 {
1936 PyObject *o = PyInt_FromLong((long) (*arg2));
1937 resultobj = t_output_helper(resultobj,o);
1938 }
1939 {
1940 PyObject *o = PyInt_FromLong((long) (*arg3));
1941 resultobj = t_output_helper(resultobj,o);
1942 }
1943 return resultobj;
1944 fail:
1945 return NULL;
1946 }
1947
1948
1949 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1950 PyObject *resultobj;
1951 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1952 bool arg2 ;
1953 bool arg3 ;
1954 PyObject * obj0 = 0 ;
1955 PyObject * obj1 = 0 ;
1956 PyObject * obj2 = 0 ;
1957 char *kwnames[] = {
1958 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1959 };
1960
1961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1964 arg2 = (bool) SWIG_AsBool(obj1);
1965 if (PyErr_Occurred()) SWIG_fail;
1966 arg3 = (bool) SWIG_AsBool(obj2);
1967 if (PyErr_Occurred()) SWIG_fail;
1968 {
1969 PyThreadState* __tstate = wxPyBeginAllowThreads();
1970 (arg1)->EnableScrolling(arg2,arg3);
1971
1972 wxPyEndAllowThreads(__tstate);
1973 if (PyErr_Occurred()) SWIG_fail;
1974 }
1975 Py_INCREF(Py_None); resultobj = Py_None;
1976 return resultobj;
1977 fail:
1978 return NULL;
1979 }
1980
1981
1982 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1983 PyObject *resultobj;
1984 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1985 int *arg2 = (int *) 0 ;
1986 int *arg3 = (int *) 0 ;
1987 int temp2 ;
1988 int temp3 ;
1989 PyObject * obj0 = 0 ;
1990 char *kwnames[] = {
1991 (char *) "self", NULL
1992 };
1993
1994 arg2 = &temp2;
1995 arg3 = &temp3;
1996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1999 {
2000 PyThreadState* __tstate = wxPyBeginAllowThreads();
2001 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
2002
2003 wxPyEndAllowThreads(__tstate);
2004 if (PyErr_Occurred()) SWIG_fail;
2005 }
2006 Py_INCREF(Py_None); resultobj = Py_None;
2007 {
2008 PyObject *o = PyInt_FromLong((long) (*arg2));
2009 resultobj = t_output_helper(resultobj,o);
2010 }
2011 {
2012 PyObject *o = PyInt_FromLong((long) (*arg3));
2013 resultobj = t_output_helper(resultobj,o);
2014 }
2015 return resultobj;
2016 fail:
2017 return NULL;
2018 }
2019
2020
2021 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
2022 PyObject *resultobj;
2023 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2024 double arg2 ;
2025 double arg3 ;
2026 PyObject * obj0 = 0 ;
2027 PyObject * obj1 = 0 ;
2028 PyObject * obj2 = 0 ;
2029 char *kwnames[] = {
2030 (char *) "self",(char *) "xs",(char *) "ys", NULL
2031 };
2032
2033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
2034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2036 arg2 = (double) SWIG_AsDouble(obj1);
2037 if (PyErr_Occurred()) SWIG_fail;
2038 arg3 = (double) SWIG_AsDouble(obj2);
2039 if (PyErr_Occurred()) SWIG_fail;
2040 {
2041 PyThreadState* __tstate = wxPyBeginAllowThreads();
2042 (arg1)->SetScale(arg2,arg3);
2043
2044 wxPyEndAllowThreads(__tstate);
2045 if (PyErr_Occurred()) SWIG_fail;
2046 }
2047 Py_INCREF(Py_None); resultobj = Py_None;
2048 return resultobj;
2049 fail:
2050 return NULL;
2051 }
2052
2053
2054 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
2055 PyObject *resultobj;
2056 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2057 double result;
2058 PyObject * obj0 = 0 ;
2059 char *kwnames[] = {
2060 (char *) "self", NULL
2061 };
2062
2063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
2064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2066 {
2067 PyThreadState* __tstate = wxPyBeginAllowThreads();
2068 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
2069
2070 wxPyEndAllowThreads(__tstate);
2071 if (PyErr_Occurred()) SWIG_fail;
2072 }
2073 resultobj = SWIG_FromDouble((double)result);
2074 return resultobj;
2075 fail:
2076 return NULL;
2077 }
2078
2079
2080 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
2081 PyObject *resultobj;
2082 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2083 double result;
2084 PyObject * obj0 = 0 ;
2085 char *kwnames[] = {
2086 (char *) "self", NULL
2087 };
2088
2089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
2090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2092 {
2093 PyThreadState* __tstate = wxPyBeginAllowThreads();
2094 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
2095
2096 wxPyEndAllowThreads(__tstate);
2097 if (PyErr_Occurred()) SWIG_fail;
2098 }
2099 resultobj = SWIG_FromDouble((double)result);
2100 return resultobj;
2101 fail:
2102 return NULL;
2103 }
2104
2105
2106 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2107 PyObject *resultobj;
2108 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2109 wxPoint *arg2 = 0 ;
2110 wxPoint result;
2111 wxPoint temp2 ;
2112 PyObject * obj0 = 0 ;
2113 PyObject * obj1 = 0 ;
2114
2115 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
2116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2118 {
2119 arg2 = &temp2;
2120 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2121 }
2122 {
2123 PyThreadState* __tstate = wxPyBeginAllowThreads();
2124 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
2125
2126 wxPyEndAllowThreads(__tstate);
2127 if (PyErr_Occurred()) SWIG_fail;
2128 }
2129 {
2130 wxPoint * resultptr;
2131 resultptr = new wxPoint((wxPoint &) result);
2132 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2133 }
2134 return resultobj;
2135 fail:
2136 return NULL;
2137 }
2138
2139
2140 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2141 PyObject *resultobj;
2142 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2143 int arg2 ;
2144 int arg3 ;
2145 int *arg4 = (int *) 0 ;
2146 int *arg5 = (int *) 0 ;
2147 int temp4 ;
2148 int temp5 ;
2149 PyObject * obj0 = 0 ;
2150 PyObject * obj1 = 0 ;
2151 PyObject * obj2 = 0 ;
2152
2153 arg4 = &temp4;
2154 arg5 = &temp5;
2155 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2158 arg2 = (int) SWIG_AsInt(obj1);
2159 if (PyErr_Occurred()) SWIG_fail;
2160 arg3 = (int) SWIG_AsInt(obj2);
2161 if (PyErr_Occurred()) SWIG_fail;
2162 {
2163 PyThreadState* __tstate = wxPyBeginAllowThreads();
2164 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
2165
2166 wxPyEndAllowThreads(__tstate);
2167 if (PyErr_Occurred()) SWIG_fail;
2168 }
2169 Py_INCREF(Py_None); resultobj = Py_None;
2170 {
2171 PyObject *o = PyInt_FromLong((long) (*arg4));
2172 resultobj = t_output_helper(resultobj,o);
2173 }
2174 {
2175 PyObject *o = PyInt_FromLong((long) (*arg5));
2176 resultobj = t_output_helper(resultobj,o);
2177 }
2178 return resultobj;
2179 fail:
2180 return NULL;
2181 }
2182
2183
2184 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2185 int argc;
2186 PyObject *argv[4];
2187 int ii;
2188
2189 argc = PyObject_Length(args);
2190 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2191 argv[ii] = PyTuple_GetItem(args,ii);
2192 }
2193 if (argc == 2) {
2194 int _v;
2195 {
2196 void *ptr;
2197 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2198 _v = 0;
2199 PyErr_Clear();
2200 } else {
2201 _v = 1;
2202 }
2203 }
2204 if (_v) {
2205 {
2206 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2207 }
2208 if (_v) {
2209 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
2210 }
2211 }
2212 }
2213 if (argc == 3) {
2214 int _v;
2215 {
2216 void *ptr;
2217 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2218 _v = 0;
2219 PyErr_Clear();
2220 } else {
2221 _v = 1;
2222 }
2223 }
2224 if (_v) {
2225 _v = SWIG_CheckInt(argv[1]);
2226 if (_v) {
2227 _v = SWIG_CheckInt(argv[2]);
2228 if (_v) {
2229 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2230 }
2231 }
2232 }
2233 }
2234
2235 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2236 return NULL;
2237 }
2238
2239
2240 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2241 PyObject *resultobj;
2242 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2243 wxPoint *arg2 = 0 ;
2244 wxPoint result;
2245 wxPoint temp2 ;
2246 PyObject * obj0 = 0 ;
2247 PyObject * obj1 = 0 ;
2248
2249 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2252 {
2253 arg2 = &temp2;
2254 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2255 }
2256 {
2257 PyThreadState* __tstate = wxPyBeginAllowThreads();
2258 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2259
2260 wxPyEndAllowThreads(__tstate);
2261 if (PyErr_Occurred()) SWIG_fail;
2262 }
2263 {
2264 wxPoint * resultptr;
2265 resultptr = new wxPoint((wxPoint &) result);
2266 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2267 }
2268 return resultobj;
2269 fail:
2270 return NULL;
2271 }
2272
2273
2274 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2275 PyObject *resultobj;
2276 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2277 int arg2 ;
2278 int arg3 ;
2279 int *arg4 = (int *) 0 ;
2280 int *arg5 = (int *) 0 ;
2281 int temp4 ;
2282 int temp5 ;
2283 PyObject * obj0 = 0 ;
2284 PyObject * obj1 = 0 ;
2285 PyObject * obj2 = 0 ;
2286
2287 arg4 = &temp4;
2288 arg5 = &temp5;
2289 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2292 arg2 = (int) SWIG_AsInt(obj1);
2293 if (PyErr_Occurred()) SWIG_fail;
2294 arg3 = (int) SWIG_AsInt(obj2);
2295 if (PyErr_Occurred()) SWIG_fail;
2296 {
2297 PyThreadState* __tstate = wxPyBeginAllowThreads();
2298 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2299
2300 wxPyEndAllowThreads(__tstate);
2301 if (PyErr_Occurred()) SWIG_fail;
2302 }
2303 Py_INCREF(Py_None); resultobj = Py_None;
2304 {
2305 PyObject *o = PyInt_FromLong((long) (*arg4));
2306 resultobj = t_output_helper(resultobj,o);
2307 }
2308 {
2309 PyObject *o = PyInt_FromLong((long) (*arg5));
2310 resultobj = t_output_helper(resultobj,o);
2311 }
2312 return resultobj;
2313 fail:
2314 return NULL;
2315 }
2316
2317
2318 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2319 int argc;
2320 PyObject *argv[4];
2321 int ii;
2322
2323 argc = PyObject_Length(args);
2324 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2325 argv[ii] = PyTuple_GetItem(args,ii);
2326 }
2327 if (argc == 2) {
2328 int _v;
2329 {
2330 void *ptr;
2331 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2332 _v = 0;
2333 PyErr_Clear();
2334 } else {
2335 _v = 1;
2336 }
2337 }
2338 if (_v) {
2339 {
2340 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2341 }
2342 if (_v) {
2343 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2344 }
2345 }
2346 }
2347 if (argc == 3) {
2348 int _v;
2349 {
2350 void *ptr;
2351 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2352 _v = 0;
2353 PyErr_Clear();
2354 } else {
2355 _v = 1;
2356 }
2357 }
2358 if (_v) {
2359 _v = SWIG_CheckInt(argv[1]);
2360 if (_v) {
2361 _v = SWIG_CheckInt(argv[2]);
2362 if (_v) {
2363 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2364 }
2365 }
2366 }
2367 }
2368
2369 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2370 return NULL;
2371 }
2372
2373
2374 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
2375 PyObject *resultobj;
2376 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2377 PyObject * obj0 = 0 ;
2378 char *kwnames[] = {
2379 (char *) "self", NULL
2380 };
2381
2382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2385 {
2386 PyThreadState* __tstate = wxPyBeginAllowThreads();
2387 (arg1)->AdjustScrollbars();
2388
2389 wxPyEndAllowThreads(__tstate);
2390 if (PyErr_Occurred()) SWIG_fail;
2391 }
2392 Py_INCREF(Py_None); resultobj = Py_None;
2393 return resultobj;
2394 fail:
2395 return NULL;
2396 }
2397
2398
2399 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
2400 PyObject *resultobj;
2401 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2402 wxScrollWinEvent *arg2 = 0 ;
2403 int result;
2404 PyObject * obj0 = 0 ;
2405 PyObject * obj1 = 0 ;
2406 char *kwnames[] = {
2407 (char *) "self",(char *) "event", NULL
2408 };
2409
2410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2413 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2414 SWIG_POINTER_EXCEPTION | 0)) == -1)
2415 SWIG_fail;
2416 if (arg2 == NULL) {
2417 PyErr_SetString(PyExc_TypeError,"null reference");
2418 SWIG_fail;
2419 }
2420 {
2421 PyThreadState* __tstate = wxPyBeginAllowThreads();
2422 result = (int)(arg1)->CalcScrollInc(*arg2);
2423
2424 wxPyEndAllowThreads(__tstate);
2425 if (PyErr_Occurred()) SWIG_fail;
2426 }
2427 resultobj = SWIG_FromInt((int)result);
2428 return resultobj;
2429 fail:
2430 return NULL;
2431 }
2432
2433
2434 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2435 PyObject *resultobj;
2436 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2437 wxWindow *arg2 = (wxWindow *) 0 ;
2438 PyObject * obj0 = 0 ;
2439 PyObject * obj1 = 0 ;
2440 char *kwnames[] = {
2441 (char *) "self",(char *) "target", NULL
2442 };
2443
2444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2447 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2449 {
2450 PyThreadState* __tstate = wxPyBeginAllowThreads();
2451 (arg1)->SetTargetWindow(arg2);
2452
2453 wxPyEndAllowThreads(__tstate);
2454 if (PyErr_Occurred()) SWIG_fail;
2455 }
2456 Py_INCREF(Py_None); resultobj = Py_None;
2457 return resultobj;
2458 fail:
2459 return NULL;
2460 }
2461
2462
2463 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2464 PyObject *resultobj;
2465 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2466 wxWindow *result;
2467 PyObject * obj0 = 0 ;
2468 char *kwnames[] = {
2469 (char *) "self", NULL
2470 };
2471
2472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2475 {
2476 PyThreadState* __tstate = wxPyBeginAllowThreads();
2477 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2478
2479 wxPyEndAllowThreads(__tstate);
2480 if (PyErr_Occurred()) SWIG_fail;
2481 }
2482 {
2483 resultobj = wxPyMake_wxObject(result);
2484 }
2485 return resultobj;
2486 fail:
2487 return NULL;
2488 }
2489
2490
2491 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2492 PyObject *resultobj;
2493 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2494 wxRect *arg2 = 0 ;
2495 wxRect temp2 ;
2496 PyObject * obj0 = 0 ;
2497 PyObject * obj1 = 0 ;
2498 char *kwnames[] = {
2499 (char *) "self",(char *) "rect", NULL
2500 };
2501
2502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2505 {
2506 arg2 = &temp2;
2507 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2508 }
2509 {
2510 PyThreadState* __tstate = wxPyBeginAllowThreads();
2511 (arg1)->SetTargetRect((wxRect const &)*arg2);
2512
2513 wxPyEndAllowThreads(__tstate);
2514 if (PyErr_Occurred()) SWIG_fail;
2515 }
2516 Py_INCREF(Py_None); resultobj = Py_None;
2517 return resultobj;
2518 fail:
2519 return NULL;
2520 }
2521
2522
2523 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2524 PyObject *resultobj;
2525 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2526 wxRect result;
2527 PyObject * obj0 = 0 ;
2528 char *kwnames[] = {
2529 (char *) "self", NULL
2530 };
2531
2532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2535 {
2536 PyThreadState* __tstate = wxPyBeginAllowThreads();
2537 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2538
2539 wxPyEndAllowThreads(__tstate);
2540 if (PyErr_Occurred()) SWIG_fail;
2541 }
2542 {
2543 wxRect * resultptr;
2544 resultptr = new wxRect((wxRect &) result);
2545 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
2546 }
2547 return resultobj;
2548 fail:
2549 return NULL;
2550 }
2551
2552
2553 static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
2554 PyObject *resultobj;
2555 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2556 wxVisualAttributes result;
2557 PyObject * obj0 = 0 ;
2558 char *kwnames[] = {
2559 (char *) "variant", NULL
2560 };
2561
2562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2563 if (obj0) {
2564 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
2565 if (PyErr_Occurred()) SWIG_fail;
2566 }
2567 {
2568 if (!wxPyCheckForApp()) SWIG_fail;
2569 PyThreadState* __tstate = wxPyBeginAllowThreads();
2570 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
2571
2572 wxPyEndAllowThreads(__tstate);
2573 if (PyErr_Occurred()) SWIG_fail;
2574 }
2575 {
2576 wxVisualAttributes * resultptr;
2577 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2578 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2579 }
2580 return resultobj;
2581 fail:
2582 return NULL;
2583 }
2584
2585
2586 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2587 PyObject *obj;
2588 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2589 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2590 Py_INCREF(obj);
2591 return Py_BuildValue((char *)"");
2592 }
2593 static int _wrap_FrameNameStr_set(PyObject *_val) {
2594 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2595 return 1;
2596 }
2597
2598
2599 static PyObject *_wrap_FrameNameStr_get() {
2600 PyObject *pyobj;
2601
2602 {
2603 #if wxUSE_UNICODE
2604 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2605 #else
2606 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2607 #endif
2608 }
2609 return pyobj;
2610 }
2611
2612
2613 static int _wrap_DialogNameStr_set(PyObject *_val) {
2614 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2615 return 1;
2616 }
2617
2618
2619 static PyObject *_wrap_DialogNameStr_get() {
2620 PyObject *pyobj;
2621
2622 {
2623 #if wxUSE_UNICODE
2624 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2625 #else
2626 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2627 #endif
2628 }
2629 return pyobj;
2630 }
2631
2632
2633 static int _wrap_StatusLineNameStr_set(PyObject *_val) {
2634 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2635 return 1;
2636 }
2637
2638
2639 static PyObject *_wrap_StatusLineNameStr_get() {
2640 PyObject *pyobj;
2641
2642 {
2643 #if wxUSE_UNICODE
2644 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2645 #else
2646 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2647 #endif
2648 }
2649 return pyobj;
2650 }
2651
2652
2653 static int _wrap_ToolBarNameStr_set(PyObject *_val) {
2654 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2655 return 1;
2656 }
2657
2658
2659 static PyObject *_wrap_ToolBarNameStr_get() {
2660 PyObject *pyobj;
2661
2662 {
2663 #if wxUSE_UNICODE
2664 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2665 #else
2666 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2667 #endif
2668 }
2669 return pyobj;
2670 }
2671
2672
2673 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2674 PyObject *resultobj;
2675 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2676 bool arg2 = (bool) True ;
2677 PyObject * obj0 = 0 ;
2678 PyObject * obj1 = 0 ;
2679 char *kwnames[] = {
2680 (char *) "self",(char *) "maximize", NULL
2681 };
2682
2683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2686 if (obj1) {
2687 arg2 = (bool) SWIG_AsBool(obj1);
2688 if (PyErr_Occurred()) SWIG_fail;
2689 }
2690 {
2691 PyThreadState* __tstate = wxPyBeginAllowThreads();
2692 (arg1)->Maximize(arg2);
2693
2694 wxPyEndAllowThreads(__tstate);
2695 if (PyErr_Occurred()) SWIG_fail;
2696 }
2697 Py_INCREF(Py_None); resultobj = Py_None;
2698 return resultobj;
2699 fail:
2700 return NULL;
2701 }
2702
2703
2704 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2705 PyObject *resultobj;
2706 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2707 PyObject * obj0 = 0 ;
2708 char *kwnames[] = {
2709 (char *) "self", NULL
2710 };
2711
2712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2715 {
2716 PyThreadState* __tstate = wxPyBeginAllowThreads();
2717 (arg1)->Restore();
2718
2719 wxPyEndAllowThreads(__tstate);
2720 if (PyErr_Occurred()) SWIG_fail;
2721 }
2722 Py_INCREF(Py_None); resultobj = Py_None;
2723 return resultobj;
2724 fail:
2725 return NULL;
2726 }
2727
2728
2729 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2730 PyObject *resultobj;
2731 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2732 bool arg2 = (bool) True ;
2733 PyObject * obj0 = 0 ;
2734 PyObject * obj1 = 0 ;
2735 char *kwnames[] = {
2736 (char *) "self",(char *) "iconize", NULL
2737 };
2738
2739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2742 if (obj1) {
2743 arg2 = (bool) SWIG_AsBool(obj1);
2744 if (PyErr_Occurred()) SWIG_fail;
2745 }
2746 {
2747 PyThreadState* __tstate = wxPyBeginAllowThreads();
2748 (arg1)->Iconize(arg2);
2749
2750 wxPyEndAllowThreads(__tstate);
2751 if (PyErr_Occurred()) SWIG_fail;
2752 }
2753 Py_INCREF(Py_None); resultobj = Py_None;
2754 return resultobj;
2755 fail:
2756 return NULL;
2757 }
2758
2759
2760 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2761 PyObject *resultobj;
2762 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2763 bool result;
2764 PyObject * obj0 = 0 ;
2765 char *kwnames[] = {
2766 (char *) "self", NULL
2767 };
2768
2769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2772 {
2773 PyThreadState* __tstate = wxPyBeginAllowThreads();
2774 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2775
2776 wxPyEndAllowThreads(__tstate);
2777 if (PyErr_Occurred()) SWIG_fail;
2778 }
2779 {
2780 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2781 }
2782 return resultobj;
2783 fail:
2784 return NULL;
2785 }
2786
2787
2788 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2789 PyObject *resultobj;
2790 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2791 bool result;
2792 PyObject * obj0 = 0 ;
2793 char *kwnames[] = {
2794 (char *) "self", NULL
2795 };
2796
2797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2800 {
2801 PyThreadState* __tstate = wxPyBeginAllowThreads();
2802 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2803
2804 wxPyEndAllowThreads(__tstate);
2805 if (PyErr_Occurred()) SWIG_fail;
2806 }
2807 {
2808 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2809 }
2810 return resultobj;
2811 fail:
2812 return NULL;
2813 }
2814
2815
2816 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2817 PyObject *resultobj;
2818 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2819 wxIcon result;
2820 PyObject * obj0 = 0 ;
2821 char *kwnames[] = {
2822 (char *) "self", NULL
2823 };
2824
2825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2828 {
2829 PyThreadState* __tstate = wxPyBeginAllowThreads();
2830 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2831
2832 wxPyEndAllowThreads(__tstate);
2833 if (PyErr_Occurred()) SWIG_fail;
2834 }
2835 {
2836 wxIcon * resultptr;
2837 resultptr = new wxIcon((wxIcon &) result);
2838 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
2839 }
2840 return resultobj;
2841 fail:
2842 return NULL;
2843 }
2844
2845
2846 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2847 PyObject *resultobj;
2848 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2849 wxIcon *arg2 = 0 ;
2850 PyObject * obj0 = 0 ;
2851 PyObject * obj1 = 0 ;
2852 char *kwnames[] = {
2853 (char *) "self",(char *) "icon", NULL
2854 };
2855
2856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2859 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
2860 SWIG_POINTER_EXCEPTION | 0)) == -1)
2861 SWIG_fail;
2862 if (arg2 == NULL) {
2863 PyErr_SetString(PyExc_TypeError,"null reference");
2864 SWIG_fail;
2865 }
2866 {
2867 PyThreadState* __tstate = wxPyBeginAllowThreads();
2868 (arg1)->SetIcon((wxIcon const &)*arg2);
2869
2870 wxPyEndAllowThreads(__tstate);
2871 if (PyErr_Occurred()) SWIG_fail;
2872 }
2873 Py_INCREF(Py_None); resultobj = Py_None;
2874 return resultobj;
2875 fail:
2876 return NULL;
2877 }
2878
2879
2880 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2881 PyObject *resultobj;
2882 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2883 wxIconBundle *arg2 = 0 ;
2884 PyObject * obj0 = 0 ;
2885 PyObject * obj1 = 0 ;
2886 char *kwnames[] = {
2887 (char *) "self",(char *) "icons", NULL
2888 };
2889
2890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2893 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
2894 SWIG_POINTER_EXCEPTION | 0)) == -1)
2895 SWIG_fail;
2896 if (arg2 == NULL) {
2897 PyErr_SetString(PyExc_TypeError,"null reference");
2898 SWIG_fail;
2899 }
2900 {
2901 PyThreadState* __tstate = wxPyBeginAllowThreads();
2902 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2903
2904 wxPyEndAllowThreads(__tstate);
2905 if (PyErr_Occurred()) SWIG_fail;
2906 }
2907 Py_INCREF(Py_None); resultobj = Py_None;
2908 return resultobj;
2909 fail:
2910 return NULL;
2911 }
2912
2913
2914 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2915 PyObject *resultobj;
2916 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2917 bool arg2 ;
2918 long arg3 = (long) wxFULLSCREEN_ALL ;
2919 bool result;
2920 PyObject * obj0 = 0 ;
2921 PyObject * obj1 = 0 ;
2922 PyObject * obj2 = 0 ;
2923 char *kwnames[] = {
2924 (char *) "self",(char *) "show",(char *) "style", NULL
2925 };
2926
2927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2930 arg2 = (bool) SWIG_AsBool(obj1);
2931 if (PyErr_Occurred()) SWIG_fail;
2932 if (obj2) {
2933 arg3 = (long) SWIG_AsLong(obj2);
2934 if (PyErr_Occurred()) SWIG_fail;
2935 }
2936 {
2937 PyThreadState* __tstate = wxPyBeginAllowThreads();
2938 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2939
2940 wxPyEndAllowThreads(__tstate);
2941 if (PyErr_Occurred()) SWIG_fail;
2942 }
2943 {
2944 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2945 }
2946 return resultobj;
2947 fail:
2948 return NULL;
2949 }
2950
2951
2952 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2953 PyObject *resultobj;
2954 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2955 bool result;
2956 PyObject * obj0 = 0 ;
2957 char *kwnames[] = {
2958 (char *) "self", NULL
2959 };
2960
2961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2964 {
2965 PyThreadState* __tstate = wxPyBeginAllowThreads();
2966 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2967
2968 wxPyEndAllowThreads(__tstate);
2969 if (PyErr_Occurred()) SWIG_fail;
2970 }
2971 {
2972 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2973 }
2974 return resultobj;
2975 fail:
2976 return NULL;
2977 }
2978
2979
2980 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2981 PyObject *resultobj;
2982 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2983 wxString *arg2 = 0 ;
2984 bool temp2 = False ;
2985 PyObject * obj0 = 0 ;
2986 PyObject * obj1 = 0 ;
2987 char *kwnames[] = {
2988 (char *) "self",(char *) "title", NULL
2989 };
2990
2991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2994 {
2995 arg2 = wxString_in_helper(obj1);
2996 if (arg2 == NULL) SWIG_fail;
2997 temp2 = True;
2998 }
2999 {
3000 PyThreadState* __tstate = wxPyBeginAllowThreads();
3001 (arg1)->SetTitle((wxString const &)*arg2);
3002
3003 wxPyEndAllowThreads(__tstate);
3004 if (PyErr_Occurred()) SWIG_fail;
3005 }
3006 Py_INCREF(Py_None); resultobj = Py_None;
3007 {
3008 if (temp2)
3009 delete arg2;
3010 }
3011 return resultobj;
3012 fail:
3013 {
3014 if (temp2)
3015 delete arg2;
3016 }
3017 return NULL;
3018 }
3019
3020
3021 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
3022 PyObject *resultobj;
3023 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3024 wxString result;
3025 PyObject * obj0 = 0 ;
3026 char *kwnames[] = {
3027 (char *) "self", NULL
3028 };
3029
3030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
3031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3033 {
3034 PyThreadState* __tstate = wxPyBeginAllowThreads();
3035 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
3036
3037 wxPyEndAllowThreads(__tstate);
3038 if (PyErr_Occurred()) SWIG_fail;
3039 }
3040 {
3041 #if wxUSE_UNICODE
3042 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3043 #else
3044 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3045 #endif
3046 }
3047 return resultobj;
3048 fail:
3049 return NULL;
3050 }
3051
3052
3053 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
3054 PyObject *resultobj;
3055 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3056 wxRegion *arg2 = 0 ;
3057 bool result;
3058 PyObject * obj0 = 0 ;
3059 PyObject * obj1 = 0 ;
3060 char *kwnames[] = {
3061 (char *) "self",(char *) "region", NULL
3062 };
3063
3064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
3065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3067 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
3068 SWIG_POINTER_EXCEPTION | 0)) == -1)
3069 SWIG_fail;
3070 if (arg2 == NULL) {
3071 PyErr_SetString(PyExc_TypeError,"null reference");
3072 SWIG_fail;
3073 }
3074 {
3075 PyThreadState* __tstate = wxPyBeginAllowThreads();
3076 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
3077
3078 wxPyEndAllowThreads(__tstate);
3079 if (PyErr_Occurred()) SWIG_fail;
3080 }
3081 {
3082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3083 }
3084 return resultobj;
3085 fail:
3086 return NULL;
3087 }
3088
3089
3090 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
3091 PyObject *obj;
3092 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3093 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
3094 Py_INCREF(obj);
3095 return Py_BuildValue((char *)"");
3096 }
3097 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
3098 PyObject *resultobj;
3099 wxWindow *arg1 = (wxWindow *) 0 ;
3100 int arg2 ;
3101 wxString *arg3 = 0 ;
3102 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3103 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3104 wxSize const &arg5_defvalue = wxDefaultSize ;
3105 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3106 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3107 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3108 wxString *arg7 = (wxString *) &arg7_defvalue ;
3109 wxFrame *result;
3110 bool temp3 = False ;
3111 wxPoint temp4 ;
3112 wxSize temp5 ;
3113 bool temp7 = False ;
3114 PyObject * obj0 = 0 ;
3115 PyObject * obj1 = 0 ;
3116 PyObject * obj2 = 0 ;
3117 PyObject * obj3 = 0 ;
3118 PyObject * obj4 = 0 ;
3119 PyObject * obj5 = 0 ;
3120 PyObject * obj6 = 0 ;
3121 char *kwnames[] = {
3122 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3123 };
3124
3125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3128 arg2 = (int const) SWIG_AsInt(obj1);
3129 if (PyErr_Occurred()) SWIG_fail;
3130 {
3131 arg3 = wxString_in_helper(obj2);
3132 if (arg3 == NULL) SWIG_fail;
3133 temp3 = True;
3134 }
3135 if (obj3) {
3136 {
3137 arg4 = &temp4;
3138 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3139 }
3140 }
3141 if (obj4) {
3142 {
3143 arg5 = &temp5;
3144 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3145 }
3146 }
3147 if (obj5) {
3148 arg6 = (long) SWIG_AsLong(obj5);
3149 if (PyErr_Occurred()) SWIG_fail;
3150 }
3151 if (obj6) {
3152 {
3153 arg7 = wxString_in_helper(obj6);
3154 if (arg7 == NULL) SWIG_fail;
3155 temp7 = True;
3156 }
3157 }
3158 {
3159 if (!wxPyCheckForApp()) SWIG_fail;
3160 PyThreadState* __tstate = wxPyBeginAllowThreads();
3161 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3162
3163 wxPyEndAllowThreads(__tstate);
3164 if (PyErr_Occurred()) SWIG_fail;
3165 }
3166 {
3167 resultobj = wxPyMake_wxObject(result);
3168 }
3169 {
3170 if (temp3)
3171 delete arg3;
3172 }
3173 {
3174 if (temp7)
3175 delete arg7;
3176 }
3177 return resultobj;
3178 fail:
3179 {
3180 if (temp3)
3181 delete arg3;
3182 }
3183 {
3184 if (temp7)
3185 delete arg7;
3186 }
3187 return NULL;
3188 }
3189
3190
3191 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3192 PyObject *resultobj;
3193 wxFrame *result;
3194 char *kwnames[] = {
3195 NULL
3196 };
3197
3198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3199 {
3200 if (!wxPyCheckForApp()) SWIG_fail;
3201 PyThreadState* __tstate = wxPyBeginAllowThreads();
3202 result = (wxFrame *)new wxFrame();
3203
3204 wxPyEndAllowThreads(__tstate);
3205 if (PyErr_Occurred()) SWIG_fail;
3206 }
3207 {
3208 resultobj = wxPyMake_wxObject(result);
3209 }
3210 return resultobj;
3211 fail:
3212 return NULL;
3213 }
3214
3215
3216 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3217 PyObject *resultobj;
3218 wxFrame *arg1 = (wxFrame *) 0 ;
3219 wxWindow *arg2 = (wxWindow *) 0 ;
3220 int arg3 ;
3221 wxString *arg4 = 0 ;
3222 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3223 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3224 wxSize const &arg6_defvalue = wxDefaultSize ;
3225 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3226 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3227 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3228 wxString *arg8 = (wxString *) &arg8_defvalue ;
3229 bool result;
3230 bool temp4 = False ;
3231 wxPoint temp5 ;
3232 wxSize temp6 ;
3233 bool temp8 = False ;
3234 PyObject * obj0 = 0 ;
3235 PyObject * obj1 = 0 ;
3236 PyObject * obj2 = 0 ;
3237 PyObject * obj3 = 0 ;
3238 PyObject * obj4 = 0 ;
3239 PyObject * obj5 = 0 ;
3240 PyObject * obj6 = 0 ;
3241 PyObject * obj7 = 0 ;
3242 char *kwnames[] = {
3243 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3244 };
3245
3246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3249 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3251 arg3 = (int const) SWIG_AsInt(obj2);
3252 if (PyErr_Occurred()) SWIG_fail;
3253 {
3254 arg4 = wxString_in_helper(obj3);
3255 if (arg4 == NULL) SWIG_fail;
3256 temp4 = True;
3257 }
3258 if (obj4) {
3259 {
3260 arg5 = &temp5;
3261 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3262 }
3263 }
3264 if (obj5) {
3265 {
3266 arg6 = &temp6;
3267 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3268 }
3269 }
3270 if (obj6) {
3271 arg7 = (long) SWIG_AsLong(obj6);
3272 if (PyErr_Occurred()) SWIG_fail;
3273 }
3274 if (obj7) {
3275 {
3276 arg8 = wxString_in_helper(obj7);
3277 if (arg8 == NULL) SWIG_fail;
3278 temp8 = True;
3279 }
3280 }
3281 {
3282 PyThreadState* __tstate = wxPyBeginAllowThreads();
3283 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3284
3285 wxPyEndAllowThreads(__tstate);
3286 if (PyErr_Occurred()) SWIG_fail;
3287 }
3288 {
3289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3290 }
3291 {
3292 if (temp4)
3293 delete arg4;
3294 }
3295 {
3296 if (temp8)
3297 delete arg8;
3298 }
3299 return resultobj;
3300 fail:
3301 {
3302 if (temp4)
3303 delete arg4;
3304 }
3305 {
3306 if (temp8)
3307 delete arg8;
3308 }
3309 return NULL;
3310 }
3311
3312
3313 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
3314 PyObject *resultobj;
3315 wxFrame *arg1 = (wxFrame *) 0 ;
3316 wxPoint result;
3317 PyObject * obj0 = 0 ;
3318 char *kwnames[] = {
3319 (char *) "self", NULL
3320 };
3321
3322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3325 {
3326 PyThreadState* __tstate = wxPyBeginAllowThreads();
3327 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3328
3329 wxPyEndAllowThreads(__tstate);
3330 if (PyErr_Occurred()) SWIG_fail;
3331 }
3332 {
3333 wxPoint * resultptr;
3334 resultptr = new wxPoint((wxPoint &) result);
3335 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3336 }
3337 return resultobj;
3338 fail:
3339 return NULL;
3340 }
3341
3342
3343 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3344 PyObject *resultobj;
3345 wxFrame *arg1 = (wxFrame *) 0 ;
3346 PyObject * obj0 = 0 ;
3347 char *kwnames[] = {
3348 (char *) "self", NULL
3349 };
3350
3351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3354 {
3355 PyThreadState* __tstate = wxPyBeginAllowThreads();
3356 (arg1)->SendSizeEvent();
3357
3358 wxPyEndAllowThreads(__tstate);
3359 if (PyErr_Occurred()) SWIG_fail;
3360 }
3361 Py_INCREF(Py_None); resultobj = Py_None;
3362 return resultobj;
3363 fail:
3364 return NULL;
3365 }
3366
3367
3368 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3369 PyObject *resultobj;
3370 wxFrame *arg1 = (wxFrame *) 0 ;
3371 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3372 PyObject * obj0 = 0 ;
3373 PyObject * obj1 = 0 ;
3374 char *kwnames[] = {
3375 (char *) "self",(char *) "menubar", NULL
3376 };
3377
3378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3381 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3383 {
3384 PyThreadState* __tstate = wxPyBeginAllowThreads();
3385 (arg1)->SetMenuBar(arg2);
3386
3387 wxPyEndAllowThreads(__tstate);
3388 if (PyErr_Occurred()) SWIG_fail;
3389 }
3390 Py_INCREF(Py_None); resultobj = Py_None;
3391 return resultobj;
3392 fail:
3393 return NULL;
3394 }
3395
3396
3397 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3398 PyObject *resultobj;
3399 wxFrame *arg1 = (wxFrame *) 0 ;
3400 wxMenuBar *result;
3401 PyObject * obj0 = 0 ;
3402 char *kwnames[] = {
3403 (char *) "self", NULL
3404 };
3405
3406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3409 {
3410 PyThreadState* __tstate = wxPyBeginAllowThreads();
3411 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3412
3413 wxPyEndAllowThreads(__tstate);
3414 if (PyErr_Occurred()) SWIG_fail;
3415 }
3416 {
3417 resultobj = wxPyMake_wxObject(result);
3418 }
3419 return resultobj;
3420 fail:
3421 return NULL;
3422 }
3423
3424
3425 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3426 PyObject *resultobj;
3427 wxFrame *arg1 = (wxFrame *) 0 ;
3428 int arg2 ;
3429 bool result;
3430 PyObject * obj0 = 0 ;
3431 PyObject * obj1 = 0 ;
3432 char *kwnames[] = {
3433 (char *) "self",(char *) "winid", NULL
3434 };
3435
3436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3439 arg2 = (int) SWIG_AsInt(obj1);
3440 if (PyErr_Occurred()) SWIG_fail;
3441 {
3442 PyThreadState* __tstate = wxPyBeginAllowThreads();
3443 result = (bool)(arg1)->ProcessCommand(arg2);
3444
3445 wxPyEndAllowThreads(__tstate);
3446 if (PyErr_Occurred()) SWIG_fail;
3447 }
3448 {
3449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3450 }
3451 return resultobj;
3452 fail:
3453 return NULL;
3454 }
3455
3456
3457 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3458 PyObject *resultobj;
3459 wxFrame *arg1 = (wxFrame *) 0 ;
3460 int arg2 = (int) 1 ;
3461 long arg3 = (long) wxST_SIZEGRIP ;
3462 int arg4 = (int) 0 ;
3463 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3464 wxString *arg5 = (wxString *) &arg5_defvalue ;
3465 wxStatusBar *result;
3466 bool temp5 = False ;
3467 PyObject * obj0 = 0 ;
3468 PyObject * obj1 = 0 ;
3469 PyObject * obj2 = 0 ;
3470 PyObject * obj3 = 0 ;
3471 PyObject * obj4 = 0 ;
3472 char *kwnames[] = {
3473 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3474 };
3475
3476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3479 if (obj1) {
3480 arg2 = (int) SWIG_AsInt(obj1);
3481 if (PyErr_Occurred()) SWIG_fail;
3482 }
3483 if (obj2) {
3484 arg3 = (long) SWIG_AsLong(obj2);
3485 if (PyErr_Occurred()) SWIG_fail;
3486 }
3487 if (obj3) {
3488 arg4 = (int) SWIG_AsInt(obj3);
3489 if (PyErr_Occurred()) SWIG_fail;
3490 }
3491 if (obj4) {
3492 {
3493 arg5 = wxString_in_helper(obj4);
3494 if (arg5 == NULL) SWIG_fail;
3495 temp5 = True;
3496 }
3497 }
3498 {
3499 PyThreadState* __tstate = wxPyBeginAllowThreads();
3500 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3501
3502 wxPyEndAllowThreads(__tstate);
3503 if (PyErr_Occurred()) SWIG_fail;
3504 }
3505 {
3506 resultobj = wxPyMake_wxObject(result);
3507 }
3508 {
3509 if (temp5)
3510 delete arg5;
3511 }
3512 return resultobj;
3513 fail:
3514 {
3515 if (temp5)
3516 delete arg5;
3517 }
3518 return NULL;
3519 }
3520
3521
3522 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3523 PyObject *resultobj;
3524 wxFrame *arg1 = (wxFrame *) 0 ;
3525 wxStatusBar *result;
3526 PyObject * obj0 = 0 ;
3527 char *kwnames[] = {
3528 (char *) "self", NULL
3529 };
3530
3531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3534 {
3535 PyThreadState* __tstate = wxPyBeginAllowThreads();
3536 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3537
3538 wxPyEndAllowThreads(__tstate);
3539 if (PyErr_Occurred()) SWIG_fail;
3540 }
3541 {
3542 resultobj = wxPyMake_wxObject(result);
3543 }
3544 return resultobj;
3545 fail:
3546 return NULL;
3547 }
3548
3549
3550 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3551 PyObject *resultobj;
3552 wxFrame *arg1 = (wxFrame *) 0 ;
3553 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3554 PyObject * obj0 = 0 ;
3555 PyObject * obj1 = 0 ;
3556 char *kwnames[] = {
3557 (char *) "self",(char *) "statBar", NULL
3558 };
3559
3560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3563 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3565 {
3566 PyThreadState* __tstate = wxPyBeginAllowThreads();
3567 (arg1)->SetStatusBar(arg2);
3568
3569 wxPyEndAllowThreads(__tstate);
3570 if (PyErr_Occurred()) SWIG_fail;
3571 }
3572 Py_INCREF(Py_None); resultobj = Py_None;
3573 return resultobj;
3574 fail:
3575 return NULL;
3576 }
3577
3578
3579 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3580 PyObject *resultobj;
3581 wxFrame *arg1 = (wxFrame *) 0 ;
3582 wxString *arg2 = 0 ;
3583 int arg3 = (int) 0 ;
3584 bool temp2 = False ;
3585 PyObject * obj0 = 0 ;
3586 PyObject * obj1 = 0 ;
3587 PyObject * obj2 = 0 ;
3588 char *kwnames[] = {
3589 (char *) "self",(char *) "text",(char *) "number", NULL
3590 };
3591
3592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3595 {
3596 arg2 = wxString_in_helper(obj1);
3597 if (arg2 == NULL) SWIG_fail;
3598 temp2 = True;
3599 }
3600 if (obj2) {
3601 arg3 = (int) SWIG_AsInt(obj2);
3602 if (PyErr_Occurred()) SWIG_fail;
3603 }
3604 {
3605 PyThreadState* __tstate = wxPyBeginAllowThreads();
3606 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3607
3608 wxPyEndAllowThreads(__tstate);
3609 if (PyErr_Occurred()) SWIG_fail;
3610 }
3611 Py_INCREF(Py_None); resultobj = Py_None;
3612 {
3613 if (temp2)
3614 delete arg2;
3615 }
3616 return resultobj;
3617 fail:
3618 {
3619 if (temp2)
3620 delete arg2;
3621 }
3622 return NULL;
3623 }
3624
3625
3626 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3627 PyObject *resultobj;
3628 wxFrame *arg1 = (wxFrame *) 0 ;
3629 int arg2 ;
3630 int *arg3 = (int *) 0 ;
3631 PyObject * obj0 = 0 ;
3632 PyObject * obj1 = 0 ;
3633 char *kwnames[] = {
3634 (char *) "self",(char *) "widths", NULL
3635 };
3636
3637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3640 {
3641 arg2 = PyList_Size(obj1);
3642 arg3 = int_LIST_helper(obj1);
3643 if (arg3 == NULL) SWIG_fail;
3644 }
3645 {
3646 PyThreadState* __tstate = wxPyBeginAllowThreads();
3647 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3648
3649 wxPyEndAllowThreads(__tstate);
3650 if (PyErr_Occurred()) SWIG_fail;
3651 }
3652 Py_INCREF(Py_None); resultobj = Py_None;
3653 {
3654 if (arg3) delete [] arg3;
3655 }
3656 return resultobj;
3657 fail:
3658 {
3659 if (arg3) delete [] arg3;
3660 }
3661 return NULL;
3662 }
3663
3664
3665 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3666 PyObject *resultobj;
3667 wxFrame *arg1 = (wxFrame *) 0 ;
3668 wxString *arg2 = 0 ;
3669 int arg3 = (int) 0 ;
3670 bool temp2 = False ;
3671 PyObject * obj0 = 0 ;
3672 PyObject * obj1 = 0 ;
3673 PyObject * obj2 = 0 ;
3674 char *kwnames[] = {
3675 (char *) "self",(char *) "text",(char *) "number", NULL
3676 };
3677
3678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3681 {
3682 arg2 = wxString_in_helper(obj1);
3683 if (arg2 == NULL) SWIG_fail;
3684 temp2 = True;
3685 }
3686 if (obj2) {
3687 arg3 = (int) SWIG_AsInt(obj2);
3688 if (PyErr_Occurred()) SWIG_fail;
3689 }
3690 {
3691 PyThreadState* __tstate = wxPyBeginAllowThreads();
3692 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3693
3694 wxPyEndAllowThreads(__tstate);
3695 if (PyErr_Occurred()) SWIG_fail;
3696 }
3697 Py_INCREF(Py_None); resultobj = Py_None;
3698 {
3699 if (temp2)
3700 delete arg2;
3701 }
3702 return resultobj;
3703 fail:
3704 {
3705 if (temp2)
3706 delete arg2;
3707 }
3708 return NULL;
3709 }
3710
3711
3712 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3713 PyObject *resultobj;
3714 wxFrame *arg1 = (wxFrame *) 0 ;
3715 int arg2 = (int) 0 ;
3716 PyObject * obj0 = 0 ;
3717 PyObject * obj1 = 0 ;
3718 char *kwnames[] = {
3719 (char *) "self",(char *) "number", NULL
3720 };
3721
3722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3725 if (obj1) {
3726 arg2 = (int) SWIG_AsInt(obj1);
3727 if (PyErr_Occurred()) SWIG_fail;
3728 }
3729 {
3730 PyThreadState* __tstate = wxPyBeginAllowThreads();
3731 (arg1)->PopStatusText(arg2);
3732
3733 wxPyEndAllowThreads(__tstate);
3734 if (PyErr_Occurred()) SWIG_fail;
3735 }
3736 Py_INCREF(Py_None); resultobj = Py_None;
3737 return resultobj;
3738 fail:
3739 return NULL;
3740 }
3741
3742
3743 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3744 PyObject *resultobj;
3745 wxFrame *arg1 = (wxFrame *) 0 ;
3746 int arg2 ;
3747 PyObject * obj0 = 0 ;
3748 PyObject * obj1 = 0 ;
3749 char *kwnames[] = {
3750 (char *) "self",(char *) "n", NULL
3751 };
3752
3753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
3754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3756 arg2 = (int) SWIG_AsInt(obj1);
3757 if (PyErr_Occurred()) SWIG_fail;
3758 {
3759 PyThreadState* __tstate = wxPyBeginAllowThreads();
3760 (arg1)->SetStatusBarPane(arg2);
3761
3762 wxPyEndAllowThreads(__tstate);
3763 if (PyErr_Occurred()) SWIG_fail;
3764 }
3765 Py_INCREF(Py_None); resultobj = Py_None;
3766 return resultobj;
3767 fail:
3768 return NULL;
3769 }
3770
3771
3772 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3773 PyObject *resultobj;
3774 wxFrame *arg1 = (wxFrame *) 0 ;
3775 int result;
3776 PyObject * obj0 = 0 ;
3777 char *kwnames[] = {
3778 (char *) "self", NULL
3779 };
3780
3781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3784 {
3785 PyThreadState* __tstate = wxPyBeginAllowThreads();
3786 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3787
3788 wxPyEndAllowThreads(__tstate);
3789 if (PyErr_Occurred()) SWIG_fail;
3790 }
3791 resultobj = SWIG_FromInt((int)result);
3792 return resultobj;
3793 fail:
3794 return NULL;
3795 }
3796
3797
3798 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3799 PyObject *resultobj;
3800 wxFrame *arg1 = (wxFrame *) 0 ;
3801 long arg2 = (long) -1 ;
3802 int arg3 = (int) -1 ;
3803 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3804 wxString *arg4 = (wxString *) &arg4_defvalue ;
3805 wxToolBar *result;
3806 bool temp4 = False ;
3807 PyObject * obj0 = 0 ;
3808 PyObject * obj1 = 0 ;
3809 PyObject * obj2 = 0 ;
3810 PyObject * obj3 = 0 ;
3811 char *kwnames[] = {
3812 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3813 };
3814
3815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3818 if (obj1) {
3819 arg2 = (long) SWIG_AsLong(obj1);
3820 if (PyErr_Occurred()) SWIG_fail;
3821 }
3822 if (obj2) {
3823 arg3 = (int) SWIG_AsInt(obj2);
3824 if (PyErr_Occurred()) SWIG_fail;
3825 }
3826 if (obj3) {
3827 {
3828 arg4 = wxString_in_helper(obj3);
3829 if (arg4 == NULL) SWIG_fail;
3830 temp4 = True;
3831 }
3832 }
3833 {
3834 PyThreadState* __tstate = wxPyBeginAllowThreads();
3835 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3836
3837 wxPyEndAllowThreads(__tstate);
3838 if (PyErr_Occurred()) SWIG_fail;
3839 }
3840 {
3841 resultobj = wxPyMake_wxObject(result);
3842 }
3843 {
3844 if (temp4)
3845 delete arg4;
3846 }
3847 return resultobj;
3848 fail:
3849 {
3850 if (temp4)
3851 delete arg4;
3852 }
3853 return NULL;
3854 }
3855
3856
3857 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3858 PyObject *resultobj;
3859 wxFrame *arg1 = (wxFrame *) 0 ;
3860 wxToolBar *result;
3861 PyObject * obj0 = 0 ;
3862 char *kwnames[] = {
3863 (char *) "self", NULL
3864 };
3865
3866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3869 {
3870 PyThreadState* __tstate = wxPyBeginAllowThreads();
3871 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3872
3873 wxPyEndAllowThreads(__tstate);
3874 if (PyErr_Occurred()) SWIG_fail;
3875 }
3876 {
3877 resultobj = wxPyMake_wxObject(result);
3878 }
3879 return resultobj;
3880 fail:
3881 return NULL;
3882 }
3883
3884
3885 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3886 PyObject *resultobj;
3887 wxFrame *arg1 = (wxFrame *) 0 ;
3888 wxToolBar *arg2 = (wxToolBar *) 0 ;
3889 PyObject * obj0 = 0 ;
3890 PyObject * obj1 = 0 ;
3891 char *kwnames[] = {
3892 (char *) "self",(char *) "toolbar", NULL
3893 };
3894
3895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3898 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
3899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3900 {
3901 PyThreadState* __tstate = wxPyBeginAllowThreads();
3902 (arg1)->SetToolBar(arg2);
3903
3904 wxPyEndAllowThreads(__tstate);
3905 if (PyErr_Occurred()) SWIG_fail;
3906 }
3907 Py_INCREF(Py_None); resultobj = Py_None;
3908 return resultobj;
3909 fail:
3910 return NULL;
3911 }
3912
3913
3914 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3915 PyObject *resultobj;
3916 wxFrame *arg1 = (wxFrame *) 0 ;
3917 wxString *arg2 = 0 ;
3918 bool arg3 ;
3919 bool temp2 = False ;
3920 PyObject * obj0 = 0 ;
3921 PyObject * obj1 = 0 ;
3922 PyObject * obj2 = 0 ;
3923 char *kwnames[] = {
3924 (char *) "self",(char *) "text",(char *) "show", NULL
3925 };
3926
3927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3930 {
3931 arg2 = wxString_in_helper(obj1);
3932 if (arg2 == NULL) SWIG_fail;
3933 temp2 = True;
3934 }
3935 arg3 = (bool) SWIG_AsBool(obj2);
3936 if (PyErr_Occurred()) SWIG_fail;
3937 {
3938 PyThreadState* __tstate = wxPyBeginAllowThreads();
3939 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3940
3941 wxPyEndAllowThreads(__tstate);
3942 if (PyErr_Occurred()) SWIG_fail;
3943 }
3944 Py_INCREF(Py_None); resultobj = Py_None;
3945 {
3946 if (temp2)
3947 delete arg2;
3948 }
3949 return resultobj;
3950 fail:
3951 {
3952 if (temp2)
3953 delete arg2;
3954 }
3955 return NULL;
3956 }
3957
3958
3959 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3960 PyObject *resultobj;
3961 wxFrame *arg1 = (wxFrame *) 0 ;
3962 wxMenu *arg2 = (wxMenu *) NULL ;
3963 PyObject * obj0 = 0 ;
3964 PyObject * obj1 = 0 ;
3965 char *kwnames[] = {
3966 (char *) "self",(char *) "menu", NULL
3967 };
3968
3969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3972 if (obj1) {
3973 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
3974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3975 }
3976 {
3977 PyThreadState* __tstate = wxPyBeginAllowThreads();
3978 (arg1)->DoMenuUpdates(arg2);
3979
3980 wxPyEndAllowThreads(__tstate);
3981 if (PyErr_Occurred()) SWIG_fail;
3982 }
3983 Py_INCREF(Py_None); resultobj = Py_None;
3984 return resultobj;
3985 fail:
3986 return NULL;
3987 }
3988
3989
3990 static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
3991 PyObject *resultobj;
3992 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
3993 wxVisualAttributes result;
3994 PyObject * obj0 = 0 ;
3995 char *kwnames[] = {
3996 (char *) "variant", NULL
3997 };
3998
3999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4000 if (obj0) {
4001 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4002 if (PyErr_Occurred()) SWIG_fail;
4003 }
4004 {
4005 if (!wxPyCheckForApp()) SWIG_fail;
4006 PyThreadState* __tstate = wxPyBeginAllowThreads();
4007 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
4008
4009 wxPyEndAllowThreads(__tstate);
4010 if (PyErr_Occurred()) SWIG_fail;
4011 }
4012 {
4013 wxVisualAttributes * resultptr;
4014 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4015 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4016 }
4017 return resultobj;
4018 fail:
4019 return NULL;
4020 }
4021
4022
4023 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
4024 PyObject *obj;
4025 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4026 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
4027 Py_INCREF(obj);
4028 return Py_BuildValue((char *)"");
4029 }
4030 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4031 PyObject *resultobj;
4032 wxWindow *arg1 = (wxWindow *) 0 ;
4033 int arg2 ;
4034 wxString *arg3 = 0 ;
4035 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4036 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4037 wxSize const &arg5_defvalue = wxDefaultSize ;
4038 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4039 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
4040 wxString const &arg7_defvalue = wxPyDialogNameStr ;
4041 wxString *arg7 = (wxString *) &arg7_defvalue ;
4042 wxDialog *result;
4043 bool temp3 = False ;
4044 wxPoint temp4 ;
4045 wxSize temp5 ;
4046 bool temp7 = False ;
4047 PyObject * obj0 = 0 ;
4048 PyObject * obj1 = 0 ;
4049 PyObject * obj2 = 0 ;
4050 PyObject * obj3 = 0 ;
4051 PyObject * obj4 = 0 ;
4052 PyObject * obj5 = 0 ;
4053 PyObject * obj6 = 0 ;
4054 char *kwnames[] = {
4055 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4056 };
4057
4058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4061 arg2 = (int const) SWIG_AsInt(obj1);
4062 if (PyErr_Occurred()) SWIG_fail;
4063 {
4064 arg3 = wxString_in_helper(obj2);
4065 if (arg3 == NULL) SWIG_fail;
4066 temp3 = True;
4067 }
4068 if (obj3) {
4069 {
4070 arg4 = &temp4;
4071 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4072 }
4073 }
4074 if (obj4) {
4075 {
4076 arg5 = &temp5;
4077 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4078 }
4079 }
4080 if (obj5) {
4081 arg6 = (long) SWIG_AsLong(obj5);
4082 if (PyErr_Occurred()) SWIG_fail;
4083 }
4084 if (obj6) {
4085 {
4086 arg7 = wxString_in_helper(obj6);
4087 if (arg7 == NULL) SWIG_fail;
4088 temp7 = True;
4089 }
4090 }
4091 {
4092 if (!wxPyCheckForApp()) SWIG_fail;
4093 PyThreadState* __tstate = wxPyBeginAllowThreads();
4094 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4095
4096 wxPyEndAllowThreads(__tstate);
4097 if (PyErr_Occurred()) SWIG_fail;
4098 }
4099 {
4100 resultobj = wxPyMake_wxObject(result);
4101 }
4102 {
4103 if (temp3)
4104 delete arg3;
4105 }
4106 {
4107 if (temp7)
4108 delete arg7;
4109 }
4110 return resultobj;
4111 fail:
4112 {
4113 if (temp3)
4114 delete arg3;
4115 }
4116 {
4117 if (temp7)
4118 delete arg7;
4119 }
4120 return NULL;
4121 }
4122
4123
4124 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4125 PyObject *resultobj;
4126 wxDialog *result;
4127 char *kwnames[] = {
4128 NULL
4129 };
4130
4131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
4132 {
4133 if (!wxPyCheckForApp()) SWIG_fail;
4134 PyThreadState* __tstate = wxPyBeginAllowThreads();
4135 result = (wxDialog *)new wxDialog();
4136
4137 wxPyEndAllowThreads(__tstate);
4138 if (PyErr_Occurred()) SWIG_fail;
4139 }
4140 {
4141 resultobj = wxPyMake_wxObject(result);
4142 }
4143 return resultobj;
4144 fail:
4145 return NULL;
4146 }
4147
4148
4149 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4150 PyObject *resultobj;
4151 wxDialog *arg1 = (wxDialog *) 0 ;
4152 wxWindow *arg2 = (wxWindow *) 0 ;
4153 int arg3 ;
4154 wxString *arg4 = 0 ;
4155 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4156 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4157 wxSize const &arg6_defvalue = wxDefaultSize ;
4158 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4159 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
4160 wxString const &arg8_defvalue = wxPyDialogNameStr ;
4161 wxString *arg8 = (wxString *) &arg8_defvalue ;
4162 bool result;
4163 bool temp4 = False ;
4164 wxPoint temp5 ;
4165 wxSize temp6 ;
4166 bool temp8 = False ;
4167 PyObject * obj0 = 0 ;
4168 PyObject * obj1 = 0 ;
4169 PyObject * obj2 = 0 ;
4170 PyObject * obj3 = 0 ;
4171 PyObject * obj4 = 0 ;
4172 PyObject * obj5 = 0 ;
4173 PyObject * obj6 = 0 ;
4174 PyObject * obj7 = 0 ;
4175 char *kwnames[] = {
4176 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4177 };
4178
4179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4182 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4184 arg3 = (int const) SWIG_AsInt(obj2);
4185 if (PyErr_Occurred()) SWIG_fail;
4186 {
4187 arg4 = wxString_in_helper(obj3);
4188 if (arg4 == NULL) SWIG_fail;
4189 temp4 = True;
4190 }
4191 if (obj4) {
4192 {
4193 arg5 = &temp5;
4194 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4195 }
4196 }
4197 if (obj5) {
4198 {
4199 arg6 = &temp6;
4200 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4201 }
4202 }
4203 if (obj6) {
4204 arg7 = (long) SWIG_AsLong(obj6);
4205 if (PyErr_Occurred()) SWIG_fail;
4206 }
4207 if (obj7) {
4208 {
4209 arg8 = wxString_in_helper(obj7);
4210 if (arg8 == NULL) SWIG_fail;
4211 temp8 = True;
4212 }
4213 }
4214 {
4215 PyThreadState* __tstate = wxPyBeginAllowThreads();
4216 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4217
4218 wxPyEndAllowThreads(__tstate);
4219 if (PyErr_Occurred()) SWIG_fail;
4220 }
4221 {
4222 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4223 }
4224 {
4225 if (temp4)
4226 delete arg4;
4227 }
4228 {
4229 if (temp8)
4230 delete arg8;
4231 }
4232 return resultobj;
4233 fail:
4234 {
4235 if (temp4)
4236 delete arg4;
4237 }
4238 {
4239 if (temp8)
4240 delete arg8;
4241 }
4242 return NULL;
4243 }
4244
4245
4246 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4247 PyObject *resultobj;
4248 wxDialog *arg1 = (wxDialog *) 0 ;
4249 int arg2 ;
4250 PyObject * obj0 = 0 ;
4251 PyObject * obj1 = 0 ;
4252 char *kwnames[] = {
4253 (char *) "self",(char *) "returnCode", NULL
4254 };
4255
4256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4259 arg2 = (int) SWIG_AsInt(obj1);
4260 if (PyErr_Occurred()) SWIG_fail;
4261 {
4262 PyThreadState* __tstate = wxPyBeginAllowThreads();
4263 (arg1)->SetReturnCode(arg2);
4264
4265 wxPyEndAllowThreads(__tstate);
4266 if (PyErr_Occurred()) SWIG_fail;
4267 }
4268 Py_INCREF(Py_None); resultobj = Py_None;
4269 return resultobj;
4270 fail:
4271 return NULL;
4272 }
4273
4274
4275 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4276 PyObject *resultobj;
4277 wxDialog *arg1 = (wxDialog *) 0 ;
4278 int result;
4279 PyObject * obj0 = 0 ;
4280 char *kwnames[] = {
4281 (char *) "self", NULL
4282 };
4283
4284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4287 {
4288 PyThreadState* __tstate = wxPyBeginAllowThreads();
4289 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4290
4291 wxPyEndAllowThreads(__tstate);
4292 if (PyErr_Occurred()) SWIG_fail;
4293 }
4294 resultobj = SWIG_FromInt((int)result);
4295 return resultobj;
4296 fail:
4297 return NULL;
4298 }
4299
4300
4301 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4302 PyObject *resultobj;
4303 wxDialog *arg1 = (wxDialog *) 0 ;
4304 wxString *arg2 = 0 ;
4305 wxSizer *result;
4306 bool temp2 = False ;
4307 PyObject * obj0 = 0 ;
4308 PyObject * obj1 = 0 ;
4309 char *kwnames[] = {
4310 (char *) "self",(char *) "message", NULL
4311 };
4312
4313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4316 {
4317 arg2 = wxString_in_helper(obj1);
4318 if (arg2 == NULL) SWIG_fail;
4319 temp2 = True;
4320 }
4321 {
4322 PyThreadState* __tstate = wxPyBeginAllowThreads();
4323 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4324
4325 wxPyEndAllowThreads(__tstate);
4326 if (PyErr_Occurred()) SWIG_fail;
4327 }
4328 {
4329 resultobj = wxPyMake_wxSizer(result);
4330 }
4331 {
4332 if (temp2)
4333 delete arg2;
4334 }
4335 return resultobj;
4336 fail:
4337 {
4338 if (temp2)
4339 delete arg2;
4340 }
4341 return NULL;
4342 }
4343
4344
4345 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4346 PyObject *resultobj;
4347 wxDialog *arg1 = (wxDialog *) 0 ;
4348 long arg2 ;
4349 wxSizer *result;
4350 PyObject * obj0 = 0 ;
4351 PyObject * obj1 = 0 ;
4352 char *kwnames[] = {
4353 (char *) "self",(char *) "flags", NULL
4354 };
4355
4356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4359 arg2 = (long) SWIG_AsLong(obj1);
4360 if (PyErr_Occurred()) SWIG_fail;
4361 {
4362 PyThreadState* __tstate = wxPyBeginAllowThreads();
4363 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4364
4365 wxPyEndAllowThreads(__tstate);
4366 if (PyErr_Occurred()) SWIG_fail;
4367 }
4368 {
4369 resultobj = wxPyMake_wxSizer(result);
4370 }
4371 return resultobj;
4372 fail:
4373 return NULL;
4374 }
4375
4376
4377 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4378 PyObject *resultobj;
4379 wxDialog *arg1 = (wxDialog *) 0 ;
4380 bool result;
4381 PyObject * obj0 = 0 ;
4382 char *kwnames[] = {
4383 (char *) "self", NULL
4384 };
4385
4386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4389 {
4390 PyThreadState* __tstate = wxPyBeginAllowThreads();
4391 result = (bool)((wxDialog const *)arg1)->IsModal();
4392
4393 wxPyEndAllowThreads(__tstate);
4394 if (PyErr_Occurred()) SWIG_fail;
4395 }
4396 {
4397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4398 }
4399 return resultobj;
4400 fail:
4401 return NULL;
4402 }
4403
4404
4405 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4406 PyObject *resultobj;
4407 wxDialog *arg1 = (wxDialog *) 0 ;
4408 int result;
4409 PyObject * obj0 = 0 ;
4410 char *kwnames[] = {
4411 (char *) "self", NULL
4412 };
4413
4414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4417 {
4418 PyThreadState* __tstate = wxPyBeginAllowThreads();
4419 result = (int)(arg1)->ShowModal();
4420
4421 wxPyEndAllowThreads(__tstate);
4422 if (PyErr_Occurred()) SWIG_fail;
4423 }
4424 resultobj = SWIG_FromInt((int)result);
4425 return resultobj;
4426 fail:
4427 return NULL;
4428 }
4429
4430
4431 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4432 PyObject *resultobj;
4433 wxDialog *arg1 = (wxDialog *) 0 ;
4434 int arg2 ;
4435 PyObject * obj0 = 0 ;
4436 PyObject * obj1 = 0 ;
4437 char *kwnames[] = {
4438 (char *) "self",(char *) "retCode", NULL
4439 };
4440
4441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4444 arg2 = (int) SWIG_AsInt(obj1);
4445 if (PyErr_Occurred()) SWIG_fail;
4446 {
4447 PyThreadState* __tstate = wxPyBeginAllowThreads();
4448 (arg1)->EndModal(arg2);
4449
4450 wxPyEndAllowThreads(__tstate);
4451 if (PyErr_Occurred()) SWIG_fail;
4452 }
4453 Py_INCREF(Py_None); resultobj = Py_None;
4454 return resultobj;
4455 fail:
4456 return NULL;
4457 }
4458
4459
4460 static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4461 PyObject *resultobj;
4462 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4463 wxVisualAttributes result;
4464 PyObject * obj0 = 0 ;
4465 char *kwnames[] = {
4466 (char *) "variant", NULL
4467 };
4468
4469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4470 if (obj0) {
4471 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4472 if (PyErr_Occurred()) SWIG_fail;
4473 }
4474 {
4475 if (!wxPyCheckForApp()) SWIG_fail;
4476 PyThreadState* __tstate = wxPyBeginAllowThreads();
4477 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
4478
4479 wxPyEndAllowThreads(__tstate);
4480 if (PyErr_Occurred()) SWIG_fail;
4481 }
4482 {
4483 wxVisualAttributes * resultptr;
4484 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4485 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4486 }
4487 return resultobj;
4488 fail:
4489 return NULL;
4490 }
4491
4492
4493 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
4494 PyObject *obj;
4495 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4496 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4497 Py_INCREF(obj);
4498 return Py_BuildValue((char *)"");
4499 }
4500 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4501 PyObject *resultobj;
4502 wxWindow *arg1 = (wxWindow *) 0 ;
4503 int arg2 ;
4504 wxString *arg3 = 0 ;
4505 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4506 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4507 wxSize const &arg5_defvalue = wxDefaultSize ;
4508 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4509 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4510 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4511 wxString *arg7 = (wxString *) &arg7_defvalue ;
4512 wxMiniFrame *result;
4513 bool temp3 = False ;
4514 wxPoint temp4 ;
4515 wxSize temp5 ;
4516 bool temp7 = False ;
4517 PyObject * obj0 = 0 ;
4518 PyObject * obj1 = 0 ;
4519 PyObject * obj2 = 0 ;
4520 PyObject * obj3 = 0 ;
4521 PyObject * obj4 = 0 ;
4522 PyObject * obj5 = 0 ;
4523 PyObject * obj6 = 0 ;
4524 char *kwnames[] = {
4525 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4526 };
4527
4528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4531 arg2 = (int const) SWIG_AsInt(obj1);
4532 if (PyErr_Occurred()) SWIG_fail;
4533 {
4534 arg3 = wxString_in_helper(obj2);
4535 if (arg3 == NULL) SWIG_fail;
4536 temp3 = True;
4537 }
4538 if (obj3) {
4539 {
4540 arg4 = &temp4;
4541 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4542 }
4543 }
4544 if (obj4) {
4545 {
4546 arg5 = &temp5;
4547 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4548 }
4549 }
4550 if (obj5) {
4551 arg6 = (long) SWIG_AsLong(obj5);
4552 if (PyErr_Occurred()) SWIG_fail;
4553 }
4554 if (obj6) {
4555 {
4556 arg7 = wxString_in_helper(obj6);
4557 if (arg7 == NULL) SWIG_fail;
4558 temp7 = True;
4559 }
4560 }
4561 {
4562 if (!wxPyCheckForApp()) SWIG_fail;
4563 PyThreadState* __tstate = wxPyBeginAllowThreads();
4564 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4565
4566 wxPyEndAllowThreads(__tstate);
4567 if (PyErr_Occurred()) SWIG_fail;
4568 }
4569 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4570 {
4571 if (temp3)
4572 delete arg3;
4573 }
4574 {
4575 if (temp7)
4576 delete arg7;
4577 }
4578 return resultobj;
4579 fail:
4580 {
4581 if (temp3)
4582 delete arg3;
4583 }
4584 {
4585 if (temp7)
4586 delete arg7;
4587 }
4588 return NULL;
4589 }
4590
4591
4592 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4593 PyObject *resultobj;
4594 wxMiniFrame *result;
4595 char *kwnames[] = {
4596 NULL
4597 };
4598
4599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4600 {
4601 if (!wxPyCheckForApp()) SWIG_fail;
4602 PyThreadState* __tstate = wxPyBeginAllowThreads();
4603 result = (wxMiniFrame *)new wxMiniFrame();
4604
4605 wxPyEndAllowThreads(__tstate);
4606 if (PyErr_Occurred()) SWIG_fail;
4607 }
4608 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4609 return resultobj;
4610 fail:
4611 return NULL;
4612 }
4613
4614
4615 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4616 PyObject *resultobj;
4617 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4618 wxWindow *arg2 = (wxWindow *) 0 ;
4619 int arg3 ;
4620 wxString *arg4 = 0 ;
4621 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4622 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4623 wxSize const &arg6_defvalue = wxDefaultSize ;
4624 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4625 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4626 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4627 wxString *arg8 = (wxString *) &arg8_defvalue ;
4628 bool result;
4629 bool temp4 = False ;
4630 wxPoint temp5 ;
4631 wxSize temp6 ;
4632 bool temp8 = False ;
4633 PyObject * obj0 = 0 ;
4634 PyObject * obj1 = 0 ;
4635 PyObject * obj2 = 0 ;
4636 PyObject * obj3 = 0 ;
4637 PyObject * obj4 = 0 ;
4638 PyObject * obj5 = 0 ;
4639 PyObject * obj6 = 0 ;
4640 PyObject * obj7 = 0 ;
4641 char *kwnames[] = {
4642 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4643 };
4644
4645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4648 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4650 arg3 = (int const) SWIG_AsInt(obj2);
4651 if (PyErr_Occurred()) SWIG_fail;
4652 {
4653 arg4 = wxString_in_helper(obj3);
4654 if (arg4 == NULL) SWIG_fail;
4655 temp4 = True;
4656 }
4657 if (obj4) {
4658 {
4659 arg5 = &temp5;
4660 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4661 }
4662 }
4663 if (obj5) {
4664 {
4665 arg6 = &temp6;
4666 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4667 }
4668 }
4669 if (obj6) {
4670 arg7 = (long) SWIG_AsLong(obj6);
4671 if (PyErr_Occurred()) SWIG_fail;
4672 }
4673 if (obj7) {
4674 {
4675 arg8 = wxString_in_helper(obj7);
4676 if (arg8 == NULL) SWIG_fail;
4677 temp8 = True;
4678 }
4679 }
4680 {
4681 PyThreadState* __tstate = wxPyBeginAllowThreads();
4682 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4683
4684 wxPyEndAllowThreads(__tstate);
4685 if (PyErr_Occurred()) SWIG_fail;
4686 }
4687 {
4688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4689 }
4690 {
4691 if (temp4)
4692 delete arg4;
4693 }
4694 {
4695 if (temp8)
4696 delete arg8;
4697 }
4698 return resultobj;
4699 fail:
4700 {
4701 if (temp4)
4702 delete arg4;
4703 }
4704 {
4705 if (temp8)
4706 delete arg8;
4707 }
4708 return NULL;
4709 }
4710
4711
4712 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4713 PyObject *obj;
4714 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4715 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4716 Py_INCREF(obj);
4717 return Py_BuildValue((char *)"");
4718 }
4719 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4720 PyObject *resultobj;
4721 wxBitmap *arg1 = 0 ;
4722 wxWindow *arg2 = (wxWindow *) 0 ;
4723 int arg3 ;
4724 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4725 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4726 wxSize const &arg5_defvalue = wxDefaultSize ;
4727 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4728 long arg6 = (long) wxNO_BORDER ;
4729 wxSplashScreenWindow *result;
4730 wxPoint temp4 ;
4731 wxSize temp5 ;
4732 PyObject * obj0 = 0 ;
4733 PyObject * obj1 = 0 ;
4734 PyObject * obj2 = 0 ;
4735 PyObject * obj3 = 0 ;
4736 PyObject * obj4 = 0 ;
4737 PyObject * obj5 = 0 ;
4738 char *kwnames[] = {
4739 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4740 };
4741
4742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4744 SWIG_POINTER_EXCEPTION | 0)) == -1)
4745 SWIG_fail;
4746 if (arg1 == NULL) {
4747 PyErr_SetString(PyExc_TypeError,"null reference");
4748 SWIG_fail;
4749 }
4750 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4752 arg3 = (int) SWIG_AsInt(obj2);
4753 if (PyErr_Occurred()) SWIG_fail;
4754 if (obj3) {
4755 {
4756 arg4 = &temp4;
4757 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4758 }
4759 }
4760 if (obj4) {
4761 {
4762 arg5 = &temp5;
4763 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4764 }
4765 }
4766 if (obj5) {
4767 arg6 = (long) SWIG_AsLong(obj5);
4768 if (PyErr_Occurred()) SWIG_fail;
4769 }
4770 {
4771 if (!wxPyCheckForApp()) SWIG_fail;
4772 PyThreadState* __tstate = wxPyBeginAllowThreads();
4773 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4774
4775 wxPyEndAllowThreads(__tstate);
4776 if (PyErr_Occurred()) SWIG_fail;
4777 }
4778 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
4779 return resultobj;
4780 fail:
4781 return NULL;
4782 }
4783
4784
4785 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4786 PyObject *resultobj;
4787 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4788 wxBitmap *arg2 = 0 ;
4789 PyObject * obj0 = 0 ;
4790 PyObject * obj1 = 0 ;
4791 char *kwnames[] = {
4792 (char *) "self",(char *) "bitmap", NULL
4793 };
4794
4795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4798 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4799 SWIG_POINTER_EXCEPTION | 0)) == -1)
4800 SWIG_fail;
4801 if (arg2 == NULL) {
4802 PyErr_SetString(PyExc_TypeError,"null reference");
4803 SWIG_fail;
4804 }
4805 {
4806 PyThreadState* __tstate = wxPyBeginAllowThreads();
4807 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4808
4809 wxPyEndAllowThreads(__tstate);
4810 if (PyErr_Occurred()) SWIG_fail;
4811 }
4812 Py_INCREF(Py_None); resultobj = Py_None;
4813 return resultobj;
4814 fail:
4815 return NULL;
4816 }
4817
4818
4819 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4820 PyObject *resultobj;
4821 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4822 wxBitmap *result;
4823 PyObject * obj0 = 0 ;
4824 char *kwnames[] = {
4825 (char *) "self", NULL
4826 };
4827
4828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4831 {
4832 PyThreadState* __tstate = wxPyBeginAllowThreads();
4833 {
4834 wxBitmap &_result_ref = (arg1)->GetBitmap();
4835 result = (wxBitmap *) &_result_ref;
4836 }
4837
4838 wxPyEndAllowThreads(__tstate);
4839 if (PyErr_Occurred()) SWIG_fail;
4840 }
4841 {
4842 wxBitmap* resultptr = new wxBitmap(*result);
4843 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
4844 }
4845 return resultobj;
4846 fail:
4847 return NULL;
4848 }
4849
4850
4851 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4852 PyObject *obj;
4853 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4854 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4855 Py_INCREF(obj);
4856 return Py_BuildValue((char *)"");
4857 }
4858 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4859 PyObject *resultobj;
4860 wxBitmap *arg1 = 0 ;
4861 long arg2 ;
4862 int arg3 ;
4863 wxWindow *arg4 = (wxWindow *) 0 ;
4864 int arg5 ;
4865 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4866 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4867 wxSize const &arg7_defvalue = wxDefaultSize ;
4868 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4869 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4870 wxSplashScreen *result;
4871 wxPoint temp6 ;
4872 wxSize temp7 ;
4873 PyObject * obj0 = 0 ;
4874 PyObject * obj1 = 0 ;
4875 PyObject * obj2 = 0 ;
4876 PyObject * obj3 = 0 ;
4877 PyObject * obj4 = 0 ;
4878 PyObject * obj5 = 0 ;
4879 PyObject * obj6 = 0 ;
4880 PyObject * obj7 = 0 ;
4881 char *kwnames[] = {
4882 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4883 };
4884
4885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4887 SWIG_POINTER_EXCEPTION | 0)) == -1)
4888 SWIG_fail;
4889 if (arg1 == NULL) {
4890 PyErr_SetString(PyExc_TypeError,"null reference");
4891 SWIG_fail;
4892 }
4893 arg2 = (long) SWIG_AsLong(obj1);
4894 if (PyErr_Occurred()) SWIG_fail;
4895 arg3 = (int) SWIG_AsInt(obj2);
4896 if (PyErr_Occurred()) SWIG_fail;
4897 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
4898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4899 arg5 = (int) SWIG_AsInt(obj4);
4900 if (PyErr_Occurred()) SWIG_fail;
4901 if (obj5) {
4902 {
4903 arg6 = &temp6;
4904 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4905 }
4906 }
4907 if (obj6) {
4908 {
4909 arg7 = &temp7;
4910 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4911 }
4912 }
4913 if (obj7) {
4914 arg8 = (long) SWIG_AsLong(obj7);
4915 if (PyErr_Occurred()) SWIG_fail;
4916 }
4917 {
4918 if (!wxPyCheckForApp()) SWIG_fail;
4919 PyThreadState* __tstate = wxPyBeginAllowThreads();
4920 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4921
4922 wxPyEndAllowThreads(__tstate);
4923 if (PyErr_Occurred()) SWIG_fail;
4924 }
4925 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
4926 return resultobj;
4927 fail:
4928 return NULL;
4929 }
4930
4931
4932 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4933 PyObject *resultobj;
4934 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4935 long result;
4936 PyObject * obj0 = 0 ;
4937 char *kwnames[] = {
4938 (char *) "self", NULL
4939 };
4940
4941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4944 {
4945 PyThreadState* __tstate = wxPyBeginAllowThreads();
4946 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4947
4948 wxPyEndAllowThreads(__tstate);
4949 if (PyErr_Occurred()) SWIG_fail;
4950 }
4951 resultobj = SWIG_FromLong((long)result);
4952 return resultobj;
4953 fail:
4954 return NULL;
4955 }
4956
4957
4958 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4959 PyObject *resultobj;
4960 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4961 wxSplashScreenWindow *result;
4962 PyObject * obj0 = 0 ;
4963 char *kwnames[] = {
4964 (char *) "self", NULL
4965 };
4966
4967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4970 {
4971 PyThreadState* __tstate = wxPyBeginAllowThreads();
4972 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4973
4974 wxPyEndAllowThreads(__tstate);
4975 if (PyErr_Occurred()) SWIG_fail;
4976 }
4977 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
4978 return resultobj;
4979 fail:
4980 return NULL;
4981 }
4982
4983
4984 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4985 PyObject *resultobj;
4986 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4987 int result;
4988 PyObject * obj0 = 0 ;
4989 char *kwnames[] = {
4990 (char *) "self", NULL
4991 };
4992
4993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4996 {
4997 PyThreadState* __tstate = wxPyBeginAllowThreads();
4998 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4999
5000 wxPyEndAllowThreads(__tstate);
5001 if (PyErr_Occurred()) SWIG_fail;
5002 }
5003 resultobj = SWIG_FromInt((int)result);
5004 return resultobj;
5005 fail:
5006 return NULL;
5007 }
5008
5009
5010 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
5011 PyObject *obj;
5012 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5013 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
5014 Py_INCREF(obj);
5015 return Py_BuildValue((char *)"");
5016 }
5017 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
5018 PyObject *resultobj;
5019 wxWindow *arg1 = (wxWindow *) 0 ;
5020 int arg2 = (int) -1 ;
5021 long arg3 = (long) wxST_SIZEGRIP ;
5022 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
5023 wxString *arg4 = (wxString *) &arg4_defvalue ;
5024 wxStatusBar *result;
5025 bool temp4 = False ;
5026 PyObject * obj0 = 0 ;
5027 PyObject * obj1 = 0 ;
5028 PyObject * obj2 = 0 ;
5029 PyObject * obj3 = 0 ;
5030 char *kwnames[] = {
5031 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5032 };
5033
5034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5037 if (obj1) {
5038 arg2 = (int) SWIG_AsInt(obj1);
5039 if (PyErr_Occurred()) SWIG_fail;
5040 }
5041 if (obj2) {
5042 arg3 = (long) SWIG_AsLong(obj2);
5043 if (PyErr_Occurred()) SWIG_fail;
5044 }
5045 if (obj3) {
5046 {
5047 arg4 = wxString_in_helper(obj3);
5048 if (arg4 == NULL) SWIG_fail;
5049 temp4 = True;
5050 }
5051 }
5052 {
5053 if (!wxPyCheckForApp()) SWIG_fail;
5054 PyThreadState* __tstate = wxPyBeginAllowThreads();
5055 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
5056
5057 wxPyEndAllowThreads(__tstate);
5058 if (PyErr_Occurred()) SWIG_fail;
5059 }
5060 {
5061 resultobj = wxPyMake_wxObject(result);
5062 }
5063 {
5064 if (temp4)
5065 delete arg4;
5066 }
5067 return resultobj;
5068 fail:
5069 {
5070 if (temp4)
5071 delete arg4;
5072 }
5073 return NULL;
5074 }
5075
5076
5077 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
5078 PyObject *resultobj;
5079 wxStatusBar *result;
5080 char *kwnames[] = {
5081 NULL
5082 };
5083
5084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
5085 {
5086 if (!wxPyCheckForApp()) SWIG_fail;
5087 PyThreadState* __tstate = wxPyBeginAllowThreads();
5088 result = (wxStatusBar *)new wxStatusBar();
5089
5090 wxPyEndAllowThreads(__tstate);
5091 if (PyErr_Occurred()) SWIG_fail;
5092 }
5093 {
5094 resultobj = wxPyMake_wxObject(result);
5095 }
5096 return resultobj;
5097 fail:
5098 return NULL;
5099 }
5100
5101
5102 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5103 PyObject *resultobj;
5104 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5105 wxWindow *arg2 = (wxWindow *) 0 ;
5106 int arg3 ;
5107 long arg4 = (long) wxST_SIZEGRIP ;
5108 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5109 wxString *arg5 = (wxString *) &arg5_defvalue ;
5110 bool result;
5111 bool temp5 = False ;
5112 PyObject * obj0 = 0 ;
5113 PyObject * obj1 = 0 ;
5114 PyObject * obj2 = 0 ;
5115 PyObject * obj3 = 0 ;
5116 PyObject * obj4 = 0 ;
5117 char *kwnames[] = {
5118 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5119 };
5120
5121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5124 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5126 arg3 = (int) SWIG_AsInt(obj2);
5127 if (PyErr_Occurred()) SWIG_fail;
5128 if (obj3) {
5129 arg4 = (long) SWIG_AsLong(obj3);
5130 if (PyErr_Occurred()) SWIG_fail;
5131 }
5132 if (obj4) {
5133 {
5134 arg5 = wxString_in_helper(obj4);
5135 if (arg5 == NULL) SWIG_fail;
5136 temp5 = True;
5137 }
5138 }
5139 {
5140 PyThreadState* __tstate = wxPyBeginAllowThreads();
5141 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
5142
5143 wxPyEndAllowThreads(__tstate);
5144 if (PyErr_Occurred()) SWIG_fail;
5145 }
5146 {
5147 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5148 }
5149 {
5150 if (temp5)
5151 delete arg5;
5152 }
5153 return resultobj;
5154 fail:
5155 {
5156 if (temp5)
5157 delete arg5;
5158 }
5159 return NULL;
5160 }
5161
5162
5163 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5164 PyObject *resultobj;
5165 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5166 int arg2 = (int) 1 ;
5167 PyObject * obj0 = 0 ;
5168 PyObject * obj1 = 0 ;
5169 char *kwnames[] = {
5170 (char *) "self",(char *) "number", NULL
5171 };
5172
5173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
5174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5176 if (obj1) {
5177 arg2 = (int) SWIG_AsInt(obj1);
5178 if (PyErr_Occurred()) SWIG_fail;
5179 }
5180 {
5181 PyThreadState* __tstate = wxPyBeginAllowThreads();
5182 (arg1)->SetFieldsCount(arg2);
5183
5184 wxPyEndAllowThreads(__tstate);
5185 if (PyErr_Occurred()) SWIG_fail;
5186 }
5187 Py_INCREF(Py_None); resultobj = Py_None;
5188 return resultobj;
5189 fail:
5190 return NULL;
5191 }
5192
5193
5194 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5195 PyObject *resultobj;
5196 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5197 int result;
5198 PyObject * obj0 = 0 ;
5199 char *kwnames[] = {
5200 (char *) "self", NULL
5201 };
5202
5203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
5204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5206 {
5207 PyThreadState* __tstate = wxPyBeginAllowThreads();
5208 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5209
5210 wxPyEndAllowThreads(__tstate);
5211 if (PyErr_Occurred()) SWIG_fail;
5212 }
5213 resultobj = SWIG_FromInt((int)result);
5214 return resultobj;
5215 fail:
5216 return NULL;
5217 }
5218
5219
5220 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5221 PyObject *resultobj;
5222 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5223 wxString *arg2 = 0 ;
5224 int arg3 = (int) 0 ;
5225 bool temp2 = False ;
5226 PyObject * obj0 = 0 ;
5227 PyObject * obj1 = 0 ;
5228 PyObject * obj2 = 0 ;
5229 char *kwnames[] = {
5230 (char *) "self",(char *) "text",(char *) "number", NULL
5231 };
5232
5233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5236 {
5237 arg2 = wxString_in_helper(obj1);
5238 if (arg2 == NULL) SWIG_fail;
5239 temp2 = True;
5240 }
5241 if (obj2) {
5242 arg3 = (int) SWIG_AsInt(obj2);
5243 if (PyErr_Occurred()) SWIG_fail;
5244 }
5245 {
5246 PyThreadState* __tstate = wxPyBeginAllowThreads();
5247 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5248
5249 wxPyEndAllowThreads(__tstate);
5250 if (PyErr_Occurred()) SWIG_fail;
5251 }
5252 Py_INCREF(Py_None); resultobj = Py_None;
5253 {
5254 if (temp2)
5255 delete arg2;
5256 }
5257 return resultobj;
5258 fail:
5259 {
5260 if (temp2)
5261 delete arg2;
5262 }
5263 return NULL;
5264 }
5265
5266
5267 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5268 PyObject *resultobj;
5269 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5270 int arg2 = (int) 0 ;
5271 wxString result;
5272 PyObject * obj0 = 0 ;
5273 PyObject * obj1 = 0 ;
5274 char *kwnames[] = {
5275 (char *) "self",(char *) "number", NULL
5276 };
5277
5278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5281 if (obj1) {
5282 arg2 = (int) SWIG_AsInt(obj1);
5283 if (PyErr_Occurred()) SWIG_fail;
5284 }
5285 {
5286 PyThreadState* __tstate = wxPyBeginAllowThreads();
5287 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5288
5289 wxPyEndAllowThreads(__tstate);
5290 if (PyErr_Occurred()) SWIG_fail;
5291 }
5292 {
5293 #if wxUSE_UNICODE
5294 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5295 #else
5296 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5297 #endif
5298 }
5299 return resultobj;
5300 fail:
5301 return NULL;
5302 }
5303
5304
5305 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5306 PyObject *resultobj;
5307 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5308 wxString *arg2 = 0 ;
5309 int arg3 = (int) 0 ;
5310 bool temp2 = False ;
5311 PyObject * obj0 = 0 ;
5312 PyObject * obj1 = 0 ;
5313 PyObject * obj2 = 0 ;
5314 char *kwnames[] = {
5315 (char *) "self",(char *) "text",(char *) "number", NULL
5316 };
5317
5318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5321 {
5322 arg2 = wxString_in_helper(obj1);
5323 if (arg2 == NULL) SWIG_fail;
5324 temp2 = True;
5325 }
5326 if (obj2) {
5327 arg3 = (int) SWIG_AsInt(obj2);
5328 if (PyErr_Occurred()) SWIG_fail;
5329 }
5330 {
5331 PyThreadState* __tstate = wxPyBeginAllowThreads();
5332 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5333
5334 wxPyEndAllowThreads(__tstate);
5335 if (PyErr_Occurred()) SWIG_fail;
5336 }
5337 Py_INCREF(Py_None); resultobj = Py_None;
5338 {
5339 if (temp2)
5340 delete arg2;
5341 }
5342 return resultobj;
5343 fail:
5344 {
5345 if (temp2)
5346 delete arg2;
5347 }
5348 return NULL;
5349 }
5350
5351
5352 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5353 PyObject *resultobj;
5354 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5355 int arg2 = (int) 0 ;
5356 PyObject * obj0 = 0 ;
5357 PyObject * obj1 = 0 ;
5358 char *kwnames[] = {
5359 (char *) "self",(char *) "number", NULL
5360 };
5361
5362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5365 if (obj1) {
5366 arg2 = (int) SWIG_AsInt(obj1);
5367 if (PyErr_Occurred()) SWIG_fail;
5368 }
5369 {
5370 PyThreadState* __tstate = wxPyBeginAllowThreads();
5371 (arg1)->PopStatusText(arg2);
5372
5373 wxPyEndAllowThreads(__tstate);
5374 if (PyErr_Occurred()) SWIG_fail;
5375 }
5376 Py_INCREF(Py_None); resultobj = Py_None;
5377 return resultobj;
5378 fail:
5379 return NULL;
5380 }
5381
5382
5383 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
5384 PyObject *resultobj;
5385 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5386 int arg2 ;
5387 int *arg3 = (int *) 0 ;
5388 PyObject * obj0 = 0 ;
5389 PyObject * obj1 = 0 ;
5390 char *kwnames[] = {
5391 (char *) "self",(char *) "widths", NULL
5392 };
5393
5394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5397 {
5398 arg2 = PyList_Size(obj1);
5399 arg3 = int_LIST_helper(obj1);
5400 if (arg3 == NULL) SWIG_fail;
5401 }
5402 {
5403 PyThreadState* __tstate = wxPyBeginAllowThreads();
5404 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5405
5406 wxPyEndAllowThreads(__tstate);
5407 if (PyErr_Occurred()) SWIG_fail;
5408 }
5409 Py_INCREF(Py_None); resultobj = Py_None;
5410 {
5411 if (arg3) delete [] arg3;
5412 }
5413 return resultobj;
5414 fail:
5415 {
5416 if (arg3) delete [] arg3;
5417 }
5418 return NULL;
5419 }
5420
5421
5422 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5423 PyObject *resultobj;
5424 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5425 int arg2 ;
5426 wxRect result;
5427 PyObject * obj0 = 0 ;
5428 PyObject * obj1 = 0 ;
5429 char *kwnames[] = {
5430 (char *) "self",(char *) "i", NULL
5431 };
5432
5433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5436 arg2 = (int) SWIG_AsInt(obj1);
5437 if (PyErr_Occurred()) SWIG_fail;
5438 {
5439 PyThreadState* __tstate = wxPyBeginAllowThreads();
5440 result = wxStatusBar_GetFieldRect(arg1,arg2);
5441
5442 wxPyEndAllowThreads(__tstate);
5443 if (PyErr_Occurred()) SWIG_fail;
5444 }
5445 {
5446 wxRect * resultptr;
5447 resultptr = new wxRect((wxRect &) result);
5448 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5449 }
5450 return resultobj;
5451 fail:
5452 return NULL;
5453 }
5454
5455
5456 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5457 PyObject *resultobj;
5458 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5459 int arg2 ;
5460 PyObject * obj0 = 0 ;
5461 PyObject * obj1 = 0 ;
5462 char *kwnames[] = {
5463 (char *) "self",(char *) "height", NULL
5464 };
5465
5466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5469 arg2 = (int) SWIG_AsInt(obj1);
5470 if (PyErr_Occurred()) SWIG_fail;
5471 {
5472 PyThreadState* __tstate = wxPyBeginAllowThreads();
5473 (arg1)->SetMinHeight(arg2);
5474
5475 wxPyEndAllowThreads(__tstate);
5476 if (PyErr_Occurred()) SWIG_fail;
5477 }
5478 Py_INCREF(Py_None); resultobj = Py_None;
5479 return resultobj;
5480 fail:
5481 return NULL;
5482 }
5483
5484
5485 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
5486 PyObject *resultobj;
5487 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5488 int result;
5489 PyObject * obj0 = 0 ;
5490 char *kwnames[] = {
5491 (char *) "self", NULL
5492 };
5493
5494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5497 {
5498 PyThreadState* __tstate = wxPyBeginAllowThreads();
5499 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5500
5501 wxPyEndAllowThreads(__tstate);
5502 if (PyErr_Occurred()) SWIG_fail;
5503 }
5504 resultobj = SWIG_FromInt((int)result);
5505 return resultobj;
5506 fail:
5507 return NULL;
5508 }
5509
5510
5511 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
5512 PyObject *resultobj;
5513 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5514 int result;
5515 PyObject * obj0 = 0 ;
5516 char *kwnames[] = {
5517 (char *) "self", NULL
5518 };
5519
5520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5523 {
5524 PyThreadState* __tstate = wxPyBeginAllowThreads();
5525 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5526
5527 wxPyEndAllowThreads(__tstate);
5528 if (PyErr_Occurred()) SWIG_fail;
5529 }
5530 resultobj = SWIG_FromInt((int)result);
5531 return resultobj;
5532 fail:
5533 return NULL;
5534 }
5535
5536
5537 static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5538 PyObject *resultobj;
5539 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5540 wxVisualAttributes result;
5541 PyObject * obj0 = 0 ;
5542 char *kwnames[] = {
5543 (char *) "variant", NULL
5544 };
5545
5546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5547 if (obj0) {
5548 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
5549 if (PyErr_Occurred()) SWIG_fail;
5550 }
5551 {
5552 if (!wxPyCheckForApp()) SWIG_fail;
5553 PyThreadState* __tstate = wxPyBeginAllowThreads();
5554 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
5555
5556 wxPyEndAllowThreads(__tstate);
5557 if (PyErr_Occurred()) SWIG_fail;
5558 }
5559 {
5560 wxVisualAttributes * resultptr;
5561 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5562 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5563 }
5564 return resultobj;
5565 fail:
5566 return NULL;
5567 }
5568
5569
5570 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
5571 PyObject *obj;
5572 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5573 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5574 Py_INCREF(obj);
5575 return Py_BuildValue((char *)"");
5576 }
5577 static int _wrap_SplitterNameStr_set(PyObject *_val) {
5578 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5579 return 1;
5580 }
5581
5582
5583 static PyObject *_wrap_SplitterNameStr_get() {
5584 PyObject *pyobj;
5585
5586 {
5587 #if wxUSE_UNICODE
5588 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5589 #else
5590 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5591 #endif
5592 }
5593 return pyobj;
5594 }
5595
5596
5597 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5598 PyObject *resultobj;
5599 wxWindow *arg1 = (wxWindow *) 0 ;
5600 int arg2 = (int) -1 ;
5601 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5602 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5603 wxSize const &arg4_defvalue = wxDefaultSize ;
5604 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5605 long arg5 = (long) wxSP_3D ;
5606 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5607 wxString *arg6 = (wxString *) &arg6_defvalue ;
5608 wxSplitterWindow *result;
5609 wxPoint temp3 ;
5610 wxSize temp4 ;
5611 bool temp6 = False ;
5612 PyObject * obj0 = 0 ;
5613 PyObject * obj1 = 0 ;
5614 PyObject * obj2 = 0 ;
5615 PyObject * obj3 = 0 ;
5616 PyObject * obj4 = 0 ;
5617 PyObject * obj5 = 0 ;
5618 char *kwnames[] = {
5619 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5620 };
5621
5622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5625 if (obj1) {
5626 arg2 = (int) SWIG_AsInt(obj1);
5627 if (PyErr_Occurred()) SWIG_fail;
5628 }
5629 if (obj2) {
5630 {
5631 arg3 = &temp3;
5632 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5633 }
5634 }
5635 if (obj3) {
5636 {
5637 arg4 = &temp4;
5638 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5639 }
5640 }
5641 if (obj4) {
5642 arg5 = (long) SWIG_AsLong(obj4);
5643 if (PyErr_Occurred()) SWIG_fail;
5644 }
5645 if (obj5) {
5646 {
5647 arg6 = wxString_in_helper(obj5);
5648 if (arg6 == NULL) SWIG_fail;
5649 temp6 = True;
5650 }
5651 }
5652 {
5653 if (!wxPyCheckForApp()) SWIG_fail;
5654 PyThreadState* __tstate = wxPyBeginAllowThreads();
5655 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5656
5657 wxPyEndAllowThreads(__tstate);
5658 if (PyErr_Occurred()) SWIG_fail;
5659 }
5660 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5661 {
5662 if (temp6)
5663 delete arg6;
5664 }
5665 return resultobj;
5666 fail:
5667 {
5668 if (temp6)
5669 delete arg6;
5670 }
5671 return NULL;
5672 }
5673
5674
5675 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5676 PyObject *resultobj;
5677 wxSplitterWindow *result;
5678 char *kwnames[] = {
5679 NULL
5680 };
5681
5682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5683 {
5684 if (!wxPyCheckForApp()) SWIG_fail;
5685 PyThreadState* __tstate = wxPyBeginAllowThreads();
5686 result = (wxSplitterWindow *)new wxSplitterWindow();
5687
5688 wxPyEndAllowThreads(__tstate);
5689 if (PyErr_Occurred()) SWIG_fail;
5690 }
5691 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5692 return resultobj;
5693 fail:
5694 return NULL;
5695 }
5696
5697
5698 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5699 PyObject *resultobj;
5700 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5701 wxWindow *arg2 = (wxWindow *) 0 ;
5702 int arg3 = (int) -1 ;
5703 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5704 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5705 wxSize const &arg5_defvalue = wxDefaultSize ;
5706 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5707 long arg6 = (long) wxSP_3D ;
5708 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5709 wxString *arg7 = (wxString *) &arg7_defvalue ;
5710 bool result;
5711 wxPoint temp4 ;
5712 wxSize temp5 ;
5713 bool temp7 = False ;
5714 PyObject * obj0 = 0 ;
5715 PyObject * obj1 = 0 ;
5716 PyObject * obj2 = 0 ;
5717 PyObject * obj3 = 0 ;
5718 PyObject * obj4 = 0 ;
5719 PyObject * obj5 = 0 ;
5720 PyObject * obj6 = 0 ;
5721 char *kwnames[] = {
5722 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5723 };
5724
5725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5728 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5730 if (obj2) {
5731 arg3 = (int) SWIG_AsInt(obj2);
5732 if (PyErr_Occurred()) SWIG_fail;
5733 }
5734 if (obj3) {
5735 {
5736 arg4 = &temp4;
5737 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5738 }
5739 }
5740 if (obj4) {
5741 {
5742 arg5 = &temp5;
5743 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5744 }
5745 }
5746 if (obj5) {
5747 arg6 = (long) SWIG_AsLong(obj5);
5748 if (PyErr_Occurred()) SWIG_fail;
5749 }
5750 if (obj6) {
5751 {
5752 arg7 = wxString_in_helper(obj6);
5753 if (arg7 == NULL) SWIG_fail;
5754 temp7 = True;
5755 }
5756 }
5757 {
5758 PyThreadState* __tstate = wxPyBeginAllowThreads();
5759 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5760
5761 wxPyEndAllowThreads(__tstate);
5762 if (PyErr_Occurred()) SWIG_fail;
5763 }
5764 {
5765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5766 }
5767 {
5768 if (temp7)
5769 delete arg7;
5770 }
5771 return resultobj;
5772 fail:
5773 {
5774 if (temp7)
5775 delete arg7;
5776 }
5777 return NULL;
5778 }
5779
5780
5781 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5782 PyObject *resultobj;
5783 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5784 wxWindow *result;
5785 PyObject * obj0 = 0 ;
5786 char *kwnames[] = {
5787 (char *) "self", NULL
5788 };
5789
5790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5793 {
5794 PyThreadState* __tstate = wxPyBeginAllowThreads();
5795 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5796
5797 wxPyEndAllowThreads(__tstate);
5798 if (PyErr_Occurred()) SWIG_fail;
5799 }
5800 {
5801 resultobj = wxPyMake_wxObject(result);
5802 }
5803 return resultobj;
5804 fail:
5805 return NULL;
5806 }
5807
5808
5809 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5810 PyObject *resultobj;
5811 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5812 wxWindow *result;
5813 PyObject * obj0 = 0 ;
5814 char *kwnames[] = {
5815 (char *) "self", NULL
5816 };
5817
5818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5821 {
5822 PyThreadState* __tstate = wxPyBeginAllowThreads();
5823 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5824
5825 wxPyEndAllowThreads(__tstate);
5826 if (PyErr_Occurred()) SWIG_fail;
5827 }
5828 {
5829 resultobj = wxPyMake_wxObject(result);
5830 }
5831 return resultobj;
5832 fail:
5833 return NULL;
5834 }
5835
5836
5837 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5838 PyObject *resultobj;
5839 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5840 int arg2 ;
5841 PyObject * obj0 = 0 ;
5842 PyObject * obj1 = 0 ;
5843 char *kwnames[] = {
5844 (char *) "self",(char *) "mode", NULL
5845 };
5846
5847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
5848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5850 arg2 = (int) SWIG_AsInt(obj1);
5851 if (PyErr_Occurred()) SWIG_fail;
5852 {
5853 PyThreadState* __tstate = wxPyBeginAllowThreads();
5854 (arg1)->SetSplitMode(arg2);
5855
5856 wxPyEndAllowThreads(__tstate);
5857 if (PyErr_Occurred()) SWIG_fail;
5858 }
5859 Py_INCREF(Py_None); resultobj = Py_None;
5860 return resultobj;
5861 fail:
5862 return NULL;
5863 }
5864
5865
5866 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5867 PyObject *resultobj;
5868 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5869 int result;
5870 PyObject * obj0 = 0 ;
5871 char *kwnames[] = {
5872 (char *) "self", NULL
5873 };
5874
5875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5878 {
5879 PyThreadState* __tstate = wxPyBeginAllowThreads();
5880 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5881
5882 wxPyEndAllowThreads(__tstate);
5883 if (PyErr_Occurred()) SWIG_fail;
5884 }
5885 resultobj = SWIG_FromInt((int)result);
5886 return resultobj;
5887 fail:
5888 return NULL;
5889 }
5890
5891
5892 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5893 PyObject *resultobj;
5894 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5895 wxWindow *arg2 = (wxWindow *) 0 ;
5896 PyObject * obj0 = 0 ;
5897 PyObject * obj1 = 0 ;
5898 char *kwnames[] = {
5899 (char *) "self",(char *) "window", NULL
5900 };
5901
5902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5905 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5907 {
5908 PyThreadState* __tstate = wxPyBeginAllowThreads();
5909 (arg1)->Initialize(arg2);
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_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
5922 PyObject *resultobj;
5923 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5924 wxWindow *arg2 = (wxWindow *) 0 ;
5925 wxWindow *arg3 = (wxWindow *) 0 ;
5926 int arg4 = (int) 0 ;
5927 bool result;
5928 PyObject * obj0 = 0 ;
5929 PyObject * obj1 = 0 ;
5930 PyObject * obj2 = 0 ;
5931 PyObject * obj3 = 0 ;
5932 char *kwnames[] = {
5933 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5934 };
5935
5936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5939 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5941 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5943 if (obj3) {
5944 arg4 = (int) SWIG_AsInt(obj3);
5945 if (PyErr_Occurred()) SWIG_fail;
5946 }
5947 {
5948 PyThreadState* __tstate = wxPyBeginAllowThreads();
5949 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5950
5951 wxPyEndAllowThreads(__tstate);
5952 if (PyErr_Occurred()) SWIG_fail;
5953 }
5954 {
5955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5956 }
5957 return resultobj;
5958 fail:
5959 return NULL;
5960 }
5961
5962
5963 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5964 PyObject *resultobj;
5965 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5966 wxWindow *arg2 = (wxWindow *) 0 ;
5967 wxWindow *arg3 = (wxWindow *) 0 ;
5968 int arg4 = (int) 0 ;
5969 bool result;
5970 PyObject * obj0 = 0 ;
5971 PyObject * obj1 = 0 ;
5972 PyObject * obj2 = 0 ;
5973 PyObject * obj3 = 0 ;
5974 char *kwnames[] = {
5975 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5976 };
5977
5978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5981 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5983 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5985 if (obj3) {
5986 arg4 = (int) SWIG_AsInt(obj3);
5987 if (PyErr_Occurred()) SWIG_fail;
5988 }
5989 {
5990 PyThreadState* __tstate = wxPyBeginAllowThreads();
5991 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5992
5993 wxPyEndAllowThreads(__tstate);
5994 if (PyErr_Occurred()) SWIG_fail;
5995 }
5996 {
5997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5998 }
5999 return resultobj;
6000 fail:
6001 return NULL;
6002 }
6003
6004
6005 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
6006 PyObject *resultobj;
6007 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6008 wxWindow *arg2 = (wxWindow *) NULL ;
6009 bool result;
6010 PyObject * obj0 = 0 ;
6011 PyObject * obj1 = 0 ;
6012 char *kwnames[] = {
6013 (char *) "self",(char *) "toRemove", NULL
6014 };
6015
6016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
6017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6019 if (obj1) {
6020 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6022 }
6023 {
6024 PyThreadState* __tstate = wxPyBeginAllowThreads();
6025 result = (bool)(arg1)->Unsplit(arg2);
6026
6027 wxPyEndAllowThreads(__tstate);
6028 if (PyErr_Occurred()) SWIG_fail;
6029 }
6030 {
6031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6032 }
6033 return resultobj;
6034 fail:
6035 return NULL;
6036 }
6037
6038
6039 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6040 PyObject *resultobj;
6041 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6042 wxWindow *arg2 = (wxWindow *) 0 ;
6043 wxWindow *arg3 = (wxWindow *) 0 ;
6044 bool result;
6045 PyObject * obj0 = 0 ;
6046 PyObject * obj1 = 0 ;
6047 PyObject * obj2 = 0 ;
6048 char *kwnames[] = {
6049 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6050 };
6051
6052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
6053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6055 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6057 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6059 {
6060 PyThreadState* __tstate = wxPyBeginAllowThreads();
6061 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
6062
6063 wxPyEndAllowThreads(__tstate);
6064 if (PyErr_Occurred()) SWIG_fail;
6065 }
6066 {
6067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6068 }
6069 return resultobj;
6070 fail:
6071 return NULL;
6072 }
6073
6074
6075 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6076 PyObject *resultobj;
6077 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6078 PyObject * obj0 = 0 ;
6079 char *kwnames[] = {
6080 (char *) "self", NULL
6081 };
6082
6083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
6084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6086 {
6087 PyThreadState* __tstate = wxPyBeginAllowThreads();
6088 (arg1)->UpdateSize();
6089
6090 wxPyEndAllowThreads(__tstate);
6091 if (PyErr_Occurred()) SWIG_fail;
6092 }
6093 Py_INCREF(Py_None); resultobj = Py_None;
6094 return resultobj;
6095 fail:
6096 return NULL;
6097 }
6098
6099
6100 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
6101 PyObject *resultobj;
6102 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6103 bool result;
6104 PyObject * obj0 = 0 ;
6105 char *kwnames[] = {
6106 (char *) "self", NULL
6107 };
6108
6109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
6110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6112 {
6113 PyThreadState* __tstate = wxPyBeginAllowThreads();
6114 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
6115
6116 wxPyEndAllowThreads(__tstate);
6117 if (PyErr_Occurred()) SWIG_fail;
6118 }
6119 {
6120 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6121 }
6122 return resultobj;
6123 fail:
6124 return NULL;
6125 }
6126
6127
6128 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6129 PyObject *resultobj;
6130 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6131 int arg2 ;
6132 PyObject * obj0 = 0 ;
6133 PyObject * obj1 = 0 ;
6134 char *kwnames[] = {
6135 (char *) "self",(char *) "width", NULL
6136 };
6137
6138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
6139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6141 arg2 = (int) SWIG_AsInt(obj1);
6142 if (PyErr_Occurred()) SWIG_fail;
6143 {
6144 PyThreadState* __tstate = wxPyBeginAllowThreads();
6145 (arg1)->SetSashSize(arg2);
6146
6147 wxPyEndAllowThreads(__tstate);
6148 if (PyErr_Occurred()) SWIG_fail;
6149 }
6150 Py_INCREF(Py_None); resultobj = Py_None;
6151 return resultobj;
6152 fail:
6153 return NULL;
6154 }
6155
6156
6157 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6158 PyObject *resultobj;
6159 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6160 int arg2 ;
6161 PyObject * obj0 = 0 ;
6162 PyObject * obj1 = 0 ;
6163 char *kwnames[] = {
6164 (char *) "self",(char *) "width", NULL
6165 };
6166
6167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
6168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6170 arg2 = (int) SWIG_AsInt(obj1);
6171 if (PyErr_Occurred()) SWIG_fail;
6172 {
6173 PyThreadState* __tstate = wxPyBeginAllowThreads();
6174 (arg1)->SetBorderSize(arg2);
6175
6176 wxPyEndAllowThreads(__tstate);
6177 if (PyErr_Occurred()) SWIG_fail;
6178 }
6179 Py_INCREF(Py_None); resultobj = Py_None;
6180 return resultobj;
6181 fail:
6182 return NULL;
6183 }
6184
6185
6186 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6187 PyObject *resultobj;
6188 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6189 int result;
6190 PyObject * obj0 = 0 ;
6191 char *kwnames[] = {
6192 (char *) "self", NULL
6193 };
6194
6195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
6196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6198 {
6199 PyThreadState* __tstate = wxPyBeginAllowThreads();
6200 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
6201
6202 wxPyEndAllowThreads(__tstate);
6203 if (PyErr_Occurred()) SWIG_fail;
6204 }
6205 resultobj = SWIG_FromInt((int)result);
6206 return resultobj;
6207 fail:
6208 return NULL;
6209 }
6210
6211
6212 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6213 PyObject *resultobj;
6214 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6215 int result;
6216 PyObject * obj0 = 0 ;
6217 char *kwnames[] = {
6218 (char *) "self", NULL
6219 };
6220
6221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
6222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6224 {
6225 PyThreadState* __tstate = wxPyBeginAllowThreads();
6226 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
6227
6228 wxPyEndAllowThreads(__tstate);
6229 if (PyErr_Occurred()) SWIG_fail;
6230 }
6231 resultobj = SWIG_FromInt((int)result);
6232 return resultobj;
6233 fail:
6234 return NULL;
6235 }
6236
6237
6238 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6239 PyObject *resultobj;
6240 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6241 int arg2 ;
6242 bool arg3 = (bool) True ;
6243 PyObject * obj0 = 0 ;
6244 PyObject * obj1 = 0 ;
6245 PyObject * obj2 = 0 ;
6246 char *kwnames[] = {
6247 (char *) "self",(char *) "position",(char *) "redraw", NULL
6248 };
6249
6250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
6251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6253 arg2 = (int) SWIG_AsInt(obj1);
6254 if (PyErr_Occurred()) SWIG_fail;
6255 if (obj2) {
6256 arg3 = (bool) SWIG_AsBool(obj2);
6257 if (PyErr_Occurred()) SWIG_fail;
6258 }
6259 {
6260 PyThreadState* __tstate = wxPyBeginAllowThreads();
6261 (arg1)->SetSashPosition(arg2,arg3);
6262
6263 wxPyEndAllowThreads(__tstate);
6264 if (PyErr_Occurred()) SWIG_fail;
6265 }
6266 Py_INCREF(Py_None); resultobj = Py_None;
6267 return resultobj;
6268 fail:
6269 return NULL;
6270 }
6271
6272
6273 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6274 PyObject *resultobj;
6275 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6276 int result;
6277 PyObject * obj0 = 0 ;
6278 char *kwnames[] = {
6279 (char *) "self", NULL
6280 };
6281
6282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
6283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6285 {
6286 PyThreadState* __tstate = wxPyBeginAllowThreads();
6287 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6288
6289 wxPyEndAllowThreads(__tstate);
6290 if (PyErr_Occurred()) SWIG_fail;
6291 }
6292 resultobj = SWIG_FromInt((int)result);
6293 return resultobj;
6294 fail:
6295 return NULL;
6296 }
6297
6298
6299 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6300 PyObject *resultobj;
6301 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6302 int arg2 ;
6303 PyObject * obj0 = 0 ;
6304 PyObject * obj1 = 0 ;
6305 char *kwnames[] = {
6306 (char *) "self",(char *) "min", NULL
6307 };
6308
6309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6312 arg2 = (int) SWIG_AsInt(obj1);
6313 if (PyErr_Occurred()) SWIG_fail;
6314 {
6315 PyThreadState* __tstate = wxPyBeginAllowThreads();
6316 (arg1)->SetMinimumPaneSize(arg2);
6317
6318 wxPyEndAllowThreads(__tstate);
6319 if (PyErr_Occurred()) SWIG_fail;
6320 }
6321 Py_INCREF(Py_None); resultobj = Py_None;
6322 return resultobj;
6323 fail:
6324 return NULL;
6325 }
6326
6327
6328 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6329 PyObject *resultobj;
6330 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6331 int result;
6332 PyObject * obj0 = 0 ;
6333 char *kwnames[] = {
6334 (char *) "self", NULL
6335 };
6336
6337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6340 {
6341 PyThreadState* __tstate = wxPyBeginAllowThreads();
6342 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6343
6344 wxPyEndAllowThreads(__tstate);
6345 if (PyErr_Occurred()) SWIG_fail;
6346 }
6347 resultobj = SWIG_FromInt((int)result);
6348 return resultobj;
6349 fail:
6350 return NULL;
6351 }
6352
6353
6354 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6355 PyObject *resultobj;
6356 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6357 int arg2 ;
6358 int arg3 ;
6359 int arg4 = (int) 5 ;
6360 bool result;
6361 PyObject * obj0 = 0 ;
6362 PyObject * obj1 = 0 ;
6363 PyObject * obj2 = 0 ;
6364 PyObject * obj3 = 0 ;
6365 char *kwnames[] = {
6366 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6367 };
6368
6369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6372 arg2 = (int) SWIG_AsInt(obj1);
6373 if (PyErr_Occurred()) SWIG_fail;
6374 arg3 = (int) SWIG_AsInt(obj2);
6375 if (PyErr_Occurred()) SWIG_fail;
6376 if (obj3) {
6377 arg4 = (int) SWIG_AsInt(obj3);
6378 if (PyErr_Occurred()) SWIG_fail;
6379 }
6380 {
6381 PyThreadState* __tstate = wxPyBeginAllowThreads();
6382 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6383
6384 wxPyEndAllowThreads(__tstate);
6385 if (PyErr_Occurred()) SWIG_fail;
6386 }
6387 {
6388 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6389 }
6390 return resultobj;
6391 fail:
6392 return NULL;
6393 }
6394
6395
6396 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6397 PyObject *resultobj;
6398 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6399 PyObject * obj0 = 0 ;
6400 char *kwnames[] = {
6401 (char *) "self", NULL
6402 };
6403
6404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6407 {
6408 PyThreadState* __tstate = wxPyBeginAllowThreads();
6409 (arg1)->SizeWindows();
6410
6411 wxPyEndAllowThreads(__tstate);
6412 if (PyErr_Occurred()) SWIG_fail;
6413 }
6414 Py_INCREF(Py_None); resultobj = Py_None;
6415 return resultobj;
6416 fail:
6417 return NULL;
6418 }
6419
6420
6421 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6422 PyObject *resultobj;
6423 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6424 bool arg2 ;
6425 PyObject * obj0 = 0 ;
6426 PyObject * obj1 = 0 ;
6427 char *kwnames[] = {
6428 (char *) "self",(char *) "needUpdating", NULL
6429 };
6430
6431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6434 arg2 = (bool) SWIG_AsBool(obj1);
6435 if (PyErr_Occurred()) SWIG_fail;
6436 {
6437 PyThreadState* __tstate = wxPyBeginAllowThreads();
6438 (arg1)->SetNeedUpdating(arg2);
6439
6440 wxPyEndAllowThreads(__tstate);
6441 if (PyErr_Occurred()) SWIG_fail;
6442 }
6443 Py_INCREF(Py_None); resultobj = Py_None;
6444 return resultobj;
6445 fail:
6446 return NULL;
6447 }
6448
6449
6450 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6451 PyObject *resultobj;
6452 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6453 bool result;
6454 PyObject * obj0 = 0 ;
6455 char *kwnames[] = {
6456 (char *) "self", NULL
6457 };
6458
6459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6462 {
6463 PyThreadState* __tstate = wxPyBeginAllowThreads();
6464 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6465
6466 wxPyEndAllowThreads(__tstate);
6467 if (PyErr_Occurred()) SWIG_fail;
6468 }
6469 {
6470 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6471 }
6472 return resultobj;
6473 fail:
6474 return NULL;
6475 }
6476
6477
6478 static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6479 PyObject *resultobj;
6480 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6481 wxVisualAttributes result;
6482 PyObject * obj0 = 0 ;
6483 char *kwnames[] = {
6484 (char *) "variant", NULL
6485 };
6486
6487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6488 if (obj0) {
6489 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
6490 if (PyErr_Occurred()) SWIG_fail;
6491 }
6492 {
6493 if (!wxPyCheckForApp()) SWIG_fail;
6494 PyThreadState* __tstate = wxPyBeginAllowThreads();
6495 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
6496
6497 wxPyEndAllowThreads(__tstate);
6498 if (PyErr_Occurred()) SWIG_fail;
6499 }
6500 {
6501 wxVisualAttributes * resultptr;
6502 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6503 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6504 }
6505 return resultobj;
6506 fail:
6507 return NULL;
6508 }
6509
6510
6511 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
6512 PyObject *obj;
6513 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6514 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6515 Py_INCREF(obj);
6516 return Py_BuildValue((char *)"");
6517 }
6518 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6519 PyObject *resultobj;
6520 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6521 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6522 wxSplitterEvent *result;
6523 PyObject * obj0 = 0 ;
6524 PyObject * obj1 = 0 ;
6525 char *kwnames[] = {
6526 (char *) "type",(char *) "splitter", NULL
6527 };
6528
6529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6530 if (obj0) {
6531 arg1 = (wxEventType) SWIG_AsInt(obj0);
6532 if (PyErr_Occurred()) SWIG_fail;
6533 }
6534 if (obj1) {
6535 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6537 }
6538 {
6539 PyThreadState* __tstate = wxPyBeginAllowThreads();
6540 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6541
6542 wxPyEndAllowThreads(__tstate);
6543 if (PyErr_Occurred()) SWIG_fail;
6544 }
6545 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6546 return resultobj;
6547 fail:
6548 return NULL;
6549 }
6550
6551
6552 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6553 PyObject *resultobj;
6554 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6555 int arg2 ;
6556 PyObject * obj0 = 0 ;
6557 PyObject * obj1 = 0 ;
6558 char *kwnames[] = {
6559 (char *) "self",(char *) "pos", NULL
6560 };
6561
6562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6565 arg2 = (int) SWIG_AsInt(obj1);
6566 if (PyErr_Occurred()) SWIG_fail;
6567 {
6568 PyThreadState* __tstate = wxPyBeginAllowThreads();
6569 (arg1)->SetSashPosition(arg2);
6570
6571 wxPyEndAllowThreads(__tstate);
6572 if (PyErr_Occurred()) SWIG_fail;
6573 }
6574 Py_INCREF(Py_None); resultobj = Py_None;
6575 return resultobj;
6576 fail:
6577 return NULL;
6578 }
6579
6580
6581 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6582 PyObject *resultobj;
6583 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6584 int result;
6585 PyObject * obj0 = 0 ;
6586 char *kwnames[] = {
6587 (char *) "self", NULL
6588 };
6589
6590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6593 {
6594 PyThreadState* __tstate = wxPyBeginAllowThreads();
6595 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6596
6597 wxPyEndAllowThreads(__tstate);
6598 if (PyErr_Occurred()) SWIG_fail;
6599 }
6600 resultobj = SWIG_FromInt((int)result);
6601 return resultobj;
6602 fail:
6603 return NULL;
6604 }
6605
6606
6607 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
6608 PyObject *resultobj;
6609 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6610 wxWindow *result;
6611 PyObject * obj0 = 0 ;
6612 char *kwnames[] = {
6613 (char *) "self", NULL
6614 };
6615
6616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6619 {
6620 PyThreadState* __tstate = wxPyBeginAllowThreads();
6621 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6622
6623 wxPyEndAllowThreads(__tstate);
6624 if (PyErr_Occurred()) SWIG_fail;
6625 }
6626 {
6627 resultobj = wxPyMake_wxObject(result);
6628 }
6629 return resultobj;
6630 fail:
6631 return NULL;
6632 }
6633
6634
6635 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
6636 PyObject *resultobj;
6637 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6638 int result;
6639 PyObject * obj0 = 0 ;
6640 char *kwnames[] = {
6641 (char *) "self", NULL
6642 };
6643
6644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6647 {
6648 PyThreadState* __tstate = wxPyBeginAllowThreads();
6649 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6650
6651 wxPyEndAllowThreads(__tstate);
6652 if (PyErr_Occurred()) SWIG_fail;
6653 }
6654 resultobj = SWIG_FromInt((int)result);
6655 return resultobj;
6656 fail:
6657 return NULL;
6658 }
6659
6660
6661 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
6662 PyObject *resultobj;
6663 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6664 int result;
6665 PyObject * obj0 = 0 ;
6666 char *kwnames[] = {
6667 (char *) "self", NULL
6668 };
6669
6670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6673 {
6674 PyThreadState* __tstate = wxPyBeginAllowThreads();
6675 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6676
6677 wxPyEndAllowThreads(__tstate);
6678 if (PyErr_Occurred()) SWIG_fail;
6679 }
6680 resultobj = SWIG_FromInt((int)result);
6681 return resultobj;
6682 fail:
6683 return NULL;
6684 }
6685
6686
6687 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
6688 PyObject *obj;
6689 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6690 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6691 Py_INCREF(obj);
6692 return Py_BuildValue((char *)"");
6693 }
6694 static int _wrap_SashNameStr_set(PyObject *_val) {
6695 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6696 return 1;
6697 }
6698
6699
6700 static PyObject *_wrap_SashNameStr_get() {
6701 PyObject *pyobj;
6702
6703 {
6704 #if wxUSE_UNICODE
6705 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6706 #else
6707 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6708 #endif
6709 }
6710 return pyobj;
6711 }
6712
6713
6714 static int _wrap_SashLayoutNameStr_set(PyObject *_val) {
6715 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6716 return 1;
6717 }
6718
6719
6720 static PyObject *_wrap_SashLayoutNameStr_get() {
6721 PyObject *pyobj;
6722
6723 {
6724 #if wxUSE_UNICODE
6725 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6726 #else
6727 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6728 #endif
6729 }
6730 return pyobj;
6731 }
6732
6733
6734 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6735 PyObject *resultobj;
6736 wxWindow *arg1 = (wxWindow *) 0 ;
6737 int arg2 ;
6738 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6739 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6740 wxSize const &arg4_defvalue = wxDefaultSize ;
6741 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6742 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6743 wxString const &arg6_defvalue = wxPySashNameStr ;
6744 wxString *arg6 = (wxString *) &arg6_defvalue ;
6745 wxSashWindow *result;
6746 wxPoint temp3 ;
6747 wxSize temp4 ;
6748 bool temp6 = False ;
6749 PyObject * obj0 = 0 ;
6750 PyObject * obj1 = 0 ;
6751 PyObject * obj2 = 0 ;
6752 PyObject * obj3 = 0 ;
6753 PyObject * obj4 = 0 ;
6754 PyObject * obj5 = 0 ;
6755 char *kwnames[] = {
6756 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6757 };
6758
6759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6762 arg2 = (int) SWIG_AsInt(obj1);
6763 if (PyErr_Occurred()) SWIG_fail;
6764 if (obj2) {
6765 {
6766 arg3 = &temp3;
6767 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6768 }
6769 }
6770 if (obj3) {
6771 {
6772 arg4 = &temp4;
6773 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6774 }
6775 }
6776 if (obj4) {
6777 arg5 = (long) SWIG_AsLong(obj4);
6778 if (PyErr_Occurred()) SWIG_fail;
6779 }
6780 if (obj5) {
6781 {
6782 arg6 = wxString_in_helper(obj5);
6783 if (arg6 == NULL) SWIG_fail;
6784 temp6 = True;
6785 }
6786 }
6787 {
6788 if (!wxPyCheckForApp()) SWIG_fail;
6789 PyThreadState* __tstate = wxPyBeginAllowThreads();
6790 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6791
6792 wxPyEndAllowThreads(__tstate);
6793 if (PyErr_Occurred()) SWIG_fail;
6794 }
6795 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6796 {
6797 if (temp6)
6798 delete arg6;
6799 }
6800 return resultobj;
6801 fail:
6802 {
6803 if (temp6)
6804 delete arg6;
6805 }
6806 return NULL;
6807 }
6808
6809
6810 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6811 PyObject *resultobj;
6812 wxSashWindow *result;
6813 char *kwnames[] = {
6814 NULL
6815 };
6816
6817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6818 {
6819 if (!wxPyCheckForApp()) SWIG_fail;
6820 PyThreadState* __tstate = wxPyBeginAllowThreads();
6821 result = (wxSashWindow *)new wxSashWindow();
6822
6823 wxPyEndAllowThreads(__tstate);
6824 if (PyErr_Occurred()) SWIG_fail;
6825 }
6826 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6827 return resultobj;
6828 fail:
6829 return NULL;
6830 }
6831
6832
6833 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6834 PyObject *resultobj;
6835 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6836 wxWindow *arg2 = (wxWindow *) 0 ;
6837 int arg3 ;
6838 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6839 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6840 wxSize const &arg5_defvalue = wxDefaultSize ;
6841 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6842 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6843 wxString const &arg7_defvalue = wxPySashNameStr ;
6844 wxString *arg7 = (wxString *) &arg7_defvalue ;
6845 bool result;
6846 wxPoint temp4 ;
6847 wxSize temp5 ;
6848 bool temp7 = False ;
6849 PyObject * obj0 = 0 ;
6850 PyObject * obj1 = 0 ;
6851 PyObject * obj2 = 0 ;
6852 PyObject * obj3 = 0 ;
6853 PyObject * obj4 = 0 ;
6854 PyObject * obj5 = 0 ;
6855 PyObject * obj6 = 0 ;
6856 char *kwnames[] = {
6857 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6858 };
6859
6860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6863 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6865 arg3 = (int) SWIG_AsInt(obj2);
6866 if (PyErr_Occurred()) SWIG_fail;
6867 if (obj3) {
6868 {
6869 arg4 = &temp4;
6870 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6871 }
6872 }
6873 if (obj4) {
6874 {
6875 arg5 = &temp5;
6876 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6877 }
6878 }
6879 if (obj5) {
6880 arg6 = (long) SWIG_AsLong(obj5);
6881 if (PyErr_Occurred()) SWIG_fail;
6882 }
6883 if (obj6) {
6884 {
6885 arg7 = wxString_in_helper(obj6);
6886 if (arg7 == NULL) SWIG_fail;
6887 temp7 = True;
6888 }
6889 }
6890 {
6891 PyThreadState* __tstate = wxPyBeginAllowThreads();
6892 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6893
6894 wxPyEndAllowThreads(__tstate);
6895 if (PyErr_Occurred()) SWIG_fail;
6896 }
6897 {
6898 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6899 }
6900 {
6901 if (temp7)
6902 delete arg7;
6903 }
6904 return resultobj;
6905 fail:
6906 {
6907 if (temp7)
6908 delete arg7;
6909 }
6910 return NULL;
6911 }
6912
6913
6914 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6915 PyObject *resultobj;
6916 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6917 int arg2 ;
6918 bool arg3 ;
6919 PyObject * obj0 = 0 ;
6920 PyObject * obj1 = 0 ;
6921 PyObject * obj2 = 0 ;
6922 char *kwnames[] = {
6923 (char *) "self",(char *) "edge",(char *) "sash", NULL
6924 };
6925
6926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
6927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6929 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6930 if (PyErr_Occurred()) SWIG_fail;
6931 arg3 = (bool) SWIG_AsBool(obj2);
6932 if (PyErr_Occurred()) SWIG_fail;
6933 {
6934 PyThreadState* __tstate = wxPyBeginAllowThreads();
6935 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6936
6937 wxPyEndAllowThreads(__tstate);
6938 if (PyErr_Occurred()) SWIG_fail;
6939 }
6940 Py_INCREF(Py_None); resultobj = Py_None;
6941 return resultobj;
6942 fail:
6943 return NULL;
6944 }
6945
6946
6947 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6948 PyObject *resultobj;
6949 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6950 int arg2 ;
6951 bool result;
6952 PyObject * obj0 = 0 ;
6953 PyObject * obj1 = 0 ;
6954 char *kwnames[] = {
6955 (char *) "self",(char *) "edge", NULL
6956 };
6957
6958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
6959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6961 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6962 if (PyErr_Occurred()) SWIG_fail;
6963 {
6964 PyThreadState* __tstate = wxPyBeginAllowThreads();
6965 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
6966
6967 wxPyEndAllowThreads(__tstate);
6968 if (PyErr_Occurred()) SWIG_fail;
6969 }
6970 {
6971 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6972 }
6973 return resultobj;
6974 fail:
6975 return NULL;
6976 }
6977
6978
6979 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6980 PyObject *resultobj;
6981 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6982 int arg2 ;
6983 bool arg3 ;
6984 PyObject * obj0 = 0 ;
6985 PyObject * obj1 = 0 ;
6986 PyObject * obj2 = 0 ;
6987 char *kwnames[] = {
6988 (char *) "self",(char *) "edge",(char *) "border", NULL
6989 };
6990
6991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
6992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6994 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6995 if (PyErr_Occurred()) SWIG_fail;
6996 arg3 = (bool) SWIG_AsBool(obj2);
6997 if (PyErr_Occurred()) SWIG_fail;
6998 {
6999 PyThreadState* __tstate = wxPyBeginAllowThreads();
7000 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
7001
7002 wxPyEndAllowThreads(__tstate);
7003 if (PyErr_Occurred()) SWIG_fail;
7004 }
7005 Py_INCREF(Py_None); resultobj = Py_None;
7006 return resultobj;
7007 fail:
7008 return NULL;
7009 }
7010
7011
7012 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
7013 PyObject *resultobj;
7014 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7015 int arg2 ;
7016 bool result;
7017 PyObject * obj0 = 0 ;
7018 PyObject * obj1 = 0 ;
7019 char *kwnames[] = {
7020 (char *) "self",(char *) "edge", NULL
7021 };
7022
7023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
7024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7026 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7027 if (PyErr_Occurred()) SWIG_fail;
7028 {
7029 PyThreadState* __tstate = wxPyBeginAllowThreads();
7030 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
7031
7032 wxPyEndAllowThreads(__tstate);
7033 if (PyErr_Occurred()) SWIG_fail;
7034 }
7035 {
7036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7037 }
7038 return resultobj;
7039 fail:
7040 return NULL;
7041 }
7042
7043
7044 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
7045 PyObject *resultobj;
7046 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7047 int arg2 ;
7048 int result;
7049 PyObject * obj0 = 0 ;
7050 PyObject * obj1 = 0 ;
7051 char *kwnames[] = {
7052 (char *) "self",(char *) "edge", NULL
7053 };
7054
7055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
7056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7058 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7059 if (PyErr_Occurred()) SWIG_fail;
7060 {
7061 PyThreadState* __tstate = wxPyBeginAllowThreads();
7062 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
7063
7064 wxPyEndAllowThreads(__tstate);
7065 if (PyErr_Occurred()) SWIG_fail;
7066 }
7067 resultobj = SWIG_FromInt((int)result);
7068 return resultobj;
7069 fail:
7070 return NULL;
7071 }
7072
7073
7074 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7075 PyObject *resultobj;
7076 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7077 int arg2 ;
7078 PyObject * obj0 = 0 ;
7079 PyObject * obj1 = 0 ;
7080 char *kwnames[] = {
7081 (char *) "self",(char *) "width", NULL
7082 };
7083
7084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
7085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7087 arg2 = (int) SWIG_AsInt(obj1);
7088 if (PyErr_Occurred()) SWIG_fail;
7089 {
7090 PyThreadState* __tstate = wxPyBeginAllowThreads();
7091 (arg1)->SetDefaultBorderSize(arg2);
7092
7093 wxPyEndAllowThreads(__tstate);
7094 if (PyErr_Occurred()) SWIG_fail;
7095 }
7096 Py_INCREF(Py_None); resultobj = Py_None;
7097 return resultobj;
7098 fail:
7099 return NULL;
7100 }
7101
7102
7103 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7104 PyObject *resultobj;
7105 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7106 int result;
7107 PyObject * obj0 = 0 ;
7108 char *kwnames[] = {
7109 (char *) "self", NULL
7110 };
7111
7112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
7113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7115 {
7116 PyThreadState* __tstate = wxPyBeginAllowThreads();
7117 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
7118
7119 wxPyEndAllowThreads(__tstate);
7120 if (PyErr_Occurred()) SWIG_fail;
7121 }
7122 resultobj = SWIG_FromInt((int)result);
7123 return resultobj;
7124 fail:
7125 return NULL;
7126 }
7127
7128
7129 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7130 PyObject *resultobj;
7131 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7132 int arg2 ;
7133 PyObject * obj0 = 0 ;
7134 PyObject * obj1 = 0 ;
7135 char *kwnames[] = {
7136 (char *) "self",(char *) "width", NULL
7137 };
7138
7139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
7140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7142 arg2 = (int) SWIG_AsInt(obj1);
7143 if (PyErr_Occurred()) SWIG_fail;
7144 {
7145 PyThreadState* __tstate = wxPyBeginAllowThreads();
7146 (arg1)->SetExtraBorderSize(arg2);
7147
7148 wxPyEndAllowThreads(__tstate);
7149 if (PyErr_Occurred()) SWIG_fail;
7150 }
7151 Py_INCREF(Py_None); resultobj = Py_None;
7152 return resultobj;
7153 fail:
7154 return NULL;
7155 }
7156
7157
7158 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7159 PyObject *resultobj;
7160 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7161 int result;
7162 PyObject * obj0 = 0 ;
7163 char *kwnames[] = {
7164 (char *) "self", NULL
7165 };
7166
7167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
7168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7170 {
7171 PyThreadState* __tstate = wxPyBeginAllowThreads();
7172 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
7173
7174 wxPyEndAllowThreads(__tstate);
7175 if (PyErr_Occurred()) SWIG_fail;
7176 }
7177 resultobj = SWIG_FromInt((int)result);
7178 return resultobj;
7179 fail:
7180 return NULL;
7181 }
7182
7183
7184 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7185 PyObject *resultobj;
7186 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7187 int arg2 ;
7188 PyObject * obj0 = 0 ;
7189 PyObject * obj1 = 0 ;
7190 char *kwnames[] = {
7191 (char *) "self",(char *) "min", NULL
7192 };
7193
7194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
7195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7197 arg2 = (int) SWIG_AsInt(obj1);
7198 if (PyErr_Occurred()) SWIG_fail;
7199 {
7200 PyThreadState* __tstate = wxPyBeginAllowThreads();
7201 (arg1)->SetMinimumSizeX(arg2);
7202
7203 wxPyEndAllowThreads(__tstate);
7204 if (PyErr_Occurred()) SWIG_fail;
7205 }
7206 Py_INCREF(Py_None); resultobj = Py_None;
7207 return resultobj;
7208 fail:
7209 return NULL;
7210 }
7211
7212
7213 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7214 PyObject *resultobj;
7215 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7216 int arg2 ;
7217 PyObject * obj0 = 0 ;
7218 PyObject * obj1 = 0 ;
7219 char *kwnames[] = {
7220 (char *) "self",(char *) "min", NULL
7221 };
7222
7223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
7224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7226 arg2 = (int) SWIG_AsInt(obj1);
7227 if (PyErr_Occurred()) SWIG_fail;
7228 {
7229 PyThreadState* __tstate = wxPyBeginAllowThreads();
7230 (arg1)->SetMinimumSizeY(arg2);
7231
7232 wxPyEndAllowThreads(__tstate);
7233 if (PyErr_Occurred()) SWIG_fail;
7234 }
7235 Py_INCREF(Py_None); resultobj = Py_None;
7236 return resultobj;
7237 fail:
7238 return NULL;
7239 }
7240
7241
7242 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7243 PyObject *resultobj;
7244 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7245 int result;
7246 PyObject * obj0 = 0 ;
7247 char *kwnames[] = {
7248 (char *) "self", NULL
7249 };
7250
7251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
7252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7254 {
7255 PyThreadState* __tstate = wxPyBeginAllowThreads();
7256 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
7257
7258 wxPyEndAllowThreads(__tstate);
7259 if (PyErr_Occurred()) SWIG_fail;
7260 }
7261 resultobj = SWIG_FromInt((int)result);
7262 return resultobj;
7263 fail:
7264 return NULL;
7265 }
7266
7267
7268 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7269 PyObject *resultobj;
7270 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7271 int result;
7272 PyObject * obj0 = 0 ;
7273 char *kwnames[] = {
7274 (char *) "self", NULL
7275 };
7276
7277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
7278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7280 {
7281 PyThreadState* __tstate = wxPyBeginAllowThreads();
7282 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
7283
7284 wxPyEndAllowThreads(__tstate);
7285 if (PyErr_Occurred()) SWIG_fail;
7286 }
7287 resultobj = SWIG_FromInt((int)result);
7288 return resultobj;
7289 fail:
7290 return NULL;
7291 }
7292
7293
7294 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7295 PyObject *resultobj;
7296 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7297 int arg2 ;
7298 PyObject * obj0 = 0 ;
7299 PyObject * obj1 = 0 ;
7300 char *kwnames[] = {
7301 (char *) "self",(char *) "max", NULL
7302 };
7303
7304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
7305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7307 arg2 = (int) SWIG_AsInt(obj1);
7308 if (PyErr_Occurred()) SWIG_fail;
7309 {
7310 PyThreadState* __tstate = wxPyBeginAllowThreads();
7311 (arg1)->SetMaximumSizeX(arg2);
7312
7313 wxPyEndAllowThreads(__tstate);
7314 if (PyErr_Occurred()) SWIG_fail;
7315 }
7316 Py_INCREF(Py_None); resultobj = Py_None;
7317 return resultobj;
7318 fail:
7319 return NULL;
7320 }
7321
7322
7323 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7324 PyObject *resultobj;
7325 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7326 int arg2 ;
7327 PyObject * obj0 = 0 ;
7328 PyObject * obj1 = 0 ;
7329 char *kwnames[] = {
7330 (char *) "self",(char *) "max", NULL
7331 };
7332
7333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7336 arg2 = (int) SWIG_AsInt(obj1);
7337 if (PyErr_Occurred()) SWIG_fail;
7338 {
7339 PyThreadState* __tstate = wxPyBeginAllowThreads();
7340 (arg1)->SetMaximumSizeY(arg2);
7341
7342 wxPyEndAllowThreads(__tstate);
7343 if (PyErr_Occurred()) SWIG_fail;
7344 }
7345 Py_INCREF(Py_None); resultobj = Py_None;
7346 return resultobj;
7347 fail:
7348 return NULL;
7349 }
7350
7351
7352 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7353 PyObject *resultobj;
7354 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7355 int result;
7356 PyObject * obj0 = 0 ;
7357 char *kwnames[] = {
7358 (char *) "self", NULL
7359 };
7360
7361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7364 {
7365 PyThreadState* __tstate = wxPyBeginAllowThreads();
7366 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7367
7368 wxPyEndAllowThreads(__tstate);
7369 if (PyErr_Occurred()) SWIG_fail;
7370 }
7371 resultobj = SWIG_FromInt((int)result);
7372 return resultobj;
7373 fail:
7374 return NULL;
7375 }
7376
7377
7378 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7379 PyObject *resultobj;
7380 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7381 int result;
7382 PyObject * obj0 = 0 ;
7383 char *kwnames[] = {
7384 (char *) "self", NULL
7385 };
7386
7387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7390 {
7391 PyThreadState* __tstate = wxPyBeginAllowThreads();
7392 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7393
7394 wxPyEndAllowThreads(__tstate);
7395 if (PyErr_Occurred()) SWIG_fail;
7396 }
7397 resultobj = SWIG_FromInt((int)result);
7398 return resultobj;
7399 fail:
7400 return NULL;
7401 }
7402
7403
7404 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
7405 PyObject *resultobj;
7406 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7407 int arg2 ;
7408 int arg3 ;
7409 int arg4 = (int) 2 ;
7410 int result;
7411 PyObject * obj0 = 0 ;
7412 PyObject * obj1 = 0 ;
7413 PyObject * obj2 = 0 ;
7414 PyObject * obj3 = 0 ;
7415 char *kwnames[] = {
7416 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7417 };
7418
7419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7422 arg2 = (int) SWIG_AsInt(obj1);
7423 if (PyErr_Occurred()) SWIG_fail;
7424 arg3 = (int) SWIG_AsInt(obj2);
7425 if (PyErr_Occurred()) SWIG_fail;
7426 if (obj3) {
7427 arg4 = (int) SWIG_AsInt(obj3);
7428 if (PyErr_Occurred()) SWIG_fail;
7429 }
7430 {
7431 PyThreadState* __tstate = wxPyBeginAllowThreads();
7432 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7433
7434 wxPyEndAllowThreads(__tstate);
7435 if (PyErr_Occurred()) SWIG_fail;
7436 }
7437 resultobj = SWIG_FromInt((int)result);
7438 return resultobj;
7439 fail:
7440 return NULL;
7441 }
7442
7443
7444 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
7445 PyObject *resultobj;
7446 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7447 PyObject * obj0 = 0 ;
7448 char *kwnames[] = {
7449 (char *) "self", NULL
7450 };
7451
7452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7455 {
7456 PyThreadState* __tstate = wxPyBeginAllowThreads();
7457 (arg1)->SizeWindows();
7458
7459 wxPyEndAllowThreads(__tstate);
7460 if (PyErr_Occurred()) SWIG_fail;
7461 }
7462 Py_INCREF(Py_None); resultobj = Py_None;
7463 return resultobj;
7464 fail:
7465 return NULL;
7466 }
7467
7468
7469 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
7470 PyObject *obj;
7471 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7472 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7473 Py_INCREF(obj);
7474 return Py_BuildValue((char *)"");
7475 }
7476 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7477 PyObject *resultobj;
7478 int arg1 = (int) 0 ;
7479 int arg2 = (int) wxSASH_NONE ;
7480 wxSashEvent *result;
7481 PyObject * obj0 = 0 ;
7482 PyObject * obj1 = 0 ;
7483 char *kwnames[] = {
7484 (char *) "id",(char *) "edge", NULL
7485 };
7486
7487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7488 if (obj0) {
7489 arg1 = (int) SWIG_AsInt(obj0);
7490 if (PyErr_Occurred()) SWIG_fail;
7491 }
7492 if (obj1) {
7493 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7494 if (PyErr_Occurred()) SWIG_fail;
7495 }
7496 {
7497 PyThreadState* __tstate = wxPyBeginAllowThreads();
7498 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7499
7500 wxPyEndAllowThreads(__tstate);
7501 if (PyErr_Occurred()) SWIG_fail;
7502 }
7503 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7504 return resultobj;
7505 fail:
7506 return NULL;
7507 }
7508
7509
7510 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7511 PyObject *resultobj;
7512 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7513 int arg2 ;
7514 PyObject * obj0 = 0 ;
7515 PyObject * obj1 = 0 ;
7516 char *kwnames[] = {
7517 (char *) "self",(char *) "edge", NULL
7518 };
7519
7520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7523 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7524 if (PyErr_Occurred()) SWIG_fail;
7525 {
7526 PyThreadState* __tstate = wxPyBeginAllowThreads();
7527 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7528
7529 wxPyEndAllowThreads(__tstate);
7530 if (PyErr_Occurred()) SWIG_fail;
7531 }
7532 Py_INCREF(Py_None); resultobj = Py_None;
7533 return resultobj;
7534 fail:
7535 return NULL;
7536 }
7537
7538
7539 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7540 PyObject *resultobj;
7541 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7542 int result;
7543 PyObject * obj0 = 0 ;
7544 char *kwnames[] = {
7545 (char *) "self", NULL
7546 };
7547
7548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7551 {
7552 PyThreadState* __tstate = wxPyBeginAllowThreads();
7553 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7554
7555 wxPyEndAllowThreads(__tstate);
7556 if (PyErr_Occurred()) SWIG_fail;
7557 }
7558 resultobj = SWIG_FromInt((int)result);
7559 return resultobj;
7560 fail:
7561 return NULL;
7562 }
7563
7564
7565 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7566 PyObject *resultobj;
7567 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7568 wxRect *arg2 = 0 ;
7569 wxRect temp2 ;
7570 PyObject * obj0 = 0 ;
7571 PyObject * obj1 = 0 ;
7572 char *kwnames[] = {
7573 (char *) "self",(char *) "rect", NULL
7574 };
7575
7576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7579 {
7580 arg2 = &temp2;
7581 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7582 }
7583 {
7584 PyThreadState* __tstate = wxPyBeginAllowThreads();
7585 (arg1)->SetDragRect((wxRect const &)*arg2);
7586
7587 wxPyEndAllowThreads(__tstate);
7588 if (PyErr_Occurred()) SWIG_fail;
7589 }
7590 Py_INCREF(Py_None); resultobj = Py_None;
7591 return resultobj;
7592 fail:
7593 return NULL;
7594 }
7595
7596
7597 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7598 PyObject *resultobj;
7599 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7600 wxRect result;
7601 PyObject * obj0 = 0 ;
7602 char *kwnames[] = {
7603 (char *) "self", NULL
7604 };
7605
7606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7609 {
7610 PyThreadState* __tstate = wxPyBeginAllowThreads();
7611 result = ((wxSashEvent const *)arg1)->GetDragRect();
7612
7613 wxPyEndAllowThreads(__tstate);
7614 if (PyErr_Occurred()) SWIG_fail;
7615 }
7616 {
7617 wxRect * resultptr;
7618 resultptr = new wxRect((wxRect &) result);
7619 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7620 }
7621 return resultobj;
7622 fail:
7623 return NULL;
7624 }
7625
7626
7627 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7628 PyObject *resultobj;
7629 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7630 int arg2 ;
7631 PyObject * obj0 = 0 ;
7632 PyObject * obj1 = 0 ;
7633 char *kwnames[] = {
7634 (char *) "self",(char *) "status", NULL
7635 };
7636
7637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7640 arg2 = (wxSashDragStatus) SWIG_AsInt(obj1);
7641 if (PyErr_Occurred()) SWIG_fail;
7642 {
7643 PyThreadState* __tstate = wxPyBeginAllowThreads();
7644 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7645
7646 wxPyEndAllowThreads(__tstate);
7647 if (PyErr_Occurred()) SWIG_fail;
7648 }
7649 Py_INCREF(Py_None); resultobj = Py_None;
7650 return resultobj;
7651 fail:
7652 return NULL;
7653 }
7654
7655
7656 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7657 PyObject *resultobj;
7658 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7659 int result;
7660 PyObject * obj0 = 0 ;
7661 char *kwnames[] = {
7662 (char *) "self", NULL
7663 };
7664
7665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7668 {
7669 PyThreadState* __tstate = wxPyBeginAllowThreads();
7670 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7671
7672 wxPyEndAllowThreads(__tstate);
7673 if (PyErr_Occurred()) SWIG_fail;
7674 }
7675 resultobj = SWIG_FromInt((int)result);
7676 return resultobj;
7677 fail:
7678 return NULL;
7679 }
7680
7681
7682 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
7683 PyObject *obj;
7684 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7685 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7686 Py_INCREF(obj);
7687 return Py_BuildValue((char *)"");
7688 }
7689 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7690 PyObject *resultobj;
7691 int arg1 = (int) 0 ;
7692 wxQueryLayoutInfoEvent *result;
7693 PyObject * obj0 = 0 ;
7694 char *kwnames[] = {
7695 (char *) "id", NULL
7696 };
7697
7698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7699 if (obj0) {
7700 arg1 = (int) SWIG_AsInt(obj0);
7701 if (PyErr_Occurred()) SWIG_fail;
7702 }
7703 {
7704 PyThreadState* __tstate = wxPyBeginAllowThreads();
7705 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7706
7707 wxPyEndAllowThreads(__tstate);
7708 if (PyErr_Occurred()) SWIG_fail;
7709 }
7710 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7711 return resultobj;
7712 fail:
7713 return NULL;
7714 }
7715
7716
7717 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7718 PyObject *resultobj;
7719 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7720 int arg2 ;
7721 PyObject * obj0 = 0 ;
7722 PyObject * obj1 = 0 ;
7723 char *kwnames[] = {
7724 (char *) "self",(char *) "length", NULL
7725 };
7726
7727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
7728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7730 arg2 = (int) SWIG_AsInt(obj1);
7731 if (PyErr_Occurred()) SWIG_fail;
7732 {
7733 PyThreadState* __tstate = wxPyBeginAllowThreads();
7734 (arg1)->SetRequestedLength(arg2);
7735
7736 wxPyEndAllowThreads(__tstate);
7737 if (PyErr_Occurred()) SWIG_fail;
7738 }
7739 Py_INCREF(Py_None); resultobj = Py_None;
7740 return resultobj;
7741 fail:
7742 return NULL;
7743 }
7744
7745
7746 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7747 PyObject *resultobj;
7748 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7749 int result;
7750 PyObject * obj0 = 0 ;
7751 char *kwnames[] = {
7752 (char *) "self", NULL
7753 };
7754
7755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
7756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7758 {
7759 PyThreadState* __tstate = wxPyBeginAllowThreads();
7760 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7761
7762 wxPyEndAllowThreads(__tstate);
7763 if (PyErr_Occurred()) SWIG_fail;
7764 }
7765 resultobj = SWIG_FromInt((int)result);
7766 return resultobj;
7767 fail:
7768 return NULL;
7769 }
7770
7771
7772 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7773 PyObject *resultobj;
7774 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7775 int arg2 ;
7776 PyObject * obj0 = 0 ;
7777 PyObject * obj1 = 0 ;
7778 char *kwnames[] = {
7779 (char *) "self",(char *) "flags", NULL
7780 };
7781
7782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7785 arg2 = (int) SWIG_AsInt(obj1);
7786 if (PyErr_Occurred()) SWIG_fail;
7787 {
7788 PyThreadState* __tstate = wxPyBeginAllowThreads();
7789 (arg1)->SetFlags(arg2);
7790
7791 wxPyEndAllowThreads(__tstate);
7792 if (PyErr_Occurred()) SWIG_fail;
7793 }
7794 Py_INCREF(Py_None); resultobj = Py_None;
7795 return resultobj;
7796 fail:
7797 return NULL;
7798 }
7799
7800
7801 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7802 PyObject *resultobj;
7803 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7804 int result;
7805 PyObject * obj0 = 0 ;
7806 char *kwnames[] = {
7807 (char *) "self", NULL
7808 };
7809
7810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
7811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7813 {
7814 PyThreadState* __tstate = wxPyBeginAllowThreads();
7815 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
7816
7817 wxPyEndAllowThreads(__tstate);
7818 if (PyErr_Occurred()) SWIG_fail;
7819 }
7820 resultobj = SWIG_FromInt((int)result);
7821 return resultobj;
7822 fail:
7823 return NULL;
7824 }
7825
7826
7827 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7828 PyObject *resultobj;
7829 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7830 wxSize *arg2 = 0 ;
7831 wxSize temp2 ;
7832 PyObject * obj0 = 0 ;
7833 PyObject * obj1 = 0 ;
7834 char *kwnames[] = {
7835 (char *) "self",(char *) "size", NULL
7836 };
7837
7838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
7839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7841 {
7842 arg2 = &temp2;
7843 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7844 }
7845 {
7846 PyThreadState* __tstate = wxPyBeginAllowThreads();
7847 (arg1)->SetSize((wxSize const &)*arg2);
7848
7849 wxPyEndAllowThreads(__tstate);
7850 if (PyErr_Occurred()) SWIG_fail;
7851 }
7852 Py_INCREF(Py_None); resultobj = Py_None;
7853 return resultobj;
7854 fail:
7855 return NULL;
7856 }
7857
7858
7859 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7860 PyObject *resultobj;
7861 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7862 wxSize result;
7863 PyObject * obj0 = 0 ;
7864 char *kwnames[] = {
7865 (char *) "self", NULL
7866 };
7867
7868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
7869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7871 {
7872 PyThreadState* __tstate = wxPyBeginAllowThreads();
7873 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
7874
7875 wxPyEndAllowThreads(__tstate);
7876 if (PyErr_Occurred()) SWIG_fail;
7877 }
7878 {
7879 wxSize * resultptr;
7880 resultptr = new wxSize((wxSize &) result);
7881 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
7882 }
7883 return resultobj;
7884 fail:
7885 return NULL;
7886 }
7887
7888
7889 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7890 PyObject *resultobj;
7891 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7892 int arg2 ;
7893 PyObject * obj0 = 0 ;
7894 PyObject * obj1 = 0 ;
7895 char *kwnames[] = {
7896 (char *) "self",(char *) "orient", NULL
7897 };
7898
7899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
7900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7902 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
7903 if (PyErr_Occurred()) SWIG_fail;
7904 {
7905 PyThreadState* __tstate = wxPyBeginAllowThreads();
7906 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7907
7908 wxPyEndAllowThreads(__tstate);
7909 if (PyErr_Occurred()) SWIG_fail;
7910 }
7911 Py_INCREF(Py_None); resultobj = Py_None;
7912 return resultobj;
7913 fail:
7914 return NULL;
7915 }
7916
7917
7918 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7919 PyObject *resultobj;
7920 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7921 int result;
7922 PyObject * obj0 = 0 ;
7923 char *kwnames[] = {
7924 (char *) "self", NULL
7925 };
7926
7927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
7928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7930 {
7931 PyThreadState* __tstate = wxPyBeginAllowThreads();
7932 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
7933
7934 wxPyEndAllowThreads(__tstate);
7935 if (PyErr_Occurred()) SWIG_fail;
7936 }
7937 resultobj = SWIG_FromInt((int)result);
7938 return resultobj;
7939 fail:
7940 return NULL;
7941 }
7942
7943
7944 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7945 PyObject *resultobj;
7946 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7947 int arg2 ;
7948 PyObject * obj0 = 0 ;
7949 PyObject * obj1 = 0 ;
7950 char *kwnames[] = {
7951 (char *) "self",(char *) "align", NULL
7952 };
7953
7954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7957 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
7958 if (PyErr_Occurred()) SWIG_fail;
7959 {
7960 PyThreadState* __tstate = wxPyBeginAllowThreads();
7961 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7962
7963 wxPyEndAllowThreads(__tstate);
7964 if (PyErr_Occurred()) SWIG_fail;
7965 }
7966 Py_INCREF(Py_None); resultobj = Py_None;
7967 return resultobj;
7968 fail:
7969 return NULL;
7970 }
7971
7972
7973 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7974 PyObject *resultobj;
7975 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7976 int result;
7977 PyObject * obj0 = 0 ;
7978 char *kwnames[] = {
7979 (char *) "self", NULL
7980 };
7981
7982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
7983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7985 {
7986 PyThreadState* __tstate = wxPyBeginAllowThreads();
7987 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
7988
7989 wxPyEndAllowThreads(__tstate);
7990 if (PyErr_Occurred()) SWIG_fail;
7991 }
7992 resultobj = SWIG_FromInt((int)result);
7993 return resultobj;
7994 fail:
7995 return NULL;
7996 }
7997
7998
7999 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
8000 PyObject *obj;
8001 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8002 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
8003 Py_INCREF(obj);
8004 return Py_BuildValue((char *)"");
8005 }
8006 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8007 PyObject *resultobj;
8008 int arg1 = (int) 0 ;
8009 wxCalculateLayoutEvent *result;
8010 PyObject * obj0 = 0 ;
8011 char *kwnames[] = {
8012 (char *) "id", NULL
8013 };
8014
8015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
8016 if (obj0) {
8017 arg1 = (int) SWIG_AsInt(obj0);
8018 if (PyErr_Occurred()) SWIG_fail;
8019 }
8020 {
8021 PyThreadState* __tstate = wxPyBeginAllowThreads();
8022 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
8023
8024 wxPyEndAllowThreads(__tstate);
8025 if (PyErr_Occurred()) SWIG_fail;
8026 }
8027 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
8028 return resultobj;
8029 fail:
8030 return NULL;
8031 }
8032
8033
8034 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
8035 PyObject *resultobj;
8036 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8037 int arg2 ;
8038 PyObject * obj0 = 0 ;
8039 PyObject * obj1 = 0 ;
8040 char *kwnames[] = {
8041 (char *) "self",(char *) "flags", NULL
8042 };
8043
8044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8047 arg2 = (int) SWIG_AsInt(obj1);
8048 if (PyErr_Occurred()) SWIG_fail;
8049 {
8050 PyThreadState* __tstate = wxPyBeginAllowThreads();
8051 (arg1)->SetFlags(arg2);
8052
8053 wxPyEndAllowThreads(__tstate);
8054 if (PyErr_Occurred()) SWIG_fail;
8055 }
8056 Py_INCREF(Py_None); resultobj = Py_None;
8057 return resultobj;
8058 fail:
8059 return NULL;
8060 }
8061
8062
8063 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
8064 PyObject *resultobj;
8065 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8066 int result;
8067 PyObject * obj0 = 0 ;
8068 char *kwnames[] = {
8069 (char *) "self", NULL
8070 };
8071
8072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
8073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8075 {
8076 PyThreadState* __tstate = wxPyBeginAllowThreads();
8077 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
8078
8079 wxPyEndAllowThreads(__tstate);
8080 if (PyErr_Occurred()) SWIG_fail;
8081 }
8082 resultobj = SWIG_FromInt((int)result);
8083 return resultobj;
8084 fail:
8085 return NULL;
8086 }
8087
8088
8089 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8090 PyObject *resultobj;
8091 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8092 wxRect *arg2 = 0 ;
8093 wxRect temp2 ;
8094 PyObject * obj0 = 0 ;
8095 PyObject * obj1 = 0 ;
8096 char *kwnames[] = {
8097 (char *) "self",(char *) "rect", NULL
8098 };
8099
8100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
8101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8103 {
8104 arg2 = &temp2;
8105 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8106 }
8107 {
8108 PyThreadState* __tstate = wxPyBeginAllowThreads();
8109 (arg1)->SetRect((wxRect const &)*arg2);
8110
8111 wxPyEndAllowThreads(__tstate);
8112 if (PyErr_Occurred()) SWIG_fail;
8113 }
8114 Py_INCREF(Py_None); resultobj = Py_None;
8115 return resultobj;
8116 fail:
8117 return NULL;
8118 }
8119
8120
8121 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8122 PyObject *resultobj;
8123 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8124 wxRect result;
8125 PyObject * obj0 = 0 ;
8126 char *kwnames[] = {
8127 (char *) "self", NULL
8128 };
8129
8130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
8131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8133 {
8134 PyThreadState* __tstate = wxPyBeginAllowThreads();
8135 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
8136
8137 wxPyEndAllowThreads(__tstate);
8138 if (PyErr_Occurred()) SWIG_fail;
8139 }
8140 {
8141 wxRect * resultptr;
8142 resultptr = new wxRect((wxRect &) result);
8143 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
8144 }
8145 return resultobj;
8146 fail:
8147 return NULL;
8148 }
8149
8150
8151 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
8152 PyObject *obj;
8153 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8154 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
8155 Py_INCREF(obj);
8156 return Py_BuildValue((char *)"");
8157 }
8158 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8159 PyObject *resultobj;
8160 wxWindow *arg1 = (wxWindow *) 0 ;
8161 int arg2 ;
8162 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8163 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8164 wxSize const &arg4_defvalue = wxDefaultSize ;
8165 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8166 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8167 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
8168 wxString *arg6 = (wxString *) &arg6_defvalue ;
8169 wxSashLayoutWindow *result;
8170 wxPoint temp3 ;
8171 wxSize temp4 ;
8172 bool temp6 = False ;
8173 PyObject * obj0 = 0 ;
8174 PyObject * obj1 = 0 ;
8175 PyObject * obj2 = 0 ;
8176 PyObject * obj3 = 0 ;
8177 PyObject * obj4 = 0 ;
8178 PyObject * obj5 = 0 ;
8179 char *kwnames[] = {
8180 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8181 };
8182
8183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8186 arg2 = (int) SWIG_AsInt(obj1);
8187 if (PyErr_Occurred()) SWIG_fail;
8188 if (obj2) {
8189 {
8190 arg3 = &temp3;
8191 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8192 }
8193 }
8194 if (obj3) {
8195 {
8196 arg4 = &temp4;
8197 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8198 }
8199 }
8200 if (obj4) {
8201 arg5 = (long) SWIG_AsLong(obj4);
8202 if (PyErr_Occurred()) SWIG_fail;
8203 }
8204 if (obj5) {
8205 {
8206 arg6 = wxString_in_helper(obj5);
8207 if (arg6 == NULL) SWIG_fail;
8208 temp6 = True;
8209 }
8210 }
8211 {
8212 if (!wxPyCheckForApp()) SWIG_fail;
8213 PyThreadState* __tstate = wxPyBeginAllowThreads();
8214 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8215
8216 wxPyEndAllowThreads(__tstate);
8217 if (PyErr_Occurred()) SWIG_fail;
8218 }
8219 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8220 {
8221 if (temp6)
8222 delete arg6;
8223 }
8224 return resultobj;
8225 fail:
8226 {
8227 if (temp6)
8228 delete arg6;
8229 }
8230 return NULL;
8231 }
8232
8233
8234 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8235 PyObject *resultobj;
8236 wxSashLayoutWindow *result;
8237 char *kwnames[] = {
8238 NULL
8239 };
8240
8241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
8242 {
8243 if (!wxPyCheckForApp()) SWIG_fail;
8244 PyThreadState* __tstate = wxPyBeginAllowThreads();
8245 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
8246
8247 wxPyEndAllowThreads(__tstate);
8248 if (PyErr_Occurred()) SWIG_fail;
8249 }
8250 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8251 return resultobj;
8252 fail:
8253 return NULL;
8254 }
8255
8256
8257 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8258 PyObject *resultobj;
8259 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8260 wxWindow *arg2 = (wxWindow *) 0 ;
8261 int arg3 ;
8262 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8263 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8264 wxSize const &arg5_defvalue = wxDefaultSize ;
8265 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8266 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8267 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
8268 wxString *arg7 = (wxString *) &arg7_defvalue ;
8269 bool result;
8270 wxPoint temp4 ;
8271 wxSize temp5 ;
8272 bool temp7 = False ;
8273 PyObject * obj0 = 0 ;
8274 PyObject * obj1 = 0 ;
8275 PyObject * obj2 = 0 ;
8276 PyObject * obj3 = 0 ;
8277 PyObject * obj4 = 0 ;
8278 PyObject * obj5 = 0 ;
8279 PyObject * obj6 = 0 ;
8280 char *kwnames[] = {
8281 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8282 };
8283
8284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8287 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8289 arg3 = (int) SWIG_AsInt(obj2);
8290 if (PyErr_Occurred()) SWIG_fail;
8291 if (obj3) {
8292 {
8293 arg4 = &temp4;
8294 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8295 }
8296 }
8297 if (obj4) {
8298 {
8299 arg5 = &temp5;
8300 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8301 }
8302 }
8303 if (obj5) {
8304 arg6 = (long) SWIG_AsLong(obj5);
8305 if (PyErr_Occurred()) SWIG_fail;
8306 }
8307 if (obj6) {
8308 {
8309 arg7 = wxString_in_helper(obj6);
8310 if (arg7 == NULL) SWIG_fail;
8311 temp7 = True;
8312 }
8313 }
8314 {
8315 PyThreadState* __tstate = wxPyBeginAllowThreads();
8316 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8317
8318 wxPyEndAllowThreads(__tstate);
8319 if (PyErr_Occurred()) SWIG_fail;
8320 }
8321 {
8322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8323 }
8324 {
8325 if (temp7)
8326 delete arg7;
8327 }
8328 return resultobj;
8329 fail:
8330 {
8331 if (temp7)
8332 delete arg7;
8333 }
8334 return NULL;
8335 }
8336
8337
8338 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8339 PyObject *resultobj;
8340 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8341 int result;
8342 PyObject * obj0 = 0 ;
8343 char *kwnames[] = {
8344 (char *) "self", NULL
8345 };
8346
8347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8350 {
8351 PyThreadState* __tstate = wxPyBeginAllowThreads();
8352 result = (int)(arg1)->GetAlignment();
8353
8354 wxPyEndAllowThreads(__tstate);
8355 if (PyErr_Occurred()) SWIG_fail;
8356 }
8357 resultobj = SWIG_FromInt((int)result);
8358 return resultobj;
8359 fail:
8360 return NULL;
8361 }
8362
8363
8364 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8365 PyObject *resultobj;
8366 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8367 int result;
8368 PyObject * obj0 = 0 ;
8369 char *kwnames[] = {
8370 (char *) "self", NULL
8371 };
8372
8373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8376 {
8377 PyThreadState* __tstate = wxPyBeginAllowThreads();
8378 result = (int)(arg1)->GetOrientation();
8379
8380 wxPyEndAllowThreads(__tstate);
8381 if (PyErr_Occurred()) SWIG_fail;
8382 }
8383 resultobj = SWIG_FromInt((int)result);
8384 return resultobj;
8385 fail:
8386 return NULL;
8387 }
8388
8389
8390 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8391 PyObject *resultobj;
8392 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8393 int arg2 ;
8394 PyObject * obj0 = 0 ;
8395 PyObject * obj1 = 0 ;
8396 char *kwnames[] = {
8397 (char *) "self",(char *) "alignment", NULL
8398 };
8399
8400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8403 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
8404 if (PyErr_Occurred()) SWIG_fail;
8405 {
8406 PyThreadState* __tstate = wxPyBeginAllowThreads();
8407 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8408
8409 wxPyEndAllowThreads(__tstate);
8410 if (PyErr_Occurred()) SWIG_fail;
8411 }
8412 Py_INCREF(Py_None); resultobj = Py_None;
8413 return resultobj;
8414 fail:
8415 return NULL;
8416 }
8417
8418
8419 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8420 PyObject *resultobj;
8421 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8422 wxSize *arg2 = 0 ;
8423 wxSize temp2 ;
8424 PyObject * obj0 = 0 ;
8425 PyObject * obj1 = 0 ;
8426 char *kwnames[] = {
8427 (char *) "self",(char *) "size", NULL
8428 };
8429
8430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8433 {
8434 arg2 = &temp2;
8435 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8436 }
8437 {
8438 PyThreadState* __tstate = wxPyBeginAllowThreads();
8439 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8440
8441 wxPyEndAllowThreads(__tstate);
8442 if (PyErr_Occurred()) SWIG_fail;
8443 }
8444 Py_INCREF(Py_None); resultobj = Py_None;
8445 return resultobj;
8446 fail:
8447 return NULL;
8448 }
8449
8450
8451 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8452 PyObject *resultobj;
8453 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8454 int arg2 ;
8455 PyObject * obj0 = 0 ;
8456 PyObject * obj1 = 0 ;
8457 char *kwnames[] = {
8458 (char *) "self",(char *) "orientation", NULL
8459 };
8460
8461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8464 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
8465 if (PyErr_Occurred()) SWIG_fail;
8466 {
8467 PyThreadState* __tstate = wxPyBeginAllowThreads();
8468 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8469
8470 wxPyEndAllowThreads(__tstate);
8471 if (PyErr_Occurred()) SWIG_fail;
8472 }
8473 Py_INCREF(Py_None); resultobj = Py_None;
8474 return resultobj;
8475 fail:
8476 return NULL;
8477 }
8478
8479
8480 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
8481 PyObject *obj;
8482 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8483 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8484 Py_INCREF(obj);
8485 return Py_BuildValue((char *)"");
8486 }
8487 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8488 PyObject *resultobj;
8489 wxLayoutAlgorithm *result;
8490 char *kwnames[] = {
8491 NULL
8492 };
8493
8494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8495 {
8496 PyThreadState* __tstate = wxPyBeginAllowThreads();
8497 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8498
8499 wxPyEndAllowThreads(__tstate);
8500 if (PyErr_Occurred()) SWIG_fail;
8501 }
8502 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8503 return resultobj;
8504 fail:
8505 return NULL;
8506 }
8507
8508
8509 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8510 PyObject *resultobj;
8511 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8512 PyObject * obj0 = 0 ;
8513 char *kwnames[] = {
8514 (char *) "self", NULL
8515 };
8516
8517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8520 {
8521 PyThreadState* __tstate = wxPyBeginAllowThreads();
8522 delete arg1;
8523
8524 wxPyEndAllowThreads(__tstate);
8525 if (PyErr_Occurred()) SWIG_fail;
8526 }
8527 Py_INCREF(Py_None); resultobj = Py_None;
8528 return resultobj;
8529 fail:
8530 return NULL;
8531 }
8532
8533
8534 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8535 PyObject *resultobj;
8536 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8537 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8538 wxRect *arg3 = (wxRect *) NULL ;
8539 bool result;
8540 PyObject * obj0 = 0 ;
8541 PyObject * obj1 = 0 ;
8542 PyObject * obj2 = 0 ;
8543 char *kwnames[] = {
8544 (char *) "self",(char *) "frame",(char *) "rect", NULL
8545 };
8546
8547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8550 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8552 if (obj2) {
8553 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8555 }
8556 {
8557 PyThreadState* __tstate = wxPyBeginAllowThreads();
8558 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8559
8560 wxPyEndAllowThreads(__tstate);
8561 if (PyErr_Occurred()) SWIG_fail;
8562 }
8563 {
8564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8565 }
8566 return resultobj;
8567 fail:
8568 return NULL;
8569 }
8570
8571
8572 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8573 PyObject *resultobj;
8574 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8575 wxFrame *arg2 = (wxFrame *) 0 ;
8576 wxWindow *arg3 = (wxWindow *) NULL ;
8577 bool result;
8578 PyObject * obj0 = 0 ;
8579 PyObject * obj1 = 0 ;
8580 PyObject * obj2 = 0 ;
8581 char *kwnames[] = {
8582 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8583 };
8584
8585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8588 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8590 if (obj2) {
8591 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8593 }
8594 {
8595 PyThreadState* __tstate = wxPyBeginAllowThreads();
8596 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8597
8598 wxPyEndAllowThreads(__tstate);
8599 if (PyErr_Occurred()) SWIG_fail;
8600 }
8601 {
8602 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8603 }
8604 return resultobj;
8605 fail:
8606 return NULL;
8607 }
8608
8609
8610 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8611 PyObject *resultobj;
8612 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8613 wxWindow *arg2 = (wxWindow *) 0 ;
8614 wxWindow *arg3 = (wxWindow *) NULL ;
8615 bool result;
8616 PyObject * obj0 = 0 ;
8617 PyObject * obj1 = 0 ;
8618 PyObject * obj2 = 0 ;
8619 char *kwnames[] = {
8620 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8621 };
8622
8623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8626 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8628 if (obj2) {
8629 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8631 }
8632 {
8633 PyThreadState* __tstate = wxPyBeginAllowThreads();
8634 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8635
8636 wxPyEndAllowThreads(__tstate);
8637 if (PyErr_Occurred()) SWIG_fail;
8638 }
8639 {
8640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8641 }
8642 return resultobj;
8643 fail:
8644 return NULL;
8645 }
8646
8647
8648 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
8649 PyObject *obj;
8650 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8651 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8652 Py_INCREF(obj);
8653 return Py_BuildValue((char *)"");
8654 }
8655 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8656 PyObject *resultobj;
8657 wxWindow *arg1 = (wxWindow *) 0 ;
8658 int arg2 = (int) wxBORDER_NONE ;
8659 wxPopupWindow *result;
8660 PyObject * obj0 = 0 ;
8661 PyObject * obj1 = 0 ;
8662 char *kwnames[] = {
8663 (char *) "parent",(char *) "flags", NULL
8664 };
8665
8666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8669 if (obj1) {
8670 arg2 = (int) SWIG_AsInt(obj1);
8671 if (PyErr_Occurred()) SWIG_fail;
8672 }
8673 {
8674 if (!wxPyCheckForApp()) SWIG_fail;
8675 PyThreadState* __tstate = wxPyBeginAllowThreads();
8676 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8677
8678 wxPyEndAllowThreads(__tstate);
8679 if (PyErr_Occurred()) SWIG_fail;
8680 }
8681 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8682 return resultobj;
8683 fail:
8684 return NULL;
8685 }
8686
8687
8688 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8689 PyObject *resultobj;
8690 wxPopupWindow *result;
8691 char *kwnames[] = {
8692 NULL
8693 };
8694
8695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8696 {
8697 if (!wxPyCheckForApp()) SWIG_fail;
8698 PyThreadState* __tstate = wxPyBeginAllowThreads();
8699 result = (wxPopupWindow *)new wxPopupWindow();
8700
8701 wxPyEndAllowThreads(__tstate);
8702 if (PyErr_Occurred()) SWIG_fail;
8703 }
8704 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8705 return resultobj;
8706 fail:
8707 return NULL;
8708 }
8709
8710
8711 static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8712 PyObject *resultobj;
8713 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8714 wxWindow *arg2 = (wxWindow *) 0 ;
8715 int arg3 = (int) wxBORDER_NONE ;
8716 bool result;
8717 PyObject * obj0 = 0 ;
8718 PyObject * obj1 = 0 ;
8719 PyObject * obj2 = 0 ;
8720 char *kwnames[] = {
8721 (char *) "self",(char *) "parent",(char *) "flags", NULL
8722 };
8723
8724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
8725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8727 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8729 if (obj2) {
8730 arg3 = (int) SWIG_AsInt(obj2);
8731 if (PyErr_Occurred()) SWIG_fail;
8732 }
8733 {
8734 PyThreadState* __tstate = wxPyBeginAllowThreads();
8735 result = (bool)(arg1)->Create(arg2,arg3);
8736
8737 wxPyEndAllowThreads(__tstate);
8738 if (PyErr_Occurred()) SWIG_fail;
8739 }
8740 {
8741 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8742 }
8743 return resultobj;
8744 fail:
8745 return NULL;
8746 }
8747
8748
8749 static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
8750 PyObject *resultobj;
8751 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8752 wxPoint *arg2 = 0 ;
8753 wxSize *arg3 = 0 ;
8754 wxPoint temp2 ;
8755 wxSize temp3 ;
8756 PyObject * obj0 = 0 ;
8757 PyObject * obj1 = 0 ;
8758 PyObject * obj2 = 0 ;
8759 char *kwnames[] = {
8760 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8761 };
8762
8763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
8764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8766 {
8767 arg2 = &temp2;
8768 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8769 }
8770 {
8771 arg3 = &temp3;
8772 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
8773 }
8774 {
8775 PyThreadState* __tstate = wxPyBeginAllowThreads();
8776 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
8777
8778 wxPyEndAllowThreads(__tstate);
8779 if (PyErr_Occurred()) SWIG_fail;
8780 }
8781 Py_INCREF(Py_None); resultobj = Py_None;
8782 return resultobj;
8783 fail:
8784 return NULL;
8785 }
8786
8787
8788 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
8789 PyObject *obj;
8790 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8791 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
8792 Py_INCREF(obj);
8793 return Py_BuildValue((char *)"");
8794 }
8795 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8796 PyObject *resultobj;
8797 wxWindow *arg1 = (wxWindow *) 0 ;
8798 int arg2 = (int) wxBORDER_NONE ;
8799 wxPyPopupTransientWindow *result;
8800 PyObject * obj0 = 0 ;
8801 PyObject * obj1 = 0 ;
8802 char *kwnames[] = {
8803 (char *) "parent",(char *) "style", NULL
8804 };
8805
8806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
8807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8809 if (obj1) {
8810 arg2 = (int) SWIG_AsInt(obj1);
8811 if (PyErr_Occurred()) SWIG_fail;
8812 }
8813 {
8814 if (!wxPyCheckForApp()) SWIG_fail;
8815 PyThreadState* __tstate = wxPyBeginAllowThreads();
8816 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
8817
8818 wxPyEndAllowThreads(__tstate);
8819 if (PyErr_Occurred()) SWIG_fail;
8820 }
8821 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8822 return resultobj;
8823 fail:
8824 return NULL;
8825 }
8826
8827
8828 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8829 PyObject *resultobj;
8830 wxPyPopupTransientWindow *result;
8831 char *kwnames[] = {
8832 NULL
8833 };
8834
8835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
8836 {
8837 if (!wxPyCheckForApp()) SWIG_fail;
8838 PyThreadState* __tstate = wxPyBeginAllowThreads();
8839 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
8840
8841 wxPyEndAllowThreads(__tstate);
8842 if (PyErr_Occurred()) SWIG_fail;
8843 }
8844 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8845 return resultobj;
8846 fail:
8847 return NULL;
8848 }
8849
8850
8851 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8852 PyObject *resultobj;
8853 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8854 PyObject *arg2 = (PyObject *) 0 ;
8855 PyObject *arg3 = (PyObject *) 0 ;
8856 PyObject * obj0 = 0 ;
8857 PyObject * obj1 = 0 ;
8858 PyObject * obj2 = 0 ;
8859 char *kwnames[] = {
8860 (char *) "self",(char *) "self",(char *) "_class", NULL
8861 };
8862
8863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8866 arg2 = obj1;
8867 arg3 = obj2;
8868 {
8869 PyThreadState* __tstate = wxPyBeginAllowThreads();
8870 (arg1)->_setCallbackInfo(arg2,arg3);
8871
8872 wxPyEndAllowThreads(__tstate);
8873 if (PyErr_Occurred()) SWIG_fail;
8874 }
8875 Py_INCREF(Py_None); resultobj = Py_None;
8876 return resultobj;
8877 fail:
8878 return NULL;
8879 }
8880
8881
8882 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
8883 PyObject *resultobj;
8884 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8885 wxWindow *arg2 = (wxWindow *) NULL ;
8886 PyObject * obj0 = 0 ;
8887 PyObject * obj1 = 0 ;
8888 char *kwnames[] = {
8889 (char *) "self",(char *) "focus", NULL
8890 };
8891
8892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
8893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8895 if (obj1) {
8896 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8898 }
8899 {
8900 PyThreadState* __tstate = wxPyBeginAllowThreads();
8901 (arg1)->Popup(arg2);
8902
8903 wxPyEndAllowThreads(__tstate);
8904 if (PyErr_Occurred()) SWIG_fail;
8905 }
8906 Py_INCREF(Py_None); resultobj = Py_None;
8907 return resultobj;
8908 fail:
8909 return NULL;
8910 }
8911
8912
8913 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
8914 PyObject *resultobj;
8915 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8916 PyObject * obj0 = 0 ;
8917 char *kwnames[] = {
8918 (char *) "self", NULL
8919 };
8920
8921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
8922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8924 {
8925 PyThreadState* __tstate = wxPyBeginAllowThreads();
8926 (arg1)->Dismiss();
8927
8928 wxPyEndAllowThreads(__tstate);
8929 if (PyErr_Occurred()) SWIG_fail;
8930 }
8931 Py_INCREF(Py_None); resultobj = Py_None;
8932 return resultobj;
8933 fail:
8934 return NULL;
8935 }
8936
8937
8938 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
8939 PyObject *obj;
8940 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8941 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
8942 Py_INCREF(obj);
8943 return Py_BuildValue((char *)"");
8944 }
8945 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8946 PyObject *resultobj;
8947 wxWindow *arg1 = (wxWindow *) 0 ;
8948 wxString *arg2 = 0 ;
8949 int arg3 = (int) 100 ;
8950 wxRect *arg4 = (wxRect *) NULL ;
8951 wxTipWindow *result;
8952 bool temp2 = False ;
8953 PyObject * obj0 = 0 ;
8954 PyObject * obj1 = 0 ;
8955 PyObject * obj2 = 0 ;
8956 PyObject * obj3 = 0 ;
8957 char *kwnames[] = {
8958 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8959 };
8960
8961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8964 {
8965 arg2 = wxString_in_helper(obj1);
8966 if (arg2 == NULL) SWIG_fail;
8967 temp2 = True;
8968 }
8969 if (obj2) {
8970 arg3 = (int) SWIG_AsInt(obj2);
8971 if (PyErr_Occurred()) SWIG_fail;
8972 }
8973 if (obj3) {
8974 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
8975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8976 }
8977 {
8978 if (!wxPyCheckForApp()) SWIG_fail;
8979 PyThreadState* __tstate = wxPyBeginAllowThreads();
8980 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
8981
8982 wxPyEndAllowThreads(__tstate);
8983 if (PyErr_Occurred()) SWIG_fail;
8984 }
8985 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
8986 {
8987 if (temp2)
8988 delete arg2;
8989 }
8990 return resultobj;
8991 fail:
8992 {
8993 if (temp2)
8994 delete arg2;
8995 }
8996 return NULL;
8997 }
8998
8999
9000 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
9001 PyObject *resultobj;
9002 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9003 wxRect *arg2 = 0 ;
9004 wxRect temp2 ;
9005 PyObject * obj0 = 0 ;
9006 PyObject * obj1 = 0 ;
9007 char *kwnames[] = {
9008 (char *) "self",(char *) "rectBound", NULL
9009 };
9010
9011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
9012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9014 {
9015 arg2 = &temp2;
9016 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9017 }
9018 {
9019 PyThreadState* __tstate = wxPyBeginAllowThreads();
9020 (arg1)->SetBoundingRect((wxRect const &)*arg2);
9021
9022 wxPyEndAllowThreads(__tstate);
9023 if (PyErr_Occurred()) SWIG_fail;
9024 }
9025 Py_INCREF(Py_None); resultobj = Py_None;
9026 return resultobj;
9027 fail:
9028 return NULL;
9029 }
9030
9031
9032 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
9033 PyObject *resultobj;
9034 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9035 PyObject * obj0 = 0 ;
9036 char *kwnames[] = {
9037 (char *) "self", NULL
9038 };
9039
9040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
9041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9043 {
9044 PyThreadState* __tstate = wxPyBeginAllowThreads();
9045 (arg1)->Close();
9046
9047 wxPyEndAllowThreads(__tstate);
9048 if (PyErr_Occurred()) SWIG_fail;
9049 }
9050 Py_INCREF(Py_None); resultobj = Py_None;
9051 return resultobj;
9052 fail:
9053 return NULL;
9054 }
9055
9056
9057 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
9058 PyObject *obj;
9059 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9060 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
9061 Py_INCREF(obj);
9062 return Py_BuildValue((char *)"");
9063 }
9064 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
9065 PyObject *resultobj;
9066 wxWindow *arg1 = (wxWindow *) 0 ;
9067 int arg2 = (int) wxID_ANY ;
9068 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9069 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9070 wxSize const &arg4_defvalue = wxDefaultSize ;
9071 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9072 long arg5 = (long) 0 ;
9073 wxString const &arg6_defvalue = wxPyPanelNameStr ;
9074 wxString *arg6 = (wxString *) &arg6_defvalue ;
9075 wxPyVScrolledWindow *result;
9076 wxPoint temp3 ;
9077 wxSize temp4 ;
9078 bool temp6 = False ;
9079 PyObject * obj0 = 0 ;
9080 PyObject * obj1 = 0 ;
9081 PyObject * obj2 = 0 ;
9082 PyObject * obj3 = 0 ;
9083 PyObject * obj4 = 0 ;
9084 PyObject * obj5 = 0 ;
9085 char *kwnames[] = {
9086 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9087 };
9088
9089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9092 if (obj1) {
9093 arg2 = (int) SWIG_AsInt(obj1);
9094 if (PyErr_Occurred()) SWIG_fail;
9095 }
9096 if (obj2) {
9097 {
9098 arg3 = &temp3;
9099 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9100 }
9101 }
9102 if (obj3) {
9103 {
9104 arg4 = &temp4;
9105 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9106 }
9107 }
9108 if (obj4) {
9109 arg5 = (long) SWIG_AsLong(obj4);
9110 if (PyErr_Occurred()) SWIG_fail;
9111 }
9112 if (obj5) {
9113 {
9114 arg6 = wxString_in_helper(obj5);
9115 if (arg6 == NULL) SWIG_fail;
9116 temp6 = True;
9117 }
9118 }
9119 {
9120 if (!wxPyCheckForApp()) SWIG_fail;
9121 PyThreadState* __tstate = wxPyBeginAllowThreads();
9122 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9123
9124 wxPyEndAllowThreads(__tstate);
9125 if (PyErr_Occurred()) SWIG_fail;
9126 }
9127 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9128 {
9129 if (temp6)
9130 delete arg6;
9131 }
9132 return resultobj;
9133 fail:
9134 {
9135 if (temp6)
9136 delete arg6;
9137 }
9138 return NULL;
9139 }
9140
9141
9142 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
9143 PyObject *resultobj;
9144 wxPyVScrolledWindow *result;
9145 char *kwnames[] = {
9146 NULL
9147 };
9148
9149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
9150 {
9151 if (!wxPyCheckForApp()) SWIG_fail;
9152 PyThreadState* __tstate = wxPyBeginAllowThreads();
9153 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
9154
9155 wxPyEndAllowThreads(__tstate);
9156 if (PyErr_Occurred()) SWIG_fail;
9157 }
9158 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9159 return resultobj;
9160 fail:
9161 return NULL;
9162 }
9163
9164
9165 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9166 PyObject *resultobj;
9167 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9168 PyObject *arg2 = (PyObject *) 0 ;
9169 PyObject *arg3 = (PyObject *) 0 ;
9170 PyObject * obj0 = 0 ;
9171 PyObject * obj1 = 0 ;
9172 PyObject * obj2 = 0 ;
9173 char *kwnames[] = {
9174 (char *) "self",(char *) "self",(char *) "_class", NULL
9175 };
9176
9177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9180 arg2 = obj1;
9181 arg3 = obj2;
9182 {
9183 PyThreadState* __tstate = wxPyBeginAllowThreads();
9184 (arg1)->_setCallbackInfo(arg2,arg3);
9185
9186 wxPyEndAllowThreads(__tstate);
9187 if (PyErr_Occurred()) SWIG_fail;
9188 }
9189 Py_INCREF(Py_None); resultobj = Py_None;
9190 return resultobj;
9191 fail:
9192 return NULL;
9193 }
9194
9195
9196 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9197 PyObject *resultobj;
9198 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9199 wxWindow *arg2 = (wxWindow *) 0 ;
9200 int arg3 = (int) wxID_ANY ;
9201 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9202 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9203 wxSize const &arg5_defvalue = wxDefaultSize ;
9204 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9205 long arg6 = (long) 0 ;
9206 wxString const &arg7_defvalue = wxPyPanelNameStr ;
9207 wxString *arg7 = (wxString *) &arg7_defvalue ;
9208 bool result;
9209 wxPoint temp4 ;
9210 wxSize temp5 ;
9211 bool temp7 = False ;
9212 PyObject * obj0 = 0 ;
9213 PyObject * obj1 = 0 ;
9214 PyObject * obj2 = 0 ;
9215 PyObject * obj3 = 0 ;
9216 PyObject * obj4 = 0 ;
9217 PyObject * obj5 = 0 ;
9218 PyObject * obj6 = 0 ;
9219 char *kwnames[] = {
9220 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9221 };
9222
9223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9226 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9228 if (obj2) {
9229 arg3 = (int) SWIG_AsInt(obj2);
9230 if (PyErr_Occurred()) SWIG_fail;
9231 }
9232 if (obj3) {
9233 {
9234 arg4 = &temp4;
9235 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9236 }
9237 }
9238 if (obj4) {
9239 {
9240 arg5 = &temp5;
9241 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9242 }
9243 }
9244 if (obj5) {
9245 arg6 = (long) SWIG_AsLong(obj5);
9246 if (PyErr_Occurred()) SWIG_fail;
9247 }
9248 if (obj6) {
9249 {
9250 arg7 = wxString_in_helper(obj6);
9251 if (arg7 == NULL) SWIG_fail;
9252 temp7 = True;
9253 }
9254 }
9255 {
9256 PyThreadState* __tstate = wxPyBeginAllowThreads();
9257 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9258
9259 wxPyEndAllowThreads(__tstate);
9260 if (PyErr_Occurred()) SWIG_fail;
9261 }
9262 {
9263 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9264 }
9265 {
9266 if (temp7)
9267 delete arg7;
9268 }
9269 return resultobj;
9270 fail:
9271 {
9272 if (temp7)
9273 delete arg7;
9274 }
9275 return NULL;
9276 }
9277
9278
9279 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9280 PyObject *resultobj;
9281 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9282 size_t arg2 ;
9283 PyObject * obj0 = 0 ;
9284 PyObject * obj1 = 0 ;
9285 char *kwnames[] = {
9286 (char *) "self",(char *) "count", NULL
9287 };
9288
9289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
9290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9292 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9293 if (PyErr_Occurred()) SWIG_fail;
9294 {
9295 PyThreadState* __tstate = wxPyBeginAllowThreads();
9296 (arg1)->SetLineCount(arg2);
9297
9298 wxPyEndAllowThreads(__tstate);
9299 if (PyErr_Occurred()) SWIG_fail;
9300 }
9301 Py_INCREF(Py_None); resultobj = Py_None;
9302 return resultobj;
9303 fail:
9304 return NULL;
9305 }
9306
9307
9308 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9309 PyObject *resultobj;
9310 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9311 size_t arg2 ;
9312 bool result;
9313 PyObject * obj0 = 0 ;
9314 PyObject * obj1 = 0 ;
9315 char *kwnames[] = {
9316 (char *) "self",(char *) "line", NULL
9317 };
9318
9319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
9320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9322 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9323 if (PyErr_Occurred()) SWIG_fail;
9324 {
9325 PyThreadState* __tstate = wxPyBeginAllowThreads();
9326 result = (bool)(arg1)->ScrollToLine(arg2);
9327
9328 wxPyEndAllowThreads(__tstate);
9329 if (PyErr_Occurred()) SWIG_fail;
9330 }
9331 {
9332 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9333 }
9334 return resultobj;
9335 fail:
9336 return NULL;
9337 }
9338
9339
9340 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9341 PyObject *resultobj;
9342 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9343 int arg2 ;
9344 bool result;
9345 PyObject * obj0 = 0 ;
9346 PyObject * obj1 = 0 ;
9347 char *kwnames[] = {
9348 (char *) "self",(char *) "lines", NULL
9349 };
9350
9351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
9352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9354 arg2 = (int) SWIG_AsInt(obj1);
9355 if (PyErr_Occurred()) SWIG_fail;
9356 {
9357 PyThreadState* __tstate = wxPyBeginAllowThreads();
9358 result = (bool)(arg1)->ScrollLines(arg2);
9359
9360 wxPyEndAllowThreads(__tstate);
9361 if (PyErr_Occurred()) SWIG_fail;
9362 }
9363 {
9364 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9365 }
9366 return resultobj;
9367 fail:
9368 return NULL;
9369 }
9370
9371
9372 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
9373 PyObject *resultobj;
9374 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9375 int arg2 ;
9376 bool result;
9377 PyObject * obj0 = 0 ;
9378 PyObject * obj1 = 0 ;
9379 char *kwnames[] = {
9380 (char *) "self",(char *) "pages", NULL
9381 };
9382
9383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
9384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9386 arg2 = (int) SWIG_AsInt(obj1);
9387 if (PyErr_Occurred()) SWIG_fail;
9388 {
9389 PyThreadState* __tstate = wxPyBeginAllowThreads();
9390 result = (bool)(arg1)->ScrollPages(arg2);
9391
9392 wxPyEndAllowThreads(__tstate);
9393 if (PyErr_Occurred()) SWIG_fail;
9394 }
9395 {
9396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9397 }
9398 return resultobj;
9399 fail:
9400 return NULL;
9401 }
9402
9403
9404 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9405 PyObject *resultobj;
9406 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9407 size_t arg2 ;
9408 PyObject * obj0 = 0 ;
9409 PyObject * obj1 = 0 ;
9410 char *kwnames[] = {
9411 (char *) "self",(char *) "line", NULL
9412 };
9413
9414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9417 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9418 if (PyErr_Occurred()) SWIG_fail;
9419 {
9420 PyThreadState* __tstate = wxPyBeginAllowThreads();
9421 (arg1)->RefreshLine(arg2);
9422
9423 wxPyEndAllowThreads(__tstate);
9424 if (PyErr_Occurred()) SWIG_fail;
9425 }
9426 Py_INCREF(Py_None); resultobj = Py_None;
9427 return resultobj;
9428 fail:
9429 return NULL;
9430 }
9431
9432
9433 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9434 PyObject *resultobj;
9435 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9436 size_t arg2 ;
9437 size_t arg3 ;
9438 PyObject * obj0 = 0 ;
9439 PyObject * obj1 = 0 ;
9440 PyObject * obj2 = 0 ;
9441 char *kwnames[] = {
9442 (char *) "self",(char *) "from",(char *) "to", NULL
9443 };
9444
9445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9448 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9449 if (PyErr_Occurred()) SWIG_fail;
9450 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9451 if (PyErr_Occurred()) SWIG_fail;
9452 {
9453 PyThreadState* __tstate = wxPyBeginAllowThreads();
9454 (arg1)->RefreshLines(arg2,arg3);
9455
9456 wxPyEndAllowThreads(__tstate);
9457 if (PyErr_Occurred()) SWIG_fail;
9458 }
9459 Py_INCREF(Py_None); resultobj = Py_None;
9460 return resultobj;
9461 fail:
9462 return NULL;
9463 }
9464
9465
9466 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
9467 PyObject *resultobj;
9468 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9469 int arg2 ;
9470 int arg3 ;
9471 int result;
9472 PyObject * obj0 = 0 ;
9473 PyObject * obj1 = 0 ;
9474 PyObject * obj2 = 0 ;
9475 char *kwnames[] = {
9476 (char *) "self",(char *) "x",(char *) "y", NULL
9477 };
9478
9479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail;
9480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9482 arg2 = (int) SWIG_AsInt(obj1);
9483 if (PyErr_Occurred()) SWIG_fail;
9484 arg3 = (int) SWIG_AsInt(obj2);
9485 if (PyErr_Occurred()) SWIG_fail;
9486 {
9487 PyThreadState* __tstate = wxPyBeginAllowThreads();
9488 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9489
9490 wxPyEndAllowThreads(__tstate);
9491 if (PyErr_Occurred()) SWIG_fail;
9492 }
9493 resultobj = SWIG_FromInt((int)result);
9494 return resultobj;
9495 fail:
9496 return NULL;
9497 }
9498
9499
9500 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9501 PyObject *resultobj;
9502 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9503 wxPoint *arg2 = 0 ;
9504 int result;
9505 wxPoint temp2 ;
9506 PyObject * obj0 = 0 ;
9507 PyObject * obj1 = 0 ;
9508 char *kwnames[] = {
9509 (char *) "self",(char *) "pt", NULL
9510 };
9511
9512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9515 {
9516 arg2 = &temp2;
9517 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9518 }
9519 {
9520 PyThreadState* __tstate = wxPyBeginAllowThreads();
9521 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9522
9523 wxPyEndAllowThreads(__tstate);
9524 if (PyErr_Occurred()) SWIG_fail;
9525 }
9526 resultobj = SWIG_FromInt((int)result);
9527 return resultobj;
9528 fail:
9529 return NULL;
9530 }
9531
9532
9533 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9534 PyObject *resultobj;
9535 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9536 PyObject * obj0 = 0 ;
9537 char *kwnames[] = {
9538 (char *) "self", NULL
9539 };
9540
9541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9544 {
9545 PyThreadState* __tstate = wxPyBeginAllowThreads();
9546 (arg1)->RefreshAll();
9547
9548 wxPyEndAllowThreads(__tstate);
9549 if (PyErr_Occurred()) SWIG_fail;
9550 }
9551 Py_INCREF(Py_None); resultobj = Py_None;
9552 return resultobj;
9553 fail:
9554 return NULL;
9555 }
9556
9557
9558 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9559 PyObject *resultobj;
9560 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9561 size_t result;
9562 PyObject * obj0 = 0 ;
9563 char *kwnames[] = {
9564 (char *) "self", NULL
9565 };
9566
9567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9570 {
9571 PyThreadState* __tstate = wxPyBeginAllowThreads();
9572 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9573
9574 wxPyEndAllowThreads(__tstate);
9575 if (PyErr_Occurred()) SWIG_fail;
9576 }
9577 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9578 return resultobj;
9579 fail:
9580 return NULL;
9581 }
9582
9583
9584 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9585 PyObject *resultobj;
9586 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9587 size_t result;
9588 PyObject * obj0 = 0 ;
9589 char *kwnames[] = {
9590 (char *) "self", NULL
9591 };
9592
9593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9596 {
9597 PyThreadState* __tstate = wxPyBeginAllowThreads();
9598 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9599
9600 wxPyEndAllowThreads(__tstate);
9601 if (PyErr_Occurred()) SWIG_fail;
9602 }
9603 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9604 return resultobj;
9605 fail:
9606 return NULL;
9607 }
9608
9609
9610 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9611 PyObject *resultobj;
9612 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9613 size_t result;
9614 PyObject * obj0 = 0 ;
9615 char *kwnames[] = {
9616 (char *) "self", NULL
9617 };
9618
9619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9622 {
9623 PyThreadState* __tstate = wxPyBeginAllowThreads();
9624 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9625
9626 wxPyEndAllowThreads(__tstate);
9627 if (PyErr_Occurred()) SWIG_fail;
9628 }
9629 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9630 return resultobj;
9631 fail:
9632 return NULL;
9633 }
9634
9635
9636 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9637 PyObject *resultobj;
9638 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9639 size_t arg2 ;
9640 bool result;
9641 PyObject * obj0 = 0 ;
9642 PyObject * obj1 = 0 ;
9643 char *kwnames[] = {
9644 (char *) "self",(char *) "line", NULL
9645 };
9646
9647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9650 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9651 if (PyErr_Occurred()) SWIG_fail;
9652 {
9653 PyThreadState* __tstate = wxPyBeginAllowThreads();
9654 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9655
9656 wxPyEndAllowThreads(__tstate);
9657 if (PyErr_Occurred()) SWIG_fail;
9658 }
9659 {
9660 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9661 }
9662 return resultobj;
9663 fail:
9664 return NULL;
9665 }
9666
9667
9668 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
9669 PyObject *obj;
9670 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9671 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9672 Py_INCREF(obj);
9673 return Py_BuildValue((char *)"");
9674 }
9675 static int _wrap_VListBoxNameStr_set(PyObject *_val) {
9676 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9677 return 1;
9678 }
9679
9680
9681 static PyObject *_wrap_VListBoxNameStr_get() {
9682 PyObject *pyobj;
9683
9684 {
9685 #if wxUSE_UNICODE
9686 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9687 #else
9688 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9689 #endif
9690 }
9691 return pyobj;
9692 }
9693
9694
9695 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9696 PyObject *resultobj;
9697 wxWindow *arg1 = (wxWindow *) 0 ;
9698 int arg2 = (int) wxID_ANY ;
9699 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9700 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9701 wxSize const &arg4_defvalue = wxDefaultSize ;
9702 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9703 long arg5 = (long) 0 ;
9704 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9705 wxString *arg6 = (wxString *) &arg6_defvalue ;
9706 wxPyVListBox *result;
9707 wxPoint temp3 ;
9708 wxSize temp4 ;
9709 bool temp6 = False ;
9710 PyObject * obj0 = 0 ;
9711 PyObject * obj1 = 0 ;
9712 PyObject * obj2 = 0 ;
9713 PyObject * obj3 = 0 ;
9714 PyObject * obj4 = 0 ;
9715 PyObject * obj5 = 0 ;
9716 char *kwnames[] = {
9717 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9718 };
9719
9720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9723 if (obj1) {
9724 arg2 = (int) SWIG_AsInt(obj1);
9725 if (PyErr_Occurred()) SWIG_fail;
9726 }
9727 if (obj2) {
9728 {
9729 arg3 = &temp3;
9730 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9731 }
9732 }
9733 if (obj3) {
9734 {
9735 arg4 = &temp4;
9736 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9737 }
9738 }
9739 if (obj4) {
9740 arg5 = (long) SWIG_AsLong(obj4);
9741 if (PyErr_Occurred()) SWIG_fail;
9742 }
9743 if (obj5) {
9744 {
9745 arg6 = wxString_in_helper(obj5);
9746 if (arg6 == NULL) SWIG_fail;
9747 temp6 = True;
9748 }
9749 }
9750 {
9751 if (!wxPyCheckForApp()) SWIG_fail;
9752 PyThreadState* __tstate = wxPyBeginAllowThreads();
9753 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9754
9755 wxPyEndAllowThreads(__tstate);
9756 if (PyErr_Occurred()) SWIG_fail;
9757 }
9758 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9759 {
9760 if (temp6)
9761 delete arg6;
9762 }
9763 return resultobj;
9764 fail:
9765 {
9766 if (temp6)
9767 delete arg6;
9768 }
9769 return NULL;
9770 }
9771
9772
9773 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9774 PyObject *resultobj;
9775 wxPyVListBox *result;
9776 char *kwnames[] = {
9777 NULL
9778 };
9779
9780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9781 {
9782 if (!wxPyCheckForApp()) SWIG_fail;
9783 PyThreadState* __tstate = wxPyBeginAllowThreads();
9784 result = (wxPyVListBox *)new wxPyVListBox();
9785
9786 wxPyEndAllowThreads(__tstate);
9787 if (PyErr_Occurred()) SWIG_fail;
9788 }
9789 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9790 return resultobj;
9791 fail:
9792 return NULL;
9793 }
9794
9795
9796 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9797 PyObject *resultobj;
9798 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9799 PyObject *arg2 = (PyObject *) 0 ;
9800 PyObject *arg3 = (PyObject *) 0 ;
9801 PyObject * obj0 = 0 ;
9802 PyObject * obj1 = 0 ;
9803 PyObject * obj2 = 0 ;
9804 char *kwnames[] = {
9805 (char *) "self",(char *) "self",(char *) "_class", NULL
9806 };
9807
9808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9811 arg2 = obj1;
9812 arg3 = obj2;
9813 {
9814 PyThreadState* __tstate = wxPyBeginAllowThreads();
9815 (arg1)->_setCallbackInfo(arg2,arg3);
9816
9817 wxPyEndAllowThreads(__tstate);
9818 if (PyErr_Occurred()) SWIG_fail;
9819 }
9820 Py_INCREF(Py_None); resultobj = Py_None;
9821 return resultobj;
9822 fail:
9823 return NULL;
9824 }
9825
9826
9827 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9828 PyObject *resultobj;
9829 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9830 wxWindow *arg2 = (wxWindow *) 0 ;
9831 int arg3 = (int) wxID_ANY ;
9832 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9833 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9834 wxSize const &arg5_defvalue = wxDefaultSize ;
9835 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9836 long arg6 = (long) 0 ;
9837 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9838 wxString *arg7 = (wxString *) &arg7_defvalue ;
9839 bool result;
9840 wxPoint temp4 ;
9841 wxSize temp5 ;
9842 bool temp7 = False ;
9843 PyObject * obj0 = 0 ;
9844 PyObject * obj1 = 0 ;
9845 PyObject * obj2 = 0 ;
9846 PyObject * obj3 = 0 ;
9847 PyObject * obj4 = 0 ;
9848 PyObject * obj5 = 0 ;
9849 PyObject * obj6 = 0 ;
9850 char *kwnames[] = {
9851 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9852 };
9853
9854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9857 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9859 if (obj2) {
9860 arg3 = (int) SWIG_AsInt(obj2);
9861 if (PyErr_Occurred()) SWIG_fail;
9862 }
9863 if (obj3) {
9864 {
9865 arg4 = &temp4;
9866 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9867 }
9868 }
9869 if (obj4) {
9870 {
9871 arg5 = &temp5;
9872 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9873 }
9874 }
9875 if (obj5) {
9876 arg6 = (long) SWIG_AsLong(obj5);
9877 if (PyErr_Occurred()) SWIG_fail;
9878 }
9879 if (obj6) {
9880 {
9881 arg7 = wxString_in_helper(obj6);
9882 if (arg7 == NULL) SWIG_fail;
9883 temp7 = True;
9884 }
9885 }
9886 {
9887 PyThreadState* __tstate = wxPyBeginAllowThreads();
9888 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9889
9890 wxPyEndAllowThreads(__tstate);
9891 if (PyErr_Occurred()) SWIG_fail;
9892 }
9893 {
9894 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9895 }
9896 {
9897 if (temp7)
9898 delete arg7;
9899 }
9900 return resultobj;
9901 fail:
9902 {
9903 if (temp7)
9904 delete arg7;
9905 }
9906 return NULL;
9907 }
9908
9909
9910 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9911 PyObject *resultobj;
9912 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9913 size_t result;
9914 PyObject * obj0 = 0 ;
9915 char *kwnames[] = {
9916 (char *) "self", NULL
9917 };
9918
9919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
9920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9922 {
9923 PyThreadState* __tstate = wxPyBeginAllowThreads();
9924 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
9925
9926 wxPyEndAllowThreads(__tstate);
9927 if (PyErr_Occurred()) SWIG_fail;
9928 }
9929 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9930 return resultobj;
9931 fail:
9932 return NULL;
9933 }
9934
9935
9936 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9937 PyObject *resultobj;
9938 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9939 bool result;
9940 PyObject * obj0 = 0 ;
9941 char *kwnames[] = {
9942 (char *) "self", NULL
9943 };
9944
9945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
9946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9948 {
9949 PyThreadState* __tstate = wxPyBeginAllowThreads();
9950 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
9951
9952 wxPyEndAllowThreads(__tstate);
9953 if (PyErr_Occurred()) SWIG_fail;
9954 }
9955 {
9956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9957 }
9958 return resultobj;
9959 fail:
9960 return NULL;
9961 }
9962
9963
9964 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9965 PyObject *resultobj;
9966 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9967 int result;
9968 PyObject * obj0 = 0 ;
9969 char *kwnames[] = {
9970 (char *) "self", NULL
9971 };
9972
9973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
9974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9976 {
9977 PyThreadState* __tstate = wxPyBeginAllowThreads();
9978 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
9979
9980 wxPyEndAllowThreads(__tstate);
9981 if (PyErr_Occurred()) SWIG_fail;
9982 }
9983 resultobj = SWIG_FromInt((int)result);
9984 return resultobj;
9985 fail:
9986 return NULL;
9987 }
9988
9989
9990 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
9991 PyObject *resultobj;
9992 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9993 size_t arg2 ;
9994 bool result;
9995 PyObject * obj0 = 0 ;
9996 PyObject * obj1 = 0 ;
9997 char *kwnames[] = {
9998 (char *) "self",(char *) "item", NULL
9999 };
10000
10001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
10002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10004 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10005 if (PyErr_Occurred()) SWIG_fail;
10006 {
10007 PyThreadState* __tstate = wxPyBeginAllowThreads();
10008 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
10009
10010 wxPyEndAllowThreads(__tstate);
10011 if (PyErr_Occurred()) SWIG_fail;
10012 }
10013 {
10014 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10015 }
10016 return resultobj;
10017 fail:
10018 return NULL;
10019 }
10020
10021
10022 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
10023 PyObject *resultobj;
10024 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10025 size_t arg2 ;
10026 bool result;
10027 PyObject * obj0 = 0 ;
10028 PyObject * obj1 = 0 ;
10029 char *kwnames[] = {
10030 (char *) "self",(char *) "item", NULL
10031 };
10032
10033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
10034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10036 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10037 if (PyErr_Occurred()) SWIG_fail;
10038 {
10039 PyThreadState* __tstate = wxPyBeginAllowThreads();
10040 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
10041
10042 wxPyEndAllowThreads(__tstate);
10043 if (PyErr_Occurred()) SWIG_fail;
10044 }
10045 {
10046 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10047 }
10048 return resultobj;
10049 fail:
10050 return NULL;
10051 }
10052
10053
10054 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10055 PyObject *resultobj;
10056 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10057 size_t result;
10058 PyObject * obj0 = 0 ;
10059 char *kwnames[] = {
10060 (char *) "self", NULL
10061 };
10062
10063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
10064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10066 {
10067 PyThreadState* __tstate = wxPyBeginAllowThreads();
10068 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
10069
10070 wxPyEndAllowThreads(__tstate);
10071 if (PyErr_Occurred()) SWIG_fail;
10072 }
10073 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
10074 return resultobj;
10075 fail:
10076 return NULL;
10077 }
10078
10079
10080 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
10081 PyObject *resultobj;
10082 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10083 unsigned long *arg2 = 0 ;
10084 int result;
10085 PyObject * obj0 = 0 ;
10086 PyObject * obj1 = 0 ;
10087 char *kwnames[] = {
10088 (char *) "self",(char *) "cookie", NULL
10089 };
10090
10091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
10092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10094 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
10095 SWIG_POINTER_EXCEPTION | 0)) == -1)
10096 SWIG_fail;
10097 if (arg2 == NULL) {
10098 PyErr_SetString(PyExc_TypeError,"null reference");
10099 SWIG_fail;
10100 }
10101 {
10102 PyThreadState* __tstate = wxPyBeginAllowThreads();
10103 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
10104
10105 wxPyEndAllowThreads(__tstate);
10106 if (PyErr_Occurred()) SWIG_fail;
10107 }
10108 resultobj = SWIG_FromInt((int)result);
10109 return resultobj;
10110 fail:
10111 return NULL;
10112 }
10113
10114
10115 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
10116 PyObject *resultobj;
10117 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10118 unsigned long *arg2 = 0 ;
10119 int result;
10120 PyObject * obj0 = 0 ;
10121 PyObject * obj1 = 0 ;
10122 char *kwnames[] = {
10123 (char *) "self",(char *) "cookie", NULL
10124 };
10125
10126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
10127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10129 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
10130 SWIG_POINTER_EXCEPTION | 0)) == -1)
10131 SWIG_fail;
10132 if (arg2 == NULL) {
10133 PyErr_SetString(PyExc_TypeError,"null reference");
10134 SWIG_fail;
10135 }
10136 {
10137 PyThreadState* __tstate = wxPyBeginAllowThreads();
10138 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
10139
10140 wxPyEndAllowThreads(__tstate);
10141 if (PyErr_Occurred()) SWIG_fail;
10142 }
10143 resultobj = SWIG_FromInt((int)result);
10144 return resultobj;
10145 fail:
10146 return NULL;
10147 }
10148
10149
10150 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10151 PyObject *resultobj;
10152 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10153 wxPoint result;
10154 PyObject * obj0 = 0 ;
10155 char *kwnames[] = {
10156 (char *) "self", NULL
10157 };
10158
10159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
10160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10162 {
10163 PyThreadState* __tstate = wxPyBeginAllowThreads();
10164 result = ((wxPyVListBox const *)arg1)->GetMargins();
10165
10166 wxPyEndAllowThreads(__tstate);
10167 if (PyErr_Occurred()) SWIG_fail;
10168 }
10169 {
10170 wxPoint * resultptr;
10171 resultptr = new wxPoint((wxPoint &) result);
10172 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
10173 }
10174 return resultobj;
10175 fail:
10176 return NULL;
10177 }
10178
10179
10180 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10181 PyObject *resultobj;
10182 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10183 wxColour *result;
10184 PyObject * obj0 = 0 ;
10185 char *kwnames[] = {
10186 (char *) "self", NULL
10187 };
10188
10189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
10190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10192 {
10193 PyThreadState* __tstate = wxPyBeginAllowThreads();
10194 {
10195 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
10196 result = (wxColour *) &_result_ref;
10197 }
10198
10199 wxPyEndAllowThreads(__tstate);
10200 if (PyErr_Occurred()) SWIG_fail;
10201 }
10202 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
10203 return resultobj;
10204 fail:
10205 return NULL;
10206 }
10207
10208
10209 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10210 PyObject *resultobj;
10211 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10212 size_t arg2 ;
10213 PyObject * obj0 = 0 ;
10214 PyObject * obj1 = 0 ;
10215 char *kwnames[] = {
10216 (char *) "self",(char *) "count", NULL
10217 };
10218
10219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10222 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10223 if (PyErr_Occurred()) SWIG_fail;
10224 {
10225 PyThreadState* __tstate = wxPyBeginAllowThreads();
10226 (arg1)->SetItemCount(arg2);
10227
10228 wxPyEndAllowThreads(__tstate);
10229 if (PyErr_Occurred()) SWIG_fail;
10230 }
10231 Py_INCREF(Py_None); resultobj = Py_None;
10232 return resultobj;
10233 fail:
10234 return NULL;
10235 }
10236
10237
10238 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
10239 PyObject *resultobj;
10240 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10241 PyObject * obj0 = 0 ;
10242 char *kwnames[] = {
10243 (char *) "self", NULL
10244 };
10245
10246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
10247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10249 {
10250 PyThreadState* __tstate = wxPyBeginAllowThreads();
10251 (arg1)->Clear();
10252
10253 wxPyEndAllowThreads(__tstate);
10254 if (PyErr_Occurred()) SWIG_fail;
10255 }
10256 Py_INCREF(Py_None); resultobj = Py_None;
10257 return resultobj;
10258 fail:
10259 return NULL;
10260 }
10261
10262
10263 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10264 PyObject *resultobj;
10265 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10266 int arg2 ;
10267 PyObject * obj0 = 0 ;
10268 PyObject * obj1 = 0 ;
10269 char *kwnames[] = {
10270 (char *) "self",(char *) "selection", NULL
10271 };
10272
10273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
10274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10276 arg2 = (int) SWIG_AsInt(obj1);
10277 if (PyErr_Occurred()) SWIG_fail;
10278 {
10279 PyThreadState* __tstate = wxPyBeginAllowThreads();
10280 (arg1)->SetSelection(arg2);
10281
10282 wxPyEndAllowThreads(__tstate);
10283 if (PyErr_Occurred()) SWIG_fail;
10284 }
10285 Py_INCREF(Py_None); resultobj = Py_None;
10286 return resultobj;
10287 fail:
10288 return NULL;
10289 }
10290
10291
10292 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
10293 PyObject *resultobj;
10294 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10295 size_t arg2 ;
10296 bool arg3 = (bool) True ;
10297 bool result;
10298 PyObject * obj0 = 0 ;
10299 PyObject * obj1 = 0 ;
10300 PyObject * obj2 = 0 ;
10301 char *kwnames[] = {
10302 (char *) "self",(char *) "item",(char *) "select", NULL
10303 };
10304
10305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
10306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10308 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10309 if (PyErr_Occurred()) SWIG_fail;
10310 if (obj2) {
10311 arg3 = (bool) SWIG_AsBool(obj2);
10312 if (PyErr_Occurred()) SWIG_fail;
10313 }
10314 {
10315 PyThreadState* __tstate = wxPyBeginAllowThreads();
10316 result = (bool)(arg1)->Select(arg2,arg3);
10317
10318 wxPyEndAllowThreads(__tstate);
10319 if (PyErr_Occurred()) SWIG_fail;
10320 }
10321 {
10322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10323 }
10324 return resultobj;
10325 fail:
10326 return NULL;
10327 }
10328
10329
10330 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10331 PyObject *resultobj;
10332 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10333 size_t arg2 ;
10334 size_t arg3 ;
10335 bool result;
10336 PyObject * obj0 = 0 ;
10337 PyObject * obj1 = 0 ;
10338 PyObject * obj2 = 0 ;
10339 char *kwnames[] = {
10340 (char *) "self",(char *) "from",(char *) "to", NULL
10341 };
10342
10343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10346 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10347 if (PyErr_Occurred()) SWIG_fail;
10348 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
10349 if (PyErr_Occurred()) SWIG_fail;
10350 {
10351 PyThreadState* __tstate = wxPyBeginAllowThreads();
10352 result = (bool)(arg1)->SelectRange(arg2,arg3);
10353
10354 wxPyEndAllowThreads(__tstate);
10355 if (PyErr_Occurred()) SWIG_fail;
10356 }
10357 {
10358 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10359 }
10360 return resultobj;
10361 fail:
10362 return NULL;
10363 }
10364
10365
10366 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
10367 PyObject *resultobj;
10368 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10369 size_t arg2 ;
10370 PyObject * obj0 = 0 ;
10371 PyObject * obj1 = 0 ;
10372 char *kwnames[] = {
10373 (char *) "self",(char *) "item", NULL
10374 };
10375
10376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
10377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10379 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10380 if (PyErr_Occurred()) SWIG_fail;
10381 {
10382 PyThreadState* __tstate = wxPyBeginAllowThreads();
10383 (arg1)->Toggle(arg2);
10384
10385 wxPyEndAllowThreads(__tstate);
10386 if (PyErr_Occurred()) SWIG_fail;
10387 }
10388 Py_INCREF(Py_None); resultobj = Py_None;
10389 return resultobj;
10390 fail:
10391 return NULL;
10392 }
10393
10394
10395 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10396 PyObject *resultobj;
10397 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10398 bool result;
10399 PyObject * obj0 = 0 ;
10400 char *kwnames[] = {
10401 (char *) "self", NULL
10402 };
10403
10404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10407 {
10408 PyThreadState* __tstate = wxPyBeginAllowThreads();
10409 result = (bool)(arg1)->SelectAll();
10410
10411 wxPyEndAllowThreads(__tstate);
10412 if (PyErr_Occurred()) SWIG_fail;
10413 }
10414 {
10415 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10416 }
10417 return resultobj;
10418 fail:
10419 return NULL;
10420 }
10421
10422
10423 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10424 PyObject *resultobj;
10425 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10426 bool result;
10427 PyObject * obj0 = 0 ;
10428 char *kwnames[] = {
10429 (char *) "self", NULL
10430 };
10431
10432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10435 {
10436 PyThreadState* __tstate = wxPyBeginAllowThreads();
10437 result = (bool)(arg1)->DeselectAll();
10438
10439 wxPyEndAllowThreads(__tstate);
10440 if (PyErr_Occurred()) SWIG_fail;
10441 }
10442 {
10443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10444 }
10445 return resultobj;
10446 fail:
10447 return NULL;
10448 }
10449
10450
10451 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10452 PyObject *resultobj;
10453 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10454 wxPoint *arg2 = 0 ;
10455 wxPoint temp2 ;
10456 PyObject * obj0 = 0 ;
10457 PyObject * obj1 = 0 ;
10458 char *kwnames[] = {
10459 (char *) "self",(char *) "pt", NULL
10460 };
10461
10462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10465 {
10466 arg2 = &temp2;
10467 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10468 }
10469 {
10470 PyThreadState* __tstate = wxPyBeginAllowThreads();
10471 (arg1)->SetMargins((wxPoint const &)*arg2);
10472
10473 wxPyEndAllowThreads(__tstate);
10474 if (PyErr_Occurred()) SWIG_fail;
10475 }
10476 Py_INCREF(Py_None); resultobj = Py_None;
10477 return resultobj;
10478 fail:
10479 return NULL;
10480 }
10481
10482
10483 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
10484 PyObject *resultobj;
10485 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10486 int arg2 ;
10487 int arg3 ;
10488 PyObject * obj0 = 0 ;
10489 PyObject * obj1 = 0 ;
10490 PyObject * obj2 = 0 ;
10491 char *kwnames[] = {
10492 (char *) "self",(char *) "x",(char *) "y", NULL
10493 };
10494
10495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10498 arg2 = (int) SWIG_AsInt(obj1);
10499 if (PyErr_Occurred()) SWIG_fail;
10500 arg3 = (int) SWIG_AsInt(obj2);
10501 if (PyErr_Occurred()) SWIG_fail;
10502 {
10503 PyThreadState* __tstate = wxPyBeginAllowThreads();
10504 (arg1)->SetMargins(arg2,arg3);
10505
10506 wxPyEndAllowThreads(__tstate);
10507 if (PyErr_Occurred()) SWIG_fail;
10508 }
10509 Py_INCREF(Py_None); resultobj = Py_None;
10510 return resultobj;
10511 fail:
10512 return NULL;
10513 }
10514
10515
10516 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10517 PyObject *resultobj;
10518 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10519 wxColour *arg2 = 0 ;
10520 wxColour temp2 ;
10521 PyObject * obj0 = 0 ;
10522 PyObject * obj1 = 0 ;
10523 char *kwnames[] = {
10524 (char *) "self",(char *) "col", NULL
10525 };
10526
10527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10530 {
10531 arg2 = &temp2;
10532 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10533 }
10534 {
10535 PyThreadState* __tstate = wxPyBeginAllowThreads();
10536 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10537
10538 wxPyEndAllowThreads(__tstate);
10539 if (PyErr_Occurred()) SWIG_fail;
10540 }
10541 Py_INCREF(Py_None); resultobj = Py_None;
10542 return resultobj;
10543 fail:
10544 return NULL;
10545 }
10546
10547
10548 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
10549 PyObject *obj;
10550 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10551 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10552 Py_INCREF(obj);
10553 return Py_BuildValue((char *)"");
10554 }
10555 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10556 PyObject *resultobj;
10557 wxWindow *arg1 = (wxWindow *) 0 ;
10558 int arg2 = (int) wxID_ANY ;
10559 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10560 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10561 wxSize const &arg4_defvalue = wxDefaultSize ;
10562 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10563 long arg5 = (long) 0 ;
10564 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10565 wxString *arg6 = (wxString *) &arg6_defvalue ;
10566 wxPyHtmlListBox *result;
10567 wxPoint temp3 ;
10568 wxSize temp4 ;
10569 bool temp6 = False ;
10570 PyObject * obj0 = 0 ;
10571 PyObject * obj1 = 0 ;
10572 PyObject * obj2 = 0 ;
10573 PyObject * obj3 = 0 ;
10574 PyObject * obj4 = 0 ;
10575 PyObject * obj5 = 0 ;
10576 char *kwnames[] = {
10577 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10578 };
10579
10580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10583 if (obj1) {
10584 arg2 = (int) SWIG_AsInt(obj1);
10585 if (PyErr_Occurred()) SWIG_fail;
10586 }
10587 if (obj2) {
10588 {
10589 arg3 = &temp3;
10590 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10591 }
10592 }
10593 if (obj3) {
10594 {
10595 arg4 = &temp4;
10596 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10597 }
10598 }
10599 if (obj4) {
10600 arg5 = (long) SWIG_AsLong(obj4);
10601 if (PyErr_Occurred()) SWIG_fail;
10602 }
10603 if (obj5) {
10604 {
10605 arg6 = wxString_in_helper(obj5);
10606 if (arg6 == NULL) SWIG_fail;
10607 temp6 = True;
10608 }
10609 }
10610 {
10611 if (!wxPyCheckForApp()) SWIG_fail;
10612 PyThreadState* __tstate = wxPyBeginAllowThreads();
10613 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10614
10615 wxPyEndAllowThreads(__tstate);
10616 if (PyErr_Occurred()) SWIG_fail;
10617 }
10618 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10619 {
10620 if (temp6)
10621 delete arg6;
10622 }
10623 return resultobj;
10624 fail:
10625 {
10626 if (temp6)
10627 delete arg6;
10628 }
10629 return NULL;
10630 }
10631
10632
10633 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10634 PyObject *resultobj;
10635 wxPyHtmlListBox *result;
10636 char *kwnames[] = {
10637 NULL
10638 };
10639
10640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10641 {
10642 if (!wxPyCheckForApp()) SWIG_fail;
10643 PyThreadState* __tstate = wxPyBeginAllowThreads();
10644 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10645
10646 wxPyEndAllowThreads(__tstate);
10647 if (PyErr_Occurred()) SWIG_fail;
10648 }
10649 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10650 return resultobj;
10651 fail:
10652 return NULL;
10653 }
10654
10655
10656 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10657 PyObject *resultobj;
10658 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10659 PyObject *arg2 = (PyObject *) 0 ;
10660 PyObject *arg3 = (PyObject *) 0 ;
10661 PyObject * obj0 = 0 ;
10662 PyObject * obj1 = 0 ;
10663 PyObject * obj2 = 0 ;
10664 char *kwnames[] = {
10665 (char *) "self",(char *) "self",(char *) "_class", NULL
10666 };
10667
10668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10671 arg2 = obj1;
10672 arg3 = obj2;
10673 {
10674 PyThreadState* __tstate = wxPyBeginAllowThreads();
10675 (arg1)->_setCallbackInfo(arg2,arg3);
10676
10677 wxPyEndAllowThreads(__tstate);
10678 if (PyErr_Occurred()) SWIG_fail;
10679 }
10680 Py_INCREF(Py_None); resultobj = Py_None;
10681 return resultobj;
10682 fail:
10683 return NULL;
10684 }
10685
10686
10687 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10688 PyObject *resultobj;
10689 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10690 wxWindow *arg2 = (wxWindow *) 0 ;
10691 int arg3 = (int) wxID_ANY ;
10692 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10693 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10694 wxSize const &arg5_defvalue = wxDefaultSize ;
10695 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10696 long arg6 = (long) 0 ;
10697 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10698 wxString *arg7 = (wxString *) &arg7_defvalue ;
10699 bool result;
10700 wxPoint temp4 ;
10701 wxSize temp5 ;
10702 bool temp7 = False ;
10703 PyObject * obj0 = 0 ;
10704 PyObject * obj1 = 0 ;
10705 PyObject * obj2 = 0 ;
10706 PyObject * obj3 = 0 ;
10707 PyObject * obj4 = 0 ;
10708 PyObject * obj5 = 0 ;
10709 PyObject * obj6 = 0 ;
10710 char *kwnames[] = {
10711 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10712 };
10713
10714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10717 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10719 if (obj2) {
10720 arg3 = (int) SWIG_AsInt(obj2);
10721 if (PyErr_Occurred()) SWIG_fail;
10722 }
10723 if (obj3) {
10724 {
10725 arg4 = &temp4;
10726 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10727 }
10728 }
10729 if (obj4) {
10730 {
10731 arg5 = &temp5;
10732 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10733 }
10734 }
10735 if (obj5) {
10736 arg6 = (long) SWIG_AsLong(obj5);
10737 if (PyErr_Occurred()) SWIG_fail;
10738 }
10739 if (obj6) {
10740 {
10741 arg7 = wxString_in_helper(obj6);
10742 if (arg7 == NULL) SWIG_fail;
10743 temp7 = True;
10744 }
10745 }
10746 {
10747 PyThreadState* __tstate = wxPyBeginAllowThreads();
10748 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10749
10750 wxPyEndAllowThreads(__tstate);
10751 if (PyErr_Occurred()) SWIG_fail;
10752 }
10753 {
10754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10755 }
10756 {
10757 if (temp7)
10758 delete arg7;
10759 }
10760 return resultobj;
10761 fail:
10762 {
10763 if (temp7)
10764 delete arg7;
10765 }
10766 return NULL;
10767 }
10768
10769
10770 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10771 PyObject *resultobj;
10772 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10773 PyObject * obj0 = 0 ;
10774 char *kwnames[] = {
10775 (char *) "self", NULL
10776 };
10777
10778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10781 {
10782 PyThreadState* __tstate = wxPyBeginAllowThreads();
10783 (arg1)->RefreshAll();
10784
10785 wxPyEndAllowThreads(__tstate);
10786 if (PyErr_Occurred()) SWIG_fail;
10787 }
10788 Py_INCREF(Py_None); resultobj = Py_None;
10789 return resultobj;
10790 fail:
10791 return NULL;
10792 }
10793
10794
10795 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10796 PyObject *resultobj;
10797 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10798 size_t arg2 ;
10799 PyObject * obj0 = 0 ;
10800 PyObject * obj1 = 0 ;
10801 char *kwnames[] = {
10802 (char *) "self",(char *) "count", NULL
10803 };
10804
10805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10808 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10809 if (PyErr_Occurred()) SWIG_fail;
10810 {
10811 PyThreadState* __tstate = wxPyBeginAllowThreads();
10812 (arg1)->SetItemCount(arg2);
10813
10814 wxPyEndAllowThreads(__tstate);
10815 if (PyErr_Occurred()) SWIG_fail;
10816 }
10817 Py_INCREF(Py_None); resultobj = Py_None;
10818 return resultobj;
10819 fail:
10820 return NULL;
10821 }
10822
10823
10824 static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
10825 PyObject *resultobj;
10826 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10827 wxFileSystem *result;
10828 PyObject * obj0 = 0 ;
10829 char *kwnames[] = {
10830 (char *) "self", NULL
10831 };
10832
10833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
10834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10836 {
10837 PyThreadState* __tstate = wxPyBeginAllowThreads();
10838 {
10839 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
10840 result = (wxFileSystem *) &_result_ref;
10841 }
10842
10843 wxPyEndAllowThreads(__tstate);
10844 if (PyErr_Occurred()) SWIG_fail;
10845 }
10846 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
10847 return resultobj;
10848 fail:
10849 return NULL;
10850 }
10851
10852
10853 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
10854 PyObject *obj;
10855 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10856 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
10857 Py_INCREF(obj);
10858 return Py_BuildValue((char *)"");
10859 }
10860 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10861 PyObject *resultobj;
10862 wxTaskBarIcon *result;
10863 char *kwnames[] = {
10864 NULL
10865 };
10866
10867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
10868 {
10869 if (!wxPyCheckForApp()) SWIG_fail;
10870 PyThreadState* __tstate = wxPyBeginAllowThreads();
10871 result = (wxTaskBarIcon *)new wxTaskBarIcon();
10872
10873 wxPyEndAllowThreads(__tstate);
10874 if (PyErr_Occurred()) SWIG_fail;
10875 }
10876 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
10877 return resultobj;
10878 fail:
10879 return NULL;
10880 }
10881
10882
10883 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10884 PyObject *resultobj;
10885 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10886 PyObject * obj0 = 0 ;
10887 char *kwnames[] = {
10888 (char *) "self", NULL
10889 };
10890
10891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
10892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10894 {
10895 PyThreadState* __tstate = wxPyBeginAllowThreads();
10896 delete arg1;
10897
10898 wxPyEndAllowThreads(__tstate);
10899 if (PyErr_Occurred()) SWIG_fail;
10900 }
10901 Py_INCREF(Py_None); resultobj = Py_None;
10902 return resultobj;
10903 fail:
10904 return NULL;
10905 }
10906
10907
10908 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
10909 PyObject *resultobj;
10910 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10911 PyObject * obj0 = 0 ;
10912 char *kwnames[] = {
10913 (char *) "self", NULL
10914 };
10915
10916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
10917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10919 {
10920 PyThreadState* __tstate = wxPyBeginAllowThreads();
10921 wxTaskBarIcon_Destroy(arg1);
10922
10923 wxPyEndAllowThreads(__tstate);
10924 if (PyErr_Occurred()) SWIG_fail;
10925 }
10926 Py_INCREF(Py_None); resultobj = Py_None;
10927 return resultobj;
10928 fail:
10929 return NULL;
10930 }
10931
10932
10933 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
10934 PyObject *resultobj;
10935 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10936 bool result;
10937 PyObject * obj0 = 0 ;
10938 char *kwnames[] = {
10939 (char *) "self", NULL
10940 };
10941
10942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
10943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10945 {
10946 PyThreadState* __tstate = wxPyBeginAllowThreads();
10947 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
10948
10949 wxPyEndAllowThreads(__tstate);
10950 if (PyErr_Occurred()) SWIG_fail;
10951 }
10952 {
10953 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10954 }
10955 return resultobj;
10956 fail:
10957 return NULL;
10958 }
10959
10960
10961 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
10962 PyObject *resultobj;
10963 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10964 bool result;
10965 PyObject * obj0 = 0 ;
10966 char *kwnames[] = {
10967 (char *) "self", NULL
10968 };
10969
10970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
10971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10973 {
10974 PyThreadState* __tstate = wxPyBeginAllowThreads();
10975 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
10976
10977 wxPyEndAllowThreads(__tstate);
10978 if (PyErr_Occurred()) SWIG_fail;
10979 }
10980 {
10981 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10982 }
10983 return resultobj;
10984 fail:
10985 return NULL;
10986 }
10987
10988
10989 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10990 PyObject *resultobj;
10991 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10992 wxIcon *arg2 = 0 ;
10993 wxString const &arg3_defvalue = wxPyEmptyString ;
10994 wxString *arg3 = (wxString *) &arg3_defvalue ;
10995 bool result;
10996 bool temp3 = False ;
10997 PyObject * obj0 = 0 ;
10998 PyObject * obj1 = 0 ;
10999 PyObject * obj2 = 0 ;
11000 char *kwnames[] = {
11001 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
11002 };
11003
11004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
11005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11007 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
11008 SWIG_POINTER_EXCEPTION | 0)) == -1)
11009 SWIG_fail;
11010 if (arg2 == NULL) {
11011 PyErr_SetString(PyExc_TypeError,"null reference");
11012 SWIG_fail;
11013 }
11014 if (obj2) {
11015 {
11016 arg3 = wxString_in_helper(obj2);
11017 if (arg3 == NULL) SWIG_fail;
11018 temp3 = True;
11019 }
11020 }
11021 {
11022 PyThreadState* __tstate = wxPyBeginAllowThreads();
11023 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
11024
11025 wxPyEndAllowThreads(__tstate);
11026 if (PyErr_Occurred()) SWIG_fail;
11027 }
11028 {
11029 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11030 }
11031 {
11032 if (temp3)
11033 delete arg3;
11034 }
11035 return resultobj;
11036 fail:
11037 {
11038 if (temp3)
11039 delete arg3;
11040 }
11041 return NULL;
11042 }
11043
11044
11045 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
11046 PyObject *resultobj;
11047 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11048 bool result;
11049 PyObject * obj0 = 0 ;
11050 char *kwnames[] = {
11051 (char *) "self", NULL
11052 };
11053
11054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
11055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11057 {
11058 PyThreadState* __tstate = wxPyBeginAllowThreads();
11059 result = (bool)(arg1)->RemoveIcon();
11060
11061 wxPyEndAllowThreads(__tstate);
11062 if (PyErr_Occurred()) SWIG_fail;
11063 }
11064 {
11065 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11066 }
11067 return resultobj;
11068 fail:
11069 return NULL;
11070 }
11071
11072
11073 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
11074 PyObject *resultobj;
11075 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11076 wxMenu *arg2 = (wxMenu *) 0 ;
11077 bool result;
11078 PyObject * obj0 = 0 ;
11079 PyObject * obj1 = 0 ;
11080 char *kwnames[] = {
11081 (char *) "self",(char *) "menu", NULL
11082 };
11083
11084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
11085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11087 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
11088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11089 {
11090 PyThreadState* __tstate = wxPyBeginAllowThreads();
11091 result = (bool)(arg1)->PopupMenu(arg2);
11092
11093 wxPyEndAllowThreads(__tstate);
11094 if (PyErr_Occurred()) SWIG_fail;
11095 }
11096 {
11097 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11098 }
11099 return resultobj;
11100 fail:
11101 return NULL;
11102 }
11103
11104
11105 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
11106 PyObject *obj;
11107 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11108 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
11109 Py_INCREF(obj);
11110 return Py_BuildValue((char *)"");
11111 }
11112 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11113 PyObject *resultobj;
11114 wxEventType arg1 ;
11115 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
11116 wxTaskBarIconEvent *result;
11117 PyObject * obj0 = 0 ;
11118 PyObject * obj1 = 0 ;
11119 char *kwnames[] = {
11120 (char *) "evtType",(char *) "tbIcon", NULL
11121 };
11122
11123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
11124 arg1 = (wxEventType) SWIG_AsInt(obj0);
11125 if (PyErr_Occurred()) SWIG_fail;
11126 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
11127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11128 {
11129 PyThreadState* __tstate = wxPyBeginAllowThreads();
11130 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
11131
11132 wxPyEndAllowThreads(__tstate);
11133 if (PyErr_Occurred()) SWIG_fail;
11134 }
11135 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
11136 return resultobj;
11137 fail:
11138 return NULL;
11139 }
11140
11141
11142 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
11143 PyObject *obj;
11144 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11145 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
11146 Py_INCREF(obj);
11147 return Py_BuildValue((char *)"");
11148 }
11149 static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
11150 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
11151 return 1;
11152 }
11153
11154
11155 static PyObject *_wrap_FileSelectorPromptStr_get() {
11156 PyObject *pyobj;
11157
11158 {
11159 #if wxUSE_UNICODE
11160 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11161 #else
11162 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11163 #endif
11164 }
11165 return pyobj;
11166 }
11167
11168
11169 static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
11170 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
11171 return 1;
11172 }
11173
11174
11175 static PyObject *_wrap_DirSelectorPromptStr_get() {
11176 PyObject *pyobj;
11177
11178 {
11179 #if wxUSE_UNICODE
11180 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11181 #else
11182 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11183 #endif
11184 }
11185 return pyobj;
11186 }
11187
11188
11189 static int _wrap_DirDialogNameStr_set(PyObject *_val) {
11190 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
11191 return 1;
11192 }
11193
11194
11195 static PyObject *_wrap_DirDialogNameStr_get() {
11196 PyObject *pyobj;
11197
11198 {
11199 #if wxUSE_UNICODE
11200 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11201 #else
11202 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11203 #endif
11204 }
11205 return pyobj;
11206 }
11207
11208
11209 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
11210 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
11211 return 1;
11212 }
11213
11214
11215 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
11216 PyObject *pyobj;
11217
11218 {
11219 #if wxUSE_UNICODE
11220 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11221 #else
11222 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11223 #endif
11224 }
11225 return pyobj;
11226 }
11227
11228
11229 static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) {
11230 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
11231 return 1;
11232 }
11233
11234
11235 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
11236 PyObject *pyobj;
11237
11238 {
11239 #if wxUSE_UNICODE
11240 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11241 #else
11242 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11243 #endif
11244 }
11245 return pyobj;
11246 }
11247
11248
11249 static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) {
11250 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
11251 return 1;
11252 }
11253
11254
11255 static PyObject *_wrap_MessageBoxCaptionStr_get() {
11256 PyObject *pyobj;
11257
11258 {
11259 #if wxUSE_UNICODE
11260 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11261 #else
11262 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11263 #endif
11264 }
11265 return pyobj;
11266 }
11267
11268
11269 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11270 PyObject *resultobj;
11271 wxColourData *result;
11272 char *kwnames[] = {
11273 NULL
11274 };
11275
11276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
11277 {
11278 PyThreadState* __tstate = wxPyBeginAllowThreads();
11279 result = (wxColourData *)new wxColourData();
11280
11281 wxPyEndAllowThreads(__tstate);
11282 if (PyErr_Occurred()) SWIG_fail;
11283 }
11284 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
11285 return resultobj;
11286 fail:
11287 return NULL;
11288 }
11289
11290
11291 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11292 PyObject *resultobj;
11293 wxColourData *arg1 = (wxColourData *) 0 ;
11294 PyObject * obj0 = 0 ;
11295 char *kwnames[] = {
11296 (char *) "self", NULL
11297 };
11298
11299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
11300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11302 {
11303 PyThreadState* __tstate = wxPyBeginAllowThreads();
11304 delete arg1;
11305
11306 wxPyEndAllowThreads(__tstate);
11307 if (PyErr_Occurred()) SWIG_fail;
11308 }
11309 Py_INCREF(Py_None); resultobj = Py_None;
11310 return resultobj;
11311 fail:
11312 return NULL;
11313 }
11314
11315
11316 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11317 PyObject *resultobj;
11318 wxColourData *arg1 = (wxColourData *) 0 ;
11319 bool result;
11320 PyObject * obj0 = 0 ;
11321 char *kwnames[] = {
11322 (char *) "self", NULL
11323 };
11324
11325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
11326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11328 {
11329 PyThreadState* __tstate = wxPyBeginAllowThreads();
11330 result = (bool)(arg1)->GetChooseFull();
11331
11332 wxPyEndAllowThreads(__tstate);
11333 if (PyErr_Occurred()) SWIG_fail;
11334 }
11335 {
11336 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11337 }
11338 return resultobj;
11339 fail:
11340 return NULL;
11341 }
11342
11343
11344 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11345 PyObject *resultobj;
11346 wxColourData *arg1 = (wxColourData *) 0 ;
11347 wxColour result;
11348 PyObject * obj0 = 0 ;
11349 char *kwnames[] = {
11350 (char *) "self", NULL
11351 };
11352
11353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
11354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11356 {
11357 PyThreadState* __tstate = wxPyBeginAllowThreads();
11358 result = (arg1)->GetColour();
11359
11360 wxPyEndAllowThreads(__tstate);
11361 if (PyErr_Occurred()) SWIG_fail;
11362 }
11363 {
11364 wxColour * resultptr;
11365 resultptr = new wxColour((wxColour &) result);
11366 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11367 }
11368 return resultobj;
11369 fail:
11370 return NULL;
11371 }
11372
11373
11374 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11375 PyObject *resultobj;
11376 wxColourData *arg1 = (wxColourData *) 0 ;
11377 int arg2 ;
11378 wxColour result;
11379 PyObject * obj0 = 0 ;
11380 PyObject * obj1 = 0 ;
11381 char *kwnames[] = {
11382 (char *) "self",(char *) "i", NULL
11383 };
11384
11385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
11386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11388 arg2 = (int) SWIG_AsInt(obj1);
11389 if (PyErr_Occurred()) SWIG_fail;
11390 {
11391 PyThreadState* __tstate = wxPyBeginAllowThreads();
11392 result = (arg1)->GetCustomColour(arg2);
11393
11394 wxPyEndAllowThreads(__tstate);
11395 if (PyErr_Occurred()) SWIG_fail;
11396 }
11397 {
11398 wxColour * resultptr;
11399 resultptr = new wxColour((wxColour &) result);
11400 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11401 }
11402 return resultobj;
11403 fail:
11404 return NULL;
11405 }
11406
11407
11408 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11409 PyObject *resultobj;
11410 wxColourData *arg1 = (wxColourData *) 0 ;
11411 int arg2 ;
11412 PyObject * obj0 = 0 ;
11413 PyObject * obj1 = 0 ;
11414 char *kwnames[] = {
11415 (char *) "self",(char *) "flag", NULL
11416 };
11417
11418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
11419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11421 arg2 = (int) SWIG_AsInt(obj1);
11422 if (PyErr_Occurred()) SWIG_fail;
11423 {
11424 PyThreadState* __tstate = wxPyBeginAllowThreads();
11425 (arg1)->SetChooseFull(arg2);
11426
11427 wxPyEndAllowThreads(__tstate);
11428 if (PyErr_Occurred()) SWIG_fail;
11429 }
11430 Py_INCREF(Py_None); resultobj = Py_None;
11431 return resultobj;
11432 fail:
11433 return NULL;
11434 }
11435
11436
11437 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11438 PyObject *resultobj;
11439 wxColourData *arg1 = (wxColourData *) 0 ;
11440 wxColour *arg2 = 0 ;
11441 wxColour temp2 ;
11442 PyObject * obj0 = 0 ;
11443 PyObject * obj1 = 0 ;
11444 char *kwnames[] = {
11445 (char *) "self",(char *) "colour", NULL
11446 };
11447
11448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11451 {
11452 arg2 = &temp2;
11453 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11454 }
11455 {
11456 PyThreadState* __tstate = wxPyBeginAllowThreads();
11457 (arg1)->SetColour((wxColour const &)*arg2);
11458
11459 wxPyEndAllowThreads(__tstate);
11460 if (PyErr_Occurred()) SWIG_fail;
11461 }
11462 Py_INCREF(Py_None); resultobj = Py_None;
11463 return resultobj;
11464 fail:
11465 return NULL;
11466 }
11467
11468
11469 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11470 PyObject *resultobj;
11471 wxColourData *arg1 = (wxColourData *) 0 ;
11472 int arg2 ;
11473 wxColour *arg3 = 0 ;
11474 wxColour temp3 ;
11475 PyObject * obj0 = 0 ;
11476 PyObject * obj1 = 0 ;
11477 PyObject * obj2 = 0 ;
11478 char *kwnames[] = {
11479 (char *) "self",(char *) "i",(char *) "colour", NULL
11480 };
11481
11482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11485 arg2 = (int) SWIG_AsInt(obj1);
11486 if (PyErr_Occurred()) SWIG_fail;
11487 {
11488 arg3 = &temp3;
11489 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11490 }
11491 {
11492 PyThreadState* __tstate = wxPyBeginAllowThreads();
11493 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11494
11495 wxPyEndAllowThreads(__tstate);
11496 if (PyErr_Occurred()) SWIG_fail;
11497 }
11498 Py_INCREF(Py_None); resultobj = Py_None;
11499 return resultobj;
11500 fail:
11501 return NULL;
11502 }
11503
11504
11505 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
11506 PyObject *obj;
11507 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11508 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11509 Py_INCREF(obj);
11510 return Py_BuildValue((char *)"");
11511 }
11512 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11513 PyObject *resultobj;
11514 wxWindow *arg1 = (wxWindow *) 0 ;
11515 wxColourData *arg2 = (wxColourData *) NULL ;
11516 wxColourDialog *result;
11517 PyObject * obj0 = 0 ;
11518 PyObject * obj1 = 0 ;
11519 char *kwnames[] = {
11520 (char *) "parent",(char *) "data", NULL
11521 };
11522
11523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
11524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11526 if (obj1) {
11527 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11529 }
11530 {
11531 if (!wxPyCheckForApp()) SWIG_fail;
11532 PyThreadState* __tstate = wxPyBeginAllowThreads();
11533 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11534
11535 wxPyEndAllowThreads(__tstate);
11536 if (PyErr_Occurred()) SWIG_fail;
11537 }
11538 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
11539 return resultobj;
11540 fail:
11541 return NULL;
11542 }
11543
11544
11545 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11546 PyObject *resultobj;
11547 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11548 wxColourData *result;
11549 PyObject * obj0 = 0 ;
11550 char *kwnames[] = {
11551 (char *) "self", NULL
11552 };
11553
11554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
11555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11557 {
11558 PyThreadState* __tstate = wxPyBeginAllowThreads();
11559 {
11560 wxColourData &_result_ref = (arg1)->GetColourData();
11561 result = (wxColourData *) &_result_ref;
11562 }
11563
11564 wxPyEndAllowThreads(__tstate);
11565 if (PyErr_Occurred()) SWIG_fail;
11566 }
11567 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
11568 return resultobj;
11569 fail:
11570 return NULL;
11571 }
11572
11573
11574 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
11575 PyObject *obj;
11576 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11577 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11578 Py_INCREF(obj);
11579 return Py_BuildValue((char *)"");
11580 }
11581 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11582 PyObject *resultobj;
11583 wxWindow *arg1 = (wxWindow *) 0 ;
11584 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11585 wxString *arg2 = (wxString *) &arg2_defvalue ;
11586 wxString const &arg3_defvalue = wxPyEmptyString ;
11587 wxString *arg3 = (wxString *) &arg3_defvalue ;
11588 long arg4 = (long) 0 ;
11589 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11590 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11591 wxSize const &arg6_defvalue = wxDefaultSize ;
11592 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11593 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11594 wxString *arg7 = (wxString *) &arg7_defvalue ;
11595 wxDirDialog *result;
11596 bool temp2 = False ;
11597 bool temp3 = False ;
11598 wxPoint temp5 ;
11599 wxSize temp6 ;
11600 bool temp7 = False ;
11601 PyObject * obj0 = 0 ;
11602 PyObject * obj1 = 0 ;
11603 PyObject * obj2 = 0 ;
11604 PyObject * obj3 = 0 ;
11605 PyObject * obj4 = 0 ;
11606 PyObject * obj5 = 0 ;
11607 PyObject * obj6 = 0 ;
11608 char *kwnames[] = {
11609 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11610 };
11611
11612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11615 if (obj1) {
11616 {
11617 arg2 = wxString_in_helper(obj1);
11618 if (arg2 == NULL) SWIG_fail;
11619 temp2 = True;
11620 }
11621 }
11622 if (obj2) {
11623 {
11624 arg3 = wxString_in_helper(obj2);
11625 if (arg3 == NULL) SWIG_fail;
11626 temp3 = True;
11627 }
11628 }
11629 if (obj3) {
11630 arg4 = (long) SWIG_AsLong(obj3);
11631 if (PyErr_Occurred()) SWIG_fail;
11632 }
11633 if (obj4) {
11634 {
11635 arg5 = &temp5;
11636 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11637 }
11638 }
11639 if (obj5) {
11640 {
11641 arg6 = &temp6;
11642 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11643 }
11644 }
11645 if (obj6) {
11646 {
11647 arg7 = wxString_in_helper(obj6);
11648 if (arg7 == NULL) SWIG_fail;
11649 temp7 = True;
11650 }
11651 }
11652 {
11653 if (!wxPyCheckForApp()) SWIG_fail;
11654 PyThreadState* __tstate = wxPyBeginAllowThreads();
11655 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11656
11657 wxPyEndAllowThreads(__tstate);
11658 if (PyErr_Occurred()) SWIG_fail;
11659 }
11660 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
11661 {
11662 if (temp2)
11663 delete arg2;
11664 }
11665 {
11666 if (temp3)
11667 delete arg3;
11668 }
11669 {
11670 if (temp7)
11671 delete arg7;
11672 }
11673 return resultobj;
11674 fail:
11675 {
11676 if (temp2)
11677 delete arg2;
11678 }
11679 {
11680 if (temp3)
11681 delete arg3;
11682 }
11683 {
11684 if (temp7)
11685 delete arg7;
11686 }
11687 return NULL;
11688 }
11689
11690
11691 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11692 PyObject *resultobj;
11693 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11694 wxString result;
11695 PyObject * obj0 = 0 ;
11696 char *kwnames[] = {
11697 (char *) "self", NULL
11698 };
11699
11700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
11701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11703 {
11704 PyThreadState* __tstate = wxPyBeginAllowThreads();
11705 result = (arg1)->GetPath();
11706
11707 wxPyEndAllowThreads(__tstate);
11708 if (PyErr_Occurred()) SWIG_fail;
11709 }
11710 {
11711 #if wxUSE_UNICODE
11712 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11713 #else
11714 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11715 #endif
11716 }
11717 return resultobj;
11718 fail:
11719 return NULL;
11720 }
11721
11722
11723 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11724 PyObject *resultobj;
11725 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11726 wxString result;
11727 PyObject * obj0 = 0 ;
11728 char *kwnames[] = {
11729 (char *) "self", NULL
11730 };
11731
11732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
11733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11735 {
11736 PyThreadState* __tstate = wxPyBeginAllowThreads();
11737 result = (arg1)->GetMessage();
11738
11739 wxPyEndAllowThreads(__tstate);
11740 if (PyErr_Occurred()) SWIG_fail;
11741 }
11742 {
11743 #if wxUSE_UNICODE
11744 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11745 #else
11746 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11747 #endif
11748 }
11749 return resultobj;
11750 fail:
11751 return NULL;
11752 }
11753
11754
11755 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11756 PyObject *resultobj;
11757 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11758 long result;
11759 PyObject * obj0 = 0 ;
11760 char *kwnames[] = {
11761 (char *) "self", NULL
11762 };
11763
11764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
11765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11767 {
11768 PyThreadState* __tstate = wxPyBeginAllowThreads();
11769 result = (long)(arg1)->GetStyle();
11770
11771 wxPyEndAllowThreads(__tstate);
11772 if (PyErr_Occurred()) SWIG_fail;
11773 }
11774 resultobj = SWIG_FromLong((long)result);
11775 return resultobj;
11776 fail:
11777 return NULL;
11778 }
11779
11780
11781 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11782 PyObject *resultobj;
11783 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11784 wxString *arg2 = 0 ;
11785 bool temp2 = False ;
11786 PyObject * obj0 = 0 ;
11787 PyObject * obj1 = 0 ;
11788 char *kwnames[] = {
11789 (char *) "self",(char *) "message", NULL
11790 };
11791
11792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11795 {
11796 arg2 = wxString_in_helper(obj1);
11797 if (arg2 == NULL) SWIG_fail;
11798 temp2 = True;
11799 }
11800 {
11801 PyThreadState* __tstate = wxPyBeginAllowThreads();
11802 (arg1)->SetMessage((wxString const &)*arg2);
11803
11804 wxPyEndAllowThreads(__tstate);
11805 if (PyErr_Occurred()) SWIG_fail;
11806 }
11807 Py_INCREF(Py_None); resultobj = Py_None;
11808 {
11809 if (temp2)
11810 delete arg2;
11811 }
11812 return resultobj;
11813 fail:
11814 {
11815 if (temp2)
11816 delete arg2;
11817 }
11818 return NULL;
11819 }
11820
11821
11822 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11823 PyObject *resultobj;
11824 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11825 wxString *arg2 = 0 ;
11826 bool temp2 = False ;
11827 PyObject * obj0 = 0 ;
11828 PyObject * obj1 = 0 ;
11829 char *kwnames[] = {
11830 (char *) "self",(char *) "path", NULL
11831 };
11832
11833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11836 {
11837 arg2 = wxString_in_helper(obj1);
11838 if (arg2 == NULL) SWIG_fail;
11839 temp2 = True;
11840 }
11841 {
11842 PyThreadState* __tstate = wxPyBeginAllowThreads();
11843 (arg1)->SetPath((wxString const &)*arg2);
11844
11845 wxPyEndAllowThreads(__tstate);
11846 if (PyErr_Occurred()) SWIG_fail;
11847 }
11848 Py_INCREF(Py_None); resultobj = Py_None;
11849 {
11850 if (temp2)
11851 delete arg2;
11852 }
11853 return resultobj;
11854 fail:
11855 {
11856 if (temp2)
11857 delete arg2;
11858 }
11859 return NULL;
11860 }
11861
11862
11863 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
11864 PyObject *obj;
11865 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11866 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
11867 Py_INCREF(obj);
11868 return Py_BuildValue((char *)"");
11869 }
11870 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11871 PyObject *resultobj;
11872 wxWindow *arg1 = (wxWindow *) 0 ;
11873 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
11874 wxString *arg2 = (wxString *) &arg2_defvalue ;
11875 wxString const &arg3_defvalue = wxPyEmptyString ;
11876 wxString *arg3 = (wxString *) &arg3_defvalue ;
11877 wxString const &arg4_defvalue = wxPyEmptyString ;
11878 wxString *arg4 = (wxString *) &arg4_defvalue ;
11879 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
11880 wxString *arg5 = (wxString *) &arg5_defvalue ;
11881 long arg6 = (long) 0 ;
11882 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11883 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11884 wxFileDialog *result;
11885 bool temp2 = False ;
11886 bool temp3 = False ;
11887 bool temp4 = False ;
11888 bool temp5 = False ;
11889 wxPoint temp7 ;
11890 PyObject * obj0 = 0 ;
11891 PyObject * obj1 = 0 ;
11892 PyObject * obj2 = 0 ;
11893 PyObject * obj3 = 0 ;
11894 PyObject * obj4 = 0 ;
11895 PyObject * obj5 = 0 ;
11896 PyObject * obj6 = 0 ;
11897 char *kwnames[] = {
11898 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11899 };
11900
11901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11904 if (obj1) {
11905 {
11906 arg2 = wxString_in_helper(obj1);
11907 if (arg2 == NULL) SWIG_fail;
11908 temp2 = True;
11909 }
11910 }
11911 if (obj2) {
11912 {
11913 arg3 = wxString_in_helper(obj2);
11914 if (arg3 == NULL) SWIG_fail;
11915 temp3 = True;
11916 }
11917 }
11918 if (obj3) {
11919 {
11920 arg4 = wxString_in_helper(obj3);
11921 if (arg4 == NULL) SWIG_fail;
11922 temp4 = True;
11923 }
11924 }
11925 if (obj4) {
11926 {
11927 arg5 = wxString_in_helper(obj4);
11928 if (arg5 == NULL) SWIG_fail;
11929 temp5 = True;
11930 }
11931 }
11932 if (obj5) {
11933 arg6 = (long) SWIG_AsLong(obj5);
11934 if (PyErr_Occurred()) SWIG_fail;
11935 }
11936 if (obj6) {
11937 {
11938 arg7 = &temp7;
11939 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11940 }
11941 }
11942 {
11943 if (!wxPyCheckForApp()) SWIG_fail;
11944 PyThreadState* __tstate = wxPyBeginAllowThreads();
11945 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
11946
11947 wxPyEndAllowThreads(__tstate);
11948 if (PyErr_Occurred()) SWIG_fail;
11949 }
11950 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
11951 {
11952 if (temp2)
11953 delete arg2;
11954 }
11955 {
11956 if (temp3)
11957 delete arg3;
11958 }
11959 {
11960 if (temp4)
11961 delete arg4;
11962 }
11963 {
11964 if (temp5)
11965 delete arg5;
11966 }
11967 return resultobj;
11968 fail:
11969 {
11970 if (temp2)
11971 delete arg2;
11972 }
11973 {
11974 if (temp3)
11975 delete arg3;
11976 }
11977 {
11978 if (temp4)
11979 delete arg4;
11980 }
11981 {
11982 if (temp5)
11983 delete arg5;
11984 }
11985 return NULL;
11986 }
11987
11988
11989 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11990 PyObject *resultobj;
11991 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11992 wxString *arg2 = 0 ;
11993 bool temp2 = False ;
11994 PyObject * obj0 = 0 ;
11995 PyObject * obj1 = 0 ;
11996 char *kwnames[] = {
11997 (char *) "self",(char *) "message", NULL
11998 };
11999
12000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
12001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12003 {
12004 arg2 = wxString_in_helper(obj1);
12005 if (arg2 == NULL) SWIG_fail;
12006 temp2 = True;
12007 }
12008 {
12009 PyThreadState* __tstate = wxPyBeginAllowThreads();
12010 (arg1)->SetMessage((wxString const &)*arg2);
12011
12012 wxPyEndAllowThreads(__tstate);
12013 if (PyErr_Occurred()) SWIG_fail;
12014 }
12015 Py_INCREF(Py_None); resultobj = Py_None;
12016 {
12017 if (temp2)
12018 delete arg2;
12019 }
12020 return resultobj;
12021 fail:
12022 {
12023 if (temp2)
12024 delete arg2;
12025 }
12026 return NULL;
12027 }
12028
12029
12030 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
12031 PyObject *resultobj;
12032 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12033 wxString *arg2 = 0 ;
12034 bool temp2 = False ;
12035 PyObject * obj0 = 0 ;
12036 PyObject * obj1 = 0 ;
12037 char *kwnames[] = {
12038 (char *) "self",(char *) "path", NULL
12039 };
12040
12041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
12042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12044 {
12045 arg2 = wxString_in_helper(obj1);
12046 if (arg2 == NULL) SWIG_fail;
12047 temp2 = True;
12048 }
12049 {
12050 PyThreadState* __tstate = wxPyBeginAllowThreads();
12051 (arg1)->SetPath((wxString const &)*arg2);
12052
12053 wxPyEndAllowThreads(__tstate);
12054 if (PyErr_Occurred()) SWIG_fail;
12055 }
12056 Py_INCREF(Py_None); resultobj = Py_None;
12057 {
12058 if (temp2)
12059 delete arg2;
12060 }
12061 return resultobj;
12062 fail:
12063 {
12064 if (temp2)
12065 delete arg2;
12066 }
12067 return NULL;
12068 }
12069
12070
12071 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
12072 PyObject *resultobj;
12073 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12074 wxString *arg2 = 0 ;
12075 bool temp2 = False ;
12076 PyObject * obj0 = 0 ;
12077 PyObject * obj1 = 0 ;
12078 char *kwnames[] = {
12079 (char *) "self",(char *) "dir", NULL
12080 };
12081
12082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
12083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12085 {
12086 arg2 = wxString_in_helper(obj1);
12087 if (arg2 == NULL) SWIG_fail;
12088 temp2 = True;
12089 }
12090 {
12091 PyThreadState* __tstate = wxPyBeginAllowThreads();
12092 (arg1)->SetDirectory((wxString const &)*arg2);
12093
12094 wxPyEndAllowThreads(__tstate);
12095 if (PyErr_Occurred()) SWIG_fail;
12096 }
12097 Py_INCREF(Py_None); resultobj = Py_None;
12098 {
12099 if (temp2)
12100 delete arg2;
12101 }
12102 return resultobj;
12103 fail:
12104 {
12105 if (temp2)
12106 delete arg2;
12107 }
12108 return NULL;
12109 }
12110
12111
12112 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
12113 PyObject *resultobj;
12114 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12115 wxString *arg2 = 0 ;
12116 bool temp2 = False ;
12117 PyObject * obj0 = 0 ;
12118 PyObject * obj1 = 0 ;
12119 char *kwnames[] = {
12120 (char *) "self",(char *) "name", NULL
12121 };
12122
12123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
12124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12126 {
12127 arg2 = wxString_in_helper(obj1);
12128 if (arg2 == NULL) SWIG_fail;
12129 temp2 = True;
12130 }
12131 {
12132 PyThreadState* __tstate = wxPyBeginAllowThreads();
12133 (arg1)->SetFilename((wxString const &)*arg2);
12134
12135 wxPyEndAllowThreads(__tstate);
12136 if (PyErr_Occurred()) SWIG_fail;
12137 }
12138 Py_INCREF(Py_None); resultobj = Py_None;
12139 {
12140 if (temp2)
12141 delete arg2;
12142 }
12143 return resultobj;
12144 fail:
12145 {
12146 if (temp2)
12147 delete arg2;
12148 }
12149 return NULL;
12150 }
12151
12152
12153 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
12154 PyObject *resultobj;
12155 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12156 wxString *arg2 = 0 ;
12157 bool temp2 = False ;
12158 PyObject * obj0 = 0 ;
12159 PyObject * obj1 = 0 ;
12160 char *kwnames[] = {
12161 (char *) "self",(char *) "wildCard", NULL
12162 };
12163
12164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
12165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12167 {
12168 arg2 = wxString_in_helper(obj1);
12169 if (arg2 == NULL) SWIG_fail;
12170 temp2 = True;
12171 }
12172 {
12173 PyThreadState* __tstate = wxPyBeginAllowThreads();
12174 (arg1)->SetWildcard((wxString const &)*arg2);
12175
12176 wxPyEndAllowThreads(__tstate);
12177 if (PyErr_Occurred()) SWIG_fail;
12178 }
12179 Py_INCREF(Py_None); resultobj = Py_None;
12180 {
12181 if (temp2)
12182 delete arg2;
12183 }
12184 return resultobj;
12185 fail:
12186 {
12187 if (temp2)
12188 delete arg2;
12189 }
12190 return NULL;
12191 }
12192
12193
12194 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12195 PyObject *resultobj;
12196 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12197 long arg2 ;
12198 PyObject * obj0 = 0 ;
12199 PyObject * obj1 = 0 ;
12200 char *kwnames[] = {
12201 (char *) "self",(char *) "style", NULL
12202 };
12203
12204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
12205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12207 arg2 = (long) SWIG_AsLong(obj1);
12208 if (PyErr_Occurred()) SWIG_fail;
12209 {
12210 PyThreadState* __tstate = wxPyBeginAllowThreads();
12211 (arg1)->SetStyle(arg2);
12212
12213 wxPyEndAllowThreads(__tstate);
12214 if (PyErr_Occurred()) SWIG_fail;
12215 }
12216 Py_INCREF(Py_None); resultobj = Py_None;
12217 return resultobj;
12218 fail:
12219 return NULL;
12220 }
12221
12222
12223 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12224 PyObject *resultobj;
12225 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12226 int arg2 ;
12227 PyObject * obj0 = 0 ;
12228 PyObject * obj1 = 0 ;
12229 char *kwnames[] = {
12230 (char *) "self",(char *) "filterIndex", NULL
12231 };
12232
12233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
12234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12236 arg2 = (int) SWIG_AsInt(obj1);
12237 if (PyErr_Occurred()) SWIG_fail;
12238 {
12239 PyThreadState* __tstate = wxPyBeginAllowThreads();
12240 (arg1)->SetFilterIndex(arg2);
12241
12242 wxPyEndAllowThreads(__tstate);
12243 if (PyErr_Occurred()) SWIG_fail;
12244 }
12245 Py_INCREF(Py_None); resultobj = Py_None;
12246 return resultobj;
12247 fail:
12248 return NULL;
12249 }
12250
12251
12252 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
12253 PyObject *resultobj;
12254 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12255 wxString result;
12256 PyObject * obj0 = 0 ;
12257 char *kwnames[] = {
12258 (char *) "self", NULL
12259 };
12260
12261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
12262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12264 {
12265 PyThreadState* __tstate = wxPyBeginAllowThreads();
12266 result = ((wxFileDialog const *)arg1)->GetMessage();
12267
12268 wxPyEndAllowThreads(__tstate);
12269 if (PyErr_Occurred()) SWIG_fail;
12270 }
12271 {
12272 #if wxUSE_UNICODE
12273 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12274 #else
12275 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12276 #endif
12277 }
12278 return resultobj;
12279 fail:
12280 return NULL;
12281 }
12282
12283
12284 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
12285 PyObject *resultobj;
12286 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12287 wxString result;
12288 PyObject * obj0 = 0 ;
12289 char *kwnames[] = {
12290 (char *) "self", NULL
12291 };
12292
12293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
12294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12296 {
12297 PyThreadState* __tstate = wxPyBeginAllowThreads();
12298 result = ((wxFileDialog const *)arg1)->GetPath();
12299
12300 wxPyEndAllowThreads(__tstate);
12301 if (PyErr_Occurred()) SWIG_fail;
12302 }
12303 {
12304 #if wxUSE_UNICODE
12305 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12306 #else
12307 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12308 #endif
12309 }
12310 return resultobj;
12311 fail:
12312 return NULL;
12313 }
12314
12315
12316 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
12317 PyObject *resultobj;
12318 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12319 wxString result;
12320 PyObject * obj0 = 0 ;
12321 char *kwnames[] = {
12322 (char *) "self", NULL
12323 };
12324
12325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
12326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12328 {
12329 PyThreadState* __tstate = wxPyBeginAllowThreads();
12330 result = ((wxFileDialog const *)arg1)->GetDirectory();
12331
12332 wxPyEndAllowThreads(__tstate);
12333 if (PyErr_Occurred()) SWIG_fail;
12334 }
12335 {
12336 #if wxUSE_UNICODE
12337 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12338 #else
12339 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12340 #endif
12341 }
12342 return resultobj;
12343 fail:
12344 return NULL;
12345 }
12346
12347
12348 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
12349 PyObject *resultobj;
12350 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12351 wxString result;
12352 PyObject * obj0 = 0 ;
12353 char *kwnames[] = {
12354 (char *) "self", NULL
12355 };
12356
12357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
12358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12360 {
12361 PyThreadState* __tstate = wxPyBeginAllowThreads();
12362 result = ((wxFileDialog const *)arg1)->GetFilename();
12363
12364 wxPyEndAllowThreads(__tstate);
12365 if (PyErr_Occurred()) SWIG_fail;
12366 }
12367 {
12368 #if wxUSE_UNICODE
12369 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12370 #else
12371 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12372 #endif
12373 }
12374 return resultobj;
12375 fail:
12376 return NULL;
12377 }
12378
12379
12380 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
12381 PyObject *resultobj;
12382 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12383 wxString result;
12384 PyObject * obj0 = 0 ;
12385 char *kwnames[] = {
12386 (char *) "self", NULL
12387 };
12388
12389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
12390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12392 {
12393 PyThreadState* __tstate = wxPyBeginAllowThreads();
12394 result = ((wxFileDialog const *)arg1)->GetWildcard();
12395
12396 wxPyEndAllowThreads(__tstate);
12397 if (PyErr_Occurred()) SWIG_fail;
12398 }
12399 {
12400 #if wxUSE_UNICODE
12401 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12402 #else
12403 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12404 #endif
12405 }
12406 return resultobj;
12407 fail:
12408 return NULL;
12409 }
12410
12411
12412 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12413 PyObject *resultobj;
12414 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12415 long result;
12416 PyObject * obj0 = 0 ;
12417 char *kwnames[] = {
12418 (char *) "self", NULL
12419 };
12420
12421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
12422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12424 {
12425 PyThreadState* __tstate = wxPyBeginAllowThreads();
12426 result = (long)((wxFileDialog const *)arg1)->GetStyle();
12427
12428 wxPyEndAllowThreads(__tstate);
12429 if (PyErr_Occurred()) SWIG_fail;
12430 }
12431 resultobj = SWIG_FromLong((long)result);
12432 return resultobj;
12433 fail:
12434 return NULL;
12435 }
12436
12437
12438 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12439 PyObject *resultobj;
12440 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12441 int result;
12442 PyObject * obj0 = 0 ;
12443 char *kwnames[] = {
12444 (char *) "self", NULL
12445 };
12446
12447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
12448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12450 {
12451 PyThreadState* __tstate = wxPyBeginAllowThreads();
12452 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12453
12454 wxPyEndAllowThreads(__tstate);
12455 if (PyErr_Occurred()) SWIG_fail;
12456 }
12457 resultobj = SWIG_FromInt((int)result);
12458 return resultobj;
12459 fail:
12460 return NULL;
12461 }
12462
12463
12464 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
12465 PyObject *resultobj;
12466 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12467 PyObject *result;
12468 PyObject * obj0 = 0 ;
12469 char *kwnames[] = {
12470 (char *) "self", NULL
12471 };
12472
12473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
12474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12476 {
12477 PyThreadState* __tstate = wxPyBeginAllowThreads();
12478 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12479
12480 wxPyEndAllowThreads(__tstate);
12481 if (PyErr_Occurred()) SWIG_fail;
12482 }
12483 resultobj = result;
12484 return resultobj;
12485 fail:
12486 return NULL;
12487 }
12488
12489
12490 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
12491 PyObject *resultobj;
12492 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12493 PyObject *result;
12494 PyObject * obj0 = 0 ;
12495 char *kwnames[] = {
12496 (char *) "self", NULL
12497 };
12498
12499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
12500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12502 {
12503 PyThreadState* __tstate = wxPyBeginAllowThreads();
12504 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12505
12506 wxPyEndAllowThreads(__tstate);
12507 if (PyErr_Occurred()) SWIG_fail;
12508 }
12509 resultobj = result;
12510 return resultobj;
12511 fail:
12512 return NULL;
12513 }
12514
12515
12516 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
12517 PyObject *obj;
12518 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12519 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12520 Py_INCREF(obj);
12521 return Py_BuildValue((char *)"");
12522 }
12523 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12524 PyObject *resultobj;
12525 wxWindow *arg1 = (wxWindow *) 0 ;
12526 wxString *arg2 = 0 ;
12527 wxString *arg3 = 0 ;
12528 int arg4 = (int) 0 ;
12529 wxString *arg5 = (wxString *) 0 ;
12530 long arg6 = (long) wxCHOICEDLG_STYLE ;
12531 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12532 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12533 wxMultiChoiceDialog *result;
12534 bool temp2 = False ;
12535 bool temp3 = False ;
12536 wxPoint temp6 ;
12537 PyObject * obj0 = 0 ;
12538 PyObject * obj1 = 0 ;
12539 PyObject * obj2 = 0 ;
12540 PyObject * obj3 = 0 ;
12541 PyObject * obj4 = 0 ;
12542 PyObject * obj5 = 0 ;
12543 char *kwnames[] = {
12544 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12545 };
12546
12547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12550 {
12551 arg2 = wxString_in_helper(obj1);
12552 if (arg2 == NULL) SWIG_fail;
12553 temp2 = True;
12554 }
12555 {
12556 arg3 = wxString_in_helper(obj2);
12557 if (arg3 == NULL) SWIG_fail;
12558 temp3 = True;
12559 }
12560 if (obj3) {
12561 {
12562 arg4 = PyList_Size(obj3);
12563 arg5 = wxString_LIST_helper(obj3);
12564 if (arg5 == NULL) SWIG_fail;
12565 }
12566 }
12567 if (obj4) {
12568 arg6 = (long) SWIG_AsLong(obj4);
12569 if (PyErr_Occurred()) SWIG_fail;
12570 }
12571 if (obj5) {
12572 {
12573 arg7 = &temp6;
12574 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12575 }
12576 }
12577 {
12578 if (!wxPyCheckForApp()) SWIG_fail;
12579 PyThreadState* __tstate = wxPyBeginAllowThreads();
12580 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12581
12582 wxPyEndAllowThreads(__tstate);
12583 if (PyErr_Occurred()) SWIG_fail;
12584 }
12585 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12586 {
12587 if (temp2)
12588 delete arg2;
12589 }
12590 {
12591 if (temp3)
12592 delete arg3;
12593 }
12594 {
12595 if (arg5) delete [] arg5;
12596 }
12597 return resultobj;
12598 fail:
12599 {
12600 if (temp2)
12601 delete arg2;
12602 }
12603 {
12604 if (temp3)
12605 delete arg3;
12606 }
12607 {
12608 if (arg5) delete [] arg5;
12609 }
12610 return NULL;
12611 }
12612
12613
12614 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12615 PyObject *resultobj;
12616 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12617 wxArrayInt *arg2 = 0 ;
12618 bool temp2 = False ;
12619 PyObject * obj0 = 0 ;
12620 PyObject * obj1 = 0 ;
12621 char *kwnames[] = {
12622 (char *) "self",(char *) "selections", NULL
12623 };
12624
12625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12628 {
12629 if (! PySequence_Check(obj1)) {
12630 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12631 SWIG_fail;
12632 }
12633 arg2 = new wxArrayInt;
12634 temp2 = True;
12635 int i, len=PySequence_Length(obj1);
12636 for (i=0; i<len; i++) {
12637 PyObject* item = PySequence_GetItem(obj1, i);
12638 PyObject* number = PyNumber_Int(item);
12639 arg2->Add(PyInt_AS_LONG(number));
12640 Py_DECREF(item);
12641 Py_DECREF(number);
12642 }
12643 }
12644 {
12645 PyThreadState* __tstate = wxPyBeginAllowThreads();
12646 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12647
12648 wxPyEndAllowThreads(__tstate);
12649 if (PyErr_Occurred()) SWIG_fail;
12650 }
12651 Py_INCREF(Py_None); resultobj = Py_None;
12652 {
12653 if (temp2) delete arg2;
12654 }
12655 return resultobj;
12656 fail:
12657 {
12658 if (temp2) delete arg2;
12659 }
12660 return NULL;
12661 }
12662
12663
12664 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12665 PyObject *resultobj;
12666 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12667 PyObject *result;
12668 PyObject * obj0 = 0 ;
12669 char *kwnames[] = {
12670 (char *) "self", NULL
12671 };
12672
12673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12676 {
12677 PyThreadState* __tstate = wxPyBeginAllowThreads();
12678 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12679
12680 wxPyEndAllowThreads(__tstate);
12681 if (PyErr_Occurred()) SWIG_fail;
12682 }
12683 resultobj = result;
12684 return resultobj;
12685 fail:
12686 return NULL;
12687 }
12688
12689
12690 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12691 PyObject *obj;
12692 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12693 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12694 Py_INCREF(obj);
12695 return Py_BuildValue((char *)"");
12696 }
12697 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12698 PyObject *resultobj;
12699 wxWindow *arg1 = (wxWindow *) 0 ;
12700 wxString *arg2 = 0 ;
12701 wxString *arg3 = 0 ;
12702 int arg4 ;
12703 wxString *arg5 = (wxString *) 0 ;
12704 long arg6 = (long) wxCHOICEDLG_STYLE ;
12705 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12706 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12707 wxSingleChoiceDialog *result;
12708 bool temp2 = False ;
12709 bool temp3 = False ;
12710 wxPoint temp6 ;
12711 PyObject * obj0 = 0 ;
12712 PyObject * obj1 = 0 ;
12713 PyObject * obj2 = 0 ;
12714 PyObject * obj3 = 0 ;
12715 PyObject * obj4 = 0 ;
12716 PyObject * obj5 = 0 ;
12717 char *kwnames[] = {
12718 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12719 };
12720
12721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12724 {
12725 arg2 = wxString_in_helper(obj1);
12726 if (arg2 == NULL) SWIG_fail;
12727 temp2 = True;
12728 }
12729 {
12730 arg3 = wxString_in_helper(obj2);
12731 if (arg3 == NULL) SWIG_fail;
12732 temp3 = True;
12733 }
12734 {
12735 arg4 = PyList_Size(obj3);
12736 arg5 = wxString_LIST_helper(obj3);
12737 if (arg5 == NULL) SWIG_fail;
12738 }
12739 if (obj4) {
12740 arg6 = (long) SWIG_AsLong(obj4);
12741 if (PyErr_Occurred()) SWIG_fail;
12742 }
12743 if (obj5) {
12744 {
12745 arg7 = &temp6;
12746 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12747 }
12748 }
12749 {
12750 if (!wxPyCheckForApp()) SWIG_fail;
12751 PyThreadState* __tstate = wxPyBeginAllowThreads();
12752 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12753
12754 wxPyEndAllowThreads(__tstate);
12755 if (PyErr_Occurred()) SWIG_fail;
12756 }
12757 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
12758 {
12759 if (temp2)
12760 delete arg2;
12761 }
12762 {
12763 if (temp3)
12764 delete arg3;
12765 }
12766 {
12767 if (arg5) delete [] arg5;
12768 }
12769 return resultobj;
12770 fail:
12771 {
12772 if (temp2)
12773 delete arg2;
12774 }
12775 {
12776 if (temp3)
12777 delete arg3;
12778 }
12779 {
12780 if (arg5) delete [] arg5;
12781 }
12782 return NULL;
12783 }
12784
12785
12786 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12787 PyObject *resultobj;
12788 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12789 int result;
12790 PyObject * obj0 = 0 ;
12791 char *kwnames[] = {
12792 (char *) "self", NULL
12793 };
12794
12795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
12796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12798 {
12799 PyThreadState* __tstate = wxPyBeginAllowThreads();
12800 result = (int)(arg1)->GetSelection();
12801
12802 wxPyEndAllowThreads(__tstate);
12803 if (PyErr_Occurred()) SWIG_fail;
12804 }
12805 resultobj = SWIG_FromInt((int)result);
12806 return resultobj;
12807 fail:
12808 return NULL;
12809 }
12810
12811
12812 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12813 PyObject *resultobj;
12814 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12815 wxString result;
12816 PyObject * obj0 = 0 ;
12817 char *kwnames[] = {
12818 (char *) "self", NULL
12819 };
12820
12821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
12822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12824 {
12825 PyThreadState* __tstate = wxPyBeginAllowThreads();
12826 result = (arg1)->GetStringSelection();
12827
12828 wxPyEndAllowThreads(__tstate);
12829 if (PyErr_Occurred()) SWIG_fail;
12830 }
12831 {
12832 #if wxUSE_UNICODE
12833 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12834 #else
12835 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12836 #endif
12837 }
12838 return resultobj;
12839 fail:
12840 return NULL;
12841 }
12842
12843
12844 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12845 PyObject *resultobj;
12846 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12847 int arg2 ;
12848 PyObject * obj0 = 0 ;
12849 PyObject * obj1 = 0 ;
12850 char *kwnames[] = {
12851 (char *) "self",(char *) "sel", NULL
12852 };
12853
12854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12857 arg2 = (int) SWIG_AsInt(obj1);
12858 if (PyErr_Occurred()) SWIG_fail;
12859 {
12860 PyThreadState* __tstate = wxPyBeginAllowThreads();
12861 (arg1)->SetSelection(arg2);
12862
12863 wxPyEndAllowThreads(__tstate);
12864 if (PyErr_Occurred()) SWIG_fail;
12865 }
12866 Py_INCREF(Py_None); resultobj = Py_None;
12867 return resultobj;
12868 fail:
12869 return NULL;
12870 }
12871
12872
12873 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12874 PyObject *obj;
12875 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12876 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
12877 Py_INCREF(obj);
12878 return Py_BuildValue((char *)"");
12879 }
12880 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12881 PyObject *resultobj;
12882 wxWindow *arg1 = (wxWindow *) 0 ;
12883 wxString *arg2 = 0 ;
12884 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
12885 wxString *arg3 = (wxString *) &arg3_defvalue ;
12886 wxString const &arg4_defvalue = wxPyEmptyString ;
12887 wxString *arg4 = (wxString *) &arg4_defvalue ;
12888 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
12889 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12890 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12891 wxTextEntryDialog *result;
12892 bool temp2 = False ;
12893 bool temp3 = False ;
12894 bool temp4 = False ;
12895 wxPoint temp6 ;
12896 PyObject * obj0 = 0 ;
12897 PyObject * obj1 = 0 ;
12898 PyObject * obj2 = 0 ;
12899 PyObject * obj3 = 0 ;
12900 PyObject * obj4 = 0 ;
12901 PyObject * obj5 = 0 ;
12902 char *kwnames[] = {
12903 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12904 };
12905
12906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12909 {
12910 arg2 = wxString_in_helper(obj1);
12911 if (arg2 == NULL) SWIG_fail;
12912 temp2 = True;
12913 }
12914 if (obj2) {
12915 {
12916 arg3 = wxString_in_helper(obj2);
12917 if (arg3 == NULL) SWIG_fail;
12918 temp3 = True;
12919 }
12920 }
12921 if (obj3) {
12922 {
12923 arg4 = wxString_in_helper(obj3);
12924 if (arg4 == NULL) SWIG_fail;
12925 temp4 = True;
12926 }
12927 }
12928 if (obj4) {
12929 arg5 = (long) SWIG_AsLong(obj4);
12930 if (PyErr_Occurred()) SWIG_fail;
12931 }
12932 if (obj5) {
12933 {
12934 arg6 = &temp6;
12935 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12936 }
12937 }
12938 {
12939 if (!wxPyCheckForApp()) SWIG_fail;
12940 PyThreadState* __tstate = wxPyBeginAllowThreads();
12941 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
12942
12943 wxPyEndAllowThreads(__tstate);
12944 if (PyErr_Occurred()) SWIG_fail;
12945 }
12946 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
12947 {
12948 if (temp2)
12949 delete arg2;
12950 }
12951 {
12952 if (temp3)
12953 delete arg3;
12954 }
12955 {
12956 if (temp4)
12957 delete arg4;
12958 }
12959 return resultobj;
12960 fail:
12961 {
12962 if (temp2)
12963 delete arg2;
12964 }
12965 {
12966 if (temp3)
12967 delete arg3;
12968 }
12969 {
12970 if (temp4)
12971 delete arg4;
12972 }
12973 return NULL;
12974 }
12975
12976
12977 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12978 PyObject *resultobj;
12979 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12980 wxString result;
12981 PyObject * obj0 = 0 ;
12982 char *kwnames[] = {
12983 (char *) "self", NULL
12984 };
12985
12986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
12987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12989 {
12990 PyThreadState* __tstate = wxPyBeginAllowThreads();
12991 result = (arg1)->GetValue();
12992
12993 wxPyEndAllowThreads(__tstate);
12994 if (PyErr_Occurred()) SWIG_fail;
12995 }
12996 {
12997 #if wxUSE_UNICODE
12998 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12999 #else
13000 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13001 #endif
13002 }
13003 return resultobj;
13004 fail:
13005 return NULL;
13006 }
13007
13008
13009 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13010 PyObject *resultobj;
13011 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
13012 wxString *arg2 = 0 ;
13013 bool temp2 = False ;
13014 PyObject * obj0 = 0 ;
13015 PyObject * obj1 = 0 ;
13016 char *kwnames[] = {
13017 (char *) "self",(char *) "value", NULL
13018 };
13019
13020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
13021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
13022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13023 {
13024 arg2 = wxString_in_helper(obj1);
13025 if (arg2 == NULL) SWIG_fail;
13026 temp2 = True;
13027 }
13028 {
13029 PyThreadState* __tstate = wxPyBeginAllowThreads();
13030 (arg1)->SetValue((wxString const &)*arg2);
13031
13032 wxPyEndAllowThreads(__tstate);
13033 if (PyErr_Occurred()) SWIG_fail;
13034 }
13035 Py_INCREF(Py_None); resultobj = Py_None;
13036 {
13037 if (temp2)
13038 delete arg2;
13039 }
13040 return resultobj;
13041 fail:
13042 {
13043 if (temp2)
13044 delete arg2;
13045 }
13046 return NULL;
13047 }
13048
13049
13050 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
13051 PyObject *obj;
13052 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13053 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
13054 Py_INCREF(obj);
13055 return Py_BuildValue((char *)"");
13056 }
13057 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
13058 PyObject *resultobj;
13059 wxFontData *result;
13060 char *kwnames[] = {
13061 NULL
13062 };
13063
13064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
13065 {
13066 PyThreadState* __tstate = wxPyBeginAllowThreads();
13067 result = (wxFontData *)new wxFontData();
13068
13069 wxPyEndAllowThreads(__tstate);
13070 if (PyErr_Occurred()) SWIG_fail;
13071 }
13072 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
13073 return resultobj;
13074 fail:
13075 return NULL;
13076 }
13077
13078
13079 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
13080 PyObject *resultobj;
13081 wxFontData *arg1 = (wxFontData *) 0 ;
13082 PyObject * obj0 = 0 ;
13083 char *kwnames[] = {
13084 (char *) "self", NULL
13085 };
13086
13087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
13088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13090 {
13091 PyThreadState* __tstate = wxPyBeginAllowThreads();
13092 delete arg1;
13093
13094 wxPyEndAllowThreads(__tstate);
13095 if (PyErr_Occurred()) SWIG_fail;
13096 }
13097 Py_INCREF(Py_None); resultobj = Py_None;
13098 return resultobj;
13099 fail:
13100 return NULL;
13101 }
13102
13103
13104 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
13105 PyObject *resultobj;
13106 wxFontData *arg1 = (wxFontData *) 0 ;
13107 bool arg2 ;
13108 PyObject * obj0 = 0 ;
13109 PyObject * obj1 = 0 ;
13110 char *kwnames[] = {
13111 (char *) "self",(char *) "enable", NULL
13112 };
13113
13114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
13115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13117 arg2 = (bool) SWIG_AsBool(obj1);
13118 if (PyErr_Occurred()) SWIG_fail;
13119 {
13120 PyThreadState* __tstate = wxPyBeginAllowThreads();
13121 (arg1)->EnableEffects(arg2);
13122
13123 wxPyEndAllowThreads(__tstate);
13124 if (PyErr_Occurred()) SWIG_fail;
13125 }
13126 Py_INCREF(Py_None); resultobj = Py_None;
13127 return resultobj;
13128 fail:
13129 return NULL;
13130 }
13131
13132
13133 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
13134 PyObject *resultobj;
13135 wxFontData *arg1 = (wxFontData *) 0 ;
13136 bool result;
13137 PyObject * obj0 = 0 ;
13138 char *kwnames[] = {
13139 (char *) "self", NULL
13140 };
13141
13142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
13143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13145 {
13146 PyThreadState* __tstate = wxPyBeginAllowThreads();
13147 result = (bool)(arg1)->GetAllowSymbols();
13148
13149 wxPyEndAllowThreads(__tstate);
13150 if (PyErr_Occurred()) SWIG_fail;
13151 }
13152 {
13153 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13154 }
13155 return resultobj;
13156 fail:
13157 return NULL;
13158 }
13159
13160
13161 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
13162 PyObject *resultobj;
13163 wxFontData *arg1 = (wxFontData *) 0 ;
13164 wxColour result;
13165 PyObject * obj0 = 0 ;
13166 char *kwnames[] = {
13167 (char *) "self", NULL
13168 };
13169
13170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
13171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13173 {
13174 PyThreadState* __tstate = wxPyBeginAllowThreads();
13175 result = (arg1)->GetColour();
13176
13177 wxPyEndAllowThreads(__tstate);
13178 if (PyErr_Occurred()) SWIG_fail;
13179 }
13180 {
13181 wxColour * resultptr;
13182 resultptr = new wxColour((wxColour &) result);
13183 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13184 }
13185 return resultobj;
13186 fail:
13187 return NULL;
13188 }
13189
13190
13191 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13192 PyObject *resultobj;
13193 wxFontData *arg1 = (wxFontData *) 0 ;
13194 wxFont result;
13195 PyObject * obj0 = 0 ;
13196 char *kwnames[] = {
13197 (char *) "self", NULL
13198 };
13199
13200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
13201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13203 {
13204 PyThreadState* __tstate = wxPyBeginAllowThreads();
13205 result = (arg1)->GetChosenFont();
13206
13207 wxPyEndAllowThreads(__tstate);
13208 if (PyErr_Occurred()) SWIG_fail;
13209 }
13210 {
13211 wxFont * resultptr;
13212 resultptr = new wxFont((wxFont &) result);
13213 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13214 }
13215 return resultobj;
13216 fail:
13217 return NULL;
13218 }
13219
13220
13221 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
13222 PyObject *resultobj;
13223 wxFontData *arg1 = (wxFontData *) 0 ;
13224 bool result;
13225 PyObject * obj0 = 0 ;
13226 char *kwnames[] = {
13227 (char *) "self", NULL
13228 };
13229
13230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
13231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13233 {
13234 PyThreadState* __tstate = wxPyBeginAllowThreads();
13235 result = (bool)(arg1)->GetEnableEffects();
13236
13237 wxPyEndAllowThreads(__tstate);
13238 if (PyErr_Occurred()) SWIG_fail;
13239 }
13240 {
13241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13242 }
13243 return resultobj;
13244 fail:
13245 return NULL;
13246 }
13247
13248
13249 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13250 PyObject *resultobj;
13251 wxFontData *arg1 = (wxFontData *) 0 ;
13252 wxFont result;
13253 PyObject * obj0 = 0 ;
13254 char *kwnames[] = {
13255 (char *) "self", NULL
13256 };
13257
13258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
13259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13261 {
13262 PyThreadState* __tstate = wxPyBeginAllowThreads();
13263 result = (arg1)->GetInitialFont();
13264
13265 wxPyEndAllowThreads(__tstate);
13266 if (PyErr_Occurred()) SWIG_fail;
13267 }
13268 {
13269 wxFont * resultptr;
13270 resultptr = new wxFont((wxFont &) result);
13271 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13272 }
13273 return resultobj;
13274 fail:
13275 return NULL;
13276 }
13277
13278
13279 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13280 PyObject *resultobj;
13281 wxFontData *arg1 = (wxFontData *) 0 ;
13282 bool result;
13283 PyObject * obj0 = 0 ;
13284 char *kwnames[] = {
13285 (char *) "self", NULL
13286 };
13287
13288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
13289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13291 {
13292 PyThreadState* __tstate = wxPyBeginAllowThreads();
13293 result = (bool)(arg1)->GetShowHelp();
13294
13295 wxPyEndAllowThreads(__tstate);
13296 if (PyErr_Occurred()) SWIG_fail;
13297 }
13298 {
13299 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13300 }
13301 return resultobj;
13302 fail:
13303 return NULL;
13304 }
13305
13306
13307 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
13308 PyObject *resultobj;
13309 wxFontData *arg1 = (wxFontData *) 0 ;
13310 bool arg2 ;
13311 PyObject * obj0 = 0 ;
13312 PyObject * obj1 = 0 ;
13313 char *kwnames[] = {
13314 (char *) "self",(char *) "allowSymbols", NULL
13315 };
13316
13317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
13318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13320 arg2 = (bool) SWIG_AsBool(obj1);
13321 if (PyErr_Occurred()) SWIG_fail;
13322 {
13323 PyThreadState* __tstate = wxPyBeginAllowThreads();
13324 (arg1)->SetAllowSymbols(arg2);
13325
13326 wxPyEndAllowThreads(__tstate);
13327 if (PyErr_Occurred()) SWIG_fail;
13328 }
13329 Py_INCREF(Py_None); resultobj = Py_None;
13330 return resultobj;
13331 fail:
13332 return NULL;
13333 }
13334
13335
13336 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13337 PyObject *resultobj;
13338 wxFontData *arg1 = (wxFontData *) 0 ;
13339 wxFont *arg2 = 0 ;
13340 PyObject * obj0 = 0 ;
13341 PyObject * obj1 = 0 ;
13342 char *kwnames[] = {
13343 (char *) "self",(char *) "font", NULL
13344 };
13345
13346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
13347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13349 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13350 SWIG_POINTER_EXCEPTION | 0)) == -1)
13351 SWIG_fail;
13352 if (arg2 == NULL) {
13353 PyErr_SetString(PyExc_TypeError,"null reference");
13354 SWIG_fail;
13355 }
13356 {
13357 PyThreadState* __tstate = wxPyBeginAllowThreads();
13358 (arg1)->SetChosenFont((wxFont const &)*arg2);
13359
13360 wxPyEndAllowThreads(__tstate);
13361 if (PyErr_Occurred()) SWIG_fail;
13362 }
13363 Py_INCREF(Py_None); resultobj = Py_None;
13364 return resultobj;
13365 fail:
13366 return NULL;
13367 }
13368
13369
13370 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
13371 PyObject *resultobj;
13372 wxFontData *arg1 = (wxFontData *) 0 ;
13373 wxColour *arg2 = 0 ;
13374 wxColour temp2 ;
13375 PyObject * obj0 = 0 ;
13376 PyObject * obj1 = 0 ;
13377 char *kwnames[] = {
13378 (char *) "self",(char *) "colour", NULL
13379 };
13380
13381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13384 {
13385 arg2 = &temp2;
13386 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13387 }
13388 {
13389 PyThreadState* __tstate = wxPyBeginAllowThreads();
13390 (arg1)->SetColour((wxColour const &)*arg2);
13391
13392 wxPyEndAllowThreads(__tstate);
13393 if (PyErr_Occurred()) SWIG_fail;
13394 }
13395 Py_INCREF(Py_None); resultobj = Py_None;
13396 return resultobj;
13397 fail:
13398 return NULL;
13399 }
13400
13401
13402 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13403 PyObject *resultobj;
13404 wxFontData *arg1 = (wxFontData *) 0 ;
13405 wxFont *arg2 = 0 ;
13406 PyObject * obj0 = 0 ;
13407 PyObject * obj1 = 0 ;
13408 char *kwnames[] = {
13409 (char *) "self",(char *) "font", NULL
13410 };
13411
13412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
13413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13415 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13416 SWIG_POINTER_EXCEPTION | 0)) == -1)
13417 SWIG_fail;
13418 if (arg2 == NULL) {
13419 PyErr_SetString(PyExc_TypeError,"null reference");
13420 SWIG_fail;
13421 }
13422 {
13423 PyThreadState* __tstate = wxPyBeginAllowThreads();
13424 (arg1)->SetInitialFont((wxFont const &)*arg2);
13425
13426 wxPyEndAllowThreads(__tstate);
13427 if (PyErr_Occurred()) SWIG_fail;
13428 }
13429 Py_INCREF(Py_None); resultobj = Py_None;
13430 return resultobj;
13431 fail:
13432 return NULL;
13433 }
13434
13435
13436 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
13437 PyObject *resultobj;
13438 wxFontData *arg1 = (wxFontData *) 0 ;
13439 int arg2 ;
13440 int arg3 ;
13441 PyObject * obj0 = 0 ;
13442 PyObject * obj1 = 0 ;
13443 PyObject * obj2 = 0 ;
13444 char *kwnames[] = {
13445 (char *) "self",(char *) "min",(char *) "max", NULL
13446 };
13447
13448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13451 arg2 = (int) SWIG_AsInt(obj1);
13452 if (PyErr_Occurred()) SWIG_fail;
13453 arg3 = (int) SWIG_AsInt(obj2);
13454 if (PyErr_Occurred()) SWIG_fail;
13455 {
13456 PyThreadState* __tstate = wxPyBeginAllowThreads();
13457 (arg1)->SetRange(arg2,arg3);
13458
13459 wxPyEndAllowThreads(__tstate);
13460 if (PyErr_Occurred()) SWIG_fail;
13461 }
13462 Py_INCREF(Py_None); resultobj = Py_None;
13463 return resultobj;
13464 fail:
13465 return NULL;
13466 }
13467
13468
13469 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13470 PyObject *resultobj;
13471 wxFontData *arg1 = (wxFontData *) 0 ;
13472 bool arg2 ;
13473 PyObject * obj0 = 0 ;
13474 PyObject * obj1 = 0 ;
13475 char *kwnames[] = {
13476 (char *) "self",(char *) "showHelp", NULL
13477 };
13478
13479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
13480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13482 arg2 = (bool) SWIG_AsBool(obj1);
13483 if (PyErr_Occurred()) SWIG_fail;
13484 {
13485 PyThreadState* __tstate = wxPyBeginAllowThreads();
13486 (arg1)->SetShowHelp(arg2);
13487
13488 wxPyEndAllowThreads(__tstate);
13489 if (PyErr_Occurred()) SWIG_fail;
13490 }
13491 Py_INCREF(Py_None); resultobj = Py_None;
13492 return resultobj;
13493 fail:
13494 return NULL;
13495 }
13496
13497
13498 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
13499 PyObject *obj;
13500 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13501 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
13502 Py_INCREF(obj);
13503 return Py_BuildValue((char *)"");
13504 }
13505 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13506 PyObject *resultobj;
13507 wxWindow *arg1 = (wxWindow *) 0 ;
13508 wxFontData *arg2 = 0 ;
13509 wxFontDialog *result;
13510 PyObject * obj0 = 0 ;
13511 PyObject * obj1 = 0 ;
13512 char *kwnames[] = {
13513 (char *) "parent",(char *) "data", NULL
13514 };
13515
13516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
13517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13519 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
13520 SWIG_POINTER_EXCEPTION | 0)) == -1)
13521 SWIG_fail;
13522 if (arg2 == NULL) {
13523 PyErr_SetString(PyExc_TypeError,"null reference");
13524 SWIG_fail;
13525 }
13526 {
13527 if (!wxPyCheckForApp()) SWIG_fail;
13528 PyThreadState* __tstate = wxPyBeginAllowThreads();
13529 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
13530
13531 wxPyEndAllowThreads(__tstate);
13532 if (PyErr_Occurred()) SWIG_fail;
13533 }
13534 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
13535 return resultobj;
13536 fail:
13537 return NULL;
13538 }
13539
13540
13541 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
13542 PyObject *resultobj;
13543 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13544 wxFontData *result;
13545 PyObject * obj0 = 0 ;
13546 char *kwnames[] = {
13547 (char *) "self", NULL
13548 };
13549
13550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13553 {
13554 PyThreadState* __tstate = wxPyBeginAllowThreads();
13555 {
13556 wxFontData &_result_ref = (arg1)->GetFontData();
13557 result = (wxFontData *) &_result_ref;
13558 }
13559
13560 wxPyEndAllowThreads(__tstate);
13561 if (PyErr_Occurred()) SWIG_fail;
13562 }
13563 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
13564 return resultobj;
13565 fail:
13566 return NULL;
13567 }
13568
13569
13570 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
13571 PyObject *obj;
13572 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13573 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13574 Py_INCREF(obj);
13575 return Py_BuildValue((char *)"");
13576 }
13577 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13578 PyObject *resultobj;
13579 wxWindow *arg1 = (wxWindow *) 0 ;
13580 wxString *arg2 = 0 ;
13581 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13582 wxString *arg3 = (wxString *) &arg3_defvalue ;
13583 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13584 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13585 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13586 wxMessageDialog *result;
13587 bool temp2 = False ;
13588 bool temp3 = False ;
13589 wxPoint temp5 ;
13590 PyObject * obj0 = 0 ;
13591 PyObject * obj1 = 0 ;
13592 PyObject * obj2 = 0 ;
13593 PyObject * obj3 = 0 ;
13594 PyObject * obj4 = 0 ;
13595 char *kwnames[] = {
13596 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13597 };
13598
13599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13602 {
13603 arg2 = wxString_in_helper(obj1);
13604 if (arg2 == NULL) SWIG_fail;
13605 temp2 = True;
13606 }
13607 if (obj2) {
13608 {
13609 arg3 = wxString_in_helper(obj2);
13610 if (arg3 == NULL) SWIG_fail;
13611 temp3 = True;
13612 }
13613 }
13614 if (obj3) {
13615 arg4 = (long) SWIG_AsLong(obj3);
13616 if (PyErr_Occurred()) SWIG_fail;
13617 }
13618 if (obj4) {
13619 {
13620 arg5 = &temp5;
13621 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13622 }
13623 }
13624 {
13625 if (!wxPyCheckForApp()) SWIG_fail;
13626 PyThreadState* __tstate = wxPyBeginAllowThreads();
13627 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13628
13629 wxPyEndAllowThreads(__tstate);
13630 if (PyErr_Occurred()) SWIG_fail;
13631 }
13632 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
13633 {
13634 if (temp2)
13635 delete arg2;
13636 }
13637 {
13638 if (temp3)
13639 delete arg3;
13640 }
13641 return resultobj;
13642 fail:
13643 {
13644 if (temp2)
13645 delete arg2;
13646 }
13647 {
13648 if (temp3)
13649 delete arg3;
13650 }
13651 return NULL;
13652 }
13653
13654
13655 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
13656 PyObject *obj;
13657 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13658 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13659 Py_INCREF(obj);
13660 return Py_BuildValue((char *)"");
13661 }
13662 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13663 PyObject *resultobj;
13664 wxString *arg1 = 0 ;
13665 wxString *arg2 = 0 ;
13666 int arg3 = (int) 100 ;
13667 wxWindow *arg4 = (wxWindow *) NULL ;
13668 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13669 wxProgressDialog *result;
13670 bool temp1 = False ;
13671 bool temp2 = False ;
13672 PyObject * obj0 = 0 ;
13673 PyObject * obj1 = 0 ;
13674 PyObject * obj2 = 0 ;
13675 PyObject * obj3 = 0 ;
13676 PyObject * obj4 = 0 ;
13677 char *kwnames[] = {
13678 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13679 };
13680
13681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13682 {
13683 arg1 = wxString_in_helper(obj0);
13684 if (arg1 == NULL) SWIG_fail;
13685 temp1 = True;
13686 }
13687 {
13688 arg2 = wxString_in_helper(obj1);
13689 if (arg2 == NULL) SWIG_fail;
13690 temp2 = True;
13691 }
13692 if (obj2) {
13693 arg3 = (int) SWIG_AsInt(obj2);
13694 if (PyErr_Occurred()) SWIG_fail;
13695 }
13696 if (obj3) {
13697 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
13698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13699 }
13700 if (obj4) {
13701 arg5 = (int) SWIG_AsInt(obj4);
13702 if (PyErr_Occurred()) SWIG_fail;
13703 }
13704 {
13705 if (!wxPyCheckForApp()) SWIG_fail;
13706 PyThreadState* __tstate = wxPyBeginAllowThreads();
13707 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13708
13709 wxPyEndAllowThreads(__tstate);
13710 if (PyErr_Occurred()) SWIG_fail;
13711 }
13712 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
13713 {
13714 if (temp1)
13715 delete arg1;
13716 }
13717 {
13718 if (temp2)
13719 delete arg2;
13720 }
13721 return resultobj;
13722 fail:
13723 {
13724 if (temp1)
13725 delete arg1;
13726 }
13727 {
13728 if (temp2)
13729 delete arg2;
13730 }
13731 return NULL;
13732 }
13733
13734
13735 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
13736 PyObject *resultobj;
13737 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13738 int arg2 ;
13739 wxString const &arg3_defvalue = wxPyEmptyString ;
13740 wxString *arg3 = (wxString *) &arg3_defvalue ;
13741 bool result;
13742 bool temp3 = False ;
13743 PyObject * obj0 = 0 ;
13744 PyObject * obj1 = 0 ;
13745 PyObject * obj2 = 0 ;
13746 char *kwnames[] = {
13747 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13748 };
13749
13750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13753 arg2 = (int) SWIG_AsInt(obj1);
13754 if (PyErr_Occurred()) SWIG_fail;
13755 if (obj2) {
13756 {
13757 arg3 = wxString_in_helper(obj2);
13758 if (arg3 == NULL) SWIG_fail;
13759 temp3 = True;
13760 }
13761 }
13762 {
13763 PyThreadState* __tstate = wxPyBeginAllowThreads();
13764 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13765
13766 wxPyEndAllowThreads(__tstate);
13767 if (PyErr_Occurred()) SWIG_fail;
13768 }
13769 {
13770 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13771 }
13772 {
13773 if (temp3)
13774 delete arg3;
13775 }
13776 return resultobj;
13777 fail:
13778 {
13779 if (temp3)
13780 delete arg3;
13781 }
13782 return NULL;
13783 }
13784
13785
13786 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
13787 PyObject *resultobj;
13788 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13789 PyObject * obj0 = 0 ;
13790 char *kwnames[] = {
13791 (char *) "self", NULL
13792 };
13793
13794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
13795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13797 {
13798 PyThreadState* __tstate = wxPyBeginAllowThreads();
13799 (arg1)->Resume();
13800
13801 wxPyEndAllowThreads(__tstate);
13802 if (PyErr_Occurred()) SWIG_fail;
13803 }
13804 Py_INCREF(Py_None); resultobj = Py_None;
13805 return resultobj;
13806 fail:
13807 return NULL;
13808 }
13809
13810
13811 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
13812 PyObject *obj;
13813 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13814 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
13815 Py_INCREF(obj);
13816 return Py_BuildValue((char *)"");
13817 }
13818 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13819 PyObject *resultobj;
13820 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13821 int arg2 = (int) 0 ;
13822 wxFindDialogEvent *result;
13823 PyObject * obj0 = 0 ;
13824 PyObject * obj1 = 0 ;
13825 char *kwnames[] = {
13826 (char *) "commandType",(char *) "id", NULL
13827 };
13828
13829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
13830 if (obj0) {
13831 arg1 = (wxEventType) SWIG_AsInt(obj0);
13832 if (PyErr_Occurred()) SWIG_fail;
13833 }
13834 if (obj1) {
13835 arg2 = (int) SWIG_AsInt(obj1);
13836 if (PyErr_Occurred()) SWIG_fail;
13837 }
13838 {
13839 PyThreadState* __tstate = wxPyBeginAllowThreads();
13840 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
13841
13842 wxPyEndAllowThreads(__tstate);
13843 if (PyErr_Occurred()) SWIG_fail;
13844 }
13845 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
13846 return resultobj;
13847 fail:
13848 return NULL;
13849 }
13850
13851
13852 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13853 PyObject *resultobj;
13854 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13855 int result;
13856 PyObject * obj0 = 0 ;
13857 char *kwnames[] = {
13858 (char *) "self", NULL
13859 };
13860
13861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
13862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13864 {
13865 PyThreadState* __tstate = wxPyBeginAllowThreads();
13866 result = (int)(arg1)->GetFlags();
13867
13868 wxPyEndAllowThreads(__tstate);
13869 if (PyErr_Occurred()) SWIG_fail;
13870 }
13871 resultobj = SWIG_FromInt((int)result);
13872 return resultobj;
13873 fail:
13874 return NULL;
13875 }
13876
13877
13878 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13879 PyObject *resultobj;
13880 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13881 wxString *result;
13882 PyObject * obj0 = 0 ;
13883 char *kwnames[] = {
13884 (char *) "self", NULL
13885 };
13886
13887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
13888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13890 {
13891 PyThreadState* __tstate = wxPyBeginAllowThreads();
13892 {
13893 wxString const &_result_ref = (arg1)->GetFindString();
13894 result = (wxString *) &_result_ref;
13895 }
13896
13897 wxPyEndAllowThreads(__tstate);
13898 if (PyErr_Occurred()) SWIG_fail;
13899 }
13900 {
13901 #if wxUSE_UNICODE
13902 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13903 #else
13904 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13905 #endif
13906 }
13907 return resultobj;
13908 fail:
13909 return NULL;
13910 }
13911
13912
13913 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13914 PyObject *resultobj;
13915 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13916 wxString *result;
13917 PyObject * obj0 = 0 ;
13918 char *kwnames[] = {
13919 (char *) "self", NULL
13920 };
13921
13922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
13923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13925 {
13926 PyThreadState* __tstate = wxPyBeginAllowThreads();
13927 {
13928 wxString const &_result_ref = (arg1)->GetReplaceString();
13929 result = (wxString *) &_result_ref;
13930 }
13931
13932 wxPyEndAllowThreads(__tstate);
13933 if (PyErr_Occurred()) SWIG_fail;
13934 }
13935 {
13936 #if wxUSE_UNICODE
13937 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13938 #else
13939 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13940 #endif
13941 }
13942 return resultobj;
13943 fail:
13944 return NULL;
13945 }
13946
13947
13948 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13949 PyObject *resultobj;
13950 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13951 wxFindReplaceDialog *result;
13952 PyObject * obj0 = 0 ;
13953 char *kwnames[] = {
13954 (char *) "self", NULL
13955 };
13956
13957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
13958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13960 {
13961 PyThreadState* __tstate = wxPyBeginAllowThreads();
13962 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
13963
13964 wxPyEndAllowThreads(__tstate);
13965 if (PyErr_Occurred()) SWIG_fail;
13966 }
13967 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
13968 return resultobj;
13969 fail:
13970 return NULL;
13971 }
13972
13973
13974 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13975 PyObject *resultobj;
13976 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13977 int arg2 ;
13978 PyObject * obj0 = 0 ;
13979 PyObject * obj1 = 0 ;
13980 char *kwnames[] = {
13981 (char *) "self",(char *) "flags", NULL
13982 };
13983
13984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13987 arg2 = (int) SWIG_AsInt(obj1);
13988 if (PyErr_Occurred()) SWIG_fail;
13989 {
13990 PyThreadState* __tstate = wxPyBeginAllowThreads();
13991 (arg1)->SetFlags(arg2);
13992
13993 wxPyEndAllowThreads(__tstate);
13994 if (PyErr_Occurred()) SWIG_fail;
13995 }
13996 Py_INCREF(Py_None); resultobj = Py_None;
13997 return resultobj;
13998 fail:
13999 return NULL;
14000 }
14001
14002
14003 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
14004 PyObject *resultobj;
14005 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14006 wxString *arg2 = 0 ;
14007 bool temp2 = False ;
14008 PyObject * obj0 = 0 ;
14009 PyObject * obj1 = 0 ;
14010 char *kwnames[] = {
14011 (char *) "self",(char *) "str", NULL
14012 };
14013
14014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14017 {
14018 arg2 = wxString_in_helper(obj1);
14019 if (arg2 == NULL) SWIG_fail;
14020 temp2 = True;
14021 }
14022 {
14023 PyThreadState* __tstate = wxPyBeginAllowThreads();
14024 (arg1)->SetFindString((wxString const &)*arg2);
14025
14026 wxPyEndAllowThreads(__tstate);
14027 if (PyErr_Occurred()) SWIG_fail;
14028 }
14029 Py_INCREF(Py_None); resultobj = Py_None;
14030 {
14031 if (temp2)
14032 delete arg2;
14033 }
14034 return resultobj;
14035 fail:
14036 {
14037 if (temp2)
14038 delete arg2;
14039 }
14040 return NULL;
14041 }
14042
14043
14044 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
14045 PyObject *resultobj;
14046 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14047 wxString *arg2 = 0 ;
14048 bool temp2 = False ;
14049 PyObject * obj0 = 0 ;
14050 PyObject * obj1 = 0 ;
14051 char *kwnames[] = {
14052 (char *) "self",(char *) "str", NULL
14053 };
14054
14055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14058 {
14059 arg2 = wxString_in_helper(obj1);
14060 if (arg2 == NULL) SWIG_fail;
14061 temp2 = True;
14062 }
14063 {
14064 PyThreadState* __tstate = wxPyBeginAllowThreads();
14065 (arg1)->SetReplaceString((wxString const &)*arg2);
14066
14067 wxPyEndAllowThreads(__tstate);
14068 if (PyErr_Occurred()) SWIG_fail;
14069 }
14070 Py_INCREF(Py_None); resultobj = Py_None;
14071 {
14072 if (temp2)
14073 delete arg2;
14074 }
14075 return resultobj;
14076 fail:
14077 {
14078 if (temp2)
14079 delete arg2;
14080 }
14081 return NULL;
14082 }
14083
14084
14085 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
14086 PyObject *obj;
14087 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14088 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
14089 Py_INCREF(obj);
14090 return Py_BuildValue((char *)"");
14091 }
14092 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
14093 PyObject *resultobj;
14094 int arg1 = (int) 0 ;
14095 wxFindReplaceData *result;
14096 PyObject * obj0 = 0 ;
14097 char *kwnames[] = {
14098 (char *) "flags", NULL
14099 };
14100
14101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
14102 if (obj0) {
14103 arg1 = (int) SWIG_AsInt(obj0);
14104 if (PyErr_Occurred()) SWIG_fail;
14105 }
14106 {
14107 PyThreadState* __tstate = wxPyBeginAllowThreads();
14108 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
14109
14110 wxPyEndAllowThreads(__tstate);
14111 if (PyErr_Occurred()) SWIG_fail;
14112 }
14113 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
14114 return resultobj;
14115 fail:
14116 return NULL;
14117 }
14118
14119
14120 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
14121 PyObject *resultobj;
14122 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14123 PyObject * obj0 = 0 ;
14124 char *kwnames[] = {
14125 (char *) "self", NULL
14126 };
14127
14128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
14129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14131 {
14132 PyThreadState* __tstate = wxPyBeginAllowThreads();
14133 delete arg1;
14134
14135 wxPyEndAllowThreads(__tstate);
14136 if (PyErr_Occurred()) SWIG_fail;
14137 }
14138 Py_INCREF(Py_None); resultobj = Py_None;
14139 return resultobj;
14140 fail:
14141 return NULL;
14142 }
14143
14144
14145 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
14146 PyObject *resultobj;
14147 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14148 wxString *result;
14149 PyObject * obj0 = 0 ;
14150 char *kwnames[] = {
14151 (char *) "self", NULL
14152 };
14153
14154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
14155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14157 {
14158 PyThreadState* __tstate = wxPyBeginAllowThreads();
14159 {
14160 wxString const &_result_ref = (arg1)->GetFindString();
14161 result = (wxString *) &_result_ref;
14162 }
14163
14164 wxPyEndAllowThreads(__tstate);
14165 if (PyErr_Occurred()) SWIG_fail;
14166 }
14167 {
14168 #if wxUSE_UNICODE
14169 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14170 #else
14171 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14172 #endif
14173 }
14174 return resultobj;
14175 fail:
14176 return NULL;
14177 }
14178
14179
14180 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
14181 PyObject *resultobj;
14182 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14183 wxString *result;
14184 PyObject * obj0 = 0 ;
14185 char *kwnames[] = {
14186 (char *) "self", NULL
14187 };
14188
14189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
14190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14192 {
14193 PyThreadState* __tstate = wxPyBeginAllowThreads();
14194 {
14195 wxString const &_result_ref = (arg1)->GetReplaceString();
14196 result = (wxString *) &_result_ref;
14197 }
14198
14199 wxPyEndAllowThreads(__tstate);
14200 if (PyErr_Occurred()) SWIG_fail;
14201 }
14202 {
14203 #if wxUSE_UNICODE
14204 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14205 #else
14206 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14207 #endif
14208 }
14209 return resultobj;
14210 fail:
14211 return NULL;
14212 }
14213
14214
14215 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
14216 PyObject *resultobj;
14217 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14218 int result;
14219 PyObject * obj0 = 0 ;
14220 char *kwnames[] = {
14221 (char *) "self", NULL
14222 };
14223
14224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
14225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14227 {
14228 PyThreadState* __tstate = wxPyBeginAllowThreads();
14229 result = (int)(arg1)->GetFlags();
14230
14231 wxPyEndAllowThreads(__tstate);
14232 if (PyErr_Occurred()) SWIG_fail;
14233 }
14234 resultobj = SWIG_FromInt((int)result);
14235 return resultobj;
14236 fail:
14237 return NULL;
14238 }
14239
14240
14241 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
14242 PyObject *resultobj;
14243 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14244 int arg2 ;
14245 PyObject * obj0 = 0 ;
14246 PyObject * obj1 = 0 ;
14247 char *kwnames[] = {
14248 (char *) "self",(char *) "flags", NULL
14249 };
14250
14251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14254 arg2 = (int) SWIG_AsInt(obj1);
14255 if (PyErr_Occurred()) SWIG_fail;
14256 {
14257 PyThreadState* __tstate = wxPyBeginAllowThreads();
14258 (arg1)->SetFlags(arg2);
14259
14260 wxPyEndAllowThreads(__tstate);
14261 if (PyErr_Occurred()) SWIG_fail;
14262 }
14263 Py_INCREF(Py_None); resultobj = Py_None;
14264 return resultobj;
14265 fail:
14266 return NULL;
14267 }
14268
14269
14270 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
14271 PyObject *resultobj;
14272 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14273 wxString *arg2 = 0 ;
14274 bool temp2 = False ;
14275 PyObject * obj0 = 0 ;
14276 PyObject * obj1 = 0 ;
14277 char *kwnames[] = {
14278 (char *) "self",(char *) "str", NULL
14279 };
14280
14281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14284 {
14285 arg2 = wxString_in_helper(obj1);
14286 if (arg2 == NULL) SWIG_fail;
14287 temp2 = True;
14288 }
14289 {
14290 PyThreadState* __tstate = wxPyBeginAllowThreads();
14291 (arg1)->SetFindString((wxString const &)*arg2);
14292
14293 wxPyEndAllowThreads(__tstate);
14294 if (PyErr_Occurred()) SWIG_fail;
14295 }
14296 Py_INCREF(Py_None); resultobj = Py_None;
14297 {
14298 if (temp2)
14299 delete arg2;
14300 }
14301 return resultobj;
14302 fail:
14303 {
14304 if (temp2)
14305 delete arg2;
14306 }
14307 return NULL;
14308 }
14309
14310
14311 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
14312 PyObject *resultobj;
14313 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14314 wxString *arg2 = 0 ;
14315 bool temp2 = False ;
14316 PyObject * obj0 = 0 ;
14317 PyObject * obj1 = 0 ;
14318 char *kwnames[] = {
14319 (char *) "self",(char *) "str", NULL
14320 };
14321
14322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14325 {
14326 arg2 = wxString_in_helper(obj1);
14327 if (arg2 == NULL) SWIG_fail;
14328 temp2 = True;
14329 }
14330 {
14331 PyThreadState* __tstate = wxPyBeginAllowThreads();
14332 (arg1)->SetReplaceString((wxString const &)*arg2);
14333
14334 wxPyEndAllowThreads(__tstate);
14335 if (PyErr_Occurred()) SWIG_fail;
14336 }
14337 Py_INCREF(Py_None); resultobj = Py_None;
14338 {
14339 if (temp2)
14340 delete arg2;
14341 }
14342 return resultobj;
14343 fail:
14344 {
14345 if (temp2)
14346 delete arg2;
14347 }
14348 return NULL;
14349 }
14350
14351
14352 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
14353 PyObject *obj;
14354 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14355 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
14356 Py_INCREF(obj);
14357 return Py_BuildValue((char *)"");
14358 }
14359 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14360 PyObject *resultobj;
14361 wxWindow *arg1 = (wxWindow *) 0 ;
14362 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14363 wxString *arg3 = 0 ;
14364 int arg4 = (int) 0 ;
14365 wxFindReplaceDialog *result;
14366 bool temp3 = False ;
14367 PyObject * obj0 = 0 ;
14368 PyObject * obj1 = 0 ;
14369 PyObject * obj2 = 0 ;
14370 PyObject * obj3 = 0 ;
14371 char *kwnames[] = {
14372 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14373 };
14374
14375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14378 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14380 {
14381 arg3 = wxString_in_helper(obj2);
14382 if (arg3 == NULL) SWIG_fail;
14383 temp3 = True;
14384 }
14385 if (obj3) {
14386 arg4 = (int) SWIG_AsInt(obj3);
14387 if (PyErr_Occurred()) SWIG_fail;
14388 }
14389 {
14390 if (!wxPyCheckForApp()) SWIG_fail;
14391 PyThreadState* __tstate = wxPyBeginAllowThreads();
14392 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
14393
14394 wxPyEndAllowThreads(__tstate);
14395 if (PyErr_Occurred()) SWIG_fail;
14396 }
14397 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14398 {
14399 if (temp3)
14400 delete arg3;
14401 }
14402 return resultobj;
14403 fail:
14404 {
14405 if (temp3)
14406 delete arg3;
14407 }
14408 return NULL;
14409 }
14410
14411
14412 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14413 PyObject *resultobj;
14414 wxFindReplaceDialog *result;
14415 char *kwnames[] = {
14416 NULL
14417 };
14418
14419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
14420 {
14421 if (!wxPyCheckForApp()) SWIG_fail;
14422 PyThreadState* __tstate = wxPyBeginAllowThreads();
14423 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
14424
14425 wxPyEndAllowThreads(__tstate);
14426 if (PyErr_Occurred()) SWIG_fail;
14427 }
14428 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14429 return resultobj;
14430 fail:
14431 return NULL;
14432 }
14433
14434
14435 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14436 PyObject *resultobj;
14437 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14438 wxWindow *arg2 = (wxWindow *) 0 ;
14439 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14440 wxString *arg4 = 0 ;
14441 int arg5 = (int) 0 ;
14442 bool result;
14443 bool temp4 = False ;
14444 PyObject * obj0 = 0 ;
14445 PyObject * obj1 = 0 ;
14446 PyObject * obj2 = 0 ;
14447 PyObject * obj3 = 0 ;
14448 PyObject * obj4 = 0 ;
14449 char *kwnames[] = {
14450 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14451 };
14452
14453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14456 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14458 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
14459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14460 {
14461 arg4 = wxString_in_helper(obj3);
14462 if (arg4 == NULL) SWIG_fail;
14463 temp4 = True;
14464 }
14465 if (obj4) {
14466 arg5 = (int) SWIG_AsInt(obj4);
14467 if (PyErr_Occurred()) SWIG_fail;
14468 }
14469 {
14470 PyThreadState* __tstate = wxPyBeginAllowThreads();
14471 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14472
14473 wxPyEndAllowThreads(__tstate);
14474 if (PyErr_Occurred()) SWIG_fail;
14475 }
14476 {
14477 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14478 }
14479 {
14480 if (temp4)
14481 delete arg4;
14482 }
14483 return resultobj;
14484 fail:
14485 {
14486 if (temp4)
14487 delete arg4;
14488 }
14489 return NULL;
14490 }
14491
14492
14493 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14494 PyObject *resultobj;
14495 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14496 wxFindReplaceData *result;
14497 PyObject * obj0 = 0 ;
14498 char *kwnames[] = {
14499 (char *) "self", NULL
14500 };
14501
14502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
14503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14505 {
14506 PyThreadState* __tstate = wxPyBeginAllowThreads();
14507 result = (wxFindReplaceData *)(arg1)->GetData();
14508
14509 wxPyEndAllowThreads(__tstate);
14510 if (PyErr_Occurred()) SWIG_fail;
14511 }
14512 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
14513 return resultobj;
14514 fail:
14515 return NULL;
14516 }
14517
14518
14519 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14520 PyObject *resultobj;
14521 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14522 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14523 PyObject * obj0 = 0 ;
14524 PyObject * obj1 = 0 ;
14525 char *kwnames[] = {
14526 (char *) "self",(char *) "data", NULL
14527 };
14528
14529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
14530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14532 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14534 {
14535 PyThreadState* __tstate = wxPyBeginAllowThreads();
14536 (arg1)->SetData(arg2);
14537
14538 wxPyEndAllowThreads(__tstate);
14539 if (PyErr_Occurred()) SWIG_fail;
14540 }
14541 Py_INCREF(Py_None); resultobj = Py_None;
14542 return resultobj;
14543 fail:
14544 return NULL;
14545 }
14546
14547
14548 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
14549 PyObject *obj;
14550 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14551 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14552 Py_INCREF(obj);
14553 return Py_BuildValue((char *)"");
14554 }
14555 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14556 PyObject *resultobj;
14557 wxWindow *arg1 = (wxWindow *) 0 ;
14558 int arg2 ;
14559 wxString *arg3 = 0 ;
14560 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14561 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14562 wxSize const &arg5_defvalue = wxDefaultSize ;
14563 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14564 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14565 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14566 wxString *arg7 = (wxString *) &arg7_defvalue ;
14567 wxMDIParentFrame *result;
14568 bool temp3 = False ;
14569 wxPoint temp4 ;
14570 wxSize temp5 ;
14571 bool temp7 = False ;
14572 PyObject * obj0 = 0 ;
14573 PyObject * obj1 = 0 ;
14574 PyObject * obj2 = 0 ;
14575 PyObject * obj3 = 0 ;
14576 PyObject * obj4 = 0 ;
14577 PyObject * obj5 = 0 ;
14578 PyObject * obj6 = 0 ;
14579 char *kwnames[] = {
14580 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14581 };
14582
14583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14586 arg2 = (int const) SWIG_AsInt(obj1);
14587 if (PyErr_Occurred()) SWIG_fail;
14588 {
14589 arg3 = wxString_in_helper(obj2);
14590 if (arg3 == NULL) SWIG_fail;
14591 temp3 = True;
14592 }
14593 if (obj3) {
14594 {
14595 arg4 = &temp4;
14596 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14597 }
14598 }
14599 if (obj4) {
14600 {
14601 arg5 = &temp5;
14602 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14603 }
14604 }
14605 if (obj5) {
14606 arg6 = (long) SWIG_AsLong(obj5);
14607 if (PyErr_Occurred()) SWIG_fail;
14608 }
14609 if (obj6) {
14610 {
14611 arg7 = wxString_in_helper(obj6);
14612 if (arg7 == NULL) SWIG_fail;
14613 temp7 = True;
14614 }
14615 }
14616 {
14617 if (!wxPyCheckForApp()) SWIG_fail;
14618 PyThreadState* __tstate = wxPyBeginAllowThreads();
14619 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14620
14621 wxPyEndAllowThreads(__tstate);
14622 if (PyErr_Occurred()) SWIG_fail;
14623 }
14624 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14625 {
14626 if (temp3)
14627 delete arg3;
14628 }
14629 {
14630 if (temp7)
14631 delete arg7;
14632 }
14633 return resultobj;
14634 fail:
14635 {
14636 if (temp3)
14637 delete arg3;
14638 }
14639 {
14640 if (temp7)
14641 delete arg7;
14642 }
14643 return NULL;
14644 }
14645
14646
14647 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14648 PyObject *resultobj;
14649 wxMDIParentFrame *result;
14650 char *kwnames[] = {
14651 NULL
14652 };
14653
14654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14655 {
14656 if (!wxPyCheckForApp()) SWIG_fail;
14657 PyThreadState* __tstate = wxPyBeginAllowThreads();
14658 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14659
14660 wxPyEndAllowThreads(__tstate);
14661 if (PyErr_Occurred()) SWIG_fail;
14662 }
14663 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14664 return resultobj;
14665 fail:
14666 return NULL;
14667 }
14668
14669
14670 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14671 PyObject *resultobj;
14672 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14673 wxWindow *arg2 = (wxWindow *) 0 ;
14674 int arg3 ;
14675 wxString *arg4 = 0 ;
14676 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14677 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14678 wxSize const &arg6_defvalue = wxDefaultSize ;
14679 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14680 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14681 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14682 wxString *arg8 = (wxString *) &arg8_defvalue ;
14683 bool result;
14684 bool temp4 = False ;
14685 wxPoint temp5 ;
14686 wxSize temp6 ;
14687 bool temp8 = False ;
14688 PyObject * obj0 = 0 ;
14689 PyObject * obj1 = 0 ;
14690 PyObject * obj2 = 0 ;
14691 PyObject * obj3 = 0 ;
14692 PyObject * obj4 = 0 ;
14693 PyObject * obj5 = 0 ;
14694 PyObject * obj6 = 0 ;
14695 PyObject * obj7 = 0 ;
14696 char *kwnames[] = {
14697 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14698 };
14699
14700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14703 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14705 arg3 = (int const) SWIG_AsInt(obj2);
14706 if (PyErr_Occurred()) SWIG_fail;
14707 {
14708 arg4 = wxString_in_helper(obj3);
14709 if (arg4 == NULL) SWIG_fail;
14710 temp4 = True;
14711 }
14712 if (obj4) {
14713 {
14714 arg5 = &temp5;
14715 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14716 }
14717 }
14718 if (obj5) {
14719 {
14720 arg6 = &temp6;
14721 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14722 }
14723 }
14724 if (obj6) {
14725 arg7 = (long) SWIG_AsLong(obj6);
14726 if (PyErr_Occurred()) SWIG_fail;
14727 }
14728 if (obj7) {
14729 {
14730 arg8 = wxString_in_helper(obj7);
14731 if (arg8 == NULL) SWIG_fail;
14732 temp8 = True;
14733 }
14734 }
14735 {
14736 PyThreadState* __tstate = wxPyBeginAllowThreads();
14737 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14738
14739 wxPyEndAllowThreads(__tstate);
14740 if (PyErr_Occurred()) SWIG_fail;
14741 }
14742 {
14743 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14744 }
14745 {
14746 if (temp4)
14747 delete arg4;
14748 }
14749 {
14750 if (temp8)
14751 delete arg8;
14752 }
14753 return resultobj;
14754 fail:
14755 {
14756 if (temp4)
14757 delete arg4;
14758 }
14759 {
14760 if (temp8)
14761 delete arg8;
14762 }
14763 return NULL;
14764 }
14765
14766
14767 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
14768 PyObject *resultobj;
14769 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14770 PyObject * obj0 = 0 ;
14771 char *kwnames[] = {
14772 (char *) "self", NULL
14773 };
14774
14775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
14776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14778 {
14779 PyThreadState* __tstate = wxPyBeginAllowThreads();
14780 (arg1)->ActivateNext();
14781
14782 wxPyEndAllowThreads(__tstate);
14783 if (PyErr_Occurred()) SWIG_fail;
14784 }
14785 Py_INCREF(Py_None); resultobj = Py_None;
14786 return resultobj;
14787 fail:
14788 return NULL;
14789 }
14790
14791
14792 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
14793 PyObject *resultobj;
14794 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14795 PyObject * obj0 = 0 ;
14796 char *kwnames[] = {
14797 (char *) "self", NULL
14798 };
14799
14800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
14801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14803 {
14804 PyThreadState* __tstate = wxPyBeginAllowThreads();
14805 (arg1)->ActivatePrevious();
14806
14807 wxPyEndAllowThreads(__tstate);
14808 if (PyErr_Occurred()) SWIG_fail;
14809 }
14810 Py_INCREF(Py_None); resultobj = Py_None;
14811 return resultobj;
14812 fail:
14813 return NULL;
14814 }
14815
14816
14817 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
14818 PyObject *resultobj;
14819 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14820 PyObject * obj0 = 0 ;
14821 char *kwnames[] = {
14822 (char *) "self", NULL
14823 };
14824
14825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
14826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14828 {
14829 PyThreadState* __tstate = wxPyBeginAllowThreads();
14830 (arg1)->ArrangeIcons();
14831
14832 wxPyEndAllowThreads(__tstate);
14833 if (PyErr_Occurred()) SWIG_fail;
14834 }
14835 Py_INCREF(Py_None); resultobj = Py_None;
14836 return resultobj;
14837 fail:
14838 return NULL;
14839 }
14840
14841
14842 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
14843 PyObject *resultobj;
14844 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14845 PyObject * obj0 = 0 ;
14846 char *kwnames[] = {
14847 (char *) "self", NULL
14848 };
14849
14850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
14851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14853 {
14854 PyThreadState* __tstate = wxPyBeginAllowThreads();
14855 (arg1)->Cascade();
14856
14857 wxPyEndAllowThreads(__tstate);
14858 if (PyErr_Occurred()) SWIG_fail;
14859 }
14860 Py_INCREF(Py_None); resultobj = Py_None;
14861 return resultobj;
14862 fail:
14863 return NULL;
14864 }
14865
14866
14867 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14868 PyObject *resultobj;
14869 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14870 wxMDIChildFrame *result;
14871 PyObject * obj0 = 0 ;
14872 char *kwnames[] = {
14873 (char *) "self", NULL
14874 };
14875
14876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
14877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14879 {
14880 PyThreadState* __tstate = wxPyBeginAllowThreads();
14881 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
14882
14883 wxPyEndAllowThreads(__tstate);
14884 if (PyErr_Occurred()) SWIG_fail;
14885 }
14886 {
14887 resultobj = wxPyMake_wxObject(result);
14888 }
14889 return resultobj;
14890 fail:
14891 return NULL;
14892 }
14893
14894
14895 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14896 PyObject *resultobj;
14897 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14898 wxMDIClientWindow *result;
14899 PyObject * obj0 = 0 ;
14900 char *kwnames[] = {
14901 (char *) "self", NULL
14902 };
14903
14904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
14905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14907 {
14908 PyThreadState* __tstate = wxPyBeginAllowThreads();
14909 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
14910
14911 wxPyEndAllowThreads(__tstate);
14912 if (PyErr_Occurred()) SWIG_fail;
14913 }
14914 {
14915 resultobj = wxPyMake_wxObject(result);
14916 }
14917 return resultobj;
14918 fail:
14919 return NULL;
14920 }
14921
14922
14923 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14924 PyObject *resultobj;
14925 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14926 wxWindow *result;
14927 PyObject * obj0 = 0 ;
14928 char *kwnames[] = {
14929 (char *) "self", NULL
14930 };
14931
14932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
14933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14935 {
14936 PyThreadState* __tstate = wxPyBeginAllowThreads();
14937 result = (wxWindow *)(arg1)->GetToolBar();
14938
14939 wxPyEndAllowThreads(__tstate);
14940 if (PyErr_Occurred()) SWIG_fail;
14941 }
14942 {
14943 resultobj = wxPyMake_wxObject(result);
14944 }
14945 return resultobj;
14946 fail:
14947 return NULL;
14948 }
14949
14950
14951 static PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
14952 PyObject *resultobj;
14953 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14954 wxMenu *result;
14955 PyObject * obj0 = 0 ;
14956 char *kwnames[] = {
14957 (char *) "self", NULL
14958 };
14959
14960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames,&obj0)) goto fail;
14961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14963 {
14964 PyThreadState* __tstate = wxPyBeginAllowThreads();
14965 result = (wxMenu *)(arg1)->GetWindowMenu();
14966
14967 wxPyEndAllowThreads(__tstate);
14968 if (PyErr_Occurred()) SWIG_fail;
14969 }
14970 {
14971 resultobj = wxPyMake_wxObject(result);
14972 }
14973 return resultobj;
14974 fail:
14975 return NULL;
14976 }
14977
14978
14979 static PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
14980 PyObject *resultobj;
14981 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14982 wxMenu *arg2 = (wxMenu *) 0 ;
14983 PyObject * obj0 = 0 ;
14984 PyObject * obj1 = 0 ;
14985 char *kwnames[] = {
14986 (char *) "self",(char *) "menu", NULL
14987 };
14988
14989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) goto fail;
14990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14992 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
14993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14994 {
14995 PyThreadState* __tstate = wxPyBeginAllowThreads();
14996 (arg1)->SetWindowMenu(arg2);
14997
14998 wxPyEndAllowThreads(__tstate);
14999 if (PyErr_Occurred()) SWIG_fail;
15000 }
15001 Py_INCREF(Py_None); resultobj = Py_None;
15002 return resultobj;
15003 fail:
15004 return NULL;
15005 }
15006
15007
15008 static PyObject *_wrap_MDIParentFrame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
15009 PyObject *resultobj;
15010 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15011 wxToolBar *arg2 = (wxToolBar *) 0 ;
15012 PyObject * obj0 = 0 ;
15013 PyObject * obj1 = 0 ;
15014 char *kwnames[] = {
15015 (char *) "self",(char *) "toolbar", NULL
15016 };
15017
15018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
15019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15021 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
15022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15023 {
15024 PyThreadState* __tstate = wxPyBeginAllowThreads();
15025 (arg1)->SetToolBar(arg2);
15026
15027 wxPyEndAllowThreads(__tstate);
15028 if (PyErr_Occurred()) SWIG_fail;
15029 }
15030 Py_INCREF(Py_None); resultobj = Py_None;
15031 return resultobj;
15032 fail:
15033 return NULL;
15034 }
15035
15036
15037 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
15038 PyObject *resultobj;
15039 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15040 PyObject * obj0 = 0 ;
15041 char *kwnames[] = {
15042 (char *) "self", NULL
15043 };
15044
15045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
15046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15048 {
15049 PyThreadState* __tstate = wxPyBeginAllowThreads();
15050 (arg1)->Tile();
15051
15052 wxPyEndAllowThreads(__tstate);
15053 if (PyErr_Occurred()) SWIG_fail;
15054 }
15055 Py_INCREF(Py_None); resultobj = Py_None;
15056 return resultobj;
15057 fail:
15058 return NULL;
15059 }
15060
15061
15062 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
15063 PyObject *obj;
15064 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15065 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
15066 Py_INCREF(obj);
15067 return Py_BuildValue((char *)"");
15068 }
15069 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
15070 PyObject *resultobj;
15071 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15072 int arg2 ;
15073 wxString *arg3 = 0 ;
15074 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15075 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15076 wxSize const &arg5_defvalue = wxDefaultSize ;
15077 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15078 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
15079 wxString const &arg7_defvalue = wxPyFrameNameStr ;
15080 wxString *arg7 = (wxString *) &arg7_defvalue ;
15081 wxMDIChildFrame *result;
15082 bool temp3 = False ;
15083 wxPoint temp4 ;
15084 wxSize temp5 ;
15085 bool temp7 = False ;
15086 PyObject * obj0 = 0 ;
15087 PyObject * obj1 = 0 ;
15088 PyObject * obj2 = 0 ;
15089 PyObject * obj3 = 0 ;
15090 PyObject * obj4 = 0 ;
15091 PyObject * obj5 = 0 ;
15092 PyObject * obj6 = 0 ;
15093 char *kwnames[] = {
15094 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15095 };
15096
15097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15100 arg2 = (int const) SWIG_AsInt(obj1);
15101 if (PyErr_Occurred()) SWIG_fail;
15102 {
15103 arg3 = wxString_in_helper(obj2);
15104 if (arg3 == NULL) SWIG_fail;
15105 temp3 = True;
15106 }
15107 if (obj3) {
15108 {
15109 arg4 = &temp4;
15110 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15111 }
15112 }
15113 if (obj4) {
15114 {
15115 arg5 = &temp5;
15116 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15117 }
15118 }
15119 if (obj5) {
15120 arg6 = (long) SWIG_AsLong(obj5);
15121 if (PyErr_Occurred()) SWIG_fail;
15122 }
15123 if (obj6) {
15124 {
15125 arg7 = wxString_in_helper(obj6);
15126 if (arg7 == NULL) SWIG_fail;
15127 temp7 = True;
15128 }
15129 }
15130 {
15131 if (!wxPyCheckForApp()) SWIG_fail;
15132 PyThreadState* __tstate = wxPyBeginAllowThreads();
15133 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15134
15135 wxPyEndAllowThreads(__tstate);
15136 if (PyErr_Occurred()) SWIG_fail;
15137 }
15138 {
15139 resultobj = wxPyMake_wxObject(result);
15140 }
15141 {
15142 if (temp3)
15143 delete arg3;
15144 }
15145 {
15146 if (temp7)
15147 delete arg7;
15148 }
15149 return resultobj;
15150 fail:
15151 {
15152 if (temp3)
15153 delete arg3;
15154 }
15155 {
15156 if (temp7)
15157 delete arg7;
15158 }
15159 return NULL;
15160 }
15161
15162
15163 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
15164 PyObject *resultobj;
15165 wxMDIChildFrame *result;
15166 char *kwnames[] = {
15167 NULL
15168 };
15169
15170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
15171 {
15172 if (!wxPyCheckForApp()) SWIG_fail;
15173 PyThreadState* __tstate = wxPyBeginAllowThreads();
15174 result = (wxMDIChildFrame *)new wxMDIChildFrame();
15175
15176 wxPyEndAllowThreads(__tstate);
15177 if (PyErr_Occurred()) SWIG_fail;
15178 }
15179 {
15180 resultobj = wxPyMake_wxObject(result);
15181 }
15182 return resultobj;
15183 fail:
15184 return NULL;
15185 }
15186
15187
15188 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15189 PyObject *resultobj;
15190 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15191 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15192 int arg3 ;
15193 wxString *arg4 = 0 ;
15194 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15195 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15196 wxSize const &arg6_defvalue = wxDefaultSize ;
15197 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15198 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
15199 wxString const &arg8_defvalue = wxPyFrameNameStr ;
15200 wxString *arg8 = (wxString *) &arg8_defvalue ;
15201 bool result;
15202 bool temp4 = False ;
15203 wxPoint temp5 ;
15204 wxSize temp6 ;
15205 bool temp8 = False ;
15206 PyObject * obj0 = 0 ;
15207 PyObject * obj1 = 0 ;
15208 PyObject * obj2 = 0 ;
15209 PyObject * obj3 = 0 ;
15210 PyObject * obj4 = 0 ;
15211 PyObject * obj5 = 0 ;
15212 PyObject * obj6 = 0 ;
15213 PyObject * obj7 = 0 ;
15214 char *kwnames[] = {
15215 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15216 };
15217
15218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15221 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15223 arg3 = (int const) SWIG_AsInt(obj2);
15224 if (PyErr_Occurred()) SWIG_fail;
15225 {
15226 arg4 = wxString_in_helper(obj3);
15227 if (arg4 == NULL) SWIG_fail;
15228 temp4 = True;
15229 }
15230 if (obj4) {
15231 {
15232 arg5 = &temp5;
15233 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15234 }
15235 }
15236 if (obj5) {
15237 {
15238 arg6 = &temp6;
15239 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15240 }
15241 }
15242 if (obj6) {
15243 arg7 = (long) SWIG_AsLong(obj6);
15244 if (PyErr_Occurred()) SWIG_fail;
15245 }
15246 if (obj7) {
15247 {
15248 arg8 = wxString_in_helper(obj7);
15249 if (arg8 == NULL) SWIG_fail;
15250 temp8 = True;
15251 }
15252 }
15253 {
15254 PyThreadState* __tstate = wxPyBeginAllowThreads();
15255 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
15256
15257 wxPyEndAllowThreads(__tstate);
15258 if (PyErr_Occurred()) SWIG_fail;
15259 }
15260 {
15261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15262 }
15263 {
15264 if (temp4)
15265 delete arg4;
15266 }
15267 {
15268 if (temp8)
15269 delete arg8;
15270 }
15271 return resultobj;
15272 fail:
15273 {
15274 if (temp4)
15275 delete arg4;
15276 }
15277 {
15278 if (temp8)
15279 delete arg8;
15280 }
15281 return NULL;
15282 }
15283
15284
15285 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
15286 PyObject *resultobj;
15287 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15288 PyObject * obj0 = 0 ;
15289 char *kwnames[] = {
15290 (char *) "self", NULL
15291 };
15292
15293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
15294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15296 {
15297 PyThreadState* __tstate = wxPyBeginAllowThreads();
15298 (arg1)->Activate();
15299
15300 wxPyEndAllowThreads(__tstate);
15301 if (PyErr_Occurred()) SWIG_fail;
15302 }
15303 Py_INCREF(Py_None); resultobj = Py_None;
15304 return resultobj;
15305 fail:
15306 return NULL;
15307 }
15308
15309
15310 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
15311 PyObject *resultobj;
15312 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15313 bool arg2 ;
15314 PyObject * obj0 = 0 ;
15315 PyObject * obj1 = 0 ;
15316 char *kwnames[] = {
15317 (char *) "self",(char *) "maximize", NULL
15318 };
15319
15320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
15321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15323 arg2 = (bool) SWIG_AsBool(obj1);
15324 if (PyErr_Occurred()) SWIG_fail;
15325 {
15326 PyThreadState* __tstate = wxPyBeginAllowThreads();
15327 (arg1)->Maximize(arg2);
15328
15329 wxPyEndAllowThreads(__tstate);
15330 if (PyErr_Occurred()) SWIG_fail;
15331 }
15332 Py_INCREF(Py_None); resultobj = Py_None;
15333 return resultobj;
15334 fail:
15335 return NULL;
15336 }
15337
15338
15339 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
15340 PyObject *resultobj;
15341 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15342 PyObject * obj0 = 0 ;
15343 char *kwnames[] = {
15344 (char *) "self", NULL
15345 };
15346
15347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
15348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15350 {
15351 PyThreadState* __tstate = wxPyBeginAllowThreads();
15352 (arg1)->Restore();
15353
15354 wxPyEndAllowThreads(__tstate);
15355 if (PyErr_Occurred()) SWIG_fail;
15356 }
15357 Py_INCREF(Py_None); resultobj = Py_None;
15358 return resultobj;
15359 fail:
15360 return NULL;
15361 }
15362
15363
15364 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
15365 PyObject *obj;
15366 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15367 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
15368 Py_INCREF(obj);
15369 return Py_BuildValue((char *)"");
15370 }
15371 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15372 PyObject *resultobj;
15373 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15374 long arg2 = (long) 0 ;
15375 wxMDIClientWindow *result;
15376 PyObject * obj0 = 0 ;
15377 PyObject * obj1 = 0 ;
15378 char *kwnames[] = {
15379 (char *) "parent",(char *) "style", NULL
15380 };
15381
15382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
15383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15385 if (obj1) {
15386 arg2 = (long) SWIG_AsLong(obj1);
15387 if (PyErr_Occurred()) SWIG_fail;
15388 }
15389 {
15390 if (!wxPyCheckForApp()) SWIG_fail;
15391 PyThreadState* __tstate = wxPyBeginAllowThreads();
15392 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
15393
15394 wxPyEndAllowThreads(__tstate);
15395 if (PyErr_Occurred()) SWIG_fail;
15396 }
15397 {
15398 resultobj = wxPyMake_wxObject(result);
15399 }
15400 return resultobj;
15401 fail:
15402 return NULL;
15403 }
15404
15405
15406 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15407 PyObject *resultobj;
15408 wxMDIClientWindow *result;
15409 char *kwnames[] = {
15410 NULL
15411 };
15412
15413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
15414 {
15415 if (!wxPyCheckForApp()) SWIG_fail;
15416 PyThreadState* __tstate = wxPyBeginAllowThreads();
15417 result = (wxMDIClientWindow *)new wxMDIClientWindow();
15418
15419 wxPyEndAllowThreads(__tstate);
15420 if (PyErr_Occurred()) SWIG_fail;
15421 }
15422 {
15423 resultobj = wxPyMake_wxObject(result);
15424 }
15425 return resultobj;
15426 fail:
15427 return NULL;
15428 }
15429
15430
15431 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15432 PyObject *resultobj;
15433 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
15434 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15435 long arg3 = (long) 0 ;
15436 bool result;
15437 PyObject * obj0 = 0 ;
15438 PyObject * obj1 = 0 ;
15439 PyObject * obj2 = 0 ;
15440 char *kwnames[] = {
15441 (char *) "self",(char *) "parent",(char *) "style", NULL
15442 };
15443
15444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
15446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15447 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15449 if (obj2) {
15450 arg3 = (long) SWIG_AsLong(obj2);
15451 if (PyErr_Occurred()) SWIG_fail;
15452 }
15453 {
15454 PyThreadState* __tstate = wxPyBeginAllowThreads();
15455 result = (bool)(arg1)->Create(arg2,arg3);
15456
15457 wxPyEndAllowThreads(__tstate);
15458 if (PyErr_Occurred()) SWIG_fail;
15459 }
15460 {
15461 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15462 }
15463 return resultobj;
15464 fail:
15465 return NULL;
15466 }
15467
15468
15469 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
15470 PyObject *obj;
15471 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15472 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
15473 Py_INCREF(obj);
15474 return Py_BuildValue((char *)"");
15475 }
15476 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15477 PyObject *resultobj;
15478 wxWindow *arg1 = (wxWindow *) 0 ;
15479 int arg2 ;
15480 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15481 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15482 wxSize const &arg4_defvalue = wxDefaultSize ;
15483 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15484 long arg5 = (long) 0 ;
15485 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15486 wxString *arg6 = (wxString *) &arg6_defvalue ;
15487 wxPyWindow *result;
15488 wxPoint temp3 ;
15489 wxSize temp4 ;
15490 bool temp6 = False ;
15491 PyObject * obj0 = 0 ;
15492 PyObject * obj1 = 0 ;
15493 PyObject * obj2 = 0 ;
15494 PyObject * obj3 = 0 ;
15495 PyObject * obj4 = 0 ;
15496 PyObject * obj5 = 0 ;
15497 char *kwnames[] = {
15498 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15499 };
15500
15501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15504 arg2 = (int const) SWIG_AsInt(obj1);
15505 if (PyErr_Occurred()) SWIG_fail;
15506 if (obj2) {
15507 {
15508 arg3 = &temp3;
15509 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15510 }
15511 }
15512 if (obj3) {
15513 {
15514 arg4 = &temp4;
15515 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15516 }
15517 }
15518 if (obj4) {
15519 arg5 = (long) SWIG_AsLong(obj4);
15520 if (PyErr_Occurred()) SWIG_fail;
15521 }
15522 if (obj5) {
15523 {
15524 arg6 = wxString_in_helper(obj5);
15525 if (arg6 == NULL) SWIG_fail;
15526 temp6 = True;
15527 }
15528 }
15529 {
15530 if (!wxPyCheckForApp()) SWIG_fail;
15531 PyThreadState* __tstate = wxPyBeginAllowThreads();
15532 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15533
15534 wxPyEndAllowThreads(__tstate);
15535 if (PyErr_Occurred()) SWIG_fail;
15536 }
15537 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15538 {
15539 if (temp6)
15540 delete arg6;
15541 }
15542 return resultobj;
15543 fail:
15544 {
15545 if (temp6)
15546 delete arg6;
15547 }
15548 return NULL;
15549 }
15550
15551
15552 static PyObject *_wrap_new_PrePyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15553 PyObject *resultobj;
15554 wxPyWindow *result;
15555 char *kwnames[] = {
15556 NULL
15557 };
15558
15559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
15560 {
15561 if (!wxPyCheckForApp()) SWIG_fail;
15562 PyThreadState* __tstate = wxPyBeginAllowThreads();
15563 result = (wxPyWindow *)new wxPyWindow();
15564
15565 wxPyEndAllowThreads(__tstate);
15566 if (PyErr_Occurred()) SWIG_fail;
15567 }
15568 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15569 return resultobj;
15570 fail:
15571 return NULL;
15572 }
15573
15574
15575 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15576 PyObject *resultobj;
15577 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15578 PyObject *arg2 = (PyObject *) 0 ;
15579 PyObject *arg3 = (PyObject *) 0 ;
15580 PyObject * obj0 = 0 ;
15581 PyObject * obj1 = 0 ;
15582 PyObject * obj2 = 0 ;
15583 char *kwnames[] = {
15584 (char *) "self",(char *) "self",(char *) "_class", NULL
15585 };
15586
15587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15590 arg2 = obj1;
15591 arg3 = obj2;
15592 {
15593 PyThreadState* __tstate = wxPyBeginAllowThreads();
15594 (arg1)->_setCallbackInfo(arg2,arg3);
15595
15596 wxPyEndAllowThreads(__tstate);
15597 if (PyErr_Occurred()) SWIG_fail;
15598 }
15599 Py_INCREF(Py_None); resultobj = Py_None;
15600 return resultobj;
15601 fail:
15602 return NULL;
15603 }
15604
15605
15606 static PyObject *_wrap_PyWindow_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15607 PyObject *resultobj;
15608 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15609 wxSize *arg2 = 0 ;
15610 wxSize temp2 ;
15611 PyObject * obj0 = 0 ;
15612 PyObject * obj1 = 0 ;
15613 char *kwnames[] = {
15614 (char *) "self",(char *) "size", NULL
15615 };
15616
15617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
15618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15620 {
15621 arg2 = &temp2;
15622 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15623 }
15624 {
15625 PyThreadState* __tstate = wxPyBeginAllowThreads();
15626 (arg1)->SetBestSize((wxSize const &)*arg2);
15627
15628 wxPyEndAllowThreads(__tstate);
15629 if (PyErr_Occurred()) SWIG_fail;
15630 }
15631 Py_INCREF(Py_None); resultobj = Py_None;
15632 return resultobj;
15633 fail:
15634 return NULL;
15635 }
15636
15637
15638 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15639 PyObject *resultobj;
15640 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15641 int arg2 ;
15642 int arg3 ;
15643 int arg4 ;
15644 int arg5 ;
15645 PyObject * obj0 = 0 ;
15646 PyObject * obj1 = 0 ;
15647 PyObject * obj2 = 0 ;
15648 PyObject * obj3 = 0 ;
15649 PyObject * obj4 = 0 ;
15650 char *kwnames[] = {
15651 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15652 };
15653
15654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15657 arg2 = (int) SWIG_AsInt(obj1);
15658 if (PyErr_Occurred()) SWIG_fail;
15659 arg3 = (int) SWIG_AsInt(obj2);
15660 if (PyErr_Occurred()) SWIG_fail;
15661 arg4 = (int) SWIG_AsInt(obj3);
15662 if (PyErr_Occurred()) SWIG_fail;
15663 arg5 = (int) SWIG_AsInt(obj4);
15664 if (PyErr_Occurred()) SWIG_fail;
15665 {
15666 PyThreadState* __tstate = wxPyBeginAllowThreads();
15667 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15668
15669 wxPyEndAllowThreads(__tstate);
15670 if (PyErr_Occurred()) SWIG_fail;
15671 }
15672 Py_INCREF(Py_None); resultobj = Py_None;
15673 return resultobj;
15674 fail:
15675 return NULL;
15676 }
15677
15678
15679 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15680 PyObject *resultobj;
15681 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15682 int arg2 ;
15683 int arg3 ;
15684 int arg4 ;
15685 int arg5 ;
15686 int arg6 = (int) wxSIZE_AUTO ;
15687 PyObject * obj0 = 0 ;
15688 PyObject * obj1 = 0 ;
15689 PyObject * obj2 = 0 ;
15690 PyObject * obj3 = 0 ;
15691 PyObject * obj4 = 0 ;
15692 PyObject * obj5 = 0 ;
15693 char *kwnames[] = {
15694 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15695 };
15696
15697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15700 arg2 = (int) SWIG_AsInt(obj1);
15701 if (PyErr_Occurred()) SWIG_fail;
15702 arg3 = (int) SWIG_AsInt(obj2);
15703 if (PyErr_Occurred()) SWIG_fail;
15704 arg4 = (int) SWIG_AsInt(obj3);
15705 if (PyErr_Occurred()) SWIG_fail;
15706 arg5 = (int) SWIG_AsInt(obj4);
15707 if (PyErr_Occurred()) SWIG_fail;
15708 if (obj5) {
15709 arg6 = (int) SWIG_AsInt(obj5);
15710 if (PyErr_Occurred()) SWIG_fail;
15711 }
15712 {
15713 PyThreadState* __tstate = wxPyBeginAllowThreads();
15714 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15715
15716 wxPyEndAllowThreads(__tstate);
15717 if (PyErr_Occurred()) SWIG_fail;
15718 }
15719 Py_INCREF(Py_None); resultobj = Py_None;
15720 return resultobj;
15721 fail:
15722 return NULL;
15723 }
15724
15725
15726 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15727 PyObject *resultobj;
15728 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15729 int arg2 ;
15730 int arg3 ;
15731 PyObject * obj0 = 0 ;
15732 PyObject * obj1 = 0 ;
15733 PyObject * obj2 = 0 ;
15734 char *kwnames[] = {
15735 (char *) "self",(char *) "width",(char *) "height", NULL
15736 };
15737
15738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15741 arg2 = (int) SWIG_AsInt(obj1);
15742 if (PyErr_Occurred()) SWIG_fail;
15743 arg3 = (int) SWIG_AsInt(obj2);
15744 if (PyErr_Occurred()) SWIG_fail;
15745 {
15746 PyThreadState* __tstate = wxPyBeginAllowThreads();
15747 (arg1)->base_DoSetClientSize(arg2,arg3);
15748
15749 wxPyEndAllowThreads(__tstate);
15750 if (PyErr_Occurred()) SWIG_fail;
15751 }
15752 Py_INCREF(Py_None); resultobj = Py_None;
15753 return resultobj;
15754 fail:
15755 return NULL;
15756 }
15757
15758
15759 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15760 PyObject *resultobj;
15761 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15762 int arg2 ;
15763 int arg3 ;
15764 PyObject * obj0 = 0 ;
15765 PyObject * obj1 = 0 ;
15766 PyObject * obj2 = 0 ;
15767 char *kwnames[] = {
15768 (char *) "self",(char *) "x",(char *) "y", NULL
15769 };
15770
15771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15774 arg2 = (int) SWIG_AsInt(obj1);
15775 if (PyErr_Occurred()) SWIG_fail;
15776 arg3 = (int) SWIG_AsInt(obj2);
15777 if (PyErr_Occurred()) SWIG_fail;
15778 {
15779 PyThreadState* __tstate = wxPyBeginAllowThreads();
15780 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15781
15782 wxPyEndAllowThreads(__tstate);
15783 if (PyErr_Occurred()) SWIG_fail;
15784 }
15785 Py_INCREF(Py_None); resultobj = Py_None;
15786 return resultobj;
15787 fail:
15788 return NULL;
15789 }
15790
15791
15792 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15793 PyObject *resultobj;
15794 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15795 int *arg2 = (int *) 0 ;
15796 int *arg3 = (int *) 0 ;
15797 int temp2 ;
15798 int temp3 ;
15799 PyObject * obj0 = 0 ;
15800 char *kwnames[] = {
15801 (char *) "self", NULL
15802 };
15803
15804 arg2 = &temp2;
15805 arg3 = &temp3;
15806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15809 {
15810 PyThreadState* __tstate = wxPyBeginAllowThreads();
15811 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15812
15813 wxPyEndAllowThreads(__tstate);
15814 if (PyErr_Occurred()) SWIG_fail;
15815 }
15816 Py_INCREF(Py_None); resultobj = Py_None;
15817 {
15818 PyObject *o = PyInt_FromLong((long) (*arg2));
15819 resultobj = t_output_helper(resultobj,o);
15820 }
15821 {
15822 PyObject *o = PyInt_FromLong((long) (*arg3));
15823 resultobj = t_output_helper(resultobj,o);
15824 }
15825 return resultobj;
15826 fail:
15827 return NULL;
15828 }
15829
15830
15831 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15832 PyObject *resultobj;
15833 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15834 int *arg2 = (int *) 0 ;
15835 int *arg3 = (int *) 0 ;
15836 int temp2 ;
15837 int temp3 ;
15838 PyObject * obj0 = 0 ;
15839 char *kwnames[] = {
15840 (char *) "self", NULL
15841 };
15842
15843 arg2 = &temp2;
15844 arg3 = &temp3;
15845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15848 {
15849 PyThreadState* __tstate = wxPyBeginAllowThreads();
15850 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
15851
15852 wxPyEndAllowThreads(__tstate);
15853 if (PyErr_Occurred()) SWIG_fail;
15854 }
15855 Py_INCREF(Py_None); resultobj = Py_None;
15856 {
15857 PyObject *o = PyInt_FromLong((long) (*arg2));
15858 resultobj = t_output_helper(resultobj,o);
15859 }
15860 {
15861 PyObject *o = PyInt_FromLong((long) (*arg3));
15862 resultobj = t_output_helper(resultobj,o);
15863 }
15864 return resultobj;
15865 fail:
15866 return NULL;
15867 }
15868
15869
15870 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15871 PyObject *resultobj;
15872 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15873 int *arg2 = (int *) 0 ;
15874 int *arg3 = (int *) 0 ;
15875 int temp2 ;
15876 int temp3 ;
15877 PyObject * obj0 = 0 ;
15878 char *kwnames[] = {
15879 (char *) "self", NULL
15880 };
15881
15882 arg2 = &temp2;
15883 arg3 = &temp3;
15884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
15885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15887 {
15888 PyThreadState* __tstate = wxPyBeginAllowThreads();
15889 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
15890
15891 wxPyEndAllowThreads(__tstate);
15892 if (PyErr_Occurred()) SWIG_fail;
15893 }
15894 Py_INCREF(Py_None); resultobj = Py_None;
15895 {
15896 PyObject *o = PyInt_FromLong((long) (*arg2));
15897 resultobj = t_output_helper(resultobj,o);
15898 }
15899 {
15900 PyObject *o = PyInt_FromLong((long) (*arg3));
15901 resultobj = t_output_helper(resultobj,o);
15902 }
15903 return resultobj;
15904 fail:
15905 return NULL;
15906 }
15907
15908
15909 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15910 PyObject *resultobj;
15911 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15912 wxSize result;
15913 PyObject * obj0 = 0 ;
15914 char *kwnames[] = {
15915 (char *) "self", NULL
15916 };
15917
15918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15921 {
15922 PyThreadState* __tstate = wxPyBeginAllowThreads();
15923 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
15924
15925 wxPyEndAllowThreads(__tstate);
15926 if (PyErr_Occurred()) SWIG_fail;
15927 }
15928 {
15929 wxSize * resultptr;
15930 resultptr = new wxSize((wxSize &) result);
15931 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15932 }
15933 return resultobj;
15934 fail:
15935 return NULL;
15936 }
15937
15938
15939 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15940 PyObject *resultobj;
15941 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15942 wxSize result;
15943 PyObject * obj0 = 0 ;
15944 char *kwnames[] = {
15945 (char *) "self", NULL
15946 };
15947
15948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15951 {
15952 PyThreadState* __tstate = wxPyBeginAllowThreads();
15953 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
15954
15955 wxPyEndAllowThreads(__tstate);
15956 if (PyErr_Occurred()) SWIG_fail;
15957 }
15958 {
15959 wxSize * resultptr;
15960 resultptr = new wxSize((wxSize &) result);
15961 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15962 }
15963 return resultobj;
15964 fail:
15965 return NULL;
15966 }
15967
15968
15969 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
15970 PyObject *resultobj;
15971 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15972 PyObject * obj0 = 0 ;
15973 char *kwnames[] = {
15974 (char *) "self", NULL
15975 };
15976
15977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
15978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15980 {
15981 PyThreadState* __tstate = wxPyBeginAllowThreads();
15982 (arg1)->base_InitDialog();
15983
15984 wxPyEndAllowThreads(__tstate);
15985 if (PyErr_Occurred()) SWIG_fail;
15986 }
15987 Py_INCREF(Py_None); resultobj = Py_None;
15988 return resultobj;
15989 fail:
15990 return NULL;
15991 }
15992
15993
15994 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15995 PyObject *resultobj;
15996 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15997 bool result;
15998 PyObject * obj0 = 0 ;
15999 char *kwnames[] = {
16000 (char *) "self", NULL
16001 };
16002
16003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16006 {
16007 PyThreadState* __tstate = wxPyBeginAllowThreads();
16008 result = (bool)(arg1)->base_TransferDataToWindow();
16009
16010 wxPyEndAllowThreads(__tstate);
16011 if (PyErr_Occurred()) SWIG_fail;
16012 }
16013 {
16014 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16015 }
16016 return resultobj;
16017 fail:
16018 return NULL;
16019 }
16020
16021
16022 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16023 PyObject *resultobj;
16024 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16025 bool result;
16026 PyObject * obj0 = 0 ;
16027 char *kwnames[] = {
16028 (char *) "self", NULL
16029 };
16030
16031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16034 {
16035 PyThreadState* __tstate = wxPyBeginAllowThreads();
16036 result = (bool)(arg1)->base_TransferDataFromWindow();
16037
16038 wxPyEndAllowThreads(__tstate);
16039 if (PyErr_Occurred()) SWIG_fail;
16040 }
16041 {
16042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16043 }
16044 return resultobj;
16045 fail:
16046 return NULL;
16047 }
16048
16049
16050 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
16051 PyObject *resultobj;
16052 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16053 bool result;
16054 PyObject * obj0 = 0 ;
16055 char *kwnames[] = {
16056 (char *) "self", NULL
16057 };
16058
16059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
16060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16062 {
16063 PyThreadState* __tstate = wxPyBeginAllowThreads();
16064 result = (bool)(arg1)->base_Validate();
16065
16066 wxPyEndAllowThreads(__tstate);
16067 if (PyErr_Occurred()) SWIG_fail;
16068 }
16069 {
16070 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16071 }
16072 return resultobj;
16073 fail:
16074 return NULL;
16075 }
16076
16077
16078 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16079 PyObject *resultobj;
16080 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16081 bool result;
16082 PyObject * obj0 = 0 ;
16083 char *kwnames[] = {
16084 (char *) "self", NULL
16085 };
16086
16087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16090 {
16091 PyThreadState* __tstate = wxPyBeginAllowThreads();
16092 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
16093
16094 wxPyEndAllowThreads(__tstate);
16095 if (PyErr_Occurred()) SWIG_fail;
16096 }
16097 {
16098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16099 }
16100 return resultobj;
16101 fail:
16102 return NULL;
16103 }
16104
16105
16106 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
16107 PyObject *resultobj;
16108 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16109 bool result;
16110 PyObject * obj0 = 0 ;
16111 char *kwnames[] = {
16112 (char *) "self", NULL
16113 };
16114
16115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16118 {
16119 PyThreadState* __tstate = wxPyBeginAllowThreads();
16120 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
16121
16122 wxPyEndAllowThreads(__tstate);
16123 if (PyErr_Occurred()) SWIG_fail;
16124 }
16125 {
16126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16127 }
16128 return resultobj;
16129 fail:
16130 return NULL;
16131 }
16132
16133
16134 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16135 PyObject *resultobj;
16136 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16137 wxSize result;
16138 PyObject * obj0 = 0 ;
16139 char *kwnames[] = {
16140 (char *) "self", NULL
16141 };
16142
16143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
16144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16146 {
16147 PyThreadState* __tstate = wxPyBeginAllowThreads();
16148 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
16149
16150 wxPyEndAllowThreads(__tstate);
16151 if (PyErr_Occurred()) SWIG_fail;
16152 }
16153 {
16154 wxSize * resultptr;
16155 resultptr = new wxSize((wxSize &) result);
16156 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16157 }
16158 return resultobj;
16159 fail:
16160 return NULL;
16161 }
16162
16163
16164 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16165 PyObject *resultobj;
16166 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16167 wxWindow *arg2 = (wxWindow *) 0 ;
16168 PyObject * obj0 = 0 ;
16169 PyObject * obj1 = 0 ;
16170 char *kwnames[] = {
16171 (char *) "self",(char *) "child", NULL
16172 };
16173
16174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16177 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16179 {
16180 PyThreadState* __tstate = wxPyBeginAllowThreads();
16181 (arg1)->base_AddChild(arg2);
16182
16183 wxPyEndAllowThreads(__tstate);
16184 if (PyErr_Occurred()) SWIG_fail;
16185 }
16186 Py_INCREF(Py_None); resultobj = Py_None;
16187 return resultobj;
16188 fail:
16189 return NULL;
16190 }
16191
16192
16193 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16194 PyObject *resultobj;
16195 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16196 wxWindow *arg2 = (wxWindow *) 0 ;
16197 PyObject * obj0 = 0 ;
16198 PyObject * obj1 = 0 ;
16199 char *kwnames[] = {
16200 (char *) "self",(char *) "child", NULL
16201 };
16202
16203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16206 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16208 {
16209 PyThreadState* __tstate = wxPyBeginAllowThreads();
16210 (arg1)->base_RemoveChild(arg2);
16211
16212 wxPyEndAllowThreads(__tstate);
16213 if (PyErr_Occurred()) SWIG_fail;
16214 }
16215 Py_INCREF(Py_None); resultobj = Py_None;
16216 return resultobj;
16217 fail:
16218 return NULL;
16219 }
16220
16221
16222 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
16223 PyObject *resultobj;
16224 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16225 bool result;
16226 PyObject * obj0 = 0 ;
16227 char *kwnames[] = {
16228 (char *) "self", NULL
16229 };
16230
16231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16234 {
16235 PyThreadState* __tstate = wxPyBeginAllowThreads();
16236 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
16237
16238 wxPyEndAllowThreads(__tstate);
16239 if (PyErr_Occurred()) SWIG_fail;
16240 }
16241 {
16242 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16243 }
16244 return resultobj;
16245 fail:
16246 return NULL;
16247 }
16248
16249
16250 static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
16251 PyObject *resultobj;
16252 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16253 wxColour *arg2 = 0 ;
16254 wxColour temp2 ;
16255 PyObject * obj0 = 0 ;
16256 PyObject * obj1 = 0 ;
16257 char *kwnames[] = {
16258 (char *) "self",(char *) "c", NULL
16259 };
16260
16261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16264 {
16265 arg2 = &temp2;
16266 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16267 }
16268 {
16269 PyThreadState* __tstate = wxPyBeginAllowThreads();
16270 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16271
16272 wxPyEndAllowThreads(__tstate);
16273 if (PyErr_Occurred()) SWIG_fail;
16274 }
16275 Py_INCREF(Py_None); resultobj = Py_None;
16276 return resultobj;
16277 fail:
16278 return NULL;
16279 }
16280
16281
16282 static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16283 PyObject *resultobj;
16284 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16285 wxVisualAttributes result;
16286 PyObject * obj0 = 0 ;
16287 char *kwnames[] = {
16288 (char *) "self", NULL
16289 };
16290
16291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
16292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16294 {
16295 PyThreadState* __tstate = wxPyBeginAllowThreads();
16296 result = (arg1)->base_GetDefaultAttributes();
16297
16298 wxPyEndAllowThreads(__tstate);
16299 if (PyErr_Occurred()) SWIG_fail;
16300 }
16301 {
16302 wxVisualAttributes * resultptr;
16303 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
16304 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16305 }
16306 return resultobj;
16307 fail:
16308 return NULL;
16309 }
16310
16311
16312 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
16313 PyObject *obj;
16314 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16315 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
16316 Py_INCREF(obj);
16317 return Py_BuildValue((char *)"");
16318 }
16319 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
16320 PyObject *resultobj;
16321 wxWindow *arg1 = (wxWindow *) 0 ;
16322 int arg2 ;
16323 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16324 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16325 wxSize const &arg4_defvalue = wxDefaultSize ;
16326 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16327 long arg5 = (long) 0 ;
16328 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16329 wxString *arg6 = (wxString *) &arg6_defvalue ;
16330 wxPyPanel *result;
16331 wxPoint temp3 ;
16332 wxSize temp4 ;
16333 bool temp6 = False ;
16334 PyObject * obj0 = 0 ;
16335 PyObject * obj1 = 0 ;
16336 PyObject * obj2 = 0 ;
16337 PyObject * obj3 = 0 ;
16338 PyObject * obj4 = 0 ;
16339 PyObject * obj5 = 0 ;
16340 char *kwnames[] = {
16341 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16342 };
16343
16344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16347 arg2 = (int const) SWIG_AsInt(obj1);
16348 if (PyErr_Occurred()) SWIG_fail;
16349 if (obj2) {
16350 {
16351 arg3 = &temp3;
16352 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16353 }
16354 }
16355 if (obj3) {
16356 {
16357 arg4 = &temp4;
16358 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16359 }
16360 }
16361 if (obj4) {
16362 arg5 = (long) SWIG_AsLong(obj4);
16363 if (PyErr_Occurred()) SWIG_fail;
16364 }
16365 if (obj5) {
16366 {
16367 arg6 = wxString_in_helper(obj5);
16368 if (arg6 == NULL) SWIG_fail;
16369 temp6 = True;
16370 }
16371 }
16372 {
16373 if (!wxPyCheckForApp()) SWIG_fail;
16374 PyThreadState* __tstate = wxPyBeginAllowThreads();
16375 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16376
16377 wxPyEndAllowThreads(__tstate);
16378 if (PyErr_Occurred()) SWIG_fail;
16379 }
16380 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16381 {
16382 if (temp6)
16383 delete arg6;
16384 }
16385 return resultobj;
16386 fail:
16387 {
16388 if (temp6)
16389 delete arg6;
16390 }
16391 return NULL;
16392 }
16393
16394
16395 static PyObject *_wrap_new_PrePyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
16396 PyObject *resultobj;
16397 wxPyPanel *result;
16398 char *kwnames[] = {
16399 NULL
16400 };
16401
16402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
16403 {
16404 if (!wxPyCheckForApp()) SWIG_fail;
16405 PyThreadState* __tstate = wxPyBeginAllowThreads();
16406 result = (wxPyPanel *)new wxPyPanel();
16407
16408 wxPyEndAllowThreads(__tstate);
16409 if (PyErr_Occurred()) SWIG_fail;
16410 }
16411 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16412 return resultobj;
16413 fail:
16414 return NULL;
16415 }
16416
16417
16418 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16419 PyObject *resultobj;
16420 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16421 PyObject *arg2 = (PyObject *) 0 ;
16422 PyObject *arg3 = (PyObject *) 0 ;
16423 PyObject * obj0 = 0 ;
16424 PyObject * obj1 = 0 ;
16425 PyObject * obj2 = 0 ;
16426 char *kwnames[] = {
16427 (char *) "self",(char *) "self",(char *) "_class", NULL
16428 };
16429
16430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16433 arg2 = obj1;
16434 arg3 = obj2;
16435 {
16436 PyThreadState* __tstate = wxPyBeginAllowThreads();
16437 (arg1)->_setCallbackInfo(arg2,arg3);
16438
16439 wxPyEndAllowThreads(__tstate);
16440 if (PyErr_Occurred()) SWIG_fail;
16441 }
16442 Py_INCREF(Py_None); resultobj = Py_None;
16443 return resultobj;
16444 fail:
16445 return NULL;
16446 }
16447
16448
16449 static PyObject *_wrap_PyPanel_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16450 PyObject *resultobj;
16451 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16452 wxSize *arg2 = 0 ;
16453 wxSize temp2 ;
16454 PyObject * obj0 = 0 ;
16455 PyObject * obj1 = 0 ;
16456 char *kwnames[] = {
16457 (char *) "self",(char *) "size", NULL
16458 };
16459
16460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
16461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16463 {
16464 arg2 = &temp2;
16465 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16466 }
16467 {
16468 PyThreadState* __tstate = wxPyBeginAllowThreads();
16469 (arg1)->SetBestSize((wxSize const &)*arg2);
16470
16471 wxPyEndAllowThreads(__tstate);
16472 if (PyErr_Occurred()) SWIG_fail;
16473 }
16474 Py_INCREF(Py_None); resultobj = Py_None;
16475 return resultobj;
16476 fail:
16477 return NULL;
16478 }
16479
16480
16481 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16482 PyObject *resultobj;
16483 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16484 int arg2 ;
16485 int arg3 ;
16486 int arg4 ;
16487 int arg5 ;
16488 PyObject * obj0 = 0 ;
16489 PyObject * obj1 = 0 ;
16490 PyObject * obj2 = 0 ;
16491 PyObject * obj3 = 0 ;
16492 PyObject * obj4 = 0 ;
16493 char *kwnames[] = {
16494 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16495 };
16496
16497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16500 arg2 = (int) SWIG_AsInt(obj1);
16501 if (PyErr_Occurred()) SWIG_fail;
16502 arg3 = (int) SWIG_AsInt(obj2);
16503 if (PyErr_Occurred()) SWIG_fail;
16504 arg4 = (int) SWIG_AsInt(obj3);
16505 if (PyErr_Occurred()) SWIG_fail;
16506 arg5 = (int) SWIG_AsInt(obj4);
16507 if (PyErr_Occurred()) SWIG_fail;
16508 {
16509 PyThreadState* __tstate = wxPyBeginAllowThreads();
16510 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16511
16512 wxPyEndAllowThreads(__tstate);
16513 if (PyErr_Occurred()) SWIG_fail;
16514 }
16515 Py_INCREF(Py_None); resultobj = Py_None;
16516 return resultobj;
16517 fail:
16518 return NULL;
16519 }
16520
16521
16522 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16523 PyObject *resultobj;
16524 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16525 int arg2 ;
16526 int arg3 ;
16527 int arg4 ;
16528 int arg5 ;
16529 int arg6 = (int) wxSIZE_AUTO ;
16530 PyObject * obj0 = 0 ;
16531 PyObject * obj1 = 0 ;
16532 PyObject * obj2 = 0 ;
16533 PyObject * obj3 = 0 ;
16534 PyObject * obj4 = 0 ;
16535 PyObject * obj5 = 0 ;
16536 char *kwnames[] = {
16537 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16538 };
16539
16540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16543 arg2 = (int) SWIG_AsInt(obj1);
16544 if (PyErr_Occurred()) SWIG_fail;
16545 arg3 = (int) SWIG_AsInt(obj2);
16546 if (PyErr_Occurred()) SWIG_fail;
16547 arg4 = (int) SWIG_AsInt(obj3);
16548 if (PyErr_Occurred()) SWIG_fail;
16549 arg5 = (int) SWIG_AsInt(obj4);
16550 if (PyErr_Occurred()) SWIG_fail;
16551 if (obj5) {
16552 arg6 = (int) SWIG_AsInt(obj5);
16553 if (PyErr_Occurred()) SWIG_fail;
16554 }
16555 {
16556 PyThreadState* __tstate = wxPyBeginAllowThreads();
16557 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16558
16559 wxPyEndAllowThreads(__tstate);
16560 if (PyErr_Occurred()) SWIG_fail;
16561 }
16562 Py_INCREF(Py_None); resultobj = Py_None;
16563 return resultobj;
16564 fail:
16565 return NULL;
16566 }
16567
16568
16569 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16570 PyObject *resultobj;
16571 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16572 int arg2 ;
16573 int arg3 ;
16574 PyObject * obj0 = 0 ;
16575 PyObject * obj1 = 0 ;
16576 PyObject * obj2 = 0 ;
16577 char *kwnames[] = {
16578 (char *) "self",(char *) "width",(char *) "height", NULL
16579 };
16580
16581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16584 arg2 = (int) SWIG_AsInt(obj1);
16585 if (PyErr_Occurred()) SWIG_fail;
16586 arg3 = (int) SWIG_AsInt(obj2);
16587 if (PyErr_Occurred()) SWIG_fail;
16588 {
16589 PyThreadState* __tstate = wxPyBeginAllowThreads();
16590 (arg1)->base_DoSetClientSize(arg2,arg3);
16591
16592 wxPyEndAllowThreads(__tstate);
16593 if (PyErr_Occurred()) SWIG_fail;
16594 }
16595 Py_INCREF(Py_None); resultobj = Py_None;
16596 return resultobj;
16597 fail:
16598 return NULL;
16599 }
16600
16601
16602 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16603 PyObject *resultobj;
16604 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16605 int arg2 ;
16606 int arg3 ;
16607 PyObject * obj0 = 0 ;
16608 PyObject * obj1 = 0 ;
16609 PyObject * obj2 = 0 ;
16610 char *kwnames[] = {
16611 (char *) "self",(char *) "x",(char *) "y", NULL
16612 };
16613
16614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16617 arg2 = (int) SWIG_AsInt(obj1);
16618 if (PyErr_Occurred()) SWIG_fail;
16619 arg3 = (int) SWIG_AsInt(obj2);
16620 if (PyErr_Occurred()) SWIG_fail;
16621 {
16622 PyThreadState* __tstate = wxPyBeginAllowThreads();
16623 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16624
16625 wxPyEndAllowThreads(__tstate);
16626 if (PyErr_Occurred()) SWIG_fail;
16627 }
16628 Py_INCREF(Py_None); resultobj = Py_None;
16629 return resultobj;
16630 fail:
16631 return NULL;
16632 }
16633
16634
16635 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16636 PyObject *resultobj;
16637 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16638 int *arg2 = (int *) 0 ;
16639 int *arg3 = (int *) 0 ;
16640 int temp2 ;
16641 int temp3 ;
16642 PyObject * obj0 = 0 ;
16643 char *kwnames[] = {
16644 (char *) "self", NULL
16645 };
16646
16647 arg2 = &temp2;
16648 arg3 = &temp3;
16649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
16650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16652 {
16653 PyThreadState* __tstate = wxPyBeginAllowThreads();
16654 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
16655
16656 wxPyEndAllowThreads(__tstate);
16657 if (PyErr_Occurred()) SWIG_fail;
16658 }
16659 Py_INCREF(Py_None); resultobj = Py_None;
16660 {
16661 PyObject *o = PyInt_FromLong((long) (*arg2));
16662 resultobj = t_output_helper(resultobj,o);
16663 }
16664 {
16665 PyObject *o = PyInt_FromLong((long) (*arg3));
16666 resultobj = t_output_helper(resultobj,o);
16667 }
16668 return resultobj;
16669 fail:
16670 return NULL;
16671 }
16672
16673
16674 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16675 PyObject *resultobj;
16676 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16677 int *arg2 = (int *) 0 ;
16678 int *arg3 = (int *) 0 ;
16679 int temp2 ;
16680 int temp3 ;
16681 PyObject * obj0 = 0 ;
16682 char *kwnames[] = {
16683 (char *) "self", NULL
16684 };
16685
16686 arg2 = &temp2;
16687 arg3 = &temp3;
16688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16691 {
16692 PyThreadState* __tstate = wxPyBeginAllowThreads();
16693 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
16694
16695 wxPyEndAllowThreads(__tstate);
16696 if (PyErr_Occurred()) SWIG_fail;
16697 }
16698 Py_INCREF(Py_None); resultobj = Py_None;
16699 {
16700 PyObject *o = PyInt_FromLong((long) (*arg2));
16701 resultobj = t_output_helper(resultobj,o);
16702 }
16703 {
16704 PyObject *o = PyInt_FromLong((long) (*arg3));
16705 resultobj = t_output_helper(resultobj,o);
16706 }
16707 return resultobj;
16708 fail:
16709 return NULL;
16710 }
16711
16712
16713 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16714 PyObject *resultobj;
16715 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16716 int *arg2 = (int *) 0 ;
16717 int *arg3 = (int *) 0 ;
16718 int temp2 ;
16719 int temp3 ;
16720 PyObject * obj0 = 0 ;
16721 char *kwnames[] = {
16722 (char *) "self", NULL
16723 };
16724
16725 arg2 = &temp2;
16726 arg3 = &temp3;
16727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
16728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16730 {
16731 PyThreadState* __tstate = wxPyBeginAllowThreads();
16732 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
16733
16734 wxPyEndAllowThreads(__tstate);
16735 if (PyErr_Occurred()) SWIG_fail;
16736 }
16737 Py_INCREF(Py_None); resultobj = Py_None;
16738 {
16739 PyObject *o = PyInt_FromLong((long) (*arg2));
16740 resultobj = t_output_helper(resultobj,o);
16741 }
16742 {
16743 PyObject *o = PyInt_FromLong((long) (*arg3));
16744 resultobj = t_output_helper(resultobj,o);
16745 }
16746 return resultobj;
16747 fail:
16748 return NULL;
16749 }
16750
16751
16752 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16753 PyObject *resultobj;
16754 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16755 wxSize result;
16756 PyObject * obj0 = 0 ;
16757 char *kwnames[] = {
16758 (char *) "self", NULL
16759 };
16760
16761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16764 {
16765 PyThreadState* __tstate = wxPyBeginAllowThreads();
16766 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
16767
16768 wxPyEndAllowThreads(__tstate);
16769 if (PyErr_Occurred()) SWIG_fail;
16770 }
16771 {
16772 wxSize * resultptr;
16773 resultptr = new wxSize((wxSize &) result);
16774 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16775 }
16776 return resultobj;
16777 fail:
16778 return NULL;
16779 }
16780
16781
16782 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16783 PyObject *resultobj;
16784 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16785 wxSize result;
16786 PyObject * obj0 = 0 ;
16787 char *kwnames[] = {
16788 (char *) "self", NULL
16789 };
16790
16791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16794 {
16795 PyThreadState* __tstate = wxPyBeginAllowThreads();
16796 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
16797
16798 wxPyEndAllowThreads(__tstate);
16799 if (PyErr_Occurred()) SWIG_fail;
16800 }
16801 {
16802 wxSize * resultptr;
16803 resultptr = new wxSize((wxSize &) result);
16804 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16805 }
16806 return resultobj;
16807 fail:
16808 return NULL;
16809 }
16810
16811
16812 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16813 PyObject *resultobj;
16814 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16815 PyObject * obj0 = 0 ;
16816 char *kwnames[] = {
16817 (char *) "self", NULL
16818 };
16819
16820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
16821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16823 {
16824 PyThreadState* __tstate = wxPyBeginAllowThreads();
16825 (arg1)->base_InitDialog();
16826
16827 wxPyEndAllowThreads(__tstate);
16828 if (PyErr_Occurred()) SWIG_fail;
16829 }
16830 Py_INCREF(Py_None); resultobj = Py_None;
16831 return resultobj;
16832 fail:
16833 return NULL;
16834 }
16835
16836
16837 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16838 PyObject *resultobj;
16839 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16840 bool result;
16841 PyObject * obj0 = 0 ;
16842 char *kwnames[] = {
16843 (char *) "self", NULL
16844 };
16845
16846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16849 {
16850 PyThreadState* __tstate = wxPyBeginAllowThreads();
16851 result = (bool)(arg1)->base_TransferDataToWindow();
16852
16853 wxPyEndAllowThreads(__tstate);
16854 if (PyErr_Occurred()) SWIG_fail;
16855 }
16856 {
16857 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16858 }
16859 return resultobj;
16860 fail:
16861 return NULL;
16862 }
16863
16864
16865 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16866 PyObject *resultobj;
16867 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16868 bool result;
16869 PyObject * obj0 = 0 ;
16870 char *kwnames[] = {
16871 (char *) "self", NULL
16872 };
16873
16874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16877 {
16878 PyThreadState* __tstate = wxPyBeginAllowThreads();
16879 result = (bool)(arg1)->base_TransferDataFromWindow();
16880
16881 wxPyEndAllowThreads(__tstate);
16882 if (PyErr_Occurred()) SWIG_fail;
16883 }
16884 {
16885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16886 }
16887 return resultobj;
16888 fail:
16889 return NULL;
16890 }
16891
16892
16893 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
16894 PyObject *resultobj;
16895 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16896 bool result;
16897 PyObject * obj0 = 0 ;
16898 char *kwnames[] = {
16899 (char *) "self", NULL
16900 };
16901
16902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
16903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16905 {
16906 PyThreadState* __tstate = wxPyBeginAllowThreads();
16907 result = (bool)(arg1)->base_Validate();
16908
16909 wxPyEndAllowThreads(__tstate);
16910 if (PyErr_Occurred()) SWIG_fail;
16911 }
16912 {
16913 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16914 }
16915 return resultobj;
16916 fail:
16917 return NULL;
16918 }
16919
16920
16921 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16922 PyObject *resultobj;
16923 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16924 bool result;
16925 PyObject * obj0 = 0 ;
16926 char *kwnames[] = {
16927 (char *) "self", NULL
16928 };
16929
16930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16933 {
16934 PyThreadState* __tstate = wxPyBeginAllowThreads();
16935 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
16936
16937 wxPyEndAllowThreads(__tstate);
16938 if (PyErr_Occurred()) SWIG_fail;
16939 }
16940 {
16941 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16942 }
16943 return resultobj;
16944 fail:
16945 return NULL;
16946 }
16947
16948
16949 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
16950 PyObject *resultobj;
16951 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16952 bool result;
16953 PyObject * obj0 = 0 ;
16954 char *kwnames[] = {
16955 (char *) "self", NULL
16956 };
16957
16958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16961 {
16962 PyThreadState* __tstate = wxPyBeginAllowThreads();
16963 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
16964
16965 wxPyEndAllowThreads(__tstate);
16966 if (PyErr_Occurred()) SWIG_fail;
16967 }
16968 {
16969 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16970 }
16971 return resultobj;
16972 fail:
16973 return NULL;
16974 }
16975
16976
16977 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16978 PyObject *resultobj;
16979 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16980 wxSize result;
16981 PyObject * obj0 = 0 ;
16982 char *kwnames[] = {
16983 (char *) "self", NULL
16984 };
16985
16986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
16987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16989 {
16990 PyThreadState* __tstate = wxPyBeginAllowThreads();
16991 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
16992
16993 wxPyEndAllowThreads(__tstate);
16994 if (PyErr_Occurred()) SWIG_fail;
16995 }
16996 {
16997 wxSize * resultptr;
16998 resultptr = new wxSize((wxSize &) result);
16999 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17000 }
17001 return resultobj;
17002 fail:
17003 return NULL;
17004 }
17005
17006
17007 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17008 PyObject *resultobj;
17009 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17010 wxWindow *arg2 = (wxWindow *) 0 ;
17011 PyObject * obj0 = 0 ;
17012 PyObject * obj1 = 0 ;
17013 char *kwnames[] = {
17014 (char *) "self",(char *) "child", NULL
17015 };
17016
17017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17020 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17022 {
17023 PyThreadState* __tstate = wxPyBeginAllowThreads();
17024 (arg1)->base_AddChild(arg2);
17025
17026 wxPyEndAllowThreads(__tstate);
17027 if (PyErr_Occurred()) SWIG_fail;
17028 }
17029 Py_INCREF(Py_None); resultobj = Py_None;
17030 return resultobj;
17031 fail:
17032 return NULL;
17033 }
17034
17035
17036 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17037 PyObject *resultobj;
17038 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17039 wxWindow *arg2 = (wxWindow *) 0 ;
17040 PyObject * obj0 = 0 ;
17041 PyObject * obj1 = 0 ;
17042 char *kwnames[] = {
17043 (char *) "self",(char *) "child", NULL
17044 };
17045
17046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17049 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17051 {
17052 PyThreadState* __tstate = wxPyBeginAllowThreads();
17053 (arg1)->base_RemoveChild(arg2);
17054
17055 wxPyEndAllowThreads(__tstate);
17056 if (PyErr_Occurred()) SWIG_fail;
17057 }
17058 Py_INCREF(Py_None); resultobj = Py_None;
17059 return resultobj;
17060 fail:
17061 return NULL;
17062 }
17063
17064
17065 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
17066 PyObject *resultobj;
17067 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17068 bool result;
17069 PyObject * obj0 = 0 ;
17070 char *kwnames[] = {
17071 (char *) "self", NULL
17072 };
17073
17074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17077 {
17078 PyThreadState* __tstate = wxPyBeginAllowThreads();
17079 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
17080
17081 wxPyEndAllowThreads(__tstate);
17082 if (PyErr_Occurred()) SWIG_fail;
17083 }
17084 {
17085 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17086 }
17087 return resultobj;
17088 fail:
17089 return NULL;
17090 }
17091
17092
17093 static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
17094 PyObject *resultobj;
17095 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17096 wxColour *arg2 = 0 ;
17097 wxColour temp2 ;
17098 PyObject * obj0 = 0 ;
17099 PyObject * obj1 = 0 ;
17100 char *kwnames[] = {
17101 (char *) "self",(char *) "c", NULL
17102 };
17103
17104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17107 {
17108 arg2 = &temp2;
17109 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17110 }
17111 {
17112 PyThreadState* __tstate = wxPyBeginAllowThreads();
17113 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17114
17115 wxPyEndAllowThreads(__tstate);
17116 if (PyErr_Occurred()) SWIG_fail;
17117 }
17118 Py_INCREF(Py_None); resultobj = Py_None;
17119 return resultobj;
17120 fail:
17121 return NULL;
17122 }
17123
17124
17125 static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
17126 PyObject *resultobj;
17127 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17128 wxVisualAttributes result;
17129 PyObject * obj0 = 0 ;
17130 char *kwnames[] = {
17131 (char *) "self", NULL
17132 };
17133
17134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
17135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17137 {
17138 PyThreadState* __tstate = wxPyBeginAllowThreads();
17139 result = (arg1)->base_GetDefaultAttributes();
17140
17141 wxPyEndAllowThreads(__tstate);
17142 if (PyErr_Occurred()) SWIG_fail;
17143 }
17144 {
17145 wxVisualAttributes * resultptr;
17146 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
17147 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17148 }
17149 return resultobj;
17150 fail:
17151 return NULL;
17152 }
17153
17154
17155 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
17156 PyObject *obj;
17157 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17158 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
17159 Py_INCREF(obj);
17160 return Py_BuildValue((char *)"");
17161 }
17162 static PyObject *_wrap_new_PyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17163 PyObject *resultobj;
17164 wxWindow *arg1 = (wxWindow *) 0 ;
17165 int arg2 ;
17166 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17167 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17168 wxSize const &arg4_defvalue = wxDefaultSize ;
17169 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17170 long arg5 = (long) 0 ;
17171 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17172 wxString *arg6 = (wxString *) &arg6_defvalue ;
17173 wxPyScrolledWindow *result;
17174 wxPoint temp3 ;
17175 wxSize temp4 ;
17176 bool temp6 = False ;
17177 PyObject * obj0 = 0 ;
17178 PyObject * obj1 = 0 ;
17179 PyObject * obj2 = 0 ;
17180 PyObject * obj3 = 0 ;
17181 PyObject * obj4 = 0 ;
17182 PyObject * obj5 = 0 ;
17183 char *kwnames[] = {
17184 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17185 };
17186
17187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17190 arg2 = (int const) SWIG_AsInt(obj1);
17191 if (PyErr_Occurred()) SWIG_fail;
17192 if (obj2) {
17193 {
17194 arg3 = &temp3;
17195 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17196 }
17197 }
17198 if (obj3) {
17199 {
17200 arg4 = &temp4;
17201 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17202 }
17203 }
17204 if (obj4) {
17205 arg5 = (long) SWIG_AsLong(obj4);
17206 if (PyErr_Occurred()) SWIG_fail;
17207 }
17208 if (obj5) {
17209 {
17210 arg6 = wxString_in_helper(obj5);
17211 if (arg6 == NULL) SWIG_fail;
17212 temp6 = True;
17213 }
17214 }
17215 {
17216 if (!wxPyCheckForApp()) SWIG_fail;
17217 PyThreadState* __tstate = wxPyBeginAllowThreads();
17218 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17219
17220 wxPyEndAllowThreads(__tstate);
17221 if (PyErr_Occurred()) SWIG_fail;
17222 }
17223 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17224 {
17225 if (temp6)
17226 delete arg6;
17227 }
17228 return resultobj;
17229 fail:
17230 {
17231 if (temp6)
17232 delete arg6;
17233 }
17234 return NULL;
17235 }
17236
17237
17238 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17239 PyObject *resultobj;
17240 wxPyScrolledWindow *result;
17241 char *kwnames[] = {
17242 NULL
17243 };
17244
17245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
17246 {
17247 if (!wxPyCheckForApp()) SWIG_fail;
17248 PyThreadState* __tstate = wxPyBeginAllowThreads();
17249 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
17250
17251 wxPyEndAllowThreads(__tstate);
17252 if (PyErr_Occurred()) SWIG_fail;
17253 }
17254 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17255 return resultobj;
17256 fail:
17257 return NULL;
17258 }
17259
17260
17261 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17262 PyObject *resultobj;
17263 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17264 PyObject *arg2 = (PyObject *) 0 ;
17265 PyObject *arg3 = (PyObject *) 0 ;
17266 PyObject * obj0 = 0 ;
17267 PyObject * obj1 = 0 ;
17268 PyObject * obj2 = 0 ;
17269 char *kwnames[] = {
17270 (char *) "self",(char *) "self",(char *) "_class", NULL
17271 };
17272
17273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17276 arg2 = obj1;
17277 arg3 = obj2;
17278 {
17279 PyThreadState* __tstate = wxPyBeginAllowThreads();
17280 (arg1)->_setCallbackInfo(arg2,arg3);
17281
17282 wxPyEndAllowThreads(__tstate);
17283 if (PyErr_Occurred()) SWIG_fail;
17284 }
17285 Py_INCREF(Py_None); resultobj = Py_None;
17286 return resultobj;
17287 fail:
17288 return NULL;
17289 }
17290
17291
17292 static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17293 PyObject *resultobj;
17294 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17295 wxSize *arg2 = 0 ;
17296 wxSize temp2 ;
17297 PyObject * obj0 = 0 ;
17298 PyObject * obj1 = 0 ;
17299 char *kwnames[] = {
17300 (char *) "self",(char *) "size", NULL
17301 };
17302
17303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
17304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17306 {
17307 arg2 = &temp2;
17308 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17309 }
17310 {
17311 PyThreadState* __tstate = wxPyBeginAllowThreads();
17312 (arg1)->SetBestSize((wxSize const &)*arg2);
17313
17314 wxPyEndAllowThreads(__tstate);
17315 if (PyErr_Occurred()) SWIG_fail;
17316 }
17317 Py_INCREF(Py_None); resultobj = Py_None;
17318 return resultobj;
17319 fail:
17320 return NULL;
17321 }
17322
17323
17324 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17325 PyObject *resultobj;
17326 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17327 int arg2 ;
17328 int arg3 ;
17329 int arg4 ;
17330 int arg5 ;
17331 PyObject * obj0 = 0 ;
17332 PyObject * obj1 = 0 ;
17333 PyObject * obj2 = 0 ;
17334 PyObject * obj3 = 0 ;
17335 PyObject * obj4 = 0 ;
17336 char *kwnames[] = {
17337 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17338 };
17339
17340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17343 arg2 = (int) SWIG_AsInt(obj1);
17344 if (PyErr_Occurred()) SWIG_fail;
17345 arg3 = (int) SWIG_AsInt(obj2);
17346 if (PyErr_Occurred()) SWIG_fail;
17347 arg4 = (int) SWIG_AsInt(obj3);
17348 if (PyErr_Occurred()) SWIG_fail;
17349 arg5 = (int) SWIG_AsInt(obj4);
17350 if (PyErr_Occurred()) SWIG_fail;
17351 {
17352 PyThreadState* __tstate = wxPyBeginAllowThreads();
17353 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
17354
17355 wxPyEndAllowThreads(__tstate);
17356 if (PyErr_Occurred()) SWIG_fail;
17357 }
17358 Py_INCREF(Py_None); resultobj = Py_None;
17359 return resultobj;
17360 fail:
17361 return NULL;
17362 }
17363
17364
17365 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17366 PyObject *resultobj;
17367 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17368 int arg2 ;
17369 int arg3 ;
17370 int arg4 ;
17371 int arg5 ;
17372 int arg6 = (int) wxSIZE_AUTO ;
17373 PyObject * obj0 = 0 ;
17374 PyObject * obj1 = 0 ;
17375 PyObject * obj2 = 0 ;
17376 PyObject * obj3 = 0 ;
17377 PyObject * obj4 = 0 ;
17378 PyObject * obj5 = 0 ;
17379 char *kwnames[] = {
17380 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17381 };
17382
17383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17386 arg2 = (int) SWIG_AsInt(obj1);
17387 if (PyErr_Occurred()) SWIG_fail;
17388 arg3 = (int) SWIG_AsInt(obj2);
17389 if (PyErr_Occurred()) SWIG_fail;
17390 arg4 = (int) SWIG_AsInt(obj3);
17391 if (PyErr_Occurred()) SWIG_fail;
17392 arg5 = (int) SWIG_AsInt(obj4);
17393 if (PyErr_Occurred()) SWIG_fail;
17394 if (obj5) {
17395 arg6 = (int) SWIG_AsInt(obj5);
17396 if (PyErr_Occurred()) SWIG_fail;
17397 }
17398 {
17399 PyThreadState* __tstate = wxPyBeginAllowThreads();
17400 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
17401
17402 wxPyEndAllowThreads(__tstate);
17403 if (PyErr_Occurred()) SWIG_fail;
17404 }
17405 Py_INCREF(Py_None); resultobj = Py_None;
17406 return resultobj;
17407 fail:
17408 return NULL;
17409 }
17410
17411
17412 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17413 PyObject *resultobj;
17414 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17415 int arg2 ;
17416 int arg3 ;
17417 PyObject * obj0 = 0 ;
17418 PyObject * obj1 = 0 ;
17419 PyObject * obj2 = 0 ;
17420 char *kwnames[] = {
17421 (char *) "self",(char *) "width",(char *) "height", NULL
17422 };
17423
17424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17427 arg2 = (int) SWIG_AsInt(obj1);
17428 if (PyErr_Occurred()) SWIG_fail;
17429 arg3 = (int) SWIG_AsInt(obj2);
17430 if (PyErr_Occurred()) SWIG_fail;
17431 {
17432 PyThreadState* __tstate = wxPyBeginAllowThreads();
17433 (arg1)->base_DoSetClientSize(arg2,arg3);
17434
17435 wxPyEndAllowThreads(__tstate);
17436 if (PyErr_Occurred()) SWIG_fail;
17437 }
17438 Py_INCREF(Py_None); resultobj = Py_None;
17439 return resultobj;
17440 fail:
17441 return NULL;
17442 }
17443
17444
17445 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17446 PyObject *resultobj;
17447 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17448 int arg2 ;
17449 int arg3 ;
17450 PyObject * obj0 = 0 ;
17451 PyObject * obj1 = 0 ;
17452 PyObject * obj2 = 0 ;
17453 char *kwnames[] = {
17454 (char *) "self",(char *) "x",(char *) "y", NULL
17455 };
17456
17457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17460 arg2 = (int) SWIG_AsInt(obj1);
17461 if (PyErr_Occurred()) SWIG_fail;
17462 arg3 = (int) SWIG_AsInt(obj2);
17463 if (PyErr_Occurred()) SWIG_fail;
17464 {
17465 PyThreadState* __tstate = wxPyBeginAllowThreads();
17466 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17467
17468 wxPyEndAllowThreads(__tstate);
17469 if (PyErr_Occurred()) SWIG_fail;
17470 }
17471 Py_INCREF(Py_None); resultobj = Py_None;
17472 return resultobj;
17473 fail:
17474 return NULL;
17475 }
17476
17477
17478 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17479 PyObject *resultobj;
17480 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17481 int *arg2 = (int *) 0 ;
17482 int *arg3 = (int *) 0 ;
17483 int temp2 ;
17484 int temp3 ;
17485 PyObject * obj0 = 0 ;
17486 char *kwnames[] = {
17487 (char *) "self", NULL
17488 };
17489
17490 arg2 = &temp2;
17491 arg3 = &temp3;
17492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
17493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17495 {
17496 PyThreadState* __tstate = wxPyBeginAllowThreads();
17497 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
17498
17499 wxPyEndAllowThreads(__tstate);
17500 if (PyErr_Occurred()) SWIG_fail;
17501 }
17502 Py_INCREF(Py_None); resultobj = Py_None;
17503 {
17504 PyObject *o = PyInt_FromLong((long) (*arg2));
17505 resultobj = t_output_helper(resultobj,o);
17506 }
17507 {
17508 PyObject *o = PyInt_FromLong((long) (*arg3));
17509 resultobj = t_output_helper(resultobj,o);
17510 }
17511 return resultobj;
17512 fail:
17513 return NULL;
17514 }
17515
17516
17517 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17518 PyObject *resultobj;
17519 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17520 int *arg2 = (int *) 0 ;
17521 int *arg3 = (int *) 0 ;
17522 int temp2 ;
17523 int temp3 ;
17524 PyObject * obj0 = 0 ;
17525 char *kwnames[] = {
17526 (char *) "self", NULL
17527 };
17528
17529 arg2 = &temp2;
17530 arg3 = &temp3;
17531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17534 {
17535 PyThreadState* __tstate = wxPyBeginAllowThreads();
17536 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
17537
17538 wxPyEndAllowThreads(__tstate);
17539 if (PyErr_Occurred()) SWIG_fail;
17540 }
17541 Py_INCREF(Py_None); resultobj = Py_None;
17542 {
17543 PyObject *o = PyInt_FromLong((long) (*arg2));
17544 resultobj = t_output_helper(resultobj,o);
17545 }
17546 {
17547 PyObject *o = PyInt_FromLong((long) (*arg3));
17548 resultobj = t_output_helper(resultobj,o);
17549 }
17550 return resultobj;
17551 fail:
17552 return NULL;
17553 }
17554
17555
17556 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17557 PyObject *resultobj;
17558 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17559 int *arg2 = (int *) 0 ;
17560 int *arg3 = (int *) 0 ;
17561 int temp2 ;
17562 int temp3 ;
17563 PyObject * obj0 = 0 ;
17564 char *kwnames[] = {
17565 (char *) "self", NULL
17566 };
17567
17568 arg2 = &temp2;
17569 arg3 = &temp3;
17570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
17571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17573 {
17574 PyThreadState* __tstate = wxPyBeginAllowThreads();
17575 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
17576
17577 wxPyEndAllowThreads(__tstate);
17578 if (PyErr_Occurred()) SWIG_fail;
17579 }
17580 Py_INCREF(Py_None); resultobj = Py_None;
17581 {
17582 PyObject *o = PyInt_FromLong((long) (*arg2));
17583 resultobj = t_output_helper(resultobj,o);
17584 }
17585 {
17586 PyObject *o = PyInt_FromLong((long) (*arg3));
17587 resultobj = t_output_helper(resultobj,o);
17588 }
17589 return resultobj;
17590 fail:
17591 return NULL;
17592 }
17593
17594
17595 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17596 PyObject *resultobj;
17597 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17598 wxSize result;
17599 PyObject * obj0 = 0 ;
17600 char *kwnames[] = {
17601 (char *) "self", NULL
17602 };
17603
17604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17607 {
17608 PyThreadState* __tstate = wxPyBeginAllowThreads();
17609 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
17610
17611 wxPyEndAllowThreads(__tstate);
17612 if (PyErr_Occurred()) SWIG_fail;
17613 }
17614 {
17615 wxSize * resultptr;
17616 resultptr = new wxSize((wxSize &) result);
17617 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17618 }
17619 return resultobj;
17620 fail:
17621 return NULL;
17622 }
17623
17624
17625 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17626 PyObject *resultobj;
17627 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17628 wxSize result;
17629 PyObject * obj0 = 0 ;
17630 char *kwnames[] = {
17631 (char *) "self", NULL
17632 };
17633
17634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17637 {
17638 PyThreadState* __tstate = wxPyBeginAllowThreads();
17639 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
17640
17641 wxPyEndAllowThreads(__tstate);
17642 if (PyErr_Occurred()) SWIG_fail;
17643 }
17644 {
17645 wxSize * resultptr;
17646 resultptr = new wxSize((wxSize &) result);
17647 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17648 }
17649 return resultobj;
17650 fail:
17651 return NULL;
17652 }
17653
17654
17655 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17656 PyObject *resultobj;
17657 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17658 PyObject * obj0 = 0 ;
17659 char *kwnames[] = {
17660 (char *) "self", NULL
17661 };
17662
17663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
17664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17666 {
17667 PyThreadState* __tstate = wxPyBeginAllowThreads();
17668 (arg1)->base_InitDialog();
17669
17670 wxPyEndAllowThreads(__tstate);
17671 if (PyErr_Occurred()) SWIG_fail;
17672 }
17673 Py_INCREF(Py_None); resultobj = Py_None;
17674 return resultobj;
17675 fail:
17676 return NULL;
17677 }
17678
17679
17680 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17681 PyObject *resultobj;
17682 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17683 bool result;
17684 PyObject * obj0 = 0 ;
17685 char *kwnames[] = {
17686 (char *) "self", NULL
17687 };
17688
17689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17692 {
17693 PyThreadState* __tstate = wxPyBeginAllowThreads();
17694 result = (bool)(arg1)->base_TransferDataToWindow();
17695
17696 wxPyEndAllowThreads(__tstate);
17697 if (PyErr_Occurred()) SWIG_fail;
17698 }
17699 {
17700 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17701 }
17702 return resultobj;
17703 fail:
17704 return NULL;
17705 }
17706
17707
17708 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17709 PyObject *resultobj;
17710 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17711 bool result;
17712 PyObject * obj0 = 0 ;
17713 char *kwnames[] = {
17714 (char *) "self", NULL
17715 };
17716
17717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17720 {
17721 PyThreadState* __tstate = wxPyBeginAllowThreads();
17722 result = (bool)(arg1)->base_TransferDataFromWindow();
17723
17724 wxPyEndAllowThreads(__tstate);
17725 if (PyErr_Occurred()) SWIG_fail;
17726 }
17727 {
17728 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17729 }
17730 return resultobj;
17731 fail:
17732 return NULL;
17733 }
17734
17735
17736 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
17737 PyObject *resultobj;
17738 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17739 bool result;
17740 PyObject * obj0 = 0 ;
17741 char *kwnames[] = {
17742 (char *) "self", NULL
17743 };
17744
17745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
17746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17748 {
17749 PyThreadState* __tstate = wxPyBeginAllowThreads();
17750 result = (bool)(arg1)->base_Validate();
17751
17752 wxPyEndAllowThreads(__tstate);
17753 if (PyErr_Occurred()) SWIG_fail;
17754 }
17755 {
17756 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17757 }
17758 return resultobj;
17759 fail:
17760 return NULL;
17761 }
17762
17763
17764 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
17765 PyObject *resultobj;
17766 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17767 bool result;
17768 PyObject * obj0 = 0 ;
17769 char *kwnames[] = {
17770 (char *) "self", NULL
17771 };
17772
17773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17776 {
17777 PyThreadState* __tstate = wxPyBeginAllowThreads();
17778 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
17779
17780 wxPyEndAllowThreads(__tstate);
17781 if (PyErr_Occurred()) SWIG_fail;
17782 }
17783 {
17784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17785 }
17786 return resultobj;
17787 fail:
17788 return NULL;
17789 }
17790
17791
17792 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
17793 PyObject *resultobj;
17794 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17795 bool result;
17796 PyObject * obj0 = 0 ;
17797 char *kwnames[] = {
17798 (char *) "self", NULL
17799 };
17800
17801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17804 {
17805 PyThreadState* __tstate = wxPyBeginAllowThreads();
17806 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
17807
17808 wxPyEndAllowThreads(__tstate);
17809 if (PyErr_Occurred()) SWIG_fail;
17810 }
17811 {
17812 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17813 }
17814 return resultobj;
17815 fail:
17816 return NULL;
17817 }
17818
17819
17820 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17821 PyObject *resultobj;
17822 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17823 wxSize result;
17824 PyObject * obj0 = 0 ;
17825 char *kwnames[] = {
17826 (char *) "self", NULL
17827 };
17828
17829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
17830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17832 {
17833 PyThreadState* __tstate = wxPyBeginAllowThreads();
17834 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
17835
17836 wxPyEndAllowThreads(__tstate);
17837 if (PyErr_Occurred()) SWIG_fail;
17838 }
17839 {
17840 wxSize * resultptr;
17841 resultptr = new wxSize((wxSize &) result);
17842 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17843 }
17844 return resultobj;
17845 fail:
17846 return NULL;
17847 }
17848
17849
17850 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17851 PyObject *resultobj;
17852 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17853 wxWindow *arg2 = (wxWindow *) 0 ;
17854 PyObject * obj0 = 0 ;
17855 PyObject * obj1 = 0 ;
17856 char *kwnames[] = {
17857 (char *) "self",(char *) "child", NULL
17858 };
17859
17860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17863 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17865 {
17866 PyThreadState* __tstate = wxPyBeginAllowThreads();
17867 (arg1)->base_AddChild(arg2);
17868
17869 wxPyEndAllowThreads(__tstate);
17870 if (PyErr_Occurred()) SWIG_fail;
17871 }
17872 Py_INCREF(Py_None); resultobj = Py_None;
17873 return resultobj;
17874 fail:
17875 return NULL;
17876 }
17877
17878
17879 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17880 PyObject *resultobj;
17881 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17882 wxWindow *arg2 = (wxWindow *) 0 ;
17883 PyObject * obj0 = 0 ;
17884 PyObject * obj1 = 0 ;
17885 char *kwnames[] = {
17886 (char *) "self",(char *) "child", NULL
17887 };
17888
17889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17892 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17894 {
17895 PyThreadState* __tstate = wxPyBeginAllowThreads();
17896 (arg1)->base_RemoveChild(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_PyScrolledWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
17909 PyObject *resultobj;
17910 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17911 bool result;
17912 PyObject * obj0 = 0 ;
17913 char *kwnames[] = {
17914 (char *) "self", NULL
17915 };
17916
17917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17920 {
17921 PyThreadState* __tstate = wxPyBeginAllowThreads();
17922 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
17923
17924 wxPyEndAllowThreads(__tstate);
17925 if (PyErr_Occurred()) SWIG_fail;
17926 }
17927 {
17928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17929 }
17930 return resultobj;
17931 fail:
17932 return NULL;
17933 }
17934
17935
17936 static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
17937 PyObject *resultobj;
17938 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17939 wxColour *arg2 = 0 ;
17940 wxColour temp2 ;
17941 PyObject * obj0 = 0 ;
17942 PyObject * obj1 = 0 ;
17943 char *kwnames[] = {
17944 (char *) "self",(char *) "c", NULL
17945 };
17946
17947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17950 {
17951 arg2 = &temp2;
17952 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17953 }
17954 {
17955 PyThreadState* __tstate = wxPyBeginAllowThreads();
17956 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17957
17958 wxPyEndAllowThreads(__tstate);
17959 if (PyErr_Occurred()) SWIG_fail;
17960 }
17961 Py_INCREF(Py_None); resultobj = Py_None;
17962 return resultobj;
17963 fail:
17964 return NULL;
17965 }
17966
17967
17968 static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
17969 PyObject *resultobj;
17970 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17971 wxVisualAttributes result;
17972 PyObject * obj0 = 0 ;
17973 char *kwnames[] = {
17974 (char *) "self", NULL
17975 };
17976
17977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
17978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17980 {
17981 PyThreadState* __tstate = wxPyBeginAllowThreads();
17982 result = (arg1)->base_GetDefaultAttributes();
17983
17984 wxPyEndAllowThreads(__tstate);
17985 if (PyErr_Occurred()) SWIG_fail;
17986 }
17987 {
17988 wxVisualAttributes * resultptr;
17989 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
17990 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17991 }
17992 return resultobj;
17993 fail:
17994 return NULL;
17995 }
17996
17997
17998 static PyObject * PyScrolledWindow_swigregister(PyObject *self, PyObject *args) {
17999 PyObject *obj;
18000 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18001 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
18002 Py_INCREF(obj);
18003 return Py_BuildValue((char *)"");
18004 }
18005 static int _wrap_PrintoutTitleStr_set(PyObject *_val) {
18006 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
18007 return 1;
18008 }
18009
18010
18011 static PyObject *_wrap_PrintoutTitleStr_get() {
18012 PyObject *pyobj;
18013
18014 {
18015 #if wxUSE_UNICODE
18016 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
18017 #else
18018 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
18019 #endif
18020 }
18021 return pyobj;
18022 }
18023
18024
18025 static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) {
18026 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
18027 return 1;
18028 }
18029
18030
18031 static PyObject *_wrap_PreviewCanvasNameStr_get() {
18032 PyObject *pyobj;
18033
18034 {
18035 #if wxUSE_UNICODE
18036 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
18037 #else
18038 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
18039 #endif
18040 }
18041 return pyobj;
18042 }
18043
18044
18045 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
18046 PyObject *resultobj;
18047 wxPrintData *result;
18048 char *kwnames[] = {
18049 NULL
18050 };
18051
18052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
18053 {
18054 PyThreadState* __tstate = wxPyBeginAllowThreads();
18055 result = (wxPrintData *)new wxPrintData();
18056
18057 wxPyEndAllowThreads(__tstate);
18058 if (PyErr_Occurred()) SWIG_fail;
18059 }
18060 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
18061 return resultobj;
18062 fail:
18063 return NULL;
18064 }
18065
18066
18067 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
18068 PyObject *resultobj;
18069 wxPrintData *arg1 = (wxPrintData *) 0 ;
18070 PyObject * obj0 = 0 ;
18071 char *kwnames[] = {
18072 (char *) "self", NULL
18073 };
18074
18075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
18076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18078 {
18079 PyThreadState* __tstate = wxPyBeginAllowThreads();
18080 delete arg1;
18081
18082 wxPyEndAllowThreads(__tstate);
18083 if (PyErr_Occurred()) SWIG_fail;
18084 }
18085 Py_INCREF(Py_None); resultobj = Py_None;
18086 return resultobj;
18087 fail:
18088 return NULL;
18089 }
18090
18091
18092 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
18093 PyObject *resultobj;
18094 wxPrintData *arg1 = (wxPrintData *) 0 ;
18095 int result;
18096 PyObject * obj0 = 0 ;
18097 char *kwnames[] = {
18098 (char *) "self", NULL
18099 };
18100
18101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
18102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18104 {
18105 PyThreadState* __tstate = wxPyBeginAllowThreads();
18106 result = (int)(arg1)->GetNoCopies();
18107
18108 wxPyEndAllowThreads(__tstate);
18109 if (PyErr_Occurred()) SWIG_fail;
18110 }
18111 resultobj = SWIG_FromInt((int)result);
18112 return resultobj;
18113 fail:
18114 return NULL;
18115 }
18116
18117
18118 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
18119 PyObject *resultobj;
18120 wxPrintData *arg1 = (wxPrintData *) 0 ;
18121 bool result;
18122 PyObject * obj0 = 0 ;
18123 char *kwnames[] = {
18124 (char *) "self", NULL
18125 };
18126
18127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
18128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18130 {
18131 PyThreadState* __tstate = wxPyBeginAllowThreads();
18132 result = (bool)(arg1)->GetCollate();
18133
18134 wxPyEndAllowThreads(__tstate);
18135 if (PyErr_Occurred()) SWIG_fail;
18136 }
18137 {
18138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18139 }
18140 return resultobj;
18141 fail:
18142 return NULL;
18143 }
18144
18145
18146 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
18147 PyObject *resultobj;
18148 wxPrintData *arg1 = (wxPrintData *) 0 ;
18149 int result;
18150 PyObject * obj0 = 0 ;
18151 char *kwnames[] = {
18152 (char *) "self", NULL
18153 };
18154
18155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
18156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18158 {
18159 PyThreadState* __tstate = wxPyBeginAllowThreads();
18160 result = (int)(arg1)->GetOrientation();
18161
18162 wxPyEndAllowThreads(__tstate);
18163 if (PyErr_Occurred()) SWIG_fail;
18164 }
18165 resultobj = SWIG_FromInt((int)result);
18166 return resultobj;
18167 fail:
18168 return NULL;
18169 }
18170
18171
18172 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
18173 PyObject *resultobj;
18174 wxPrintData *arg1 = (wxPrintData *) 0 ;
18175 bool result;
18176 PyObject * obj0 = 0 ;
18177 char *kwnames[] = {
18178 (char *) "self", NULL
18179 };
18180
18181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
18182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18184 {
18185 PyThreadState* __tstate = wxPyBeginAllowThreads();
18186 result = (bool)(arg1)->Ok();
18187
18188 wxPyEndAllowThreads(__tstate);
18189 if (PyErr_Occurred()) SWIG_fail;
18190 }
18191 {
18192 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18193 }
18194 return resultobj;
18195 fail:
18196 return NULL;
18197 }
18198
18199
18200 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
18201 PyObject *resultobj;
18202 wxPrintData *arg1 = (wxPrintData *) 0 ;
18203 wxString *result;
18204 PyObject * obj0 = 0 ;
18205 char *kwnames[] = {
18206 (char *) "self", NULL
18207 };
18208
18209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
18210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18212 {
18213 PyThreadState* __tstate = wxPyBeginAllowThreads();
18214 {
18215 wxString const &_result_ref = (arg1)->GetPrinterName();
18216 result = (wxString *) &_result_ref;
18217 }
18218
18219 wxPyEndAllowThreads(__tstate);
18220 if (PyErr_Occurred()) SWIG_fail;
18221 }
18222 {
18223 #if wxUSE_UNICODE
18224 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18225 #else
18226 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18227 #endif
18228 }
18229 return resultobj;
18230 fail:
18231 return NULL;
18232 }
18233
18234
18235 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18236 PyObject *resultobj;
18237 wxPrintData *arg1 = (wxPrintData *) 0 ;
18238 bool result;
18239 PyObject * obj0 = 0 ;
18240 char *kwnames[] = {
18241 (char *) "self", NULL
18242 };
18243
18244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
18245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18247 {
18248 PyThreadState* __tstate = wxPyBeginAllowThreads();
18249 result = (bool)(arg1)->GetColour();
18250
18251 wxPyEndAllowThreads(__tstate);
18252 if (PyErr_Occurred()) SWIG_fail;
18253 }
18254 {
18255 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18256 }
18257 return resultobj;
18258 fail:
18259 return NULL;
18260 }
18261
18262
18263 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
18264 PyObject *resultobj;
18265 wxPrintData *arg1 = (wxPrintData *) 0 ;
18266 int result;
18267 PyObject * obj0 = 0 ;
18268 char *kwnames[] = {
18269 (char *) "self", NULL
18270 };
18271
18272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
18273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18275 {
18276 PyThreadState* __tstate = wxPyBeginAllowThreads();
18277 result = (int)(arg1)->GetDuplex();
18278
18279 wxPyEndAllowThreads(__tstate);
18280 if (PyErr_Occurred()) SWIG_fail;
18281 }
18282 resultobj = SWIG_FromInt((int)result);
18283 return resultobj;
18284 fail:
18285 return NULL;
18286 }
18287
18288
18289 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18290 PyObject *resultobj;
18291 wxPrintData *arg1 = (wxPrintData *) 0 ;
18292 int result;
18293 PyObject * obj0 = 0 ;
18294 char *kwnames[] = {
18295 (char *) "self", NULL
18296 };
18297
18298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
18299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18301 {
18302 PyThreadState* __tstate = wxPyBeginAllowThreads();
18303 result = (int)(arg1)->GetPaperId();
18304
18305 wxPyEndAllowThreads(__tstate);
18306 if (PyErr_Occurred()) SWIG_fail;
18307 }
18308 resultobj = SWIG_FromInt((int)result);
18309 return resultobj;
18310 fail:
18311 return NULL;
18312 }
18313
18314
18315 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18316 PyObject *resultobj;
18317 wxPrintData *arg1 = (wxPrintData *) 0 ;
18318 wxSize *result;
18319 PyObject * obj0 = 0 ;
18320 char *kwnames[] = {
18321 (char *) "self", NULL
18322 };
18323
18324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
18325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18327 {
18328 PyThreadState* __tstate = wxPyBeginAllowThreads();
18329 {
18330 wxSize const &_result_ref = (arg1)->GetPaperSize();
18331 result = (wxSize *) &_result_ref;
18332 }
18333
18334 wxPyEndAllowThreads(__tstate);
18335 if (PyErr_Occurred()) SWIG_fail;
18336 }
18337 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
18338 return resultobj;
18339 fail:
18340 return NULL;
18341 }
18342
18343
18344 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
18345 PyObject *resultobj;
18346 wxPrintData *arg1 = (wxPrintData *) 0 ;
18347 int result;
18348 PyObject * obj0 = 0 ;
18349 char *kwnames[] = {
18350 (char *) "self", NULL
18351 };
18352
18353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
18354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18356 {
18357 PyThreadState* __tstate = wxPyBeginAllowThreads();
18358 result = (int)(arg1)->GetQuality();
18359
18360 wxPyEndAllowThreads(__tstate);
18361 if (PyErr_Occurred()) SWIG_fail;
18362 }
18363 resultobj = SWIG_FromInt((int)result);
18364 return resultobj;
18365 fail:
18366 return NULL;
18367 }
18368
18369
18370 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
18371 PyObject *resultobj;
18372 wxPrintData *arg1 = (wxPrintData *) 0 ;
18373 int arg2 ;
18374 PyObject * obj0 = 0 ;
18375 PyObject * obj1 = 0 ;
18376 char *kwnames[] = {
18377 (char *) "self",(char *) "v", NULL
18378 };
18379
18380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
18381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18383 arg2 = (int) SWIG_AsInt(obj1);
18384 if (PyErr_Occurred()) SWIG_fail;
18385 {
18386 PyThreadState* __tstate = wxPyBeginAllowThreads();
18387 (arg1)->SetNoCopies(arg2);
18388
18389 wxPyEndAllowThreads(__tstate);
18390 if (PyErr_Occurred()) SWIG_fail;
18391 }
18392 Py_INCREF(Py_None); resultobj = Py_None;
18393 return resultobj;
18394 fail:
18395 return NULL;
18396 }
18397
18398
18399 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
18400 PyObject *resultobj;
18401 wxPrintData *arg1 = (wxPrintData *) 0 ;
18402 bool arg2 ;
18403 PyObject * obj0 = 0 ;
18404 PyObject * obj1 = 0 ;
18405 char *kwnames[] = {
18406 (char *) "self",(char *) "flag", NULL
18407 };
18408
18409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
18410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18412 arg2 = (bool) SWIG_AsBool(obj1);
18413 if (PyErr_Occurred()) SWIG_fail;
18414 {
18415 PyThreadState* __tstate = wxPyBeginAllowThreads();
18416 (arg1)->SetCollate(arg2);
18417
18418 wxPyEndAllowThreads(__tstate);
18419 if (PyErr_Occurred()) SWIG_fail;
18420 }
18421 Py_INCREF(Py_None); resultobj = Py_None;
18422 return resultobj;
18423 fail:
18424 return NULL;
18425 }
18426
18427
18428 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
18429 PyObject *resultobj;
18430 wxPrintData *arg1 = (wxPrintData *) 0 ;
18431 int arg2 ;
18432 PyObject * obj0 = 0 ;
18433 PyObject * obj1 = 0 ;
18434 char *kwnames[] = {
18435 (char *) "self",(char *) "orient", NULL
18436 };
18437
18438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
18439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18441 arg2 = (int) SWIG_AsInt(obj1);
18442 if (PyErr_Occurred()) SWIG_fail;
18443 {
18444 PyThreadState* __tstate = wxPyBeginAllowThreads();
18445 (arg1)->SetOrientation(arg2);
18446
18447 wxPyEndAllowThreads(__tstate);
18448 if (PyErr_Occurred()) SWIG_fail;
18449 }
18450 Py_INCREF(Py_None); resultobj = Py_None;
18451 return resultobj;
18452 fail:
18453 return NULL;
18454 }
18455
18456
18457 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
18458 PyObject *resultobj;
18459 wxPrintData *arg1 = (wxPrintData *) 0 ;
18460 wxString *arg2 = 0 ;
18461 bool temp2 = False ;
18462 PyObject * obj0 = 0 ;
18463 PyObject * obj1 = 0 ;
18464 char *kwnames[] = {
18465 (char *) "self",(char *) "name", NULL
18466 };
18467
18468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
18469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18471 {
18472 arg2 = wxString_in_helper(obj1);
18473 if (arg2 == NULL) SWIG_fail;
18474 temp2 = True;
18475 }
18476 {
18477 PyThreadState* __tstate = wxPyBeginAllowThreads();
18478 (arg1)->SetPrinterName((wxString const &)*arg2);
18479
18480 wxPyEndAllowThreads(__tstate);
18481 if (PyErr_Occurred()) SWIG_fail;
18482 }
18483 Py_INCREF(Py_None); resultobj = Py_None;
18484 {
18485 if (temp2)
18486 delete arg2;
18487 }
18488 return resultobj;
18489 fail:
18490 {
18491 if (temp2)
18492 delete arg2;
18493 }
18494 return NULL;
18495 }
18496
18497
18498 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18499 PyObject *resultobj;
18500 wxPrintData *arg1 = (wxPrintData *) 0 ;
18501 bool arg2 ;
18502 PyObject * obj0 = 0 ;
18503 PyObject * obj1 = 0 ;
18504 char *kwnames[] = {
18505 (char *) "self",(char *) "colour", NULL
18506 };
18507
18508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
18509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18511 arg2 = (bool) SWIG_AsBool(obj1);
18512 if (PyErr_Occurred()) SWIG_fail;
18513 {
18514 PyThreadState* __tstate = wxPyBeginAllowThreads();
18515 (arg1)->SetColour(arg2);
18516
18517 wxPyEndAllowThreads(__tstate);
18518 if (PyErr_Occurred()) SWIG_fail;
18519 }
18520 Py_INCREF(Py_None); resultobj = Py_None;
18521 return resultobj;
18522 fail:
18523 return NULL;
18524 }
18525
18526
18527 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
18528 PyObject *resultobj;
18529 wxPrintData *arg1 = (wxPrintData *) 0 ;
18530 int arg2 ;
18531 PyObject * obj0 = 0 ;
18532 PyObject * obj1 = 0 ;
18533 char *kwnames[] = {
18534 (char *) "self",(char *) "duplex", NULL
18535 };
18536
18537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
18538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18540 arg2 = (wxDuplexMode) SWIG_AsInt(obj1);
18541 if (PyErr_Occurred()) SWIG_fail;
18542 {
18543 PyThreadState* __tstate = wxPyBeginAllowThreads();
18544 (arg1)->SetDuplex((wxDuplexMode )arg2);
18545
18546 wxPyEndAllowThreads(__tstate);
18547 if (PyErr_Occurred()) SWIG_fail;
18548 }
18549 Py_INCREF(Py_None); resultobj = Py_None;
18550 return resultobj;
18551 fail:
18552 return NULL;
18553 }
18554
18555
18556 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18557 PyObject *resultobj;
18558 wxPrintData *arg1 = (wxPrintData *) 0 ;
18559 int arg2 ;
18560 PyObject * obj0 = 0 ;
18561 PyObject * obj1 = 0 ;
18562 char *kwnames[] = {
18563 (char *) "self",(char *) "sizeId", NULL
18564 };
18565
18566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
18567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18569 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
18570 if (PyErr_Occurred()) SWIG_fail;
18571 {
18572 PyThreadState* __tstate = wxPyBeginAllowThreads();
18573 (arg1)->SetPaperId((wxPaperSize )arg2);
18574
18575 wxPyEndAllowThreads(__tstate);
18576 if (PyErr_Occurred()) SWIG_fail;
18577 }
18578 Py_INCREF(Py_None); resultobj = Py_None;
18579 return resultobj;
18580 fail:
18581 return NULL;
18582 }
18583
18584
18585 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18586 PyObject *resultobj;
18587 wxPrintData *arg1 = (wxPrintData *) 0 ;
18588 wxSize *arg2 = 0 ;
18589 wxSize temp2 ;
18590 PyObject * obj0 = 0 ;
18591 PyObject * obj1 = 0 ;
18592 char *kwnames[] = {
18593 (char *) "self",(char *) "sz", NULL
18594 };
18595
18596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
18597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18599 {
18600 arg2 = &temp2;
18601 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18602 }
18603 {
18604 PyThreadState* __tstate = wxPyBeginAllowThreads();
18605 (arg1)->SetPaperSize((wxSize const &)*arg2);
18606
18607 wxPyEndAllowThreads(__tstate);
18608 if (PyErr_Occurred()) SWIG_fail;
18609 }
18610 Py_INCREF(Py_None); resultobj = Py_None;
18611 return resultobj;
18612 fail:
18613 return NULL;
18614 }
18615
18616
18617 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
18618 PyObject *resultobj;
18619 wxPrintData *arg1 = (wxPrintData *) 0 ;
18620 int arg2 ;
18621 PyObject * obj0 = 0 ;
18622 PyObject * obj1 = 0 ;
18623 char *kwnames[] = {
18624 (char *) "self",(char *) "quality", NULL
18625 };
18626
18627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
18628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18630 arg2 = (int) SWIG_AsInt(obj1);
18631 if (PyErr_Occurred()) SWIG_fail;
18632 {
18633 PyThreadState* __tstate = wxPyBeginAllowThreads();
18634 (arg1)->SetQuality(arg2);
18635
18636 wxPyEndAllowThreads(__tstate);
18637 if (PyErr_Occurred()) SWIG_fail;
18638 }
18639 Py_INCREF(Py_None); resultobj = Py_None;
18640 return resultobj;
18641 fail:
18642 return NULL;
18643 }
18644
18645
18646 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18647 PyObject *resultobj;
18648 wxPrintData *arg1 = (wxPrintData *) 0 ;
18649 wxString *result;
18650 PyObject * obj0 = 0 ;
18651 char *kwnames[] = {
18652 (char *) "self", NULL
18653 };
18654
18655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
18656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18658 {
18659 PyThreadState* __tstate = wxPyBeginAllowThreads();
18660 {
18661 wxString const &_result_ref = (arg1)->GetPrinterCommand();
18662 result = (wxString *) &_result_ref;
18663 }
18664
18665 wxPyEndAllowThreads(__tstate);
18666 if (PyErr_Occurred()) SWIG_fail;
18667 }
18668 {
18669 #if wxUSE_UNICODE
18670 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18671 #else
18672 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18673 #endif
18674 }
18675 return resultobj;
18676 fail:
18677 return NULL;
18678 }
18679
18680
18681 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18682 PyObject *resultobj;
18683 wxPrintData *arg1 = (wxPrintData *) 0 ;
18684 wxString *result;
18685 PyObject * obj0 = 0 ;
18686 char *kwnames[] = {
18687 (char *) "self", NULL
18688 };
18689
18690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
18691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18693 {
18694 PyThreadState* __tstate = wxPyBeginAllowThreads();
18695 {
18696 wxString const &_result_ref = (arg1)->GetPrinterOptions();
18697 result = (wxString *) &_result_ref;
18698 }
18699
18700 wxPyEndAllowThreads(__tstate);
18701 if (PyErr_Occurred()) SWIG_fail;
18702 }
18703 {
18704 #if wxUSE_UNICODE
18705 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18706 #else
18707 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18708 #endif
18709 }
18710 return resultobj;
18711 fail:
18712 return NULL;
18713 }
18714
18715
18716 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18717 PyObject *resultobj;
18718 wxPrintData *arg1 = (wxPrintData *) 0 ;
18719 wxString *result;
18720 PyObject * obj0 = 0 ;
18721 char *kwnames[] = {
18722 (char *) "self", NULL
18723 };
18724
18725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
18726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18728 {
18729 PyThreadState* __tstate = wxPyBeginAllowThreads();
18730 {
18731 wxString const &_result_ref = (arg1)->GetPreviewCommand();
18732 result = (wxString *) &_result_ref;
18733 }
18734
18735 wxPyEndAllowThreads(__tstate);
18736 if (PyErr_Occurred()) SWIG_fail;
18737 }
18738 {
18739 #if wxUSE_UNICODE
18740 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18741 #else
18742 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18743 #endif
18744 }
18745 return resultobj;
18746 fail:
18747 return NULL;
18748 }
18749
18750
18751 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18752 PyObject *resultobj;
18753 wxPrintData *arg1 = (wxPrintData *) 0 ;
18754 wxString *result;
18755 PyObject * obj0 = 0 ;
18756 char *kwnames[] = {
18757 (char *) "self", NULL
18758 };
18759
18760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
18761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18763 {
18764 PyThreadState* __tstate = wxPyBeginAllowThreads();
18765 {
18766 wxString const &_result_ref = (arg1)->GetFilename();
18767 result = (wxString *) &_result_ref;
18768 }
18769
18770 wxPyEndAllowThreads(__tstate);
18771 if (PyErr_Occurred()) SWIG_fail;
18772 }
18773 {
18774 #if wxUSE_UNICODE
18775 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18776 #else
18777 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18778 #endif
18779 }
18780 return resultobj;
18781 fail:
18782 return NULL;
18783 }
18784
18785
18786 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18787 PyObject *resultobj;
18788 wxPrintData *arg1 = (wxPrintData *) 0 ;
18789 wxString *result;
18790 PyObject * obj0 = 0 ;
18791 char *kwnames[] = {
18792 (char *) "self", NULL
18793 };
18794
18795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
18796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18798 {
18799 PyThreadState* __tstate = wxPyBeginAllowThreads();
18800 {
18801 wxString const &_result_ref = (arg1)->GetFontMetricPath();
18802 result = (wxString *) &_result_ref;
18803 }
18804
18805 wxPyEndAllowThreads(__tstate);
18806 if (PyErr_Occurred()) SWIG_fail;
18807 }
18808 {
18809 #if wxUSE_UNICODE
18810 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18811 #else
18812 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18813 #endif
18814 }
18815 return resultobj;
18816 fail:
18817 return NULL;
18818 }
18819
18820
18821 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18822 PyObject *resultobj;
18823 wxPrintData *arg1 = (wxPrintData *) 0 ;
18824 double result;
18825 PyObject * obj0 = 0 ;
18826 char *kwnames[] = {
18827 (char *) "self", NULL
18828 };
18829
18830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
18831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18833 {
18834 PyThreadState* __tstate = wxPyBeginAllowThreads();
18835 result = (double)(arg1)->GetPrinterScaleX();
18836
18837 wxPyEndAllowThreads(__tstate);
18838 if (PyErr_Occurred()) SWIG_fail;
18839 }
18840 resultobj = SWIG_FromDouble((double)result);
18841 return resultobj;
18842 fail:
18843 return NULL;
18844 }
18845
18846
18847 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18848 PyObject *resultobj;
18849 wxPrintData *arg1 = (wxPrintData *) 0 ;
18850 double result;
18851 PyObject * obj0 = 0 ;
18852 char *kwnames[] = {
18853 (char *) "self", NULL
18854 };
18855
18856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
18857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18859 {
18860 PyThreadState* __tstate = wxPyBeginAllowThreads();
18861 result = (double)(arg1)->GetPrinterScaleY();
18862
18863 wxPyEndAllowThreads(__tstate);
18864 if (PyErr_Occurred()) SWIG_fail;
18865 }
18866 resultobj = SWIG_FromDouble((double)result);
18867 return resultobj;
18868 fail:
18869 return NULL;
18870 }
18871
18872
18873 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
18874 PyObject *resultobj;
18875 wxPrintData *arg1 = (wxPrintData *) 0 ;
18876 long result;
18877 PyObject * obj0 = 0 ;
18878 char *kwnames[] = {
18879 (char *) "self", NULL
18880 };
18881
18882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
18883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18885 {
18886 PyThreadState* __tstate = wxPyBeginAllowThreads();
18887 result = (long)(arg1)->GetPrinterTranslateX();
18888
18889 wxPyEndAllowThreads(__tstate);
18890 if (PyErr_Occurred()) SWIG_fail;
18891 }
18892 resultobj = SWIG_FromLong((long)result);
18893 return resultobj;
18894 fail:
18895 return NULL;
18896 }
18897
18898
18899 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
18900 PyObject *resultobj;
18901 wxPrintData *arg1 = (wxPrintData *) 0 ;
18902 long result;
18903 PyObject * obj0 = 0 ;
18904 char *kwnames[] = {
18905 (char *) "self", NULL
18906 };
18907
18908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
18909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18911 {
18912 PyThreadState* __tstate = wxPyBeginAllowThreads();
18913 result = (long)(arg1)->GetPrinterTranslateY();
18914
18915 wxPyEndAllowThreads(__tstate);
18916 if (PyErr_Occurred()) SWIG_fail;
18917 }
18918 resultobj = SWIG_FromLong((long)result);
18919 return resultobj;
18920 fail:
18921 return NULL;
18922 }
18923
18924
18925 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18926 PyObject *resultobj;
18927 wxPrintData *arg1 = (wxPrintData *) 0 ;
18928 int result;
18929 PyObject * obj0 = 0 ;
18930 char *kwnames[] = {
18931 (char *) "self", NULL
18932 };
18933
18934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
18935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18937 {
18938 PyThreadState* __tstate = wxPyBeginAllowThreads();
18939 result = (int)(arg1)->GetPrintMode();
18940
18941 wxPyEndAllowThreads(__tstate);
18942 if (PyErr_Occurred()) SWIG_fail;
18943 }
18944 resultobj = SWIG_FromInt((int)result);
18945 return resultobj;
18946 fail:
18947 return NULL;
18948 }
18949
18950
18951 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18952 PyObject *resultobj;
18953 wxPrintData *arg1 = (wxPrintData *) 0 ;
18954 wxString *arg2 = 0 ;
18955 bool temp2 = False ;
18956 PyObject * obj0 = 0 ;
18957 PyObject * obj1 = 0 ;
18958 char *kwnames[] = {
18959 (char *) "self",(char *) "command", NULL
18960 };
18961
18962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
18963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18965 {
18966 arg2 = wxString_in_helper(obj1);
18967 if (arg2 == NULL) SWIG_fail;
18968 temp2 = True;
18969 }
18970 {
18971 PyThreadState* __tstate = wxPyBeginAllowThreads();
18972 (arg1)->SetPrinterCommand((wxString const &)*arg2);
18973
18974 wxPyEndAllowThreads(__tstate);
18975 if (PyErr_Occurred()) SWIG_fail;
18976 }
18977 Py_INCREF(Py_None); resultobj = Py_None;
18978 {
18979 if (temp2)
18980 delete arg2;
18981 }
18982 return resultobj;
18983 fail:
18984 {
18985 if (temp2)
18986 delete arg2;
18987 }
18988 return NULL;
18989 }
18990
18991
18992 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18993 PyObject *resultobj;
18994 wxPrintData *arg1 = (wxPrintData *) 0 ;
18995 wxString *arg2 = 0 ;
18996 bool temp2 = False ;
18997 PyObject * obj0 = 0 ;
18998 PyObject * obj1 = 0 ;
18999 char *kwnames[] = {
19000 (char *) "self",(char *) "options", NULL
19001 };
19002
19003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
19004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19006 {
19007 arg2 = wxString_in_helper(obj1);
19008 if (arg2 == NULL) SWIG_fail;
19009 temp2 = True;
19010 }
19011 {
19012 PyThreadState* __tstate = wxPyBeginAllowThreads();
19013 (arg1)->SetPrinterOptions((wxString const &)*arg2);
19014
19015 wxPyEndAllowThreads(__tstate);
19016 if (PyErr_Occurred()) SWIG_fail;
19017 }
19018 Py_INCREF(Py_None); resultobj = Py_None;
19019 {
19020 if (temp2)
19021 delete arg2;
19022 }
19023 return resultobj;
19024 fail:
19025 {
19026 if (temp2)
19027 delete arg2;
19028 }
19029 return NULL;
19030 }
19031
19032
19033 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
19034 PyObject *resultobj;
19035 wxPrintData *arg1 = (wxPrintData *) 0 ;
19036 wxString *arg2 = 0 ;
19037 bool temp2 = False ;
19038 PyObject * obj0 = 0 ;
19039 PyObject * obj1 = 0 ;
19040 char *kwnames[] = {
19041 (char *) "self",(char *) "command", NULL
19042 };
19043
19044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
19045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19047 {
19048 arg2 = wxString_in_helper(obj1);
19049 if (arg2 == NULL) SWIG_fail;
19050 temp2 = True;
19051 }
19052 {
19053 PyThreadState* __tstate = wxPyBeginAllowThreads();
19054 (arg1)->SetPreviewCommand((wxString const &)*arg2);
19055
19056 wxPyEndAllowThreads(__tstate);
19057 if (PyErr_Occurred()) SWIG_fail;
19058 }
19059 Py_INCREF(Py_None); resultobj = Py_None;
19060 {
19061 if (temp2)
19062 delete arg2;
19063 }
19064 return resultobj;
19065 fail:
19066 {
19067 if (temp2)
19068 delete arg2;
19069 }
19070 return NULL;
19071 }
19072
19073
19074 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
19075 PyObject *resultobj;
19076 wxPrintData *arg1 = (wxPrintData *) 0 ;
19077 wxString *arg2 = 0 ;
19078 bool temp2 = False ;
19079 PyObject * obj0 = 0 ;
19080 PyObject * obj1 = 0 ;
19081 char *kwnames[] = {
19082 (char *) "self",(char *) "filename", NULL
19083 };
19084
19085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
19086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19088 {
19089 arg2 = wxString_in_helper(obj1);
19090 if (arg2 == NULL) SWIG_fail;
19091 temp2 = True;
19092 }
19093 {
19094 PyThreadState* __tstate = wxPyBeginAllowThreads();
19095 (arg1)->SetFilename((wxString const &)*arg2);
19096
19097 wxPyEndAllowThreads(__tstate);
19098 if (PyErr_Occurred()) SWIG_fail;
19099 }
19100 Py_INCREF(Py_None); resultobj = Py_None;
19101 {
19102 if (temp2)
19103 delete arg2;
19104 }
19105 return resultobj;
19106 fail:
19107 {
19108 if (temp2)
19109 delete arg2;
19110 }
19111 return NULL;
19112 }
19113
19114
19115 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
19116 PyObject *resultobj;
19117 wxPrintData *arg1 = (wxPrintData *) 0 ;
19118 wxString *arg2 = 0 ;
19119 bool temp2 = False ;
19120 PyObject * obj0 = 0 ;
19121 PyObject * obj1 = 0 ;
19122 char *kwnames[] = {
19123 (char *) "self",(char *) "path", NULL
19124 };
19125
19126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
19127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19129 {
19130 arg2 = wxString_in_helper(obj1);
19131 if (arg2 == NULL) SWIG_fail;
19132 temp2 = True;
19133 }
19134 {
19135 PyThreadState* __tstate = wxPyBeginAllowThreads();
19136 (arg1)->SetFontMetricPath((wxString const &)*arg2);
19137
19138 wxPyEndAllowThreads(__tstate);
19139 if (PyErr_Occurred()) SWIG_fail;
19140 }
19141 Py_INCREF(Py_None); resultobj = Py_None;
19142 {
19143 if (temp2)
19144 delete arg2;
19145 }
19146 return resultobj;
19147 fail:
19148 {
19149 if (temp2)
19150 delete arg2;
19151 }
19152 return NULL;
19153 }
19154
19155
19156 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
19157 PyObject *resultobj;
19158 wxPrintData *arg1 = (wxPrintData *) 0 ;
19159 double arg2 ;
19160 PyObject * obj0 = 0 ;
19161 PyObject * obj1 = 0 ;
19162 char *kwnames[] = {
19163 (char *) "self",(char *) "x", NULL
19164 };
19165
19166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
19167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19169 arg2 = (double) SWIG_AsDouble(obj1);
19170 if (PyErr_Occurred()) SWIG_fail;
19171 {
19172 PyThreadState* __tstate = wxPyBeginAllowThreads();
19173 (arg1)->SetPrinterScaleX(arg2);
19174
19175 wxPyEndAllowThreads(__tstate);
19176 if (PyErr_Occurred()) SWIG_fail;
19177 }
19178 Py_INCREF(Py_None); resultobj = Py_None;
19179 return resultobj;
19180 fail:
19181 return NULL;
19182 }
19183
19184
19185 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
19186 PyObject *resultobj;
19187 wxPrintData *arg1 = (wxPrintData *) 0 ;
19188 double arg2 ;
19189 PyObject * obj0 = 0 ;
19190 PyObject * obj1 = 0 ;
19191 char *kwnames[] = {
19192 (char *) "self",(char *) "y", NULL
19193 };
19194
19195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
19196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19198 arg2 = (double) SWIG_AsDouble(obj1);
19199 if (PyErr_Occurred()) SWIG_fail;
19200 {
19201 PyThreadState* __tstate = wxPyBeginAllowThreads();
19202 (arg1)->SetPrinterScaleY(arg2);
19203
19204 wxPyEndAllowThreads(__tstate);
19205 if (PyErr_Occurred()) SWIG_fail;
19206 }
19207 Py_INCREF(Py_None); resultobj = Py_None;
19208 return resultobj;
19209 fail:
19210 return NULL;
19211 }
19212
19213
19214 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
19215 PyObject *resultobj;
19216 wxPrintData *arg1 = (wxPrintData *) 0 ;
19217 double arg2 ;
19218 double arg3 ;
19219 PyObject * obj0 = 0 ;
19220 PyObject * obj1 = 0 ;
19221 PyObject * obj2 = 0 ;
19222 char *kwnames[] = {
19223 (char *) "self",(char *) "x",(char *) "y", NULL
19224 };
19225
19226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
19227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19229 arg2 = (double) SWIG_AsDouble(obj1);
19230 if (PyErr_Occurred()) SWIG_fail;
19231 arg3 = (double) SWIG_AsDouble(obj2);
19232 if (PyErr_Occurred()) SWIG_fail;
19233 {
19234 PyThreadState* __tstate = wxPyBeginAllowThreads();
19235 (arg1)->SetPrinterScaling(arg2,arg3);
19236
19237 wxPyEndAllowThreads(__tstate);
19238 if (PyErr_Occurred()) SWIG_fail;
19239 }
19240 Py_INCREF(Py_None); resultobj = Py_None;
19241 return resultobj;
19242 fail:
19243 return NULL;
19244 }
19245
19246
19247 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
19248 PyObject *resultobj;
19249 wxPrintData *arg1 = (wxPrintData *) 0 ;
19250 long arg2 ;
19251 PyObject * obj0 = 0 ;
19252 PyObject * obj1 = 0 ;
19253 char *kwnames[] = {
19254 (char *) "self",(char *) "x", NULL
19255 };
19256
19257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
19258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19260 arg2 = (long) SWIG_AsLong(obj1);
19261 if (PyErr_Occurred()) SWIG_fail;
19262 {
19263 PyThreadState* __tstate = wxPyBeginAllowThreads();
19264 (arg1)->SetPrinterTranslateX(arg2);
19265
19266 wxPyEndAllowThreads(__tstate);
19267 if (PyErr_Occurred()) SWIG_fail;
19268 }
19269 Py_INCREF(Py_None); resultobj = Py_None;
19270 return resultobj;
19271 fail:
19272 return NULL;
19273 }
19274
19275
19276 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
19277 PyObject *resultobj;
19278 wxPrintData *arg1 = (wxPrintData *) 0 ;
19279 long arg2 ;
19280 PyObject * obj0 = 0 ;
19281 PyObject * obj1 = 0 ;
19282 char *kwnames[] = {
19283 (char *) "self",(char *) "y", NULL
19284 };
19285
19286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
19287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19289 arg2 = (long) SWIG_AsLong(obj1);
19290 if (PyErr_Occurred()) SWIG_fail;
19291 {
19292 PyThreadState* __tstate = wxPyBeginAllowThreads();
19293 (arg1)->SetPrinterTranslateY(arg2);
19294
19295 wxPyEndAllowThreads(__tstate);
19296 if (PyErr_Occurred()) SWIG_fail;
19297 }
19298 Py_INCREF(Py_None); resultobj = Py_None;
19299 return resultobj;
19300 fail:
19301 return NULL;
19302 }
19303
19304
19305 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
19306 PyObject *resultobj;
19307 wxPrintData *arg1 = (wxPrintData *) 0 ;
19308 long arg2 ;
19309 long arg3 ;
19310 PyObject * obj0 = 0 ;
19311 PyObject * obj1 = 0 ;
19312 PyObject * obj2 = 0 ;
19313 char *kwnames[] = {
19314 (char *) "self",(char *) "x",(char *) "y", NULL
19315 };
19316
19317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
19318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19320 arg2 = (long) SWIG_AsLong(obj1);
19321 if (PyErr_Occurred()) SWIG_fail;
19322 arg3 = (long) SWIG_AsLong(obj2);
19323 if (PyErr_Occurred()) SWIG_fail;
19324 {
19325 PyThreadState* __tstate = wxPyBeginAllowThreads();
19326 (arg1)->SetPrinterTranslation(arg2,arg3);
19327
19328 wxPyEndAllowThreads(__tstate);
19329 if (PyErr_Occurred()) SWIG_fail;
19330 }
19331 Py_INCREF(Py_None); resultobj = Py_None;
19332 return resultobj;
19333 fail:
19334 return NULL;
19335 }
19336
19337
19338 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
19339 PyObject *resultobj;
19340 wxPrintData *arg1 = (wxPrintData *) 0 ;
19341 int arg2 ;
19342 PyObject * obj0 = 0 ;
19343 PyObject * obj1 = 0 ;
19344 char *kwnames[] = {
19345 (char *) "self",(char *) "printMode", NULL
19346 };
19347
19348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
19349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19351 arg2 = (wxPrintMode) SWIG_AsInt(obj1);
19352 if (PyErr_Occurred()) SWIG_fail;
19353 {
19354 PyThreadState* __tstate = wxPyBeginAllowThreads();
19355 (arg1)->SetPrintMode((wxPrintMode )arg2);
19356
19357 wxPyEndAllowThreads(__tstate);
19358 if (PyErr_Occurred()) SWIG_fail;
19359 }
19360 Py_INCREF(Py_None); resultobj = Py_None;
19361 return resultobj;
19362 fail:
19363 return NULL;
19364 }
19365
19366
19367 static PyObject *_wrap_PrintData_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
19368 PyObject *resultobj;
19369 wxPrintData *arg1 = (wxPrintData *) 0 ;
19370 wxOutputStream *result;
19371 PyObject * obj0 = 0 ;
19372 char *kwnames[] = {
19373 (char *) "self", NULL
19374 };
19375
19376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
19377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19379 {
19380 PyThreadState* __tstate = wxPyBeginAllowThreads();
19381 result = (wxOutputStream *)(arg1)->GetOutputStream();
19382
19383 wxPyEndAllowThreads(__tstate);
19384 if (PyErr_Occurred()) SWIG_fail;
19385 }
19386 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
19387 return resultobj;
19388 fail:
19389 return NULL;
19390 }
19391
19392
19393 static PyObject *_wrap_PrintData_SetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
19394 PyObject *resultobj;
19395 wxPrintData *arg1 = (wxPrintData *) 0 ;
19396 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
19397 PyObject * obj0 = 0 ;
19398 PyObject * obj1 = 0 ;
19399 char *kwnames[] = {
19400 (char *) "self",(char *) "outputstream", NULL
19401 };
19402
19403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
19404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19406 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
19407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19408 {
19409 PyThreadState* __tstate = wxPyBeginAllowThreads();
19410 (arg1)->SetOutputStream(arg2);
19411
19412 wxPyEndAllowThreads(__tstate);
19413 if (PyErr_Occurred()) SWIG_fail;
19414 }
19415 Py_INCREF(Py_None); resultobj = Py_None;
19416 return resultobj;
19417 fail:
19418 return NULL;
19419 }
19420
19421
19422 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
19423 PyObject *obj;
19424 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19425 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
19426 Py_INCREF(obj);
19427 return Py_BuildValue((char *)"");
19428 }
19429 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19430 PyObject *resultobj;
19431 wxPageSetupDialogData *result;
19432 char *kwnames[] = {
19433 NULL
19434 };
19435
19436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
19437 {
19438 PyThreadState* __tstate = wxPyBeginAllowThreads();
19439 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
19440
19441 wxPyEndAllowThreads(__tstate);
19442 if (PyErr_Occurred()) SWIG_fail;
19443 }
19444 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19445 return resultobj;
19446 fail:
19447 return NULL;
19448 }
19449
19450
19451 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19452 PyObject *resultobj;
19453 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19454 PyObject * obj0 = 0 ;
19455 char *kwnames[] = {
19456 (char *) "self", NULL
19457 };
19458
19459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
19460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19462 {
19463 PyThreadState* __tstate = wxPyBeginAllowThreads();
19464 delete arg1;
19465
19466 wxPyEndAllowThreads(__tstate);
19467 if (PyErr_Occurred()) SWIG_fail;
19468 }
19469 Py_INCREF(Py_None); resultobj = Py_None;
19470 return resultobj;
19471 fail:
19472 return NULL;
19473 }
19474
19475
19476 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19477 PyObject *resultobj;
19478 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19479 bool arg2 ;
19480 PyObject * obj0 = 0 ;
19481 PyObject * obj1 = 0 ;
19482 char *kwnames[] = {
19483 (char *) "self",(char *) "flag", NULL
19484 };
19485
19486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
19487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19489 arg2 = (bool) SWIG_AsBool(obj1);
19490 if (PyErr_Occurred()) SWIG_fail;
19491 {
19492 PyThreadState* __tstate = wxPyBeginAllowThreads();
19493 (arg1)->EnableHelp(arg2);
19494
19495 wxPyEndAllowThreads(__tstate);
19496 if (PyErr_Occurred()) SWIG_fail;
19497 }
19498 Py_INCREF(Py_None); resultobj = Py_None;
19499 return resultobj;
19500 fail:
19501 return NULL;
19502 }
19503
19504
19505 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19506 PyObject *resultobj;
19507 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19508 bool arg2 ;
19509 PyObject * obj0 = 0 ;
19510 PyObject * obj1 = 0 ;
19511 char *kwnames[] = {
19512 (char *) "self",(char *) "flag", NULL
19513 };
19514
19515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
19516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19518 arg2 = (bool) SWIG_AsBool(obj1);
19519 if (PyErr_Occurred()) SWIG_fail;
19520 {
19521 PyThreadState* __tstate = wxPyBeginAllowThreads();
19522 (arg1)->EnableMargins(arg2);
19523
19524 wxPyEndAllowThreads(__tstate);
19525 if (PyErr_Occurred()) SWIG_fail;
19526 }
19527 Py_INCREF(Py_None); resultobj = Py_None;
19528 return resultobj;
19529 fail:
19530 return NULL;
19531 }
19532
19533
19534 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
19535 PyObject *resultobj;
19536 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19537 bool arg2 ;
19538 PyObject * obj0 = 0 ;
19539 PyObject * obj1 = 0 ;
19540 char *kwnames[] = {
19541 (char *) "self",(char *) "flag", NULL
19542 };
19543
19544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
19545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19547 arg2 = (bool) SWIG_AsBool(obj1);
19548 if (PyErr_Occurred()) SWIG_fail;
19549 {
19550 PyThreadState* __tstate = wxPyBeginAllowThreads();
19551 (arg1)->EnableOrientation(arg2);
19552
19553 wxPyEndAllowThreads(__tstate);
19554 if (PyErr_Occurred()) SWIG_fail;
19555 }
19556 Py_INCREF(Py_None); resultobj = Py_None;
19557 return resultobj;
19558 fail:
19559 return NULL;
19560 }
19561
19562
19563 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
19564 PyObject *resultobj;
19565 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19566 bool arg2 ;
19567 PyObject * obj0 = 0 ;
19568 PyObject * obj1 = 0 ;
19569 char *kwnames[] = {
19570 (char *) "self",(char *) "flag", NULL
19571 };
19572
19573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
19574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19576 arg2 = (bool) SWIG_AsBool(obj1);
19577 if (PyErr_Occurred()) SWIG_fail;
19578 {
19579 PyThreadState* __tstate = wxPyBeginAllowThreads();
19580 (arg1)->EnablePaper(arg2);
19581
19582 wxPyEndAllowThreads(__tstate);
19583 if (PyErr_Occurred()) SWIG_fail;
19584 }
19585 Py_INCREF(Py_None); resultobj = Py_None;
19586 return resultobj;
19587 fail:
19588 return NULL;
19589 }
19590
19591
19592 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19593 PyObject *resultobj;
19594 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19595 bool arg2 ;
19596 PyObject * obj0 = 0 ;
19597 PyObject * obj1 = 0 ;
19598 char *kwnames[] = {
19599 (char *) "self",(char *) "flag", NULL
19600 };
19601
19602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
19603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19605 arg2 = (bool) SWIG_AsBool(obj1);
19606 if (PyErr_Occurred()) SWIG_fail;
19607 {
19608 PyThreadState* __tstate = wxPyBeginAllowThreads();
19609 (arg1)->EnablePrinter(arg2);
19610
19611 wxPyEndAllowThreads(__tstate);
19612 if (PyErr_Occurred()) SWIG_fail;
19613 }
19614 Py_INCREF(Py_None); resultobj = Py_None;
19615 return resultobj;
19616 fail:
19617 return NULL;
19618 }
19619
19620
19621 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19622 PyObject *resultobj;
19623 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19624 bool result;
19625 PyObject * obj0 = 0 ;
19626 char *kwnames[] = {
19627 (char *) "self", NULL
19628 };
19629
19630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
19631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19633 {
19634 PyThreadState* __tstate = wxPyBeginAllowThreads();
19635 result = (bool)(arg1)->GetDefaultMinMargins();
19636
19637 wxPyEndAllowThreads(__tstate);
19638 if (PyErr_Occurred()) SWIG_fail;
19639 }
19640 {
19641 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19642 }
19643 return resultobj;
19644 fail:
19645 return NULL;
19646 }
19647
19648
19649 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19650 PyObject *resultobj;
19651 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19652 bool result;
19653 PyObject * obj0 = 0 ;
19654 char *kwnames[] = {
19655 (char *) "self", NULL
19656 };
19657
19658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
19659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19661 {
19662 PyThreadState* __tstate = wxPyBeginAllowThreads();
19663 result = (bool)(arg1)->GetEnableMargins();
19664
19665 wxPyEndAllowThreads(__tstate);
19666 if (PyErr_Occurred()) SWIG_fail;
19667 }
19668 {
19669 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19670 }
19671 return resultobj;
19672 fail:
19673 return NULL;
19674 }
19675
19676
19677 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
19678 PyObject *resultobj;
19679 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19680 bool result;
19681 PyObject * obj0 = 0 ;
19682 char *kwnames[] = {
19683 (char *) "self", NULL
19684 };
19685
19686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
19687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19689 {
19690 PyThreadState* __tstate = wxPyBeginAllowThreads();
19691 result = (bool)(arg1)->GetEnableOrientation();
19692
19693 wxPyEndAllowThreads(__tstate);
19694 if (PyErr_Occurred()) SWIG_fail;
19695 }
19696 {
19697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19698 }
19699 return resultobj;
19700 fail:
19701 return NULL;
19702 }
19703
19704
19705 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
19706 PyObject *resultobj;
19707 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19708 bool result;
19709 PyObject * obj0 = 0 ;
19710 char *kwnames[] = {
19711 (char *) "self", NULL
19712 };
19713
19714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
19715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19717 {
19718 PyThreadState* __tstate = wxPyBeginAllowThreads();
19719 result = (bool)(arg1)->GetEnablePaper();
19720
19721 wxPyEndAllowThreads(__tstate);
19722 if (PyErr_Occurred()) SWIG_fail;
19723 }
19724 {
19725 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19726 }
19727 return resultobj;
19728 fail:
19729 return NULL;
19730 }
19731
19732
19733 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19734 PyObject *resultobj;
19735 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19736 bool result;
19737 PyObject * obj0 = 0 ;
19738 char *kwnames[] = {
19739 (char *) "self", NULL
19740 };
19741
19742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
19743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19745 {
19746 PyThreadState* __tstate = wxPyBeginAllowThreads();
19747 result = (bool)(arg1)->GetEnablePrinter();
19748
19749 wxPyEndAllowThreads(__tstate);
19750 if (PyErr_Occurred()) SWIG_fail;
19751 }
19752 {
19753 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19754 }
19755 return resultobj;
19756 fail:
19757 return NULL;
19758 }
19759
19760
19761 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19762 PyObject *resultobj;
19763 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19764 bool result;
19765 PyObject * obj0 = 0 ;
19766 char *kwnames[] = {
19767 (char *) "self", NULL
19768 };
19769
19770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
19771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19773 {
19774 PyThreadState* __tstate = wxPyBeginAllowThreads();
19775 result = (bool)(arg1)->GetEnableHelp();
19776
19777 wxPyEndAllowThreads(__tstate);
19778 if (PyErr_Occurred()) SWIG_fail;
19779 }
19780 {
19781 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19782 }
19783 return resultobj;
19784 fail:
19785 return NULL;
19786 }
19787
19788
19789 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19790 PyObject *resultobj;
19791 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19792 bool result;
19793 PyObject * obj0 = 0 ;
19794 char *kwnames[] = {
19795 (char *) "self", NULL
19796 };
19797
19798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
19799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19801 {
19802 PyThreadState* __tstate = wxPyBeginAllowThreads();
19803 result = (bool)(arg1)->GetDefaultInfo();
19804
19805 wxPyEndAllowThreads(__tstate);
19806 if (PyErr_Occurred()) SWIG_fail;
19807 }
19808 {
19809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19810 }
19811 return resultobj;
19812 fail:
19813 return NULL;
19814 }
19815
19816
19817 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19818 PyObject *resultobj;
19819 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19820 wxPoint result;
19821 PyObject * obj0 = 0 ;
19822 char *kwnames[] = {
19823 (char *) "self", NULL
19824 };
19825
19826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
19827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19829 {
19830 PyThreadState* __tstate = wxPyBeginAllowThreads();
19831 result = (arg1)->GetMarginTopLeft();
19832
19833 wxPyEndAllowThreads(__tstate);
19834 if (PyErr_Occurred()) SWIG_fail;
19835 }
19836 {
19837 wxPoint * resultptr;
19838 resultptr = new wxPoint((wxPoint &) result);
19839 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19840 }
19841 return resultobj;
19842 fail:
19843 return NULL;
19844 }
19845
19846
19847 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19848 PyObject *resultobj;
19849 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19850 wxPoint result;
19851 PyObject * obj0 = 0 ;
19852 char *kwnames[] = {
19853 (char *) "self", NULL
19854 };
19855
19856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
19857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19859 {
19860 PyThreadState* __tstate = wxPyBeginAllowThreads();
19861 result = (arg1)->GetMarginBottomRight();
19862
19863 wxPyEndAllowThreads(__tstate);
19864 if (PyErr_Occurred()) SWIG_fail;
19865 }
19866 {
19867 wxPoint * resultptr;
19868 resultptr = new wxPoint((wxPoint &) result);
19869 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19870 }
19871 return resultobj;
19872 fail:
19873 return NULL;
19874 }
19875
19876
19877 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19878 PyObject *resultobj;
19879 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19880 wxPoint result;
19881 PyObject * obj0 = 0 ;
19882 char *kwnames[] = {
19883 (char *) "self", NULL
19884 };
19885
19886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
19887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19889 {
19890 PyThreadState* __tstate = wxPyBeginAllowThreads();
19891 result = (arg1)->GetMinMarginTopLeft();
19892
19893 wxPyEndAllowThreads(__tstate);
19894 if (PyErr_Occurred()) SWIG_fail;
19895 }
19896 {
19897 wxPoint * resultptr;
19898 resultptr = new wxPoint((wxPoint &) result);
19899 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19900 }
19901 return resultobj;
19902 fail:
19903 return NULL;
19904 }
19905
19906
19907 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19908 PyObject *resultobj;
19909 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19910 wxPoint result;
19911 PyObject * obj0 = 0 ;
19912 char *kwnames[] = {
19913 (char *) "self", NULL
19914 };
19915
19916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
19917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19919 {
19920 PyThreadState* __tstate = wxPyBeginAllowThreads();
19921 result = (arg1)->GetMinMarginBottomRight();
19922
19923 wxPyEndAllowThreads(__tstate);
19924 if (PyErr_Occurred()) SWIG_fail;
19925 }
19926 {
19927 wxPoint * resultptr;
19928 resultptr = new wxPoint((wxPoint &) result);
19929 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19930 }
19931 return resultobj;
19932 fail:
19933 return NULL;
19934 }
19935
19936
19937 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
19938 PyObject *resultobj;
19939 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19940 int result;
19941 PyObject * obj0 = 0 ;
19942 char *kwnames[] = {
19943 (char *) "self", NULL
19944 };
19945
19946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
19947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19949 {
19950 PyThreadState* __tstate = wxPyBeginAllowThreads();
19951 result = (int)(arg1)->GetPaperId();
19952
19953 wxPyEndAllowThreads(__tstate);
19954 if (PyErr_Occurred()) SWIG_fail;
19955 }
19956 resultobj = SWIG_FromInt((int)result);
19957 return resultobj;
19958 fail:
19959 return NULL;
19960 }
19961
19962
19963 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19964 PyObject *resultobj;
19965 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19966 wxSize result;
19967 PyObject * obj0 = 0 ;
19968 char *kwnames[] = {
19969 (char *) "self", NULL
19970 };
19971
19972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
19973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19975 {
19976 PyThreadState* __tstate = wxPyBeginAllowThreads();
19977 result = (arg1)->GetPaperSize();
19978
19979 wxPyEndAllowThreads(__tstate);
19980 if (PyErr_Occurred()) SWIG_fail;
19981 }
19982 {
19983 wxSize * resultptr;
19984 resultptr = new wxSize((wxSize &) result);
19985 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19986 }
19987 return resultobj;
19988 fail:
19989 return NULL;
19990 }
19991
19992
19993 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19994 PyObject *resultobj;
19995 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19996 wxPrintData *result;
19997 PyObject * obj0 = 0 ;
19998 char *kwnames[] = {
19999 (char *) "self", NULL
20000 };
20001
20002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
20003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20005 {
20006 PyThreadState* __tstate = wxPyBeginAllowThreads();
20007 {
20008 wxPrintData &_result_ref = (arg1)->GetPrintData();
20009 result = (wxPrintData *) &_result_ref;
20010 }
20011
20012 wxPyEndAllowThreads(__tstate);
20013 if (PyErr_Occurred()) SWIG_fail;
20014 }
20015 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
20016 return resultobj;
20017 fail:
20018 return NULL;
20019 }
20020
20021
20022 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
20023 PyObject *resultobj;
20024 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20025 bool result;
20026 PyObject * obj0 = 0 ;
20027 char *kwnames[] = {
20028 (char *) "self", NULL
20029 };
20030
20031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
20032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20034 {
20035 PyThreadState* __tstate = wxPyBeginAllowThreads();
20036 result = (bool)(arg1)->Ok();
20037
20038 wxPyEndAllowThreads(__tstate);
20039 if (PyErr_Occurred()) SWIG_fail;
20040 }
20041 {
20042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20043 }
20044 return resultobj;
20045 fail:
20046 return NULL;
20047 }
20048
20049
20050 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20051 PyObject *resultobj;
20052 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20053 bool arg2 ;
20054 PyObject * obj0 = 0 ;
20055 PyObject * obj1 = 0 ;
20056 char *kwnames[] = {
20057 (char *) "self",(char *) "flag", NULL
20058 };
20059
20060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
20061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20063 arg2 = (bool) SWIG_AsBool(obj1);
20064 if (PyErr_Occurred()) SWIG_fail;
20065 {
20066 PyThreadState* __tstate = wxPyBeginAllowThreads();
20067 (arg1)->SetDefaultInfo(arg2);
20068
20069 wxPyEndAllowThreads(__tstate);
20070 if (PyErr_Occurred()) SWIG_fail;
20071 }
20072 Py_INCREF(Py_None); resultobj = Py_None;
20073 return resultobj;
20074 fail:
20075 return NULL;
20076 }
20077
20078
20079 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
20080 PyObject *resultobj;
20081 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20082 bool arg2 ;
20083 PyObject * obj0 = 0 ;
20084 PyObject * obj1 = 0 ;
20085 char *kwnames[] = {
20086 (char *) "self",(char *) "flag", NULL
20087 };
20088
20089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
20090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20092 arg2 = (bool) SWIG_AsBool(obj1);
20093 if (PyErr_Occurred()) SWIG_fail;
20094 {
20095 PyThreadState* __tstate = wxPyBeginAllowThreads();
20096 (arg1)->SetDefaultMinMargins(arg2);
20097
20098 wxPyEndAllowThreads(__tstate);
20099 if (PyErr_Occurred()) SWIG_fail;
20100 }
20101 Py_INCREF(Py_None); resultobj = Py_None;
20102 return resultobj;
20103 fail:
20104 return NULL;
20105 }
20106
20107
20108 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
20109 PyObject *resultobj;
20110 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20111 wxPoint *arg2 = 0 ;
20112 wxPoint temp2 ;
20113 PyObject * obj0 = 0 ;
20114 PyObject * obj1 = 0 ;
20115 char *kwnames[] = {
20116 (char *) "self",(char *) "pt", NULL
20117 };
20118
20119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20122 {
20123 arg2 = &temp2;
20124 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20125 }
20126 {
20127 PyThreadState* __tstate = wxPyBeginAllowThreads();
20128 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
20129
20130 wxPyEndAllowThreads(__tstate);
20131 if (PyErr_Occurred()) SWIG_fail;
20132 }
20133 Py_INCREF(Py_None); resultobj = Py_None;
20134 return resultobj;
20135 fail:
20136 return NULL;
20137 }
20138
20139
20140 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
20141 PyObject *resultobj;
20142 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20143 wxPoint *arg2 = 0 ;
20144 wxPoint temp2 ;
20145 PyObject * obj0 = 0 ;
20146 PyObject * obj1 = 0 ;
20147 char *kwnames[] = {
20148 (char *) "self",(char *) "pt", NULL
20149 };
20150
20151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20154 {
20155 arg2 = &temp2;
20156 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20157 }
20158 {
20159 PyThreadState* __tstate = wxPyBeginAllowThreads();
20160 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
20161
20162 wxPyEndAllowThreads(__tstate);
20163 if (PyErr_Occurred()) SWIG_fail;
20164 }
20165 Py_INCREF(Py_None); resultobj = Py_None;
20166 return resultobj;
20167 fail:
20168 return NULL;
20169 }
20170
20171
20172 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
20173 PyObject *resultobj;
20174 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20175 wxPoint *arg2 = 0 ;
20176 wxPoint temp2 ;
20177 PyObject * obj0 = 0 ;
20178 PyObject * obj1 = 0 ;
20179 char *kwnames[] = {
20180 (char *) "self",(char *) "pt", NULL
20181 };
20182
20183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20186 {
20187 arg2 = &temp2;
20188 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20189 }
20190 {
20191 PyThreadState* __tstate = wxPyBeginAllowThreads();
20192 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
20193
20194 wxPyEndAllowThreads(__tstate);
20195 if (PyErr_Occurred()) SWIG_fail;
20196 }
20197 Py_INCREF(Py_None); resultobj = Py_None;
20198 return resultobj;
20199 fail:
20200 return NULL;
20201 }
20202
20203
20204 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
20205 PyObject *resultobj;
20206 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20207 wxPoint *arg2 = 0 ;
20208 wxPoint temp2 ;
20209 PyObject * obj0 = 0 ;
20210 PyObject * obj1 = 0 ;
20211 char *kwnames[] = {
20212 (char *) "self",(char *) "pt", NULL
20213 };
20214
20215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20218 {
20219 arg2 = &temp2;
20220 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20221 }
20222 {
20223 PyThreadState* __tstate = wxPyBeginAllowThreads();
20224 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
20225
20226 wxPyEndAllowThreads(__tstate);
20227 if (PyErr_Occurred()) SWIG_fail;
20228 }
20229 Py_INCREF(Py_None); resultobj = Py_None;
20230 return resultobj;
20231 fail:
20232 return NULL;
20233 }
20234
20235
20236 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
20237 PyObject *resultobj;
20238 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20239 int arg2 ;
20240 PyObject * obj0 = 0 ;
20241 PyObject * obj1 = 0 ;
20242 char *kwnames[] = {
20243 (char *) "self",(char *) "id", NULL
20244 };
20245
20246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
20247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20249 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
20250 if (PyErr_Occurred()) SWIG_fail;
20251 {
20252 PyThreadState* __tstate = wxPyBeginAllowThreads();
20253 (arg1)->SetPaperId((wxPaperSize )arg2);
20254
20255 wxPyEndAllowThreads(__tstate);
20256 if (PyErr_Occurred()) SWIG_fail;
20257 }
20258 Py_INCREF(Py_None); resultobj = Py_None;
20259 return resultobj;
20260 fail:
20261 return NULL;
20262 }
20263
20264
20265 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20266 PyObject *resultobj;
20267 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20268 wxSize *arg2 = 0 ;
20269 wxSize temp2 ;
20270 PyObject * obj0 = 0 ;
20271 PyObject * obj1 = 0 ;
20272 char *kwnames[] = {
20273 (char *) "self",(char *) "size", NULL
20274 };
20275
20276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
20277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20279 {
20280 arg2 = &temp2;
20281 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20282 }
20283 {
20284 PyThreadState* __tstate = wxPyBeginAllowThreads();
20285 (arg1)->SetPaperSize((wxSize const &)*arg2);
20286
20287 wxPyEndAllowThreads(__tstate);
20288 if (PyErr_Occurred()) SWIG_fail;
20289 }
20290 Py_INCREF(Py_None); resultobj = Py_None;
20291 return resultobj;
20292 fail:
20293 return NULL;
20294 }
20295
20296
20297 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
20298 PyObject *resultobj;
20299 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20300 wxPrintData *arg2 = 0 ;
20301 PyObject * obj0 = 0 ;
20302 PyObject * obj1 = 0 ;
20303 char *kwnames[] = {
20304 (char *) "self",(char *) "printData", NULL
20305 };
20306
20307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
20308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20310 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20311 SWIG_POINTER_EXCEPTION | 0)) == -1)
20312 SWIG_fail;
20313 if (arg2 == NULL) {
20314 PyErr_SetString(PyExc_TypeError,"null reference");
20315 SWIG_fail;
20316 }
20317 {
20318 PyThreadState* __tstate = wxPyBeginAllowThreads();
20319 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20320
20321 wxPyEndAllowThreads(__tstate);
20322 if (PyErr_Occurred()) SWIG_fail;
20323 }
20324 Py_INCREF(Py_None); resultobj = Py_None;
20325 return resultobj;
20326 fail:
20327 return NULL;
20328 }
20329
20330
20331 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
20332 PyObject *obj;
20333 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20334 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
20335 Py_INCREF(obj);
20336 return Py_BuildValue((char *)"");
20337 }
20338 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20339 PyObject *resultobj;
20340 wxWindow *arg1 = (wxWindow *) 0 ;
20341 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
20342 wxPageSetupDialog *result;
20343 PyObject * obj0 = 0 ;
20344 PyObject * obj1 = 0 ;
20345 char *kwnames[] = {
20346 (char *) "parent",(char *) "data", NULL
20347 };
20348
20349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20352 if (obj1) {
20353 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
20354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20355 }
20356 {
20357 if (!wxPyCheckForApp()) SWIG_fail;
20358 PyThreadState* __tstate = wxPyBeginAllowThreads();
20359 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
20360
20361 wxPyEndAllowThreads(__tstate);
20362 if (PyErr_Occurred()) SWIG_fail;
20363 }
20364 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
20365 return resultobj;
20366 fail:
20367 return NULL;
20368 }
20369
20370
20371 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
20372 PyObject *resultobj;
20373 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20374 wxPageSetupDialogData *result;
20375 PyObject * obj0 = 0 ;
20376 char *kwnames[] = {
20377 (char *) "self", NULL
20378 };
20379
20380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
20381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20383 {
20384 PyThreadState* __tstate = wxPyBeginAllowThreads();
20385 {
20386 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
20387 result = (wxPageSetupDialogData *) &_result_ref;
20388 }
20389
20390 wxPyEndAllowThreads(__tstate);
20391 if (PyErr_Occurred()) SWIG_fail;
20392 }
20393 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
20394 return resultobj;
20395 fail:
20396 return NULL;
20397 }
20398
20399
20400 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
20401 PyObject *resultobj;
20402 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20403 int result;
20404 PyObject * obj0 = 0 ;
20405 char *kwnames[] = {
20406 (char *) "self", NULL
20407 };
20408
20409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
20410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20412 {
20413 PyThreadState* __tstate = wxPyBeginAllowThreads();
20414 result = (int)(arg1)->ShowModal();
20415
20416 wxPyEndAllowThreads(__tstate);
20417 if (PyErr_Occurred()) SWIG_fail;
20418 }
20419 resultobj = SWIG_FromInt((int)result);
20420 return resultobj;
20421 fail:
20422 return NULL;
20423 }
20424
20425
20426 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
20427 PyObject *obj;
20428 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20429 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
20430 Py_INCREF(obj);
20431 return Py_BuildValue((char *)"");
20432 }
20433 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *self, PyObject *args) {
20434 PyObject *resultobj;
20435 wxPrintDialogData *result;
20436
20437 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
20438 {
20439 PyThreadState* __tstate = wxPyBeginAllowThreads();
20440 result = (wxPrintDialogData *)new wxPrintDialogData();
20441
20442 wxPyEndAllowThreads(__tstate);
20443 if (PyErr_Occurred()) SWIG_fail;
20444 }
20445 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20446 return resultobj;
20447 fail:
20448 return NULL;
20449 }
20450
20451
20452 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *self, PyObject *args) {
20453 PyObject *resultobj;
20454 wxPrintData *arg1 = 0 ;
20455 wxPrintDialogData *result;
20456 PyObject * obj0 = 0 ;
20457
20458 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
20459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
20460 SWIG_POINTER_EXCEPTION | 0)) == -1)
20461 SWIG_fail;
20462 if (arg1 == NULL) {
20463 PyErr_SetString(PyExc_TypeError,"null reference");
20464 SWIG_fail;
20465 }
20466 {
20467 PyThreadState* __tstate = wxPyBeginAllowThreads();
20468 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
20469
20470 wxPyEndAllowThreads(__tstate);
20471 if (PyErr_Occurred()) SWIG_fail;
20472 }
20473 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20474 return resultobj;
20475 fail:
20476 return NULL;
20477 }
20478
20479
20480 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
20481 int argc;
20482 PyObject *argv[2];
20483 int ii;
20484
20485 argc = PyObject_Length(args);
20486 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20487 argv[ii] = PyTuple_GetItem(args,ii);
20488 }
20489 if (argc == 0) {
20490 return _wrap_new_PrintDialogData__SWIG_0(self,args);
20491 }
20492 if (argc == 1) {
20493 int _v;
20494 {
20495 void *ptr;
20496 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20497 _v = 0;
20498 PyErr_Clear();
20499 } else {
20500 _v = 1;
20501 }
20502 }
20503 if (_v) {
20504 return _wrap_new_PrintDialogData__SWIG_1(self,args);
20505 }
20506 }
20507
20508 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
20509 return NULL;
20510 }
20511
20512
20513 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20514 PyObject *resultobj;
20515 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20516 PyObject * obj0 = 0 ;
20517 char *kwnames[] = {
20518 (char *) "self", NULL
20519 };
20520
20521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
20522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20524 {
20525 PyThreadState* __tstate = wxPyBeginAllowThreads();
20526 delete arg1;
20527
20528 wxPyEndAllowThreads(__tstate);
20529 if (PyErr_Occurred()) SWIG_fail;
20530 }
20531 Py_INCREF(Py_None); resultobj = Py_None;
20532 return resultobj;
20533 fail:
20534 return NULL;
20535 }
20536
20537
20538 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20539 PyObject *resultobj;
20540 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20541 int result;
20542 PyObject * obj0 = 0 ;
20543 char *kwnames[] = {
20544 (char *) "self", NULL
20545 };
20546
20547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
20548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20550 {
20551 PyThreadState* __tstate = wxPyBeginAllowThreads();
20552 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
20553
20554 wxPyEndAllowThreads(__tstate);
20555 if (PyErr_Occurred()) SWIG_fail;
20556 }
20557 resultobj = SWIG_FromInt((int)result);
20558 return resultobj;
20559 fail:
20560 return NULL;
20561 }
20562
20563
20564 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20565 PyObject *resultobj;
20566 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20567 int result;
20568 PyObject * obj0 = 0 ;
20569 char *kwnames[] = {
20570 (char *) "self", NULL
20571 };
20572
20573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
20574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20576 {
20577 PyThreadState* __tstate = wxPyBeginAllowThreads();
20578 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
20579
20580 wxPyEndAllowThreads(__tstate);
20581 if (PyErr_Occurred()) SWIG_fail;
20582 }
20583 resultobj = SWIG_FromInt((int)result);
20584 return resultobj;
20585 fail:
20586 return NULL;
20587 }
20588
20589
20590 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20591 PyObject *resultobj;
20592 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20593 int result;
20594 PyObject * obj0 = 0 ;
20595 char *kwnames[] = {
20596 (char *) "self", NULL
20597 };
20598
20599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
20600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20602 {
20603 PyThreadState* __tstate = wxPyBeginAllowThreads();
20604 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
20605
20606 wxPyEndAllowThreads(__tstate);
20607 if (PyErr_Occurred()) SWIG_fail;
20608 }
20609 resultobj = SWIG_FromInt((int)result);
20610 return resultobj;
20611 fail:
20612 return NULL;
20613 }
20614
20615
20616 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20617 PyObject *resultobj;
20618 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20619 int result;
20620 PyObject * obj0 = 0 ;
20621 char *kwnames[] = {
20622 (char *) "self", NULL
20623 };
20624
20625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
20626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20628 {
20629 PyThreadState* __tstate = wxPyBeginAllowThreads();
20630 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
20631
20632 wxPyEndAllowThreads(__tstate);
20633 if (PyErr_Occurred()) SWIG_fail;
20634 }
20635 resultobj = SWIG_FromInt((int)result);
20636 return resultobj;
20637 fail:
20638 return NULL;
20639 }
20640
20641
20642 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20643 PyObject *resultobj;
20644 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20645 int result;
20646 PyObject * obj0 = 0 ;
20647 char *kwnames[] = {
20648 (char *) "self", NULL
20649 };
20650
20651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
20652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20654 {
20655 PyThreadState* __tstate = wxPyBeginAllowThreads();
20656 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
20657
20658 wxPyEndAllowThreads(__tstate);
20659 if (PyErr_Occurred()) SWIG_fail;
20660 }
20661 resultobj = SWIG_FromInt((int)result);
20662 return resultobj;
20663 fail:
20664 return NULL;
20665 }
20666
20667
20668 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20669 PyObject *resultobj;
20670 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20671 bool result;
20672 PyObject * obj0 = 0 ;
20673 char *kwnames[] = {
20674 (char *) "self", NULL
20675 };
20676
20677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
20678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20680 {
20681 PyThreadState* __tstate = wxPyBeginAllowThreads();
20682 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
20683
20684 wxPyEndAllowThreads(__tstate);
20685 if (PyErr_Occurred()) SWIG_fail;
20686 }
20687 {
20688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20689 }
20690 return resultobj;
20691 fail:
20692 return NULL;
20693 }
20694
20695
20696 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20697 PyObject *resultobj;
20698 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20699 bool result;
20700 PyObject * obj0 = 0 ;
20701 char *kwnames[] = {
20702 (char *) "self", NULL
20703 };
20704
20705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
20706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20708 {
20709 PyThreadState* __tstate = wxPyBeginAllowThreads();
20710 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
20711
20712 wxPyEndAllowThreads(__tstate);
20713 if (PyErr_Occurred()) SWIG_fail;
20714 }
20715 {
20716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20717 }
20718 return resultobj;
20719 fail:
20720 return NULL;
20721 }
20722
20723
20724 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20725 PyObject *resultobj;
20726 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20727 bool result;
20728 PyObject * obj0 = 0 ;
20729 char *kwnames[] = {
20730 (char *) "self", NULL
20731 };
20732
20733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
20734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20736 {
20737 PyThreadState* __tstate = wxPyBeginAllowThreads();
20738 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
20739
20740 wxPyEndAllowThreads(__tstate);
20741 if (PyErr_Occurred()) SWIG_fail;
20742 }
20743 {
20744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20745 }
20746 return resultobj;
20747 fail:
20748 return NULL;
20749 }
20750
20751
20752 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20753 PyObject *resultobj;
20754 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20755 bool result;
20756 PyObject * obj0 = 0 ;
20757 char *kwnames[] = {
20758 (char *) "self", NULL
20759 };
20760
20761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
20762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20764 {
20765 PyThreadState* __tstate = wxPyBeginAllowThreads();
20766 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
20767
20768 wxPyEndAllowThreads(__tstate);
20769 if (PyErr_Occurred()) SWIG_fail;
20770 }
20771 {
20772 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20773 }
20774 return resultobj;
20775 fail:
20776 return NULL;
20777 }
20778
20779
20780 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20781 PyObject *resultobj;
20782 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20783 bool result;
20784 PyObject * obj0 = 0 ;
20785 char *kwnames[] = {
20786 (char *) "self", NULL
20787 };
20788
20789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
20790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20792 {
20793 PyThreadState* __tstate = wxPyBeginAllowThreads();
20794 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
20795
20796 wxPyEndAllowThreads(__tstate);
20797 if (PyErr_Occurred()) SWIG_fail;
20798 }
20799 {
20800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20801 }
20802 return resultobj;
20803 fail:
20804 return NULL;
20805 }
20806
20807
20808 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20809 PyObject *resultobj;
20810 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20811 int arg2 ;
20812 PyObject * obj0 = 0 ;
20813 PyObject * obj1 = 0 ;
20814 char *kwnames[] = {
20815 (char *) "self",(char *) "v", NULL
20816 };
20817
20818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
20819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20821 arg2 = (int) SWIG_AsInt(obj1);
20822 if (PyErr_Occurred()) SWIG_fail;
20823 {
20824 PyThreadState* __tstate = wxPyBeginAllowThreads();
20825 (arg1)->SetFromPage(arg2);
20826
20827 wxPyEndAllowThreads(__tstate);
20828 if (PyErr_Occurred()) SWIG_fail;
20829 }
20830 Py_INCREF(Py_None); resultobj = Py_None;
20831 return resultobj;
20832 fail:
20833 return NULL;
20834 }
20835
20836
20837 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20838 PyObject *resultobj;
20839 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20840 int arg2 ;
20841 PyObject * obj0 = 0 ;
20842 PyObject * obj1 = 0 ;
20843 char *kwnames[] = {
20844 (char *) "self",(char *) "v", NULL
20845 };
20846
20847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
20848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20850 arg2 = (int) SWIG_AsInt(obj1);
20851 if (PyErr_Occurred()) SWIG_fail;
20852 {
20853 PyThreadState* __tstate = wxPyBeginAllowThreads();
20854 (arg1)->SetToPage(arg2);
20855
20856 wxPyEndAllowThreads(__tstate);
20857 if (PyErr_Occurred()) SWIG_fail;
20858 }
20859 Py_INCREF(Py_None); resultobj = Py_None;
20860 return resultobj;
20861 fail:
20862 return NULL;
20863 }
20864
20865
20866 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20867 PyObject *resultobj;
20868 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20869 int arg2 ;
20870 PyObject * obj0 = 0 ;
20871 PyObject * obj1 = 0 ;
20872 char *kwnames[] = {
20873 (char *) "self",(char *) "v", NULL
20874 };
20875
20876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
20877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20879 arg2 = (int) SWIG_AsInt(obj1);
20880 if (PyErr_Occurred()) SWIG_fail;
20881 {
20882 PyThreadState* __tstate = wxPyBeginAllowThreads();
20883 (arg1)->SetMinPage(arg2);
20884
20885 wxPyEndAllowThreads(__tstate);
20886 if (PyErr_Occurred()) SWIG_fail;
20887 }
20888 Py_INCREF(Py_None); resultobj = Py_None;
20889 return resultobj;
20890 fail:
20891 return NULL;
20892 }
20893
20894
20895 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20896 PyObject *resultobj;
20897 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20898 int arg2 ;
20899 PyObject * obj0 = 0 ;
20900 PyObject * obj1 = 0 ;
20901 char *kwnames[] = {
20902 (char *) "self",(char *) "v", NULL
20903 };
20904
20905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
20906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20908 arg2 = (int) SWIG_AsInt(obj1);
20909 if (PyErr_Occurred()) SWIG_fail;
20910 {
20911 PyThreadState* __tstate = wxPyBeginAllowThreads();
20912 (arg1)->SetMaxPage(arg2);
20913
20914 wxPyEndAllowThreads(__tstate);
20915 if (PyErr_Occurred()) SWIG_fail;
20916 }
20917 Py_INCREF(Py_None); resultobj = Py_None;
20918 return resultobj;
20919 fail:
20920 return NULL;
20921 }
20922
20923
20924 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20925 PyObject *resultobj;
20926 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20927 int arg2 ;
20928 PyObject * obj0 = 0 ;
20929 PyObject * obj1 = 0 ;
20930 char *kwnames[] = {
20931 (char *) "self",(char *) "v", NULL
20932 };
20933
20934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
20935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20937 arg2 = (int) SWIG_AsInt(obj1);
20938 if (PyErr_Occurred()) SWIG_fail;
20939 {
20940 PyThreadState* __tstate = wxPyBeginAllowThreads();
20941 (arg1)->SetNoCopies(arg2);
20942
20943 wxPyEndAllowThreads(__tstate);
20944 if (PyErr_Occurred()) SWIG_fail;
20945 }
20946 Py_INCREF(Py_None); resultobj = Py_None;
20947 return resultobj;
20948 fail:
20949 return NULL;
20950 }
20951
20952
20953 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20954 PyObject *resultobj;
20955 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20956 bool arg2 ;
20957 PyObject * obj0 = 0 ;
20958 PyObject * obj1 = 0 ;
20959 char *kwnames[] = {
20960 (char *) "self",(char *) "flag", NULL
20961 };
20962
20963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
20964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20966 arg2 = (bool) SWIG_AsBool(obj1);
20967 if (PyErr_Occurred()) SWIG_fail;
20968 {
20969 PyThreadState* __tstate = wxPyBeginAllowThreads();
20970 (arg1)->SetAllPages(arg2);
20971
20972 wxPyEndAllowThreads(__tstate);
20973 if (PyErr_Occurred()) SWIG_fail;
20974 }
20975 Py_INCREF(Py_None); resultobj = Py_None;
20976 return resultobj;
20977 fail:
20978 return NULL;
20979 }
20980
20981
20982 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20983 PyObject *resultobj;
20984 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20985 bool arg2 ;
20986 PyObject * obj0 = 0 ;
20987 PyObject * obj1 = 0 ;
20988 char *kwnames[] = {
20989 (char *) "self",(char *) "flag", NULL
20990 };
20991
20992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
20993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20995 arg2 = (bool) SWIG_AsBool(obj1);
20996 if (PyErr_Occurred()) SWIG_fail;
20997 {
20998 PyThreadState* __tstate = wxPyBeginAllowThreads();
20999 (arg1)->SetSelection(arg2);
21000
21001 wxPyEndAllowThreads(__tstate);
21002 if (PyErr_Occurred()) SWIG_fail;
21003 }
21004 Py_INCREF(Py_None); resultobj = Py_None;
21005 return resultobj;
21006 fail:
21007 return NULL;
21008 }
21009
21010
21011 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
21012 PyObject *resultobj;
21013 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21014 bool arg2 ;
21015 PyObject * obj0 = 0 ;
21016 PyObject * obj1 = 0 ;
21017 char *kwnames[] = {
21018 (char *) "self",(char *) "flag", NULL
21019 };
21020
21021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
21022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21024 arg2 = (bool) SWIG_AsBool(obj1);
21025 if (PyErr_Occurred()) SWIG_fail;
21026 {
21027 PyThreadState* __tstate = wxPyBeginAllowThreads();
21028 (arg1)->SetCollate(arg2);
21029
21030 wxPyEndAllowThreads(__tstate);
21031 if (PyErr_Occurred()) SWIG_fail;
21032 }
21033 Py_INCREF(Py_None); resultobj = Py_None;
21034 return resultobj;
21035 fail:
21036 return NULL;
21037 }
21038
21039
21040 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
21041 PyObject *resultobj;
21042 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21043 bool arg2 ;
21044 PyObject * obj0 = 0 ;
21045 PyObject * obj1 = 0 ;
21046 char *kwnames[] = {
21047 (char *) "self",(char *) "flag", NULL
21048 };
21049
21050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
21051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21053 arg2 = (bool) SWIG_AsBool(obj1);
21054 if (PyErr_Occurred()) SWIG_fail;
21055 {
21056 PyThreadState* __tstate = wxPyBeginAllowThreads();
21057 (arg1)->SetPrintToFile(arg2);
21058
21059 wxPyEndAllowThreads(__tstate);
21060 if (PyErr_Occurred()) SWIG_fail;
21061 }
21062 Py_INCREF(Py_None); resultobj = Py_None;
21063 return resultobj;
21064 fail:
21065 return NULL;
21066 }
21067
21068
21069 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21070 PyObject *resultobj;
21071 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21072 bool arg2 ;
21073 PyObject * obj0 = 0 ;
21074 PyObject * obj1 = 0 ;
21075 char *kwnames[] = {
21076 (char *) "self",(char *) "flag", NULL
21077 };
21078
21079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
21080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21082 arg2 = (bool) SWIG_AsBool(obj1);
21083 if (PyErr_Occurred()) SWIG_fail;
21084 {
21085 PyThreadState* __tstate = wxPyBeginAllowThreads();
21086 (arg1)->SetSetupDialog(arg2);
21087
21088 wxPyEndAllowThreads(__tstate);
21089 if (PyErr_Occurred()) SWIG_fail;
21090 }
21091 Py_INCREF(Py_None); resultobj = Py_None;
21092 return resultobj;
21093 fail:
21094 return NULL;
21095 }
21096
21097
21098 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
21099 PyObject *resultobj;
21100 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21101 bool arg2 ;
21102 PyObject * obj0 = 0 ;
21103 PyObject * obj1 = 0 ;
21104 char *kwnames[] = {
21105 (char *) "self",(char *) "flag", NULL
21106 };
21107
21108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
21109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21111 arg2 = (bool) SWIG_AsBool(obj1);
21112 if (PyErr_Occurred()) SWIG_fail;
21113 {
21114 PyThreadState* __tstate = wxPyBeginAllowThreads();
21115 (arg1)->EnablePrintToFile(arg2);
21116
21117 wxPyEndAllowThreads(__tstate);
21118 if (PyErr_Occurred()) SWIG_fail;
21119 }
21120 Py_INCREF(Py_None); resultobj = Py_None;
21121 return resultobj;
21122 fail:
21123 return NULL;
21124 }
21125
21126
21127 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
21128 PyObject *resultobj;
21129 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21130 bool arg2 ;
21131 PyObject * obj0 = 0 ;
21132 PyObject * obj1 = 0 ;
21133 char *kwnames[] = {
21134 (char *) "self",(char *) "flag", NULL
21135 };
21136
21137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
21138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21140 arg2 = (bool) SWIG_AsBool(obj1);
21141 if (PyErr_Occurred()) SWIG_fail;
21142 {
21143 PyThreadState* __tstate = wxPyBeginAllowThreads();
21144 (arg1)->EnableSelection(arg2);
21145
21146 wxPyEndAllowThreads(__tstate);
21147 if (PyErr_Occurred()) SWIG_fail;
21148 }
21149 Py_INCREF(Py_None); resultobj = Py_None;
21150 return resultobj;
21151 fail:
21152 return NULL;
21153 }
21154
21155
21156 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
21157 PyObject *resultobj;
21158 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21159 bool arg2 ;
21160 PyObject * obj0 = 0 ;
21161 PyObject * obj1 = 0 ;
21162 char *kwnames[] = {
21163 (char *) "self",(char *) "flag", NULL
21164 };
21165
21166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
21167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21169 arg2 = (bool) SWIG_AsBool(obj1);
21170 if (PyErr_Occurred()) SWIG_fail;
21171 {
21172 PyThreadState* __tstate = wxPyBeginAllowThreads();
21173 (arg1)->EnablePageNumbers(arg2);
21174
21175 wxPyEndAllowThreads(__tstate);
21176 if (PyErr_Occurred()) SWIG_fail;
21177 }
21178 Py_INCREF(Py_None); resultobj = Py_None;
21179 return resultobj;
21180 fail:
21181 return NULL;
21182 }
21183
21184
21185 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
21186 PyObject *resultobj;
21187 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21188 bool arg2 ;
21189 PyObject * obj0 = 0 ;
21190 PyObject * obj1 = 0 ;
21191 char *kwnames[] = {
21192 (char *) "self",(char *) "flag", NULL
21193 };
21194
21195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
21196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21198 arg2 = (bool) SWIG_AsBool(obj1);
21199 if (PyErr_Occurred()) SWIG_fail;
21200 {
21201 PyThreadState* __tstate = wxPyBeginAllowThreads();
21202 (arg1)->EnableHelp(arg2);
21203
21204 wxPyEndAllowThreads(__tstate);
21205 if (PyErr_Occurred()) SWIG_fail;
21206 }
21207 Py_INCREF(Py_None); resultobj = Py_None;
21208 return resultobj;
21209 fail:
21210 return NULL;
21211 }
21212
21213
21214 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
21215 PyObject *resultobj;
21216 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21217 bool result;
21218 PyObject * obj0 = 0 ;
21219 char *kwnames[] = {
21220 (char *) "self", NULL
21221 };
21222
21223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
21224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21226 {
21227 PyThreadState* __tstate = wxPyBeginAllowThreads();
21228 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
21229
21230 wxPyEndAllowThreads(__tstate);
21231 if (PyErr_Occurred()) SWIG_fail;
21232 }
21233 {
21234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21235 }
21236 return resultobj;
21237 fail:
21238 return NULL;
21239 }
21240
21241
21242 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
21243 PyObject *resultobj;
21244 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21245 bool result;
21246 PyObject * obj0 = 0 ;
21247 char *kwnames[] = {
21248 (char *) "self", NULL
21249 };
21250
21251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
21252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21254 {
21255 PyThreadState* __tstate = wxPyBeginAllowThreads();
21256 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
21257
21258 wxPyEndAllowThreads(__tstate);
21259 if (PyErr_Occurred()) SWIG_fail;
21260 }
21261 {
21262 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21263 }
21264 return resultobj;
21265 fail:
21266 return NULL;
21267 }
21268
21269
21270 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
21271 PyObject *resultobj;
21272 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21273 bool result;
21274 PyObject * obj0 = 0 ;
21275 char *kwnames[] = {
21276 (char *) "self", NULL
21277 };
21278
21279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
21280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21282 {
21283 PyThreadState* __tstate = wxPyBeginAllowThreads();
21284 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
21285
21286 wxPyEndAllowThreads(__tstate);
21287 if (PyErr_Occurred()) SWIG_fail;
21288 }
21289 {
21290 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21291 }
21292 return resultobj;
21293 fail:
21294 return NULL;
21295 }
21296
21297
21298 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
21299 PyObject *resultobj;
21300 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21301 bool result;
21302 PyObject * obj0 = 0 ;
21303 char *kwnames[] = {
21304 (char *) "self", NULL
21305 };
21306
21307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
21308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21310 {
21311 PyThreadState* __tstate = wxPyBeginAllowThreads();
21312 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
21313
21314 wxPyEndAllowThreads(__tstate);
21315 if (PyErr_Occurred()) SWIG_fail;
21316 }
21317 {
21318 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21319 }
21320 return resultobj;
21321 fail:
21322 return NULL;
21323 }
21324
21325
21326 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
21327 PyObject *resultobj;
21328 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21329 bool result;
21330 PyObject * obj0 = 0 ;
21331 char *kwnames[] = {
21332 (char *) "self", NULL
21333 };
21334
21335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
21336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21338 {
21339 PyThreadState* __tstate = wxPyBeginAllowThreads();
21340 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
21341
21342 wxPyEndAllowThreads(__tstate);
21343 if (PyErr_Occurred()) SWIG_fail;
21344 }
21345 {
21346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21347 }
21348 return resultobj;
21349 fail:
21350 return NULL;
21351 }
21352
21353
21354 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
21355 PyObject *resultobj;
21356 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21357 wxPrintData *result;
21358 PyObject * obj0 = 0 ;
21359 char *kwnames[] = {
21360 (char *) "self", NULL
21361 };
21362
21363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
21364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21366 {
21367 PyThreadState* __tstate = wxPyBeginAllowThreads();
21368 {
21369 wxPrintData &_result_ref = (arg1)->GetPrintData();
21370 result = (wxPrintData *) &_result_ref;
21371 }
21372
21373 wxPyEndAllowThreads(__tstate);
21374 if (PyErr_Occurred()) SWIG_fail;
21375 }
21376 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
21377 return resultobj;
21378 fail:
21379 return NULL;
21380 }
21381
21382
21383 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
21384 PyObject *resultobj;
21385 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21386 wxPrintData *arg2 = 0 ;
21387 PyObject * obj0 = 0 ;
21388 PyObject * obj1 = 0 ;
21389 char *kwnames[] = {
21390 (char *) "self",(char *) "printData", NULL
21391 };
21392
21393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
21394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21396 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
21397 SWIG_POINTER_EXCEPTION | 0)) == -1)
21398 SWIG_fail;
21399 if (arg2 == NULL) {
21400 PyErr_SetString(PyExc_TypeError,"null reference");
21401 SWIG_fail;
21402 }
21403 {
21404 PyThreadState* __tstate = wxPyBeginAllowThreads();
21405 (arg1)->SetPrintData((wxPrintData const &)*arg2);
21406
21407 wxPyEndAllowThreads(__tstate);
21408 if (PyErr_Occurred()) SWIG_fail;
21409 }
21410 Py_INCREF(Py_None); resultobj = Py_None;
21411 return resultobj;
21412 fail:
21413 return NULL;
21414 }
21415
21416
21417 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
21418 PyObject *obj;
21419 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21420 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
21421 Py_INCREF(obj);
21422 return Py_BuildValue((char *)"");
21423 }
21424 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21425 PyObject *resultobj;
21426 wxWindow *arg1 = (wxWindow *) 0 ;
21427 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
21428 wxPrintDialog *result;
21429 PyObject * obj0 = 0 ;
21430 PyObject * obj1 = 0 ;
21431 char *kwnames[] = {
21432 (char *) "parent",(char *) "data", NULL
21433 };
21434
21435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21438 if (obj1) {
21439 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
21440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21441 }
21442 {
21443 if (!wxPyCheckForApp()) SWIG_fail;
21444 PyThreadState* __tstate = wxPyBeginAllowThreads();
21445 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
21446
21447 wxPyEndAllowThreads(__tstate);
21448 if (PyErr_Occurred()) SWIG_fail;
21449 }
21450 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
21451 return resultobj;
21452 fail:
21453 return NULL;
21454 }
21455
21456
21457 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
21458 PyObject *resultobj;
21459 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21460 wxPrintDialogData *result;
21461 PyObject * obj0 = 0 ;
21462 char *kwnames[] = {
21463 (char *) "self", NULL
21464 };
21465
21466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
21467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21469 {
21470 PyThreadState* __tstate = wxPyBeginAllowThreads();
21471 {
21472 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21473 result = (wxPrintDialogData *) &_result_ref;
21474 }
21475
21476 wxPyEndAllowThreads(__tstate);
21477 if (PyErr_Occurred()) SWIG_fail;
21478 }
21479 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21480 return resultobj;
21481 fail:
21482 return NULL;
21483 }
21484
21485
21486 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21487 PyObject *resultobj;
21488 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21489 wxDC *result;
21490 PyObject * obj0 = 0 ;
21491 char *kwnames[] = {
21492 (char *) "self", NULL
21493 };
21494
21495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
21496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21498 {
21499 PyThreadState* __tstate = wxPyBeginAllowThreads();
21500 result = (wxDC *)(arg1)->GetPrintDC();
21501
21502 wxPyEndAllowThreads(__tstate);
21503 if (PyErr_Occurred()) SWIG_fail;
21504 }
21505 {
21506 resultobj = wxPyMake_wxObject(result);
21507 }
21508 return resultobj;
21509 fail:
21510 return NULL;
21511 }
21512
21513
21514 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
21515 PyObject *resultobj;
21516 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21517 int result;
21518 PyObject * obj0 = 0 ;
21519 char *kwnames[] = {
21520 (char *) "self", NULL
21521 };
21522
21523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
21524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21526 {
21527 PyThreadState* __tstate = wxPyBeginAllowThreads();
21528 result = (int)(arg1)->ShowModal();
21529
21530 wxPyEndAllowThreads(__tstate);
21531 if (PyErr_Occurred()) SWIG_fail;
21532 }
21533 resultobj = SWIG_FromInt((int)result);
21534 return resultobj;
21535 fail:
21536 return NULL;
21537 }
21538
21539
21540 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
21541 PyObject *obj;
21542 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21543 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
21544 Py_INCREF(obj);
21545 return Py_BuildValue((char *)"");
21546 }
21547 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
21548 PyObject *resultobj;
21549 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
21550 wxPrinter *result;
21551 PyObject * obj0 = 0 ;
21552 char *kwnames[] = {
21553 (char *) "data", NULL
21554 };
21555
21556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
21557 if (obj0) {
21558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21560 }
21561 {
21562 if (!wxPyCheckForApp()) SWIG_fail;
21563 PyThreadState* __tstate = wxPyBeginAllowThreads();
21564 result = (wxPrinter *)new wxPrinter(arg1);
21565
21566 wxPyEndAllowThreads(__tstate);
21567 if (PyErr_Occurred()) SWIG_fail;
21568 }
21569 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
21570 return resultobj;
21571 fail:
21572 return NULL;
21573 }
21574
21575
21576 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
21577 PyObject *resultobj;
21578 wxPrinter *arg1 = (wxPrinter *) 0 ;
21579 PyObject * obj0 = 0 ;
21580 char *kwnames[] = {
21581 (char *) "self", NULL
21582 };
21583
21584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
21585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21587 {
21588 PyThreadState* __tstate = wxPyBeginAllowThreads();
21589 delete arg1;
21590
21591 wxPyEndAllowThreads(__tstate);
21592 if (PyErr_Occurred()) SWIG_fail;
21593 }
21594 Py_INCREF(Py_None); resultobj = Py_None;
21595 return resultobj;
21596 fail:
21597 return NULL;
21598 }
21599
21600
21601 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
21602 PyObject *resultobj;
21603 wxPrinter *arg1 = (wxPrinter *) 0 ;
21604 wxWindow *arg2 = (wxWindow *) 0 ;
21605 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21606 PyObject * obj0 = 0 ;
21607 PyObject * obj1 = 0 ;
21608 PyObject * obj2 = 0 ;
21609 char *kwnames[] = {
21610 (char *) "self",(char *) "parent",(char *) "printout", NULL
21611 };
21612
21613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
21614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21616 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21618 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21620 {
21621 PyThreadState* __tstate = wxPyBeginAllowThreads();
21622 (arg1)->CreateAbortWindow(arg2,arg3);
21623
21624 wxPyEndAllowThreads(__tstate);
21625 if (PyErr_Occurred()) SWIG_fail;
21626 }
21627 Py_INCREF(Py_None); resultobj = Py_None;
21628 return resultobj;
21629 fail:
21630 return NULL;
21631 }
21632
21633
21634 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
21635 PyObject *resultobj;
21636 wxPrinter *arg1 = (wxPrinter *) 0 ;
21637 wxPrintDialogData *result;
21638 PyObject * obj0 = 0 ;
21639 char *kwnames[] = {
21640 (char *) "self", NULL
21641 };
21642
21643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
21644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21646 {
21647 PyThreadState* __tstate = wxPyBeginAllowThreads();
21648 {
21649 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21650 result = (wxPrintDialogData *) &_result_ref;
21651 }
21652
21653 wxPyEndAllowThreads(__tstate);
21654 if (PyErr_Occurred()) SWIG_fail;
21655 }
21656 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21657 return resultobj;
21658 fail:
21659 return NULL;
21660 }
21661
21662
21663 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
21664 PyObject *resultobj;
21665 wxPrinter *arg1 = (wxPrinter *) 0 ;
21666 wxWindow *arg2 = (wxWindow *) 0 ;
21667 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21668 int arg4 = (int) True ;
21669 bool result;
21670 PyObject * obj0 = 0 ;
21671 PyObject * obj1 = 0 ;
21672 PyObject * obj2 = 0 ;
21673 PyObject * obj3 = 0 ;
21674 char *kwnames[] = {
21675 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21676 };
21677
21678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21681 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21683 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21685 if (obj3) {
21686 arg4 = (int) SWIG_AsInt(obj3);
21687 if (PyErr_Occurred()) SWIG_fail;
21688 }
21689 {
21690 PyThreadState* __tstate = wxPyBeginAllowThreads();
21691 result = (bool)(arg1)->Print(arg2,arg3,arg4);
21692
21693 wxPyEndAllowThreads(__tstate);
21694 if (PyErr_Occurred()) SWIG_fail;
21695 }
21696 {
21697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21698 }
21699 return resultobj;
21700 fail:
21701 return NULL;
21702 }
21703
21704
21705 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21706 PyObject *resultobj;
21707 wxPrinter *arg1 = (wxPrinter *) 0 ;
21708 wxWindow *arg2 = (wxWindow *) 0 ;
21709 wxDC *result;
21710 PyObject * obj0 = 0 ;
21711 PyObject * obj1 = 0 ;
21712 char *kwnames[] = {
21713 (char *) "self",(char *) "parent", NULL
21714 };
21715
21716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21719 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21721 {
21722 PyThreadState* __tstate = wxPyBeginAllowThreads();
21723 result = (wxDC *)(arg1)->PrintDialog(arg2);
21724
21725 wxPyEndAllowThreads(__tstate);
21726 if (PyErr_Occurred()) SWIG_fail;
21727 }
21728 {
21729 resultobj = wxPyMake_wxObject(result);
21730 }
21731 return resultobj;
21732 fail:
21733 return NULL;
21734 }
21735
21736
21737 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
21738 PyObject *resultobj;
21739 wxPrinter *arg1 = (wxPrinter *) 0 ;
21740 wxWindow *arg2 = (wxWindow *) 0 ;
21741 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21742 wxString *arg4 = 0 ;
21743 bool temp4 = False ;
21744 PyObject * obj0 = 0 ;
21745 PyObject * obj1 = 0 ;
21746 PyObject * obj2 = 0 ;
21747 PyObject * obj3 = 0 ;
21748 char *kwnames[] = {
21749 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21750 };
21751
21752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21755 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21757 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21759 {
21760 arg4 = wxString_in_helper(obj3);
21761 if (arg4 == NULL) SWIG_fail;
21762 temp4 = True;
21763 }
21764 {
21765 PyThreadState* __tstate = wxPyBeginAllowThreads();
21766 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
21767
21768 wxPyEndAllowThreads(__tstate);
21769 if (PyErr_Occurred()) SWIG_fail;
21770 }
21771 Py_INCREF(Py_None); resultobj = Py_None;
21772 {
21773 if (temp4)
21774 delete arg4;
21775 }
21776 return resultobj;
21777 fail:
21778 {
21779 if (temp4)
21780 delete arg4;
21781 }
21782 return NULL;
21783 }
21784
21785
21786 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
21787 PyObject *resultobj;
21788 wxPrinter *arg1 = (wxPrinter *) 0 ;
21789 wxWindow *arg2 = (wxWindow *) 0 ;
21790 bool result;
21791 PyObject * obj0 = 0 ;
21792 PyObject * obj1 = 0 ;
21793 char *kwnames[] = {
21794 (char *) "self",(char *) "parent", NULL
21795 };
21796
21797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
21798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21800 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21802 {
21803 PyThreadState* __tstate = wxPyBeginAllowThreads();
21804 result = (bool)(arg1)->Setup(arg2);
21805
21806 wxPyEndAllowThreads(__tstate);
21807 if (PyErr_Occurred()) SWIG_fail;
21808 }
21809 {
21810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21811 }
21812 return resultobj;
21813 fail:
21814 return NULL;
21815 }
21816
21817
21818 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
21819 PyObject *resultobj;
21820 wxPrinter *arg1 = (wxPrinter *) 0 ;
21821 bool result;
21822 PyObject * obj0 = 0 ;
21823 char *kwnames[] = {
21824 (char *) "self", NULL
21825 };
21826
21827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
21828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21830 {
21831 PyThreadState* __tstate = wxPyBeginAllowThreads();
21832 result = (bool)(arg1)->GetAbort();
21833
21834 wxPyEndAllowThreads(__tstate);
21835 if (PyErr_Occurred()) SWIG_fail;
21836 }
21837 {
21838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21839 }
21840 return resultobj;
21841 fail:
21842 return NULL;
21843 }
21844
21845
21846 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
21847 PyObject *resultobj;
21848 int result;
21849 char *kwnames[] = {
21850 NULL
21851 };
21852
21853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
21854 {
21855 PyThreadState* __tstate = wxPyBeginAllowThreads();
21856 result = (int)wxPrinter::GetLastError();
21857
21858 wxPyEndAllowThreads(__tstate);
21859 if (PyErr_Occurred()) SWIG_fail;
21860 }
21861 resultobj = SWIG_FromInt((int)result);
21862 return resultobj;
21863 fail:
21864 return NULL;
21865 }
21866
21867
21868 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
21869 PyObject *obj;
21870 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21871 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
21872 Py_INCREF(obj);
21873 return Py_BuildValue((char *)"");
21874 }
21875 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
21876 PyObject *resultobj;
21877 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
21878 wxString *arg1 = (wxString *) &arg1_defvalue ;
21879 wxPyPrintout *result;
21880 bool temp1 = False ;
21881 PyObject * obj0 = 0 ;
21882 char *kwnames[] = {
21883 (char *) "title", NULL
21884 };
21885
21886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
21887 if (obj0) {
21888 {
21889 arg1 = wxString_in_helper(obj0);
21890 if (arg1 == NULL) SWIG_fail;
21891 temp1 = True;
21892 }
21893 }
21894 {
21895 if (!wxPyCheckForApp()) SWIG_fail;
21896 PyThreadState* __tstate = wxPyBeginAllowThreads();
21897 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
21898
21899 wxPyEndAllowThreads(__tstate);
21900 if (PyErr_Occurred()) SWIG_fail;
21901 }
21902 {
21903 resultobj = wxPyMake_wxObject(result);
21904 }
21905 {
21906 if (temp1)
21907 delete arg1;
21908 }
21909 return resultobj;
21910 fail:
21911 {
21912 if (temp1)
21913 delete arg1;
21914 }
21915 return NULL;
21916 }
21917
21918
21919 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21920 PyObject *resultobj;
21921 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21922 PyObject *arg2 = (PyObject *) 0 ;
21923 PyObject *arg3 = (PyObject *) 0 ;
21924 PyObject * obj0 = 0 ;
21925 PyObject * obj1 = 0 ;
21926 PyObject * obj2 = 0 ;
21927 char *kwnames[] = {
21928 (char *) "self",(char *) "self",(char *) "_class", NULL
21929 };
21930
21931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21934 arg2 = obj1;
21935 arg3 = obj2;
21936 {
21937 PyThreadState* __tstate = wxPyBeginAllowThreads();
21938 (arg1)->_setCallbackInfo(arg2,arg3);
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_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21951 PyObject *resultobj;
21952 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21953 wxString result;
21954 PyObject * obj0 = 0 ;
21955 char *kwnames[] = {
21956 (char *) "self", NULL
21957 };
21958
21959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
21960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21962 {
21963 PyThreadState* __tstate = wxPyBeginAllowThreads();
21964 result = ((wxPyPrintout const *)arg1)->GetTitle();
21965
21966 wxPyEndAllowThreads(__tstate);
21967 if (PyErr_Occurred()) SWIG_fail;
21968 }
21969 {
21970 #if wxUSE_UNICODE
21971 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21972 #else
21973 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21974 #endif
21975 }
21976 return resultobj;
21977 fail:
21978 return NULL;
21979 }
21980
21981
21982 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21983 PyObject *resultobj;
21984 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21985 wxDC *result;
21986 PyObject * obj0 = 0 ;
21987 char *kwnames[] = {
21988 (char *) "self", NULL
21989 };
21990
21991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
21992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21994 {
21995 PyThreadState* __tstate = wxPyBeginAllowThreads();
21996 result = (wxDC *)(arg1)->GetDC();
21997
21998 wxPyEndAllowThreads(__tstate);
21999 if (PyErr_Occurred()) SWIG_fail;
22000 }
22001 {
22002 resultobj = wxPyMake_wxObject(result);
22003 }
22004 return resultobj;
22005 fail:
22006 return NULL;
22007 }
22008
22009
22010 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
22011 PyObject *resultobj;
22012 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22013 wxDC *arg2 = (wxDC *) 0 ;
22014 PyObject * obj0 = 0 ;
22015 PyObject * obj1 = 0 ;
22016 char *kwnames[] = {
22017 (char *) "self",(char *) "dc", NULL
22018 };
22019
22020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
22021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22023 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22025 {
22026 PyThreadState* __tstate = wxPyBeginAllowThreads();
22027 (arg1)->SetDC(arg2);
22028
22029 wxPyEndAllowThreads(__tstate);
22030 if (PyErr_Occurred()) SWIG_fail;
22031 }
22032 Py_INCREF(Py_None); resultobj = Py_None;
22033 return resultobj;
22034 fail:
22035 return NULL;
22036 }
22037
22038
22039 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
22040 PyObject *resultobj;
22041 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22042 int arg2 ;
22043 int arg3 ;
22044 PyObject * obj0 = 0 ;
22045 PyObject * obj1 = 0 ;
22046 PyObject * obj2 = 0 ;
22047 char *kwnames[] = {
22048 (char *) "self",(char *) "w",(char *) "h", NULL
22049 };
22050
22051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
22052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22054 arg2 = (int) SWIG_AsInt(obj1);
22055 if (PyErr_Occurred()) SWIG_fail;
22056 arg3 = (int) SWIG_AsInt(obj2);
22057 if (PyErr_Occurred()) SWIG_fail;
22058 {
22059 PyThreadState* __tstate = wxPyBeginAllowThreads();
22060 (arg1)->SetPageSizePixels(arg2,arg3);
22061
22062 wxPyEndAllowThreads(__tstate);
22063 if (PyErr_Occurred()) SWIG_fail;
22064 }
22065 Py_INCREF(Py_None); resultobj = Py_None;
22066 return resultobj;
22067 fail:
22068 return NULL;
22069 }
22070
22071
22072 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
22073 PyObject *resultobj;
22074 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22075 int *arg2 = (int *) 0 ;
22076 int *arg3 = (int *) 0 ;
22077 int temp2 ;
22078 int temp3 ;
22079 PyObject * obj0 = 0 ;
22080 char *kwnames[] = {
22081 (char *) "self", NULL
22082 };
22083
22084 arg2 = &temp2;
22085 arg3 = &temp3;
22086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
22087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22089 {
22090 PyThreadState* __tstate = wxPyBeginAllowThreads();
22091 (arg1)->GetPageSizePixels(arg2,arg3);
22092
22093 wxPyEndAllowThreads(__tstate);
22094 if (PyErr_Occurred()) SWIG_fail;
22095 }
22096 Py_INCREF(Py_None); resultobj = Py_None;
22097 {
22098 PyObject *o = PyInt_FromLong((long) (*arg2));
22099 resultobj = t_output_helper(resultobj,o);
22100 }
22101 {
22102 PyObject *o = PyInt_FromLong((long) (*arg3));
22103 resultobj = t_output_helper(resultobj,o);
22104 }
22105 return resultobj;
22106 fail:
22107 return NULL;
22108 }
22109
22110
22111 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
22112 PyObject *resultobj;
22113 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22114 int arg2 ;
22115 int arg3 ;
22116 PyObject * obj0 = 0 ;
22117 PyObject * obj1 = 0 ;
22118 PyObject * obj2 = 0 ;
22119 char *kwnames[] = {
22120 (char *) "self",(char *) "w",(char *) "h", NULL
22121 };
22122
22123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
22124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22126 arg2 = (int) SWIG_AsInt(obj1);
22127 if (PyErr_Occurred()) SWIG_fail;
22128 arg3 = (int) SWIG_AsInt(obj2);
22129 if (PyErr_Occurred()) SWIG_fail;
22130 {
22131 PyThreadState* __tstate = wxPyBeginAllowThreads();
22132 (arg1)->SetPageSizeMM(arg2,arg3);
22133
22134 wxPyEndAllowThreads(__tstate);
22135 if (PyErr_Occurred()) SWIG_fail;
22136 }
22137 Py_INCREF(Py_None); resultobj = Py_None;
22138 return resultobj;
22139 fail:
22140 return NULL;
22141 }
22142
22143
22144 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
22145 PyObject *resultobj;
22146 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22147 int *arg2 = (int *) 0 ;
22148 int *arg3 = (int *) 0 ;
22149 int temp2 ;
22150 int temp3 ;
22151 PyObject * obj0 = 0 ;
22152 char *kwnames[] = {
22153 (char *) "self", NULL
22154 };
22155
22156 arg2 = &temp2;
22157 arg3 = &temp3;
22158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
22159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22161 {
22162 PyThreadState* __tstate = wxPyBeginAllowThreads();
22163 (arg1)->GetPageSizeMM(arg2,arg3);
22164
22165 wxPyEndAllowThreads(__tstate);
22166 if (PyErr_Occurred()) SWIG_fail;
22167 }
22168 Py_INCREF(Py_None); resultobj = Py_None;
22169 {
22170 PyObject *o = PyInt_FromLong((long) (*arg2));
22171 resultobj = t_output_helper(resultobj,o);
22172 }
22173 {
22174 PyObject *o = PyInt_FromLong((long) (*arg3));
22175 resultobj = t_output_helper(resultobj,o);
22176 }
22177 return resultobj;
22178 fail:
22179 return NULL;
22180 }
22181
22182
22183 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
22184 PyObject *resultobj;
22185 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22186 int arg2 ;
22187 int arg3 ;
22188 PyObject * obj0 = 0 ;
22189 PyObject * obj1 = 0 ;
22190 PyObject * obj2 = 0 ;
22191 char *kwnames[] = {
22192 (char *) "self",(char *) "x",(char *) "y", NULL
22193 };
22194
22195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
22196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22198 arg2 = (int) SWIG_AsInt(obj1);
22199 if (PyErr_Occurred()) SWIG_fail;
22200 arg3 = (int) SWIG_AsInt(obj2);
22201 if (PyErr_Occurred()) SWIG_fail;
22202 {
22203 PyThreadState* __tstate = wxPyBeginAllowThreads();
22204 (arg1)->SetPPIScreen(arg2,arg3);
22205
22206 wxPyEndAllowThreads(__tstate);
22207 if (PyErr_Occurred()) SWIG_fail;
22208 }
22209 Py_INCREF(Py_None); resultobj = Py_None;
22210 return resultobj;
22211 fail:
22212 return NULL;
22213 }
22214
22215
22216 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
22217 PyObject *resultobj;
22218 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22219 int *arg2 = (int *) 0 ;
22220 int *arg3 = (int *) 0 ;
22221 int temp2 ;
22222 int temp3 ;
22223 PyObject * obj0 = 0 ;
22224 char *kwnames[] = {
22225 (char *) "self", NULL
22226 };
22227
22228 arg2 = &temp2;
22229 arg3 = &temp3;
22230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
22231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22233 {
22234 PyThreadState* __tstate = wxPyBeginAllowThreads();
22235 (arg1)->GetPPIScreen(arg2,arg3);
22236
22237 wxPyEndAllowThreads(__tstate);
22238 if (PyErr_Occurred()) SWIG_fail;
22239 }
22240 Py_INCREF(Py_None); resultobj = Py_None;
22241 {
22242 PyObject *o = PyInt_FromLong((long) (*arg2));
22243 resultobj = t_output_helper(resultobj,o);
22244 }
22245 {
22246 PyObject *o = PyInt_FromLong((long) (*arg3));
22247 resultobj = t_output_helper(resultobj,o);
22248 }
22249 return resultobj;
22250 fail:
22251 return NULL;
22252 }
22253
22254
22255 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
22256 PyObject *resultobj;
22257 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22258 int arg2 ;
22259 int arg3 ;
22260 PyObject * obj0 = 0 ;
22261 PyObject * obj1 = 0 ;
22262 PyObject * obj2 = 0 ;
22263 char *kwnames[] = {
22264 (char *) "self",(char *) "x",(char *) "y", NULL
22265 };
22266
22267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
22268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22270 arg2 = (int) SWIG_AsInt(obj1);
22271 if (PyErr_Occurred()) SWIG_fail;
22272 arg3 = (int) SWIG_AsInt(obj2);
22273 if (PyErr_Occurred()) SWIG_fail;
22274 {
22275 PyThreadState* __tstate = wxPyBeginAllowThreads();
22276 (arg1)->SetPPIPrinter(arg2,arg3);
22277
22278 wxPyEndAllowThreads(__tstate);
22279 if (PyErr_Occurred()) SWIG_fail;
22280 }
22281 Py_INCREF(Py_None); resultobj = Py_None;
22282 return resultobj;
22283 fail:
22284 return NULL;
22285 }
22286
22287
22288 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
22289 PyObject *resultobj;
22290 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22291 int *arg2 = (int *) 0 ;
22292 int *arg3 = (int *) 0 ;
22293 int temp2 ;
22294 int temp3 ;
22295 PyObject * obj0 = 0 ;
22296 char *kwnames[] = {
22297 (char *) "self", NULL
22298 };
22299
22300 arg2 = &temp2;
22301 arg3 = &temp3;
22302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
22303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22305 {
22306 PyThreadState* __tstate = wxPyBeginAllowThreads();
22307 (arg1)->GetPPIPrinter(arg2,arg3);
22308
22309 wxPyEndAllowThreads(__tstate);
22310 if (PyErr_Occurred()) SWIG_fail;
22311 }
22312 Py_INCREF(Py_None); resultobj = Py_None;
22313 {
22314 PyObject *o = PyInt_FromLong((long) (*arg2));
22315 resultobj = t_output_helper(resultobj,o);
22316 }
22317 {
22318 PyObject *o = PyInt_FromLong((long) (*arg3));
22319 resultobj = t_output_helper(resultobj,o);
22320 }
22321 return resultobj;
22322 fail:
22323 return NULL;
22324 }
22325
22326
22327 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22328 PyObject *resultobj;
22329 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22330 bool result;
22331 PyObject * obj0 = 0 ;
22332 char *kwnames[] = {
22333 (char *) "self", NULL
22334 };
22335
22336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
22337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22339 {
22340 PyThreadState* __tstate = wxPyBeginAllowThreads();
22341 result = (bool)(arg1)->IsPreview();
22342
22343 wxPyEndAllowThreads(__tstate);
22344 if (PyErr_Occurred()) SWIG_fail;
22345 }
22346 {
22347 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22348 }
22349 return resultobj;
22350 fail:
22351 return NULL;
22352 }
22353
22354
22355 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22356 PyObject *resultobj;
22357 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22358 bool arg2 ;
22359 PyObject * obj0 = 0 ;
22360 PyObject * obj1 = 0 ;
22361 char *kwnames[] = {
22362 (char *) "self",(char *) "p", NULL
22363 };
22364
22365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
22366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22368 arg2 = (bool) SWIG_AsBool(obj1);
22369 if (PyErr_Occurred()) SWIG_fail;
22370 {
22371 PyThreadState* __tstate = wxPyBeginAllowThreads();
22372 (arg1)->SetIsPreview(arg2);
22373
22374 wxPyEndAllowThreads(__tstate);
22375 if (PyErr_Occurred()) SWIG_fail;
22376 }
22377 Py_INCREF(Py_None); resultobj = Py_None;
22378 return resultobj;
22379 fail:
22380 return NULL;
22381 }
22382
22383
22384 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
22385 PyObject *resultobj;
22386 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22387 int arg2 ;
22388 int arg3 ;
22389 bool result;
22390 PyObject * obj0 = 0 ;
22391 PyObject * obj1 = 0 ;
22392 PyObject * obj2 = 0 ;
22393 char *kwnames[] = {
22394 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22395 };
22396
22397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
22398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22400 arg2 = (int) SWIG_AsInt(obj1);
22401 if (PyErr_Occurred()) SWIG_fail;
22402 arg3 = (int) SWIG_AsInt(obj2);
22403 if (PyErr_Occurred()) SWIG_fail;
22404 {
22405 PyThreadState* __tstate = wxPyBeginAllowThreads();
22406 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
22407
22408 wxPyEndAllowThreads(__tstate);
22409 if (PyErr_Occurred()) SWIG_fail;
22410 }
22411 {
22412 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22413 }
22414 return resultobj;
22415 fail:
22416 return NULL;
22417 }
22418
22419
22420 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
22421 PyObject *resultobj;
22422 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22423 PyObject * obj0 = 0 ;
22424 char *kwnames[] = {
22425 (char *) "self", NULL
22426 };
22427
22428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
22429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22431 {
22432 PyThreadState* __tstate = wxPyBeginAllowThreads();
22433 (arg1)->base_OnEndDocument();
22434
22435 wxPyEndAllowThreads(__tstate);
22436 if (PyErr_Occurred()) SWIG_fail;
22437 }
22438 Py_INCREF(Py_None); resultobj = Py_None;
22439 return resultobj;
22440 fail:
22441 return NULL;
22442 }
22443
22444
22445 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22446 PyObject *resultobj;
22447 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22448 PyObject * obj0 = 0 ;
22449 char *kwnames[] = {
22450 (char *) "self", NULL
22451 };
22452
22453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
22454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22456 {
22457 PyThreadState* __tstate = wxPyBeginAllowThreads();
22458 (arg1)->base_OnBeginPrinting();
22459
22460 wxPyEndAllowThreads(__tstate);
22461 if (PyErr_Occurred()) SWIG_fail;
22462 }
22463 Py_INCREF(Py_None); resultobj = Py_None;
22464 return resultobj;
22465 fail:
22466 return NULL;
22467 }
22468
22469
22470 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22471 PyObject *resultobj;
22472 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22473 PyObject * obj0 = 0 ;
22474 char *kwnames[] = {
22475 (char *) "self", NULL
22476 };
22477
22478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
22479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22481 {
22482 PyThreadState* __tstate = wxPyBeginAllowThreads();
22483 (arg1)->base_OnEndPrinting();
22484
22485 wxPyEndAllowThreads(__tstate);
22486 if (PyErr_Occurred()) SWIG_fail;
22487 }
22488 Py_INCREF(Py_None); resultobj = Py_None;
22489 return resultobj;
22490 fail:
22491 return NULL;
22492 }
22493
22494
22495 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22496 PyObject *resultobj;
22497 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22498 PyObject * obj0 = 0 ;
22499 char *kwnames[] = {
22500 (char *) "self", NULL
22501 };
22502
22503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
22504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22506 {
22507 PyThreadState* __tstate = wxPyBeginAllowThreads();
22508 (arg1)->base_OnPreparePrinting();
22509
22510 wxPyEndAllowThreads(__tstate);
22511 if (PyErr_Occurred()) SWIG_fail;
22512 }
22513 Py_INCREF(Py_None); resultobj = Py_None;
22514 return resultobj;
22515 fail:
22516 return NULL;
22517 }
22518
22519
22520 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22521 PyObject *resultobj;
22522 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22523 int arg2 ;
22524 bool result;
22525 PyObject * obj0 = 0 ;
22526 PyObject * obj1 = 0 ;
22527 char *kwnames[] = {
22528 (char *) "self",(char *) "page", NULL
22529 };
22530
22531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
22532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22534 arg2 = (int) SWIG_AsInt(obj1);
22535 if (PyErr_Occurred()) SWIG_fail;
22536 {
22537 PyThreadState* __tstate = wxPyBeginAllowThreads();
22538 result = (bool)(arg1)->base_HasPage(arg2);
22539
22540 wxPyEndAllowThreads(__tstate);
22541 if (PyErr_Occurred()) SWIG_fail;
22542 }
22543 {
22544 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22545 }
22546 return resultobj;
22547 fail:
22548 return NULL;
22549 }
22550
22551
22552 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22553 PyObject *resultobj;
22554 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22555 int *arg2 = (int *) 0 ;
22556 int *arg3 = (int *) 0 ;
22557 int *arg4 = (int *) 0 ;
22558 int *arg5 = (int *) 0 ;
22559 int temp2 ;
22560 int temp3 ;
22561 int temp4 ;
22562 int temp5 ;
22563 PyObject * obj0 = 0 ;
22564 char *kwnames[] = {
22565 (char *) "self", NULL
22566 };
22567
22568 arg2 = &temp2;
22569 arg3 = &temp3;
22570 arg4 = &temp4;
22571 arg5 = &temp5;
22572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
22573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22575 {
22576 PyThreadState* __tstate = wxPyBeginAllowThreads();
22577 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
22578
22579 wxPyEndAllowThreads(__tstate);
22580 if (PyErr_Occurred()) SWIG_fail;
22581 }
22582 Py_INCREF(Py_None); resultobj = Py_None;
22583 {
22584 PyObject *o = PyInt_FromLong((long) (*arg2));
22585 resultobj = t_output_helper(resultobj,o);
22586 }
22587 {
22588 PyObject *o = PyInt_FromLong((long) (*arg3));
22589 resultobj = t_output_helper(resultobj,o);
22590 }
22591 {
22592 PyObject *o = PyInt_FromLong((long) (*arg4));
22593 resultobj = t_output_helper(resultobj,o);
22594 }
22595 {
22596 PyObject *o = PyInt_FromLong((long) (*arg5));
22597 resultobj = t_output_helper(resultobj,o);
22598 }
22599 return resultobj;
22600 fail:
22601 return NULL;
22602 }
22603
22604
22605 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
22606 PyObject *obj;
22607 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22608 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
22609 Py_INCREF(obj);
22610 return Py_BuildValue((char *)"");
22611 }
22612 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22613 PyObject *resultobj;
22614 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22615 wxWindow *arg2 = (wxWindow *) 0 ;
22616 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22617 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22618 wxSize const &arg4_defvalue = wxDefaultSize ;
22619 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22620 long arg5 = (long) 0 ;
22621 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
22622 wxString *arg6 = (wxString *) &arg6_defvalue ;
22623 wxPreviewCanvas *result;
22624 wxPoint temp3 ;
22625 wxSize temp4 ;
22626 bool temp6 = False ;
22627 PyObject * obj0 = 0 ;
22628 PyObject * obj1 = 0 ;
22629 PyObject * obj2 = 0 ;
22630 PyObject * obj3 = 0 ;
22631 PyObject * obj4 = 0 ;
22632 PyObject * obj5 = 0 ;
22633 char *kwnames[] = {
22634 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22635 };
22636
22637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22640 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22642 if (obj2) {
22643 {
22644 arg3 = &temp3;
22645 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22646 }
22647 }
22648 if (obj3) {
22649 {
22650 arg4 = &temp4;
22651 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22652 }
22653 }
22654 if (obj4) {
22655 arg5 = (long) SWIG_AsLong(obj4);
22656 if (PyErr_Occurred()) SWIG_fail;
22657 }
22658 if (obj5) {
22659 {
22660 arg6 = wxString_in_helper(obj5);
22661 if (arg6 == NULL) SWIG_fail;
22662 temp6 = True;
22663 }
22664 }
22665 {
22666 if (!wxPyCheckForApp()) SWIG_fail;
22667 PyThreadState* __tstate = wxPyBeginAllowThreads();
22668 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22669
22670 wxPyEndAllowThreads(__tstate);
22671 if (PyErr_Occurred()) SWIG_fail;
22672 }
22673 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
22674 {
22675 if (temp6)
22676 delete arg6;
22677 }
22678 return resultobj;
22679 fail:
22680 {
22681 if (temp6)
22682 delete arg6;
22683 }
22684 return NULL;
22685 }
22686
22687
22688 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
22689 PyObject *obj;
22690 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22691 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
22692 Py_INCREF(obj);
22693 return Py_BuildValue((char *)"");
22694 }
22695 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22696 PyObject *resultobj;
22697 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22698 wxFrame *arg2 = (wxFrame *) 0 ;
22699 wxString *arg3 = 0 ;
22700 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22701 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22702 wxSize const &arg5_defvalue = wxDefaultSize ;
22703 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22704 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
22705 wxString const &arg7_defvalue = wxPyFrameNameStr ;
22706 wxString *arg7 = (wxString *) &arg7_defvalue ;
22707 wxPreviewFrame *result;
22708 bool temp3 = False ;
22709 wxPoint temp4 ;
22710 wxSize temp5 ;
22711 bool temp7 = False ;
22712 PyObject * obj0 = 0 ;
22713 PyObject * obj1 = 0 ;
22714 PyObject * obj2 = 0 ;
22715 PyObject * obj3 = 0 ;
22716 PyObject * obj4 = 0 ;
22717 PyObject * obj5 = 0 ;
22718 PyObject * obj6 = 0 ;
22719 char *kwnames[] = {
22720 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22721 };
22722
22723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22726 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22728 {
22729 arg3 = wxString_in_helper(obj2);
22730 if (arg3 == NULL) SWIG_fail;
22731 temp3 = True;
22732 }
22733 if (obj3) {
22734 {
22735 arg4 = &temp4;
22736 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22737 }
22738 }
22739 if (obj4) {
22740 {
22741 arg5 = &temp5;
22742 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22743 }
22744 }
22745 if (obj5) {
22746 arg6 = (long) SWIG_AsLong(obj5);
22747 if (PyErr_Occurred()) SWIG_fail;
22748 }
22749 if (obj6) {
22750 {
22751 arg7 = wxString_in_helper(obj6);
22752 if (arg7 == NULL) SWIG_fail;
22753 temp7 = True;
22754 }
22755 }
22756 {
22757 if (!wxPyCheckForApp()) SWIG_fail;
22758 PyThreadState* __tstate = wxPyBeginAllowThreads();
22759 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22760
22761 wxPyEndAllowThreads(__tstate);
22762 if (PyErr_Occurred()) SWIG_fail;
22763 }
22764 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
22765 {
22766 if (temp3)
22767 delete arg3;
22768 }
22769 {
22770 if (temp7)
22771 delete arg7;
22772 }
22773 return resultobj;
22774 fail:
22775 {
22776 if (temp3)
22777 delete arg3;
22778 }
22779 {
22780 if (temp7)
22781 delete arg7;
22782 }
22783 return NULL;
22784 }
22785
22786
22787 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
22788 PyObject *resultobj;
22789 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22790 PyObject * obj0 = 0 ;
22791 char *kwnames[] = {
22792 (char *) "self", NULL
22793 };
22794
22795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
22796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22798 {
22799 PyThreadState* __tstate = wxPyBeginAllowThreads();
22800 (arg1)->Initialize();
22801
22802 wxPyEndAllowThreads(__tstate);
22803 if (PyErr_Occurred()) SWIG_fail;
22804 }
22805 Py_INCREF(Py_None); resultobj = Py_None;
22806 return resultobj;
22807 fail:
22808 return NULL;
22809 }
22810
22811
22812 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22813 PyObject *resultobj;
22814 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22815 PyObject * obj0 = 0 ;
22816 char *kwnames[] = {
22817 (char *) "self", NULL
22818 };
22819
22820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
22821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22823 {
22824 PyThreadState* __tstate = wxPyBeginAllowThreads();
22825 (arg1)->CreateControlBar();
22826
22827 wxPyEndAllowThreads(__tstate);
22828 if (PyErr_Occurred()) SWIG_fail;
22829 }
22830 Py_INCREF(Py_None); resultobj = Py_None;
22831 return resultobj;
22832 fail:
22833 return NULL;
22834 }
22835
22836
22837 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22838 PyObject *resultobj;
22839 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22840 PyObject * obj0 = 0 ;
22841 char *kwnames[] = {
22842 (char *) "self", NULL
22843 };
22844
22845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
22846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22848 {
22849 PyThreadState* __tstate = wxPyBeginAllowThreads();
22850 (arg1)->CreateCanvas();
22851
22852 wxPyEndAllowThreads(__tstate);
22853 if (PyErr_Occurred()) SWIG_fail;
22854 }
22855 Py_INCREF(Py_None); resultobj = Py_None;
22856 return resultobj;
22857 fail:
22858 return NULL;
22859 }
22860
22861
22862 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22863 PyObject *resultobj;
22864 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22865 wxPreviewControlBar *result;
22866 PyObject * obj0 = 0 ;
22867 char *kwnames[] = {
22868 (char *) "self", NULL
22869 };
22870
22871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
22872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22874 {
22875 PyThreadState* __tstate = wxPyBeginAllowThreads();
22876 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
22877
22878 wxPyEndAllowThreads(__tstate);
22879 if (PyErr_Occurred()) SWIG_fail;
22880 }
22881 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
22882 return resultobj;
22883 fail:
22884 return NULL;
22885 }
22886
22887
22888 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
22889 PyObject *obj;
22890 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22891 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
22892 Py_INCREF(obj);
22893 return Py_BuildValue((char *)"");
22894 }
22895 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22896 PyObject *resultobj;
22897 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22898 long arg2 ;
22899 wxWindow *arg3 = (wxWindow *) 0 ;
22900 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22901 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22902 wxSize const &arg5_defvalue = wxDefaultSize ;
22903 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22904 long arg6 = (long) wxTAB_TRAVERSAL ;
22905 wxString const &arg7_defvalue = wxPyPanelNameStr ;
22906 wxString *arg7 = (wxString *) &arg7_defvalue ;
22907 wxPreviewControlBar *result;
22908 wxPoint temp4 ;
22909 wxSize temp5 ;
22910 bool temp7 = False ;
22911 PyObject * obj0 = 0 ;
22912 PyObject * obj1 = 0 ;
22913 PyObject * obj2 = 0 ;
22914 PyObject * obj3 = 0 ;
22915 PyObject * obj4 = 0 ;
22916 PyObject * obj5 = 0 ;
22917 PyObject * obj6 = 0 ;
22918 char *kwnames[] = {
22919 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22920 };
22921
22922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22925 arg2 = (long) SWIG_AsLong(obj1);
22926 if (PyErr_Occurred()) SWIG_fail;
22927 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
22928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22929 if (obj3) {
22930 {
22931 arg4 = &temp4;
22932 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22933 }
22934 }
22935 if (obj4) {
22936 {
22937 arg5 = &temp5;
22938 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22939 }
22940 }
22941 if (obj5) {
22942 arg6 = (long) SWIG_AsLong(obj5);
22943 if (PyErr_Occurred()) SWIG_fail;
22944 }
22945 if (obj6) {
22946 {
22947 arg7 = wxString_in_helper(obj6);
22948 if (arg7 == NULL) SWIG_fail;
22949 temp7 = True;
22950 }
22951 }
22952 {
22953 if (!wxPyCheckForApp()) SWIG_fail;
22954 PyThreadState* __tstate = wxPyBeginAllowThreads();
22955 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22956
22957 wxPyEndAllowThreads(__tstate);
22958 if (PyErr_Occurred()) SWIG_fail;
22959 }
22960 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
22961 {
22962 if (temp7)
22963 delete arg7;
22964 }
22965 return resultobj;
22966 fail:
22967 {
22968 if (temp7)
22969 delete arg7;
22970 }
22971 return NULL;
22972 }
22973
22974
22975 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22976 PyObject *resultobj;
22977 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22978 int result;
22979 PyObject * obj0 = 0 ;
22980 char *kwnames[] = {
22981 (char *) "self", NULL
22982 };
22983
22984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
22985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22987 {
22988 PyThreadState* __tstate = wxPyBeginAllowThreads();
22989 result = (int)(arg1)->GetZoomControl();
22990
22991 wxPyEndAllowThreads(__tstate);
22992 if (PyErr_Occurred()) SWIG_fail;
22993 }
22994 resultobj = SWIG_FromInt((int)result);
22995 return resultobj;
22996 fail:
22997 return NULL;
22998 }
22999
23000
23001 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
23002 PyObject *resultobj;
23003 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23004 int arg2 ;
23005 PyObject * obj0 = 0 ;
23006 PyObject * obj1 = 0 ;
23007 char *kwnames[] = {
23008 (char *) "self",(char *) "zoom", NULL
23009 };
23010
23011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
23012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23014 arg2 = (int) SWIG_AsInt(obj1);
23015 if (PyErr_Occurred()) SWIG_fail;
23016 {
23017 PyThreadState* __tstate = wxPyBeginAllowThreads();
23018 (arg1)->SetZoomControl(arg2);
23019
23020 wxPyEndAllowThreads(__tstate);
23021 if (PyErr_Occurred()) SWIG_fail;
23022 }
23023 Py_INCREF(Py_None); resultobj = Py_None;
23024 return resultobj;
23025 fail:
23026 return NULL;
23027 }
23028
23029
23030 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
23031 PyObject *resultobj;
23032 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23033 wxPrintPreview *result;
23034 PyObject * obj0 = 0 ;
23035 char *kwnames[] = {
23036 (char *) "self", NULL
23037 };
23038
23039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
23040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23042 {
23043 PyThreadState* __tstate = wxPyBeginAllowThreads();
23044 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
23045
23046 wxPyEndAllowThreads(__tstate);
23047 if (PyErr_Occurred()) SWIG_fail;
23048 }
23049 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
23050 return resultobj;
23051 fail:
23052 return NULL;
23053 }
23054
23055
23056 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
23057 PyObject *resultobj;
23058 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23059 PyObject * obj0 = 0 ;
23060 char *kwnames[] = {
23061 (char *) "self", NULL
23062 };
23063
23064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
23065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23067 {
23068 PyThreadState* __tstate = wxPyBeginAllowThreads();
23069 (arg1)->OnNext();
23070
23071 wxPyEndAllowThreads(__tstate);
23072 if (PyErr_Occurred()) SWIG_fail;
23073 }
23074 Py_INCREF(Py_None); resultobj = Py_None;
23075 return resultobj;
23076 fail:
23077 return NULL;
23078 }
23079
23080
23081 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
23082 PyObject *resultobj;
23083 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23084 PyObject * obj0 = 0 ;
23085 char *kwnames[] = {
23086 (char *) "self", NULL
23087 };
23088
23089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
23090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23092 {
23093 PyThreadState* __tstate = wxPyBeginAllowThreads();
23094 (arg1)->OnPrevious();
23095
23096 wxPyEndAllowThreads(__tstate);
23097 if (PyErr_Occurred()) SWIG_fail;
23098 }
23099 Py_INCREF(Py_None); resultobj = Py_None;
23100 return resultobj;
23101 fail:
23102 return NULL;
23103 }
23104
23105
23106 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
23107 PyObject *resultobj;
23108 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23109 PyObject * obj0 = 0 ;
23110 char *kwnames[] = {
23111 (char *) "self", NULL
23112 };
23113
23114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
23115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23117 {
23118 PyThreadState* __tstate = wxPyBeginAllowThreads();
23119 (arg1)->OnFirst();
23120
23121 wxPyEndAllowThreads(__tstate);
23122 if (PyErr_Occurred()) SWIG_fail;
23123 }
23124 Py_INCREF(Py_None); resultobj = Py_None;
23125 return resultobj;
23126 fail:
23127 return NULL;
23128 }
23129
23130
23131 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
23132 PyObject *resultobj;
23133 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23134 PyObject * obj0 = 0 ;
23135 char *kwnames[] = {
23136 (char *) "self", NULL
23137 };
23138
23139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
23140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23142 {
23143 PyThreadState* __tstate = wxPyBeginAllowThreads();
23144 (arg1)->OnLast();
23145
23146 wxPyEndAllowThreads(__tstate);
23147 if (PyErr_Occurred()) SWIG_fail;
23148 }
23149 Py_INCREF(Py_None); resultobj = Py_None;
23150 return resultobj;
23151 fail:
23152 return NULL;
23153 }
23154
23155
23156 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
23157 PyObject *resultobj;
23158 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23159 PyObject * obj0 = 0 ;
23160 char *kwnames[] = {
23161 (char *) "self", NULL
23162 };
23163
23164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
23165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23167 {
23168 PyThreadState* __tstate = wxPyBeginAllowThreads();
23169 (arg1)->OnGoto();
23170
23171 wxPyEndAllowThreads(__tstate);
23172 if (PyErr_Occurred()) SWIG_fail;
23173 }
23174 Py_INCREF(Py_None); resultobj = Py_None;
23175 return resultobj;
23176 fail:
23177 return NULL;
23178 }
23179
23180
23181 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
23182 PyObject *obj;
23183 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23184 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
23185 Py_INCREF(obj);
23186 return Py_BuildValue((char *)"");
23187 }
23188 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *self, PyObject *args) {
23189 PyObject *resultobj;
23190 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23191 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23192 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23193 wxPrintPreview *result;
23194 PyObject * obj0 = 0 ;
23195 PyObject * obj1 = 0 ;
23196 PyObject * obj2 = 0 ;
23197
23198 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23201 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23203 if (obj2) {
23204 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23206 }
23207 {
23208 if (!wxPyCheckForApp()) SWIG_fail;
23209 PyThreadState* __tstate = wxPyBeginAllowThreads();
23210 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23211
23212 wxPyEndAllowThreads(__tstate);
23213 if (PyErr_Occurred()) SWIG_fail;
23214 }
23215 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23216 return resultobj;
23217 fail:
23218 return NULL;
23219 }
23220
23221
23222 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *self, PyObject *args) {
23223 PyObject *resultobj;
23224 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23225 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23226 wxPrintData *arg3 = (wxPrintData *) 0 ;
23227 wxPrintPreview *result;
23228 PyObject * obj0 = 0 ;
23229 PyObject * obj1 = 0 ;
23230 PyObject * obj2 = 0 ;
23231
23232 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23235 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23237 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23239 {
23240 if (!wxPyCheckForApp()) SWIG_fail;
23241 PyThreadState* __tstate = wxPyBeginAllowThreads();
23242 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23243
23244 wxPyEndAllowThreads(__tstate);
23245 if (PyErr_Occurred()) SWIG_fail;
23246 }
23247 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23248 return resultobj;
23249 fail:
23250 return NULL;
23251 }
23252
23253
23254 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
23255 int argc;
23256 PyObject *argv[4];
23257 int ii;
23258
23259 argc = PyObject_Length(args);
23260 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23261 argv[ii] = PyTuple_GetItem(args,ii);
23262 }
23263 if ((argc >= 2) && (argc <= 3)) {
23264 int _v;
23265 {
23266 void *ptr;
23267 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23268 _v = 0;
23269 PyErr_Clear();
23270 } else {
23271 _v = 1;
23272 }
23273 }
23274 if (_v) {
23275 {
23276 void *ptr;
23277 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23278 _v = 0;
23279 PyErr_Clear();
23280 } else {
23281 _v = 1;
23282 }
23283 }
23284 if (_v) {
23285 if (argc <= 2) {
23286 return _wrap_new_PrintPreview__SWIG_0(self,args);
23287 }
23288 {
23289 void *ptr;
23290 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23291 _v = 0;
23292 PyErr_Clear();
23293 } else {
23294 _v = 1;
23295 }
23296 }
23297 if (_v) {
23298 return _wrap_new_PrintPreview__SWIG_0(self,args);
23299 }
23300 }
23301 }
23302 }
23303 if (argc == 3) {
23304 int _v;
23305 {
23306 void *ptr;
23307 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23308 _v = 0;
23309 PyErr_Clear();
23310 } else {
23311 _v = 1;
23312 }
23313 }
23314 if (_v) {
23315 {
23316 void *ptr;
23317 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23318 _v = 0;
23319 PyErr_Clear();
23320 } else {
23321 _v = 1;
23322 }
23323 }
23324 if (_v) {
23325 {
23326 void *ptr;
23327 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23328 _v = 0;
23329 PyErr_Clear();
23330 } else {
23331 _v = 1;
23332 }
23333 }
23334 if (_v) {
23335 return _wrap_new_PrintPreview__SWIG_1(self,args);
23336 }
23337 }
23338 }
23339 }
23340
23341 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
23342 return NULL;
23343 }
23344
23345
23346 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23347 PyObject *resultobj;
23348 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23349 int arg2 ;
23350 bool result;
23351 PyObject * obj0 = 0 ;
23352 PyObject * obj1 = 0 ;
23353 char *kwnames[] = {
23354 (char *) "self",(char *) "pageNum", NULL
23355 };
23356
23357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23360 arg2 = (int) SWIG_AsInt(obj1);
23361 if (PyErr_Occurred()) SWIG_fail;
23362 {
23363 PyThreadState* __tstate = wxPyBeginAllowThreads();
23364 result = (bool)(arg1)->SetCurrentPage(arg2);
23365
23366 wxPyEndAllowThreads(__tstate);
23367 if (PyErr_Occurred()) SWIG_fail;
23368 }
23369 {
23370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23371 }
23372 return resultobj;
23373 fail:
23374 return NULL;
23375 }
23376
23377
23378 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23379 PyObject *resultobj;
23380 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23381 int result;
23382 PyObject * obj0 = 0 ;
23383 char *kwnames[] = {
23384 (char *) "self", NULL
23385 };
23386
23387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
23388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23390 {
23391 PyThreadState* __tstate = wxPyBeginAllowThreads();
23392 result = (int)(arg1)->GetCurrentPage();
23393
23394 wxPyEndAllowThreads(__tstate);
23395 if (PyErr_Occurred()) SWIG_fail;
23396 }
23397 resultobj = SWIG_FromInt((int)result);
23398 return resultobj;
23399 fail:
23400 return NULL;
23401 }
23402
23403
23404 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
23405 PyObject *resultobj;
23406 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23407 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23408 PyObject * obj0 = 0 ;
23409 PyObject * obj1 = 0 ;
23410 char *kwnames[] = {
23411 (char *) "self",(char *) "printout", NULL
23412 };
23413
23414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
23415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23417 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23419 {
23420 PyThreadState* __tstate = wxPyBeginAllowThreads();
23421 (arg1)->SetPrintout(arg2);
23422
23423 wxPyEndAllowThreads(__tstate);
23424 if (PyErr_Occurred()) SWIG_fail;
23425 }
23426 Py_INCREF(Py_None); resultobj = Py_None;
23427 return resultobj;
23428 fail:
23429 return NULL;
23430 }
23431
23432
23433 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
23434 PyObject *resultobj;
23435 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23436 wxPyPrintout *result;
23437 PyObject * obj0 = 0 ;
23438 char *kwnames[] = {
23439 (char *) "self", NULL
23440 };
23441
23442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
23443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23445 {
23446 PyThreadState* __tstate = wxPyBeginAllowThreads();
23447 result = (wxPyPrintout *)(arg1)->GetPrintout();
23448
23449 wxPyEndAllowThreads(__tstate);
23450 if (PyErr_Occurred()) SWIG_fail;
23451 }
23452 {
23453 resultobj = wxPyMake_wxObject(result);
23454 }
23455 return resultobj;
23456 fail:
23457 return NULL;
23458 }
23459
23460
23461 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
23462 PyObject *resultobj;
23463 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23464 wxPyPrintout *result;
23465 PyObject * obj0 = 0 ;
23466 char *kwnames[] = {
23467 (char *) "self", NULL
23468 };
23469
23470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
23471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23473 {
23474 PyThreadState* __tstate = wxPyBeginAllowThreads();
23475 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
23476
23477 wxPyEndAllowThreads(__tstate);
23478 if (PyErr_Occurred()) SWIG_fail;
23479 }
23480 {
23481 resultobj = wxPyMake_wxObject(result);
23482 }
23483 return resultobj;
23484 fail:
23485 return NULL;
23486 }
23487
23488
23489 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23490 PyObject *resultobj;
23491 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23492 wxFrame *arg2 = (wxFrame *) 0 ;
23493 PyObject * obj0 = 0 ;
23494 PyObject * obj1 = 0 ;
23495 char *kwnames[] = {
23496 (char *) "self",(char *) "frame", NULL
23497 };
23498
23499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
23500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23502 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23504 {
23505 PyThreadState* __tstate = wxPyBeginAllowThreads();
23506 (arg1)->SetFrame(arg2);
23507
23508 wxPyEndAllowThreads(__tstate);
23509 if (PyErr_Occurred()) SWIG_fail;
23510 }
23511 Py_INCREF(Py_None); resultobj = Py_None;
23512 return resultobj;
23513 fail:
23514 return NULL;
23515 }
23516
23517
23518 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23519 PyObject *resultobj;
23520 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23521 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23522 PyObject * obj0 = 0 ;
23523 PyObject * obj1 = 0 ;
23524 char *kwnames[] = {
23525 (char *) "self",(char *) "canvas", NULL
23526 };
23527
23528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
23529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23531 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23533 {
23534 PyThreadState* __tstate = wxPyBeginAllowThreads();
23535 (arg1)->SetCanvas(arg2);
23536
23537 wxPyEndAllowThreads(__tstate);
23538 if (PyErr_Occurred()) SWIG_fail;
23539 }
23540 Py_INCREF(Py_None); resultobj = Py_None;
23541 return resultobj;
23542 fail:
23543 return NULL;
23544 }
23545
23546
23547 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23548 PyObject *resultobj;
23549 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23550 wxFrame *result;
23551 PyObject * obj0 = 0 ;
23552 char *kwnames[] = {
23553 (char *) "self", NULL
23554 };
23555
23556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
23557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23559 {
23560 PyThreadState* __tstate = wxPyBeginAllowThreads();
23561 result = (wxFrame *)(arg1)->GetFrame();
23562
23563 wxPyEndAllowThreads(__tstate);
23564 if (PyErr_Occurred()) SWIG_fail;
23565 }
23566 {
23567 resultobj = wxPyMake_wxObject(result);
23568 }
23569 return resultobj;
23570 fail:
23571 return NULL;
23572 }
23573
23574
23575 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23576 PyObject *resultobj;
23577 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23578 wxPreviewCanvas *result;
23579 PyObject * obj0 = 0 ;
23580 char *kwnames[] = {
23581 (char *) "self", NULL
23582 };
23583
23584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
23585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23587 {
23588 PyThreadState* __tstate = wxPyBeginAllowThreads();
23589 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
23590
23591 wxPyEndAllowThreads(__tstate);
23592 if (PyErr_Occurred()) SWIG_fail;
23593 }
23594 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
23595 return resultobj;
23596 fail:
23597 return NULL;
23598 }
23599
23600
23601 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23602 PyObject *resultobj;
23603 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23604 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23605 wxDC *arg3 = 0 ;
23606 bool result;
23607 PyObject * obj0 = 0 ;
23608 PyObject * obj1 = 0 ;
23609 PyObject * obj2 = 0 ;
23610 char *kwnames[] = {
23611 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23612 };
23613
23614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23617 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23619 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23620 SWIG_POINTER_EXCEPTION | 0)) == -1)
23621 SWIG_fail;
23622 if (arg3 == NULL) {
23623 PyErr_SetString(PyExc_TypeError,"null reference");
23624 SWIG_fail;
23625 }
23626 {
23627 PyThreadState* __tstate = wxPyBeginAllowThreads();
23628 result = (bool)(arg1)->PaintPage(arg2,*arg3);
23629
23630 wxPyEndAllowThreads(__tstate);
23631 if (PyErr_Occurred()) SWIG_fail;
23632 }
23633 {
23634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23635 }
23636 return resultobj;
23637 fail:
23638 return NULL;
23639 }
23640
23641
23642 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23643 PyObject *resultobj;
23644 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23645 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23646 wxDC *arg3 = 0 ;
23647 bool result;
23648 PyObject * obj0 = 0 ;
23649 PyObject * obj1 = 0 ;
23650 PyObject * obj2 = 0 ;
23651 char *kwnames[] = {
23652 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23653 };
23654
23655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23658 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23660 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23661 SWIG_POINTER_EXCEPTION | 0)) == -1)
23662 SWIG_fail;
23663 if (arg3 == NULL) {
23664 PyErr_SetString(PyExc_TypeError,"null reference");
23665 SWIG_fail;
23666 }
23667 {
23668 PyThreadState* __tstate = wxPyBeginAllowThreads();
23669 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
23670
23671 wxPyEndAllowThreads(__tstate);
23672 if (PyErr_Occurred()) SWIG_fail;
23673 }
23674 {
23675 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23676 }
23677 return resultobj;
23678 fail:
23679 return NULL;
23680 }
23681
23682
23683 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23684 PyObject *resultobj;
23685 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23686 int arg2 ;
23687 bool result;
23688 PyObject * obj0 = 0 ;
23689 PyObject * obj1 = 0 ;
23690 char *kwnames[] = {
23691 (char *) "self",(char *) "pageNum", NULL
23692 };
23693
23694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23697 arg2 = (int) SWIG_AsInt(obj1);
23698 if (PyErr_Occurred()) SWIG_fail;
23699 {
23700 PyThreadState* __tstate = wxPyBeginAllowThreads();
23701 result = (bool)(arg1)->RenderPage(arg2);
23702
23703 wxPyEndAllowThreads(__tstate);
23704 if (PyErr_Occurred()) SWIG_fail;
23705 }
23706 {
23707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23708 }
23709 return resultobj;
23710 fail:
23711 return NULL;
23712 }
23713
23714
23715 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
23716 PyObject *resultobj;
23717 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23718 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23719 PyObject * obj0 = 0 ;
23720 PyObject * obj1 = 0 ;
23721 char *kwnames[] = {
23722 (char *) "self",(char *) "canvas", NULL
23723 };
23724
23725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
23726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23728 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23730 {
23731 PyThreadState* __tstate = wxPyBeginAllowThreads();
23732 (arg1)->AdjustScrollbars(arg2);
23733
23734 wxPyEndAllowThreads(__tstate);
23735 if (PyErr_Occurred()) SWIG_fail;
23736 }
23737 Py_INCREF(Py_None); resultobj = Py_None;
23738 return resultobj;
23739 fail:
23740 return NULL;
23741 }
23742
23743
23744 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
23745 PyObject *resultobj;
23746 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23747 wxPrintDialogData *result;
23748 PyObject * obj0 = 0 ;
23749 char *kwnames[] = {
23750 (char *) "self", NULL
23751 };
23752
23753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
23754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23756 {
23757 PyThreadState* __tstate = wxPyBeginAllowThreads();
23758 {
23759 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
23760 result = (wxPrintDialogData *) &_result_ref;
23761 }
23762
23763 wxPyEndAllowThreads(__tstate);
23764 if (PyErr_Occurred()) SWIG_fail;
23765 }
23766 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
23767 return resultobj;
23768 fail:
23769 return NULL;
23770 }
23771
23772
23773 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23774 PyObject *resultobj;
23775 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23776 int arg2 ;
23777 PyObject * obj0 = 0 ;
23778 PyObject * obj1 = 0 ;
23779 char *kwnames[] = {
23780 (char *) "self",(char *) "percent", NULL
23781 };
23782
23783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
23784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23786 arg2 = (int) SWIG_AsInt(obj1);
23787 if (PyErr_Occurred()) SWIG_fail;
23788 {
23789 PyThreadState* __tstate = wxPyBeginAllowThreads();
23790 (arg1)->SetZoom(arg2);
23791
23792 wxPyEndAllowThreads(__tstate);
23793 if (PyErr_Occurred()) SWIG_fail;
23794 }
23795 Py_INCREF(Py_None); resultobj = Py_None;
23796 return resultobj;
23797 fail:
23798 return NULL;
23799 }
23800
23801
23802 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23803 PyObject *resultobj;
23804 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23805 int result;
23806 PyObject * obj0 = 0 ;
23807 char *kwnames[] = {
23808 (char *) "self", NULL
23809 };
23810
23811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
23812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23814 {
23815 PyThreadState* __tstate = wxPyBeginAllowThreads();
23816 result = (int)(arg1)->GetZoom();
23817
23818 wxPyEndAllowThreads(__tstate);
23819 if (PyErr_Occurred()) SWIG_fail;
23820 }
23821 resultobj = SWIG_FromInt((int)result);
23822 return resultobj;
23823 fail:
23824 return NULL;
23825 }
23826
23827
23828 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23829 PyObject *resultobj;
23830 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23831 int result;
23832 PyObject * obj0 = 0 ;
23833 char *kwnames[] = {
23834 (char *) "self", NULL
23835 };
23836
23837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
23838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23840 {
23841 PyThreadState* __tstate = wxPyBeginAllowThreads();
23842 result = (int)(arg1)->GetMaxPage();
23843
23844 wxPyEndAllowThreads(__tstate);
23845 if (PyErr_Occurred()) SWIG_fail;
23846 }
23847 resultobj = SWIG_FromInt((int)result);
23848 return resultobj;
23849 fail:
23850 return NULL;
23851 }
23852
23853
23854 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23855 PyObject *resultobj;
23856 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23857 int result;
23858 PyObject * obj0 = 0 ;
23859 char *kwnames[] = {
23860 (char *) "self", NULL
23861 };
23862
23863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
23864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23866 {
23867 PyThreadState* __tstate = wxPyBeginAllowThreads();
23868 result = (int)(arg1)->GetMinPage();
23869
23870 wxPyEndAllowThreads(__tstate);
23871 if (PyErr_Occurred()) SWIG_fail;
23872 }
23873 resultobj = SWIG_FromInt((int)result);
23874 return resultobj;
23875 fail:
23876 return NULL;
23877 }
23878
23879
23880 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
23881 PyObject *resultobj;
23882 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23883 bool result;
23884 PyObject * obj0 = 0 ;
23885 char *kwnames[] = {
23886 (char *) "self", NULL
23887 };
23888
23889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
23890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23892 {
23893 PyThreadState* __tstate = wxPyBeginAllowThreads();
23894 result = (bool)(arg1)->Ok();
23895
23896 wxPyEndAllowThreads(__tstate);
23897 if (PyErr_Occurred()) SWIG_fail;
23898 }
23899 {
23900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23901 }
23902 return resultobj;
23903 fail:
23904 return NULL;
23905 }
23906
23907
23908 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
23909 PyObject *resultobj;
23910 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23911 bool arg2 ;
23912 PyObject * obj0 = 0 ;
23913 PyObject * obj1 = 0 ;
23914 char *kwnames[] = {
23915 (char *) "self",(char *) "ok", NULL
23916 };
23917
23918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
23919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23921 arg2 = (bool) SWIG_AsBool(obj1);
23922 if (PyErr_Occurred()) SWIG_fail;
23923 {
23924 PyThreadState* __tstate = wxPyBeginAllowThreads();
23925 (arg1)->SetOk(arg2);
23926
23927 wxPyEndAllowThreads(__tstate);
23928 if (PyErr_Occurred()) SWIG_fail;
23929 }
23930 Py_INCREF(Py_None); resultobj = Py_None;
23931 return resultobj;
23932 fail:
23933 return NULL;
23934 }
23935
23936
23937 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
23938 PyObject *resultobj;
23939 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23940 bool arg2 ;
23941 bool result;
23942 PyObject * obj0 = 0 ;
23943 PyObject * obj1 = 0 ;
23944 char *kwnames[] = {
23945 (char *) "self",(char *) "interactive", NULL
23946 };
23947
23948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
23949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23951 arg2 = (bool) SWIG_AsBool(obj1);
23952 if (PyErr_Occurred()) SWIG_fail;
23953 {
23954 PyThreadState* __tstate = wxPyBeginAllowThreads();
23955 result = (bool)(arg1)->Print(arg2);
23956
23957 wxPyEndAllowThreads(__tstate);
23958 if (PyErr_Occurred()) SWIG_fail;
23959 }
23960 {
23961 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23962 }
23963 return resultobj;
23964 fail:
23965 return NULL;
23966 }
23967
23968
23969 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
23970 PyObject *resultobj;
23971 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23972 PyObject * obj0 = 0 ;
23973 char *kwnames[] = {
23974 (char *) "self", NULL
23975 };
23976
23977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
23978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23980 {
23981 PyThreadState* __tstate = wxPyBeginAllowThreads();
23982 (arg1)->DetermineScaling();
23983
23984 wxPyEndAllowThreads(__tstate);
23985 if (PyErr_Occurred()) SWIG_fail;
23986 }
23987 Py_INCREF(Py_None); resultobj = Py_None;
23988 return resultobj;
23989 fail:
23990 return NULL;
23991 }
23992
23993
23994 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
23995 PyObject *obj;
23996 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23997 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
23998 Py_INCREF(obj);
23999 return Py_BuildValue((char *)"");
24000 }
24001 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *self, PyObject *args) {
24002 PyObject *resultobj;
24003 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24004 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
24005 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
24006 wxPyPrintPreview *result;
24007 PyObject * obj0 = 0 ;
24008 PyObject * obj1 = 0 ;
24009 PyObject * obj2 = 0 ;
24010
24011 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
24012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24014 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24016 if (obj2) {
24017 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
24018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24019 }
24020 {
24021 if (!wxPyCheckForApp()) SWIG_fail;
24022 PyThreadState* __tstate = wxPyBeginAllowThreads();
24023 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
24024
24025 wxPyEndAllowThreads(__tstate);
24026 if (PyErr_Occurred()) SWIG_fail;
24027 }
24028 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
24029 return resultobj;
24030 fail:
24031 return NULL;
24032 }
24033
24034
24035 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *self, PyObject *args) {
24036 PyObject *resultobj;
24037 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24038 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
24039 wxPrintData *arg3 = (wxPrintData *) 0 ;
24040 wxPyPrintPreview *result;
24041 PyObject * obj0 = 0 ;
24042 PyObject * obj1 = 0 ;
24043 PyObject * obj2 = 0 ;
24044
24045 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
24046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24048 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24050 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
24051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24052 {
24053 if (!wxPyCheckForApp()) SWIG_fail;
24054 PyThreadState* __tstate = wxPyBeginAllowThreads();
24055 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
24056
24057 wxPyEndAllowThreads(__tstate);
24058 if (PyErr_Occurred()) SWIG_fail;
24059 }
24060 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
24061 return resultobj;
24062 fail:
24063 return NULL;
24064 }
24065
24066
24067 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
24068 int argc;
24069 PyObject *argv[4];
24070 int ii;
24071
24072 argc = PyObject_Length(args);
24073 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
24074 argv[ii] = PyTuple_GetItem(args,ii);
24075 }
24076 if ((argc >= 2) && (argc <= 3)) {
24077 int _v;
24078 {
24079 void *ptr;
24080 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24081 _v = 0;
24082 PyErr_Clear();
24083 } else {
24084 _v = 1;
24085 }
24086 }
24087 if (_v) {
24088 {
24089 void *ptr;
24090 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24091 _v = 0;
24092 PyErr_Clear();
24093 } else {
24094 _v = 1;
24095 }
24096 }
24097 if (_v) {
24098 if (argc <= 2) {
24099 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24100 }
24101 {
24102 void *ptr;
24103 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
24104 _v = 0;
24105 PyErr_Clear();
24106 } else {
24107 _v = 1;
24108 }
24109 }
24110 if (_v) {
24111 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24112 }
24113 }
24114 }
24115 }
24116 if (argc == 3) {
24117 int _v;
24118 {
24119 void *ptr;
24120 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24121 _v = 0;
24122 PyErr_Clear();
24123 } else {
24124 _v = 1;
24125 }
24126 }
24127 if (_v) {
24128 {
24129 void *ptr;
24130 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24131 _v = 0;
24132 PyErr_Clear();
24133 } else {
24134 _v = 1;
24135 }
24136 }
24137 if (_v) {
24138 {
24139 void *ptr;
24140 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
24141 _v = 0;
24142 PyErr_Clear();
24143 } else {
24144 _v = 1;
24145 }
24146 }
24147 if (_v) {
24148 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
24149 }
24150 }
24151 }
24152 }
24153
24154 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
24155 return NULL;
24156 }
24157
24158
24159 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24160 PyObject *resultobj;
24161 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24162 PyObject *arg2 = (PyObject *) 0 ;
24163 PyObject *arg3 = (PyObject *) 0 ;
24164 PyObject * obj0 = 0 ;
24165 PyObject * obj1 = 0 ;
24166 PyObject * obj2 = 0 ;
24167 char *kwnames[] = {
24168 (char *) "self",(char *) "self",(char *) "_class", NULL
24169 };
24170
24171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24174 arg2 = obj1;
24175 arg3 = obj2;
24176 {
24177 PyThreadState* __tstate = wxPyBeginAllowThreads();
24178 (arg1)->_setCallbackInfo(arg2,arg3);
24179
24180 wxPyEndAllowThreads(__tstate);
24181 if (PyErr_Occurred()) SWIG_fail;
24182 }
24183 Py_INCREF(Py_None); resultobj = Py_None;
24184 return resultobj;
24185 fail:
24186 return NULL;
24187 }
24188
24189
24190 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
24191 PyObject *resultobj;
24192 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24193 int arg2 ;
24194 bool result;
24195 PyObject * obj0 = 0 ;
24196 PyObject * obj1 = 0 ;
24197 char *kwnames[] = {
24198 (char *) "self",(char *) "pageNum", NULL
24199 };
24200
24201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
24202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24204 arg2 = (int) SWIG_AsInt(obj1);
24205 if (PyErr_Occurred()) SWIG_fail;
24206 {
24207 PyThreadState* __tstate = wxPyBeginAllowThreads();
24208 result = (bool)(arg1)->base_SetCurrentPage(arg2);
24209
24210 wxPyEndAllowThreads(__tstate);
24211 if (PyErr_Occurred()) SWIG_fail;
24212 }
24213 {
24214 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24215 }
24216 return resultobj;
24217 fail:
24218 return NULL;
24219 }
24220
24221
24222 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
24223 PyObject *resultobj;
24224 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24225 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24226 wxDC *arg3 = 0 ;
24227 bool result;
24228 PyObject * obj0 = 0 ;
24229 PyObject * obj1 = 0 ;
24230 PyObject * obj2 = 0 ;
24231 char *kwnames[] = {
24232 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24233 };
24234
24235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24238 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24240 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24241 SWIG_POINTER_EXCEPTION | 0)) == -1)
24242 SWIG_fail;
24243 if (arg3 == NULL) {
24244 PyErr_SetString(PyExc_TypeError,"null reference");
24245 SWIG_fail;
24246 }
24247 {
24248 PyThreadState* __tstate = wxPyBeginAllowThreads();
24249 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
24250
24251 wxPyEndAllowThreads(__tstate);
24252 if (PyErr_Occurred()) SWIG_fail;
24253 }
24254 {
24255 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24256 }
24257 return resultobj;
24258 fail:
24259 return NULL;
24260 }
24261
24262
24263 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
24264 PyObject *resultobj;
24265 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24266 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24267 wxDC *arg3 = 0 ;
24268 bool result;
24269 PyObject * obj0 = 0 ;
24270 PyObject * obj1 = 0 ;
24271 PyObject * obj2 = 0 ;
24272 char *kwnames[] = {
24273 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24274 };
24275
24276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24279 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24281 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24282 SWIG_POINTER_EXCEPTION | 0)) == -1)
24283 SWIG_fail;
24284 if (arg3 == NULL) {
24285 PyErr_SetString(PyExc_TypeError,"null reference");
24286 SWIG_fail;
24287 }
24288 {
24289 PyThreadState* __tstate = wxPyBeginAllowThreads();
24290 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
24291
24292 wxPyEndAllowThreads(__tstate);
24293 if (PyErr_Occurred()) SWIG_fail;
24294 }
24295 {
24296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24297 }
24298 return resultobj;
24299 fail:
24300 return NULL;
24301 }
24302
24303
24304 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
24305 PyObject *resultobj;
24306 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24307 int arg2 ;
24308 bool result;
24309 PyObject * obj0 = 0 ;
24310 PyObject * obj1 = 0 ;
24311 char *kwnames[] = {
24312 (char *) "self",(char *) "pageNum", NULL
24313 };
24314
24315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
24316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24318 arg2 = (int) SWIG_AsInt(obj1);
24319 if (PyErr_Occurred()) SWIG_fail;
24320 {
24321 PyThreadState* __tstate = wxPyBeginAllowThreads();
24322 result = (bool)(arg1)->base_RenderPage(arg2);
24323
24324 wxPyEndAllowThreads(__tstate);
24325 if (PyErr_Occurred()) SWIG_fail;
24326 }
24327 {
24328 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24329 }
24330 return resultobj;
24331 fail:
24332 return NULL;
24333 }
24334
24335
24336 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
24337 PyObject *resultobj;
24338 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24339 int arg2 ;
24340 PyObject * obj0 = 0 ;
24341 PyObject * obj1 = 0 ;
24342 char *kwnames[] = {
24343 (char *) "self",(char *) "percent", NULL
24344 };
24345
24346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
24347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24349 arg2 = (int) SWIG_AsInt(obj1);
24350 if (PyErr_Occurred()) SWIG_fail;
24351 {
24352 PyThreadState* __tstate = wxPyBeginAllowThreads();
24353 (arg1)->base_SetZoom(arg2);
24354
24355 wxPyEndAllowThreads(__tstate);
24356 if (PyErr_Occurred()) SWIG_fail;
24357 }
24358 Py_INCREF(Py_None); resultobj = Py_None;
24359 return resultobj;
24360 fail:
24361 return NULL;
24362 }
24363
24364
24365 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
24366 PyObject *resultobj;
24367 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24368 bool arg2 ;
24369 bool result;
24370 PyObject * obj0 = 0 ;
24371 PyObject * obj1 = 0 ;
24372 char *kwnames[] = {
24373 (char *) "self",(char *) "interactive", NULL
24374 };
24375
24376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
24377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24379 arg2 = (bool) SWIG_AsBool(obj1);
24380 if (PyErr_Occurred()) SWIG_fail;
24381 {
24382 PyThreadState* __tstate = wxPyBeginAllowThreads();
24383 result = (bool)(arg1)->base_Print(arg2);
24384
24385 wxPyEndAllowThreads(__tstate);
24386 if (PyErr_Occurred()) SWIG_fail;
24387 }
24388 {
24389 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24390 }
24391 return resultobj;
24392 fail:
24393 return NULL;
24394 }
24395
24396
24397 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
24398 PyObject *resultobj;
24399 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24400 PyObject * obj0 = 0 ;
24401 char *kwnames[] = {
24402 (char *) "self", NULL
24403 };
24404
24405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
24406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24408 {
24409 PyThreadState* __tstate = wxPyBeginAllowThreads();
24410 (arg1)->base_DetermineScaling();
24411
24412 wxPyEndAllowThreads(__tstate);
24413 if (PyErr_Occurred()) SWIG_fail;
24414 }
24415 Py_INCREF(Py_None); resultobj = Py_None;
24416 return resultobj;
24417 fail:
24418 return NULL;
24419 }
24420
24421
24422 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
24423 PyObject *obj;
24424 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24425 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
24426 Py_INCREF(obj);
24427 return Py_BuildValue((char *)"");
24428 }
24429 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
24430 PyObject *resultobj;
24431 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24432 wxFrame *arg2 = (wxFrame *) 0 ;
24433 wxString *arg3 = 0 ;
24434 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24435 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24436 wxSize const &arg5_defvalue = wxDefaultSize ;
24437 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24438 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
24439 wxString const &arg7_defvalue = wxPyFrameNameStr ;
24440 wxString *arg7 = (wxString *) &arg7_defvalue ;
24441 wxPyPreviewFrame *result;
24442 bool temp3 = False ;
24443 wxPoint temp4 ;
24444 wxSize temp5 ;
24445 bool temp7 = False ;
24446 PyObject * obj0 = 0 ;
24447 PyObject * obj1 = 0 ;
24448 PyObject * obj2 = 0 ;
24449 PyObject * obj3 = 0 ;
24450 PyObject * obj4 = 0 ;
24451 PyObject * obj5 = 0 ;
24452 PyObject * obj6 = 0 ;
24453 char *kwnames[] = {
24454 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24455 };
24456
24457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24460 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
24461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24462 {
24463 arg3 = wxString_in_helper(obj2);
24464 if (arg3 == NULL) SWIG_fail;
24465 temp3 = True;
24466 }
24467 if (obj3) {
24468 {
24469 arg4 = &temp4;
24470 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24471 }
24472 }
24473 if (obj4) {
24474 {
24475 arg5 = &temp5;
24476 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24477 }
24478 }
24479 if (obj5) {
24480 arg6 = (long) SWIG_AsLong(obj5);
24481 if (PyErr_Occurred()) SWIG_fail;
24482 }
24483 if (obj6) {
24484 {
24485 arg7 = wxString_in_helper(obj6);
24486 if (arg7 == NULL) SWIG_fail;
24487 temp7 = True;
24488 }
24489 }
24490 {
24491 if (!wxPyCheckForApp()) SWIG_fail;
24492 PyThreadState* __tstate = wxPyBeginAllowThreads();
24493 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24494
24495 wxPyEndAllowThreads(__tstate);
24496 if (PyErr_Occurred()) SWIG_fail;
24497 }
24498 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
24499 {
24500 if (temp3)
24501 delete arg3;
24502 }
24503 {
24504 if (temp7)
24505 delete arg7;
24506 }
24507 return resultobj;
24508 fail:
24509 {
24510 if (temp3)
24511 delete arg3;
24512 }
24513 {
24514 if (temp7)
24515 delete arg7;
24516 }
24517 return NULL;
24518 }
24519
24520
24521 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24522 PyObject *resultobj;
24523 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24524 PyObject *arg2 = (PyObject *) 0 ;
24525 PyObject *arg3 = (PyObject *) 0 ;
24526 PyObject * obj0 = 0 ;
24527 PyObject * obj1 = 0 ;
24528 PyObject * obj2 = 0 ;
24529 char *kwnames[] = {
24530 (char *) "self",(char *) "self",(char *) "_class", NULL
24531 };
24532
24533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24536 arg2 = obj1;
24537 arg3 = obj2;
24538 {
24539 PyThreadState* __tstate = wxPyBeginAllowThreads();
24540 (arg1)->_setCallbackInfo(arg2,arg3);
24541
24542 wxPyEndAllowThreads(__tstate);
24543 if (PyErr_Occurred()) SWIG_fail;
24544 }
24545 Py_INCREF(Py_None); resultobj = Py_None;
24546 return resultobj;
24547 fail:
24548 return NULL;
24549 }
24550
24551
24552 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24553 PyObject *resultobj;
24554 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24555 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24556 PyObject * obj0 = 0 ;
24557 PyObject * obj1 = 0 ;
24558 char *kwnames[] = {
24559 (char *) "self",(char *) "canvas", NULL
24560 };
24561
24562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
24563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24565 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24567 {
24568 PyThreadState* __tstate = wxPyBeginAllowThreads();
24569 (arg1)->SetPreviewCanvas(arg2);
24570
24571 wxPyEndAllowThreads(__tstate);
24572 if (PyErr_Occurred()) SWIG_fail;
24573 }
24574 Py_INCREF(Py_None); resultobj = Py_None;
24575 return resultobj;
24576 fail:
24577 return NULL;
24578 }
24579
24580
24581 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24582 PyObject *resultobj;
24583 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24584 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
24585 PyObject * obj0 = 0 ;
24586 PyObject * obj1 = 0 ;
24587 char *kwnames[] = {
24588 (char *) "self",(char *) "bar", NULL
24589 };
24590
24591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
24592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24594 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
24595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24596 {
24597 PyThreadState* __tstate = wxPyBeginAllowThreads();
24598 (arg1)->SetControlBar(arg2);
24599
24600 wxPyEndAllowThreads(__tstate);
24601 if (PyErr_Occurred()) SWIG_fail;
24602 }
24603 Py_INCREF(Py_None); resultobj = Py_None;
24604 return resultobj;
24605 fail:
24606 return NULL;
24607 }
24608
24609
24610 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
24611 PyObject *resultobj;
24612 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24613 PyObject * obj0 = 0 ;
24614 char *kwnames[] = {
24615 (char *) "self", NULL
24616 };
24617
24618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
24619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24621 {
24622 PyThreadState* __tstate = wxPyBeginAllowThreads();
24623 (arg1)->base_Initialize();
24624
24625 wxPyEndAllowThreads(__tstate);
24626 if (PyErr_Occurred()) SWIG_fail;
24627 }
24628 Py_INCREF(Py_None); resultobj = Py_None;
24629 return resultobj;
24630 fail:
24631 return NULL;
24632 }
24633
24634
24635 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24636 PyObject *resultobj;
24637 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24638 PyObject * obj0 = 0 ;
24639 char *kwnames[] = {
24640 (char *) "self", NULL
24641 };
24642
24643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
24644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24646 {
24647 PyThreadState* __tstate = wxPyBeginAllowThreads();
24648 (arg1)->base_CreateCanvas();
24649
24650 wxPyEndAllowThreads(__tstate);
24651 if (PyErr_Occurred()) SWIG_fail;
24652 }
24653 Py_INCREF(Py_None); resultobj = Py_None;
24654 return resultobj;
24655 fail:
24656 return NULL;
24657 }
24658
24659
24660 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24661 PyObject *resultobj;
24662 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24663 PyObject * obj0 = 0 ;
24664 char *kwnames[] = {
24665 (char *) "self", NULL
24666 };
24667
24668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
24669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24671 {
24672 PyThreadState* __tstate = wxPyBeginAllowThreads();
24673 (arg1)->base_CreateControlBar();
24674
24675 wxPyEndAllowThreads(__tstate);
24676 if (PyErr_Occurred()) SWIG_fail;
24677 }
24678 Py_INCREF(Py_None); resultobj = Py_None;
24679 return resultobj;
24680 fail:
24681 return NULL;
24682 }
24683
24684
24685 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
24686 PyObject *obj;
24687 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24688 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
24689 Py_INCREF(obj);
24690 return Py_BuildValue((char *)"");
24691 }
24692 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24693 PyObject *resultobj;
24694 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24695 long arg2 ;
24696 wxWindow *arg3 = (wxWindow *) 0 ;
24697 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24698 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24699 wxSize const &arg5_defvalue = wxDefaultSize ;
24700 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24701 long arg6 = (long) 0 ;
24702 wxString const &arg7_defvalue = wxPyPanelNameStr ;
24703 wxString *arg7 = (wxString *) &arg7_defvalue ;
24704 wxPyPreviewControlBar *result;
24705 wxPoint temp4 ;
24706 wxSize temp5 ;
24707 bool temp7 = False ;
24708 PyObject * obj0 = 0 ;
24709 PyObject * obj1 = 0 ;
24710 PyObject * obj2 = 0 ;
24711 PyObject * obj3 = 0 ;
24712 PyObject * obj4 = 0 ;
24713 PyObject * obj5 = 0 ;
24714 PyObject * obj6 = 0 ;
24715 char *kwnames[] = {
24716 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24717 };
24718
24719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24722 arg2 = (long) SWIG_AsLong(obj1);
24723 if (PyErr_Occurred()) SWIG_fail;
24724 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
24725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24726 if (obj3) {
24727 {
24728 arg4 = &temp4;
24729 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24730 }
24731 }
24732 if (obj4) {
24733 {
24734 arg5 = &temp5;
24735 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24736 }
24737 }
24738 if (obj5) {
24739 arg6 = (long) SWIG_AsLong(obj5);
24740 if (PyErr_Occurred()) SWIG_fail;
24741 }
24742 if (obj6) {
24743 {
24744 arg7 = wxString_in_helper(obj6);
24745 if (arg7 == NULL) SWIG_fail;
24746 temp7 = True;
24747 }
24748 }
24749 {
24750 if (!wxPyCheckForApp()) SWIG_fail;
24751 PyThreadState* __tstate = wxPyBeginAllowThreads();
24752 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24753
24754 wxPyEndAllowThreads(__tstate);
24755 if (PyErr_Occurred()) SWIG_fail;
24756 }
24757 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
24758 {
24759 if (temp7)
24760 delete arg7;
24761 }
24762 return resultobj;
24763 fail:
24764 {
24765 if (temp7)
24766 delete arg7;
24767 }
24768 return NULL;
24769 }
24770
24771
24772 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24773 PyObject *resultobj;
24774 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24775 PyObject *arg2 = (PyObject *) 0 ;
24776 PyObject *arg3 = (PyObject *) 0 ;
24777 PyObject * obj0 = 0 ;
24778 PyObject * obj1 = 0 ;
24779 PyObject * obj2 = 0 ;
24780 char *kwnames[] = {
24781 (char *) "self",(char *) "self",(char *) "_class", NULL
24782 };
24783
24784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24787 arg2 = obj1;
24788 arg3 = obj2;
24789 {
24790 PyThreadState* __tstate = wxPyBeginAllowThreads();
24791 (arg1)->_setCallbackInfo(arg2,arg3);
24792
24793 wxPyEndAllowThreads(__tstate);
24794 if (PyErr_Occurred()) SWIG_fail;
24795 }
24796 Py_INCREF(Py_None); resultobj = Py_None;
24797 return resultobj;
24798 fail:
24799 return NULL;
24800 }
24801
24802
24803 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
24804 PyObject *resultobj;
24805 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24806 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
24807 PyObject * obj0 = 0 ;
24808 PyObject * obj1 = 0 ;
24809 char *kwnames[] = {
24810 (char *) "self",(char *) "preview", NULL
24811 };
24812
24813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
24814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24816 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
24817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24818 {
24819 PyThreadState* __tstate = wxPyBeginAllowThreads();
24820 (arg1)->SetPrintPreview(arg2);
24821
24822 wxPyEndAllowThreads(__tstate);
24823 if (PyErr_Occurred()) SWIG_fail;
24824 }
24825 Py_INCREF(Py_None); resultobj = Py_None;
24826 return resultobj;
24827 fail:
24828 return NULL;
24829 }
24830
24831
24832 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
24833 PyObject *resultobj;
24834 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24835 PyObject * obj0 = 0 ;
24836 char *kwnames[] = {
24837 (char *) "self", NULL
24838 };
24839
24840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
24841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24843 {
24844 PyThreadState* __tstate = wxPyBeginAllowThreads();
24845 (arg1)->base_CreateButtons();
24846
24847 wxPyEndAllowThreads(__tstate);
24848 if (PyErr_Occurred()) SWIG_fail;
24849 }
24850 Py_INCREF(Py_None); resultobj = Py_None;
24851 return resultobj;
24852 fail:
24853 return NULL;
24854 }
24855
24856
24857 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
24858 PyObject *resultobj;
24859 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24860 int arg2 ;
24861 PyObject * obj0 = 0 ;
24862 PyObject * obj1 = 0 ;
24863 char *kwnames[] = {
24864 (char *) "self",(char *) "zoom", NULL
24865 };
24866
24867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
24868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24870 arg2 = (int) SWIG_AsInt(obj1);
24871 if (PyErr_Occurred()) SWIG_fail;
24872 {
24873 PyThreadState* __tstate = wxPyBeginAllowThreads();
24874 (arg1)->base_SetZoomControl(arg2);
24875
24876 wxPyEndAllowThreads(__tstate);
24877 if (PyErr_Occurred()) SWIG_fail;
24878 }
24879 Py_INCREF(Py_None); resultobj = Py_None;
24880 return resultobj;
24881 fail:
24882 return NULL;
24883 }
24884
24885
24886 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
24887 PyObject *obj;
24888 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24889 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
24890 Py_INCREF(obj);
24891 return Py_BuildValue((char *)"");
24892 }
24893 static PyMethodDef SwigMethods[] = {
24894 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
24895 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
24896 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
24897 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
24898 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24899 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
24900 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24901 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24902 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24903 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
24904 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
24905 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24906 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24907 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
24908 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
24909 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
24910 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
24911 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
24912 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
24913 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
24914 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
24915 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
24916 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
24917 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
24918 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24919 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24920 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS },
24921 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS },
24922 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24923 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
24924 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
24925 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
24926 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
24927 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
24928 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
24929 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
24930 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
24931 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
24932 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
24933 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
24934 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
24935 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
24936 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
24937 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
24938 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
24939 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
24940 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
24941 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
24942 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
24943 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
24944 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
24945 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
24946 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
24947 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
24948 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
24949 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24950 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24951 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24952 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24953 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24954 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24955 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
24956 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
24957 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
24958 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
24959 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
24960 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24961 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
24962 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
24963 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
24964 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
24965 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
24966 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
24967 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
24968 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
24969 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
24970 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24971 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
24972 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24973 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
24974 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
24975 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
24976 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
24977 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
24978 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
24979 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
24980 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
24981 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
24982 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
24983 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
24984 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
24985 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
24986 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
24987 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
24988 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
24989 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
24990 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24991 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24992 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24993 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
24994 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24995 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24996 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24997 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
24998 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
24999 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
25000 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
25001 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
25002 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
25003 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
25004 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
25005 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
25006 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
25007 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
25008 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
25009 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
25010 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
25011 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
25012 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
25013 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
25014 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
25015 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS },
25016 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
25017 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
25018 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
25019 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
25020 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
25021 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
25022 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
25023 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
25024 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
25025 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
25026 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
25027 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
25028 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
25029 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
25030 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
25031 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
25032 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
25033 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
25034 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
25035 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
25036 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
25037 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
25038 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
25039 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
25040 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
25041 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
25042 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
25043 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
25044 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
25045 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
25046 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
25047 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
25048 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
25049 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
25050 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
25051 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
25052 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
25053 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
25054 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
25055 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
25056 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
25057 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
25058 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
25059 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
25060 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
25061 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
25062 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
25063 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
25064 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
25065 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
25066 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
25067 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
25068 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
25069 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
25070 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
25071 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
25072 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
25073 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
25074 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
25075 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
25076 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
25077 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
25078 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
25079 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
25080 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
25081 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
25082 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
25083 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
25084 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
25085 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
25086 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
25087 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
25088 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
25089 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
25090 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
25091 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
25092 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
25093 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
25094 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
25095 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
25096 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
25097 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
25098 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
25099 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
25100 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
25101 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
25102 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
25103 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
25104 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
25105 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
25106 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
25107 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
25108 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
25109 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25110 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
25111 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
25112 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
25113 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
25114 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
25115 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
25116 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
25117 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
25118 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
25119 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25120 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
25121 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
25122 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
25123 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
25124 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
25125 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
25126 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
25127 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
25128 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
25129 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
25130 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
25131 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
25132 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
25133 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
25134 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
25135 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
25136 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
25137 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25138 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
25139 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
25140 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
25141 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
25142 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
25143 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
25144 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
25145 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
25146 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
25147 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
25148 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
25149 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
25150 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
25151 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
25152 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
25153 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
25154 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
25155 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
25156 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
25157 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
25158 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
25159 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
25160 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
25161 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
25162 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
25163 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25164 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
25165 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
25166 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
25167 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS },
25168 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
25169 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
25170 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
25171 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS },
25172 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS },
25173 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
25174 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
25175 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
25176 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
25177 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
25178 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
25179 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
25180 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
25181 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
25182 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
25183 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
25184 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
25185 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
25186 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
25187 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
25188 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
25189 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
25190 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
25191 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
25192 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
25193 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
25194 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
25195 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
25196 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
25197 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
25198 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
25199 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
25200 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
25201 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
25202 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
25203 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
25204 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
25205 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
25206 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
25207 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
25208 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
25209 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
25210 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
25211 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
25212 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
25213 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
25214 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
25215 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
25216 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
25217 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
25218 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
25219 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
25220 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
25221 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
25222 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
25223 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
25224 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
25225 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
25226 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
25227 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
25228 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
25229 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
25230 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
25231 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
25232 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
25233 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
25234 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
25235 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
25236 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
25237 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
25238 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
25239 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
25240 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
25241 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
25242 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
25243 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
25244 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
25245 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
25246 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
25247 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
25248 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
25249 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
25250 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
25251 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
25252 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
25253 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
25254 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
25255 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
25256 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
25257 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
25258 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
25259 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
25260 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
25261 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
25262 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
25263 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
25264 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
25265 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
25266 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
25267 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
25268 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
25269 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
25270 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
25271 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
25272 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
25273 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
25274 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
25275 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
25276 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
25277 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
25278 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
25279 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
25280 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
25281 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
25282 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
25283 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
25284 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
25285 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
25286 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
25287 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
25288 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
25289 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_GetWindowMenu, METH_VARARGS | METH_KEYWORDS },
25290 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS },
25291 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction) _wrap_MDIParentFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
25292 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
25293 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
25294 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
25295 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
25296 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
25297 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
25298 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
25299 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
25300 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
25301 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
25302 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
25303 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
25304 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
25305 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
25306 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS },
25307 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25308 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS },
25309 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
25310 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
25311 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
25312 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25313 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
25314 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
25315 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
25316 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25317 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
25318 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
25319 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
25320 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
25321 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
25322 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
25323 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
25324 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
25325 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
25326 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
25327 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
25328 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
25329 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
25330 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
25331 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
25332 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS },
25333 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25334 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS },
25335 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
25336 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
25337 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
25338 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25339 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
25340 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
25341 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
25342 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25343 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
25344 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
25345 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
25346 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
25347 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
25348 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
25349 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
25350 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
25351 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
25352 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
25353 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
25354 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
25355 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
25356 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
25357 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
25358 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
25359 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25360 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS },
25361 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
25362 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
25363 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
25364 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25365 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
25366 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
25367 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
25368 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25369 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
25370 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
25371 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
25372 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
25373 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
25374 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
25375 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
25376 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
25377 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
25378 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
25379 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
25380 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
25381 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
25382 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS },
25383 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
25384 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
25385 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
25386 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
25387 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
25388 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
25389 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
25390 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
25391 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
25392 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
25393 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
25394 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
25395 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
25396 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
25397 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
25398 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
25399 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
25400 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
25401 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
25402 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
25403 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
25404 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
25405 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
25406 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
25407 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
25408 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
25409 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
25410 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
25411 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
25412 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
25413 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
25414 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
25415 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
25416 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
25417 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
25418 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
25419 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
25420 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
25421 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
25422 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
25423 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
25424 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
25425 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
25426 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
25427 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS },
25428 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
25429 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
25430 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
25431 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
25432 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
25433 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
25434 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
25435 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
25436 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
25437 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
25438 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
25439 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
25440 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
25441 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
25442 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
25443 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25444 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25445 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25446 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25447 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
25448 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
25449 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
25450 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
25451 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
25452 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
25453 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25454 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25455 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25456 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25457 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
25458 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
25459 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
25460 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
25461 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
25462 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
25463 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
25464 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
25465 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS },
25466 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
25467 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
25468 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
25469 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
25470 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
25471 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
25472 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
25473 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
25474 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
25475 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
25476 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
25477 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
25478 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
25479 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
25480 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
25481 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
25482 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
25483 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
25484 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
25485 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
25486 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
25487 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
25488 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
25489 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
25490 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
25491 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
25492 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
25493 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
25494 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
25495 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
25496 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
25497 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
25498 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
25499 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
25500 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25501 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
25502 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
25503 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
25504 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
25505 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
25506 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
25507 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25508 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
25509 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
25510 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
25511 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
25512 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
25513 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
25514 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
25515 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
25516 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25517 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
25518 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
25519 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
25520 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
25521 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
25522 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
25523 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
25524 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
25525 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
25526 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
25527 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
25528 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
25529 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
25530 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
25531 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
25532 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
25533 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
25534 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
25535 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
25536 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
25537 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
25538 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
25539 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
25540 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
25541 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
25542 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
25543 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
25544 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
25545 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
25546 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
25547 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
25548 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
25549 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
25550 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
25551 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
25552 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
25553 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
25554 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
25555 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
25556 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS },
25557 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25558 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25559 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
25560 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
25561 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
25562 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
25563 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
25564 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
25565 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
25566 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
25567 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
25568 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
25569 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
25570 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25571 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
25572 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
25573 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
25574 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
25575 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
25576 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
25577 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
25578 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
25579 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
25580 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS },
25581 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25582 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25583 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
25584 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
25585 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
25586 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
25587 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
25588 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
25589 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
25590 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
25591 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25592 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
25593 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
25594 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
25595 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
25596 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
25597 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
25598 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
25599 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25600 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
25601 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
25602 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
25603 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
25604 { NULL, NULL }
25605 };
25606
25607
25608 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25609
25610 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
25611 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25612 }
25613 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25614 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25615 }
25616 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25617 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25618 }
25619 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25620 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25621 }
25622 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
25623 return (void *)((wxEvent *) ((wxMouseEvent *) x));
25624 }
25625 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
25626 return (void *)((wxEvent *) ((wxEraseEvent *) x));
25627 }
25628 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
25629 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
25630 }
25631 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
25632 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25633 }
25634 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
25635 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
25636 }
25637 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25638 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25639 }
25640 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
25641 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
25642 }
25643 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25644 return (void *)((wxEvent *) ((wxPyEvent *) x));
25645 }
25646 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25647 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25648 }
25649 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
25650 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
25651 }
25652 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25653 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25654 }
25655 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25656 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25657 }
25658 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25659 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25660 }
25661 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25662 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25663 }
25664 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25665 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25666 }
25667 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25668 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25669 }
25670 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25671 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25672 }
25673 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25674 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25675 }
25676 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25677 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25678 }
25679 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25680 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25681 }
25682 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25683 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25684 }
25685 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25686 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25687 }
25688 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25689 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25690 }
25691 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25692 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25693 }
25694 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25695 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25696 }
25697 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25698 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25699 }
25700 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25701 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25702 }
25703 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25704 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25705 }
25706 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
25707 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
25708 }
25709 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
25710 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25711 }
25712 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25713 return (void *)((wxEvent *) ((wxShowEvent *) x));
25714 }
25715 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25716 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25717 }
25718 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25719 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25720 }
25721 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25722 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25723 }
25724 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25725 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25726 }
25727 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25728 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25729 }
25730 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25731 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25732 }
25733 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
25734 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
25735 }
25736 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
25737 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
25738 }
25739 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
25740 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25741 }
25742 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
25743 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25744 }
25745 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
25746 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25747 }
25748 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25749 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25750 }
25751 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25752 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25753 }
25754 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25755 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25756 }
25757 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
25758 return (void *)((wxEvtHandler *) ((wxMenu *) x));
25759 }
25760 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
25761 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25762 }
25763 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
25764 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25765 }
25766 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
25767 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25768 }
25769 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
25770 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25771 }
25772 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
25773 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25774 }
25775 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
25776 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25777 }
25778 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
25779 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25780 }
25781 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
25782 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
25783 }
25784 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
25785 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
25786 }
25787 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
25788 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25789 }
25790 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
25791 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25792 }
25793 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
25794 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25795 }
25796 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
25797 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
25798 }
25799 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
25800 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25801 }
25802 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
25803 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
25804 }
25805 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
25806 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
25807 }
25808 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
25809 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
25810 }
25811 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
25812 return (void *)((wxEvtHandler *) ((wxWindow *) x));
25813 }
25814 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
25815 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25816 }
25817 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
25818 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
25819 }
25820 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
25821 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
25822 }
25823 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
25824 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25825 }
25826 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
25827 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
25828 }
25829 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
25830 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25831 }
25832 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
25833 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25834 }
25835 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
25836 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25837 }
25838 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
25839 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
25840 }
25841 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
25842 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25843 }
25844 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
25845 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
25846 }
25847 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
25848 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25849 }
25850 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
25851 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25852 }
25853 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
25854 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25855 }
25856 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
25857 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25858 }
25859 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
25860 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25861 }
25862 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
25863 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
25864 }
25865 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
25866 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25867 }
25868 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
25869 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25870 }
25871 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
25872 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25873 }
25874 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
25875 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25876 }
25877 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
25878 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25879 }
25880 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
25881 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25882 }
25883 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
25884 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25885 }
25886 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
25887 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25888 }
25889 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
25890 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
25891 }
25892 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
25893 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
25894 }
25895 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
25896 return (void *)((wxFrame *) ((wxProgressDialog *) x));
25897 }
25898 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
25899 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
25900 }
25901 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
25902 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25903 }
25904 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
25905 return (void *)((wxFrame *) ((wxMiniFrame *) x));
25906 }
25907 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
25908 return (void *)((wxFrame *) ((wxSplashScreen *) x));
25909 }
25910 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
25911 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
25912 }
25913 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
25914 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
25915 }
25916 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
25917 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25918 }
25919 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
25920 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25921 }
25922 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
25923 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25924 }
25925 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
25926 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
25927 }
25928 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
25929 return (void *)((wxObject *) ((wxSizerItem *) x));
25930 }
25931 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
25932 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
25933 }
25934 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
25935 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
25936 }
25937 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
25938 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
25939 }
25940 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
25941 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
25942 }
25943 static void *_p_wxSizerTo_p_wxObject(void *x) {
25944 return (void *)((wxObject *) ((wxSizer *) x));
25945 }
25946 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
25947 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
25948 }
25949 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
25950 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
25951 }
25952 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
25953 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25954 }
25955 static void *_p_wxEventTo_p_wxObject(void *x) {
25956 return (void *)((wxObject *) ((wxEvent *) x));
25957 }
25958 static void *_p_wxFontDataTo_p_wxObject(void *x) {
25959 return (void *)((wxObject *) ((wxFontData *) x));
25960 }
25961 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
25962 return (void *)((wxObject *) ((wxPrintData *) x));
25963 }
25964 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
25965 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
25966 }
25967 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
25968 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
25969 }
25970 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
25971 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
25972 }
25973 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
25974 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
25975 }
25976 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
25977 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
25978 }
25979 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
25980 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
25981 }
25982 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
25983 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
25984 }
25985 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
25986 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
25987 }
25988 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
25989 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
25990 }
25991 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
25992 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
25993 }
25994 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
25995 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25996 }
25997 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
25998 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
25999 }
26000 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
26001 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26002 }
26003 static void *_p_wxControlTo_p_wxObject(void *x) {
26004 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
26005 }
26006 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
26007 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
26008 }
26009 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
26010 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
26011 }
26012 static void *_p_wxFSFileTo_p_wxObject(void *x) {
26013 return (void *)((wxObject *) ((wxFSFile *) x));
26014 }
26015 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
26016 return (void *)((wxObject *) ((wxFindReplaceData *) x));
26017 }
26018 static void *_p_wxPySizerTo_p_wxObject(void *x) {
26019 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
26020 }
26021 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
26022 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26023 }
26024 static void *_p_wxColourDataTo_p_wxObject(void *x) {
26025 return (void *)((wxObject *) ((wxColourData *) x));
26026 }
26027 static void *_p_wxPyEventTo_p_wxObject(void *x) {
26028 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
26029 }
26030 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
26031 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
26032 }
26033 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
26034 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
26035 }
26036 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
26037 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26038 }
26039 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
26040 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26041 }
26042 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
26043 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26044 }
26045 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
26046 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26047 }
26048 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
26049 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26050 }
26051 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
26052 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26053 }
26054 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
26055 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26056 }
26057 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
26058 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26059 }
26060 static void *_p_wxShowEventTo_p_wxObject(void *x) {
26061 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
26062 }
26063 static void *_p_wxPrinterTo_p_wxObject(void *x) {
26064 return (void *)((wxObject *) ((wxPrinter *) x));
26065 }
26066 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
26067 return (void *)((wxObject *) ((wxMenuItem *) x));
26068 }
26069 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
26070 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
26071 }
26072 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
26073 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
26074 }
26075 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
26076 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
26077 }
26078 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
26079 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
26080 }
26081 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
26082 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
26083 }
26084 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
26085 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
26086 }
26087 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
26088 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
26089 }
26090 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
26091 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
26092 }
26093 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
26094 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
26095 }
26096 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
26097 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
26098 }
26099 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
26100 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
26101 }
26102 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
26103 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
26104 }
26105 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
26106 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
26107 }
26108 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
26109 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
26110 }
26111 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
26112 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
26113 }
26114 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
26115 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
26116 }
26117 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
26118 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
26119 }
26120 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
26121 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
26122 }
26123 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
26124 return (void *)((wxObject *) ((wxImageHandler *) x));
26125 }
26126 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
26127 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
26128 }
26129 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
26130 return (void *)((wxObject *) ((wxEvtHandler *) x));
26131 }
26132 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
26133 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
26134 }
26135 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
26136 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26137 }
26138 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
26139 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26140 }
26141 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
26142 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
26143 }
26144 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
26145 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26146 }
26147 static void *_p_wxImageTo_p_wxObject(void *x) {
26148 return (void *)((wxObject *) ((wxImage *) x));
26149 }
26150 static void *_p_wxFrameTo_p_wxObject(void *x) {
26151 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
26152 }
26153 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
26154 return (void *)((wxObject *) ((wxPyPrintout *) x));
26155 }
26156 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
26157 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
26158 }
26159 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
26160 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
26161 }
26162 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
26163 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
26164 }
26165 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
26166 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26167 }
26168 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
26169 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26170 }
26171 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
26172 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
26173 }
26174 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
26175 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
26176 }
26177 static void *_p_wxWindowTo_p_wxObject(void *x) {
26178 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
26179 }
26180 static void *_p_wxMenuTo_p_wxObject(void *x) {
26181 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
26182 }
26183 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
26184 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
26185 }
26186 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
26187 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
26188 }
26189 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
26190 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
26191 }
26192 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
26193 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
26194 }
26195 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
26196 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
26197 }
26198 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
26199 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
26200 }
26201 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
26202 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
26203 }
26204 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
26205 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
26206 }
26207 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
26208 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26209 }
26210 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
26211 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26212 }
26213 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
26214 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
26215 }
26216 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
26217 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
26218 }
26219 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
26220 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26221 }
26222 static void *_p_wxSashEventTo_p_wxObject(void *x) {
26223 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
26224 }
26225 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
26226 return (void *)((wxObject *) ((wxPrintPreview *) x));
26227 }
26228 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
26229 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
26230 }
26231 static void *_p_wxPanelTo_p_wxObject(void *x) {
26232 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
26233 }
26234 static void *_p_wxDialogTo_p_wxObject(void *x) {
26235 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
26236 }
26237 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
26238 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26239 }
26240 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
26241 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26242 }
26243 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
26244 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26245 }
26246 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
26247 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26248 }
26249 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
26250 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26251 }
26252 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
26253 return (void *)((wxObject *) ((wxFileSystem *) x));
26254 }
26255 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
26256 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
26257 }
26258 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
26259 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
26260 }
26261 static void *_p_wxPyAppTo_p_wxObject(void *x) {
26262 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
26263 }
26264 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
26265 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
26266 }
26267 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
26268 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
26269 }
26270 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
26271 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
26272 }
26273 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
26274 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
26275 }
26276 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
26277 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
26278 }
26279 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
26280 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
26281 }
26282 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
26283 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26284 }
26285 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
26286 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
26287 }
26288 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
26289 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
26290 }
26291 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
26292 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
26293 }
26294 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
26295 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26296 }
26297 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
26298 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
26299 }
26300 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
26301 return (void *)((wxObject *) ((wxPrintDialogData *) x));
26302 }
26303 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
26304 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
26305 }
26306 static void *_p_wxValidatorTo_p_wxObject(void *x) {
26307 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
26308 }
26309 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
26310 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26311 }
26312 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
26313 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
26314 }
26315 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
26316 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26317 }
26318 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
26319 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26320 }
26321 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
26322 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26323 }
26324 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
26325 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
26326 }
26327 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
26328 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
26329 }
26330 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
26331 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
26332 }
26333 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
26334 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
26335 }
26336 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
26337 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
26338 }
26339 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
26340 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
26341 }
26342 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
26343 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
26344 }
26345 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
26346 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
26347 }
26348 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
26349 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
26350 }
26351 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
26352 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
26353 }
26354 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
26355 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
26356 }
26357 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
26358 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
26359 }
26360 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
26361 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
26362 }
26363 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
26364 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
26365 }
26366 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
26367 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
26368 }
26369 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
26370 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
26371 }
26372 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26373 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
26374 }
26375 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26376 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
26377 }
26378 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
26379 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
26380 }
26381 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26382 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
26383 }
26384 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26385 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26386 }
26387 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
26388 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26389 }
26390 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
26391 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26392 }
26393 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
26394 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
26395 }
26396 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
26397 return (void *)((wxWindow *) ((wxMenuBar *) x));
26398 }
26399 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
26400 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26401 }
26402 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
26403 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26404 }
26405 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
26406 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26407 }
26408 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
26409 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26410 }
26411 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
26412 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26413 }
26414 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
26415 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26416 }
26417 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
26418 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26419 }
26420 static void *_p_wxPanelTo_p_wxWindow(void *x) {
26421 return (void *)((wxWindow *) ((wxPanel *) x));
26422 }
26423 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
26424 return (void *)((wxWindow *) ((wxStatusBar *) x));
26425 }
26426 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
26427 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
26428 }
26429 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
26430 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
26431 }
26432 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
26433 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26434 }
26435 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
26436 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26437 }
26438 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
26439 return (void *)((wxWindow *) ((wxPopupWindow *) x));
26440 }
26441 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
26442 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
26443 }
26444 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
26445 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
26446 }
26447 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
26448 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
26449 }
26450 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
26451 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
26452 }
26453 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
26454 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
26455 }
26456 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
26457 return (void *)((wxWindow *) ((wxSashWindow *) x));
26458 }
26459 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
26460 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26461 }
26462 static void *_p_wxControlTo_p_wxWindow(void *x) {
26463 return (void *)((wxWindow *) ((wxControl *) x));
26464 }
26465 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
26466 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26467 }
26468 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
26469 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26470 }
26471 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
26472 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26473 }
26474 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
26475 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
26476 }
26477 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
26478 return (void *)((wxWindow *) ((wxPyWindow *) x));
26479 }
26480 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
26481 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26482 }
26483 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
26484 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26485 }
26486 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
26487 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26488 }
26489 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
26490 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
26491 }
26492 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
26493 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26494 }
26495 static void *_p_wxFrameTo_p_wxWindow(void *x) {
26496 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
26497 }
26498 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
26499 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26500 }
26501 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
26502 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26503 }
26504 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
26505 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26506 }
26507 static void *_p_wxDialogTo_p_wxWindow(void *x) {
26508 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
26509 }
26510 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
26511 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26512 }
26513 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
26514 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26515 }
26516 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
26517 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26518 }
26519 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
26520 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26521 }
26522 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
26523 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
26524 }
26525 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
26526 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
26527 }
26528 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
26529 return (void *)((wxDialog *) ((wxColourDialog *) x));
26530 }
26531 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
26532 return (void *)((wxDialog *) ((wxDirDialog *) x));
26533 }
26534 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
26535 return (void *)((wxDialog *) ((wxFontDialog *) x));
26536 }
26537 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
26538 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
26539 }
26540 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
26541 return (void *)((wxDialog *) ((wxPrintDialog *) x));
26542 }
26543 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
26544 return (void *)((wxDialog *) ((wxFileDialog *) x));
26545 }
26546 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
26547 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
26548 }
26549 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
26550 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
26551 }
26552 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
26553 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
26554 }
26555 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
26556 return (void *)((wxDialog *) ((wxMessageDialog *) x));
26557 }
26558 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
26559 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
26560 }
26561 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
26562 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
26563 }
26564 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
26565 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
26566 }
26567 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
26568 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26569 }
26570 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
26571 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26572 }
26573 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
26574 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26575 }
26576 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
26577 return (void *)((wxPanel *) ((wxPyPanel *) x));
26578 }
26579 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
26580 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
26581 }
26582 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
26583 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
26584 }
26585 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
26586 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26587 }
26588 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
26589 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
26590 }
26591 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
26592 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
26593 }
26594 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
26595 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
26596 }
26597 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
26598 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
26599 }
26600 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
26601 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
26602 }
26603 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
26604 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26605 }
26606 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
26607 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
26608 }
26609 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
26610 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
26611 }
26612 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
26613 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
26614 }
26615 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
26616 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
26617 }
26618 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
26619 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
26620 }
26621 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
26622 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26623 }
26624 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}};
26625 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}};
26626 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}};
26627 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}};
26628 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}};
26629 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}};
26630 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}};
26631 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}};
26632 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}};
26633 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}};
26634 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}};
26635 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}};
26636 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}};
26637 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}};
26638 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}};
26639 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}};
26640 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}};
26641 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}};
26642 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}};
26643 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}};
26644 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}};
26645 static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26646 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}};
26647 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}};
26648 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}};
26649 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}};
26650 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}};
26651 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}};
26652 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}};
26653 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}};
26654 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}};
26655 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}};
26656 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}};
26657 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}};
26658 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}};
26659 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}};
26660 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}};
26661 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}};
26662 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}};
26663 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}};
26664 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}};
26665 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}};
26666 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}};
26667 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}};
26668 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}};
26669 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}};
26670 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}};
26671 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}};
26672 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}};
26673 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}};
26674 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}};
26675 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}};
26676 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}};
26677 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}};
26678 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}};
26679 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}};
26680 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}};
26681 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}};
26682 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}};
26683 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}};
26684 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}};
26685 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}};
26686 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}};
26687 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}};
26688 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}};
26689 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}};
26690 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}};
26691 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}};
26692 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}};
26693 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}};
26694 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}};
26695 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}};
26696 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}};
26697 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}};
26698 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}};
26699 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}};
26700 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}};
26701 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}};
26702 static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26703 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}};
26704 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}};
26705 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}};
26706 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}};
26707 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}};
26708 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}};
26709 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}};
26710 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}};
26711
26712 static swig_type_info *swig_types_initial[] = {
26713 _swigt__p_wxQueryLayoutInfoEvent,
26714 _swigt__p_wxPreviewFrame,
26715 _swigt__p_wxPyPreviewFrame,
26716 _swigt__p_wxPyPanel,
26717 _swigt__p_wxMenu,
26718 _swigt__p_wxFontData,
26719 _swigt__p_wxEvent,
26720 _swigt__p_wxPrintData,
26721 _swigt__p_wxTaskBarIcon,
26722 _swigt__p_wxIconBundle,
26723 _swigt__p_wxLayoutAlgorithm,
26724 _swigt__p_wxFindDialogEvent,
26725 _swigt__p_wxPreviewCanvas,
26726 _swigt__p_wxFont,
26727 _swigt__p_wxSplitterEvent,
26728 _swigt__p_wxRegion,
26729 _swigt__p_wxFindReplaceData,
26730 _swigt__p_int,
26731 _swigt__p_wxSize,
26732 _swigt__p_wxDC,
26733 _swigt__p_wxIcon,
26734 _swigt__p_wxVisualAttributes,
26735 _swigt__p_wxMDIChildFrame,
26736 _swigt__p_wxColourData,
26737 _swigt__p_wxNotifyEvent,
26738 _swigt__p_wxPyWindow,
26739 _swigt__p_wxSplashScreen,
26740 _swigt__p_wxFindReplaceDialog,
26741 _swigt__p_wxProgressDialog,
26742 _swigt__p_wxMessageDialog,
26743 _swigt__p_wxTextEntryDialog,
26744 _swigt__p_wxSingleChoiceDialog,
26745 _swigt__p_wxMultiChoiceDialog,
26746 _swigt__p_wxFileDialog,
26747 _swigt__p_wxPrinter,
26748 _swigt__p_wxArrayInt,
26749 _swigt__p_wxEvtHandler,
26750 _swigt__p_wxCalculateLayoutEvent,
26751 _swigt__p_wxPyHtmlListBox,
26752 _swigt__p_wxPyVListBox,
26753 _swigt__p_wxRect,
26754 _swigt__p_char,
26755 _swigt__p_wxMiniFrame,
26756 _swigt__p_wxFrame,
26757 _swigt__p_wxPyPrintout,
26758 _swigt__p_wxTaskBarIconEvent,
26759 _swigt__p_wxScrollWinEvent,
26760 _swigt__p_wxStatusBar,
26761 _swigt__p_wxMDIParentFrame,
26762 _swigt__p_wxPoint,
26763 _swigt__p_wxObject,
26764 _swigt__p_wxOutputStream,
26765 _swigt__p_unsigned_long,
26766 _swigt__p_wxPyScrolledWindow,
26767 _swigt__p_wxMDIClientWindow,
26768 _swigt__p_wxTipWindow,
26769 _swigt__p_wxSashLayoutWindow,
26770 _swigt__p_wxSplitterWindow,
26771 _swigt__p_wxSplashScreenWindow,
26772 _swigt__p_wxPyVScrolledWindow,
26773 _swigt__p_wxPyPopupTransientWindow,
26774 _swigt__p_wxPopupWindow,
26775 _swigt__p_wxSashWindow,
26776 _swigt__p_wxTopLevelWindow,
26777 _swigt__p_wxWindow,
26778 _swigt__p_wxScrolledWindow,
26779 _swigt__p_wxMenuBar,
26780 _swigt__p_wxPrintPreview,
26781 _swigt__p_wxSashEvent,
26782 _swigt__p_wxString,
26783 _swigt__p_wxPyPrintPreview,
26784 _swigt__p_wxFontDialog,
26785 _swigt__p_wxDirDialog,
26786 _swigt__p_wxColourDialog,
26787 _swigt__p_wxDialog,
26788 _swigt__p_wxPanel,
26789 _swigt__p_wxPageSetupDialog,
26790 _swigt__p_wxPrintDialog,
26791 _swigt__p_wxFileSystem,
26792 _swigt__p_wxBitmap,
26793 _swigt__p_wxCommandEvent,
26794 _swigt__p_wxPreviewControlBar,
26795 _swigt__p_wxPyPreviewControlBar,
26796 _swigt__p_wxColour,
26797 _swigt__p_wxToolBar,
26798 _swigt__p_wxPageSetupDialogData,
26799 _swigt__p_wxPrintDialogData,
26800 0
26801 };
26802
26803
26804 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26805
26806 static swig_const_info swig_const_table[] = {
26807 {0}};
26808
26809 #ifdef __cplusplus
26810 }
26811 #endif
26812
26813 #ifdef __cplusplus
26814 extern "C"
26815 #endif
26816 SWIGEXPORT(void) SWIG_init(void) {
26817 static PyObject *SWIG_globals = 0;
26818 static int typeinit = 0;
26819 PyObject *m, *d;
26820 int i;
26821 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
26822 m = Py_InitModule((char *) SWIG_name, SwigMethods);
26823 d = PyModule_GetDict(m);
26824
26825 if (!typeinit) {
26826 for (i = 0; swig_types_initial[i]; i++) {
26827 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
26828 }
26829 typeinit = 1;
26830 }
26831 SWIG_InstallConstants(d,swig_const_table);
26832
26833 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
26834 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
26835 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
26836 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
26837 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
26838 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP));
26839 PyDict_SetItemString(d,"ICONIZE", SWIG_FromInt((int)wxICONIZE));
26840 PyDict_SetItemString(d,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE));
26841 PyDict_SetItemString(d,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE));
26842 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX));
26843 PyDict_SetItemString(d,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME));
26844 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU));
26845 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX));
26846 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX));
26847 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ));
26848 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT));
26849 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX));
26850 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER));
26851 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT));
26852 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE));
26853 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE));
26854 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW));
26855 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT));
26856 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU));
26857 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR));
26858 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED));
26859 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL));
26860 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS));
26861 PyDict_SetItemString(d,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS));
26862 PyDict_SetItemString(d,"NO_3D", SWIG_FromInt((int)wxNO_3D));
26863 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR));
26864 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR));
26865 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR));
26866 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER));
26867 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION));
26868 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL));
26869 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG));
26870 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT));
26871 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN));
26872 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE));
26873 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT));
26874 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT));
26875 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
26876 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER));
26877 PyDict_SetItemString(d,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH));
26878 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT));
26879 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE));
26880 PyDict_SetItemString(d,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH));
26881 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER));
26882 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME));
26883 PyDict_SetItemString(d,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER));
26884 PyDict_SetItemString(d,"SP_3D", SWIG_FromInt((int)wxSP_3D));
26885 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL));
26886 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL));
26887 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE));
26888 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING));
26889 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN));
26890 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
26891 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
26892 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
26893 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
26894 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
26895 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
26896 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE));
26897 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING));
26898 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN));
26899 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER));
26900 PyDict_SetItemString(d,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER));
26901 PyDict_SetItemString(d,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH));
26902 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER));
26903 PyDict_SetItemString(d,"SW_3D", SWIG_FromInt((int)wxSW_3D));
26904 PyDict_SetItemString(d,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP));
26905 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT));
26906 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM));
26907 PyDict_SetItemString(d,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT));
26908 PyDict_SetItemString(d,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE));
26909 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK));
26910 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE));
26911 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
26912 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL));
26913 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL));
26914 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE));
26915 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP));
26916 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT));
26917 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT));
26918 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM));
26919 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y));
26920 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X));
26921 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH));
26922 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY));
26923 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
26924 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
26925 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
26926
26927 // Map renamed classes back to their common name for OOR
26928 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26929 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26930 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26931
26932 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
26933 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
26934 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
26935 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
26936 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
26937 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
26938 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
26939 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
26940 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
26941 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
26942 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
26943 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
26944 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
26945 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE));
26946 PyDict_SetItemString(d,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN));
26947 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD));
26948 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE));
26949 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG));
26950 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN));
26951 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE));
26952 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD));
26953 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
26954 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
26955 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
26956 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
26957 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
26958 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26959 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26960 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26961 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26962 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26963 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26964 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26965 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26966 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
26967 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
26968 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE));
26969 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW));
26970 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE));
26971 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER));
26972 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM));
26973 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR));
26974 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED));
26975 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR));
26976 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT));
26977 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS));
26978 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT));
26979 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM));
26980 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST));
26981 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST));
26982 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO));
26983 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT));
26984 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE));
26985 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT));
26986 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS));
26987 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT));
26988 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM));
26989 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST));
26990 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST));
26991 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO));
26992
26993 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
26994
26995 }
26996