]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/windows_wrap.cpp
Updated version number
[wxWidgets.git] / wxPython / src / msw / windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #endif
125
126 /***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
136 #include "Python.h"
137
138 #ifdef __cplusplus
139 extern "C" {
140 #endif
141
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
147
148 /* Flags for pointer conversion */
149
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
152
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
155
156 /* Constant information structure */
157 typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164 } swig_const_info;
165
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
186 typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198 /* Contract support */
199
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
202 #ifdef __cplusplus
203 }
204 #endif
205
206
207 /* -------- TYPES TABLE (BEGIN) -------- */
208
209 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
210 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
211 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
212 #define SWIGTYPE_p_wxPyPanel swig_types[3]
213 #define SWIGTYPE_p_wxMenu swig_types[4]
214 #define SWIGTYPE_p_wxPrintData swig_types[5]
215 #define SWIGTYPE_p_wxFontData swig_types[6]
216 #define SWIGTYPE_p_wxEvent swig_types[7]
217 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
218 #define SWIGTYPE_p_wxIconBundle swig_types[9]
219 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
220 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
221 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
224 #define SWIGTYPE_p_wxRegion swig_types[15]
225 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
226 #define SWIGTYPE_p_int swig_types[17]
227 #define SWIGTYPE_p_wxSize swig_types[18]
228 #define SWIGTYPE_p_wxDC swig_types[19]
229 #define SWIGTYPE_p_wxIcon swig_types[20]
230 #define SWIGTYPE_p_wxMDIChildFrame swig_types[21]
231 #define SWIGTYPE_p_wxColourData swig_types[22]
232 #define SWIGTYPE_p_wxNotifyEvent swig_types[23]
233 #define SWIGTYPE_p_wxPyWindow swig_types[24]
234 #define SWIGTYPE_p_wxSplashScreen swig_types[25]
235 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[26]
236 #define SWIGTYPE_p_wxProgressDialog swig_types[27]
237 #define SWIGTYPE_p_wxMessageDialog swig_types[28]
238 #define SWIGTYPE_p_wxTextEntryDialog swig_types[29]
239 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30]
240 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31]
241 #define SWIGTYPE_p_wxFileDialog swig_types[32]
242 #define SWIGTYPE_p_wxPrinter swig_types[33]
243 #define SWIGTYPE_p_wxArrayInt swig_types[34]
244 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
245 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36]
246 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[37]
247 #define SWIGTYPE_p_wxPyVListBox swig_types[38]
248 #define SWIGTYPE_p_wxRect swig_types[39]
249 #define SWIGTYPE_p_char swig_types[40]
250 #define SWIGTYPE_p_wxMiniFrame swig_types[41]
251 #define SWIGTYPE_p_wxFrame swig_types[42]
252 #define SWIGTYPE_p_wxPyPrintout swig_types[43]
253 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[44]
254 #define SWIGTYPE_p_wxScrollWinEvent swig_types[45]
255 #define SWIGTYPE_p_wxStatusBar swig_types[46]
256 #define SWIGTYPE_p_wxMDIParentFrame swig_types[47]
257 #define SWIGTYPE_p_wxPoint swig_types[48]
258 #define SWIGTYPE_p_wxObject swig_types[49]
259 #define SWIGTYPE_p_wxOutputStream swig_types[50]
260 #define SWIGTYPE_p_unsigned_long swig_types[51]
261 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[52]
262 #define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
263 #define SWIGTYPE_p_wxTipWindow swig_types[54]
264 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[55]
265 #define SWIGTYPE_p_wxSplitterWindow swig_types[56]
266 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[57]
267 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[58]
268 #define SWIGTYPE_p_wxPopupWindow swig_types[59]
269 #define SWIGTYPE_p_wxSashWindow swig_types[60]
270 #define SWIGTYPE_p_wxTopLevelWindow swig_types[61]
271 #define SWIGTYPE_p_wxWindow swig_types[62]
272 #define SWIGTYPE_p_wxScrolledWindow swig_types[63]
273 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[64]
274 #define SWIGTYPE_p_wxMenuBar swig_types[65]
275 #define SWIGTYPE_p_wxPrintPreview swig_types[66]
276 #define SWIGTYPE_p_wxSashEvent swig_types[67]
277 #define SWIGTYPE_p_wxString swig_types[68]
278 #define SWIGTYPE_p_wxPyPrintPreview swig_types[69]
279 #define SWIGTYPE_p_wxFontDialog swig_types[70]
280 #define SWIGTYPE_p_wxDirDialog swig_types[71]
281 #define SWIGTYPE_p_wxColourDialog swig_types[72]
282 #define SWIGTYPE_p_wxDialog swig_types[73]
283 #define SWIGTYPE_p_wxPanel swig_types[74]
284 #define SWIGTYPE_p_wxPageSetupDialog swig_types[75]
285 #define SWIGTYPE_p_wxPrintDialog swig_types[76]
286 #define SWIGTYPE_p_wxBitmap swig_types[77]
287 #define SWIGTYPE_p_wxCommandEvent swig_types[78]
288 #define SWIGTYPE_p_wxPreviewControlBar swig_types[79]
289 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[80]
290 #define SWIGTYPE_p_wxColour swig_types[81]
291 #define SWIGTYPE_p_wxToolBar swig_types[82]
292 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[83]
293 #define SWIGTYPE_p_wxPrintDialogData swig_types[84]
294 static swig_type_info *swig_types[86];
295
296 /* -------- TYPES TABLE (END) -------- */
297
298
299 /*-----------------------------------------------
300 @(target):= _windows.so
301 ------------------------------------------------*/
302 #define SWIG_init init_windows
303
304 #define SWIG_name "_windows"
305
306 /* Auxiliar swig macros */
307
308 #ifdef __cplusplus
309 #define SWIGSTATICINLINE(a) static inline a
310 #define SWIGSTATIC(a) static a
311 #define swig_new_array(type, size) (new type[(size)])
312 #define swig_delete_array(cptr) delete[] cptr
313 #define swig_const_cast(type,a) const_cast<type>(a)
314 #define swig_static_cast(type,a) static_cast<type>(a)
315 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
316
317 #ifdef HAVE_NUMERIC_CAST
318 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
319 #else
320 #define swig_numeric_cast(type,a) static_cast<type>(a)
321 #endif
322
323 #else /* C case */
324
325 #define SWIGSTATICINLINE(a) static a
326 #define SWIGSTATIC(a) static a
327 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
328 #define swig_delete_array(cptr) free((char*)cptr)
329 #define swig_const_cast(type,a) (type)(a)
330 #define swig_static_cast(type,a) (type)(a)
331 #define swig_reinterpret_cast(type,a) (type)(a)
332 #define swig_numeric_cast(type,a) (type)(a)
333
334 #endif /* __cplusplus */
335
336
337 #define SWIG_FromSignedChar PyInt_FromLong
338 #define SWIG_FromUnsignedChar PyInt_FromLong
339 #define SWIG_FromShort PyInt_FromLong
340 #define SWIG_FromUnsignedShort PyInt_FromLong
341 #define SWIG_FromInt PyInt_FromLong
342 #define SWIG_FromLong PyInt_FromLong
343 #define SWIG_FromFloat PyFloat_FromDouble
344 #define SWIG_FromDouble PyFloat_FromDouble
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
347
348
349 #include "wx/wxPython/wxPython.h"
350 #include "wx/wxPython/pyclasses.h"
351
352
353 static const wxString wxPyEmptyString(wxEmptyString);
354 static const wxString wxPyPanelNameStr(wxPanelNameStr);
355
356
357
358 #include <limits.h>
359
360
361 SWIGSTATICINLINE(long)
362 SWIG_CheckLongInRange(long value, const char* type,
363 long min_value, long max_value)
364 {
365 if (!PyErr_Occurred()) {
366 if (value < min_value) {
367 PyObject *err =
368 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
369 value, type, min_value);
370
371 PyErr_SetObject(PyExc_OverflowError, err);
372 Py_DECREF(err);
373 } else if (value > max_value) {
374 PyObject *err =
375 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
376 value, type, max_value);
377 PyErr_SetObject(PyExc_OverflowError, err);
378 Py_DECREF(err);
379 }
380 }
381 return value;
382 }
383
384
385 SWIGSTATICINLINE(long)
386 SWIG_AsLong(PyObject * obj)
387 {
388 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
389 }
390
391
392 #if INT_MAX != LONG_MAX
393 SWIGSTATICINLINE(int)
394 SWIG_AsInt(PyObject *obj)
395 {
396 return swig_numeric_cast(int,
397 SWIG_CheckLongInRange(SWIG_AsLong(obj),
398 "int", INT_MIN, INT_MAX));
399 }
400 #else
401 #define SWIG_AsInt SWIG_AsLong
402 #endif
403
404
405 SWIGSTATICINLINE(int)
406 SWIG_CheckInt(PyObject* obj)
407 {
408 SWIG_AsInt(obj);
409 if (PyErr_Occurred()) {
410 PyErr_Clear();
411 return 0;
412 } else {
413 return 1;
414 }
415 }
416
417
418 SWIGSTATICINLINE(int)
419 SWIG_CheckLong(PyObject* obj)
420 {
421 SWIG_AsLong(obj);
422 if (PyErr_Occurred()) {
423 PyErr_Clear();
424 return 0;
425 } else {
426 return 1;
427 }
428 }
429
430
431 SWIGSTATICINLINE(bool)
432 SWIG_AsBool(PyObject *obj)
433 {
434 return PyObject_IsTrue(obj) ? true : false;
435 }
436
437
438 SWIGSTATICINLINE(int)
439 SWIG_CheckBool(PyObject* obj)
440 {
441 SWIG_AsBool(obj);
442 if (PyErr_Occurred()) {
443 PyErr_Clear();
444 return 0;
445 } else {
446 return 1;
447 }
448 }
449
450
451 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
452 PyObject* o2;
453 PyObject* o3;
454
455 if (!target) {
456 target = o;
457 } else if (target == Py_None) {
458 Py_DECREF(Py_None);
459 target = o;
460 } else {
461 if (!PyTuple_Check(target)) {
462 o2 = target;
463 target = PyTuple_New(1);
464 PyTuple_SetItem(target, 0, o2);
465 }
466 o3 = PyTuple_New(1);
467 PyTuple_SetItem(o3, 0, o);
468
469 o2 = target;
470 target = PySequence_Concat(o2, o3);
471 Py_DECREF(o2);
472 Py_DECREF(o3);
473 }
474 return target;
475 }
476
477
478 SWIGSTATICINLINE(double)
479 SWIG_AsDouble(PyObject *obj)
480 {
481 double val = (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
482 #if HAVE_LONG_LONG
483 ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
484 #else
485 ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj));
486 #endif
487 if (PyErr_Occurred()) {
488 PyErr_Clear();
489 PyErr_SetString(PyExc_TypeError, "a double is expected");
490 }
491 return val;
492 }
493
494
495 SWIGSTATICINLINE(int)
496 SWIG_CheckDouble(PyObject* obj)
497 {
498 SWIG_AsDouble(obj);
499 if (PyErr_Occurred()) {
500 PyErr_Clear();
501 return 0;
502 } else {
503 return 1;
504 }
505 }
506
507 static const wxString wxPyFrameNameStr(wxFrameNameStr);
508 static const wxString wxPyDialogNameStr(wxDialogNameStr);
509 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
510 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
511 bool wxDialog_IsModalShowing(wxDialog *self){
512
513
514
515 return self->IsModalShowing();
516
517 }
518
519
520 wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
521 wxRect r;
522 self->GetFieldRect(i, r);
523 return r;
524 }
525 static const wxString wxPySplitterNameStr(wxT("splitter"));
526 static const wxString wxPySashNameStr(wxT("sashWindow"));
527 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
528
529 #include <wx/popupwin.h>
530
531
532 class wxPyPopupTransientWindow : public wxPopupTransientWindow
533 {
534 public:
535 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
536 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
537 : wxPopupTransientWindow(parent, style) {}
538
539 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
540 DEC_PYCALLBACK__(OnDismiss);
541 DEC_PYCALLBACK_BOOL_(CanDismiss);
542 PYPRIVATE;
543 };
544
545
546 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
547 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
548 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
549
550
551 #include <wx/tipwin.h>
552
553 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
554 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
555 }
556
557 #include <wx/tipwin.h>
558
559
560 #include <wx/vscroll.h>
561
562
563 class wxPyVScrolledWindow : public wxVScrolledWindow
564 {
565 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
566 public:
567 wxPyVScrolledWindow() : wxVScrolledWindow() {}
568
569 wxPyVScrolledWindow(wxWindow *parent,
570 wxWindowID id = wxID_ANY,
571 const wxPoint& pos = wxDefaultPosition,
572 const wxSize& size = wxDefaultSize,
573 long style = 0,
574 const wxString& name = wxPyPanelNameStr)
575 : wxVScrolledWindow(parent, id, pos, size, style, name)
576 {}
577
578 // Overridable virtuals
579
580 // this function must be overridden in the derived class and it should
581 // return the height of the given line in pixels
582 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
583
584
585 // this function doesn't have to be overridden but it may be useful to do
586 // it if calculating the lines heights is a relatively expensive operation
587 // as it gives the user code a possibility to calculate several of them at
588 // once
589 //
590 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
591 // shouldn't rely on the latter being called for all lines in the interval
592 // specified here. It is also possible that OnGetLineHeight() will be
593 // called for the lines outside of this interval, so this is really just a
594 // hint, not a promise.
595 //
596 // finally note that lineMin is inclusive, while lineMax is exclusive, as
597 // usual
598 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
599
600
601 // when the number of lines changes, we try to estimate the total height
602 // of all lines which is a rather expensive operation in terms of lines
603 // access, so if the user code may estimate the average height
604 // better/faster than we do, it should override this function to implement
605 // its own logic
606 //
607 // this function should return the best guess for the total height it may
608 // make
609 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
610
611
612 // Also expose some other interesting protected methods
613
614
615 // find the index of the line we need to show at the top of the window such
616 // that the last (fully or partially) visible line is the given one
617 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
618 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
619
620 // get the total height of the lines between lineMin (inclusive) and
621 // lineMax (exclusive)
622 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
623 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
624
625
626 PYPRIVATE;
627 };
628
629 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
630
631 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
632 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
633 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
634
635
636 SWIGSTATICINLINE(unsigned long)
637 SWIG_AsUnsignedLong(PyObject * obj)
638 {
639 if (PyLong_Check(obj)) {
640 return PyLong_AsUnsignedLong(obj);
641 } else {
642 long i = PyInt_AsLong(obj);
643 if ( !PyErr_Occurred() && (i < 0)) {
644 PyErr_SetString(PyExc_TypeError, "negative value for unsigned type");
645 }
646 return i;
647 }
648 }
649
650
651 SWIGSTATICINLINE(int)
652 SWIG_CheckUnsignedLong(PyObject* obj)
653 {
654 SWIG_AsUnsignedLong(obj);
655 if (PyErr_Occurred()) {
656 PyErr_Clear();
657 return 0;
658 } else {
659 return 1;
660 }
661 }
662
663
664 SWIGSTATICINLINE(PyObject* )
665 SWIG_FromUnsignedLong(unsigned long value)
666 {
667 return (value > LONG_MAX) ?
668 PyLong_FromUnsignedLong(value)
669 : PyInt_FromLong(swig_numeric_cast(long,value));
670 }
671
672
673 #include <wx/vlbox.h>
674
675 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
676
677 class wxPyVListBox : public wxVListBox
678 {
679 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
680 public:
681 wxPyVListBox() : wxVListBox() {}
682
683 wxPyVListBox(wxWindow *parent,
684 wxWindowID id = wxID_ANY,
685 const wxPoint& pos = wxDefaultPosition,
686 const wxSize& size = wxDefaultSize,
687 long style = 0,
688 const wxString& name = wxPyVListBoxNameStr)
689 : wxVListBox(parent, id, pos, size, style, name)
690 {}
691
692 // Overridable virtuals
693
694 // the derived class must implement this function to actually draw the item
695 // with the given index on the provided DC
696 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
697 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
698
699
700 // the derived class must implement this method to return the height of the
701 // specified item
702 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
703 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
704
705
706 // this method may be used to draw separators between the lines; note that
707 // the rectangle may be modified, typically to deflate it a bit before
708 // passing to OnDrawItem()
709 //
710 // the base class version doesn't do anything
711 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
712 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
713
714
715 // this method is used to draw the items background and, maybe, a border
716 // around it
717 //
718 // the base class version implements a reasonable default behaviour which
719 // consists in drawing the selected item with the standard background
720 // colour and drawing a border around the item if it is either selected or
721 // current
722 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
723 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
724
725
726 PYPRIVATE;
727 };
728
729 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
730
731 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
732 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
733 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
734 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
735
736
737
738 #include <wx/htmllbox.h>
739
740
741 class wxPyHtmlListBox : public wxHtmlListBox
742 {
743 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
744 public:
745 wxPyHtmlListBox() : wxHtmlListBox() {}
746
747 wxPyHtmlListBox(wxWindow *parent,
748 wxWindowID id = wxID_ANY,
749 const wxPoint& pos = wxDefaultPosition,
750 const wxSize& size = wxDefaultSize,
751 long style = 0,
752 const wxString& name = wxPyVListBoxNameStr)
753 : wxHtmlListBox(parent, id, pos, size, style, name)
754 {}
755
756 // Overridable virtuals
757
758 // this method must be implemented in the derived class and should return
759 // the body (i.e. without <html>) of the HTML for the given item
760 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
761
762 // this function may be overridden to decorate HTML returned by OnGetItem()
763 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
764
765 // TODO:
766 // // this method allows to customize the selection appearance: it may be used
767 // // to specify the colour of the text which normally has the given colour
768 // // colFg when it is inside the selection
769 // //
770 // // by default, the original colour is not used at all and all text has the
771 // // same (default for this system) colour inside selection
772 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
773
774 // // this is the same as GetSelectedTextColour() but allows to customize the
775 // // background colour -- this is even more rarely used as you can change it
776 // // globally using SetSelectionBackground()
777 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
778
779
780 PYPRIVATE;
781 };
782
783
784 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
785
786 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
787 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
788
789
790
791
792
793 #ifdef __WXMAC__
794 // implement dummy classes and such for wxMac
795
796 class wxTaskBarIcon : public wxEvtHandler
797 {
798 public:
799 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
800 };
801
802
803 class wxTaskBarIconEvent : public wxEvent
804 {
805 public:
806 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
807 { wxPyRaiseNotImplemented(); }
808 virtual wxEvent* Clone() const { return NULL; }
809 };
810
811 enum {
812 wxEVT_TASKBAR_MOVE = 0,
813 wxEVT_TASKBAR_LEFT_DOWN = 0,
814 wxEVT_TASKBAR_LEFT_UP = 0,
815 wxEVT_TASKBAR_RIGHT_DOWN = 0,
816 wxEVT_TASKBAR_RIGHT_UP = 0,
817 wxEVT_TASKBAR_LEFT_DCLICK = 0,
818 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
819 };
820 #endif
821
822 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
823 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
824 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
825 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
826 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
827 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
828 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
829 wxArrayString arr;
830 self->GetFilenames(arr);
831 return wxArrayString2PyList_helper(arr);
832 }
833 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
834 wxArrayString arr;
835 self->GetPaths(arr);
836 return wxArrayString2PyList_helper(arr);
837 }
838 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
839 return wxArrayInt2PyList_helper(self->GetSelections());
840 }
841 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
842 return new wxSingleChoiceDialog(parent, message, caption,
843 choices, choices_array, NULL, style, pos);
844 }
845
846 #include <wx/mdi.h>
847
848 // C++ version of Python aware wxWindow
849 class wxPyWindow : public wxWindow
850 {
851 DECLARE_DYNAMIC_CLASS(wxPyWindow)
852 public:
853 wxPyWindow() : wxWindow() {}
854 wxPyWindow(wxWindow* parent, const wxWindowID id,
855 const wxPoint& pos = wxDefaultPosition,
856 const wxSize& size = wxDefaultSize,
857 long style = 0,
858 const wxString& name = wxPyPanelNameStr)
859 : wxWindow(parent, id, pos, size, style, name) {}
860
861
862 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
863 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
864 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
865 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
866
867 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
868 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
869 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
870
871 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
872 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
873
874 DEC_PYCALLBACK__(InitDialog);
875 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
876 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
877 DEC_PYCALLBACK_BOOL_(Validate);
878
879 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
880 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
881 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
882
883 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
884 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
885
886 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
887 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
888
889 PYPRIVATE;
890 };
891
892 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
893
894 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
895 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
896 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
897 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
898
899 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
900 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
901 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
902
903 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
904 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
905
906 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
907 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
908 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
909 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
910
911 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
912 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
913 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
914
915 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
916 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
917
918 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, ShouldInheritColours);
919 IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
920
921
922 // C++ version of Python aware wxPanel
923 class wxPyPanel : public wxPanel
924 {
925 DECLARE_DYNAMIC_CLASS(wxPyPanel)
926 public:
927 wxPyPanel() : wxPanel() {}
928 wxPyPanel(wxWindow* parent, const wxWindowID id,
929 const wxPoint& pos = wxDefaultPosition,
930 const wxSize& size = wxDefaultSize,
931 long style = 0,
932 const wxString& name = wxPyPanelNameStr)
933 : wxPanel(parent, id, pos, size, style, name) {}
934
935
936 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
937 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
938 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
939 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
940
941 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
942 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
943 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
944
945 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
946 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
947
948 DEC_PYCALLBACK__(InitDialog);
949 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
950 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
951 DEC_PYCALLBACK_BOOL_(Validate);
952
953 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
954 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
955 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
956
957 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
958 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
959
960 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
961 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
962
963 PYPRIVATE;
964 };
965
966 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
967
968 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
969 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
970 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
971 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
972
973 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
974 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
975 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
976
977 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
978 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
979
980 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
981 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
982 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
983 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
984
985 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
986 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
987 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
988
989 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
990 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
991
992 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, ShouldInheritColours);
993 IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
994
995 // C++ version of Python aware wxScrolledWindow
996 class wxPyScrolledWindow : public wxScrolledWindow
997 {
998 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
999 public:
1000 wxPyScrolledWindow() : wxScrolledWindow() {}
1001 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
1002 const wxPoint& pos = wxDefaultPosition,
1003 const wxSize& size = wxDefaultSize,
1004 long style = 0,
1005 const wxString& name = wxPyPanelNameStr)
1006 : wxScrolledWindow(parent, id, pos, size, style, name) {}
1007
1008
1009 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1010 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1011 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1012 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1013
1014 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1015 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1016 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1017
1018 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1019 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1020
1021 DEC_PYCALLBACK__(InitDialog);
1022 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1023 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1024 DEC_PYCALLBACK_BOOL_(Validate);
1025
1026 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1027 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1028 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1029
1030 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1031 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1032
1033 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
1034 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1035
1036 PYPRIVATE;
1037 };
1038
1039 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
1040
1041 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
1042 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
1043 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
1044 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
1045
1046 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
1047 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
1048 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
1049
1050 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
1051 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
1052
1053 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
1054 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
1055 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
1056 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
1057
1058 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
1059 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
1060 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
1061
1062 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
1063 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
1064
1065 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
1066 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
1067
1068
1069 #include "wx/wxPython/printfw.h"
1070
1071
1072 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
1073 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1074
1075
1076
1077 // Since this one would be tough and ugly to do with the Macros...
1078 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1079 bool hadErr = False;
1080 bool found;
1081
1082 bool blocked = wxPyBeginBlockThreads();
1083 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
1084 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1085 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
1086 PyObject* val;
1087
1088 val = PyTuple_GetItem(result, 0);
1089 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
1090 else hadErr = True;
1091
1092 val = PyTuple_GetItem(result, 1);
1093 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
1094 else hadErr = True;
1095
1096 val = PyTuple_GetItem(result, 2);
1097 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
1098 else hadErr = True;
1099
1100 val = PyTuple_GetItem(result, 3);
1101 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
1102 else hadErr = True;
1103 }
1104 else
1105 hadErr = True;
1106
1107 if (hadErr) {
1108 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1109 PyErr_Print();
1110 }
1111 Py_DECREF(result);
1112 }
1113 wxPyEndBlockThreads(blocked);
1114 if (! found)
1115 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1116 }
1117
1118 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1119 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1120 }
1121
1122
1123 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1124 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1125 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1126 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1127 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1128 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1129 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1130
1131
1132
1133
1134
1135 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1136 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1137 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1138
1139
1140 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1141 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1142 bool rval=False; \
1143 bool found; \
1144 bool blocked = wxPyBeginBlockThreads(); \
1145 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1146 PyObject* win = wxPyMake_wxObject(a); \
1147 PyObject* dc = wxPyMake_wxObject(&b); \
1148 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1149 Py_DECREF(win); \
1150 Py_DECREF(dc); \
1151 } \
1152 wxPyEndBlockThreads(blocked); \
1153 if (! found) \
1154 rval = PCLASS::CBNAME(a, b); \
1155 return rval; \
1156 } \
1157 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1158 return PCLASS::CBNAME(a, b); \
1159 }
1160
1161
1162
1163
1164 class wxPyPrintPreview : public wxPrintPreview
1165 {
1166 DECLARE_CLASS(wxPyPrintPreview)
1167 public:
1168 wxPyPrintPreview(wxPyPrintout* printout,
1169 wxPyPrintout* printoutForPrinting,
1170 wxPrintDialogData* data=NULL)
1171 : wxPrintPreview(printout, printoutForPrinting, data)
1172 {}
1173 wxPyPrintPreview(wxPyPrintout* printout,
1174 wxPyPrintout* printoutForPrinting,
1175 wxPrintData* data=NULL)
1176 : wxPrintPreview(printout, printoutForPrinting, data)
1177 {}
1178
1179 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1180 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1181 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1182 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1183 DEC_PYCALLBACK_VOID_INT(SetZoom);
1184 DEC_PYCALLBACK_BOOL_BOOL(Print);
1185 DEC_PYCALLBACK_VOID_(DetermineScaling);
1186
1187 PYPRIVATE;
1188 };
1189
1190 // Stupid renamed classes... Fix this in 2.5...
1191 #if defined(__WXMSW__)
1192 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1193 #elif defined(__WXMAC__)
1194 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1195 #else
1196 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1197 #endif
1198
1199 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1200 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1201 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1202 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1203 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1204 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1205 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1206
1207
1208 class wxPyPreviewFrame : public wxPreviewFrame
1209 {
1210 DECLARE_CLASS(wxPyPreviewFrame);
1211 public:
1212 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1213 const wxString& title,
1214 const wxPoint& pos = wxDefaultPosition,
1215 const wxSize& size = wxDefaultSize,
1216 long style = wxDEFAULT_FRAME_STYLE,
1217 const wxString& name = wxPyFrameNameStr)
1218 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1219 {}
1220
1221 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1222 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1223
1224 DEC_PYCALLBACK_VOID_(Initialize);
1225 DEC_PYCALLBACK_VOID_(CreateCanvas);
1226 DEC_PYCALLBACK_VOID_(CreateControlBar);
1227
1228 PYPRIVATE;
1229 };
1230
1231 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1232
1233 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1234 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1235 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1236
1237
1238 class wxPyPreviewControlBar : public wxPreviewControlBar
1239 {
1240 DECLARE_CLASS(wxPyPreviewControlBar);
1241 public:
1242 wxPyPreviewControlBar(wxPrintPreview *preview,
1243 long buttons,
1244 wxWindow *parent,
1245 const wxPoint& pos = wxDefaultPosition,
1246 const wxSize& size = wxDefaultSize,
1247 long style = 0,
1248 const wxString& name = wxPyPanelNameStr)
1249 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1250 {}
1251
1252 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1253
1254 DEC_PYCALLBACK_VOID_(CreateButtons);
1255 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1256
1257 PYPRIVATE;
1258 };
1259
1260 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1261 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1262 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1263
1264 #ifdef __cplusplus
1265 extern "C" {
1266 #endif
1267 static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
1268 PyObject *resultobj;
1269 wxWindow *arg1 = (wxWindow *) 0 ;
1270 int arg2 = (int) (int)-1 ;
1271 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1272 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1273 wxSize const &arg4_defvalue = wxDefaultSize ;
1274 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1275 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1276 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1277 wxString *arg6 = (wxString *) &arg6_defvalue ;
1278 wxPanel *result;
1279 wxPoint temp3 ;
1280 wxSize temp4 ;
1281 bool temp6 = False ;
1282 PyObject * obj0 = 0 ;
1283 PyObject * obj1 = 0 ;
1284 PyObject * obj2 = 0 ;
1285 PyObject * obj3 = 0 ;
1286 PyObject * obj4 = 0 ;
1287 PyObject * obj5 = 0 ;
1288 char *kwnames[] = {
1289 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1290 };
1291
1292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1295 if (obj1) {
1296 arg2 = (int const) SWIG_AsInt(obj1);
1297 if (PyErr_Occurred()) SWIG_fail;
1298 }
1299 if (obj2) {
1300 {
1301 arg3 = &temp3;
1302 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1303 }
1304 }
1305 if (obj3) {
1306 {
1307 arg4 = &temp4;
1308 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1309 }
1310 }
1311 if (obj4) {
1312 arg5 = (long) SWIG_AsLong(obj4);
1313 if (PyErr_Occurred()) SWIG_fail;
1314 }
1315 if (obj5) {
1316 {
1317 arg6 = wxString_in_helper(obj5);
1318 if (arg6 == NULL) SWIG_fail;
1319 temp6 = True;
1320 }
1321 }
1322 {
1323 PyThreadState* __tstate = wxPyBeginAllowThreads();
1324 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1325
1326 wxPyEndAllowThreads(__tstate);
1327 if (PyErr_Occurred()) SWIG_fail;
1328 }
1329 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1330 {
1331 if (temp6)
1332 delete arg6;
1333 }
1334 return resultobj;
1335 fail:
1336 {
1337 if (temp6)
1338 delete arg6;
1339 }
1340 return NULL;
1341 }
1342
1343
1344 static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1345 PyObject *resultobj;
1346 wxPanel *result;
1347 char *kwnames[] = {
1348 NULL
1349 };
1350
1351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1352 {
1353 PyThreadState* __tstate = wxPyBeginAllowThreads();
1354 result = (wxPanel *)new wxPanel();
1355
1356 wxPyEndAllowThreads(__tstate);
1357 if (PyErr_Occurred()) SWIG_fail;
1358 }
1359 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1360 return resultobj;
1361 fail:
1362 return NULL;
1363 }
1364
1365
1366 static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1367 PyObject *resultobj;
1368 wxPanel *arg1 = (wxPanel *) 0 ;
1369 wxWindow *arg2 = (wxWindow *) 0 ;
1370 int arg3 ;
1371 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1372 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1373 wxSize const &arg5_defvalue = wxDefaultSize ;
1374 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1375 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1376 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1377 wxString *arg7 = (wxString *) &arg7_defvalue ;
1378 bool result;
1379 wxPoint temp4 ;
1380 wxSize temp5 ;
1381 bool temp7 = False ;
1382 PyObject * obj0 = 0 ;
1383 PyObject * obj1 = 0 ;
1384 PyObject * obj2 = 0 ;
1385 PyObject * obj3 = 0 ;
1386 PyObject * obj4 = 0 ;
1387 PyObject * obj5 = 0 ;
1388 PyObject * obj6 = 0 ;
1389 char *kwnames[] = {
1390 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1391 };
1392
1393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1396 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1398 arg3 = (int const) SWIG_AsInt(obj2);
1399 if (PyErr_Occurred()) SWIG_fail;
1400 if (obj3) {
1401 {
1402 arg4 = &temp4;
1403 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1404 }
1405 }
1406 if (obj4) {
1407 {
1408 arg5 = &temp5;
1409 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1410 }
1411 }
1412 if (obj5) {
1413 arg6 = (long) SWIG_AsLong(obj5);
1414 if (PyErr_Occurred()) SWIG_fail;
1415 }
1416 if (obj6) {
1417 {
1418 arg7 = wxString_in_helper(obj6);
1419 if (arg7 == NULL) SWIG_fail;
1420 temp7 = True;
1421 }
1422 }
1423 {
1424 PyThreadState* __tstate = wxPyBeginAllowThreads();
1425 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1426
1427 wxPyEndAllowThreads(__tstate);
1428 if (PyErr_Occurred()) SWIG_fail;
1429 }
1430 {
1431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1432 }
1433 {
1434 if (temp7)
1435 delete arg7;
1436 }
1437 return resultobj;
1438 fail:
1439 {
1440 if (temp7)
1441 delete arg7;
1442 }
1443 return NULL;
1444 }
1445
1446
1447 static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1448 PyObject *resultobj;
1449 wxPanel *arg1 = (wxPanel *) 0 ;
1450 PyObject * obj0 = 0 ;
1451 char *kwnames[] = {
1452 (char *) "self", NULL
1453 };
1454
1455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1458 {
1459 PyThreadState* __tstate = wxPyBeginAllowThreads();
1460 (arg1)->InitDialog();
1461
1462 wxPyEndAllowThreads(__tstate);
1463 if (PyErr_Occurred()) SWIG_fail;
1464 }
1465 Py_INCREF(Py_None); resultobj = Py_None;
1466 return resultobj;
1467 fail:
1468 return NULL;
1469 }
1470
1471
1472 static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1473 PyObject *obj;
1474 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1475 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1476 Py_INCREF(obj);
1477 return Py_BuildValue((char *)"");
1478 }
1479 static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1480 PyObject *resultobj;
1481 wxWindow *arg1 = (wxWindow *) 0 ;
1482 int arg2 = (int) (int)-1 ;
1483 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1484 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1485 wxSize const &arg4_defvalue = wxDefaultSize ;
1486 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1487 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1488 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1489 wxString *arg6 = (wxString *) &arg6_defvalue ;
1490 wxScrolledWindow *result;
1491 wxPoint temp3 ;
1492 wxSize temp4 ;
1493 bool temp6 = False ;
1494 PyObject * obj0 = 0 ;
1495 PyObject * obj1 = 0 ;
1496 PyObject * obj2 = 0 ;
1497 PyObject * obj3 = 0 ;
1498 PyObject * obj4 = 0 ;
1499 PyObject * obj5 = 0 ;
1500 char *kwnames[] = {
1501 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1502 };
1503
1504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1507 if (obj1) {
1508 arg2 = (int const) SWIG_AsInt(obj1);
1509 if (PyErr_Occurred()) SWIG_fail;
1510 }
1511 if (obj2) {
1512 {
1513 arg3 = &temp3;
1514 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1515 }
1516 }
1517 if (obj3) {
1518 {
1519 arg4 = &temp4;
1520 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1521 }
1522 }
1523 if (obj4) {
1524 arg5 = (long) SWIG_AsLong(obj4);
1525 if (PyErr_Occurred()) SWIG_fail;
1526 }
1527 if (obj5) {
1528 {
1529 arg6 = wxString_in_helper(obj5);
1530 if (arg6 == NULL) SWIG_fail;
1531 temp6 = True;
1532 }
1533 }
1534 {
1535 PyThreadState* __tstate = wxPyBeginAllowThreads();
1536 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1537
1538 wxPyEndAllowThreads(__tstate);
1539 if (PyErr_Occurred()) SWIG_fail;
1540 }
1541 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1542 {
1543 if (temp6)
1544 delete arg6;
1545 }
1546 return resultobj;
1547 fail:
1548 {
1549 if (temp6)
1550 delete arg6;
1551 }
1552 return NULL;
1553 }
1554
1555
1556 static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1557 PyObject *resultobj;
1558 wxScrolledWindow *result;
1559 char *kwnames[] = {
1560 NULL
1561 };
1562
1563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1564 {
1565 PyThreadState* __tstate = wxPyBeginAllowThreads();
1566 result = (wxScrolledWindow *)new wxScrolledWindow();
1567
1568 wxPyEndAllowThreads(__tstate);
1569 if (PyErr_Occurred()) SWIG_fail;
1570 }
1571 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1572 return resultobj;
1573 fail:
1574 return NULL;
1575 }
1576
1577
1578 static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1579 PyObject *resultobj;
1580 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1581 wxWindow *arg2 = (wxWindow *) 0 ;
1582 int arg3 = (int) (int)-1 ;
1583 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1584 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1585 wxSize const &arg5_defvalue = wxDefaultSize ;
1586 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1587 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1588 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1589 wxString *arg7 = (wxString *) &arg7_defvalue ;
1590 bool result;
1591 wxPoint temp4 ;
1592 wxSize temp5 ;
1593 bool temp7 = False ;
1594 PyObject * obj0 = 0 ;
1595 PyObject * obj1 = 0 ;
1596 PyObject * obj2 = 0 ;
1597 PyObject * obj3 = 0 ;
1598 PyObject * obj4 = 0 ;
1599 PyObject * obj5 = 0 ;
1600 PyObject * obj6 = 0 ;
1601 char *kwnames[] = {
1602 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1603 };
1604
1605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1608 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1610 if (obj2) {
1611 arg3 = (int const) SWIG_AsInt(obj2);
1612 if (PyErr_Occurred()) SWIG_fail;
1613 }
1614 if (obj3) {
1615 {
1616 arg4 = &temp4;
1617 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1618 }
1619 }
1620 if (obj4) {
1621 {
1622 arg5 = &temp5;
1623 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1624 }
1625 }
1626 if (obj5) {
1627 arg6 = (long) SWIG_AsLong(obj5);
1628 if (PyErr_Occurred()) SWIG_fail;
1629 }
1630 if (obj6) {
1631 {
1632 arg7 = wxString_in_helper(obj6);
1633 if (arg7 == NULL) SWIG_fail;
1634 temp7 = True;
1635 }
1636 }
1637 {
1638 PyThreadState* __tstate = wxPyBeginAllowThreads();
1639 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1640
1641 wxPyEndAllowThreads(__tstate);
1642 if (PyErr_Occurred()) SWIG_fail;
1643 }
1644 {
1645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1646 }
1647 {
1648 if (temp7)
1649 delete arg7;
1650 }
1651 return resultobj;
1652 fail:
1653 {
1654 if (temp7)
1655 delete arg7;
1656 }
1657 return NULL;
1658 }
1659
1660
1661 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1662 PyObject *resultobj;
1663 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1664 int arg2 ;
1665 int arg3 ;
1666 int arg4 ;
1667 int arg5 ;
1668 int arg6 = (int) 0 ;
1669 int arg7 = (int) 0 ;
1670 bool arg8 = (bool) False ;
1671 PyObject * obj0 = 0 ;
1672 PyObject * obj1 = 0 ;
1673 PyObject * obj2 = 0 ;
1674 PyObject * obj3 = 0 ;
1675 PyObject * obj4 = 0 ;
1676 PyObject * obj5 = 0 ;
1677 PyObject * obj6 = 0 ;
1678 PyObject * obj7 = 0 ;
1679 char *kwnames[] = {
1680 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1681 };
1682
1683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1686 arg2 = (int) SWIG_AsInt(obj1);
1687 if (PyErr_Occurred()) SWIG_fail;
1688 arg3 = (int) SWIG_AsInt(obj2);
1689 if (PyErr_Occurred()) SWIG_fail;
1690 arg4 = (int) SWIG_AsInt(obj3);
1691 if (PyErr_Occurred()) SWIG_fail;
1692 arg5 = (int) SWIG_AsInt(obj4);
1693 if (PyErr_Occurred()) SWIG_fail;
1694 if (obj5) {
1695 arg6 = (int) SWIG_AsInt(obj5);
1696 if (PyErr_Occurred()) SWIG_fail;
1697 }
1698 if (obj6) {
1699 arg7 = (int) SWIG_AsInt(obj6);
1700 if (PyErr_Occurred()) SWIG_fail;
1701 }
1702 if (obj7) {
1703 arg8 = (bool) SWIG_AsBool(obj7);
1704 if (PyErr_Occurred()) SWIG_fail;
1705 }
1706 {
1707 PyThreadState* __tstate = wxPyBeginAllowThreads();
1708 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1709
1710 wxPyEndAllowThreads(__tstate);
1711 if (PyErr_Occurred()) SWIG_fail;
1712 }
1713 Py_INCREF(Py_None); resultobj = Py_None;
1714 return resultobj;
1715 fail:
1716 return NULL;
1717 }
1718
1719
1720 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1721 PyObject *resultobj;
1722 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1723 int arg2 ;
1724 int arg3 ;
1725 PyObject * obj0 = 0 ;
1726 PyObject * obj1 = 0 ;
1727 PyObject * obj2 = 0 ;
1728 char *kwnames[] = {
1729 (char *) "self",(char *) "x",(char *) "y", NULL
1730 };
1731
1732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1735 arg2 = (int) SWIG_AsInt(obj1);
1736 if (PyErr_Occurred()) SWIG_fail;
1737 arg3 = (int) SWIG_AsInt(obj2);
1738 if (PyErr_Occurred()) SWIG_fail;
1739 {
1740 PyThreadState* __tstate = wxPyBeginAllowThreads();
1741 (arg1)->Scroll(arg2,arg3);
1742
1743 wxPyEndAllowThreads(__tstate);
1744 if (PyErr_Occurred()) SWIG_fail;
1745 }
1746 Py_INCREF(Py_None); resultobj = Py_None;
1747 return resultobj;
1748 fail:
1749 return NULL;
1750 }
1751
1752
1753 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1754 PyObject *resultobj;
1755 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1756 int arg2 ;
1757 int result;
1758 PyObject * obj0 = 0 ;
1759 PyObject * obj1 = 0 ;
1760 char *kwnames[] = {
1761 (char *) "self",(char *) "orient", NULL
1762 };
1763
1764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1767 arg2 = (int) SWIG_AsInt(obj1);
1768 if (PyErr_Occurred()) SWIG_fail;
1769 {
1770 PyThreadState* __tstate = wxPyBeginAllowThreads();
1771 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1772
1773 wxPyEndAllowThreads(__tstate);
1774 if (PyErr_Occurred()) SWIG_fail;
1775 }
1776 resultobj = SWIG_FromInt((int)result);
1777 return resultobj;
1778 fail:
1779 return NULL;
1780 }
1781
1782
1783 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1784 PyObject *resultobj;
1785 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1786 int arg2 ;
1787 int arg3 ;
1788 PyObject * obj0 = 0 ;
1789 PyObject * obj1 = 0 ;
1790 PyObject * obj2 = 0 ;
1791 char *kwnames[] = {
1792 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1793 };
1794
1795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
1796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1798 arg2 = (int) SWIG_AsInt(obj1);
1799 if (PyErr_Occurred()) SWIG_fail;
1800 arg3 = (int) SWIG_AsInt(obj2);
1801 if (PyErr_Occurred()) SWIG_fail;
1802 {
1803 PyThreadState* __tstate = wxPyBeginAllowThreads();
1804 (arg1)->SetScrollPageSize(arg2,arg3);
1805
1806 wxPyEndAllowThreads(__tstate);
1807 if (PyErr_Occurred()) SWIG_fail;
1808 }
1809 Py_INCREF(Py_None); resultobj = Py_None;
1810 return resultobj;
1811 fail:
1812 return NULL;
1813 }
1814
1815
1816 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1817 PyObject *resultobj;
1818 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1819 int arg2 ;
1820 int arg3 ;
1821 PyObject * obj0 = 0 ;
1822 PyObject * obj1 = 0 ;
1823 PyObject * obj2 = 0 ;
1824 char *kwnames[] = {
1825 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1826 };
1827
1828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
1829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1831 arg2 = (int) SWIG_AsInt(obj1);
1832 if (PyErr_Occurred()) SWIG_fail;
1833 arg3 = (int) SWIG_AsInt(obj2);
1834 if (PyErr_Occurred()) SWIG_fail;
1835 {
1836 PyThreadState* __tstate = wxPyBeginAllowThreads();
1837 (arg1)->SetScrollRate(arg2,arg3);
1838
1839 wxPyEndAllowThreads(__tstate);
1840 if (PyErr_Occurred()) SWIG_fail;
1841 }
1842 Py_INCREF(Py_None); resultobj = Py_None;
1843 return resultobj;
1844 fail:
1845 return NULL;
1846 }
1847
1848
1849 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1850 PyObject *resultobj;
1851 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1852 int *arg2 = (int *) 0 ;
1853 int *arg3 = (int *) 0 ;
1854 int temp2 ;
1855 int temp3 ;
1856 PyObject * obj0 = 0 ;
1857 char *kwnames[] = {
1858 (char *) "self", NULL
1859 };
1860
1861 arg2 = &temp2;
1862 arg3 = &temp3;
1863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1866 {
1867 PyThreadState* __tstate = wxPyBeginAllowThreads();
1868 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1869
1870 wxPyEndAllowThreads(__tstate);
1871 if (PyErr_Occurred()) SWIG_fail;
1872 }
1873 Py_INCREF(Py_None); resultobj = Py_None;
1874 {
1875 PyObject *o = PyInt_FromLong((long) (*arg2));
1876 resultobj = t_output_helper(resultobj,o);
1877 }
1878 {
1879 PyObject *o = PyInt_FromLong((long) (*arg3));
1880 resultobj = t_output_helper(resultobj,o);
1881 }
1882 return resultobj;
1883 fail:
1884 return NULL;
1885 }
1886
1887
1888 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1889 PyObject *resultobj;
1890 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1891 bool arg2 ;
1892 bool arg3 ;
1893 PyObject * obj0 = 0 ;
1894 PyObject * obj1 = 0 ;
1895 PyObject * obj2 = 0 ;
1896 char *kwnames[] = {
1897 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1898 };
1899
1900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1903 arg2 = (bool) SWIG_AsBool(obj1);
1904 if (PyErr_Occurred()) SWIG_fail;
1905 arg3 = (bool) SWIG_AsBool(obj2);
1906 if (PyErr_Occurred()) SWIG_fail;
1907 {
1908 PyThreadState* __tstate = wxPyBeginAllowThreads();
1909 (arg1)->EnableScrolling(arg2,arg3);
1910
1911 wxPyEndAllowThreads(__tstate);
1912 if (PyErr_Occurred()) SWIG_fail;
1913 }
1914 Py_INCREF(Py_None); resultobj = Py_None;
1915 return resultobj;
1916 fail:
1917 return NULL;
1918 }
1919
1920
1921 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1922 PyObject *resultobj;
1923 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1924 int *arg2 = (int *) 0 ;
1925 int *arg3 = (int *) 0 ;
1926 int temp2 ;
1927 int temp3 ;
1928 PyObject * obj0 = 0 ;
1929 char *kwnames[] = {
1930 (char *) "self", NULL
1931 };
1932
1933 arg2 = &temp2;
1934 arg3 = &temp3;
1935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1938 {
1939 PyThreadState* __tstate = wxPyBeginAllowThreads();
1940 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1941
1942 wxPyEndAllowThreads(__tstate);
1943 if (PyErr_Occurred()) SWIG_fail;
1944 }
1945 Py_INCREF(Py_None); resultobj = Py_None;
1946 {
1947 PyObject *o = PyInt_FromLong((long) (*arg2));
1948 resultobj = t_output_helper(resultobj,o);
1949 }
1950 {
1951 PyObject *o = PyInt_FromLong((long) (*arg3));
1952 resultobj = t_output_helper(resultobj,o);
1953 }
1954 return resultobj;
1955 fail:
1956 return NULL;
1957 }
1958
1959
1960 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
1961 PyObject *resultobj;
1962 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1963 double arg2 ;
1964 double arg3 ;
1965 PyObject * obj0 = 0 ;
1966 PyObject * obj1 = 0 ;
1967 PyObject * obj2 = 0 ;
1968 char *kwnames[] = {
1969 (char *) "self",(char *) "xs",(char *) "ys", NULL
1970 };
1971
1972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
1973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1975 arg2 = (double) SWIG_AsDouble(obj1);
1976 if (PyErr_Occurred()) SWIG_fail;
1977 arg3 = (double) SWIG_AsDouble(obj2);
1978 if (PyErr_Occurred()) SWIG_fail;
1979 {
1980 PyThreadState* __tstate = wxPyBeginAllowThreads();
1981 (arg1)->SetScale(arg2,arg3);
1982
1983 wxPyEndAllowThreads(__tstate);
1984 if (PyErr_Occurred()) SWIG_fail;
1985 }
1986 Py_INCREF(Py_None); resultobj = Py_None;
1987 return resultobj;
1988 fail:
1989 return NULL;
1990 }
1991
1992
1993 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
1994 PyObject *resultobj;
1995 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1996 double result;
1997 PyObject * obj0 = 0 ;
1998 char *kwnames[] = {
1999 (char *) "self", NULL
2000 };
2001
2002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
2003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2005 {
2006 PyThreadState* __tstate = wxPyBeginAllowThreads();
2007 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
2008
2009 wxPyEndAllowThreads(__tstate);
2010 if (PyErr_Occurred()) SWIG_fail;
2011 }
2012 resultobj = SWIG_FromDouble((double)result);
2013 return resultobj;
2014 fail:
2015 return NULL;
2016 }
2017
2018
2019 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
2020 PyObject *resultobj;
2021 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2022 double result;
2023 PyObject * obj0 = 0 ;
2024 char *kwnames[] = {
2025 (char *) "self", NULL
2026 };
2027
2028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
2029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2031 {
2032 PyThreadState* __tstate = wxPyBeginAllowThreads();
2033 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
2034
2035 wxPyEndAllowThreads(__tstate);
2036 if (PyErr_Occurred()) SWIG_fail;
2037 }
2038 resultobj = SWIG_FromDouble((double)result);
2039 return resultobj;
2040 fail:
2041 return NULL;
2042 }
2043
2044
2045 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2046 PyObject *resultobj;
2047 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2048 wxPoint *arg2 = 0 ;
2049 wxPoint result;
2050 wxPoint temp2 ;
2051 PyObject * obj0 = 0 ;
2052 PyObject * obj1 = 0 ;
2053
2054 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
2055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2057 {
2058 arg2 = &temp2;
2059 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2060 }
2061 {
2062 PyThreadState* __tstate = wxPyBeginAllowThreads();
2063 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
2064
2065 wxPyEndAllowThreads(__tstate);
2066 if (PyErr_Occurred()) SWIG_fail;
2067 }
2068 {
2069 wxPoint * resultptr;
2070 resultptr = new wxPoint((wxPoint &) result);
2071 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2072 }
2073 return resultobj;
2074 fail:
2075 return NULL;
2076 }
2077
2078
2079 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2080 PyObject *resultobj;
2081 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2082 int arg2 ;
2083 int arg3 ;
2084 int *arg4 = (int *) 0 ;
2085 int *arg5 = (int *) 0 ;
2086 int temp4 ;
2087 int temp5 ;
2088 PyObject * obj0 = 0 ;
2089 PyObject * obj1 = 0 ;
2090 PyObject * obj2 = 0 ;
2091
2092 arg4 = &temp4;
2093 arg5 = &temp5;
2094 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2097 arg2 = (int) SWIG_AsInt(obj1);
2098 if (PyErr_Occurred()) SWIG_fail;
2099 arg3 = (int) SWIG_AsInt(obj2);
2100 if (PyErr_Occurred()) SWIG_fail;
2101 {
2102 PyThreadState* __tstate = wxPyBeginAllowThreads();
2103 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
2104
2105 wxPyEndAllowThreads(__tstate);
2106 if (PyErr_Occurred()) SWIG_fail;
2107 }
2108 Py_INCREF(Py_None); resultobj = Py_None;
2109 {
2110 PyObject *o = PyInt_FromLong((long) (*arg4));
2111 resultobj = t_output_helper(resultobj,o);
2112 }
2113 {
2114 PyObject *o = PyInt_FromLong((long) (*arg5));
2115 resultobj = t_output_helper(resultobj,o);
2116 }
2117 return resultobj;
2118 fail:
2119 return NULL;
2120 }
2121
2122
2123 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2124 int argc;
2125 PyObject *argv[4];
2126 int ii;
2127
2128 argc = PyObject_Length(args);
2129 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2130 argv[ii] = PyTuple_GetItem(args,ii);
2131 }
2132 if (argc == 2) {
2133 int _v;
2134 {
2135 void *ptr;
2136 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2137 _v = 0;
2138 PyErr_Clear();
2139 } else {
2140 _v = 1;
2141 }
2142 }
2143 if (_v) {
2144 {
2145 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2146 }
2147 if (_v) {
2148 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
2149 }
2150 }
2151 }
2152 if (argc == 3) {
2153 int _v;
2154 {
2155 void *ptr;
2156 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2157 _v = 0;
2158 PyErr_Clear();
2159 } else {
2160 _v = 1;
2161 }
2162 }
2163 if (_v) {
2164 _v = SWIG_CheckInt(argv[1]);
2165 if (_v) {
2166 _v = SWIG_CheckInt(argv[2]);
2167 if (_v) {
2168 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2169 }
2170 }
2171 }
2172 }
2173
2174 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2175 return NULL;
2176 }
2177
2178
2179 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2180 PyObject *resultobj;
2181 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2182 wxPoint *arg2 = 0 ;
2183 wxPoint result;
2184 wxPoint temp2 ;
2185 PyObject * obj0 = 0 ;
2186 PyObject * obj1 = 0 ;
2187
2188 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2191 {
2192 arg2 = &temp2;
2193 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2194 }
2195 {
2196 PyThreadState* __tstate = wxPyBeginAllowThreads();
2197 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2198
2199 wxPyEndAllowThreads(__tstate);
2200 if (PyErr_Occurred()) SWIG_fail;
2201 }
2202 {
2203 wxPoint * resultptr;
2204 resultptr = new wxPoint((wxPoint &) result);
2205 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2206 }
2207 return resultobj;
2208 fail:
2209 return NULL;
2210 }
2211
2212
2213 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2214 PyObject *resultobj;
2215 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2216 int arg2 ;
2217 int arg3 ;
2218 int *arg4 = (int *) 0 ;
2219 int *arg5 = (int *) 0 ;
2220 int temp4 ;
2221 int temp5 ;
2222 PyObject * obj0 = 0 ;
2223 PyObject * obj1 = 0 ;
2224 PyObject * obj2 = 0 ;
2225
2226 arg4 = &temp4;
2227 arg5 = &temp5;
2228 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2231 arg2 = (int) SWIG_AsInt(obj1);
2232 if (PyErr_Occurred()) SWIG_fail;
2233 arg3 = (int) SWIG_AsInt(obj2);
2234 if (PyErr_Occurred()) SWIG_fail;
2235 {
2236 PyThreadState* __tstate = wxPyBeginAllowThreads();
2237 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2238
2239 wxPyEndAllowThreads(__tstate);
2240 if (PyErr_Occurred()) SWIG_fail;
2241 }
2242 Py_INCREF(Py_None); resultobj = Py_None;
2243 {
2244 PyObject *o = PyInt_FromLong((long) (*arg4));
2245 resultobj = t_output_helper(resultobj,o);
2246 }
2247 {
2248 PyObject *o = PyInt_FromLong((long) (*arg5));
2249 resultobj = t_output_helper(resultobj,o);
2250 }
2251 return resultobj;
2252 fail:
2253 return NULL;
2254 }
2255
2256
2257 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2258 int argc;
2259 PyObject *argv[4];
2260 int ii;
2261
2262 argc = PyObject_Length(args);
2263 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2264 argv[ii] = PyTuple_GetItem(args,ii);
2265 }
2266 if (argc == 2) {
2267 int _v;
2268 {
2269 void *ptr;
2270 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2271 _v = 0;
2272 PyErr_Clear();
2273 } else {
2274 _v = 1;
2275 }
2276 }
2277 if (_v) {
2278 {
2279 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2280 }
2281 if (_v) {
2282 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2283 }
2284 }
2285 }
2286 if (argc == 3) {
2287 int _v;
2288 {
2289 void *ptr;
2290 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2291 _v = 0;
2292 PyErr_Clear();
2293 } else {
2294 _v = 1;
2295 }
2296 }
2297 if (_v) {
2298 _v = SWIG_CheckInt(argv[1]);
2299 if (_v) {
2300 _v = SWIG_CheckInt(argv[2]);
2301 if (_v) {
2302 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2303 }
2304 }
2305 }
2306 }
2307
2308 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2309 return NULL;
2310 }
2311
2312
2313 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
2314 PyObject *resultobj;
2315 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2316 PyObject * obj0 = 0 ;
2317 char *kwnames[] = {
2318 (char *) "self", NULL
2319 };
2320
2321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2324 {
2325 PyThreadState* __tstate = wxPyBeginAllowThreads();
2326 (arg1)->AdjustScrollbars();
2327
2328 wxPyEndAllowThreads(__tstate);
2329 if (PyErr_Occurred()) SWIG_fail;
2330 }
2331 Py_INCREF(Py_None); resultobj = Py_None;
2332 return resultobj;
2333 fail:
2334 return NULL;
2335 }
2336
2337
2338 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
2339 PyObject *resultobj;
2340 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2341 wxScrollWinEvent *arg2 = 0 ;
2342 int result;
2343 PyObject * obj0 = 0 ;
2344 PyObject * obj1 = 0 ;
2345 char *kwnames[] = {
2346 (char *) "self",(char *) "event", NULL
2347 };
2348
2349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2352 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2353 SWIG_POINTER_EXCEPTION | 0)) == -1)
2354 SWIG_fail;
2355 if (arg2 == NULL) {
2356 PyErr_SetString(PyExc_TypeError,"null reference");
2357 SWIG_fail;
2358 }
2359 {
2360 PyThreadState* __tstate = wxPyBeginAllowThreads();
2361 result = (int)(arg1)->CalcScrollInc(*arg2);
2362
2363 wxPyEndAllowThreads(__tstate);
2364 if (PyErr_Occurred()) SWIG_fail;
2365 }
2366 resultobj = SWIG_FromInt((int)result);
2367 return resultobj;
2368 fail:
2369 return NULL;
2370 }
2371
2372
2373 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2374 PyObject *resultobj;
2375 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2376 wxWindow *arg2 = (wxWindow *) 0 ;
2377 PyObject * obj0 = 0 ;
2378 PyObject * obj1 = 0 ;
2379 char *kwnames[] = {
2380 (char *) "self",(char *) "target", NULL
2381 };
2382
2383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2386 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2388 {
2389 PyThreadState* __tstate = wxPyBeginAllowThreads();
2390 (arg1)->SetTargetWindow(arg2);
2391
2392 wxPyEndAllowThreads(__tstate);
2393 if (PyErr_Occurred()) SWIG_fail;
2394 }
2395 Py_INCREF(Py_None); resultobj = Py_None;
2396 return resultobj;
2397 fail:
2398 return NULL;
2399 }
2400
2401
2402 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2403 PyObject *resultobj;
2404 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2405 wxWindow *result;
2406 PyObject * obj0 = 0 ;
2407 char *kwnames[] = {
2408 (char *) "self", NULL
2409 };
2410
2411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2414 {
2415 PyThreadState* __tstate = wxPyBeginAllowThreads();
2416 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2417
2418 wxPyEndAllowThreads(__tstate);
2419 if (PyErr_Occurred()) SWIG_fail;
2420 }
2421 {
2422 resultobj = wxPyMake_wxObject(result);
2423 }
2424 return resultobj;
2425 fail:
2426 return NULL;
2427 }
2428
2429
2430 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2431 PyObject *resultobj;
2432 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2433 wxRect *arg2 = 0 ;
2434 wxRect temp2 ;
2435 PyObject * obj0 = 0 ;
2436 PyObject * obj1 = 0 ;
2437 char *kwnames[] = {
2438 (char *) "self",(char *) "rect", NULL
2439 };
2440
2441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2444 {
2445 arg2 = &temp2;
2446 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2447 }
2448 {
2449 PyThreadState* __tstate = wxPyBeginAllowThreads();
2450 (arg1)->SetTargetRect((wxRect const &)*arg2);
2451
2452 wxPyEndAllowThreads(__tstate);
2453 if (PyErr_Occurred()) SWIG_fail;
2454 }
2455 Py_INCREF(Py_None); resultobj = Py_None;
2456 return resultobj;
2457 fail:
2458 return NULL;
2459 }
2460
2461
2462 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2463 PyObject *resultobj;
2464 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2465 wxRect result;
2466 PyObject * obj0 = 0 ;
2467 char *kwnames[] = {
2468 (char *) "self", NULL
2469 };
2470
2471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2474 {
2475 PyThreadState* __tstate = wxPyBeginAllowThreads();
2476 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2477
2478 wxPyEndAllowThreads(__tstate);
2479 if (PyErr_Occurred()) SWIG_fail;
2480 }
2481 {
2482 wxRect * resultptr;
2483 resultptr = new wxRect((wxRect &) result);
2484 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
2485 }
2486 return resultobj;
2487 fail:
2488 return NULL;
2489 }
2490
2491
2492 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2493 PyObject *obj;
2494 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2495 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2496 Py_INCREF(obj);
2497 return Py_BuildValue((char *)"");
2498 }
2499 static int _wrap_FrameNameStr_set(PyObject *_val) {
2500 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2501 return 1;
2502 }
2503
2504
2505 static PyObject *_wrap_FrameNameStr_get() {
2506 PyObject *pyobj;
2507
2508 {
2509 #if wxUSE_UNICODE
2510 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2511 #else
2512 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2513 #endif
2514 }
2515 return pyobj;
2516 }
2517
2518
2519 static int _wrap_DialogNameStr_set(PyObject *_val) {
2520 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2521 return 1;
2522 }
2523
2524
2525 static PyObject *_wrap_DialogNameStr_get() {
2526 PyObject *pyobj;
2527
2528 {
2529 #if wxUSE_UNICODE
2530 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2531 #else
2532 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2533 #endif
2534 }
2535 return pyobj;
2536 }
2537
2538
2539 static int _wrap_StatusLineNameStr_set(PyObject *_val) {
2540 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2541 return 1;
2542 }
2543
2544
2545 static PyObject *_wrap_StatusLineNameStr_get() {
2546 PyObject *pyobj;
2547
2548 {
2549 #if wxUSE_UNICODE
2550 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2551 #else
2552 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2553 #endif
2554 }
2555 return pyobj;
2556 }
2557
2558
2559 static int _wrap_ToolBarNameStr_set(PyObject *_val) {
2560 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2561 return 1;
2562 }
2563
2564
2565 static PyObject *_wrap_ToolBarNameStr_get() {
2566 PyObject *pyobj;
2567
2568 {
2569 #if wxUSE_UNICODE
2570 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2571 #else
2572 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2573 #endif
2574 }
2575 return pyobj;
2576 }
2577
2578
2579 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2580 PyObject *resultobj;
2581 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2582 bool arg2 = (bool) True ;
2583 PyObject * obj0 = 0 ;
2584 PyObject * obj1 = 0 ;
2585 char *kwnames[] = {
2586 (char *) "self",(char *) "maximize", NULL
2587 };
2588
2589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2592 if (obj1) {
2593 arg2 = (bool) SWIG_AsBool(obj1);
2594 if (PyErr_Occurred()) SWIG_fail;
2595 }
2596 {
2597 PyThreadState* __tstate = wxPyBeginAllowThreads();
2598 (arg1)->Maximize(arg2);
2599
2600 wxPyEndAllowThreads(__tstate);
2601 if (PyErr_Occurred()) SWIG_fail;
2602 }
2603 Py_INCREF(Py_None); resultobj = Py_None;
2604 return resultobj;
2605 fail:
2606 return NULL;
2607 }
2608
2609
2610 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2611 PyObject *resultobj;
2612 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2613 PyObject * obj0 = 0 ;
2614 char *kwnames[] = {
2615 (char *) "self", NULL
2616 };
2617
2618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2621 {
2622 PyThreadState* __tstate = wxPyBeginAllowThreads();
2623 (arg1)->Restore();
2624
2625 wxPyEndAllowThreads(__tstate);
2626 if (PyErr_Occurred()) SWIG_fail;
2627 }
2628 Py_INCREF(Py_None); resultobj = Py_None;
2629 return resultobj;
2630 fail:
2631 return NULL;
2632 }
2633
2634
2635 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2636 PyObject *resultobj;
2637 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2638 bool arg2 = (bool) True ;
2639 PyObject * obj0 = 0 ;
2640 PyObject * obj1 = 0 ;
2641 char *kwnames[] = {
2642 (char *) "self",(char *) "iconize", NULL
2643 };
2644
2645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2648 if (obj1) {
2649 arg2 = (bool) SWIG_AsBool(obj1);
2650 if (PyErr_Occurred()) SWIG_fail;
2651 }
2652 {
2653 PyThreadState* __tstate = wxPyBeginAllowThreads();
2654 (arg1)->Iconize(arg2);
2655
2656 wxPyEndAllowThreads(__tstate);
2657 if (PyErr_Occurred()) SWIG_fail;
2658 }
2659 Py_INCREF(Py_None); resultobj = Py_None;
2660 return resultobj;
2661 fail:
2662 return NULL;
2663 }
2664
2665
2666 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2667 PyObject *resultobj;
2668 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2669 bool result;
2670 PyObject * obj0 = 0 ;
2671 char *kwnames[] = {
2672 (char *) "self", NULL
2673 };
2674
2675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2678 {
2679 PyThreadState* __tstate = wxPyBeginAllowThreads();
2680 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2681
2682 wxPyEndAllowThreads(__tstate);
2683 if (PyErr_Occurred()) SWIG_fail;
2684 }
2685 {
2686 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2687 }
2688 return resultobj;
2689 fail:
2690 return NULL;
2691 }
2692
2693
2694 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2695 PyObject *resultobj;
2696 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2697 bool result;
2698 PyObject * obj0 = 0 ;
2699 char *kwnames[] = {
2700 (char *) "self", NULL
2701 };
2702
2703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2706 {
2707 PyThreadState* __tstate = wxPyBeginAllowThreads();
2708 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2709
2710 wxPyEndAllowThreads(__tstate);
2711 if (PyErr_Occurred()) SWIG_fail;
2712 }
2713 {
2714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2715 }
2716 return resultobj;
2717 fail:
2718 return NULL;
2719 }
2720
2721
2722 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2723 PyObject *resultobj;
2724 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2725 wxIcon result;
2726 PyObject * obj0 = 0 ;
2727 char *kwnames[] = {
2728 (char *) "self", NULL
2729 };
2730
2731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2734 {
2735 PyThreadState* __tstate = wxPyBeginAllowThreads();
2736 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2737
2738 wxPyEndAllowThreads(__tstate);
2739 if (PyErr_Occurred()) SWIG_fail;
2740 }
2741 {
2742 wxIcon * resultptr;
2743 resultptr = new wxIcon((wxIcon &) result);
2744 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
2745 }
2746 return resultobj;
2747 fail:
2748 return NULL;
2749 }
2750
2751
2752 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2753 PyObject *resultobj;
2754 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2755 wxIcon *arg2 = 0 ;
2756 PyObject * obj0 = 0 ;
2757 PyObject * obj1 = 0 ;
2758 char *kwnames[] = {
2759 (char *) "self",(char *) "icon", NULL
2760 };
2761
2762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2765 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
2766 SWIG_POINTER_EXCEPTION | 0)) == -1)
2767 SWIG_fail;
2768 if (arg2 == NULL) {
2769 PyErr_SetString(PyExc_TypeError,"null reference");
2770 SWIG_fail;
2771 }
2772 {
2773 PyThreadState* __tstate = wxPyBeginAllowThreads();
2774 (arg1)->SetIcon((wxIcon const &)*arg2);
2775
2776 wxPyEndAllowThreads(__tstate);
2777 if (PyErr_Occurred()) SWIG_fail;
2778 }
2779 Py_INCREF(Py_None); resultobj = Py_None;
2780 return resultobj;
2781 fail:
2782 return NULL;
2783 }
2784
2785
2786 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2787 PyObject *resultobj;
2788 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2789 wxIconBundle *arg2 = 0 ;
2790 PyObject * obj0 = 0 ;
2791 PyObject * obj1 = 0 ;
2792 char *kwnames[] = {
2793 (char *) "self",(char *) "icons", NULL
2794 };
2795
2796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2799 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
2800 SWIG_POINTER_EXCEPTION | 0)) == -1)
2801 SWIG_fail;
2802 if (arg2 == NULL) {
2803 PyErr_SetString(PyExc_TypeError,"null reference");
2804 SWIG_fail;
2805 }
2806 {
2807 PyThreadState* __tstate = wxPyBeginAllowThreads();
2808 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2809
2810 wxPyEndAllowThreads(__tstate);
2811 if (PyErr_Occurred()) SWIG_fail;
2812 }
2813 Py_INCREF(Py_None); resultobj = Py_None;
2814 return resultobj;
2815 fail:
2816 return NULL;
2817 }
2818
2819
2820 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2821 PyObject *resultobj;
2822 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2823 bool arg2 ;
2824 long arg3 = (long) wxFULLSCREEN_ALL ;
2825 bool result;
2826 PyObject * obj0 = 0 ;
2827 PyObject * obj1 = 0 ;
2828 PyObject * obj2 = 0 ;
2829 char *kwnames[] = {
2830 (char *) "self",(char *) "show",(char *) "style", NULL
2831 };
2832
2833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2836 arg2 = (bool) SWIG_AsBool(obj1);
2837 if (PyErr_Occurred()) SWIG_fail;
2838 if (obj2) {
2839 arg3 = (long) SWIG_AsLong(obj2);
2840 if (PyErr_Occurred()) SWIG_fail;
2841 }
2842 {
2843 PyThreadState* __tstate = wxPyBeginAllowThreads();
2844 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2845
2846 wxPyEndAllowThreads(__tstate);
2847 if (PyErr_Occurred()) SWIG_fail;
2848 }
2849 {
2850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2851 }
2852 return resultobj;
2853 fail:
2854 return NULL;
2855 }
2856
2857
2858 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2859 PyObject *resultobj;
2860 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2861 bool result;
2862 PyObject * obj0 = 0 ;
2863 char *kwnames[] = {
2864 (char *) "self", NULL
2865 };
2866
2867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2870 {
2871 PyThreadState* __tstate = wxPyBeginAllowThreads();
2872 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2873
2874 wxPyEndAllowThreads(__tstate);
2875 if (PyErr_Occurred()) SWIG_fail;
2876 }
2877 {
2878 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2879 }
2880 return resultobj;
2881 fail:
2882 return NULL;
2883 }
2884
2885
2886 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2887 PyObject *resultobj;
2888 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2889 wxString *arg2 = 0 ;
2890 bool temp2 = False ;
2891 PyObject * obj0 = 0 ;
2892 PyObject * obj1 = 0 ;
2893 char *kwnames[] = {
2894 (char *) "self",(char *) "title", NULL
2895 };
2896
2897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2900 {
2901 arg2 = wxString_in_helper(obj1);
2902 if (arg2 == NULL) SWIG_fail;
2903 temp2 = True;
2904 }
2905 {
2906 PyThreadState* __tstate = wxPyBeginAllowThreads();
2907 (arg1)->SetTitle((wxString const &)*arg2);
2908
2909 wxPyEndAllowThreads(__tstate);
2910 if (PyErr_Occurred()) SWIG_fail;
2911 }
2912 Py_INCREF(Py_None); resultobj = Py_None;
2913 {
2914 if (temp2)
2915 delete arg2;
2916 }
2917 return resultobj;
2918 fail:
2919 {
2920 if (temp2)
2921 delete arg2;
2922 }
2923 return NULL;
2924 }
2925
2926
2927 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2928 PyObject *resultobj;
2929 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2930 wxString result;
2931 PyObject * obj0 = 0 ;
2932 char *kwnames[] = {
2933 (char *) "self", NULL
2934 };
2935
2936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2939 {
2940 PyThreadState* __tstate = wxPyBeginAllowThreads();
2941 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2942
2943 wxPyEndAllowThreads(__tstate);
2944 if (PyErr_Occurred()) SWIG_fail;
2945 }
2946 {
2947 #if wxUSE_UNICODE
2948 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2949 #else
2950 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2951 #endif
2952 }
2953 return resultobj;
2954 fail:
2955 return NULL;
2956 }
2957
2958
2959 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2960 PyObject *resultobj;
2961 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2962 wxRegion *arg2 = 0 ;
2963 bool result;
2964 PyObject * obj0 = 0 ;
2965 PyObject * obj1 = 0 ;
2966 char *kwnames[] = {
2967 (char *) "self",(char *) "region", NULL
2968 };
2969
2970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2973 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
2974 SWIG_POINTER_EXCEPTION | 0)) == -1)
2975 SWIG_fail;
2976 if (arg2 == NULL) {
2977 PyErr_SetString(PyExc_TypeError,"null reference");
2978 SWIG_fail;
2979 }
2980 {
2981 PyThreadState* __tstate = wxPyBeginAllowThreads();
2982 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2983
2984 wxPyEndAllowThreads(__tstate);
2985 if (PyErr_Occurred()) SWIG_fail;
2986 }
2987 {
2988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2989 }
2990 return resultobj;
2991 fail:
2992 return NULL;
2993 }
2994
2995
2996 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
2997 PyObject *obj;
2998 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2999 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
3000 Py_INCREF(obj);
3001 return Py_BuildValue((char *)"");
3002 }
3003 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
3004 PyObject *resultobj;
3005 wxWindow *arg1 = (wxWindow *) 0 ;
3006 int arg2 ;
3007 wxString *arg3 = 0 ;
3008 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3009 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3010 wxSize const &arg5_defvalue = wxDefaultSize ;
3011 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3012 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3013 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3014 wxString *arg7 = (wxString *) &arg7_defvalue ;
3015 wxFrame *result;
3016 bool temp3 = False ;
3017 wxPoint temp4 ;
3018 wxSize temp5 ;
3019 bool temp7 = False ;
3020 PyObject * obj0 = 0 ;
3021 PyObject * obj1 = 0 ;
3022 PyObject * obj2 = 0 ;
3023 PyObject * obj3 = 0 ;
3024 PyObject * obj4 = 0 ;
3025 PyObject * obj5 = 0 ;
3026 PyObject * obj6 = 0 ;
3027 char *kwnames[] = {
3028 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3029 };
3030
3031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3034 arg2 = (int const) SWIG_AsInt(obj1);
3035 if (PyErr_Occurred()) SWIG_fail;
3036 {
3037 arg3 = wxString_in_helper(obj2);
3038 if (arg3 == NULL) SWIG_fail;
3039 temp3 = True;
3040 }
3041 if (obj3) {
3042 {
3043 arg4 = &temp4;
3044 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3045 }
3046 }
3047 if (obj4) {
3048 {
3049 arg5 = &temp5;
3050 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3051 }
3052 }
3053 if (obj5) {
3054 arg6 = (long) SWIG_AsLong(obj5);
3055 if (PyErr_Occurred()) SWIG_fail;
3056 }
3057 if (obj6) {
3058 {
3059 arg7 = wxString_in_helper(obj6);
3060 if (arg7 == NULL) SWIG_fail;
3061 temp7 = True;
3062 }
3063 }
3064 {
3065 PyThreadState* __tstate = wxPyBeginAllowThreads();
3066 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3067
3068 wxPyEndAllowThreads(__tstate);
3069 if (PyErr_Occurred()) SWIG_fail;
3070 }
3071 {
3072 resultobj = wxPyMake_wxObject(result);
3073 }
3074 {
3075 if (temp3)
3076 delete arg3;
3077 }
3078 {
3079 if (temp7)
3080 delete arg7;
3081 }
3082 return resultobj;
3083 fail:
3084 {
3085 if (temp3)
3086 delete arg3;
3087 }
3088 {
3089 if (temp7)
3090 delete arg7;
3091 }
3092 return NULL;
3093 }
3094
3095
3096 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3097 PyObject *resultobj;
3098 wxFrame *result;
3099 char *kwnames[] = {
3100 NULL
3101 };
3102
3103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3104 {
3105 PyThreadState* __tstate = wxPyBeginAllowThreads();
3106 result = (wxFrame *)new wxFrame();
3107
3108 wxPyEndAllowThreads(__tstate);
3109 if (PyErr_Occurred()) SWIG_fail;
3110 }
3111 {
3112 resultobj = wxPyMake_wxObject(result);
3113 }
3114 return resultobj;
3115 fail:
3116 return NULL;
3117 }
3118
3119
3120 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3121 PyObject *resultobj;
3122 wxFrame *arg1 = (wxFrame *) 0 ;
3123 wxWindow *arg2 = (wxWindow *) 0 ;
3124 int arg3 ;
3125 wxString *arg4 = 0 ;
3126 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3127 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3128 wxSize const &arg6_defvalue = wxDefaultSize ;
3129 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3130 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3131 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3132 wxString *arg8 = (wxString *) &arg8_defvalue ;
3133 bool result;
3134 bool temp4 = False ;
3135 wxPoint temp5 ;
3136 wxSize temp6 ;
3137 bool temp8 = False ;
3138 PyObject * obj0 = 0 ;
3139 PyObject * obj1 = 0 ;
3140 PyObject * obj2 = 0 ;
3141 PyObject * obj3 = 0 ;
3142 PyObject * obj4 = 0 ;
3143 PyObject * obj5 = 0 ;
3144 PyObject * obj6 = 0 ;
3145 PyObject * obj7 = 0 ;
3146 char *kwnames[] = {
3147 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3148 };
3149
3150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3153 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3155 arg3 = (int const) SWIG_AsInt(obj2);
3156 if (PyErr_Occurred()) SWIG_fail;
3157 {
3158 arg4 = wxString_in_helper(obj3);
3159 if (arg4 == NULL) SWIG_fail;
3160 temp4 = True;
3161 }
3162 if (obj4) {
3163 {
3164 arg5 = &temp5;
3165 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3166 }
3167 }
3168 if (obj5) {
3169 {
3170 arg6 = &temp6;
3171 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3172 }
3173 }
3174 if (obj6) {
3175 arg7 = (long) SWIG_AsLong(obj6);
3176 if (PyErr_Occurred()) SWIG_fail;
3177 }
3178 if (obj7) {
3179 {
3180 arg8 = wxString_in_helper(obj7);
3181 if (arg8 == NULL) SWIG_fail;
3182 temp8 = True;
3183 }
3184 }
3185 {
3186 PyThreadState* __tstate = wxPyBeginAllowThreads();
3187 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3188
3189 wxPyEndAllowThreads(__tstate);
3190 if (PyErr_Occurred()) SWIG_fail;
3191 }
3192 {
3193 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3194 }
3195 {
3196 if (temp4)
3197 delete arg4;
3198 }
3199 {
3200 if (temp8)
3201 delete arg8;
3202 }
3203 return resultobj;
3204 fail:
3205 {
3206 if (temp4)
3207 delete arg4;
3208 }
3209 {
3210 if (temp8)
3211 delete arg8;
3212 }
3213 return NULL;
3214 }
3215
3216
3217 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
3218 PyObject *resultobj;
3219 wxFrame *arg1 = (wxFrame *) 0 ;
3220 wxPoint result;
3221 PyObject * obj0 = 0 ;
3222 char *kwnames[] = {
3223 (char *) "self", NULL
3224 };
3225
3226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3229 {
3230 PyThreadState* __tstate = wxPyBeginAllowThreads();
3231 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3232
3233 wxPyEndAllowThreads(__tstate);
3234 if (PyErr_Occurred()) SWIG_fail;
3235 }
3236 {
3237 wxPoint * resultptr;
3238 resultptr = new wxPoint((wxPoint &) result);
3239 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3240 }
3241 return resultobj;
3242 fail:
3243 return NULL;
3244 }
3245
3246
3247 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3248 PyObject *resultobj;
3249 wxFrame *arg1 = (wxFrame *) 0 ;
3250 PyObject * obj0 = 0 ;
3251 char *kwnames[] = {
3252 (char *) "self", NULL
3253 };
3254
3255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3258 {
3259 PyThreadState* __tstate = wxPyBeginAllowThreads();
3260 (arg1)->SendSizeEvent();
3261
3262 wxPyEndAllowThreads(__tstate);
3263 if (PyErr_Occurred()) SWIG_fail;
3264 }
3265 Py_INCREF(Py_None); resultobj = Py_None;
3266 return resultobj;
3267 fail:
3268 return NULL;
3269 }
3270
3271
3272 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3273 PyObject *resultobj;
3274 wxFrame *arg1 = (wxFrame *) 0 ;
3275 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3276 PyObject * obj0 = 0 ;
3277 PyObject * obj1 = 0 ;
3278 char *kwnames[] = {
3279 (char *) "self",(char *) "menubar", NULL
3280 };
3281
3282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3285 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3287 {
3288 PyThreadState* __tstate = wxPyBeginAllowThreads();
3289 (arg1)->SetMenuBar(arg2);
3290
3291 wxPyEndAllowThreads(__tstate);
3292 if (PyErr_Occurred()) SWIG_fail;
3293 }
3294 Py_INCREF(Py_None); resultobj = Py_None;
3295 return resultobj;
3296 fail:
3297 return NULL;
3298 }
3299
3300
3301 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3302 PyObject *resultobj;
3303 wxFrame *arg1 = (wxFrame *) 0 ;
3304 wxMenuBar *result;
3305 PyObject * obj0 = 0 ;
3306 char *kwnames[] = {
3307 (char *) "self", NULL
3308 };
3309
3310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3313 {
3314 PyThreadState* __tstate = wxPyBeginAllowThreads();
3315 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3316
3317 wxPyEndAllowThreads(__tstate);
3318 if (PyErr_Occurred()) SWIG_fail;
3319 }
3320 {
3321 resultobj = wxPyMake_wxObject(result);
3322 }
3323 return resultobj;
3324 fail:
3325 return NULL;
3326 }
3327
3328
3329 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3330 PyObject *resultobj;
3331 wxFrame *arg1 = (wxFrame *) 0 ;
3332 int arg2 ;
3333 bool result;
3334 PyObject * obj0 = 0 ;
3335 PyObject * obj1 = 0 ;
3336 char *kwnames[] = {
3337 (char *) "self",(char *) "winid", NULL
3338 };
3339
3340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3343 arg2 = (int) SWIG_AsInt(obj1);
3344 if (PyErr_Occurred()) SWIG_fail;
3345 {
3346 PyThreadState* __tstate = wxPyBeginAllowThreads();
3347 result = (bool)(arg1)->ProcessCommand(arg2);
3348
3349 wxPyEndAllowThreads(__tstate);
3350 if (PyErr_Occurred()) SWIG_fail;
3351 }
3352 {
3353 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3354 }
3355 return resultobj;
3356 fail:
3357 return NULL;
3358 }
3359
3360
3361 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3362 PyObject *resultobj;
3363 wxFrame *arg1 = (wxFrame *) 0 ;
3364 int arg2 = (int) 1 ;
3365 long arg3 = (long) wxST_SIZEGRIP ;
3366 int arg4 = (int) 0 ;
3367 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3368 wxString *arg5 = (wxString *) &arg5_defvalue ;
3369 wxStatusBar *result;
3370 bool temp5 = False ;
3371 PyObject * obj0 = 0 ;
3372 PyObject * obj1 = 0 ;
3373 PyObject * obj2 = 0 ;
3374 PyObject * obj3 = 0 ;
3375 PyObject * obj4 = 0 ;
3376 char *kwnames[] = {
3377 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3378 };
3379
3380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3383 if (obj1) {
3384 arg2 = (int) SWIG_AsInt(obj1);
3385 if (PyErr_Occurred()) SWIG_fail;
3386 }
3387 if (obj2) {
3388 arg3 = (long) SWIG_AsLong(obj2);
3389 if (PyErr_Occurred()) SWIG_fail;
3390 }
3391 if (obj3) {
3392 arg4 = (int) SWIG_AsInt(obj3);
3393 if (PyErr_Occurred()) SWIG_fail;
3394 }
3395 if (obj4) {
3396 {
3397 arg5 = wxString_in_helper(obj4);
3398 if (arg5 == NULL) SWIG_fail;
3399 temp5 = True;
3400 }
3401 }
3402 {
3403 PyThreadState* __tstate = wxPyBeginAllowThreads();
3404 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3405
3406 wxPyEndAllowThreads(__tstate);
3407 if (PyErr_Occurred()) SWIG_fail;
3408 }
3409 {
3410 resultobj = wxPyMake_wxObject(result);
3411 }
3412 {
3413 if (temp5)
3414 delete arg5;
3415 }
3416 return resultobj;
3417 fail:
3418 {
3419 if (temp5)
3420 delete arg5;
3421 }
3422 return NULL;
3423 }
3424
3425
3426 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3427 PyObject *resultobj;
3428 wxFrame *arg1 = (wxFrame *) 0 ;
3429 wxStatusBar *result;
3430 PyObject * obj0 = 0 ;
3431 char *kwnames[] = {
3432 (char *) "self", NULL
3433 };
3434
3435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3438 {
3439 PyThreadState* __tstate = wxPyBeginAllowThreads();
3440 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3441
3442 wxPyEndAllowThreads(__tstate);
3443 if (PyErr_Occurred()) SWIG_fail;
3444 }
3445 {
3446 resultobj = wxPyMake_wxObject(result);
3447 }
3448 return resultobj;
3449 fail:
3450 return NULL;
3451 }
3452
3453
3454 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3455 PyObject *resultobj;
3456 wxFrame *arg1 = (wxFrame *) 0 ;
3457 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3458 PyObject * obj0 = 0 ;
3459 PyObject * obj1 = 0 ;
3460 char *kwnames[] = {
3461 (char *) "self",(char *) "statBar", NULL
3462 };
3463
3464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3467 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3469 {
3470 PyThreadState* __tstate = wxPyBeginAllowThreads();
3471 (arg1)->SetStatusBar(arg2);
3472
3473 wxPyEndAllowThreads(__tstate);
3474 if (PyErr_Occurred()) SWIG_fail;
3475 }
3476 Py_INCREF(Py_None); resultobj = Py_None;
3477 return resultobj;
3478 fail:
3479 return NULL;
3480 }
3481
3482
3483 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3484 PyObject *resultobj;
3485 wxFrame *arg1 = (wxFrame *) 0 ;
3486 wxString *arg2 = 0 ;
3487 int arg3 = (int) 0 ;
3488 bool temp2 = False ;
3489 PyObject * obj0 = 0 ;
3490 PyObject * obj1 = 0 ;
3491 PyObject * obj2 = 0 ;
3492 char *kwnames[] = {
3493 (char *) "self",(char *) "text",(char *) "number", NULL
3494 };
3495
3496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3499 {
3500 arg2 = wxString_in_helper(obj1);
3501 if (arg2 == NULL) SWIG_fail;
3502 temp2 = True;
3503 }
3504 if (obj2) {
3505 arg3 = (int) SWIG_AsInt(obj2);
3506 if (PyErr_Occurred()) SWIG_fail;
3507 }
3508 {
3509 PyThreadState* __tstate = wxPyBeginAllowThreads();
3510 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3511
3512 wxPyEndAllowThreads(__tstate);
3513 if (PyErr_Occurred()) SWIG_fail;
3514 }
3515 Py_INCREF(Py_None); resultobj = Py_None;
3516 {
3517 if (temp2)
3518 delete arg2;
3519 }
3520 return resultobj;
3521 fail:
3522 {
3523 if (temp2)
3524 delete arg2;
3525 }
3526 return NULL;
3527 }
3528
3529
3530 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3531 PyObject *resultobj;
3532 wxFrame *arg1 = (wxFrame *) 0 ;
3533 int arg2 ;
3534 int *arg3 = (int *) 0 ;
3535 PyObject * obj0 = 0 ;
3536 PyObject * obj1 = 0 ;
3537 char *kwnames[] = {
3538 (char *) "self",(char *) "widths", NULL
3539 };
3540
3541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3544 {
3545 arg2 = PyList_Size(obj1);
3546 arg3 = int_LIST_helper(obj1);
3547 if (arg3 == NULL) SWIG_fail;
3548 }
3549 {
3550 PyThreadState* __tstate = wxPyBeginAllowThreads();
3551 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3552
3553 wxPyEndAllowThreads(__tstate);
3554 if (PyErr_Occurred()) SWIG_fail;
3555 }
3556 Py_INCREF(Py_None); resultobj = Py_None;
3557 {
3558 if (arg3) delete [] arg3;
3559 }
3560 return resultobj;
3561 fail:
3562 {
3563 if (arg3) delete [] arg3;
3564 }
3565 return NULL;
3566 }
3567
3568
3569 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3570 PyObject *resultobj;
3571 wxFrame *arg1 = (wxFrame *) 0 ;
3572 wxString *arg2 = 0 ;
3573 int arg3 = (int) 0 ;
3574 bool temp2 = False ;
3575 PyObject * obj0 = 0 ;
3576 PyObject * obj1 = 0 ;
3577 PyObject * obj2 = 0 ;
3578 char *kwnames[] = {
3579 (char *) "self",(char *) "text",(char *) "number", NULL
3580 };
3581
3582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3585 {
3586 arg2 = wxString_in_helper(obj1);
3587 if (arg2 == NULL) SWIG_fail;
3588 temp2 = True;
3589 }
3590 if (obj2) {
3591 arg3 = (int) SWIG_AsInt(obj2);
3592 if (PyErr_Occurred()) SWIG_fail;
3593 }
3594 {
3595 PyThreadState* __tstate = wxPyBeginAllowThreads();
3596 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3597
3598 wxPyEndAllowThreads(__tstate);
3599 if (PyErr_Occurred()) SWIG_fail;
3600 }
3601 Py_INCREF(Py_None); resultobj = Py_None;
3602 {
3603 if (temp2)
3604 delete arg2;
3605 }
3606 return resultobj;
3607 fail:
3608 {
3609 if (temp2)
3610 delete arg2;
3611 }
3612 return NULL;
3613 }
3614
3615
3616 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3617 PyObject *resultobj;
3618 wxFrame *arg1 = (wxFrame *) 0 ;
3619 int arg2 = (int) 0 ;
3620 PyObject * obj0 = 0 ;
3621 PyObject * obj1 = 0 ;
3622 char *kwnames[] = {
3623 (char *) "self",(char *) "number", NULL
3624 };
3625
3626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3629 if (obj1) {
3630 arg2 = (int) SWIG_AsInt(obj1);
3631 if (PyErr_Occurred()) SWIG_fail;
3632 }
3633 {
3634 PyThreadState* __tstate = wxPyBeginAllowThreads();
3635 (arg1)->PopStatusText(arg2);
3636
3637 wxPyEndAllowThreads(__tstate);
3638 if (PyErr_Occurred()) SWIG_fail;
3639 }
3640 Py_INCREF(Py_None); resultobj = Py_None;
3641 return resultobj;
3642 fail:
3643 return NULL;
3644 }
3645
3646
3647 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3648 PyObject *resultobj;
3649 wxFrame *arg1 = (wxFrame *) 0 ;
3650 int arg2 ;
3651 PyObject * obj0 = 0 ;
3652 PyObject * obj1 = 0 ;
3653 char *kwnames[] = {
3654 (char *) "self",(char *) "n", NULL
3655 };
3656
3657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
3658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3660 arg2 = (int) SWIG_AsInt(obj1);
3661 if (PyErr_Occurred()) SWIG_fail;
3662 {
3663 PyThreadState* __tstate = wxPyBeginAllowThreads();
3664 (arg1)->SetStatusBarPane(arg2);
3665
3666 wxPyEndAllowThreads(__tstate);
3667 if (PyErr_Occurred()) SWIG_fail;
3668 }
3669 Py_INCREF(Py_None); resultobj = Py_None;
3670 return resultobj;
3671 fail:
3672 return NULL;
3673 }
3674
3675
3676 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3677 PyObject *resultobj;
3678 wxFrame *arg1 = (wxFrame *) 0 ;
3679 int result;
3680 PyObject * obj0 = 0 ;
3681 char *kwnames[] = {
3682 (char *) "self", NULL
3683 };
3684
3685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3688 {
3689 PyThreadState* __tstate = wxPyBeginAllowThreads();
3690 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3691
3692 wxPyEndAllowThreads(__tstate);
3693 if (PyErr_Occurred()) SWIG_fail;
3694 }
3695 resultobj = SWIG_FromInt((int)result);
3696 return resultobj;
3697 fail:
3698 return NULL;
3699 }
3700
3701
3702 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3703 PyObject *resultobj;
3704 wxFrame *arg1 = (wxFrame *) 0 ;
3705 long arg2 = (long) -1 ;
3706 int arg3 = (int) -1 ;
3707 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3708 wxString *arg4 = (wxString *) &arg4_defvalue ;
3709 wxToolBar *result;
3710 bool temp4 = False ;
3711 PyObject * obj0 = 0 ;
3712 PyObject * obj1 = 0 ;
3713 PyObject * obj2 = 0 ;
3714 PyObject * obj3 = 0 ;
3715 char *kwnames[] = {
3716 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3717 };
3718
3719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3722 if (obj1) {
3723 arg2 = (long) SWIG_AsLong(obj1);
3724 if (PyErr_Occurred()) SWIG_fail;
3725 }
3726 if (obj2) {
3727 arg3 = (int) SWIG_AsInt(obj2);
3728 if (PyErr_Occurred()) SWIG_fail;
3729 }
3730 if (obj3) {
3731 {
3732 arg4 = wxString_in_helper(obj3);
3733 if (arg4 == NULL) SWIG_fail;
3734 temp4 = True;
3735 }
3736 }
3737 {
3738 PyThreadState* __tstate = wxPyBeginAllowThreads();
3739 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3740
3741 wxPyEndAllowThreads(__tstate);
3742 if (PyErr_Occurred()) SWIG_fail;
3743 }
3744 {
3745 resultobj = wxPyMake_wxObject(result);
3746 }
3747 {
3748 if (temp4)
3749 delete arg4;
3750 }
3751 return resultobj;
3752 fail:
3753 {
3754 if (temp4)
3755 delete arg4;
3756 }
3757 return NULL;
3758 }
3759
3760
3761 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3762 PyObject *resultobj;
3763 wxFrame *arg1 = (wxFrame *) 0 ;
3764 wxToolBar *result;
3765 PyObject * obj0 = 0 ;
3766 char *kwnames[] = {
3767 (char *) "self", NULL
3768 };
3769
3770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3773 {
3774 PyThreadState* __tstate = wxPyBeginAllowThreads();
3775 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3776
3777 wxPyEndAllowThreads(__tstate);
3778 if (PyErr_Occurred()) SWIG_fail;
3779 }
3780 {
3781 resultobj = wxPyMake_wxObject(result);
3782 }
3783 return resultobj;
3784 fail:
3785 return NULL;
3786 }
3787
3788
3789 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3790 PyObject *resultobj;
3791 wxFrame *arg1 = (wxFrame *) 0 ;
3792 wxToolBar *arg2 = (wxToolBar *) 0 ;
3793 PyObject * obj0 = 0 ;
3794 PyObject * obj1 = 0 ;
3795 char *kwnames[] = {
3796 (char *) "self",(char *) "toolbar", NULL
3797 };
3798
3799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3802 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
3803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3804 {
3805 PyThreadState* __tstate = wxPyBeginAllowThreads();
3806 (arg1)->SetToolBar(arg2);
3807
3808 wxPyEndAllowThreads(__tstate);
3809 if (PyErr_Occurred()) SWIG_fail;
3810 }
3811 Py_INCREF(Py_None); resultobj = Py_None;
3812 return resultobj;
3813 fail:
3814 return NULL;
3815 }
3816
3817
3818 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3819 PyObject *resultobj;
3820 wxFrame *arg1 = (wxFrame *) 0 ;
3821 wxString *arg2 = 0 ;
3822 bool arg3 ;
3823 bool temp2 = False ;
3824 PyObject * obj0 = 0 ;
3825 PyObject * obj1 = 0 ;
3826 PyObject * obj2 = 0 ;
3827 char *kwnames[] = {
3828 (char *) "self",(char *) "text",(char *) "show", NULL
3829 };
3830
3831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3834 {
3835 arg2 = wxString_in_helper(obj1);
3836 if (arg2 == NULL) SWIG_fail;
3837 temp2 = True;
3838 }
3839 arg3 = (bool) SWIG_AsBool(obj2);
3840 if (PyErr_Occurred()) SWIG_fail;
3841 {
3842 PyThreadState* __tstate = wxPyBeginAllowThreads();
3843 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3844
3845 wxPyEndAllowThreads(__tstate);
3846 if (PyErr_Occurred()) SWIG_fail;
3847 }
3848 Py_INCREF(Py_None); resultobj = Py_None;
3849 {
3850 if (temp2)
3851 delete arg2;
3852 }
3853 return resultobj;
3854 fail:
3855 {
3856 if (temp2)
3857 delete arg2;
3858 }
3859 return NULL;
3860 }
3861
3862
3863 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3864 PyObject *resultobj;
3865 wxFrame *arg1 = (wxFrame *) 0 ;
3866 wxMenu *arg2 = (wxMenu *) NULL ;
3867 PyObject * obj0 = 0 ;
3868 PyObject * obj1 = 0 ;
3869 char *kwnames[] = {
3870 (char *) "self",(char *) "menu", NULL
3871 };
3872
3873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3876 if (obj1) {
3877 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
3878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3879 }
3880 {
3881 PyThreadState* __tstate = wxPyBeginAllowThreads();
3882 (arg1)->DoMenuUpdates(arg2);
3883
3884 wxPyEndAllowThreads(__tstate);
3885 if (PyErr_Occurred()) SWIG_fail;
3886 }
3887 Py_INCREF(Py_None); resultobj = Py_None;
3888 return resultobj;
3889 fail:
3890 return NULL;
3891 }
3892
3893
3894 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3895 PyObject *obj;
3896 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3897 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3898 Py_INCREF(obj);
3899 return Py_BuildValue((char *)"");
3900 }
3901 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3902 PyObject *resultobj;
3903 wxWindow *arg1 = (wxWindow *) 0 ;
3904 int arg2 ;
3905 wxString *arg3 = 0 ;
3906 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3907 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3908 wxSize const &arg5_defvalue = wxDefaultSize ;
3909 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3910 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3911 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3912 wxString *arg7 = (wxString *) &arg7_defvalue ;
3913 wxDialog *result;
3914 bool temp3 = False ;
3915 wxPoint temp4 ;
3916 wxSize temp5 ;
3917 bool temp7 = False ;
3918 PyObject * obj0 = 0 ;
3919 PyObject * obj1 = 0 ;
3920 PyObject * obj2 = 0 ;
3921 PyObject * obj3 = 0 ;
3922 PyObject * obj4 = 0 ;
3923 PyObject * obj5 = 0 ;
3924 PyObject * obj6 = 0 ;
3925 char *kwnames[] = {
3926 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3927 };
3928
3929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3932 arg2 = (int const) SWIG_AsInt(obj1);
3933 if (PyErr_Occurred()) SWIG_fail;
3934 {
3935 arg3 = wxString_in_helper(obj2);
3936 if (arg3 == NULL) SWIG_fail;
3937 temp3 = True;
3938 }
3939 if (obj3) {
3940 {
3941 arg4 = &temp4;
3942 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3943 }
3944 }
3945 if (obj4) {
3946 {
3947 arg5 = &temp5;
3948 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3949 }
3950 }
3951 if (obj5) {
3952 arg6 = (long) SWIG_AsLong(obj5);
3953 if (PyErr_Occurred()) SWIG_fail;
3954 }
3955 if (obj6) {
3956 {
3957 arg7 = wxString_in_helper(obj6);
3958 if (arg7 == NULL) SWIG_fail;
3959 temp7 = True;
3960 }
3961 }
3962 {
3963 PyThreadState* __tstate = wxPyBeginAllowThreads();
3964 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3965
3966 wxPyEndAllowThreads(__tstate);
3967 if (PyErr_Occurred()) SWIG_fail;
3968 }
3969 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
3970 {
3971 if (temp3)
3972 delete arg3;
3973 }
3974 {
3975 if (temp7)
3976 delete arg7;
3977 }
3978 return resultobj;
3979 fail:
3980 {
3981 if (temp3)
3982 delete arg3;
3983 }
3984 {
3985 if (temp7)
3986 delete arg7;
3987 }
3988 return NULL;
3989 }
3990
3991
3992 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3993 PyObject *resultobj;
3994 wxDialog *result;
3995 char *kwnames[] = {
3996 NULL
3997 };
3998
3999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
4000 {
4001 PyThreadState* __tstate = wxPyBeginAllowThreads();
4002 result = (wxDialog *)new wxDialog();
4003
4004 wxPyEndAllowThreads(__tstate);
4005 if (PyErr_Occurred()) SWIG_fail;
4006 }
4007 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
4008 return resultobj;
4009 fail:
4010 return NULL;
4011 }
4012
4013
4014 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4015 PyObject *resultobj;
4016 wxDialog *arg1 = (wxDialog *) 0 ;
4017 wxWindow *arg2 = (wxWindow *) 0 ;
4018 int arg3 ;
4019 wxString *arg4 = 0 ;
4020 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4021 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4022 wxSize const &arg6_defvalue = wxDefaultSize ;
4023 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4024 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
4025 wxString const &arg8_defvalue = wxPyDialogNameStr ;
4026 wxString *arg8 = (wxString *) &arg8_defvalue ;
4027 bool result;
4028 bool temp4 = False ;
4029 wxPoint temp5 ;
4030 wxSize temp6 ;
4031 bool temp8 = False ;
4032 PyObject * obj0 = 0 ;
4033 PyObject * obj1 = 0 ;
4034 PyObject * obj2 = 0 ;
4035 PyObject * obj3 = 0 ;
4036 PyObject * obj4 = 0 ;
4037 PyObject * obj5 = 0 ;
4038 PyObject * obj6 = 0 ;
4039 PyObject * obj7 = 0 ;
4040 char *kwnames[] = {
4041 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4042 };
4043
4044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4047 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4049 arg3 = (int const) SWIG_AsInt(obj2);
4050 if (PyErr_Occurred()) SWIG_fail;
4051 {
4052 arg4 = wxString_in_helper(obj3);
4053 if (arg4 == NULL) SWIG_fail;
4054 temp4 = True;
4055 }
4056 if (obj4) {
4057 {
4058 arg5 = &temp5;
4059 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4060 }
4061 }
4062 if (obj5) {
4063 {
4064 arg6 = &temp6;
4065 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4066 }
4067 }
4068 if (obj6) {
4069 arg7 = (long) SWIG_AsLong(obj6);
4070 if (PyErr_Occurred()) SWIG_fail;
4071 }
4072 if (obj7) {
4073 {
4074 arg8 = wxString_in_helper(obj7);
4075 if (arg8 == NULL) SWIG_fail;
4076 temp8 = True;
4077 }
4078 }
4079 {
4080 PyThreadState* __tstate = wxPyBeginAllowThreads();
4081 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4082
4083 wxPyEndAllowThreads(__tstate);
4084 if (PyErr_Occurred()) SWIG_fail;
4085 }
4086 {
4087 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4088 }
4089 {
4090 if (temp4)
4091 delete arg4;
4092 }
4093 {
4094 if (temp8)
4095 delete arg8;
4096 }
4097 return resultobj;
4098 fail:
4099 {
4100 if (temp4)
4101 delete arg4;
4102 }
4103 {
4104 if (temp8)
4105 delete arg8;
4106 }
4107 return NULL;
4108 }
4109
4110
4111 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4112 PyObject *resultobj;
4113 wxDialog *arg1 = (wxDialog *) 0 ;
4114 int arg2 ;
4115 PyObject * obj0 = 0 ;
4116 PyObject * obj1 = 0 ;
4117 char *kwnames[] = {
4118 (char *) "self",(char *) "returnCode", NULL
4119 };
4120
4121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4124 arg2 = (int) SWIG_AsInt(obj1);
4125 if (PyErr_Occurred()) SWIG_fail;
4126 {
4127 PyThreadState* __tstate = wxPyBeginAllowThreads();
4128 (arg1)->SetReturnCode(arg2);
4129
4130 wxPyEndAllowThreads(__tstate);
4131 if (PyErr_Occurred()) SWIG_fail;
4132 }
4133 Py_INCREF(Py_None); resultobj = Py_None;
4134 return resultobj;
4135 fail:
4136 return NULL;
4137 }
4138
4139
4140 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4141 PyObject *resultobj;
4142 wxDialog *arg1 = (wxDialog *) 0 ;
4143 int result;
4144 PyObject * obj0 = 0 ;
4145 char *kwnames[] = {
4146 (char *) "self", NULL
4147 };
4148
4149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4152 {
4153 PyThreadState* __tstate = wxPyBeginAllowThreads();
4154 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4155
4156 wxPyEndAllowThreads(__tstate);
4157 if (PyErr_Occurred()) SWIG_fail;
4158 }
4159 resultobj = SWIG_FromInt((int)result);
4160 return resultobj;
4161 fail:
4162 return NULL;
4163 }
4164
4165
4166 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4167 PyObject *resultobj;
4168 wxDialog *arg1 = (wxDialog *) 0 ;
4169 wxString *arg2 = 0 ;
4170 wxSizer *result;
4171 bool temp2 = False ;
4172 PyObject * obj0 = 0 ;
4173 PyObject * obj1 = 0 ;
4174 char *kwnames[] = {
4175 (char *) "self",(char *) "message", NULL
4176 };
4177
4178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4181 {
4182 arg2 = wxString_in_helper(obj1);
4183 if (arg2 == NULL) SWIG_fail;
4184 temp2 = True;
4185 }
4186 {
4187 PyThreadState* __tstate = wxPyBeginAllowThreads();
4188 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4189
4190 wxPyEndAllowThreads(__tstate);
4191 if (PyErr_Occurred()) SWIG_fail;
4192 }
4193 {
4194 resultobj = wxPyMake_wxSizer(result);
4195 }
4196 {
4197 if (temp2)
4198 delete arg2;
4199 }
4200 return resultobj;
4201 fail:
4202 {
4203 if (temp2)
4204 delete arg2;
4205 }
4206 return NULL;
4207 }
4208
4209
4210 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4211 PyObject *resultobj;
4212 wxDialog *arg1 = (wxDialog *) 0 ;
4213 long arg2 ;
4214 wxSizer *result;
4215 PyObject * obj0 = 0 ;
4216 PyObject * obj1 = 0 ;
4217 char *kwnames[] = {
4218 (char *) "self",(char *) "flags", NULL
4219 };
4220
4221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4224 arg2 = (long) SWIG_AsLong(obj1);
4225 if (PyErr_Occurred()) SWIG_fail;
4226 {
4227 PyThreadState* __tstate = wxPyBeginAllowThreads();
4228 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4229
4230 wxPyEndAllowThreads(__tstate);
4231 if (PyErr_Occurred()) SWIG_fail;
4232 }
4233 {
4234 resultobj = wxPyMake_wxSizer(result);
4235 }
4236 return resultobj;
4237 fail:
4238 return NULL;
4239 }
4240
4241
4242 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4243 PyObject *resultobj;
4244 wxDialog *arg1 = (wxDialog *) 0 ;
4245 bool result;
4246 PyObject * obj0 = 0 ;
4247 char *kwnames[] = {
4248 (char *) "self", NULL
4249 };
4250
4251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4254 {
4255 PyThreadState* __tstate = wxPyBeginAllowThreads();
4256 result = (bool)((wxDialog const *)arg1)->IsModal();
4257
4258 wxPyEndAllowThreads(__tstate);
4259 if (PyErr_Occurred()) SWIG_fail;
4260 }
4261 {
4262 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4263 }
4264 return resultobj;
4265 fail:
4266 return NULL;
4267 }
4268
4269
4270 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4271 PyObject *resultobj;
4272 wxDialog *arg1 = (wxDialog *) 0 ;
4273 int result;
4274 PyObject * obj0 = 0 ;
4275 char *kwnames[] = {
4276 (char *) "self", NULL
4277 };
4278
4279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4282 {
4283 PyThreadState* __tstate = wxPyBeginAllowThreads();
4284 result = (int)(arg1)->ShowModal();
4285
4286 wxPyEndAllowThreads(__tstate);
4287 if (PyErr_Occurred()) SWIG_fail;
4288 }
4289 resultobj = SWIG_FromInt((int)result);
4290 return resultobj;
4291 fail:
4292 return NULL;
4293 }
4294
4295
4296 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4297 PyObject *resultobj;
4298 wxDialog *arg1 = (wxDialog *) 0 ;
4299 int arg2 ;
4300 PyObject * obj0 = 0 ;
4301 PyObject * obj1 = 0 ;
4302 char *kwnames[] = {
4303 (char *) "self",(char *) "retCode", NULL
4304 };
4305
4306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4309 arg2 = (int) SWIG_AsInt(obj1);
4310 if (PyErr_Occurred()) SWIG_fail;
4311 {
4312 PyThreadState* __tstate = wxPyBeginAllowThreads();
4313 (arg1)->EndModal(arg2);
4314
4315 wxPyEndAllowThreads(__tstate);
4316 if (PyErr_Occurred()) SWIG_fail;
4317 }
4318 Py_INCREF(Py_None); resultobj = Py_None;
4319 return resultobj;
4320 fail:
4321 return NULL;
4322 }
4323
4324
4325 static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) {
4326 PyObject *resultobj;
4327 wxDialog *arg1 = (wxDialog *) 0 ;
4328 bool result;
4329 PyObject * obj0 = 0 ;
4330 char *kwnames[] = {
4331 (char *) "self", NULL
4332 };
4333
4334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
4335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4337 {
4338 PyThreadState* __tstate = wxPyBeginAllowThreads();
4339 result = (bool)wxDialog_IsModalShowing(arg1);
4340
4341 wxPyEndAllowThreads(__tstate);
4342 if (PyErr_Occurred()) SWIG_fail;
4343 }
4344 {
4345 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4346 }
4347 return resultobj;
4348 fail:
4349 return NULL;
4350 }
4351
4352
4353 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
4354 PyObject *obj;
4355 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4356 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4357 Py_INCREF(obj);
4358 return Py_BuildValue((char *)"");
4359 }
4360 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4361 PyObject *resultobj;
4362 wxWindow *arg1 = (wxWindow *) 0 ;
4363 int arg2 ;
4364 wxString *arg3 = 0 ;
4365 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4366 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4367 wxSize const &arg5_defvalue = wxDefaultSize ;
4368 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4369 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4370 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4371 wxString *arg7 = (wxString *) &arg7_defvalue ;
4372 wxMiniFrame *result;
4373 bool temp3 = False ;
4374 wxPoint temp4 ;
4375 wxSize temp5 ;
4376 bool temp7 = False ;
4377 PyObject * obj0 = 0 ;
4378 PyObject * obj1 = 0 ;
4379 PyObject * obj2 = 0 ;
4380 PyObject * obj3 = 0 ;
4381 PyObject * obj4 = 0 ;
4382 PyObject * obj5 = 0 ;
4383 PyObject * obj6 = 0 ;
4384 char *kwnames[] = {
4385 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4386 };
4387
4388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4391 arg2 = (int const) SWIG_AsInt(obj1);
4392 if (PyErr_Occurred()) SWIG_fail;
4393 {
4394 arg3 = wxString_in_helper(obj2);
4395 if (arg3 == NULL) SWIG_fail;
4396 temp3 = True;
4397 }
4398 if (obj3) {
4399 {
4400 arg4 = &temp4;
4401 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4402 }
4403 }
4404 if (obj4) {
4405 {
4406 arg5 = &temp5;
4407 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4408 }
4409 }
4410 if (obj5) {
4411 arg6 = (long) SWIG_AsLong(obj5);
4412 if (PyErr_Occurred()) SWIG_fail;
4413 }
4414 if (obj6) {
4415 {
4416 arg7 = wxString_in_helper(obj6);
4417 if (arg7 == NULL) SWIG_fail;
4418 temp7 = True;
4419 }
4420 }
4421 {
4422 PyThreadState* __tstate = wxPyBeginAllowThreads();
4423 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4424
4425 wxPyEndAllowThreads(__tstate);
4426 if (PyErr_Occurred()) SWIG_fail;
4427 }
4428 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4429 {
4430 if (temp3)
4431 delete arg3;
4432 }
4433 {
4434 if (temp7)
4435 delete arg7;
4436 }
4437 return resultobj;
4438 fail:
4439 {
4440 if (temp3)
4441 delete arg3;
4442 }
4443 {
4444 if (temp7)
4445 delete arg7;
4446 }
4447 return NULL;
4448 }
4449
4450
4451 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4452 PyObject *resultobj;
4453 wxMiniFrame *result;
4454 char *kwnames[] = {
4455 NULL
4456 };
4457
4458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4459 {
4460 PyThreadState* __tstate = wxPyBeginAllowThreads();
4461 result = (wxMiniFrame *)new wxMiniFrame();
4462
4463 wxPyEndAllowThreads(__tstate);
4464 if (PyErr_Occurred()) SWIG_fail;
4465 }
4466 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4467 return resultobj;
4468 fail:
4469 return NULL;
4470 }
4471
4472
4473 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4474 PyObject *resultobj;
4475 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4476 wxWindow *arg2 = (wxWindow *) 0 ;
4477 int arg3 ;
4478 wxString *arg4 = 0 ;
4479 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4480 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4481 wxSize const &arg6_defvalue = wxDefaultSize ;
4482 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4483 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4484 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4485 wxString *arg8 = (wxString *) &arg8_defvalue ;
4486 bool result;
4487 bool temp4 = False ;
4488 wxPoint temp5 ;
4489 wxSize temp6 ;
4490 bool temp8 = False ;
4491 PyObject * obj0 = 0 ;
4492 PyObject * obj1 = 0 ;
4493 PyObject * obj2 = 0 ;
4494 PyObject * obj3 = 0 ;
4495 PyObject * obj4 = 0 ;
4496 PyObject * obj5 = 0 ;
4497 PyObject * obj6 = 0 ;
4498 PyObject * obj7 = 0 ;
4499 char *kwnames[] = {
4500 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4501 };
4502
4503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4506 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4508 arg3 = (int const) SWIG_AsInt(obj2);
4509 if (PyErr_Occurred()) SWIG_fail;
4510 {
4511 arg4 = wxString_in_helper(obj3);
4512 if (arg4 == NULL) SWIG_fail;
4513 temp4 = True;
4514 }
4515 if (obj4) {
4516 {
4517 arg5 = &temp5;
4518 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4519 }
4520 }
4521 if (obj5) {
4522 {
4523 arg6 = &temp6;
4524 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4525 }
4526 }
4527 if (obj6) {
4528 arg7 = (long) SWIG_AsLong(obj6);
4529 if (PyErr_Occurred()) SWIG_fail;
4530 }
4531 if (obj7) {
4532 {
4533 arg8 = wxString_in_helper(obj7);
4534 if (arg8 == NULL) SWIG_fail;
4535 temp8 = True;
4536 }
4537 }
4538 {
4539 PyThreadState* __tstate = wxPyBeginAllowThreads();
4540 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4541
4542 wxPyEndAllowThreads(__tstate);
4543 if (PyErr_Occurred()) SWIG_fail;
4544 }
4545 {
4546 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4547 }
4548 {
4549 if (temp4)
4550 delete arg4;
4551 }
4552 {
4553 if (temp8)
4554 delete arg8;
4555 }
4556 return resultobj;
4557 fail:
4558 {
4559 if (temp4)
4560 delete arg4;
4561 }
4562 {
4563 if (temp8)
4564 delete arg8;
4565 }
4566 return NULL;
4567 }
4568
4569
4570 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4571 PyObject *obj;
4572 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4573 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4574 Py_INCREF(obj);
4575 return Py_BuildValue((char *)"");
4576 }
4577 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4578 PyObject *resultobj;
4579 wxBitmap *arg1 = 0 ;
4580 wxWindow *arg2 = (wxWindow *) 0 ;
4581 int arg3 ;
4582 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4583 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4584 wxSize const &arg5_defvalue = wxDefaultSize ;
4585 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4586 long arg6 = (long) wxNO_BORDER ;
4587 wxSplashScreenWindow *result;
4588 wxPoint temp4 ;
4589 wxSize temp5 ;
4590 PyObject * obj0 = 0 ;
4591 PyObject * obj1 = 0 ;
4592 PyObject * obj2 = 0 ;
4593 PyObject * obj3 = 0 ;
4594 PyObject * obj4 = 0 ;
4595 PyObject * obj5 = 0 ;
4596 char *kwnames[] = {
4597 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4598 };
4599
4600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4602 SWIG_POINTER_EXCEPTION | 0)) == -1)
4603 SWIG_fail;
4604 if (arg1 == NULL) {
4605 PyErr_SetString(PyExc_TypeError,"null reference");
4606 SWIG_fail;
4607 }
4608 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4610 arg3 = (int) SWIG_AsInt(obj2);
4611 if (PyErr_Occurred()) SWIG_fail;
4612 if (obj3) {
4613 {
4614 arg4 = &temp4;
4615 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4616 }
4617 }
4618 if (obj4) {
4619 {
4620 arg5 = &temp5;
4621 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4622 }
4623 }
4624 if (obj5) {
4625 arg6 = (long) SWIG_AsLong(obj5);
4626 if (PyErr_Occurred()) SWIG_fail;
4627 }
4628 {
4629 PyThreadState* __tstate = wxPyBeginAllowThreads();
4630 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4631
4632 wxPyEndAllowThreads(__tstate);
4633 if (PyErr_Occurred()) SWIG_fail;
4634 }
4635 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
4636 return resultobj;
4637 fail:
4638 return NULL;
4639 }
4640
4641
4642 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4643 PyObject *resultobj;
4644 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4645 wxBitmap *arg2 = 0 ;
4646 PyObject * obj0 = 0 ;
4647 PyObject * obj1 = 0 ;
4648 char *kwnames[] = {
4649 (char *) "self",(char *) "bitmap", NULL
4650 };
4651
4652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4655 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4656 SWIG_POINTER_EXCEPTION | 0)) == -1)
4657 SWIG_fail;
4658 if (arg2 == NULL) {
4659 PyErr_SetString(PyExc_TypeError,"null reference");
4660 SWIG_fail;
4661 }
4662 {
4663 PyThreadState* __tstate = wxPyBeginAllowThreads();
4664 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4665
4666 wxPyEndAllowThreads(__tstate);
4667 if (PyErr_Occurred()) SWIG_fail;
4668 }
4669 Py_INCREF(Py_None); resultobj = Py_None;
4670 return resultobj;
4671 fail:
4672 return NULL;
4673 }
4674
4675
4676 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4677 PyObject *resultobj;
4678 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4679 wxBitmap *result;
4680 PyObject * obj0 = 0 ;
4681 char *kwnames[] = {
4682 (char *) "self", NULL
4683 };
4684
4685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4688 {
4689 PyThreadState* __tstate = wxPyBeginAllowThreads();
4690 {
4691 wxBitmap &_result_ref = (arg1)->GetBitmap();
4692 result = (wxBitmap *) &_result_ref;
4693 }
4694
4695 wxPyEndAllowThreads(__tstate);
4696 if (PyErr_Occurred()) SWIG_fail;
4697 }
4698 {
4699 wxBitmap* resultptr = new wxBitmap(*result);
4700 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
4701 }
4702 return resultobj;
4703 fail:
4704 return NULL;
4705 }
4706
4707
4708 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4709 PyObject *obj;
4710 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4711 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4712 Py_INCREF(obj);
4713 return Py_BuildValue((char *)"");
4714 }
4715 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4716 PyObject *resultobj;
4717 wxBitmap *arg1 = 0 ;
4718 long arg2 ;
4719 int arg3 ;
4720 wxWindow *arg4 = (wxWindow *) 0 ;
4721 int arg5 ;
4722 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4723 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4724 wxSize const &arg7_defvalue = wxDefaultSize ;
4725 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4726 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4727 wxSplashScreen *result;
4728 wxPoint temp6 ;
4729 wxSize temp7 ;
4730 PyObject * obj0 = 0 ;
4731 PyObject * obj1 = 0 ;
4732 PyObject * obj2 = 0 ;
4733 PyObject * obj3 = 0 ;
4734 PyObject * obj4 = 0 ;
4735 PyObject * obj5 = 0 ;
4736 PyObject * obj6 = 0 ;
4737 PyObject * obj7 = 0 ;
4738 char *kwnames[] = {
4739 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4740 };
4741
4742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) 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 arg2 = (long) SWIG_AsLong(obj1);
4751 if (PyErr_Occurred()) SWIG_fail;
4752 arg3 = (int) SWIG_AsInt(obj2);
4753 if (PyErr_Occurred()) SWIG_fail;
4754 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
4755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4756 arg5 = (int) SWIG_AsInt(obj4);
4757 if (PyErr_Occurred()) SWIG_fail;
4758 if (obj5) {
4759 {
4760 arg6 = &temp6;
4761 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4762 }
4763 }
4764 if (obj6) {
4765 {
4766 arg7 = &temp7;
4767 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4768 }
4769 }
4770 if (obj7) {
4771 arg8 = (long) SWIG_AsLong(obj7);
4772 if (PyErr_Occurred()) SWIG_fail;
4773 }
4774 {
4775 PyThreadState* __tstate = wxPyBeginAllowThreads();
4776 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4777
4778 wxPyEndAllowThreads(__tstate);
4779 if (PyErr_Occurred()) SWIG_fail;
4780 }
4781 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
4782 return resultobj;
4783 fail:
4784 return NULL;
4785 }
4786
4787
4788 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4789 PyObject *resultobj;
4790 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4791 long result;
4792 PyObject * obj0 = 0 ;
4793 char *kwnames[] = {
4794 (char *) "self", NULL
4795 };
4796
4797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4800 {
4801 PyThreadState* __tstate = wxPyBeginAllowThreads();
4802 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4803
4804 wxPyEndAllowThreads(__tstate);
4805 if (PyErr_Occurred()) SWIG_fail;
4806 }
4807 resultobj = SWIG_FromLong((long)result);
4808 return resultobj;
4809 fail:
4810 return NULL;
4811 }
4812
4813
4814 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4815 PyObject *resultobj;
4816 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4817 wxSplashScreenWindow *result;
4818 PyObject * obj0 = 0 ;
4819 char *kwnames[] = {
4820 (char *) "self", NULL
4821 };
4822
4823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4826 {
4827 PyThreadState* __tstate = wxPyBeginAllowThreads();
4828 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4829
4830 wxPyEndAllowThreads(__tstate);
4831 if (PyErr_Occurred()) SWIG_fail;
4832 }
4833 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
4834 return resultobj;
4835 fail:
4836 return NULL;
4837 }
4838
4839
4840 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4841 PyObject *resultobj;
4842 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4843 int result;
4844 PyObject * obj0 = 0 ;
4845 char *kwnames[] = {
4846 (char *) "self", NULL
4847 };
4848
4849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4852 {
4853 PyThreadState* __tstate = wxPyBeginAllowThreads();
4854 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4855
4856 wxPyEndAllowThreads(__tstate);
4857 if (PyErr_Occurred()) SWIG_fail;
4858 }
4859 resultobj = SWIG_FromInt((int)result);
4860 return resultobj;
4861 fail:
4862 return NULL;
4863 }
4864
4865
4866 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4867 PyObject *obj;
4868 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4869 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4870 Py_INCREF(obj);
4871 return Py_BuildValue((char *)"");
4872 }
4873 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4874 PyObject *resultobj;
4875 wxWindow *arg1 = (wxWindow *) 0 ;
4876 int arg2 = (int) -1 ;
4877 long arg3 = (long) wxST_SIZEGRIP ;
4878 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4879 wxString *arg4 = (wxString *) &arg4_defvalue ;
4880 wxStatusBar *result;
4881 bool temp4 = False ;
4882 PyObject * obj0 = 0 ;
4883 PyObject * obj1 = 0 ;
4884 PyObject * obj2 = 0 ;
4885 PyObject * obj3 = 0 ;
4886 char *kwnames[] = {
4887 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4888 };
4889
4890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4893 if (obj1) {
4894 arg2 = (int) SWIG_AsInt(obj1);
4895 if (PyErr_Occurred()) SWIG_fail;
4896 }
4897 if (obj2) {
4898 arg3 = (long) SWIG_AsLong(obj2);
4899 if (PyErr_Occurred()) SWIG_fail;
4900 }
4901 if (obj3) {
4902 {
4903 arg4 = wxString_in_helper(obj3);
4904 if (arg4 == NULL) SWIG_fail;
4905 temp4 = True;
4906 }
4907 }
4908 {
4909 PyThreadState* __tstate = wxPyBeginAllowThreads();
4910 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4911
4912 wxPyEndAllowThreads(__tstate);
4913 if (PyErr_Occurred()) SWIG_fail;
4914 }
4915 {
4916 resultobj = wxPyMake_wxObject(result);
4917 }
4918 {
4919 if (temp4)
4920 delete arg4;
4921 }
4922 return resultobj;
4923 fail:
4924 {
4925 if (temp4)
4926 delete arg4;
4927 }
4928 return NULL;
4929 }
4930
4931
4932 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4933 PyObject *resultobj;
4934 wxStatusBar *result;
4935 char *kwnames[] = {
4936 NULL
4937 };
4938
4939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4940 {
4941 PyThreadState* __tstate = wxPyBeginAllowThreads();
4942 result = (wxStatusBar *)new wxStatusBar();
4943
4944 wxPyEndAllowThreads(__tstate);
4945 if (PyErr_Occurred()) SWIG_fail;
4946 }
4947 {
4948 resultobj = wxPyMake_wxObject(result);
4949 }
4950 return resultobj;
4951 fail:
4952 return NULL;
4953 }
4954
4955
4956 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4957 PyObject *resultobj;
4958 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4959 wxWindow *arg2 = (wxWindow *) 0 ;
4960 int arg3 ;
4961 long arg4 = (long) wxST_SIZEGRIP ;
4962 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4963 wxString *arg5 = (wxString *) &arg5_defvalue ;
4964 bool result;
4965 bool temp5 = False ;
4966 PyObject * obj0 = 0 ;
4967 PyObject * obj1 = 0 ;
4968 PyObject * obj2 = 0 ;
4969 PyObject * obj3 = 0 ;
4970 PyObject * obj4 = 0 ;
4971 char *kwnames[] = {
4972 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4973 };
4974
4975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4978 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4980 arg3 = (int) SWIG_AsInt(obj2);
4981 if (PyErr_Occurred()) SWIG_fail;
4982 if (obj3) {
4983 arg4 = (long) SWIG_AsLong(obj3);
4984 if (PyErr_Occurred()) SWIG_fail;
4985 }
4986 if (obj4) {
4987 {
4988 arg5 = wxString_in_helper(obj4);
4989 if (arg5 == NULL) SWIG_fail;
4990 temp5 = True;
4991 }
4992 }
4993 {
4994 PyThreadState* __tstate = wxPyBeginAllowThreads();
4995 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4996
4997 wxPyEndAllowThreads(__tstate);
4998 if (PyErr_Occurred()) SWIG_fail;
4999 }
5000 {
5001 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5002 }
5003 {
5004 if (temp5)
5005 delete arg5;
5006 }
5007 return resultobj;
5008 fail:
5009 {
5010 if (temp5)
5011 delete arg5;
5012 }
5013 return NULL;
5014 }
5015
5016
5017 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5018 PyObject *resultobj;
5019 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5020 int arg2 = (int) 1 ;
5021 PyObject * obj0 = 0 ;
5022 PyObject * obj1 = 0 ;
5023 char *kwnames[] = {
5024 (char *) "self",(char *) "number", NULL
5025 };
5026
5027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
5028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5030 if (obj1) {
5031 arg2 = (int) SWIG_AsInt(obj1);
5032 if (PyErr_Occurred()) SWIG_fail;
5033 }
5034 {
5035 PyThreadState* __tstate = wxPyBeginAllowThreads();
5036 (arg1)->SetFieldsCount(arg2);
5037
5038 wxPyEndAllowThreads(__tstate);
5039 if (PyErr_Occurred()) SWIG_fail;
5040 }
5041 Py_INCREF(Py_None); resultobj = Py_None;
5042 return resultobj;
5043 fail:
5044 return NULL;
5045 }
5046
5047
5048 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5049 PyObject *resultobj;
5050 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5051 int result;
5052 PyObject * obj0 = 0 ;
5053 char *kwnames[] = {
5054 (char *) "self", NULL
5055 };
5056
5057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
5058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5060 {
5061 PyThreadState* __tstate = wxPyBeginAllowThreads();
5062 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5063
5064 wxPyEndAllowThreads(__tstate);
5065 if (PyErr_Occurred()) SWIG_fail;
5066 }
5067 resultobj = SWIG_FromInt((int)result);
5068 return resultobj;
5069 fail:
5070 return NULL;
5071 }
5072
5073
5074 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5075 PyObject *resultobj;
5076 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5077 wxString *arg2 = 0 ;
5078 int arg3 = (int) 0 ;
5079 bool temp2 = False ;
5080 PyObject * obj0 = 0 ;
5081 PyObject * obj1 = 0 ;
5082 PyObject * obj2 = 0 ;
5083 char *kwnames[] = {
5084 (char *) "self",(char *) "text",(char *) "number", NULL
5085 };
5086
5087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5090 {
5091 arg2 = wxString_in_helper(obj1);
5092 if (arg2 == NULL) SWIG_fail;
5093 temp2 = True;
5094 }
5095 if (obj2) {
5096 arg3 = (int) SWIG_AsInt(obj2);
5097 if (PyErr_Occurred()) SWIG_fail;
5098 }
5099 {
5100 PyThreadState* __tstate = wxPyBeginAllowThreads();
5101 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5102
5103 wxPyEndAllowThreads(__tstate);
5104 if (PyErr_Occurred()) SWIG_fail;
5105 }
5106 Py_INCREF(Py_None); resultobj = Py_None;
5107 {
5108 if (temp2)
5109 delete arg2;
5110 }
5111 return resultobj;
5112 fail:
5113 {
5114 if (temp2)
5115 delete arg2;
5116 }
5117 return NULL;
5118 }
5119
5120
5121 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5122 PyObject *resultobj;
5123 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5124 int arg2 = (int) 0 ;
5125 wxString result;
5126 PyObject * obj0 = 0 ;
5127 PyObject * obj1 = 0 ;
5128 char *kwnames[] = {
5129 (char *) "self",(char *) "number", NULL
5130 };
5131
5132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5135 if (obj1) {
5136 arg2 = (int) SWIG_AsInt(obj1);
5137 if (PyErr_Occurred()) SWIG_fail;
5138 }
5139 {
5140 PyThreadState* __tstate = wxPyBeginAllowThreads();
5141 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5142
5143 wxPyEndAllowThreads(__tstate);
5144 if (PyErr_Occurred()) SWIG_fail;
5145 }
5146 {
5147 #if wxUSE_UNICODE
5148 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5149 #else
5150 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5151 #endif
5152 }
5153 return resultobj;
5154 fail:
5155 return NULL;
5156 }
5157
5158
5159 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5160 PyObject *resultobj;
5161 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5162 wxString *arg2 = 0 ;
5163 int arg3 = (int) 0 ;
5164 bool temp2 = False ;
5165 PyObject * obj0 = 0 ;
5166 PyObject * obj1 = 0 ;
5167 PyObject * obj2 = 0 ;
5168 char *kwnames[] = {
5169 (char *) "self",(char *) "text",(char *) "number", NULL
5170 };
5171
5172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5175 {
5176 arg2 = wxString_in_helper(obj1);
5177 if (arg2 == NULL) SWIG_fail;
5178 temp2 = True;
5179 }
5180 if (obj2) {
5181 arg3 = (int) SWIG_AsInt(obj2);
5182 if (PyErr_Occurred()) SWIG_fail;
5183 }
5184 {
5185 PyThreadState* __tstate = wxPyBeginAllowThreads();
5186 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5187
5188 wxPyEndAllowThreads(__tstate);
5189 if (PyErr_Occurred()) SWIG_fail;
5190 }
5191 Py_INCREF(Py_None); resultobj = Py_None;
5192 {
5193 if (temp2)
5194 delete arg2;
5195 }
5196 return resultobj;
5197 fail:
5198 {
5199 if (temp2)
5200 delete arg2;
5201 }
5202 return NULL;
5203 }
5204
5205
5206 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5207 PyObject *resultobj;
5208 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5209 int arg2 = (int) 0 ;
5210 PyObject * obj0 = 0 ;
5211 PyObject * obj1 = 0 ;
5212 char *kwnames[] = {
5213 (char *) "self",(char *) "number", NULL
5214 };
5215
5216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5219 if (obj1) {
5220 arg2 = (int) SWIG_AsInt(obj1);
5221 if (PyErr_Occurred()) SWIG_fail;
5222 }
5223 {
5224 PyThreadState* __tstate = wxPyBeginAllowThreads();
5225 (arg1)->PopStatusText(arg2);
5226
5227 wxPyEndAllowThreads(__tstate);
5228 if (PyErr_Occurred()) SWIG_fail;
5229 }
5230 Py_INCREF(Py_None); resultobj = Py_None;
5231 return resultobj;
5232 fail:
5233 return NULL;
5234 }
5235
5236
5237 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
5238 PyObject *resultobj;
5239 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5240 int arg2 ;
5241 int *arg3 = (int *) 0 ;
5242 PyObject * obj0 = 0 ;
5243 PyObject * obj1 = 0 ;
5244 char *kwnames[] = {
5245 (char *) "self",(char *) "widths", NULL
5246 };
5247
5248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5251 {
5252 arg2 = PyList_Size(obj1);
5253 arg3 = int_LIST_helper(obj1);
5254 if (arg3 == NULL) SWIG_fail;
5255 }
5256 {
5257 PyThreadState* __tstate = wxPyBeginAllowThreads();
5258 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5259
5260 wxPyEndAllowThreads(__tstate);
5261 if (PyErr_Occurred()) SWIG_fail;
5262 }
5263 Py_INCREF(Py_None); resultobj = Py_None;
5264 {
5265 if (arg3) delete [] arg3;
5266 }
5267 return resultobj;
5268 fail:
5269 {
5270 if (arg3) delete [] arg3;
5271 }
5272 return NULL;
5273 }
5274
5275
5276 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5277 PyObject *resultobj;
5278 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5279 int arg2 ;
5280 wxRect result;
5281 PyObject * obj0 = 0 ;
5282 PyObject * obj1 = 0 ;
5283 char *kwnames[] = {
5284 (char *) "self",(char *) "i", NULL
5285 };
5286
5287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5290 arg2 = (int) SWIG_AsInt(obj1);
5291 if (PyErr_Occurred()) SWIG_fail;
5292 {
5293 PyThreadState* __tstate = wxPyBeginAllowThreads();
5294 result = wxStatusBar_GetFieldRect(arg1,arg2);
5295
5296 wxPyEndAllowThreads(__tstate);
5297 if (PyErr_Occurred()) SWIG_fail;
5298 }
5299 {
5300 wxRect * resultptr;
5301 resultptr = new wxRect((wxRect &) result);
5302 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5303 }
5304 return resultobj;
5305 fail:
5306 return NULL;
5307 }
5308
5309
5310 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5311 PyObject *resultobj;
5312 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5313 int arg2 ;
5314 PyObject * obj0 = 0 ;
5315 PyObject * obj1 = 0 ;
5316 char *kwnames[] = {
5317 (char *) "self",(char *) "height", NULL
5318 };
5319
5320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5323 arg2 = (int) SWIG_AsInt(obj1);
5324 if (PyErr_Occurred()) SWIG_fail;
5325 {
5326 PyThreadState* __tstate = wxPyBeginAllowThreads();
5327 (arg1)->SetMinHeight(arg2);
5328
5329 wxPyEndAllowThreads(__tstate);
5330 if (PyErr_Occurred()) SWIG_fail;
5331 }
5332 Py_INCREF(Py_None); resultobj = Py_None;
5333 return resultobj;
5334 fail:
5335 return NULL;
5336 }
5337
5338
5339 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
5340 PyObject *resultobj;
5341 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5342 int result;
5343 PyObject * obj0 = 0 ;
5344 char *kwnames[] = {
5345 (char *) "self", NULL
5346 };
5347
5348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5351 {
5352 PyThreadState* __tstate = wxPyBeginAllowThreads();
5353 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5354
5355 wxPyEndAllowThreads(__tstate);
5356 if (PyErr_Occurred()) SWIG_fail;
5357 }
5358 resultobj = SWIG_FromInt((int)result);
5359 return resultobj;
5360 fail:
5361 return NULL;
5362 }
5363
5364
5365 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
5366 PyObject *resultobj;
5367 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5368 int result;
5369 PyObject * obj0 = 0 ;
5370 char *kwnames[] = {
5371 (char *) "self", NULL
5372 };
5373
5374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5377 {
5378 PyThreadState* __tstate = wxPyBeginAllowThreads();
5379 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5380
5381 wxPyEndAllowThreads(__tstate);
5382 if (PyErr_Occurred()) SWIG_fail;
5383 }
5384 resultobj = SWIG_FromInt((int)result);
5385 return resultobj;
5386 fail:
5387 return NULL;
5388 }
5389
5390
5391 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
5392 PyObject *obj;
5393 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5394 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5395 Py_INCREF(obj);
5396 return Py_BuildValue((char *)"");
5397 }
5398 static int _wrap_SplitterNameStr_set(PyObject *_val) {
5399 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5400 return 1;
5401 }
5402
5403
5404 static PyObject *_wrap_SplitterNameStr_get() {
5405 PyObject *pyobj;
5406
5407 {
5408 #if wxUSE_UNICODE
5409 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5410 #else
5411 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5412 #endif
5413 }
5414 return pyobj;
5415 }
5416
5417
5418 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5419 PyObject *resultobj;
5420 wxWindow *arg1 = (wxWindow *) 0 ;
5421 int arg2 ;
5422 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5423 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5424 wxSize const &arg4_defvalue = wxDefaultSize ;
5425 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5426 long arg5 = (long) wxSP_3D ;
5427 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5428 wxString *arg6 = (wxString *) &arg6_defvalue ;
5429 wxSplitterWindow *result;
5430 wxPoint temp3 ;
5431 wxSize temp4 ;
5432 bool temp6 = False ;
5433 PyObject * obj0 = 0 ;
5434 PyObject * obj1 = 0 ;
5435 PyObject * obj2 = 0 ;
5436 PyObject * obj3 = 0 ;
5437 PyObject * obj4 = 0 ;
5438 PyObject * obj5 = 0 ;
5439 char *kwnames[] = {
5440 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5441 };
5442
5443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5446 arg2 = (int) SWIG_AsInt(obj1);
5447 if (PyErr_Occurred()) SWIG_fail;
5448 if (obj2) {
5449 {
5450 arg3 = &temp3;
5451 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5452 }
5453 }
5454 if (obj3) {
5455 {
5456 arg4 = &temp4;
5457 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5458 }
5459 }
5460 if (obj4) {
5461 arg5 = (long) SWIG_AsLong(obj4);
5462 if (PyErr_Occurred()) SWIG_fail;
5463 }
5464 if (obj5) {
5465 {
5466 arg6 = wxString_in_helper(obj5);
5467 if (arg6 == NULL) SWIG_fail;
5468 temp6 = True;
5469 }
5470 }
5471 {
5472 PyThreadState* __tstate = wxPyBeginAllowThreads();
5473 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5474
5475 wxPyEndAllowThreads(__tstate);
5476 if (PyErr_Occurred()) SWIG_fail;
5477 }
5478 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5479 {
5480 if (temp6)
5481 delete arg6;
5482 }
5483 return resultobj;
5484 fail:
5485 {
5486 if (temp6)
5487 delete arg6;
5488 }
5489 return NULL;
5490 }
5491
5492
5493 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5494 PyObject *resultobj;
5495 wxSplitterWindow *result;
5496 char *kwnames[] = {
5497 NULL
5498 };
5499
5500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5501 {
5502 PyThreadState* __tstate = wxPyBeginAllowThreads();
5503 result = (wxSplitterWindow *)new wxSplitterWindow();
5504
5505 wxPyEndAllowThreads(__tstate);
5506 if (PyErr_Occurred()) SWIG_fail;
5507 }
5508 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5509 return resultobj;
5510 fail:
5511 return NULL;
5512 }
5513
5514
5515 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5516 PyObject *resultobj;
5517 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5518 wxWindow *arg2 = (wxWindow *) 0 ;
5519 int arg3 ;
5520 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5521 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5522 wxSize const &arg5_defvalue = wxDefaultSize ;
5523 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5524 long arg6 = (long) wxSP_3D ;
5525 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5526 wxString *arg7 = (wxString *) &arg7_defvalue ;
5527 bool result;
5528 wxPoint temp4 ;
5529 wxSize temp5 ;
5530 bool temp7 = False ;
5531 PyObject * obj0 = 0 ;
5532 PyObject * obj1 = 0 ;
5533 PyObject * obj2 = 0 ;
5534 PyObject * obj3 = 0 ;
5535 PyObject * obj4 = 0 ;
5536 PyObject * obj5 = 0 ;
5537 PyObject * obj6 = 0 ;
5538 char *kwnames[] = {
5539 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5540 };
5541
5542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5545 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5547 arg3 = (int) SWIG_AsInt(obj2);
5548 if (PyErr_Occurred()) SWIG_fail;
5549 if (obj3) {
5550 {
5551 arg4 = &temp4;
5552 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5553 }
5554 }
5555 if (obj4) {
5556 {
5557 arg5 = &temp5;
5558 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5559 }
5560 }
5561 if (obj5) {
5562 arg6 = (long) SWIG_AsLong(obj5);
5563 if (PyErr_Occurred()) SWIG_fail;
5564 }
5565 if (obj6) {
5566 {
5567 arg7 = wxString_in_helper(obj6);
5568 if (arg7 == NULL) SWIG_fail;
5569 temp7 = True;
5570 }
5571 }
5572 {
5573 PyThreadState* __tstate = wxPyBeginAllowThreads();
5574 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5575
5576 wxPyEndAllowThreads(__tstate);
5577 if (PyErr_Occurred()) SWIG_fail;
5578 }
5579 {
5580 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5581 }
5582 {
5583 if (temp7)
5584 delete arg7;
5585 }
5586 return resultobj;
5587 fail:
5588 {
5589 if (temp7)
5590 delete arg7;
5591 }
5592 return NULL;
5593 }
5594
5595
5596 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5597 PyObject *resultobj;
5598 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5599 wxWindow *result;
5600 PyObject * obj0 = 0 ;
5601 char *kwnames[] = {
5602 (char *) "self", NULL
5603 };
5604
5605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5608 {
5609 PyThreadState* __tstate = wxPyBeginAllowThreads();
5610 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5611
5612 wxPyEndAllowThreads(__tstate);
5613 if (PyErr_Occurred()) SWIG_fail;
5614 }
5615 {
5616 resultobj = wxPyMake_wxObject(result);
5617 }
5618 return resultobj;
5619 fail:
5620 return NULL;
5621 }
5622
5623
5624 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5625 PyObject *resultobj;
5626 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5627 wxWindow *result;
5628 PyObject * obj0 = 0 ;
5629 char *kwnames[] = {
5630 (char *) "self", NULL
5631 };
5632
5633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5636 {
5637 PyThreadState* __tstate = wxPyBeginAllowThreads();
5638 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5639
5640 wxPyEndAllowThreads(__tstate);
5641 if (PyErr_Occurred()) SWIG_fail;
5642 }
5643 {
5644 resultobj = wxPyMake_wxObject(result);
5645 }
5646 return resultobj;
5647 fail:
5648 return NULL;
5649 }
5650
5651
5652 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5653 PyObject *resultobj;
5654 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5655 int arg2 ;
5656 PyObject * obj0 = 0 ;
5657 PyObject * obj1 = 0 ;
5658 char *kwnames[] = {
5659 (char *) "self",(char *) "mode", NULL
5660 };
5661
5662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
5663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5665 arg2 = (int) SWIG_AsInt(obj1);
5666 if (PyErr_Occurred()) SWIG_fail;
5667 {
5668 PyThreadState* __tstate = wxPyBeginAllowThreads();
5669 (arg1)->SetSplitMode(arg2);
5670
5671 wxPyEndAllowThreads(__tstate);
5672 if (PyErr_Occurred()) SWIG_fail;
5673 }
5674 Py_INCREF(Py_None); resultobj = Py_None;
5675 return resultobj;
5676 fail:
5677 return NULL;
5678 }
5679
5680
5681 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5682 PyObject *resultobj;
5683 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5684 int result;
5685 PyObject * obj0 = 0 ;
5686 char *kwnames[] = {
5687 (char *) "self", NULL
5688 };
5689
5690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5693 {
5694 PyThreadState* __tstate = wxPyBeginAllowThreads();
5695 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5696
5697 wxPyEndAllowThreads(__tstate);
5698 if (PyErr_Occurred()) SWIG_fail;
5699 }
5700 resultobj = SWIG_FromInt((int)result);
5701 return resultobj;
5702 fail:
5703 return NULL;
5704 }
5705
5706
5707 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5708 PyObject *resultobj;
5709 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5710 wxWindow *arg2 = (wxWindow *) 0 ;
5711 PyObject * obj0 = 0 ;
5712 PyObject * obj1 = 0 ;
5713 char *kwnames[] = {
5714 (char *) "self",(char *) "window", NULL
5715 };
5716
5717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5720 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5722 {
5723 PyThreadState* __tstate = wxPyBeginAllowThreads();
5724 (arg1)->Initialize(arg2);
5725
5726 wxPyEndAllowThreads(__tstate);
5727 if (PyErr_Occurred()) SWIG_fail;
5728 }
5729 Py_INCREF(Py_None); resultobj = Py_None;
5730 return resultobj;
5731 fail:
5732 return NULL;
5733 }
5734
5735
5736 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
5737 PyObject *resultobj;
5738 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5739 wxWindow *arg2 = (wxWindow *) 0 ;
5740 wxWindow *arg3 = (wxWindow *) 0 ;
5741 int arg4 = (int) 0 ;
5742 bool result;
5743 PyObject * obj0 = 0 ;
5744 PyObject * obj1 = 0 ;
5745 PyObject * obj2 = 0 ;
5746 PyObject * obj3 = 0 ;
5747 char *kwnames[] = {
5748 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5749 };
5750
5751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5754 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5756 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5758 if (obj3) {
5759 arg4 = (int) SWIG_AsInt(obj3);
5760 if (PyErr_Occurred()) SWIG_fail;
5761 }
5762 {
5763 PyThreadState* __tstate = wxPyBeginAllowThreads();
5764 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5765
5766 wxPyEndAllowThreads(__tstate);
5767 if (PyErr_Occurred()) SWIG_fail;
5768 }
5769 {
5770 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5771 }
5772 return resultobj;
5773 fail:
5774 return NULL;
5775 }
5776
5777
5778 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5779 PyObject *resultobj;
5780 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5781 wxWindow *arg2 = (wxWindow *) 0 ;
5782 wxWindow *arg3 = (wxWindow *) 0 ;
5783 int arg4 = (int) 0 ;
5784 bool result;
5785 PyObject * obj0 = 0 ;
5786 PyObject * obj1 = 0 ;
5787 PyObject * obj2 = 0 ;
5788 PyObject * obj3 = 0 ;
5789 char *kwnames[] = {
5790 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5791 };
5792
5793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5796 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5798 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5800 if (obj3) {
5801 arg4 = (int) SWIG_AsInt(obj3);
5802 if (PyErr_Occurred()) SWIG_fail;
5803 }
5804 {
5805 PyThreadState* __tstate = wxPyBeginAllowThreads();
5806 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5807
5808 wxPyEndAllowThreads(__tstate);
5809 if (PyErr_Occurred()) SWIG_fail;
5810 }
5811 {
5812 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5813 }
5814 return resultobj;
5815 fail:
5816 return NULL;
5817 }
5818
5819
5820 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5821 PyObject *resultobj;
5822 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5823 wxWindow *arg2 = (wxWindow *) NULL ;
5824 bool result;
5825 PyObject * obj0 = 0 ;
5826 PyObject * obj1 = 0 ;
5827 char *kwnames[] = {
5828 (char *) "self",(char *) "toRemove", NULL
5829 };
5830
5831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5834 if (obj1) {
5835 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5837 }
5838 {
5839 PyThreadState* __tstate = wxPyBeginAllowThreads();
5840 result = (bool)(arg1)->Unsplit(arg2);
5841
5842 wxPyEndAllowThreads(__tstate);
5843 if (PyErr_Occurred()) SWIG_fail;
5844 }
5845 {
5846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5847 }
5848 return resultobj;
5849 fail:
5850 return NULL;
5851 }
5852
5853
5854 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5855 PyObject *resultobj;
5856 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5857 wxWindow *arg2 = (wxWindow *) 0 ;
5858 wxWindow *arg3 = (wxWindow *) 0 ;
5859 bool result;
5860 PyObject * obj0 = 0 ;
5861 PyObject * obj1 = 0 ;
5862 PyObject * obj2 = 0 ;
5863 char *kwnames[] = {
5864 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5865 };
5866
5867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5870 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5872 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5874 {
5875 PyThreadState* __tstate = wxPyBeginAllowThreads();
5876 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5877
5878 wxPyEndAllowThreads(__tstate);
5879 if (PyErr_Occurred()) SWIG_fail;
5880 }
5881 {
5882 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5883 }
5884 return resultobj;
5885 fail:
5886 return NULL;
5887 }
5888
5889
5890 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5891 PyObject *resultobj;
5892 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5893 PyObject * obj0 = 0 ;
5894 char *kwnames[] = {
5895 (char *) "self", NULL
5896 };
5897
5898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
5899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5901 {
5902 PyThreadState* __tstate = wxPyBeginAllowThreads();
5903 (arg1)->UpdateSize();
5904
5905 wxPyEndAllowThreads(__tstate);
5906 if (PyErr_Occurred()) SWIG_fail;
5907 }
5908 Py_INCREF(Py_None); resultobj = Py_None;
5909 return resultobj;
5910 fail:
5911 return NULL;
5912 }
5913
5914
5915 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5916 PyObject *resultobj;
5917 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5918 bool result;
5919 PyObject * obj0 = 0 ;
5920 char *kwnames[] = {
5921 (char *) "self", NULL
5922 };
5923
5924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5927 {
5928 PyThreadState* __tstate = wxPyBeginAllowThreads();
5929 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5930
5931 wxPyEndAllowThreads(__tstate);
5932 if (PyErr_Occurred()) SWIG_fail;
5933 }
5934 {
5935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5936 }
5937 return resultobj;
5938 fail:
5939 return NULL;
5940 }
5941
5942
5943 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5944 PyObject *resultobj;
5945 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5946 int arg2 ;
5947 PyObject * obj0 = 0 ;
5948 PyObject * obj1 = 0 ;
5949 char *kwnames[] = {
5950 (char *) "self",(char *) "width", NULL
5951 };
5952
5953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
5954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5956 arg2 = (int) SWIG_AsInt(obj1);
5957 if (PyErr_Occurred()) SWIG_fail;
5958 {
5959 PyThreadState* __tstate = wxPyBeginAllowThreads();
5960 (arg1)->SetSashSize(arg2);
5961
5962 wxPyEndAllowThreads(__tstate);
5963 if (PyErr_Occurred()) SWIG_fail;
5964 }
5965 Py_INCREF(Py_None); resultobj = Py_None;
5966 return resultobj;
5967 fail:
5968 return NULL;
5969 }
5970
5971
5972 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5973 PyObject *resultobj;
5974 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5975 int arg2 ;
5976 PyObject * obj0 = 0 ;
5977 PyObject * obj1 = 0 ;
5978 char *kwnames[] = {
5979 (char *) "self",(char *) "width", NULL
5980 };
5981
5982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
5983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5985 arg2 = (int) SWIG_AsInt(obj1);
5986 if (PyErr_Occurred()) SWIG_fail;
5987 {
5988 PyThreadState* __tstate = wxPyBeginAllowThreads();
5989 (arg1)->SetBorderSize(arg2);
5990
5991 wxPyEndAllowThreads(__tstate);
5992 if (PyErr_Occurred()) SWIG_fail;
5993 }
5994 Py_INCREF(Py_None); resultobj = Py_None;
5995 return resultobj;
5996 fail:
5997 return NULL;
5998 }
5999
6000
6001 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6002 PyObject *resultobj;
6003 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6004 int result;
6005 PyObject * obj0 = 0 ;
6006 char *kwnames[] = {
6007 (char *) "self", NULL
6008 };
6009
6010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
6011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6013 {
6014 PyThreadState* __tstate = wxPyBeginAllowThreads();
6015 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
6016
6017 wxPyEndAllowThreads(__tstate);
6018 if (PyErr_Occurred()) SWIG_fail;
6019 }
6020 resultobj = SWIG_FromInt((int)result);
6021 return resultobj;
6022 fail:
6023 return NULL;
6024 }
6025
6026
6027 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6028 PyObject *resultobj;
6029 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6030 int result;
6031 PyObject * obj0 = 0 ;
6032 char *kwnames[] = {
6033 (char *) "self", NULL
6034 };
6035
6036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
6037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6039 {
6040 PyThreadState* __tstate = wxPyBeginAllowThreads();
6041 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
6042
6043 wxPyEndAllowThreads(__tstate);
6044 if (PyErr_Occurred()) SWIG_fail;
6045 }
6046 resultobj = SWIG_FromInt((int)result);
6047 return resultobj;
6048 fail:
6049 return NULL;
6050 }
6051
6052
6053 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6054 PyObject *resultobj;
6055 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6056 int arg2 ;
6057 bool arg3 = (bool) True ;
6058 PyObject * obj0 = 0 ;
6059 PyObject * obj1 = 0 ;
6060 PyObject * obj2 = 0 ;
6061 char *kwnames[] = {
6062 (char *) "self",(char *) "position",(char *) "redraw", NULL
6063 };
6064
6065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
6066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6068 arg2 = (int) SWIG_AsInt(obj1);
6069 if (PyErr_Occurred()) SWIG_fail;
6070 if (obj2) {
6071 arg3 = (bool) SWIG_AsBool(obj2);
6072 if (PyErr_Occurred()) SWIG_fail;
6073 }
6074 {
6075 PyThreadState* __tstate = wxPyBeginAllowThreads();
6076 (arg1)->SetSashPosition(arg2,arg3);
6077
6078 wxPyEndAllowThreads(__tstate);
6079 if (PyErr_Occurred()) SWIG_fail;
6080 }
6081 Py_INCREF(Py_None); resultobj = Py_None;
6082 return resultobj;
6083 fail:
6084 return NULL;
6085 }
6086
6087
6088 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6089 PyObject *resultobj;
6090 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6091 int result;
6092 PyObject * obj0 = 0 ;
6093 char *kwnames[] = {
6094 (char *) "self", NULL
6095 };
6096
6097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
6098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6100 {
6101 PyThreadState* __tstate = wxPyBeginAllowThreads();
6102 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6103
6104 wxPyEndAllowThreads(__tstate);
6105 if (PyErr_Occurred()) SWIG_fail;
6106 }
6107 resultobj = SWIG_FromInt((int)result);
6108 return resultobj;
6109 fail:
6110 return NULL;
6111 }
6112
6113
6114 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6115 PyObject *resultobj;
6116 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6117 int arg2 ;
6118 PyObject * obj0 = 0 ;
6119 PyObject * obj1 = 0 ;
6120 char *kwnames[] = {
6121 (char *) "self",(char *) "min", NULL
6122 };
6123
6124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6127 arg2 = (int) SWIG_AsInt(obj1);
6128 if (PyErr_Occurred()) SWIG_fail;
6129 {
6130 PyThreadState* __tstate = wxPyBeginAllowThreads();
6131 (arg1)->SetMinimumPaneSize(arg2);
6132
6133 wxPyEndAllowThreads(__tstate);
6134 if (PyErr_Occurred()) SWIG_fail;
6135 }
6136 Py_INCREF(Py_None); resultobj = Py_None;
6137 return resultobj;
6138 fail:
6139 return NULL;
6140 }
6141
6142
6143 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6144 PyObject *resultobj;
6145 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6146 int result;
6147 PyObject * obj0 = 0 ;
6148 char *kwnames[] = {
6149 (char *) "self", NULL
6150 };
6151
6152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6155 {
6156 PyThreadState* __tstate = wxPyBeginAllowThreads();
6157 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6158
6159 wxPyEndAllowThreads(__tstate);
6160 if (PyErr_Occurred()) SWIG_fail;
6161 }
6162 resultobj = SWIG_FromInt((int)result);
6163 return resultobj;
6164 fail:
6165 return NULL;
6166 }
6167
6168
6169 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6170 PyObject *resultobj;
6171 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6172 int arg2 ;
6173 int arg3 ;
6174 int arg4 = (int) 5 ;
6175 bool result;
6176 PyObject * obj0 = 0 ;
6177 PyObject * obj1 = 0 ;
6178 PyObject * obj2 = 0 ;
6179 PyObject * obj3 = 0 ;
6180 char *kwnames[] = {
6181 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6182 };
6183
6184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6187 arg2 = (int) SWIG_AsInt(obj1);
6188 if (PyErr_Occurred()) SWIG_fail;
6189 arg3 = (int) SWIG_AsInt(obj2);
6190 if (PyErr_Occurred()) SWIG_fail;
6191 if (obj3) {
6192 arg4 = (int) SWIG_AsInt(obj3);
6193 if (PyErr_Occurred()) SWIG_fail;
6194 }
6195 {
6196 PyThreadState* __tstate = wxPyBeginAllowThreads();
6197 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6198
6199 wxPyEndAllowThreads(__tstate);
6200 if (PyErr_Occurred()) SWIG_fail;
6201 }
6202 {
6203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6204 }
6205 return resultobj;
6206 fail:
6207 return NULL;
6208 }
6209
6210
6211 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6212 PyObject *resultobj;
6213 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6214 PyObject * obj0 = 0 ;
6215 char *kwnames[] = {
6216 (char *) "self", NULL
6217 };
6218
6219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6222 {
6223 PyThreadState* __tstate = wxPyBeginAllowThreads();
6224 (arg1)->SizeWindows();
6225
6226 wxPyEndAllowThreads(__tstate);
6227 if (PyErr_Occurred()) SWIG_fail;
6228 }
6229 Py_INCREF(Py_None); resultobj = Py_None;
6230 return resultobj;
6231 fail:
6232 return NULL;
6233 }
6234
6235
6236 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6237 PyObject *resultobj;
6238 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6239 bool arg2 ;
6240 PyObject * obj0 = 0 ;
6241 PyObject * obj1 = 0 ;
6242 char *kwnames[] = {
6243 (char *) "self",(char *) "needUpdating", NULL
6244 };
6245
6246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6249 arg2 = (bool) SWIG_AsBool(obj1);
6250 if (PyErr_Occurred()) SWIG_fail;
6251 {
6252 PyThreadState* __tstate = wxPyBeginAllowThreads();
6253 (arg1)->SetNeedUpdating(arg2);
6254
6255 wxPyEndAllowThreads(__tstate);
6256 if (PyErr_Occurred()) SWIG_fail;
6257 }
6258 Py_INCREF(Py_None); resultobj = Py_None;
6259 return resultobj;
6260 fail:
6261 return NULL;
6262 }
6263
6264
6265 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6266 PyObject *resultobj;
6267 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6268 bool result;
6269 PyObject * obj0 = 0 ;
6270 char *kwnames[] = {
6271 (char *) "self", NULL
6272 };
6273
6274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6277 {
6278 PyThreadState* __tstate = wxPyBeginAllowThreads();
6279 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6280
6281 wxPyEndAllowThreads(__tstate);
6282 if (PyErr_Occurred()) SWIG_fail;
6283 }
6284 {
6285 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6286 }
6287 return resultobj;
6288 fail:
6289 return NULL;
6290 }
6291
6292
6293 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
6294 PyObject *obj;
6295 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6296 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6297 Py_INCREF(obj);
6298 return Py_BuildValue((char *)"");
6299 }
6300 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6301 PyObject *resultobj;
6302 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6303 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6304 wxSplitterEvent *result;
6305 PyObject * obj0 = 0 ;
6306 PyObject * obj1 = 0 ;
6307 char *kwnames[] = {
6308 (char *) "type",(char *) "splitter", NULL
6309 };
6310
6311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6312 if (obj0) {
6313 arg1 = (wxEventType) SWIG_AsInt(obj0);
6314 if (PyErr_Occurred()) SWIG_fail;
6315 }
6316 if (obj1) {
6317 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6319 }
6320 {
6321 PyThreadState* __tstate = wxPyBeginAllowThreads();
6322 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6323
6324 wxPyEndAllowThreads(__tstate);
6325 if (PyErr_Occurred()) SWIG_fail;
6326 }
6327 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6328 return resultobj;
6329 fail:
6330 return NULL;
6331 }
6332
6333
6334 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6335 PyObject *resultobj;
6336 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6337 int arg2 ;
6338 PyObject * obj0 = 0 ;
6339 PyObject * obj1 = 0 ;
6340 char *kwnames[] = {
6341 (char *) "self",(char *) "pos", NULL
6342 };
6343
6344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6347 arg2 = (int) SWIG_AsInt(obj1);
6348 if (PyErr_Occurred()) SWIG_fail;
6349 {
6350 PyThreadState* __tstate = wxPyBeginAllowThreads();
6351 (arg1)->SetSashPosition(arg2);
6352
6353 wxPyEndAllowThreads(__tstate);
6354 if (PyErr_Occurred()) SWIG_fail;
6355 }
6356 Py_INCREF(Py_None); resultobj = Py_None;
6357 return resultobj;
6358 fail:
6359 return NULL;
6360 }
6361
6362
6363 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6364 PyObject *resultobj;
6365 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6366 int result;
6367 PyObject * obj0 = 0 ;
6368 char *kwnames[] = {
6369 (char *) "self", NULL
6370 };
6371
6372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6375 {
6376 PyThreadState* __tstate = wxPyBeginAllowThreads();
6377 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6378
6379 wxPyEndAllowThreads(__tstate);
6380 if (PyErr_Occurred()) SWIG_fail;
6381 }
6382 resultobj = SWIG_FromInt((int)result);
6383 return resultobj;
6384 fail:
6385 return NULL;
6386 }
6387
6388
6389 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
6390 PyObject *resultobj;
6391 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6392 wxWindow *result;
6393 PyObject * obj0 = 0 ;
6394 char *kwnames[] = {
6395 (char *) "self", NULL
6396 };
6397
6398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6401 {
6402 PyThreadState* __tstate = wxPyBeginAllowThreads();
6403 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6404
6405 wxPyEndAllowThreads(__tstate);
6406 if (PyErr_Occurred()) SWIG_fail;
6407 }
6408 {
6409 resultobj = wxPyMake_wxObject(result);
6410 }
6411 return resultobj;
6412 fail:
6413 return NULL;
6414 }
6415
6416
6417 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
6418 PyObject *resultobj;
6419 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6420 int result;
6421 PyObject * obj0 = 0 ;
6422 char *kwnames[] = {
6423 (char *) "self", NULL
6424 };
6425
6426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6429 {
6430 PyThreadState* __tstate = wxPyBeginAllowThreads();
6431 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6432
6433 wxPyEndAllowThreads(__tstate);
6434 if (PyErr_Occurred()) SWIG_fail;
6435 }
6436 resultobj = SWIG_FromInt((int)result);
6437 return resultobj;
6438 fail:
6439 return NULL;
6440 }
6441
6442
6443 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
6444 PyObject *resultobj;
6445 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6446 int result;
6447 PyObject * obj0 = 0 ;
6448 char *kwnames[] = {
6449 (char *) "self", NULL
6450 };
6451
6452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6455 {
6456 PyThreadState* __tstate = wxPyBeginAllowThreads();
6457 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6458
6459 wxPyEndAllowThreads(__tstate);
6460 if (PyErr_Occurred()) SWIG_fail;
6461 }
6462 resultobj = SWIG_FromInt((int)result);
6463 return resultobj;
6464 fail:
6465 return NULL;
6466 }
6467
6468
6469 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
6470 PyObject *obj;
6471 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6472 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6473 Py_INCREF(obj);
6474 return Py_BuildValue((char *)"");
6475 }
6476 static int _wrap_SashNameStr_set(PyObject *_val) {
6477 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6478 return 1;
6479 }
6480
6481
6482 static PyObject *_wrap_SashNameStr_get() {
6483 PyObject *pyobj;
6484
6485 {
6486 #if wxUSE_UNICODE
6487 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6488 #else
6489 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6490 #endif
6491 }
6492 return pyobj;
6493 }
6494
6495
6496 static int _wrap_SashLayoutNameStr_set(PyObject *_val) {
6497 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6498 return 1;
6499 }
6500
6501
6502 static PyObject *_wrap_SashLayoutNameStr_get() {
6503 PyObject *pyobj;
6504
6505 {
6506 #if wxUSE_UNICODE
6507 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6508 #else
6509 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6510 #endif
6511 }
6512 return pyobj;
6513 }
6514
6515
6516 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6517 PyObject *resultobj;
6518 wxWindow *arg1 = (wxWindow *) 0 ;
6519 int arg2 ;
6520 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6521 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6522 wxSize const &arg4_defvalue = wxDefaultSize ;
6523 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6524 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6525 wxString const &arg6_defvalue = wxPySashNameStr ;
6526 wxString *arg6 = (wxString *) &arg6_defvalue ;
6527 wxSashWindow *result;
6528 wxPoint temp3 ;
6529 wxSize temp4 ;
6530 bool temp6 = False ;
6531 PyObject * obj0 = 0 ;
6532 PyObject * obj1 = 0 ;
6533 PyObject * obj2 = 0 ;
6534 PyObject * obj3 = 0 ;
6535 PyObject * obj4 = 0 ;
6536 PyObject * obj5 = 0 ;
6537 char *kwnames[] = {
6538 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6539 };
6540
6541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6544 arg2 = (int) SWIG_AsInt(obj1);
6545 if (PyErr_Occurred()) SWIG_fail;
6546 if (obj2) {
6547 {
6548 arg3 = &temp3;
6549 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6550 }
6551 }
6552 if (obj3) {
6553 {
6554 arg4 = &temp4;
6555 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6556 }
6557 }
6558 if (obj4) {
6559 arg5 = (long) SWIG_AsLong(obj4);
6560 if (PyErr_Occurred()) SWIG_fail;
6561 }
6562 if (obj5) {
6563 {
6564 arg6 = wxString_in_helper(obj5);
6565 if (arg6 == NULL) SWIG_fail;
6566 temp6 = True;
6567 }
6568 }
6569 {
6570 PyThreadState* __tstate = wxPyBeginAllowThreads();
6571 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6572
6573 wxPyEndAllowThreads(__tstate);
6574 if (PyErr_Occurred()) SWIG_fail;
6575 }
6576 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6577 {
6578 if (temp6)
6579 delete arg6;
6580 }
6581 return resultobj;
6582 fail:
6583 {
6584 if (temp6)
6585 delete arg6;
6586 }
6587 return NULL;
6588 }
6589
6590
6591 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6592 PyObject *resultobj;
6593 wxSashWindow *result;
6594 char *kwnames[] = {
6595 NULL
6596 };
6597
6598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6599 {
6600 PyThreadState* __tstate = wxPyBeginAllowThreads();
6601 result = (wxSashWindow *)new wxSashWindow();
6602
6603 wxPyEndAllowThreads(__tstate);
6604 if (PyErr_Occurred()) SWIG_fail;
6605 }
6606 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6607 return resultobj;
6608 fail:
6609 return NULL;
6610 }
6611
6612
6613 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6614 PyObject *resultobj;
6615 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6616 wxWindow *arg2 = (wxWindow *) 0 ;
6617 int arg3 ;
6618 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6619 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6620 wxSize const &arg5_defvalue = wxDefaultSize ;
6621 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6622 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6623 wxString const &arg7_defvalue = wxPySashNameStr ;
6624 wxString *arg7 = (wxString *) &arg7_defvalue ;
6625 bool result;
6626 wxPoint temp4 ;
6627 wxSize temp5 ;
6628 bool temp7 = False ;
6629 PyObject * obj0 = 0 ;
6630 PyObject * obj1 = 0 ;
6631 PyObject * obj2 = 0 ;
6632 PyObject * obj3 = 0 ;
6633 PyObject * obj4 = 0 ;
6634 PyObject * obj5 = 0 ;
6635 PyObject * obj6 = 0 ;
6636 char *kwnames[] = {
6637 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6638 };
6639
6640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6643 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6645 arg3 = (int) SWIG_AsInt(obj2);
6646 if (PyErr_Occurred()) SWIG_fail;
6647 if (obj3) {
6648 {
6649 arg4 = &temp4;
6650 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6651 }
6652 }
6653 if (obj4) {
6654 {
6655 arg5 = &temp5;
6656 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6657 }
6658 }
6659 if (obj5) {
6660 arg6 = (long) SWIG_AsLong(obj5);
6661 if (PyErr_Occurred()) SWIG_fail;
6662 }
6663 if (obj6) {
6664 {
6665 arg7 = wxString_in_helper(obj6);
6666 if (arg7 == NULL) SWIG_fail;
6667 temp7 = True;
6668 }
6669 }
6670 {
6671 PyThreadState* __tstate = wxPyBeginAllowThreads();
6672 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6673
6674 wxPyEndAllowThreads(__tstate);
6675 if (PyErr_Occurred()) SWIG_fail;
6676 }
6677 {
6678 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6679 }
6680 {
6681 if (temp7)
6682 delete arg7;
6683 }
6684 return resultobj;
6685 fail:
6686 {
6687 if (temp7)
6688 delete arg7;
6689 }
6690 return NULL;
6691 }
6692
6693
6694 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6695 PyObject *resultobj;
6696 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6697 int arg2 ;
6698 bool arg3 ;
6699 PyObject * obj0 = 0 ;
6700 PyObject * obj1 = 0 ;
6701 PyObject * obj2 = 0 ;
6702 char *kwnames[] = {
6703 (char *) "self",(char *) "edge",(char *) "sash", NULL
6704 };
6705
6706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
6707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6709 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6710 if (PyErr_Occurred()) SWIG_fail;
6711 arg3 = (bool) SWIG_AsBool(obj2);
6712 if (PyErr_Occurred()) SWIG_fail;
6713 {
6714 PyThreadState* __tstate = wxPyBeginAllowThreads();
6715 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6716
6717 wxPyEndAllowThreads(__tstate);
6718 if (PyErr_Occurred()) SWIG_fail;
6719 }
6720 Py_INCREF(Py_None); resultobj = Py_None;
6721 return resultobj;
6722 fail:
6723 return NULL;
6724 }
6725
6726
6727 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6728 PyObject *resultobj;
6729 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6730 int arg2 ;
6731 bool result;
6732 PyObject * obj0 = 0 ;
6733 PyObject * obj1 = 0 ;
6734 char *kwnames[] = {
6735 (char *) "self",(char *) "edge", NULL
6736 };
6737
6738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
6739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6741 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6742 if (PyErr_Occurred()) SWIG_fail;
6743 {
6744 PyThreadState* __tstate = wxPyBeginAllowThreads();
6745 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
6746
6747 wxPyEndAllowThreads(__tstate);
6748 if (PyErr_Occurred()) SWIG_fail;
6749 }
6750 {
6751 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6752 }
6753 return resultobj;
6754 fail:
6755 return NULL;
6756 }
6757
6758
6759 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6760 PyObject *resultobj;
6761 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6762 int arg2 ;
6763 bool arg3 ;
6764 PyObject * obj0 = 0 ;
6765 PyObject * obj1 = 0 ;
6766 PyObject * obj2 = 0 ;
6767 char *kwnames[] = {
6768 (char *) "self",(char *) "edge",(char *) "border", NULL
6769 };
6770
6771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
6772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6774 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6775 if (PyErr_Occurred()) SWIG_fail;
6776 arg3 = (bool) SWIG_AsBool(obj2);
6777 if (PyErr_Occurred()) SWIG_fail;
6778 {
6779 PyThreadState* __tstate = wxPyBeginAllowThreads();
6780 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
6781
6782 wxPyEndAllowThreads(__tstate);
6783 if (PyErr_Occurred()) SWIG_fail;
6784 }
6785 Py_INCREF(Py_None); resultobj = Py_None;
6786 return resultobj;
6787 fail:
6788 return NULL;
6789 }
6790
6791
6792 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6793 PyObject *resultobj;
6794 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6795 int arg2 ;
6796 bool result;
6797 PyObject * obj0 = 0 ;
6798 PyObject * obj1 = 0 ;
6799 char *kwnames[] = {
6800 (char *) "self",(char *) "edge", NULL
6801 };
6802
6803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
6804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6806 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6807 if (PyErr_Occurred()) SWIG_fail;
6808 {
6809 PyThreadState* __tstate = wxPyBeginAllowThreads();
6810 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
6811
6812 wxPyEndAllowThreads(__tstate);
6813 if (PyErr_Occurred()) SWIG_fail;
6814 }
6815 {
6816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6817 }
6818 return resultobj;
6819 fail:
6820 return NULL;
6821 }
6822
6823
6824 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
6825 PyObject *resultobj;
6826 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6827 int arg2 ;
6828 int result;
6829 PyObject * obj0 = 0 ;
6830 PyObject * obj1 = 0 ;
6831 char *kwnames[] = {
6832 (char *) "self",(char *) "edge", NULL
6833 };
6834
6835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
6836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6838 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6839 if (PyErr_Occurred()) SWIG_fail;
6840 {
6841 PyThreadState* __tstate = wxPyBeginAllowThreads();
6842 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
6843
6844 wxPyEndAllowThreads(__tstate);
6845 if (PyErr_Occurred()) SWIG_fail;
6846 }
6847 resultobj = SWIG_FromInt((int)result);
6848 return resultobj;
6849 fail:
6850 return NULL;
6851 }
6852
6853
6854 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6855 PyObject *resultobj;
6856 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6857 int arg2 ;
6858 PyObject * obj0 = 0 ;
6859 PyObject * obj1 = 0 ;
6860 char *kwnames[] = {
6861 (char *) "self",(char *) "width", NULL
6862 };
6863
6864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
6865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6867 arg2 = (int) SWIG_AsInt(obj1);
6868 if (PyErr_Occurred()) SWIG_fail;
6869 {
6870 PyThreadState* __tstate = wxPyBeginAllowThreads();
6871 (arg1)->SetDefaultBorderSize(arg2);
6872
6873 wxPyEndAllowThreads(__tstate);
6874 if (PyErr_Occurred()) SWIG_fail;
6875 }
6876 Py_INCREF(Py_None); resultobj = Py_None;
6877 return resultobj;
6878 fail:
6879 return NULL;
6880 }
6881
6882
6883 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6884 PyObject *resultobj;
6885 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6886 int result;
6887 PyObject * obj0 = 0 ;
6888 char *kwnames[] = {
6889 (char *) "self", NULL
6890 };
6891
6892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
6893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6895 {
6896 PyThreadState* __tstate = wxPyBeginAllowThreads();
6897 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
6898
6899 wxPyEndAllowThreads(__tstate);
6900 if (PyErr_Occurred()) SWIG_fail;
6901 }
6902 resultobj = SWIG_FromInt((int)result);
6903 return resultobj;
6904 fail:
6905 return NULL;
6906 }
6907
6908
6909 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6910 PyObject *resultobj;
6911 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6912 int arg2 ;
6913 PyObject * obj0 = 0 ;
6914 PyObject * obj1 = 0 ;
6915 char *kwnames[] = {
6916 (char *) "self",(char *) "width", NULL
6917 };
6918
6919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
6920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6922 arg2 = (int) SWIG_AsInt(obj1);
6923 if (PyErr_Occurred()) SWIG_fail;
6924 {
6925 PyThreadState* __tstate = wxPyBeginAllowThreads();
6926 (arg1)->SetExtraBorderSize(arg2);
6927
6928 wxPyEndAllowThreads(__tstate);
6929 if (PyErr_Occurred()) SWIG_fail;
6930 }
6931 Py_INCREF(Py_None); resultobj = Py_None;
6932 return resultobj;
6933 fail:
6934 return NULL;
6935 }
6936
6937
6938 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6939 PyObject *resultobj;
6940 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6941 int result;
6942 PyObject * obj0 = 0 ;
6943 char *kwnames[] = {
6944 (char *) "self", NULL
6945 };
6946
6947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
6948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6950 {
6951 PyThreadState* __tstate = wxPyBeginAllowThreads();
6952 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
6953
6954 wxPyEndAllowThreads(__tstate);
6955 if (PyErr_Occurred()) SWIG_fail;
6956 }
6957 resultobj = SWIG_FromInt((int)result);
6958 return resultobj;
6959 fail:
6960 return NULL;
6961 }
6962
6963
6964 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6965 PyObject *resultobj;
6966 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6967 int arg2 ;
6968 PyObject * obj0 = 0 ;
6969 PyObject * obj1 = 0 ;
6970 char *kwnames[] = {
6971 (char *) "self",(char *) "min", NULL
6972 };
6973
6974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
6975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6977 arg2 = (int) SWIG_AsInt(obj1);
6978 if (PyErr_Occurred()) SWIG_fail;
6979 {
6980 PyThreadState* __tstate = wxPyBeginAllowThreads();
6981 (arg1)->SetMinimumSizeX(arg2);
6982
6983 wxPyEndAllowThreads(__tstate);
6984 if (PyErr_Occurred()) SWIG_fail;
6985 }
6986 Py_INCREF(Py_None); resultobj = Py_None;
6987 return resultobj;
6988 fail:
6989 return NULL;
6990 }
6991
6992
6993 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6994 PyObject *resultobj;
6995 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6996 int arg2 ;
6997 PyObject * obj0 = 0 ;
6998 PyObject * obj1 = 0 ;
6999 char *kwnames[] = {
7000 (char *) "self",(char *) "min", NULL
7001 };
7002
7003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
7004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7006 arg2 = (int) SWIG_AsInt(obj1);
7007 if (PyErr_Occurred()) SWIG_fail;
7008 {
7009 PyThreadState* __tstate = wxPyBeginAllowThreads();
7010 (arg1)->SetMinimumSizeY(arg2);
7011
7012 wxPyEndAllowThreads(__tstate);
7013 if (PyErr_Occurred()) SWIG_fail;
7014 }
7015 Py_INCREF(Py_None); resultobj = Py_None;
7016 return resultobj;
7017 fail:
7018 return NULL;
7019 }
7020
7021
7022 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7023 PyObject *resultobj;
7024 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7025 int result;
7026 PyObject * obj0 = 0 ;
7027 char *kwnames[] = {
7028 (char *) "self", NULL
7029 };
7030
7031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
7032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7034 {
7035 PyThreadState* __tstate = wxPyBeginAllowThreads();
7036 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
7037
7038 wxPyEndAllowThreads(__tstate);
7039 if (PyErr_Occurred()) SWIG_fail;
7040 }
7041 resultobj = SWIG_FromInt((int)result);
7042 return resultobj;
7043 fail:
7044 return NULL;
7045 }
7046
7047
7048 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7049 PyObject *resultobj;
7050 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7051 int result;
7052 PyObject * obj0 = 0 ;
7053 char *kwnames[] = {
7054 (char *) "self", NULL
7055 };
7056
7057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
7058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7060 {
7061 PyThreadState* __tstate = wxPyBeginAllowThreads();
7062 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
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_SetMaximumSizeX(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 *) "max", NULL
7082 };
7083
7084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",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)->SetMaximumSizeX(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_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7104 PyObject *resultobj;
7105 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7106 int arg2 ;
7107 PyObject * obj0 = 0 ;
7108 PyObject * obj1 = 0 ;
7109 char *kwnames[] = {
7110 (char *) "self",(char *) "max", NULL
7111 };
7112
7113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7116 arg2 = (int) SWIG_AsInt(obj1);
7117 if (PyErr_Occurred()) SWIG_fail;
7118 {
7119 PyThreadState* __tstate = wxPyBeginAllowThreads();
7120 (arg1)->SetMaximumSizeY(arg2);
7121
7122 wxPyEndAllowThreads(__tstate);
7123 if (PyErr_Occurred()) SWIG_fail;
7124 }
7125 Py_INCREF(Py_None); resultobj = Py_None;
7126 return resultobj;
7127 fail:
7128 return NULL;
7129 }
7130
7131
7132 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7133 PyObject *resultobj;
7134 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7135 int result;
7136 PyObject * obj0 = 0 ;
7137 char *kwnames[] = {
7138 (char *) "self", NULL
7139 };
7140
7141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7144 {
7145 PyThreadState* __tstate = wxPyBeginAllowThreads();
7146 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7147
7148 wxPyEndAllowThreads(__tstate);
7149 if (PyErr_Occurred()) SWIG_fail;
7150 }
7151 resultobj = SWIG_FromInt((int)result);
7152 return resultobj;
7153 fail:
7154 return NULL;
7155 }
7156
7157
7158 static PyObject *_wrap_SashWindow_GetMaximumSizeY(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_GetMaximumSizeY",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)->GetMaximumSizeY();
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_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
7185 PyObject *resultobj;
7186 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7187 int arg2 ;
7188 int arg3 ;
7189 int arg4 = (int) 2 ;
7190 int result;
7191 PyObject * obj0 = 0 ;
7192 PyObject * obj1 = 0 ;
7193 PyObject * obj2 = 0 ;
7194 PyObject * obj3 = 0 ;
7195 char *kwnames[] = {
7196 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7197 };
7198
7199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7202 arg2 = (int) SWIG_AsInt(obj1);
7203 if (PyErr_Occurred()) SWIG_fail;
7204 arg3 = (int) SWIG_AsInt(obj2);
7205 if (PyErr_Occurred()) SWIG_fail;
7206 if (obj3) {
7207 arg4 = (int) SWIG_AsInt(obj3);
7208 if (PyErr_Occurred()) SWIG_fail;
7209 }
7210 {
7211 PyThreadState* __tstate = wxPyBeginAllowThreads();
7212 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7213
7214 wxPyEndAllowThreads(__tstate);
7215 if (PyErr_Occurred()) SWIG_fail;
7216 }
7217 resultobj = SWIG_FromInt((int)result);
7218 return resultobj;
7219 fail:
7220 return NULL;
7221 }
7222
7223
7224 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
7225 PyObject *resultobj;
7226 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7227 PyObject * obj0 = 0 ;
7228 char *kwnames[] = {
7229 (char *) "self", NULL
7230 };
7231
7232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7235 {
7236 PyThreadState* __tstate = wxPyBeginAllowThreads();
7237 (arg1)->SizeWindows();
7238
7239 wxPyEndAllowThreads(__tstate);
7240 if (PyErr_Occurred()) SWIG_fail;
7241 }
7242 Py_INCREF(Py_None); resultobj = Py_None;
7243 return resultobj;
7244 fail:
7245 return NULL;
7246 }
7247
7248
7249 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
7250 PyObject *obj;
7251 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7252 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7253 Py_INCREF(obj);
7254 return Py_BuildValue((char *)"");
7255 }
7256 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7257 PyObject *resultobj;
7258 int arg1 = (int) 0 ;
7259 int arg2 = (int) wxSASH_NONE ;
7260 wxSashEvent *result;
7261 PyObject * obj0 = 0 ;
7262 PyObject * obj1 = 0 ;
7263 char *kwnames[] = {
7264 (char *) "id",(char *) "edge", NULL
7265 };
7266
7267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7268 if (obj0) {
7269 arg1 = (int) SWIG_AsInt(obj0);
7270 if (PyErr_Occurred()) SWIG_fail;
7271 }
7272 if (obj1) {
7273 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7274 if (PyErr_Occurred()) SWIG_fail;
7275 }
7276 {
7277 PyThreadState* __tstate = wxPyBeginAllowThreads();
7278 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7279
7280 wxPyEndAllowThreads(__tstate);
7281 if (PyErr_Occurred()) SWIG_fail;
7282 }
7283 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7284 return resultobj;
7285 fail:
7286 return NULL;
7287 }
7288
7289
7290 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7291 PyObject *resultobj;
7292 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7293 int arg2 ;
7294 PyObject * obj0 = 0 ;
7295 PyObject * obj1 = 0 ;
7296 char *kwnames[] = {
7297 (char *) "self",(char *) "edge", NULL
7298 };
7299
7300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7303 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7304 if (PyErr_Occurred()) SWIG_fail;
7305 {
7306 PyThreadState* __tstate = wxPyBeginAllowThreads();
7307 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7308
7309 wxPyEndAllowThreads(__tstate);
7310 if (PyErr_Occurred()) SWIG_fail;
7311 }
7312 Py_INCREF(Py_None); resultobj = Py_None;
7313 return resultobj;
7314 fail:
7315 return NULL;
7316 }
7317
7318
7319 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7320 PyObject *resultobj;
7321 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7322 int result;
7323 PyObject * obj0 = 0 ;
7324 char *kwnames[] = {
7325 (char *) "self", NULL
7326 };
7327
7328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7331 {
7332 PyThreadState* __tstate = wxPyBeginAllowThreads();
7333 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7334
7335 wxPyEndAllowThreads(__tstate);
7336 if (PyErr_Occurred()) SWIG_fail;
7337 }
7338 resultobj = SWIG_FromInt((int)result);
7339 return resultobj;
7340 fail:
7341 return NULL;
7342 }
7343
7344
7345 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7346 PyObject *resultobj;
7347 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7348 wxRect *arg2 = 0 ;
7349 wxRect temp2 ;
7350 PyObject * obj0 = 0 ;
7351 PyObject * obj1 = 0 ;
7352 char *kwnames[] = {
7353 (char *) "self",(char *) "rect", NULL
7354 };
7355
7356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7359 {
7360 arg2 = &temp2;
7361 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7362 }
7363 {
7364 PyThreadState* __tstate = wxPyBeginAllowThreads();
7365 (arg1)->SetDragRect((wxRect const &)*arg2);
7366
7367 wxPyEndAllowThreads(__tstate);
7368 if (PyErr_Occurred()) SWIG_fail;
7369 }
7370 Py_INCREF(Py_None); resultobj = Py_None;
7371 return resultobj;
7372 fail:
7373 return NULL;
7374 }
7375
7376
7377 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7378 PyObject *resultobj;
7379 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7380 wxRect result;
7381 PyObject * obj0 = 0 ;
7382 char *kwnames[] = {
7383 (char *) "self", NULL
7384 };
7385
7386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7389 {
7390 PyThreadState* __tstate = wxPyBeginAllowThreads();
7391 result = ((wxSashEvent const *)arg1)->GetDragRect();
7392
7393 wxPyEndAllowThreads(__tstate);
7394 if (PyErr_Occurred()) SWIG_fail;
7395 }
7396 {
7397 wxRect * resultptr;
7398 resultptr = new wxRect((wxRect &) result);
7399 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7400 }
7401 return resultobj;
7402 fail:
7403 return NULL;
7404 }
7405
7406
7407 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7408 PyObject *resultobj;
7409 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7410 int arg2 ;
7411 PyObject * obj0 = 0 ;
7412 PyObject * obj1 = 0 ;
7413 char *kwnames[] = {
7414 (char *) "self",(char *) "status", NULL
7415 };
7416
7417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7420 arg2 = (wxSashDragStatus) SWIG_AsInt(obj1);
7421 if (PyErr_Occurred()) SWIG_fail;
7422 {
7423 PyThreadState* __tstate = wxPyBeginAllowThreads();
7424 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7425
7426 wxPyEndAllowThreads(__tstate);
7427 if (PyErr_Occurred()) SWIG_fail;
7428 }
7429 Py_INCREF(Py_None); resultobj = Py_None;
7430 return resultobj;
7431 fail:
7432 return NULL;
7433 }
7434
7435
7436 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7437 PyObject *resultobj;
7438 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7439 int result;
7440 PyObject * obj0 = 0 ;
7441 char *kwnames[] = {
7442 (char *) "self", NULL
7443 };
7444
7445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7448 {
7449 PyThreadState* __tstate = wxPyBeginAllowThreads();
7450 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7451
7452 wxPyEndAllowThreads(__tstate);
7453 if (PyErr_Occurred()) SWIG_fail;
7454 }
7455 resultobj = SWIG_FromInt((int)result);
7456 return resultobj;
7457 fail:
7458 return NULL;
7459 }
7460
7461
7462 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
7463 PyObject *obj;
7464 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7465 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7466 Py_INCREF(obj);
7467 return Py_BuildValue((char *)"");
7468 }
7469 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7470 PyObject *resultobj;
7471 int arg1 = (int) 0 ;
7472 wxQueryLayoutInfoEvent *result;
7473 PyObject * obj0 = 0 ;
7474 char *kwnames[] = {
7475 (char *) "id", NULL
7476 };
7477
7478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7479 if (obj0) {
7480 arg1 = (int) SWIG_AsInt(obj0);
7481 if (PyErr_Occurred()) SWIG_fail;
7482 }
7483 {
7484 PyThreadState* __tstate = wxPyBeginAllowThreads();
7485 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7486
7487 wxPyEndAllowThreads(__tstate);
7488 if (PyErr_Occurred()) SWIG_fail;
7489 }
7490 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7491 return resultobj;
7492 fail:
7493 return NULL;
7494 }
7495
7496
7497 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7498 PyObject *resultobj;
7499 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7500 int arg2 ;
7501 PyObject * obj0 = 0 ;
7502 PyObject * obj1 = 0 ;
7503 char *kwnames[] = {
7504 (char *) "self",(char *) "length", NULL
7505 };
7506
7507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
7508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7510 arg2 = (int) SWIG_AsInt(obj1);
7511 if (PyErr_Occurred()) SWIG_fail;
7512 {
7513 PyThreadState* __tstate = wxPyBeginAllowThreads();
7514 (arg1)->SetRequestedLength(arg2);
7515
7516 wxPyEndAllowThreads(__tstate);
7517 if (PyErr_Occurred()) SWIG_fail;
7518 }
7519 Py_INCREF(Py_None); resultobj = Py_None;
7520 return resultobj;
7521 fail:
7522 return NULL;
7523 }
7524
7525
7526 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7527 PyObject *resultobj;
7528 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7529 int result;
7530 PyObject * obj0 = 0 ;
7531 char *kwnames[] = {
7532 (char *) "self", NULL
7533 };
7534
7535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
7536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7538 {
7539 PyThreadState* __tstate = wxPyBeginAllowThreads();
7540 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7541
7542 wxPyEndAllowThreads(__tstate);
7543 if (PyErr_Occurred()) SWIG_fail;
7544 }
7545 resultobj = SWIG_FromInt((int)result);
7546 return resultobj;
7547 fail:
7548 return NULL;
7549 }
7550
7551
7552 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7553 PyObject *resultobj;
7554 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7555 int arg2 ;
7556 PyObject * obj0 = 0 ;
7557 PyObject * obj1 = 0 ;
7558 char *kwnames[] = {
7559 (char *) "self",(char *) "flags", NULL
7560 };
7561
7562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7565 arg2 = (int) SWIG_AsInt(obj1);
7566 if (PyErr_Occurred()) SWIG_fail;
7567 {
7568 PyThreadState* __tstate = wxPyBeginAllowThreads();
7569 (arg1)->SetFlags(arg2);
7570
7571 wxPyEndAllowThreads(__tstate);
7572 if (PyErr_Occurred()) SWIG_fail;
7573 }
7574 Py_INCREF(Py_None); resultobj = Py_None;
7575 return resultobj;
7576 fail:
7577 return NULL;
7578 }
7579
7580
7581 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7582 PyObject *resultobj;
7583 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7584 int result;
7585 PyObject * obj0 = 0 ;
7586 char *kwnames[] = {
7587 (char *) "self", NULL
7588 };
7589
7590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
7591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7593 {
7594 PyThreadState* __tstate = wxPyBeginAllowThreads();
7595 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
7596
7597 wxPyEndAllowThreads(__tstate);
7598 if (PyErr_Occurred()) SWIG_fail;
7599 }
7600 resultobj = SWIG_FromInt((int)result);
7601 return resultobj;
7602 fail:
7603 return NULL;
7604 }
7605
7606
7607 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7608 PyObject *resultobj;
7609 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7610 wxSize *arg2 = 0 ;
7611 wxSize temp2 ;
7612 PyObject * obj0 = 0 ;
7613 PyObject * obj1 = 0 ;
7614 char *kwnames[] = {
7615 (char *) "self",(char *) "size", NULL
7616 };
7617
7618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
7619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7621 {
7622 arg2 = &temp2;
7623 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7624 }
7625 {
7626 PyThreadState* __tstate = wxPyBeginAllowThreads();
7627 (arg1)->SetSize((wxSize const &)*arg2);
7628
7629 wxPyEndAllowThreads(__tstate);
7630 if (PyErr_Occurred()) SWIG_fail;
7631 }
7632 Py_INCREF(Py_None); resultobj = Py_None;
7633 return resultobj;
7634 fail:
7635 return NULL;
7636 }
7637
7638
7639 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7640 PyObject *resultobj;
7641 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7642 wxSize result;
7643 PyObject * obj0 = 0 ;
7644 char *kwnames[] = {
7645 (char *) "self", NULL
7646 };
7647
7648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
7649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7651 {
7652 PyThreadState* __tstate = wxPyBeginAllowThreads();
7653 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
7654
7655 wxPyEndAllowThreads(__tstate);
7656 if (PyErr_Occurred()) SWIG_fail;
7657 }
7658 {
7659 wxSize * resultptr;
7660 resultptr = new wxSize((wxSize &) result);
7661 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
7662 }
7663 return resultobj;
7664 fail:
7665 return NULL;
7666 }
7667
7668
7669 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7670 PyObject *resultobj;
7671 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7672 int arg2 ;
7673 PyObject * obj0 = 0 ;
7674 PyObject * obj1 = 0 ;
7675 char *kwnames[] = {
7676 (char *) "self",(char *) "orient", NULL
7677 };
7678
7679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
7680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7682 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
7683 if (PyErr_Occurred()) SWIG_fail;
7684 {
7685 PyThreadState* __tstate = wxPyBeginAllowThreads();
7686 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7687
7688 wxPyEndAllowThreads(__tstate);
7689 if (PyErr_Occurred()) SWIG_fail;
7690 }
7691 Py_INCREF(Py_None); resultobj = Py_None;
7692 return resultobj;
7693 fail:
7694 return NULL;
7695 }
7696
7697
7698 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7699 PyObject *resultobj;
7700 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7701 int result;
7702 PyObject * obj0 = 0 ;
7703 char *kwnames[] = {
7704 (char *) "self", NULL
7705 };
7706
7707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
7708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7710 {
7711 PyThreadState* __tstate = wxPyBeginAllowThreads();
7712 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
7713
7714 wxPyEndAllowThreads(__tstate);
7715 if (PyErr_Occurred()) SWIG_fail;
7716 }
7717 resultobj = SWIG_FromInt((int)result);
7718 return resultobj;
7719 fail:
7720 return NULL;
7721 }
7722
7723
7724 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7725 PyObject *resultobj;
7726 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7727 int arg2 ;
7728 PyObject * obj0 = 0 ;
7729 PyObject * obj1 = 0 ;
7730 char *kwnames[] = {
7731 (char *) "self",(char *) "align", NULL
7732 };
7733
7734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7737 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
7738 if (PyErr_Occurred()) SWIG_fail;
7739 {
7740 PyThreadState* __tstate = wxPyBeginAllowThreads();
7741 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7742
7743 wxPyEndAllowThreads(__tstate);
7744 if (PyErr_Occurred()) SWIG_fail;
7745 }
7746 Py_INCREF(Py_None); resultobj = Py_None;
7747 return resultobj;
7748 fail:
7749 return NULL;
7750 }
7751
7752
7753 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7754 PyObject *resultobj;
7755 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7756 int result;
7757 PyObject * obj0 = 0 ;
7758 char *kwnames[] = {
7759 (char *) "self", NULL
7760 };
7761
7762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
7763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7765 {
7766 PyThreadState* __tstate = wxPyBeginAllowThreads();
7767 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
7768
7769 wxPyEndAllowThreads(__tstate);
7770 if (PyErr_Occurred()) SWIG_fail;
7771 }
7772 resultobj = SWIG_FromInt((int)result);
7773 return resultobj;
7774 fail:
7775 return NULL;
7776 }
7777
7778
7779 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
7780 PyObject *obj;
7781 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7782 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
7783 Py_INCREF(obj);
7784 return Py_BuildValue((char *)"");
7785 }
7786 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7787 PyObject *resultobj;
7788 int arg1 = (int) 0 ;
7789 wxCalculateLayoutEvent *result;
7790 PyObject * obj0 = 0 ;
7791 char *kwnames[] = {
7792 (char *) "id", NULL
7793 };
7794
7795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
7796 if (obj0) {
7797 arg1 = (int) SWIG_AsInt(obj0);
7798 if (PyErr_Occurred()) SWIG_fail;
7799 }
7800 {
7801 PyThreadState* __tstate = wxPyBeginAllowThreads();
7802 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
7803
7804 wxPyEndAllowThreads(__tstate);
7805 if (PyErr_Occurred()) SWIG_fail;
7806 }
7807 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
7808 return resultobj;
7809 fail:
7810 return NULL;
7811 }
7812
7813
7814 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7815 PyObject *resultobj;
7816 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7817 int arg2 ;
7818 PyObject * obj0 = 0 ;
7819 PyObject * obj1 = 0 ;
7820 char *kwnames[] = {
7821 (char *) "self",(char *) "flags", NULL
7822 };
7823
7824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7827 arg2 = (int) SWIG_AsInt(obj1);
7828 if (PyErr_Occurred()) SWIG_fail;
7829 {
7830 PyThreadState* __tstate = wxPyBeginAllowThreads();
7831 (arg1)->SetFlags(arg2);
7832
7833 wxPyEndAllowThreads(__tstate);
7834 if (PyErr_Occurred()) SWIG_fail;
7835 }
7836 Py_INCREF(Py_None); resultobj = Py_None;
7837 return resultobj;
7838 fail:
7839 return NULL;
7840 }
7841
7842
7843 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7844 PyObject *resultobj;
7845 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7846 int result;
7847 PyObject * obj0 = 0 ;
7848 char *kwnames[] = {
7849 (char *) "self", NULL
7850 };
7851
7852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
7853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7855 {
7856 PyThreadState* __tstate = wxPyBeginAllowThreads();
7857 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
7858
7859 wxPyEndAllowThreads(__tstate);
7860 if (PyErr_Occurred()) SWIG_fail;
7861 }
7862 resultobj = SWIG_FromInt((int)result);
7863 return resultobj;
7864 fail:
7865 return NULL;
7866 }
7867
7868
7869 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7870 PyObject *resultobj;
7871 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7872 wxRect *arg2 = 0 ;
7873 wxRect temp2 ;
7874 PyObject * obj0 = 0 ;
7875 PyObject * obj1 = 0 ;
7876 char *kwnames[] = {
7877 (char *) "self",(char *) "rect", NULL
7878 };
7879
7880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
7881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7883 {
7884 arg2 = &temp2;
7885 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7886 }
7887 {
7888 PyThreadState* __tstate = wxPyBeginAllowThreads();
7889 (arg1)->SetRect((wxRect const &)*arg2);
7890
7891 wxPyEndAllowThreads(__tstate);
7892 if (PyErr_Occurred()) SWIG_fail;
7893 }
7894 Py_INCREF(Py_None); resultobj = Py_None;
7895 return resultobj;
7896 fail:
7897 return NULL;
7898 }
7899
7900
7901 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7902 PyObject *resultobj;
7903 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7904 wxRect result;
7905 PyObject * obj0 = 0 ;
7906 char *kwnames[] = {
7907 (char *) "self", NULL
7908 };
7909
7910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
7911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7913 {
7914 PyThreadState* __tstate = wxPyBeginAllowThreads();
7915 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
7916
7917 wxPyEndAllowThreads(__tstate);
7918 if (PyErr_Occurred()) SWIG_fail;
7919 }
7920 {
7921 wxRect * resultptr;
7922 resultptr = new wxRect((wxRect &) result);
7923 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7924 }
7925 return resultobj;
7926 fail:
7927 return NULL;
7928 }
7929
7930
7931 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
7932 PyObject *obj;
7933 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7934 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
7935 Py_INCREF(obj);
7936 return Py_BuildValue((char *)"");
7937 }
7938 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7939 PyObject *resultobj;
7940 wxWindow *arg1 = (wxWindow *) 0 ;
7941 int arg2 ;
7942 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7943 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7944 wxSize const &arg4_defvalue = wxDefaultSize ;
7945 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7946 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7947 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
7948 wxString *arg6 = (wxString *) &arg6_defvalue ;
7949 wxSashLayoutWindow *result;
7950 wxPoint temp3 ;
7951 wxSize temp4 ;
7952 bool temp6 = False ;
7953 PyObject * obj0 = 0 ;
7954 PyObject * obj1 = 0 ;
7955 PyObject * obj2 = 0 ;
7956 PyObject * obj3 = 0 ;
7957 PyObject * obj4 = 0 ;
7958 PyObject * obj5 = 0 ;
7959 char *kwnames[] = {
7960 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7961 };
7962
7963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7966 arg2 = (int) SWIG_AsInt(obj1);
7967 if (PyErr_Occurred()) SWIG_fail;
7968 if (obj2) {
7969 {
7970 arg3 = &temp3;
7971 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7972 }
7973 }
7974 if (obj3) {
7975 {
7976 arg4 = &temp4;
7977 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7978 }
7979 }
7980 if (obj4) {
7981 arg5 = (long) SWIG_AsLong(obj4);
7982 if (PyErr_Occurred()) SWIG_fail;
7983 }
7984 if (obj5) {
7985 {
7986 arg6 = wxString_in_helper(obj5);
7987 if (arg6 == NULL) SWIG_fail;
7988 temp6 = True;
7989 }
7990 }
7991 {
7992 PyThreadState* __tstate = wxPyBeginAllowThreads();
7993 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7994
7995 wxPyEndAllowThreads(__tstate);
7996 if (PyErr_Occurred()) SWIG_fail;
7997 }
7998 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
7999 {
8000 if (temp6)
8001 delete arg6;
8002 }
8003 return resultobj;
8004 fail:
8005 {
8006 if (temp6)
8007 delete arg6;
8008 }
8009 return NULL;
8010 }
8011
8012
8013 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8014 PyObject *resultobj;
8015 wxSashLayoutWindow *result;
8016 char *kwnames[] = {
8017 NULL
8018 };
8019
8020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
8021 {
8022 PyThreadState* __tstate = wxPyBeginAllowThreads();
8023 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
8024
8025 wxPyEndAllowThreads(__tstate);
8026 if (PyErr_Occurred()) SWIG_fail;
8027 }
8028 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8029 return resultobj;
8030 fail:
8031 return NULL;
8032 }
8033
8034
8035 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8036 PyObject *resultobj;
8037 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8038 wxWindow *arg2 = (wxWindow *) 0 ;
8039 int arg3 ;
8040 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8041 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8042 wxSize const &arg5_defvalue = wxDefaultSize ;
8043 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8044 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8045 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
8046 wxString *arg7 = (wxString *) &arg7_defvalue ;
8047 bool result;
8048 wxPoint temp4 ;
8049 wxSize temp5 ;
8050 bool temp7 = False ;
8051 PyObject * obj0 = 0 ;
8052 PyObject * obj1 = 0 ;
8053 PyObject * obj2 = 0 ;
8054 PyObject * obj3 = 0 ;
8055 PyObject * obj4 = 0 ;
8056 PyObject * obj5 = 0 ;
8057 PyObject * obj6 = 0 ;
8058 char *kwnames[] = {
8059 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8060 };
8061
8062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8065 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8067 arg3 = (int) SWIG_AsInt(obj2);
8068 if (PyErr_Occurred()) SWIG_fail;
8069 if (obj3) {
8070 {
8071 arg4 = &temp4;
8072 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8073 }
8074 }
8075 if (obj4) {
8076 {
8077 arg5 = &temp5;
8078 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8079 }
8080 }
8081 if (obj5) {
8082 arg6 = (long) SWIG_AsLong(obj5);
8083 if (PyErr_Occurred()) SWIG_fail;
8084 }
8085 if (obj6) {
8086 {
8087 arg7 = wxString_in_helper(obj6);
8088 if (arg7 == NULL) SWIG_fail;
8089 temp7 = True;
8090 }
8091 }
8092 {
8093 PyThreadState* __tstate = wxPyBeginAllowThreads();
8094 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8095
8096 wxPyEndAllowThreads(__tstate);
8097 if (PyErr_Occurred()) SWIG_fail;
8098 }
8099 {
8100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8101 }
8102 {
8103 if (temp7)
8104 delete arg7;
8105 }
8106 return resultobj;
8107 fail:
8108 {
8109 if (temp7)
8110 delete arg7;
8111 }
8112 return NULL;
8113 }
8114
8115
8116 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8117 PyObject *resultobj;
8118 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8119 int result;
8120 PyObject * obj0 = 0 ;
8121 char *kwnames[] = {
8122 (char *) "self", NULL
8123 };
8124
8125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8128 {
8129 PyThreadState* __tstate = wxPyBeginAllowThreads();
8130 result = (int)(arg1)->GetAlignment();
8131
8132 wxPyEndAllowThreads(__tstate);
8133 if (PyErr_Occurred()) SWIG_fail;
8134 }
8135 resultobj = SWIG_FromInt((int)result);
8136 return resultobj;
8137 fail:
8138 return NULL;
8139 }
8140
8141
8142 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8143 PyObject *resultobj;
8144 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8145 int result;
8146 PyObject * obj0 = 0 ;
8147 char *kwnames[] = {
8148 (char *) "self", NULL
8149 };
8150
8151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8154 {
8155 PyThreadState* __tstate = wxPyBeginAllowThreads();
8156 result = (int)(arg1)->GetOrientation();
8157
8158 wxPyEndAllowThreads(__tstate);
8159 if (PyErr_Occurred()) SWIG_fail;
8160 }
8161 resultobj = SWIG_FromInt((int)result);
8162 return resultobj;
8163 fail:
8164 return NULL;
8165 }
8166
8167
8168 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8169 PyObject *resultobj;
8170 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8171 int arg2 ;
8172 PyObject * obj0 = 0 ;
8173 PyObject * obj1 = 0 ;
8174 char *kwnames[] = {
8175 (char *) "self",(char *) "alignment", NULL
8176 };
8177
8178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8181 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
8182 if (PyErr_Occurred()) SWIG_fail;
8183 {
8184 PyThreadState* __tstate = wxPyBeginAllowThreads();
8185 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8186
8187 wxPyEndAllowThreads(__tstate);
8188 if (PyErr_Occurred()) SWIG_fail;
8189 }
8190 Py_INCREF(Py_None); resultobj = Py_None;
8191 return resultobj;
8192 fail:
8193 return NULL;
8194 }
8195
8196
8197 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8198 PyObject *resultobj;
8199 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8200 wxSize *arg2 = 0 ;
8201 wxSize temp2 ;
8202 PyObject * obj0 = 0 ;
8203 PyObject * obj1 = 0 ;
8204 char *kwnames[] = {
8205 (char *) "self",(char *) "size", NULL
8206 };
8207
8208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8211 {
8212 arg2 = &temp2;
8213 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8214 }
8215 {
8216 PyThreadState* __tstate = wxPyBeginAllowThreads();
8217 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8218
8219 wxPyEndAllowThreads(__tstate);
8220 if (PyErr_Occurred()) SWIG_fail;
8221 }
8222 Py_INCREF(Py_None); resultobj = Py_None;
8223 return resultobj;
8224 fail:
8225 return NULL;
8226 }
8227
8228
8229 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8230 PyObject *resultobj;
8231 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8232 int arg2 ;
8233 PyObject * obj0 = 0 ;
8234 PyObject * obj1 = 0 ;
8235 char *kwnames[] = {
8236 (char *) "self",(char *) "orientation", NULL
8237 };
8238
8239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8242 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
8243 if (PyErr_Occurred()) SWIG_fail;
8244 {
8245 PyThreadState* __tstate = wxPyBeginAllowThreads();
8246 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8247
8248 wxPyEndAllowThreads(__tstate);
8249 if (PyErr_Occurred()) SWIG_fail;
8250 }
8251 Py_INCREF(Py_None); resultobj = Py_None;
8252 return resultobj;
8253 fail:
8254 return NULL;
8255 }
8256
8257
8258 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
8259 PyObject *obj;
8260 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8261 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8262 Py_INCREF(obj);
8263 return Py_BuildValue((char *)"");
8264 }
8265 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8266 PyObject *resultobj;
8267 wxLayoutAlgorithm *result;
8268 char *kwnames[] = {
8269 NULL
8270 };
8271
8272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8273 {
8274 PyThreadState* __tstate = wxPyBeginAllowThreads();
8275 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8276
8277 wxPyEndAllowThreads(__tstate);
8278 if (PyErr_Occurred()) SWIG_fail;
8279 }
8280 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8281 return resultobj;
8282 fail:
8283 return NULL;
8284 }
8285
8286
8287 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8288 PyObject *resultobj;
8289 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8290 PyObject * obj0 = 0 ;
8291 char *kwnames[] = {
8292 (char *) "self", NULL
8293 };
8294
8295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8298 {
8299 PyThreadState* __tstate = wxPyBeginAllowThreads();
8300 delete arg1;
8301
8302 wxPyEndAllowThreads(__tstate);
8303 if (PyErr_Occurred()) SWIG_fail;
8304 }
8305 Py_INCREF(Py_None); resultobj = Py_None;
8306 return resultobj;
8307 fail:
8308 return NULL;
8309 }
8310
8311
8312 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8313 PyObject *resultobj;
8314 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8315 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8316 wxRect *arg3 = (wxRect *) NULL ;
8317 bool result;
8318 PyObject * obj0 = 0 ;
8319 PyObject * obj1 = 0 ;
8320 PyObject * obj2 = 0 ;
8321 char *kwnames[] = {
8322 (char *) "self",(char *) "frame",(char *) "rect", NULL
8323 };
8324
8325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8328 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8330 if (obj2) {
8331 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8333 }
8334 {
8335 PyThreadState* __tstate = wxPyBeginAllowThreads();
8336 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8337
8338 wxPyEndAllowThreads(__tstate);
8339 if (PyErr_Occurred()) SWIG_fail;
8340 }
8341 {
8342 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8343 }
8344 return resultobj;
8345 fail:
8346 return NULL;
8347 }
8348
8349
8350 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8351 PyObject *resultobj;
8352 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8353 wxFrame *arg2 = (wxFrame *) 0 ;
8354 wxWindow *arg3 = (wxWindow *) NULL ;
8355 bool result;
8356 PyObject * obj0 = 0 ;
8357 PyObject * obj1 = 0 ;
8358 PyObject * obj2 = 0 ;
8359 char *kwnames[] = {
8360 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8361 };
8362
8363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8366 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8368 if (obj2) {
8369 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8371 }
8372 {
8373 PyThreadState* __tstate = wxPyBeginAllowThreads();
8374 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8375
8376 wxPyEndAllowThreads(__tstate);
8377 if (PyErr_Occurred()) SWIG_fail;
8378 }
8379 {
8380 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8381 }
8382 return resultobj;
8383 fail:
8384 return NULL;
8385 }
8386
8387
8388 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8389 PyObject *resultobj;
8390 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8391 wxWindow *arg2 = (wxWindow *) 0 ;
8392 wxWindow *arg3 = (wxWindow *) NULL ;
8393 bool result;
8394 PyObject * obj0 = 0 ;
8395 PyObject * obj1 = 0 ;
8396 PyObject * obj2 = 0 ;
8397 char *kwnames[] = {
8398 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8399 };
8400
8401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8404 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8406 if (obj2) {
8407 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8409 }
8410 {
8411 PyThreadState* __tstate = wxPyBeginAllowThreads();
8412 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8413
8414 wxPyEndAllowThreads(__tstate);
8415 if (PyErr_Occurred()) SWIG_fail;
8416 }
8417 {
8418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8419 }
8420 return resultobj;
8421 fail:
8422 return NULL;
8423 }
8424
8425
8426 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
8427 PyObject *obj;
8428 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8429 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8430 Py_INCREF(obj);
8431 return Py_BuildValue((char *)"");
8432 }
8433 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8434 PyObject *resultobj;
8435 wxWindow *arg1 = (wxWindow *) 0 ;
8436 int arg2 = (int) wxBORDER_NONE ;
8437 wxPopupWindow *result;
8438 PyObject * obj0 = 0 ;
8439 PyObject * obj1 = 0 ;
8440 char *kwnames[] = {
8441 (char *) "parent",(char *) "flags", NULL
8442 };
8443
8444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8447 if (obj1) {
8448 arg2 = (int) SWIG_AsInt(obj1);
8449 if (PyErr_Occurred()) SWIG_fail;
8450 }
8451 {
8452 PyThreadState* __tstate = wxPyBeginAllowThreads();
8453 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8454
8455 wxPyEndAllowThreads(__tstate);
8456 if (PyErr_Occurred()) SWIG_fail;
8457 }
8458 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8459 return resultobj;
8460 fail:
8461 return NULL;
8462 }
8463
8464
8465 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8466 PyObject *resultobj;
8467 wxPopupWindow *result;
8468 char *kwnames[] = {
8469 NULL
8470 };
8471
8472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8473 {
8474 PyThreadState* __tstate = wxPyBeginAllowThreads();
8475 result = (wxPopupWindow *)new wxPopupWindow();
8476
8477 wxPyEndAllowThreads(__tstate);
8478 if (PyErr_Occurred()) SWIG_fail;
8479 }
8480 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8481 return resultobj;
8482 fail:
8483 return NULL;
8484 }
8485
8486
8487 static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8488 PyObject *resultobj;
8489 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8490 wxWindow *arg2 = (wxWindow *) 0 ;
8491 int arg3 = (int) wxBORDER_NONE ;
8492 bool result;
8493 PyObject * obj0 = 0 ;
8494 PyObject * obj1 = 0 ;
8495 PyObject * obj2 = 0 ;
8496 char *kwnames[] = {
8497 (char *) "self",(char *) "parent",(char *) "flags", NULL
8498 };
8499
8500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
8501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8503 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8505 if (obj2) {
8506 arg3 = (int) SWIG_AsInt(obj2);
8507 if (PyErr_Occurred()) SWIG_fail;
8508 }
8509 {
8510 PyThreadState* __tstate = wxPyBeginAllowThreads();
8511 result = (bool)(arg1)->Create(arg2,arg3);
8512
8513 wxPyEndAllowThreads(__tstate);
8514 if (PyErr_Occurred()) SWIG_fail;
8515 }
8516 {
8517 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8518 }
8519 return resultobj;
8520 fail:
8521 return NULL;
8522 }
8523
8524
8525 static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
8526 PyObject *resultobj;
8527 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8528 wxPoint *arg2 = 0 ;
8529 wxSize *arg3 = 0 ;
8530 wxPoint temp2 ;
8531 wxSize temp3 ;
8532 PyObject * obj0 = 0 ;
8533 PyObject * obj1 = 0 ;
8534 PyObject * obj2 = 0 ;
8535 char *kwnames[] = {
8536 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8537 };
8538
8539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
8540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8542 {
8543 arg2 = &temp2;
8544 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8545 }
8546 {
8547 arg3 = &temp3;
8548 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
8549 }
8550 {
8551 PyThreadState* __tstate = wxPyBeginAllowThreads();
8552 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
8553
8554 wxPyEndAllowThreads(__tstate);
8555 if (PyErr_Occurred()) SWIG_fail;
8556 }
8557 Py_INCREF(Py_None); resultobj = Py_None;
8558 return resultobj;
8559 fail:
8560 return NULL;
8561 }
8562
8563
8564 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
8565 PyObject *obj;
8566 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8567 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
8568 Py_INCREF(obj);
8569 return Py_BuildValue((char *)"");
8570 }
8571 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8572 PyObject *resultobj;
8573 wxWindow *arg1 = (wxWindow *) 0 ;
8574 int arg2 = (int) wxBORDER_NONE ;
8575 wxPyPopupTransientWindow *result;
8576 PyObject * obj0 = 0 ;
8577 PyObject * obj1 = 0 ;
8578 char *kwnames[] = {
8579 (char *) "parent",(char *) "style", NULL
8580 };
8581
8582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
8583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8585 if (obj1) {
8586 arg2 = (int) SWIG_AsInt(obj1);
8587 if (PyErr_Occurred()) SWIG_fail;
8588 }
8589 {
8590 PyThreadState* __tstate = wxPyBeginAllowThreads();
8591 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
8592
8593 wxPyEndAllowThreads(__tstate);
8594 if (PyErr_Occurred()) SWIG_fail;
8595 }
8596 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8597 return resultobj;
8598 fail:
8599 return NULL;
8600 }
8601
8602
8603 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8604 PyObject *resultobj;
8605 wxPyPopupTransientWindow *result;
8606 char *kwnames[] = {
8607 NULL
8608 };
8609
8610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
8611 {
8612 PyThreadState* __tstate = wxPyBeginAllowThreads();
8613 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
8614
8615 wxPyEndAllowThreads(__tstate);
8616 if (PyErr_Occurred()) SWIG_fail;
8617 }
8618 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8619 return resultobj;
8620 fail:
8621 return NULL;
8622 }
8623
8624
8625 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8626 PyObject *resultobj;
8627 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8628 PyObject *arg2 = (PyObject *) 0 ;
8629 PyObject *arg3 = (PyObject *) 0 ;
8630 PyObject * obj0 = 0 ;
8631 PyObject * obj1 = 0 ;
8632 PyObject * obj2 = 0 ;
8633 char *kwnames[] = {
8634 (char *) "self",(char *) "self",(char *) "_class", NULL
8635 };
8636
8637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8640 arg2 = obj1;
8641 arg3 = obj2;
8642 {
8643 PyThreadState* __tstate = wxPyBeginAllowThreads();
8644 (arg1)->_setCallbackInfo(arg2,arg3);
8645
8646 wxPyEndAllowThreads(__tstate);
8647 if (PyErr_Occurred()) SWIG_fail;
8648 }
8649 Py_INCREF(Py_None); resultobj = Py_None;
8650 return resultobj;
8651 fail:
8652 return NULL;
8653 }
8654
8655
8656 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
8657 PyObject *resultobj;
8658 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8659 wxWindow *arg2 = (wxWindow *) NULL ;
8660 PyObject * obj0 = 0 ;
8661 PyObject * obj1 = 0 ;
8662 char *kwnames[] = {
8663 (char *) "self",(char *) "focus", NULL
8664 };
8665
8666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
8667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8669 if (obj1) {
8670 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8672 }
8673 {
8674 PyThreadState* __tstate = wxPyBeginAllowThreads();
8675 (arg1)->Popup(arg2);
8676
8677 wxPyEndAllowThreads(__tstate);
8678 if (PyErr_Occurred()) SWIG_fail;
8679 }
8680 Py_INCREF(Py_None); resultobj = Py_None;
8681 return resultobj;
8682 fail:
8683 return NULL;
8684 }
8685
8686
8687 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
8688 PyObject *resultobj;
8689 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8690 PyObject * obj0 = 0 ;
8691 char *kwnames[] = {
8692 (char *) "self", NULL
8693 };
8694
8695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
8696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8698 {
8699 PyThreadState* __tstate = wxPyBeginAllowThreads();
8700 (arg1)->Dismiss();
8701
8702 wxPyEndAllowThreads(__tstate);
8703 if (PyErr_Occurred()) SWIG_fail;
8704 }
8705 Py_INCREF(Py_None); resultobj = Py_None;
8706 return resultobj;
8707 fail:
8708 return NULL;
8709 }
8710
8711
8712 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
8713 PyObject *obj;
8714 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8715 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
8716 Py_INCREF(obj);
8717 return Py_BuildValue((char *)"");
8718 }
8719 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8720 PyObject *resultobj;
8721 wxWindow *arg1 = (wxWindow *) 0 ;
8722 wxString *arg2 = 0 ;
8723 int arg3 = (int) 100 ;
8724 wxRect *arg4 = (wxRect *) NULL ;
8725 wxTipWindow *result;
8726 bool temp2 = False ;
8727 PyObject * obj0 = 0 ;
8728 PyObject * obj1 = 0 ;
8729 PyObject * obj2 = 0 ;
8730 PyObject * obj3 = 0 ;
8731 char *kwnames[] = {
8732 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8733 };
8734
8735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8738 {
8739 arg2 = wxString_in_helper(obj1);
8740 if (arg2 == NULL) SWIG_fail;
8741 temp2 = True;
8742 }
8743 if (obj2) {
8744 arg3 = (int) SWIG_AsInt(obj2);
8745 if (PyErr_Occurred()) SWIG_fail;
8746 }
8747 if (obj3) {
8748 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
8749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8750 }
8751 {
8752 PyThreadState* __tstate = wxPyBeginAllowThreads();
8753 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
8754
8755 wxPyEndAllowThreads(__tstate);
8756 if (PyErr_Occurred()) SWIG_fail;
8757 }
8758 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
8759 {
8760 if (temp2)
8761 delete arg2;
8762 }
8763 return resultobj;
8764 fail:
8765 {
8766 if (temp2)
8767 delete arg2;
8768 }
8769 return NULL;
8770 }
8771
8772
8773 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8774 PyObject *resultobj;
8775 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8776 wxRect *arg2 = 0 ;
8777 wxRect temp2 ;
8778 PyObject * obj0 = 0 ;
8779 PyObject * obj1 = 0 ;
8780 char *kwnames[] = {
8781 (char *) "self",(char *) "rectBound", NULL
8782 };
8783
8784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
8785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8787 {
8788 arg2 = &temp2;
8789 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8790 }
8791 {
8792 PyThreadState* __tstate = wxPyBeginAllowThreads();
8793 (arg1)->SetBoundingRect((wxRect const &)*arg2);
8794
8795 wxPyEndAllowThreads(__tstate);
8796 if (PyErr_Occurred()) SWIG_fail;
8797 }
8798 Py_INCREF(Py_None); resultobj = Py_None;
8799 return resultobj;
8800 fail:
8801 return NULL;
8802 }
8803
8804
8805 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
8806 PyObject *resultobj;
8807 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8808 PyObject * obj0 = 0 ;
8809 char *kwnames[] = {
8810 (char *) "self", NULL
8811 };
8812
8813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
8814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8816 {
8817 PyThreadState* __tstate = wxPyBeginAllowThreads();
8818 (arg1)->Close();
8819
8820 wxPyEndAllowThreads(__tstate);
8821 if (PyErr_Occurred()) SWIG_fail;
8822 }
8823 Py_INCREF(Py_None); resultobj = Py_None;
8824 return resultobj;
8825 fail:
8826 return NULL;
8827 }
8828
8829
8830 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
8831 PyObject *obj;
8832 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8833 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
8834 Py_INCREF(obj);
8835 return Py_BuildValue((char *)"");
8836 }
8837 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8838 PyObject *resultobj;
8839 wxWindow *arg1 = (wxWindow *) 0 ;
8840 int arg2 = (int) wxID_ANY ;
8841 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8842 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8843 wxSize const &arg4_defvalue = wxDefaultSize ;
8844 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8845 long arg5 = (long) 0 ;
8846 wxString const &arg6_defvalue = wxPyPanelNameStr ;
8847 wxString *arg6 = (wxString *) &arg6_defvalue ;
8848 wxPyVScrolledWindow *result;
8849 wxPoint temp3 ;
8850 wxSize temp4 ;
8851 bool temp6 = False ;
8852 PyObject * obj0 = 0 ;
8853 PyObject * obj1 = 0 ;
8854 PyObject * obj2 = 0 ;
8855 PyObject * obj3 = 0 ;
8856 PyObject * obj4 = 0 ;
8857 PyObject * obj5 = 0 ;
8858 char *kwnames[] = {
8859 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8860 };
8861
8862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8865 if (obj1) {
8866 arg2 = (int) SWIG_AsInt(obj1);
8867 if (PyErr_Occurred()) SWIG_fail;
8868 }
8869 if (obj2) {
8870 {
8871 arg3 = &temp3;
8872 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8873 }
8874 }
8875 if (obj3) {
8876 {
8877 arg4 = &temp4;
8878 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8879 }
8880 }
8881 if (obj4) {
8882 arg5 = (long) SWIG_AsLong(obj4);
8883 if (PyErr_Occurred()) SWIG_fail;
8884 }
8885 if (obj5) {
8886 {
8887 arg6 = wxString_in_helper(obj5);
8888 if (arg6 == NULL) SWIG_fail;
8889 temp6 = True;
8890 }
8891 }
8892 {
8893 PyThreadState* __tstate = wxPyBeginAllowThreads();
8894 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8895
8896 wxPyEndAllowThreads(__tstate);
8897 if (PyErr_Occurred()) SWIG_fail;
8898 }
8899 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
8900 {
8901 if (temp6)
8902 delete arg6;
8903 }
8904 return resultobj;
8905 fail:
8906 {
8907 if (temp6)
8908 delete arg6;
8909 }
8910 return NULL;
8911 }
8912
8913
8914 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8915 PyObject *resultobj;
8916 wxPyVScrolledWindow *result;
8917 char *kwnames[] = {
8918 NULL
8919 };
8920
8921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
8922 {
8923 PyThreadState* __tstate = wxPyBeginAllowThreads();
8924 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
8925
8926 wxPyEndAllowThreads(__tstate);
8927 if (PyErr_Occurred()) SWIG_fail;
8928 }
8929 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
8930 return resultobj;
8931 fail:
8932 return NULL;
8933 }
8934
8935
8936 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8937 PyObject *resultobj;
8938 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8939 PyObject *arg2 = (PyObject *) 0 ;
8940 PyObject *arg3 = (PyObject *) 0 ;
8941 PyObject * obj0 = 0 ;
8942 PyObject * obj1 = 0 ;
8943 PyObject * obj2 = 0 ;
8944 char *kwnames[] = {
8945 (char *) "self",(char *) "self",(char *) "_class", NULL
8946 };
8947
8948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8951 arg2 = obj1;
8952 arg3 = obj2;
8953 {
8954 PyThreadState* __tstate = wxPyBeginAllowThreads();
8955 (arg1)->_setCallbackInfo(arg2,arg3);
8956
8957 wxPyEndAllowThreads(__tstate);
8958 if (PyErr_Occurred()) SWIG_fail;
8959 }
8960 Py_INCREF(Py_None); resultobj = Py_None;
8961 return resultobj;
8962 fail:
8963 return NULL;
8964 }
8965
8966
8967 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8968 PyObject *resultobj;
8969 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8970 wxWindow *arg2 = (wxWindow *) 0 ;
8971 int arg3 = (int) wxID_ANY ;
8972 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8973 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8974 wxSize const &arg5_defvalue = wxDefaultSize ;
8975 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8976 long arg6 = (long) 0 ;
8977 wxString const &arg7_defvalue = wxPyPanelNameStr ;
8978 wxString *arg7 = (wxString *) &arg7_defvalue ;
8979 bool result;
8980 wxPoint temp4 ;
8981 wxSize temp5 ;
8982 bool temp7 = False ;
8983 PyObject * obj0 = 0 ;
8984 PyObject * obj1 = 0 ;
8985 PyObject * obj2 = 0 ;
8986 PyObject * obj3 = 0 ;
8987 PyObject * obj4 = 0 ;
8988 PyObject * obj5 = 0 ;
8989 PyObject * obj6 = 0 ;
8990 char *kwnames[] = {
8991 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8992 };
8993
8994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8997 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8999 if (obj2) {
9000 arg3 = (int) SWIG_AsInt(obj2);
9001 if (PyErr_Occurred()) SWIG_fail;
9002 }
9003 if (obj3) {
9004 {
9005 arg4 = &temp4;
9006 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9007 }
9008 }
9009 if (obj4) {
9010 {
9011 arg5 = &temp5;
9012 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9013 }
9014 }
9015 if (obj5) {
9016 arg6 = (long) SWIG_AsLong(obj5);
9017 if (PyErr_Occurred()) SWIG_fail;
9018 }
9019 if (obj6) {
9020 {
9021 arg7 = wxString_in_helper(obj6);
9022 if (arg7 == NULL) SWIG_fail;
9023 temp7 = True;
9024 }
9025 }
9026 {
9027 PyThreadState* __tstate = wxPyBeginAllowThreads();
9028 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9029
9030 wxPyEndAllowThreads(__tstate);
9031 if (PyErr_Occurred()) SWIG_fail;
9032 }
9033 {
9034 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9035 }
9036 {
9037 if (temp7)
9038 delete arg7;
9039 }
9040 return resultobj;
9041 fail:
9042 {
9043 if (temp7)
9044 delete arg7;
9045 }
9046 return NULL;
9047 }
9048
9049
9050 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9051 PyObject *resultobj;
9052 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9053 size_t arg2 ;
9054 PyObject * obj0 = 0 ;
9055 PyObject * obj1 = 0 ;
9056 char *kwnames[] = {
9057 (char *) "self",(char *) "count", NULL
9058 };
9059
9060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
9061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9063 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9064 if (PyErr_Occurred()) SWIG_fail;
9065 {
9066 PyThreadState* __tstate = wxPyBeginAllowThreads();
9067 (arg1)->SetLineCount(arg2);
9068
9069 wxPyEndAllowThreads(__tstate);
9070 if (PyErr_Occurred()) SWIG_fail;
9071 }
9072 Py_INCREF(Py_None); resultobj = Py_None;
9073 return resultobj;
9074 fail:
9075 return NULL;
9076 }
9077
9078
9079 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9080 PyObject *resultobj;
9081 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9082 size_t arg2 ;
9083 bool result;
9084 PyObject * obj0 = 0 ;
9085 PyObject * obj1 = 0 ;
9086 char *kwnames[] = {
9087 (char *) "self",(char *) "line", NULL
9088 };
9089
9090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
9091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9093 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9094 if (PyErr_Occurred()) SWIG_fail;
9095 {
9096 PyThreadState* __tstate = wxPyBeginAllowThreads();
9097 result = (bool)(arg1)->ScrollToLine(arg2);
9098
9099 wxPyEndAllowThreads(__tstate);
9100 if (PyErr_Occurred()) SWIG_fail;
9101 }
9102 {
9103 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9104 }
9105 return resultobj;
9106 fail:
9107 return NULL;
9108 }
9109
9110
9111 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9112 PyObject *resultobj;
9113 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9114 int arg2 ;
9115 bool result;
9116 PyObject * obj0 = 0 ;
9117 PyObject * obj1 = 0 ;
9118 char *kwnames[] = {
9119 (char *) "self",(char *) "lines", NULL
9120 };
9121
9122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
9123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9125 arg2 = (int) SWIG_AsInt(obj1);
9126 if (PyErr_Occurred()) SWIG_fail;
9127 {
9128 PyThreadState* __tstate = wxPyBeginAllowThreads();
9129 result = (bool)(arg1)->ScrollLines(arg2);
9130
9131 wxPyEndAllowThreads(__tstate);
9132 if (PyErr_Occurred()) SWIG_fail;
9133 }
9134 {
9135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9136 }
9137 return resultobj;
9138 fail:
9139 return NULL;
9140 }
9141
9142
9143 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
9144 PyObject *resultobj;
9145 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9146 int arg2 ;
9147 bool result;
9148 PyObject * obj0 = 0 ;
9149 PyObject * obj1 = 0 ;
9150 char *kwnames[] = {
9151 (char *) "self",(char *) "pages", NULL
9152 };
9153
9154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
9155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9157 arg2 = (int) SWIG_AsInt(obj1);
9158 if (PyErr_Occurred()) SWIG_fail;
9159 {
9160 PyThreadState* __tstate = wxPyBeginAllowThreads();
9161 result = (bool)(arg1)->ScrollPages(arg2);
9162
9163 wxPyEndAllowThreads(__tstate);
9164 if (PyErr_Occurred()) SWIG_fail;
9165 }
9166 {
9167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9168 }
9169 return resultobj;
9170 fail:
9171 return NULL;
9172 }
9173
9174
9175 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9176 PyObject *resultobj;
9177 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9178 size_t arg2 ;
9179 PyObject * obj0 = 0 ;
9180 PyObject * obj1 = 0 ;
9181 char *kwnames[] = {
9182 (char *) "self",(char *) "line", NULL
9183 };
9184
9185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9188 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9189 if (PyErr_Occurred()) SWIG_fail;
9190 {
9191 PyThreadState* __tstate = wxPyBeginAllowThreads();
9192 (arg1)->RefreshLine(arg2);
9193
9194 wxPyEndAllowThreads(__tstate);
9195 if (PyErr_Occurred()) SWIG_fail;
9196 }
9197 Py_INCREF(Py_None); resultobj = Py_None;
9198 return resultobj;
9199 fail:
9200 return NULL;
9201 }
9202
9203
9204 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9205 PyObject *resultobj;
9206 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9207 size_t arg2 ;
9208 size_t arg3 ;
9209 PyObject * obj0 = 0 ;
9210 PyObject * obj1 = 0 ;
9211 PyObject * obj2 = 0 ;
9212 char *kwnames[] = {
9213 (char *) "self",(char *) "from",(char *) "to", NULL
9214 };
9215
9216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9219 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9220 if (PyErr_Occurred()) SWIG_fail;
9221 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9222 if (PyErr_Occurred()) SWIG_fail;
9223 {
9224 PyThreadState* __tstate = wxPyBeginAllowThreads();
9225 (arg1)->RefreshLines(arg2,arg3);
9226
9227 wxPyEndAllowThreads(__tstate);
9228 if (PyErr_Occurred()) SWIG_fail;
9229 }
9230 Py_INCREF(Py_None); resultobj = Py_None;
9231 return resultobj;
9232 fail:
9233 return NULL;
9234 }
9235
9236
9237 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
9238 PyObject *resultobj;
9239 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9240 int arg2 ;
9241 int arg3 ;
9242 int result;
9243 PyObject * obj0 = 0 ;
9244 PyObject * obj1 = 0 ;
9245 PyObject * obj2 = 0 ;
9246 char *kwnames[] = {
9247 (char *) "self",(char *) "x",(char *) "y", NULL
9248 };
9249
9250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail;
9251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9253 arg2 = (int) SWIG_AsInt(obj1);
9254 if (PyErr_Occurred()) SWIG_fail;
9255 arg3 = (int) SWIG_AsInt(obj2);
9256 if (PyErr_Occurred()) SWIG_fail;
9257 {
9258 PyThreadState* __tstate = wxPyBeginAllowThreads();
9259 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9260
9261 wxPyEndAllowThreads(__tstate);
9262 if (PyErr_Occurred()) SWIG_fail;
9263 }
9264 resultobj = SWIG_FromInt((int)result);
9265 return resultobj;
9266 fail:
9267 return NULL;
9268 }
9269
9270
9271 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9272 PyObject *resultobj;
9273 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9274 wxPoint *arg2 = 0 ;
9275 int result;
9276 wxPoint temp2 ;
9277 PyObject * obj0 = 0 ;
9278 PyObject * obj1 = 0 ;
9279 char *kwnames[] = {
9280 (char *) "self",(char *) "pt", NULL
9281 };
9282
9283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9286 {
9287 arg2 = &temp2;
9288 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9289 }
9290 {
9291 PyThreadState* __tstate = wxPyBeginAllowThreads();
9292 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9293
9294 wxPyEndAllowThreads(__tstate);
9295 if (PyErr_Occurred()) SWIG_fail;
9296 }
9297 resultobj = SWIG_FromInt((int)result);
9298 return resultobj;
9299 fail:
9300 return NULL;
9301 }
9302
9303
9304 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9305 PyObject *resultobj;
9306 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9307 PyObject * obj0 = 0 ;
9308 char *kwnames[] = {
9309 (char *) "self", NULL
9310 };
9311
9312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9315 {
9316 PyThreadState* __tstate = wxPyBeginAllowThreads();
9317 (arg1)->RefreshAll();
9318
9319 wxPyEndAllowThreads(__tstate);
9320 if (PyErr_Occurred()) SWIG_fail;
9321 }
9322 Py_INCREF(Py_None); resultobj = Py_None;
9323 return resultobj;
9324 fail:
9325 return NULL;
9326 }
9327
9328
9329 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9330 PyObject *resultobj;
9331 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9332 size_t result;
9333 PyObject * obj0 = 0 ;
9334 char *kwnames[] = {
9335 (char *) "self", NULL
9336 };
9337
9338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9341 {
9342 PyThreadState* __tstate = wxPyBeginAllowThreads();
9343 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9344
9345 wxPyEndAllowThreads(__tstate);
9346 if (PyErr_Occurred()) SWIG_fail;
9347 }
9348 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9349 return resultobj;
9350 fail:
9351 return NULL;
9352 }
9353
9354
9355 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9356 PyObject *resultobj;
9357 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9358 size_t result;
9359 PyObject * obj0 = 0 ;
9360 char *kwnames[] = {
9361 (char *) "self", NULL
9362 };
9363
9364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9367 {
9368 PyThreadState* __tstate = wxPyBeginAllowThreads();
9369 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9370
9371 wxPyEndAllowThreads(__tstate);
9372 if (PyErr_Occurred()) SWIG_fail;
9373 }
9374 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9375 return resultobj;
9376 fail:
9377 return NULL;
9378 }
9379
9380
9381 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9382 PyObject *resultobj;
9383 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9384 size_t result;
9385 PyObject * obj0 = 0 ;
9386 char *kwnames[] = {
9387 (char *) "self", NULL
9388 };
9389
9390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9393 {
9394 PyThreadState* __tstate = wxPyBeginAllowThreads();
9395 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9396
9397 wxPyEndAllowThreads(__tstate);
9398 if (PyErr_Occurred()) SWIG_fail;
9399 }
9400 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9401 return resultobj;
9402 fail:
9403 return NULL;
9404 }
9405
9406
9407 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9408 PyObject *resultobj;
9409 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9410 size_t arg2 ;
9411 bool result;
9412 PyObject * obj0 = 0 ;
9413 PyObject * obj1 = 0 ;
9414 char *kwnames[] = {
9415 (char *) "self",(char *) "line", NULL
9416 };
9417
9418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9421 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9422 if (PyErr_Occurred()) SWIG_fail;
9423 {
9424 PyThreadState* __tstate = wxPyBeginAllowThreads();
9425 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9426
9427 wxPyEndAllowThreads(__tstate);
9428 if (PyErr_Occurred()) SWIG_fail;
9429 }
9430 {
9431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9432 }
9433 return resultobj;
9434 fail:
9435 return NULL;
9436 }
9437
9438
9439 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
9440 PyObject *obj;
9441 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9442 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9443 Py_INCREF(obj);
9444 return Py_BuildValue((char *)"");
9445 }
9446 static int _wrap_VListBoxNameStr_set(PyObject *_val) {
9447 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9448 return 1;
9449 }
9450
9451
9452 static PyObject *_wrap_VListBoxNameStr_get() {
9453 PyObject *pyobj;
9454
9455 {
9456 #if wxUSE_UNICODE
9457 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9458 #else
9459 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9460 #endif
9461 }
9462 return pyobj;
9463 }
9464
9465
9466 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9467 PyObject *resultobj;
9468 wxWindow *arg1 = (wxWindow *) 0 ;
9469 int arg2 = (int) wxID_ANY ;
9470 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9471 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9472 wxSize const &arg4_defvalue = wxDefaultSize ;
9473 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9474 long arg5 = (long) 0 ;
9475 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9476 wxString *arg6 = (wxString *) &arg6_defvalue ;
9477 wxPyVListBox *result;
9478 wxPoint temp3 ;
9479 wxSize temp4 ;
9480 bool temp6 = False ;
9481 PyObject * obj0 = 0 ;
9482 PyObject * obj1 = 0 ;
9483 PyObject * obj2 = 0 ;
9484 PyObject * obj3 = 0 ;
9485 PyObject * obj4 = 0 ;
9486 PyObject * obj5 = 0 ;
9487 char *kwnames[] = {
9488 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9489 };
9490
9491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9494 if (obj1) {
9495 arg2 = (int) SWIG_AsInt(obj1);
9496 if (PyErr_Occurred()) SWIG_fail;
9497 }
9498 if (obj2) {
9499 {
9500 arg3 = &temp3;
9501 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9502 }
9503 }
9504 if (obj3) {
9505 {
9506 arg4 = &temp4;
9507 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9508 }
9509 }
9510 if (obj4) {
9511 arg5 = (long) SWIG_AsLong(obj4);
9512 if (PyErr_Occurred()) SWIG_fail;
9513 }
9514 if (obj5) {
9515 {
9516 arg6 = wxString_in_helper(obj5);
9517 if (arg6 == NULL) SWIG_fail;
9518 temp6 = True;
9519 }
9520 }
9521 {
9522 PyThreadState* __tstate = wxPyBeginAllowThreads();
9523 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9524
9525 wxPyEndAllowThreads(__tstate);
9526 if (PyErr_Occurred()) SWIG_fail;
9527 }
9528 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9529 {
9530 if (temp6)
9531 delete arg6;
9532 }
9533 return resultobj;
9534 fail:
9535 {
9536 if (temp6)
9537 delete arg6;
9538 }
9539 return NULL;
9540 }
9541
9542
9543 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9544 PyObject *resultobj;
9545 wxPyVListBox *result;
9546 char *kwnames[] = {
9547 NULL
9548 };
9549
9550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9551 {
9552 PyThreadState* __tstate = wxPyBeginAllowThreads();
9553 result = (wxPyVListBox *)new wxPyVListBox();
9554
9555 wxPyEndAllowThreads(__tstate);
9556 if (PyErr_Occurred()) SWIG_fail;
9557 }
9558 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9559 return resultobj;
9560 fail:
9561 return NULL;
9562 }
9563
9564
9565 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9566 PyObject *resultobj;
9567 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9568 PyObject *arg2 = (PyObject *) 0 ;
9569 PyObject *arg3 = (PyObject *) 0 ;
9570 PyObject * obj0 = 0 ;
9571 PyObject * obj1 = 0 ;
9572 PyObject * obj2 = 0 ;
9573 char *kwnames[] = {
9574 (char *) "self",(char *) "self",(char *) "_class", NULL
9575 };
9576
9577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9580 arg2 = obj1;
9581 arg3 = obj2;
9582 {
9583 PyThreadState* __tstate = wxPyBeginAllowThreads();
9584 (arg1)->_setCallbackInfo(arg2,arg3);
9585
9586 wxPyEndAllowThreads(__tstate);
9587 if (PyErr_Occurred()) SWIG_fail;
9588 }
9589 Py_INCREF(Py_None); resultobj = Py_None;
9590 return resultobj;
9591 fail:
9592 return NULL;
9593 }
9594
9595
9596 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9597 PyObject *resultobj;
9598 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9599 wxWindow *arg2 = (wxWindow *) 0 ;
9600 int arg3 = (int) wxID_ANY ;
9601 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9602 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9603 wxSize const &arg5_defvalue = wxDefaultSize ;
9604 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9605 long arg6 = (long) 0 ;
9606 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9607 wxString *arg7 = (wxString *) &arg7_defvalue ;
9608 bool result;
9609 wxPoint temp4 ;
9610 wxSize temp5 ;
9611 bool temp7 = False ;
9612 PyObject * obj0 = 0 ;
9613 PyObject * obj1 = 0 ;
9614 PyObject * obj2 = 0 ;
9615 PyObject * obj3 = 0 ;
9616 PyObject * obj4 = 0 ;
9617 PyObject * obj5 = 0 ;
9618 PyObject * obj6 = 0 ;
9619 char *kwnames[] = {
9620 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9621 };
9622
9623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9626 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9628 if (obj2) {
9629 arg3 = (int) SWIG_AsInt(obj2);
9630 if (PyErr_Occurred()) SWIG_fail;
9631 }
9632 if (obj3) {
9633 {
9634 arg4 = &temp4;
9635 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9636 }
9637 }
9638 if (obj4) {
9639 {
9640 arg5 = &temp5;
9641 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9642 }
9643 }
9644 if (obj5) {
9645 arg6 = (long) SWIG_AsLong(obj5);
9646 if (PyErr_Occurred()) SWIG_fail;
9647 }
9648 if (obj6) {
9649 {
9650 arg7 = wxString_in_helper(obj6);
9651 if (arg7 == NULL) SWIG_fail;
9652 temp7 = True;
9653 }
9654 }
9655 {
9656 PyThreadState* __tstate = wxPyBeginAllowThreads();
9657 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9658
9659 wxPyEndAllowThreads(__tstate);
9660 if (PyErr_Occurred()) SWIG_fail;
9661 }
9662 {
9663 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9664 }
9665 {
9666 if (temp7)
9667 delete arg7;
9668 }
9669 return resultobj;
9670 fail:
9671 {
9672 if (temp7)
9673 delete arg7;
9674 }
9675 return NULL;
9676 }
9677
9678
9679 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9680 PyObject *resultobj;
9681 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9682 size_t result;
9683 PyObject * obj0 = 0 ;
9684 char *kwnames[] = {
9685 (char *) "self", NULL
9686 };
9687
9688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
9689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9691 {
9692 PyThreadState* __tstate = wxPyBeginAllowThreads();
9693 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
9694
9695 wxPyEndAllowThreads(__tstate);
9696 if (PyErr_Occurred()) SWIG_fail;
9697 }
9698 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9699 return resultobj;
9700 fail:
9701 return NULL;
9702 }
9703
9704
9705 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9706 PyObject *resultobj;
9707 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9708 bool result;
9709 PyObject * obj0 = 0 ;
9710 char *kwnames[] = {
9711 (char *) "self", NULL
9712 };
9713
9714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
9715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9717 {
9718 PyThreadState* __tstate = wxPyBeginAllowThreads();
9719 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
9720
9721 wxPyEndAllowThreads(__tstate);
9722 if (PyErr_Occurred()) SWIG_fail;
9723 }
9724 {
9725 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9726 }
9727 return resultobj;
9728 fail:
9729 return NULL;
9730 }
9731
9732
9733 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9734 PyObject *resultobj;
9735 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9736 int result;
9737 PyObject * obj0 = 0 ;
9738 char *kwnames[] = {
9739 (char *) "self", NULL
9740 };
9741
9742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
9743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9745 {
9746 PyThreadState* __tstate = wxPyBeginAllowThreads();
9747 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
9748
9749 wxPyEndAllowThreads(__tstate);
9750 if (PyErr_Occurred()) SWIG_fail;
9751 }
9752 resultobj = SWIG_FromInt((int)result);
9753 return resultobj;
9754 fail:
9755 return NULL;
9756 }
9757
9758
9759 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
9760 PyObject *resultobj;
9761 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9762 size_t arg2 ;
9763 bool result;
9764 PyObject * obj0 = 0 ;
9765 PyObject * obj1 = 0 ;
9766 char *kwnames[] = {
9767 (char *) "self",(char *) "item", NULL
9768 };
9769
9770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
9771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9773 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9774 if (PyErr_Occurred()) SWIG_fail;
9775 {
9776 PyThreadState* __tstate = wxPyBeginAllowThreads();
9777 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
9778
9779 wxPyEndAllowThreads(__tstate);
9780 if (PyErr_Occurred()) SWIG_fail;
9781 }
9782 {
9783 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9784 }
9785 return resultobj;
9786 fail:
9787 return NULL;
9788 }
9789
9790
9791 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9792 PyObject *resultobj;
9793 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9794 size_t arg2 ;
9795 bool result;
9796 PyObject * obj0 = 0 ;
9797 PyObject * obj1 = 0 ;
9798 char *kwnames[] = {
9799 (char *) "self",(char *) "item", NULL
9800 };
9801
9802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
9803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9805 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9806 if (PyErr_Occurred()) SWIG_fail;
9807 {
9808 PyThreadState* __tstate = wxPyBeginAllowThreads();
9809 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
9810
9811 wxPyEndAllowThreads(__tstate);
9812 if (PyErr_Occurred()) SWIG_fail;
9813 }
9814 {
9815 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9816 }
9817 return resultobj;
9818 fail:
9819 return NULL;
9820 }
9821
9822
9823 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9824 PyObject *resultobj;
9825 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9826 size_t result;
9827 PyObject * obj0 = 0 ;
9828 char *kwnames[] = {
9829 (char *) "self", NULL
9830 };
9831
9832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
9833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9835 {
9836 PyThreadState* __tstate = wxPyBeginAllowThreads();
9837 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
9838
9839 wxPyEndAllowThreads(__tstate);
9840 if (PyErr_Occurred()) SWIG_fail;
9841 }
9842 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9843 return resultobj;
9844 fail:
9845 return NULL;
9846 }
9847
9848
9849 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9850 PyObject *resultobj;
9851 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9852 unsigned long *arg2 = 0 ;
9853 int result;
9854 PyObject * obj0 = 0 ;
9855 PyObject * obj1 = 0 ;
9856 char *kwnames[] = {
9857 (char *) "self",(char *) "cookie", NULL
9858 };
9859
9860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
9861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9863 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9864 SWIG_POINTER_EXCEPTION | 0)) == -1)
9865 SWIG_fail;
9866 if (arg2 == NULL) {
9867 PyErr_SetString(PyExc_TypeError,"null reference");
9868 SWIG_fail;
9869 }
9870 {
9871 PyThreadState* __tstate = wxPyBeginAllowThreads();
9872 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
9873
9874 wxPyEndAllowThreads(__tstate);
9875 if (PyErr_Occurred()) SWIG_fail;
9876 }
9877 resultobj = SWIG_FromInt((int)result);
9878 return resultobj;
9879 fail:
9880 return NULL;
9881 }
9882
9883
9884 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9885 PyObject *resultobj;
9886 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9887 unsigned long *arg2 = 0 ;
9888 int result;
9889 PyObject * obj0 = 0 ;
9890 PyObject * obj1 = 0 ;
9891 char *kwnames[] = {
9892 (char *) "self",(char *) "cookie", NULL
9893 };
9894
9895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
9896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9898 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9899 SWIG_POINTER_EXCEPTION | 0)) == -1)
9900 SWIG_fail;
9901 if (arg2 == NULL) {
9902 PyErr_SetString(PyExc_TypeError,"null reference");
9903 SWIG_fail;
9904 }
9905 {
9906 PyThreadState* __tstate = wxPyBeginAllowThreads();
9907 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
9908
9909 wxPyEndAllowThreads(__tstate);
9910 if (PyErr_Occurred()) SWIG_fail;
9911 }
9912 resultobj = SWIG_FromInt((int)result);
9913 return resultobj;
9914 fail:
9915 return NULL;
9916 }
9917
9918
9919 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9920 PyObject *resultobj;
9921 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9922 wxPoint result;
9923 PyObject * obj0 = 0 ;
9924 char *kwnames[] = {
9925 (char *) "self", NULL
9926 };
9927
9928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
9929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9931 {
9932 PyThreadState* __tstate = wxPyBeginAllowThreads();
9933 result = ((wxPyVListBox const *)arg1)->GetMargins();
9934
9935 wxPyEndAllowThreads(__tstate);
9936 if (PyErr_Occurred()) SWIG_fail;
9937 }
9938 {
9939 wxPoint * resultptr;
9940 resultptr = new wxPoint((wxPoint &) result);
9941 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
9942 }
9943 return resultobj;
9944 fail:
9945 return NULL;
9946 }
9947
9948
9949 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9950 PyObject *resultobj;
9951 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9952 wxColour *result;
9953 PyObject * obj0 = 0 ;
9954 char *kwnames[] = {
9955 (char *) "self", NULL
9956 };
9957
9958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
9959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9961 {
9962 PyThreadState* __tstate = wxPyBeginAllowThreads();
9963 {
9964 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
9965 result = (wxColour *) &_result_ref;
9966 }
9967
9968 wxPyEndAllowThreads(__tstate);
9969 if (PyErr_Occurred()) SWIG_fail;
9970 }
9971 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9972 return resultobj;
9973 fail:
9974 return NULL;
9975 }
9976
9977
9978 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9979 PyObject *resultobj;
9980 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9981 size_t arg2 ;
9982 PyObject * obj0 = 0 ;
9983 PyObject * obj1 = 0 ;
9984 char *kwnames[] = {
9985 (char *) "self",(char *) "count", NULL
9986 };
9987
9988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9991 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9992 if (PyErr_Occurred()) SWIG_fail;
9993 {
9994 PyThreadState* __tstate = wxPyBeginAllowThreads();
9995 (arg1)->SetItemCount(arg2);
9996
9997 wxPyEndAllowThreads(__tstate);
9998 if (PyErr_Occurred()) SWIG_fail;
9999 }
10000 Py_INCREF(Py_None); resultobj = Py_None;
10001 return resultobj;
10002 fail:
10003 return NULL;
10004 }
10005
10006
10007 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
10008 PyObject *resultobj;
10009 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10010 PyObject * obj0 = 0 ;
10011 char *kwnames[] = {
10012 (char *) "self", NULL
10013 };
10014
10015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
10016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10018 {
10019 PyThreadState* __tstate = wxPyBeginAllowThreads();
10020 (arg1)->Clear();
10021
10022 wxPyEndAllowThreads(__tstate);
10023 if (PyErr_Occurred()) SWIG_fail;
10024 }
10025 Py_INCREF(Py_None); resultobj = Py_None;
10026 return resultobj;
10027 fail:
10028 return NULL;
10029 }
10030
10031
10032 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10033 PyObject *resultobj;
10034 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10035 int arg2 ;
10036 PyObject * obj0 = 0 ;
10037 PyObject * obj1 = 0 ;
10038 char *kwnames[] = {
10039 (char *) "self",(char *) "selection", NULL
10040 };
10041
10042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
10043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10045 arg2 = (int) SWIG_AsInt(obj1);
10046 if (PyErr_Occurred()) SWIG_fail;
10047 {
10048 PyThreadState* __tstate = wxPyBeginAllowThreads();
10049 (arg1)->SetSelection(arg2);
10050
10051 wxPyEndAllowThreads(__tstate);
10052 if (PyErr_Occurred()) SWIG_fail;
10053 }
10054 Py_INCREF(Py_None); resultobj = Py_None;
10055 return resultobj;
10056 fail:
10057 return NULL;
10058 }
10059
10060
10061 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
10062 PyObject *resultobj;
10063 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10064 size_t arg2 ;
10065 bool arg3 = (bool) True ;
10066 bool result;
10067 PyObject * obj0 = 0 ;
10068 PyObject * obj1 = 0 ;
10069 PyObject * obj2 = 0 ;
10070 char *kwnames[] = {
10071 (char *) "self",(char *) "item",(char *) "select", NULL
10072 };
10073
10074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
10075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10077 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10078 if (PyErr_Occurred()) SWIG_fail;
10079 if (obj2) {
10080 arg3 = (bool) SWIG_AsBool(obj2);
10081 if (PyErr_Occurred()) SWIG_fail;
10082 }
10083 {
10084 PyThreadState* __tstate = wxPyBeginAllowThreads();
10085 result = (bool)(arg1)->Select(arg2,arg3);
10086
10087 wxPyEndAllowThreads(__tstate);
10088 if (PyErr_Occurred()) SWIG_fail;
10089 }
10090 {
10091 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10092 }
10093 return resultobj;
10094 fail:
10095 return NULL;
10096 }
10097
10098
10099 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10100 PyObject *resultobj;
10101 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10102 size_t arg2 ;
10103 size_t arg3 ;
10104 bool result;
10105 PyObject * obj0 = 0 ;
10106 PyObject * obj1 = 0 ;
10107 PyObject * obj2 = 0 ;
10108 char *kwnames[] = {
10109 (char *) "self",(char *) "from",(char *) "to", NULL
10110 };
10111
10112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10115 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10116 if (PyErr_Occurred()) SWIG_fail;
10117 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
10118 if (PyErr_Occurred()) SWIG_fail;
10119 {
10120 PyThreadState* __tstate = wxPyBeginAllowThreads();
10121 result = (bool)(arg1)->SelectRange(arg2,arg3);
10122
10123 wxPyEndAllowThreads(__tstate);
10124 if (PyErr_Occurred()) SWIG_fail;
10125 }
10126 {
10127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10128 }
10129 return resultobj;
10130 fail:
10131 return NULL;
10132 }
10133
10134
10135 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
10136 PyObject *resultobj;
10137 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10138 size_t arg2 ;
10139 PyObject * obj0 = 0 ;
10140 PyObject * obj1 = 0 ;
10141 char *kwnames[] = {
10142 (char *) "self",(char *) "item", NULL
10143 };
10144
10145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
10146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10148 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10149 if (PyErr_Occurred()) SWIG_fail;
10150 {
10151 PyThreadState* __tstate = wxPyBeginAllowThreads();
10152 (arg1)->Toggle(arg2);
10153
10154 wxPyEndAllowThreads(__tstate);
10155 if (PyErr_Occurred()) SWIG_fail;
10156 }
10157 Py_INCREF(Py_None); resultobj = Py_None;
10158 return resultobj;
10159 fail:
10160 return NULL;
10161 }
10162
10163
10164 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10165 PyObject *resultobj;
10166 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10167 bool result;
10168 PyObject * obj0 = 0 ;
10169 char *kwnames[] = {
10170 (char *) "self", NULL
10171 };
10172
10173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10176 {
10177 PyThreadState* __tstate = wxPyBeginAllowThreads();
10178 result = (bool)(arg1)->SelectAll();
10179
10180 wxPyEndAllowThreads(__tstate);
10181 if (PyErr_Occurred()) SWIG_fail;
10182 }
10183 {
10184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10185 }
10186 return resultobj;
10187 fail:
10188 return NULL;
10189 }
10190
10191
10192 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10193 PyObject *resultobj;
10194 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10195 bool result;
10196 PyObject * obj0 = 0 ;
10197 char *kwnames[] = {
10198 (char *) "self", NULL
10199 };
10200
10201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10204 {
10205 PyThreadState* __tstate = wxPyBeginAllowThreads();
10206 result = (bool)(arg1)->DeselectAll();
10207
10208 wxPyEndAllowThreads(__tstate);
10209 if (PyErr_Occurred()) SWIG_fail;
10210 }
10211 {
10212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10213 }
10214 return resultobj;
10215 fail:
10216 return NULL;
10217 }
10218
10219
10220 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10221 PyObject *resultobj;
10222 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10223 wxPoint *arg2 = 0 ;
10224 wxPoint temp2 ;
10225 PyObject * obj0 = 0 ;
10226 PyObject * obj1 = 0 ;
10227 char *kwnames[] = {
10228 (char *) "self",(char *) "pt", NULL
10229 };
10230
10231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10234 {
10235 arg2 = &temp2;
10236 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10237 }
10238 {
10239 PyThreadState* __tstate = wxPyBeginAllowThreads();
10240 (arg1)->SetMargins((wxPoint const &)*arg2);
10241
10242 wxPyEndAllowThreads(__tstate);
10243 if (PyErr_Occurred()) SWIG_fail;
10244 }
10245 Py_INCREF(Py_None); resultobj = Py_None;
10246 return resultobj;
10247 fail:
10248 return NULL;
10249 }
10250
10251
10252 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
10253 PyObject *resultobj;
10254 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10255 int arg2 ;
10256 int arg3 ;
10257 PyObject * obj0 = 0 ;
10258 PyObject * obj1 = 0 ;
10259 PyObject * obj2 = 0 ;
10260 char *kwnames[] = {
10261 (char *) "self",(char *) "x",(char *) "y", NULL
10262 };
10263
10264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10267 arg2 = (int) SWIG_AsInt(obj1);
10268 if (PyErr_Occurred()) SWIG_fail;
10269 arg3 = (int) SWIG_AsInt(obj2);
10270 if (PyErr_Occurred()) SWIG_fail;
10271 {
10272 PyThreadState* __tstate = wxPyBeginAllowThreads();
10273 (arg1)->SetMargins(arg2,arg3);
10274
10275 wxPyEndAllowThreads(__tstate);
10276 if (PyErr_Occurred()) SWIG_fail;
10277 }
10278 Py_INCREF(Py_None); resultobj = Py_None;
10279 return resultobj;
10280 fail:
10281 return NULL;
10282 }
10283
10284
10285 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10286 PyObject *resultobj;
10287 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10288 wxColour *arg2 = 0 ;
10289 wxColour temp2 ;
10290 PyObject * obj0 = 0 ;
10291 PyObject * obj1 = 0 ;
10292 char *kwnames[] = {
10293 (char *) "self",(char *) "col", NULL
10294 };
10295
10296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10299 {
10300 arg2 = &temp2;
10301 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10302 }
10303 {
10304 PyThreadState* __tstate = wxPyBeginAllowThreads();
10305 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10306
10307 wxPyEndAllowThreads(__tstate);
10308 if (PyErr_Occurred()) SWIG_fail;
10309 }
10310 Py_INCREF(Py_None); resultobj = Py_None;
10311 return resultobj;
10312 fail:
10313 return NULL;
10314 }
10315
10316
10317 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
10318 PyObject *obj;
10319 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10320 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10321 Py_INCREF(obj);
10322 return Py_BuildValue((char *)"");
10323 }
10324 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10325 PyObject *resultobj;
10326 wxWindow *arg1 = (wxWindow *) 0 ;
10327 int arg2 = (int) wxID_ANY ;
10328 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10329 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10330 wxSize const &arg4_defvalue = wxDefaultSize ;
10331 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10332 long arg5 = (long) 0 ;
10333 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10334 wxString *arg6 = (wxString *) &arg6_defvalue ;
10335 wxPyHtmlListBox *result;
10336 wxPoint temp3 ;
10337 wxSize temp4 ;
10338 bool temp6 = False ;
10339 PyObject * obj0 = 0 ;
10340 PyObject * obj1 = 0 ;
10341 PyObject * obj2 = 0 ;
10342 PyObject * obj3 = 0 ;
10343 PyObject * obj4 = 0 ;
10344 PyObject * obj5 = 0 ;
10345 char *kwnames[] = {
10346 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10347 };
10348
10349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10352 if (obj1) {
10353 arg2 = (int) SWIG_AsInt(obj1);
10354 if (PyErr_Occurred()) SWIG_fail;
10355 }
10356 if (obj2) {
10357 {
10358 arg3 = &temp3;
10359 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10360 }
10361 }
10362 if (obj3) {
10363 {
10364 arg4 = &temp4;
10365 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10366 }
10367 }
10368 if (obj4) {
10369 arg5 = (long) SWIG_AsLong(obj4);
10370 if (PyErr_Occurred()) SWIG_fail;
10371 }
10372 if (obj5) {
10373 {
10374 arg6 = wxString_in_helper(obj5);
10375 if (arg6 == NULL) SWIG_fail;
10376 temp6 = True;
10377 }
10378 }
10379 {
10380 PyThreadState* __tstate = wxPyBeginAllowThreads();
10381 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10382
10383 wxPyEndAllowThreads(__tstate);
10384 if (PyErr_Occurred()) SWIG_fail;
10385 }
10386 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10387 {
10388 if (temp6)
10389 delete arg6;
10390 }
10391 return resultobj;
10392 fail:
10393 {
10394 if (temp6)
10395 delete arg6;
10396 }
10397 return NULL;
10398 }
10399
10400
10401 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10402 PyObject *resultobj;
10403 wxPyHtmlListBox *result;
10404 char *kwnames[] = {
10405 NULL
10406 };
10407
10408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10409 {
10410 PyThreadState* __tstate = wxPyBeginAllowThreads();
10411 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10412
10413 wxPyEndAllowThreads(__tstate);
10414 if (PyErr_Occurred()) SWIG_fail;
10415 }
10416 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10417 return resultobj;
10418 fail:
10419 return NULL;
10420 }
10421
10422
10423 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10424 PyObject *resultobj;
10425 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10426 PyObject *arg2 = (PyObject *) 0 ;
10427 PyObject *arg3 = (PyObject *) 0 ;
10428 PyObject * obj0 = 0 ;
10429 PyObject * obj1 = 0 ;
10430 PyObject * obj2 = 0 ;
10431 char *kwnames[] = {
10432 (char *) "self",(char *) "self",(char *) "_class", NULL
10433 };
10434
10435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10438 arg2 = obj1;
10439 arg3 = obj2;
10440 {
10441 PyThreadState* __tstate = wxPyBeginAllowThreads();
10442 (arg1)->_setCallbackInfo(arg2,arg3);
10443
10444 wxPyEndAllowThreads(__tstate);
10445 if (PyErr_Occurred()) SWIG_fail;
10446 }
10447 Py_INCREF(Py_None); resultobj = Py_None;
10448 return resultobj;
10449 fail:
10450 return NULL;
10451 }
10452
10453
10454 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10455 PyObject *resultobj;
10456 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10457 wxWindow *arg2 = (wxWindow *) 0 ;
10458 int arg3 = (int) wxID_ANY ;
10459 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10460 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10461 wxSize const &arg5_defvalue = wxDefaultSize ;
10462 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10463 long arg6 = (long) 0 ;
10464 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10465 wxString *arg7 = (wxString *) &arg7_defvalue ;
10466 bool result;
10467 wxPoint temp4 ;
10468 wxSize temp5 ;
10469 bool temp7 = False ;
10470 PyObject * obj0 = 0 ;
10471 PyObject * obj1 = 0 ;
10472 PyObject * obj2 = 0 ;
10473 PyObject * obj3 = 0 ;
10474 PyObject * obj4 = 0 ;
10475 PyObject * obj5 = 0 ;
10476 PyObject * obj6 = 0 ;
10477 char *kwnames[] = {
10478 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10479 };
10480
10481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10484 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10486 if (obj2) {
10487 arg3 = (int) SWIG_AsInt(obj2);
10488 if (PyErr_Occurred()) SWIG_fail;
10489 }
10490 if (obj3) {
10491 {
10492 arg4 = &temp4;
10493 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10494 }
10495 }
10496 if (obj4) {
10497 {
10498 arg5 = &temp5;
10499 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10500 }
10501 }
10502 if (obj5) {
10503 arg6 = (long) SWIG_AsLong(obj5);
10504 if (PyErr_Occurred()) SWIG_fail;
10505 }
10506 if (obj6) {
10507 {
10508 arg7 = wxString_in_helper(obj6);
10509 if (arg7 == NULL) SWIG_fail;
10510 temp7 = True;
10511 }
10512 }
10513 {
10514 PyThreadState* __tstate = wxPyBeginAllowThreads();
10515 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10516
10517 wxPyEndAllowThreads(__tstate);
10518 if (PyErr_Occurred()) SWIG_fail;
10519 }
10520 {
10521 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10522 }
10523 {
10524 if (temp7)
10525 delete arg7;
10526 }
10527 return resultobj;
10528 fail:
10529 {
10530 if (temp7)
10531 delete arg7;
10532 }
10533 return NULL;
10534 }
10535
10536
10537 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10538 PyObject *resultobj;
10539 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10540 PyObject * obj0 = 0 ;
10541 char *kwnames[] = {
10542 (char *) "self", NULL
10543 };
10544
10545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10548 {
10549 PyThreadState* __tstate = wxPyBeginAllowThreads();
10550 (arg1)->RefreshAll();
10551
10552 wxPyEndAllowThreads(__tstate);
10553 if (PyErr_Occurred()) SWIG_fail;
10554 }
10555 Py_INCREF(Py_None); resultobj = Py_None;
10556 return resultobj;
10557 fail:
10558 return NULL;
10559 }
10560
10561
10562 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10563 PyObject *resultobj;
10564 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10565 size_t arg2 ;
10566 PyObject * obj0 = 0 ;
10567 PyObject * obj1 = 0 ;
10568 char *kwnames[] = {
10569 (char *) "self",(char *) "count", NULL
10570 };
10571
10572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10575 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10576 if (PyErr_Occurred()) SWIG_fail;
10577 {
10578 PyThreadState* __tstate = wxPyBeginAllowThreads();
10579 (arg1)->SetItemCount(arg2);
10580
10581 wxPyEndAllowThreads(__tstate);
10582 if (PyErr_Occurred()) SWIG_fail;
10583 }
10584 Py_INCREF(Py_None); resultobj = Py_None;
10585 return resultobj;
10586 fail:
10587 return NULL;
10588 }
10589
10590
10591 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
10592 PyObject *obj;
10593 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10594 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
10595 Py_INCREF(obj);
10596 return Py_BuildValue((char *)"");
10597 }
10598 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10599 PyObject *resultobj;
10600 wxTaskBarIcon *result;
10601 char *kwnames[] = {
10602 NULL
10603 };
10604
10605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
10606 {
10607 PyThreadState* __tstate = wxPyBeginAllowThreads();
10608 result = (wxTaskBarIcon *)new wxTaskBarIcon();
10609
10610 wxPyEndAllowThreads(__tstate);
10611 if (PyErr_Occurred()) SWIG_fail;
10612 }
10613 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
10614 return resultobj;
10615 fail:
10616 return NULL;
10617 }
10618
10619
10620 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10621 PyObject *resultobj;
10622 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10623 PyObject * obj0 = 0 ;
10624 char *kwnames[] = {
10625 (char *) "self", NULL
10626 };
10627
10628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
10629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10631 {
10632 PyThreadState* __tstate = wxPyBeginAllowThreads();
10633 delete arg1;
10634
10635 wxPyEndAllowThreads(__tstate);
10636 if (PyErr_Occurred()) SWIG_fail;
10637 }
10638 Py_INCREF(Py_None); resultobj = Py_None;
10639 return resultobj;
10640 fail:
10641 return NULL;
10642 }
10643
10644
10645 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
10646 PyObject *resultobj;
10647 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10648 bool result;
10649 PyObject * obj0 = 0 ;
10650 char *kwnames[] = {
10651 (char *) "self", NULL
10652 };
10653
10654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
10655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10657 {
10658 PyThreadState* __tstate = wxPyBeginAllowThreads();
10659 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
10660
10661 wxPyEndAllowThreads(__tstate);
10662 if (PyErr_Occurred()) SWIG_fail;
10663 }
10664 {
10665 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10666 }
10667 return resultobj;
10668 fail:
10669 return NULL;
10670 }
10671
10672
10673 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
10674 PyObject *resultobj;
10675 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10676 bool result;
10677 PyObject * obj0 = 0 ;
10678 char *kwnames[] = {
10679 (char *) "self", NULL
10680 };
10681
10682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
10683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10685 {
10686 PyThreadState* __tstate = wxPyBeginAllowThreads();
10687 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
10688
10689 wxPyEndAllowThreads(__tstate);
10690 if (PyErr_Occurred()) SWIG_fail;
10691 }
10692 {
10693 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10694 }
10695 return resultobj;
10696 fail:
10697 return NULL;
10698 }
10699
10700
10701 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10702 PyObject *resultobj;
10703 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10704 wxIcon *arg2 = 0 ;
10705 wxString const &arg3_defvalue = wxPyEmptyString ;
10706 wxString *arg3 = (wxString *) &arg3_defvalue ;
10707 bool result;
10708 bool temp3 = False ;
10709 PyObject * obj0 = 0 ;
10710 PyObject * obj1 = 0 ;
10711 PyObject * obj2 = 0 ;
10712 char *kwnames[] = {
10713 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10714 };
10715
10716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
10717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10719 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
10720 SWIG_POINTER_EXCEPTION | 0)) == -1)
10721 SWIG_fail;
10722 if (arg2 == NULL) {
10723 PyErr_SetString(PyExc_TypeError,"null reference");
10724 SWIG_fail;
10725 }
10726 if (obj2) {
10727 {
10728 arg3 = wxString_in_helper(obj2);
10729 if (arg3 == NULL) SWIG_fail;
10730 temp3 = True;
10731 }
10732 }
10733 {
10734 PyThreadState* __tstate = wxPyBeginAllowThreads();
10735 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
10736
10737 wxPyEndAllowThreads(__tstate);
10738 if (PyErr_Occurred()) SWIG_fail;
10739 }
10740 {
10741 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10742 }
10743 {
10744 if (temp3)
10745 delete arg3;
10746 }
10747 return resultobj;
10748 fail:
10749 {
10750 if (temp3)
10751 delete arg3;
10752 }
10753 return NULL;
10754 }
10755
10756
10757 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10758 PyObject *resultobj;
10759 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10760 bool result;
10761 PyObject * obj0 = 0 ;
10762 char *kwnames[] = {
10763 (char *) "self", NULL
10764 };
10765
10766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
10767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10769 {
10770 PyThreadState* __tstate = wxPyBeginAllowThreads();
10771 result = (bool)(arg1)->RemoveIcon();
10772
10773 wxPyEndAllowThreads(__tstate);
10774 if (PyErr_Occurred()) SWIG_fail;
10775 }
10776 {
10777 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10778 }
10779 return resultobj;
10780 fail:
10781 return NULL;
10782 }
10783
10784
10785 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10786 PyObject *resultobj;
10787 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10788 wxMenu *arg2 = (wxMenu *) 0 ;
10789 bool result;
10790 PyObject * obj0 = 0 ;
10791 PyObject * obj1 = 0 ;
10792 char *kwnames[] = {
10793 (char *) "self",(char *) "menu", NULL
10794 };
10795
10796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
10797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10799 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
10800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10801 {
10802 PyThreadState* __tstate = wxPyBeginAllowThreads();
10803 result = (bool)(arg1)->PopupMenu(arg2);
10804
10805 wxPyEndAllowThreads(__tstate);
10806 if (PyErr_Occurred()) SWIG_fail;
10807 }
10808 {
10809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10810 }
10811 return resultobj;
10812 fail:
10813 return NULL;
10814 }
10815
10816
10817 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
10818 PyObject *obj;
10819 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10820 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
10821 Py_INCREF(obj);
10822 return Py_BuildValue((char *)"");
10823 }
10824 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10825 PyObject *resultobj;
10826 wxEventType arg1 ;
10827 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
10828 wxTaskBarIconEvent *result;
10829 PyObject * obj0 = 0 ;
10830 PyObject * obj1 = 0 ;
10831 char *kwnames[] = {
10832 (char *) "evtType",(char *) "tbIcon", NULL
10833 };
10834
10835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
10836 arg1 = (wxEventType) SWIG_AsInt(obj0);
10837 if (PyErr_Occurred()) SWIG_fail;
10838 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
10839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10840 {
10841 PyThreadState* __tstate = wxPyBeginAllowThreads();
10842 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
10843
10844 wxPyEndAllowThreads(__tstate);
10845 if (PyErr_Occurred()) SWIG_fail;
10846 }
10847 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
10848 return resultobj;
10849 fail:
10850 return NULL;
10851 }
10852
10853
10854 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
10855 PyObject *obj;
10856 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10857 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
10858 Py_INCREF(obj);
10859 return Py_BuildValue((char *)"");
10860 }
10861 static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
10862 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
10863 return 1;
10864 }
10865
10866
10867 static PyObject *_wrap_FileSelectorPromptStr_get() {
10868 PyObject *pyobj;
10869
10870 {
10871 #if wxUSE_UNICODE
10872 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10873 #else
10874 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10875 #endif
10876 }
10877 return pyobj;
10878 }
10879
10880
10881 static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
10882 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
10883 return 1;
10884 }
10885
10886
10887 static PyObject *_wrap_DirSelectorPromptStr_get() {
10888 PyObject *pyobj;
10889
10890 {
10891 #if wxUSE_UNICODE
10892 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10893 #else
10894 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10895 #endif
10896 }
10897 return pyobj;
10898 }
10899
10900
10901 static int _wrap_DirDialogNameStr_set(PyObject *_val) {
10902 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
10903 return 1;
10904 }
10905
10906
10907 static PyObject *_wrap_DirDialogNameStr_get() {
10908 PyObject *pyobj;
10909
10910 {
10911 #if wxUSE_UNICODE
10912 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10913 #else
10914 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10915 #endif
10916 }
10917 return pyobj;
10918 }
10919
10920
10921 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
10922 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
10923 return 1;
10924 }
10925
10926
10927 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
10928 PyObject *pyobj;
10929
10930 {
10931 #if wxUSE_UNICODE
10932 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10933 #else
10934 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10935 #endif
10936 }
10937 return pyobj;
10938 }
10939
10940
10941 static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) {
10942 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
10943 return 1;
10944 }
10945
10946
10947 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
10948 PyObject *pyobj;
10949
10950 {
10951 #if wxUSE_UNICODE
10952 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10953 #else
10954 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10955 #endif
10956 }
10957 return pyobj;
10958 }
10959
10960
10961 static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) {
10962 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
10963 return 1;
10964 }
10965
10966
10967 static PyObject *_wrap_MessageBoxCaptionStr_get() {
10968 PyObject *pyobj;
10969
10970 {
10971 #if wxUSE_UNICODE
10972 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10973 #else
10974 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10975 #endif
10976 }
10977 return pyobj;
10978 }
10979
10980
10981 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10982 PyObject *resultobj;
10983 wxColourData *result;
10984 char *kwnames[] = {
10985 NULL
10986 };
10987
10988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
10989 {
10990 PyThreadState* __tstate = wxPyBeginAllowThreads();
10991 result = (wxColourData *)new wxColourData();
10992
10993 wxPyEndAllowThreads(__tstate);
10994 if (PyErr_Occurred()) SWIG_fail;
10995 }
10996 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
10997 return resultobj;
10998 fail:
10999 return NULL;
11000 }
11001
11002
11003 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11004 PyObject *resultobj;
11005 wxColourData *arg1 = (wxColourData *) 0 ;
11006 PyObject * obj0 = 0 ;
11007 char *kwnames[] = {
11008 (char *) "self", NULL
11009 };
11010
11011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
11012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11014 {
11015 PyThreadState* __tstate = wxPyBeginAllowThreads();
11016 delete arg1;
11017
11018 wxPyEndAllowThreads(__tstate);
11019 if (PyErr_Occurred()) SWIG_fail;
11020 }
11021 Py_INCREF(Py_None); resultobj = Py_None;
11022 return resultobj;
11023 fail:
11024 return NULL;
11025 }
11026
11027
11028 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11029 PyObject *resultobj;
11030 wxColourData *arg1 = (wxColourData *) 0 ;
11031 bool result;
11032 PyObject * obj0 = 0 ;
11033 char *kwnames[] = {
11034 (char *) "self", NULL
11035 };
11036
11037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
11038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11040 {
11041 PyThreadState* __tstate = wxPyBeginAllowThreads();
11042 result = (bool)(arg1)->GetChooseFull();
11043
11044 wxPyEndAllowThreads(__tstate);
11045 if (PyErr_Occurred()) SWIG_fail;
11046 }
11047 {
11048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11049 }
11050 return resultobj;
11051 fail:
11052 return NULL;
11053 }
11054
11055
11056 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11057 PyObject *resultobj;
11058 wxColourData *arg1 = (wxColourData *) 0 ;
11059 wxColour result;
11060 PyObject * obj0 = 0 ;
11061 char *kwnames[] = {
11062 (char *) "self", NULL
11063 };
11064
11065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
11066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11068 {
11069 PyThreadState* __tstate = wxPyBeginAllowThreads();
11070 result = (arg1)->GetColour();
11071
11072 wxPyEndAllowThreads(__tstate);
11073 if (PyErr_Occurred()) SWIG_fail;
11074 }
11075 {
11076 wxColour * resultptr;
11077 resultptr = new wxColour((wxColour &) result);
11078 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11079 }
11080 return resultobj;
11081 fail:
11082 return NULL;
11083 }
11084
11085
11086 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11087 PyObject *resultobj;
11088 wxColourData *arg1 = (wxColourData *) 0 ;
11089 int arg2 ;
11090 wxColour result;
11091 PyObject * obj0 = 0 ;
11092 PyObject * obj1 = 0 ;
11093 char *kwnames[] = {
11094 (char *) "self",(char *) "i", NULL
11095 };
11096
11097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
11098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11100 arg2 = (int) SWIG_AsInt(obj1);
11101 if (PyErr_Occurred()) SWIG_fail;
11102 {
11103 PyThreadState* __tstate = wxPyBeginAllowThreads();
11104 result = (arg1)->GetCustomColour(arg2);
11105
11106 wxPyEndAllowThreads(__tstate);
11107 if (PyErr_Occurred()) SWIG_fail;
11108 }
11109 {
11110 wxColour * resultptr;
11111 resultptr = new wxColour((wxColour &) result);
11112 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11113 }
11114 return resultobj;
11115 fail:
11116 return NULL;
11117 }
11118
11119
11120 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11121 PyObject *resultobj;
11122 wxColourData *arg1 = (wxColourData *) 0 ;
11123 int arg2 ;
11124 PyObject * obj0 = 0 ;
11125 PyObject * obj1 = 0 ;
11126 char *kwnames[] = {
11127 (char *) "self",(char *) "flag", NULL
11128 };
11129
11130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
11131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11133 arg2 = (int) SWIG_AsInt(obj1);
11134 if (PyErr_Occurred()) SWIG_fail;
11135 {
11136 PyThreadState* __tstate = wxPyBeginAllowThreads();
11137 (arg1)->SetChooseFull(arg2);
11138
11139 wxPyEndAllowThreads(__tstate);
11140 if (PyErr_Occurred()) SWIG_fail;
11141 }
11142 Py_INCREF(Py_None); resultobj = Py_None;
11143 return resultobj;
11144 fail:
11145 return NULL;
11146 }
11147
11148
11149 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11150 PyObject *resultobj;
11151 wxColourData *arg1 = (wxColourData *) 0 ;
11152 wxColour *arg2 = 0 ;
11153 wxColour temp2 ;
11154 PyObject * obj0 = 0 ;
11155 PyObject * obj1 = 0 ;
11156 char *kwnames[] = {
11157 (char *) "self",(char *) "colour", NULL
11158 };
11159
11160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11163 {
11164 arg2 = &temp2;
11165 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11166 }
11167 {
11168 PyThreadState* __tstate = wxPyBeginAllowThreads();
11169 (arg1)->SetColour((wxColour const &)*arg2);
11170
11171 wxPyEndAllowThreads(__tstate);
11172 if (PyErr_Occurred()) SWIG_fail;
11173 }
11174 Py_INCREF(Py_None); resultobj = Py_None;
11175 return resultobj;
11176 fail:
11177 return NULL;
11178 }
11179
11180
11181 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11182 PyObject *resultobj;
11183 wxColourData *arg1 = (wxColourData *) 0 ;
11184 int arg2 ;
11185 wxColour *arg3 = 0 ;
11186 wxColour temp3 ;
11187 PyObject * obj0 = 0 ;
11188 PyObject * obj1 = 0 ;
11189 PyObject * obj2 = 0 ;
11190 char *kwnames[] = {
11191 (char *) "self",(char *) "i",(char *) "colour", NULL
11192 };
11193
11194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11197 arg2 = (int) SWIG_AsInt(obj1);
11198 if (PyErr_Occurred()) SWIG_fail;
11199 {
11200 arg3 = &temp3;
11201 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11202 }
11203 {
11204 PyThreadState* __tstate = wxPyBeginAllowThreads();
11205 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11206
11207 wxPyEndAllowThreads(__tstate);
11208 if (PyErr_Occurred()) SWIG_fail;
11209 }
11210 Py_INCREF(Py_None); resultobj = Py_None;
11211 return resultobj;
11212 fail:
11213 return NULL;
11214 }
11215
11216
11217 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
11218 PyObject *obj;
11219 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11220 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11221 Py_INCREF(obj);
11222 return Py_BuildValue((char *)"");
11223 }
11224 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11225 PyObject *resultobj;
11226 wxWindow *arg1 = (wxWindow *) 0 ;
11227 wxColourData *arg2 = (wxColourData *) NULL ;
11228 wxColourDialog *result;
11229 PyObject * obj0 = 0 ;
11230 PyObject * obj1 = 0 ;
11231 char *kwnames[] = {
11232 (char *) "parent",(char *) "data", NULL
11233 };
11234
11235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
11236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11238 if (obj1) {
11239 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11241 }
11242 {
11243 PyThreadState* __tstate = wxPyBeginAllowThreads();
11244 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11245
11246 wxPyEndAllowThreads(__tstate);
11247 if (PyErr_Occurred()) SWIG_fail;
11248 }
11249 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
11250 return resultobj;
11251 fail:
11252 return NULL;
11253 }
11254
11255
11256 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11257 PyObject *resultobj;
11258 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11259 wxColourData *result;
11260 PyObject * obj0 = 0 ;
11261 char *kwnames[] = {
11262 (char *) "self", NULL
11263 };
11264
11265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
11266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11268 {
11269 PyThreadState* __tstate = wxPyBeginAllowThreads();
11270 {
11271 wxColourData &_result_ref = (arg1)->GetColourData();
11272 result = (wxColourData *) &_result_ref;
11273 }
11274
11275 wxPyEndAllowThreads(__tstate);
11276 if (PyErr_Occurred()) SWIG_fail;
11277 }
11278 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
11279 return resultobj;
11280 fail:
11281 return NULL;
11282 }
11283
11284
11285 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
11286 PyObject *obj;
11287 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11288 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11289 Py_INCREF(obj);
11290 return Py_BuildValue((char *)"");
11291 }
11292 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11293 PyObject *resultobj;
11294 wxWindow *arg1 = (wxWindow *) 0 ;
11295 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11296 wxString *arg2 = (wxString *) &arg2_defvalue ;
11297 wxString const &arg3_defvalue = wxPyEmptyString ;
11298 wxString *arg3 = (wxString *) &arg3_defvalue ;
11299 long arg4 = (long) 0 ;
11300 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11301 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11302 wxSize const &arg6_defvalue = wxDefaultSize ;
11303 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11304 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11305 wxString *arg7 = (wxString *) &arg7_defvalue ;
11306 wxDirDialog *result;
11307 bool temp2 = False ;
11308 bool temp3 = False ;
11309 wxPoint temp5 ;
11310 wxSize temp6 ;
11311 bool temp7 = False ;
11312 PyObject * obj0 = 0 ;
11313 PyObject * obj1 = 0 ;
11314 PyObject * obj2 = 0 ;
11315 PyObject * obj3 = 0 ;
11316 PyObject * obj4 = 0 ;
11317 PyObject * obj5 = 0 ;
11318 PyObject * obj6 = 0 ;
11319 char *kwnames[] = {
11320 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11321 };
11322
11323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11326 if (obj1) {
11327 {
11328 arg2 = wxString_in_helper(obj1);
11329 if (arg2 == NULL) SWIG_fail;
11330 temp2 = True;
11331 }
11332 }
11333 if (obj2) {
11334 {
11335 arg3 = wxString_in_helper(obj2);
11336 if (arg3 == NULL) SWIG_fail;
11337 temp3 = True;
11338 }
11339 }
11340 if (obj3) {
11341 arg4 = (long) SWIG_AsLong(obj3);
11342 if (PyErr_Occurred()) SWIG_fail;
11343 }
11344 if (obj4) {
11345 {
11346 arg5 = &temp5;
11347 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11348 }
11349 }
11350 if (obj5) {
11351 {
11352 arg6 = &temp6;
11353 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11354 }
11355 }
11356 if (obj6) {
11357 {
11358 arg7 = wxString_in_helper(obj6);
11359 if (arg7 == NULL) SWIG_fail;
11360 temp7 = True;
11361 }
11362 }
11363 {
11364 PyThreadState* __tstate = wxPyBeginAllowThreads();
11365 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11366
11367 wxPyEndAllowThreads(__tstate);
11368 if (PyErr_Occurred()) SWIG_fail;
11369 }
11370 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
11371 {
11372 if (temp2)
11373 delete arg2;
11374 }
11375 {
11376 if (temp3)
11377 delete arg3;
11378 }
11379 {
11380 if (temp7)
11381 delete arg7;
11382 }
11383 return resultobj;
11384 fail:
11385 {
11386 if (temp2)
11387 delete arg2;
11388 }
11389 {
11390 if (temp3)
11391 delete arg3;
11392 }
11393 {
11394 if (temp7)
11395 delete arg7;
11396 }
11397 return NULL;
11398 }
11399
11400
11401 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11402 PyObject *resultobj;
11403 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11404 wxString result;
11405 PyObject * obj0 = 0 ;
11406 char *kwnames[] = {
11407 (char *) "self", NULL
11408 };
11409
11410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
11411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11413 {
11414 PyThreadState* __tstate = wxPyBeginAllowThreads();
11415 result = (arg1)->GetPath();
11416
11417 wxPyEndAllowThreads(__tstate);
11418 if (PyErr_Occurred()) SWIG_fail;
11419 }
11420 {
11421 #if wxUSE_UNICODE
11422 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11423 #else
11424 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11425 #endif
11426 }
11427 return resultobj;
11428 fail:
11429 return NULL;
11430 }
11431
11432
11433 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11434 PyObject *resultobj;
11435 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11436 wxString result;
11437 PyObject * obj0 = 0 ;
11438 char *kwnames[] = {
11439 (char *) "self", NULL
11440 };
11441
11442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
11443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11445 {
11446 PyThreadState* __tstate = wxPyBeginAllowThreads();
11447 result = (arg1)->GetMessage();
11448
11449 wxPyEndAllowThreads(__tstate);
11450 if (PyErr_Occurred()) SWIG_fail;
11451 }
11452 {
11453 #if wxUSE_UNICODE
11454 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11455 #else
11456 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11457 #endif
11458 }
11459 return resultobj;
11460 fail:
11461 return NULL;
11462 }
11463
11464
11465 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11466 PyObject *resultobj;
11467 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11468 long result;
11469 PyObject * obj0 = 0 ;
11470 char *kwnames[] = {
11471 (char *) "self", NULL
11472 };
11473
11474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
11475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11477 {
11478 PyThreadState* __tstate = wxPyBeginAllowThreads();
11479 result = (long)(arg1)->GetStyle();
11480
11481 wxPyEndAllowThreads(__tstate);
11482 if (PyErr_Occurred()) SWIG_fail;
11483 }
11484 resultobj = SWIG_FromLong((long)result);
11485 return resultobj;
11486 fail:
11487 return NULL;
11488 }
11489
11490
11491 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11492 PyObject *resultobj;
11493 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11494 wxString *arg2 = 0 ;
11495 bool temp2 = False ;
11496 PyObject * obj0 = 0 ;
11497 PyObject * obj1 = 0 ;
11498 char *kwnames[] = {
11499 (char *) "self",(char *) "message", NULL
11500 };
11501
11502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11505 {
11506 arg2 = wxString_in_helper(obj1);
11507 if (arg2 == NULL) SWIG_fail;
11508 temp2 = True;
11509 }
11510 {
11511 PyThreadState* __tstate = wxPyBeginAllowThreads();
11512 (arg1)->SetMessage((wxString const &)*arg2);
11513
11514 wxPyEndAllowThreads(__tstate);
11515 if (PyErr_Occurred()) SWIG_fail;
11516 }
11517 Py_INCREF(Py_None); resultobj = Py_None;
11518 {
11519 if (temp2)
11520 delete arg2;
11521 }
11522 return resultobj;
11523 fail:
11524 {
11525 if (temp2)
11526 delete arg2;
11527 }
11528 return NULL;
11529 }
11530
11531
11532 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11533 PyObject *resultobj;
11534 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11535 wxString *arg2 = 0 ;
11536 bool temp2 = False ;
11537 PyObject * obj0 = 0 ;
11538 PyObject * obj1 = 0 ;
11539 char *kwnames[] = {
11540 (char *) "self",(char *) "path", NULL
11541 };
11542
11543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11546 {
11547 arg2 = wxString_in_helper(obj1);
11548 if (arg2 == NULL) SWIG_fail;
11549 temp2 = True;
11550 }
11551 {
11552 PyThreadState* __tstate = wxPyBeginAllowThreads();
11553 (arg1)->SetPath((wxString const &)*arg2);
11554
11555 wxPyEndAllowThreads(__tstate);
11556 if (PyErr_Occurred()) SWIG_fail;
11557 }
11558 Py_INCREF(Py_None); resultobj = Py_None;
11559 {
11560 if (temp2)
11561 delete arg2;
11562 }
11563 return resultobj;
11564 fail:
11565 {
11566 if (temp2)
11567 delete arg2;
11568 }
11569 return NULL;
11570 }
11571
11572
11573 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
11574 PyObject *obj;
11575 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11576 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
11577 Py_INCREF(obj);
11578 return Py_BuildValue((char *)"");
11579 }
11580 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11581 PyObject *resultobj;
11582 wxWindow *arg1 = (wxWindow *) 0 ;
11583 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
11584 wxString *arg2 = (wxString *) &arg2_defvalue ;
11585 wxString const &arg3_defvalue = wxPyEmptyString ;
11586 wxString *arg3 = (wxString *) &arg3_defvalue ;
11587 wxString const &arg4_defvalue = wxPyEmptyString ;
11588 wxString *arg4 = (wxString *) &arg4_defvalue ;
11589 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
11590 wxString *arg5 = (wxString *) &arg5_defvalue ;
11591 long arg6 = (long) 0 ;
11592 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11593 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11594 wxFileDialog *result;
11595 bool temp2 = False ;
11596 bool temp3 = False ;
11597 bool temp4 = False ;
11598 bool temp5 = False ;
11599 wxPoint temp7 ;
11600 PyObject * obj0 = 0 ;
11601 PyObject * obj1 = 0 ;
11602 PyObject * obj2 = 0 ;
11603 PyObject * obj3 = 0 ;
11604 PyObject * obj4 = 0 ;
11605 PyObject * obj5 = 0 ;
11606 PyObject * obj6 = 0 ;
11607 char *kwnames[] = {
11608 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11609 };
11610
11611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11614 if (obj1) {
11615 {
11616 arg2 = wxString_in_helper(obj1);
11617 if (arg2 == NULL) SWIG_fail;
11618 temp2 = True;
11619 }
11620 }
11621 if (obj2) {
11622 {
11623 arg3 = wxString_in_helper(obj2);
11624 if (arg3 == NULL) SWIG_fail;
11625 temp3 = True;
11626 }
11627 }
11628 if (obj3) {
11629 {
11630 arg4 = wxString_in_helper(obj3);
11631 if (arg4 == NULL) SWIG_fail;
11632 temp4 = True;
11633 }
11634 }
11635 if (obj4) {
11636 {
11637 arg5 = wxString_in_helper(obj4);
11638 if (arg5 == NULL) SWIG_fail;
11639 temp5 = True;
11640 }
11641 }
11642 if (obj5) {
11643 arg6 = (long) SWIG_AsLong(obj5);
11644 if (PyErr_Occurred()) SWIG_fail;
11645 }
11646 if (obj6) {
11647 {
11648 arg7 = &temp7;
11649 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11650 }
11651 }
11652 {
11653 PyThreadState* __tstate = wxPyBeginAllowThreads();
11654 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
11655
11656 wxPyEndAllowThreads(__tstate);
11657 if (PyErr_Occurred()) SWIG_fail;
11658 }
11659 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
11660 {
11661 if (temp2)
11662 delete arg2;
11663 }
11664 {
11665 if (temp3)
11666 delete arg3;
11667 }
11668 {
11669 if (temp4)
11670 delete arg4;
11671 }
11672 {
11673 if (temp5)
11674 delete arg5;
11675 }
11676 return resultobj;
11677 fail:
11678 {
11679 if (temp2)
11680 delete arg2;
11681 }
11682 {
11683 if (temp3)
11684 delete arg3;
11685 }
11686 {
11687 if (temp4)
11688 delete arg4;
11689 }
11690 {
11691 if (temp5)
11692 delete arg5;
11693 }
11694 return NULL;
11695 }
11696
11697
11698 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11699 PyObject *resultobj;
11700 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11701 wxString *arg2 = 0 ;
11702 bool temp2 = False ;
11703 PyObject * obj0 = 0 ;
11704 PyObject * obj1 = 0 ;
11705 char *kwnames[] = {
11706 (char *) "self",(char *) "message", NULL
11707 };
11708
11709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11712 {
11713 arg2 = wxString_in_helper(obj1);
11714 if (arg2 == NULL) SWIG_fail;
11715 temp2 = True;
11716 }
11717 {
11718 PyThreadState* __tstate = wxPyBeginAllowThreads();
11719 (arg1)->SetMessage((wxString const &)*arg2);
11720
11721 wxPyEndAllowThreads(__tstate);
11722 if (PyErr_Occurred()) SWIG_fail;
11723 }
11724 Py_INCREF(Py_None); resultobj = Py_None;
11725 {
11726 if (temp2)
11727 delete arg2;
11728 }
11729 return resultobj;
11730 fail:
11731 {
11732 if (temp2)
11733 delete arg2;
11734 }
11735 return NULL;
11736 }
11737
11738
11739 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11740 PyObject *resultobj;
11741 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11742 wxString *arg2 = 0 ;
11743 bool temp2 = False ;
11744 PyObject * obj0 = 0 ;
11745 PyObject * obj1 = 0 ;
11746 char *kwnames[] = {
11747 (char *) "self",(char *) "path", NULL
11748 };
11749
11750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11753 {
11754 arg2 = wxString_in_helper(obj1);
11755 if (arg2 == NULL) SWIG_fail;
11756 temp2 = True;
11757 }
11758 {
11759 PyThreadState* __tstate = wxPyBeginAllowThreads();
11760 (arg1)->SetPath((wxString const &)*arg2);
11761
11762 wxPyEndAllowThreads(__tstate);
11763 if (PyErr_Occurred()) SWIG_fail;
11764 }
11765 Py_INCREF(Py_None); resultobj = Py_None;
11766 {
11767 if (temp2)
11768 delete arg2;
11769 }
11770 return resultobj;
11771 fail:
11772 {
11773 if (temp2)
11774 delete arg2;
11775 }
11776 return NULL;
11777 }
11778
11779
11780 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11781 PyObject *resultobj;
11782 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11783 wxString *arg2 = 0 ;
11784 bool temp2 = False ;
11785 PyObject * obj0 = 0 ;
11786 PyObject * obj1 = 0 ;
11787 char *kwnames[] = {
11788 (char *) "self",(char *) "dir", NULL
11789 };
11790
11791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
11792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11794 {
11795 arg2 = wxString_in_helper(obj1);
11796 if (arg2 == NULL) SWIG_fail;
11797 temp2 = True;
11798 }
11799 {
11800 PyThreadState* __tstate = wxPyBeginAllowThreads();
11801 (arg1)->SetDirectory((wxString const &)*arg2);
11802
11803 wxPyEndAllowThreads(__tstate);
11804 if (PyErr_Occurred()) SWIG_fail;
11805 }
11806 Py_INCREF(Py_None); resultobj = Py_None;
11807 {
11808 if (temp2)
11809 delete arg2;
11810 }
11811 return resultobj;
11812 fail:
11813 {
11814 if (temp2)
11815 delete arg2;
11816 }
11817 return NULL;
11818 }
11819
11820
11821 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11822 PyObject *resultobj;
11823 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11824 wxString *arg2 = 0 ;
11825 bool temp2 = False ;
11826 PyObject * obj0 = 0 ;
11827 PyObject * obj1 = 0 ;
11828 char *kwnames[] = {
11829 (char *) "self",(char *) "name", NULL
11830 };
11831
11832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
11833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11835 {
11836 arg2 = wxString_in_helper(obj1);
11837 if (arg2 == NULL) SWIG_fail;
11838 temp2 = True;
11839 }
11840 {
11841 PyThreadState* __tstate = wxPyBeginAllowThreads();
11842 (arg1)->SetFilename((wxString const &)*arg2);
11843
11844 wxPyEndAllowThreads(__tstate);
11845 if (PyErr_Occurred()) SWIG_fail;
11846 }
11847 Py_INCREF(Py_None); resultobj = Py_None;
11848 {
11849 if (temp2)
11850 delete arg2;
11851 }
11852 return resultobj;
11853 fail:
11854 {
11855 if (temp2)
11856 delete arg2;
11857 }
11858 return NULL;
11859 }
11860
11861
11862 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11863 PyObject *resultobj;
11864 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11865 wxString *arg2 = 0 ;
11866 bool temp2 = False ;
11867 PyObject * obj0 = 0 ;
11868 PyObject * obj1 = 0 ;
11869 char *kwnames[] = {
11870 (char *) "self",(char *) "wildCard", NULL
11871 };
11872
11873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
11874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11876 {
11877 arg2 = wxString_in_helper(obj1);
11878 if (arg2 == NULL) SWIG_fail;
11879 temp2 = True;
11880 }
11881 {
11882 PyThreadState* __tstate = wxPyBeginAllowThreads();
11883 (arg1)->SetWildcard((wxString const &)*arg2);
11884
11885 wxPyEndAllowThreads(__tstate);
11886 if (PyErr_Occurred()) SWIG_fail;
11887 }
11888 Py_INCREF(Py_None); resultobj = Py_None;
11889 {
11890 if (temp2)
11891 delete arg2;
11892 }
11893 return resultobj;
11894 fail:
11895 {
11896 if (temp2)
11897 delete arg2;
11898 }
11899 return NULL;
11900 }
11901
11902
11903 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11904 PyObject *resultobj;
11905 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11906 long arg2 ;
11907 PyObject * obj0 = 0 ;
11908 PyObject * obj1 = 0 ;
11909 char *kwnames[] = {
11910 (char *) "self",(char *) "style", NULL
11911 };
11912
11913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
11914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11916 arg2 = (long) SWIG_AsLong(obj1);
11917 if (PyErr_Occurred()) SWIG_fail;
11918 {
11919 PyThreadState* __tstate = wxPyBeginAllowThreads();
11920 (arg1)->SetStyle(arg2);
11921
11922 wxPyEndAllowThreads(__tstate);
11923 if (PyErr_Occurred()) SWIG_fail;
11924 }
11925 Py_INCREF(Py_None); resultobj = Py_None;
11926 return resultobj;
11927 fail:
11928 return NULL;
11929 }
11930
11931
11932 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11933 PyObject *resultobj;
11934 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11935 int arg2 ;
11936 PyObject * obj0 = 0 ;
11937 PyObject * obj1 = 0 ;
11938 char *kwnames[] = {
11939 (char *) "self",(char *) "filterIndex", NULL
11940 };
11941
11942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
11943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11945 arg2 = (int) SWIG_AsInt(obj1);
11946 if (PyErr_Occurred()) SWIG_fail;
11947 {
11948 PyThreadState* __tstate = wxPyBeginAllowThreads();
11949 (arg1)->SetFilterIndex(arg2);
11950
11951 wxPyEndAllowThreads(__tstate);
11952 if (PyErr_Occurred()) SWIG_fail;
11953 }
11954 Py_INCREF(Py_None); resultobj = Py_None;
11955 return resultobj;
11956 fail:
11957 return NULL;
11958 }
11959
11960
11961 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11962 PyObject *resultobj;
11963 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11964 wxString result;
11965 PyObject * obj0 = 0 ;
11966 char *kwnames[] = {
11967 (char *) "self", NULL
11968 };
11969
11970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
11971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11973 {
11974 PyThreadState* __tstate = wxPyBeginAllowThreads();
11975 result = ((wxFileDialog const *)arg1)->GetMessage();
11976
11977 wxPyEndAllowThreads(__tstate);
11978 if (PyErr_Occurred()) SWIG_fail;
11979 }
11980 {
11981 #if wxUSE_UNICODE
11982 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11983 #else
11984 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11985 #endif
11986 }
11987 return resultobj;
11988 fail:
11989 return NULL;
11990 }
11991
11992
11993 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11994 PyObject *resultobj;
11995 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11996 wxString result;
11997 PyObject * obj0 = 0 ;
11998 char *kwnames[] = {
11999 (char *) "self", NULL
12000 };
12001
12002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
12003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12005 {
12006 PyThreadState* __tstate = wxPyBeginAllowThreads();
12007 result = ((wxFileDialog const *)arg1)->GetPath();
12008
12009 wxPyEndAllowThreads(__tstate);
12010 if (PyErr_Occurred()) SWIG_fail;
12011 }
12012 {
12013 #if wxUSE_UNICODE
12014 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12015 #else
12016 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12017 #endif
12018 }
12019 return resultobj;
12020 fail:
12021 return NULL;
12022 }
12023
12024
12025 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
12026 PyObject *resultobj;
12027 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12028 wxString result;
12029 PyObject * obj0 = 0 ;
12030 char *kwnames[] = {
12031 (char *) "self", NULL
12032 };
12033
12034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
12035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12037 {
12038 PyThreadState* __tstate = wxPyBeginAllowThreads();
12039 result = ((wxFileDialog const *)arg1)->GetDirectory();
12040
12041 wxPyEndAllowThreads(__tstate);
12042 if (PyErr_Occurred()) SWIG_fail;
12043 }
12044 {
12045 #if wxUSE_UNICODE
12046 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12047 #else
12048 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12049 #endif
12050 }
12051 return resultobj;
12052 fail:
12053 return NULL;
12054 }
12055
12056
12057 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
12058 PyObject *resultobj;
12059 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12060 wxString result;
12061 PyObject * obj0 = 0 ;
12062 char *kwnames[] = {
12063 (char *) "self", NULL
12064 };
12065
12066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
12067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12069 {
12070 PyThreadState* __tstate = wxPyBeginAllowThreads();
12071 result = ((wxFileDialog const *)arg1)->GetFilename();
12072
12073 wxPyEndAllowThreads(__tstate);
12074 if (PyErr_Occurred()) SWIG_fail;
12075 }
12076 {
12077 #if wxUSE_UNICODE
12078 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12079 #else
12080 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12081 #endif
12082 }
12083 return resultobj;
12084 fail:
12085 return NULL;
12086 }
12087
12088
12089 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
12090 PyObject *resultobj;
12091 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12092 wxString result;
12093 PyObject * obj0 = 0 ;
12094 char *kwnames[] = {
12095 (char *) "self", NULL
12096 };
12097
12098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
12099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12101 {
12102 PyThreadState* __tstate = wxPyBeginAllowThreads();
12103 result = ((wxFileDialog const *)arg1)->GetWildcard();
12104
12105 wxPyEndAllowThreads(__tstate);
12106 if (PyErr_Occurred()) SWIG_fail;
12107 }
12108 {
12109 #if wxUSE_UNICODE
12110 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12111 #else
12112 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12113 #endif
12114 }
12115 return resultobj;
12116 fail:
12117 return NULL;
12118 }
12119
12120
12121 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12122 PyObject *resultobj;
12123 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12124 long result;
12125 PyObject * obj0 = 0 ;
12126 char *kwnames[] = {
12127 (char *) "self", NULL
12128 };
12129
12130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
12131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12133 {
12134 PyThreadState* __tstate = wxPyBeginAllowThreads();
12135 result = (long)((wxFileDialog const *)arg1)->GetStyle();
12136
12137 wxPyEndAllowThreads(__tstate);
12138 if (PyErr_Occurred()) SWIG_fail;
12139 }
12140 resultobj = SWIG_FromLong((long)result);
12141 return resultobj;
12142 fail:
12143 return NULL;
12144 }
12145
12146
12147 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12148 PyObject *resultobj;
12149 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12150 int result;
12151 PyObject * obj0 = 0 ;
12152 char *kwnames[] = {
12153 (char *) "self", NULL
12154 };
12155
12156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
12157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12159 {
12160 PyThreadState* __tstate = wxPyBeginAllowThreads();
12161 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12162
12163 wxPyEndAllowThreads(__tstate);
12164 if (PyErr_Occurred()) SWIG_fail;
12165 }
12166 resultobj = SWIG_FromInt((int)result);
12167 return resultobj;
12168 fail:
12169 return NULL;
12170 }
12171
12172
12173 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
12174 PyObject *resultobj;
12175 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12176 PyObject *result;
12177 PyObject * obj0 = 0 ;
12178 char *kwnames[] = {
12179 (char *) "self", NULL
12180 };
12181
12182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
12183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12185 {
12186 PyThreadState* __tstate = wxPyBeginAllowThreads();
12187 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12188
12189 wxPyEndAllowThreads(__tstate);
12190 if (PyErr_Occurred()) SWIG_fail;
12191 }
12192 resultobj = result;
12193 return resultobj;
12194 fail:
12195 return NULL;
12196 }
12197
12198
12199 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
12200 PyObject *resultobj;
12201 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12202 PyObject *result;
12203 PyObject * obj0 = 0 ;
12204 char *kwnames[] = {
12205 (char *) "self", NULL
12206 };
12207
12208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
12209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12211 {
12212 PyThreadState* __tstate = wxPyBeginAllowThreads();
12213 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12214
12215 wxPyEndAllowThreads(__tstate);
12216 if (PyErr_Occurred()) SWIG_fail;
12217 }
12218 resultobj = result;
12219 return resultobj;
12220 fail:
12221 return NULL;
12222 }
12223
12224
12225 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
12226 PyObject *obj;
12227 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12228 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12229 Py_INCREF(obj);
12230 return Py_BuildValue((char *)"");
12231 }
12232 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12233 PyObject *resultobj;
12234 wxWindow *arg1 = (wxWindow *) 0 ;
12235 wxString *arg2 = 0 ;
12236 wxString *arg3 = 0 ;
12237 int arg4 = (int) 0 ;
12238 wxString *arg5 = (wxString *) 0 ;
12239 long arg6 = (long) wxCHOICEDLG_STYLE ;
12240 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12241 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12242 wxMultiChoiceDialog *result;
12243 bool temp2 = False ;
12244 bool temp3 = False ;
12245 wxPoint temp6 ;
12246 PyObject * obj0 = 0 ;
12247 PyObject * obj1 = 0 ;
12248 PyObject * obj2 = 0 ;
12249 PyObject * obj3 = 0 ;
12250 PyObject * obj4 = 0 ;
12251 PyObject * obj5 = 0 ;
12252 char *kwnames[] = {
12253 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12254 };
12255
12256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12259 {
12260 arg2 = wxString_in_helper(obj1);
12261 if (arg2 == NULL) SWIG_fail;
12262 temp2 = True;
12263 }
12264 {
12265 arg3 = wxString_in_helper(obj2);
12266 if (arg3 == NULL) SWIG_fail;
12267 temp3 = True;
12268 }
12269 if (obj3) {
12270 {
12271 arg4 = PyList_Size(obj3);
12272 arg5 = wxString_LIST_helper(obj3);
12273 if (arg5 == NULL) SWIG_fail;
12274 }
12275 }
12276 if (obj4) {
12277 arg6 = (long) SWIG_AsLong(obj4);
12278 if (PyErr_Occurred()) SWIG_fail;
12279 }
12280 if (obj5) {
12281 {
12282 arg7 = &temp6;
12283 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12284 }
12285 }
12286 {
12287 PyThreadState* __tstate = wxPyBeginAllowThreads();
12288 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12289
12290 wxPyEndAllowThreads(__tstate);
12291 if (PyErr_Occurred()) SWIG_fail;
12292 }
12293 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12294 {
12295 if (temp2)
12296 delete arg2;
12297 }
12298 {
12299 if (temp3)
12300 delete arg3;
12301 }
12302 {
12303 if (arg5) delete [] arg5;
12304 }
12305 return resultobj;
12306 fail:
12307 {
12308 if (temp2)
12309 delete arg2;
12310 }
12311 {
12312 if (temp3)
12313 delete arg3;
12314 }
12315 {
12316 if (arg5) delete [] arg5;
12317 }
12318 return NULL;
12319 }
12320
12321
12322 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12323 PyObject *resultobj;
12324 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12325 wxArrayInt *arg2 = 0 ;
12326 bool temp2 = False ;
12327 PyObject * obj0 = 0 ;
12328 PyObject * obj1 = 0 ;
12329 char *kwnames[] = {
12330 (char *) "self",(char *) "selections", NULL
12331 };
12332
12333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12336 {
12337 if (! PySequence_Check(obj1)) {
12338 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12339 SWIG_fail;
12340 }
12341 arg2 = new wxArrayInt;
12342 temp2 = True;
12343 int i, len=PySequence_Length(obj1);
12344 for (i=0; i<len; i++) {
12345 PyObject* item = PySequence_GetItem(obj1, i);
12346 PyObject* number = PyNumber_Int(item);
12347 arg2->Add(PyInt_AS_LONG(number));
12348 Py_DECREF(item);
12349 Py_DECREF(number);
12350 }
12351 }
12352 {
12353 PyThreadState* __tstate = wxPyBeginAllowThreads();
12354 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12355
12356 wxPyEndAllowThreads(__tstate);
12357 if (PyErr_Occurred()) SWIG_fail;
12358 }
12359 Py_INCREF(Py_None); resultobj = Py_None;
12360 {
12361 if (temp2) delete arg2;
12362 }
12363 return resultobj;
12364 fail:
12365 {
12366 if (temp2) delete arg2;
12367 }
12368 return NULL;
12369 }
12370
12371
12372 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12373 PyObject *resultobj;
12374 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12375 PyObject *result;
12376 PyObject * obj0 = 0 ;
12377 char *kwnames[] = {
12378 (char *) "self", NULL
12379 };
12380
12381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12384 {
12385 PyThreadState* __tstate = wxPyBeginAllowThreads();
12386 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12387
12388 wxPyEndAllowThreads(__tstate);
12389 if (PyErr_Occurred()) SWIG_fail;
12390 }
12391 resultobj = result;
12392 return resultobj;
12393 fail:
12394 return NULL;
12395 }
12396
12397
12398 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12399 PyObject *obj;
12400 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12401 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12402 Py_INCREF(obj);
12403 return Py_BuildValue((char *)"");
12404 }
12405 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12406 PyObject *resultobj;
12407 wxWindow *arg1 = (wxWindow *) 0 ;
12408 wxString *arg2 = 0 ;
12409 wxString *arg3 = 0 ;
12410 int arg4 ;
12411 wxString *arg5 = (wxString *) 0 ;
12412 long arg6 = (long) wxCHOICEDLG_STYLE ;
12413 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12414 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12415 wxSingleChoiceDialog *result;
12416 bool temp2 = False ;
12417 bool temp3 = False ;
12418 wxPoint temp6 ;
12419 PyObject * obj0 = 0 ;
12420 PyObject * obj1 = 0 ;
12421 PyObject * obj2 = 0 ;
12422 PyObject * obj3 = 0 ;
12423 PyObject * obj4 = 0 ;
12424 PyObject * obj5 = 0 ;
12425 char *kwnames[] = {
12426 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12427 };
12428
12429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12432 {
12433 arg2 = wxString_in_helper(obj1);
12434 if (arg2 == NULL) SWIG_fail;
12435 temp2 = True;
12436 }
12437 {
12438 arg3 = wxString_in_helper(obj2);
12439 if (arg3 == NULL) SWIG_fail;
12440 temp3 = True;
12441 }
12442 {
12443 arg4 = PyList_Size(obj3);
12444 arg5 = wxString_LIST_helper(obj3);
12445 if (arg5 == NULL) SWIG_fail;
12446 }
12447 if (obj4) {
12448 arg6 = (long) SWIG_AsLong(obj4);
12449 if (PyErr_Occurred()) SWIG_fail;
12450 }
12451 if (obj5) {
12452 {
12453 arg7 = &temp6;
12454 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12455 }
12456 }
12457 {
12458 PyThreadState* __tstate = wxPyBeginAllowThreads();
12459 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12460
12461 wxPyEndAllowThreads(__tstate);
12462 if (PyErr_Occurred()) SWIG_fail;
12463 }
12464 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
12465 {
12466 if (temp2)
12467 delete arg2;
12468 }
12469 {
12470 if (temp3)
12471 delete arg3;
12472 }
12473 {
12474 if (arg5) delete [] arg5;
12475 }
12476 return resultobj;
12477 fail:
12478 {
12479 if (temp2)
12480 delete arg2;
12481 }
12482 {
12483 if (temp3)
12484 delete arg3;
12485 }
12486 {
12487 if (arg5) delete [] arg5;
12488 }
12489 return NULL;
12490 }
12491
12492
12493 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12494 PyObject *resultobj;
12495 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12496 int result;
12497 PyObject * obj0 = 0 ;
12498 char *kwnames[] = {
12499 (char *) "self", NULL
12500 };
12501
12502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
12503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12505 {
12506 PyThreadState* __tstate = wxPyBeginAllowThreads();
12507 result = (int)(arg1)->GetSelection();
12508
12509 wxPyEndAllowThreads(__tstate);
12510 if (PyErr_Occurred()) SWIG_fail;
12511 }
12512 resultobj = SWIG_FromInt((int)result);
12513 return resultobj;
12514 fail:
12515 return NULL;
12516 }
12517
12518
12519 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12520 PyObject *resultobj;
12521 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12522 wxString result;
12523 PyObject * obj0 = 0 ;
12524 char *kwnames[] = {
12525 (char *) "self", NULL
12526 };
12527
12528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
12529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12531 {
12532 PyThreadState* __tstate = wxPyBeginAllowThreads();
12533 result = (arg1)->GetStringSelection();
12534
12535 wxPyEndAllowThreads(__tstate);
12536 if (PyErr_Occurred()) SWIG_fail;
12537 }
12538 {
12539 #if wxUSE_UNICODE
12540 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12541 #else
12542 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12543 #endif
12544 }
12545 return resultobj;
12546 fail:
12547 return NULL;
12548 }
12549
12550
12551 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12552 PyObject *resultobj;
12553 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12554 int arg2 ;
12555 PyObject * obj0 = 0 ;
12556 PyObject * obj1 = 0 ;
12557 char *kwnames[] = {
12558 (char *) "self",(char *) "sel", NULL
12559 };
12560
12561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12564 arg2 = (int) SWIG_AsInt(obj1);
12565 if (PyErr_Occurred()) SWIG_fail;
12566 {
12567 PyThreadState* __tstate = wxPyBeginAllowThreads();
12568 (arg1)->SetSelection(arg2);
12569
12570 wxPyEndAllowThreads(__tstate);
12571 if (PyErr_Occurred()) SWIG_fail;
12572 }
12573 Py_INCREF(Py_None); resultobj = Py_None;
12574 return resultobj;
12575 fail:
12576 return NULL;
12577 }
12578
12579
12580 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12581 PyObject *obj;
12582 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12583 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
12584 Py_INCREF(obj);
12585 return Py_BuildValue((char *)"");
12586 }
12587 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12588 PyObject *resultobj;
12589 wxWindow *arg1 = (wxWindow *) 0 ;
12590 wxString *arg2 = 0 ;
12591 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
12592 wxString *arg3 = (wxString *) &arg3_defvalue ;
12593 wxString const &arg4_defvalue = wxPyEmptyString ;
12594 wxString *arg4 = (wxString *) &arg4_defvalue ;
12595 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
12596 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12597 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12598 wxTextEntryDialog *result;
12599 bool temp2 = False ;
12600 bool temp3 = False ;
12601 bool temp4 = False ;
12602 wxPoint temp6 ;
12603 PyObject * obj0 = 0 ;
12604 PyObject * obj1 = 0 ;
12605 PyObject * obj2 = 0 ;
12606 PyObject * obj3 = 0 ;
12607 PyObject * obj4 = 0 ;
12608 PyObject * obj5 = 0 ;
12609 char *kwnames[] = {
12610 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12611 };
12612
12613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12616 {
12617 arg2 = wxString_in_helper(obj1);
12618 if (arg2 == NULL) SWIG_fail;
12619 temp2 = True;
12620 }
12621 if (obj2) {
12622 {
12623 arg3 = wxString_in_helper(obj2);
12624 if (arg3 == NULL) SWIG_fail;
12625 temp3 = True;
12626 }
12627 }
12628 if (obj3) {
12629 {
12630 arg4 = wxString_in_helper(obj3);
12631 if (arg4 == NULL) SWIG_fail;
12632 temp4 = True;
12633 }
12634 }
12635 if (obj4) {
12636 arg5 = (long) SWIG_AsLong(obj4);
12637 if (PyErr_Occurred()) SWIG_fail;
12638 }
12639 if (obj5) {
12640 {
12641 arg6 = &temp6;
12642 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12643 }
12644 }
12645 {
12646 PyThreadState* __tstate = wxPyBeginAllowThreads();
12647 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
12648
12649 wxPyEndAllowThreads(__tstate);
12650 if (PyErr_Occurred()) SWIG_fail;
12651 }
12652 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
12653 {
12654 if (temp2)
12655 delete arg2;
12656 }
12657 {
12658 if (temp3)
12659 delete arg3;
12660 }
12661 {
12662 if (temp4)
12663 delete arg4;
12664 }
12665 return resultobj;
12666 fail:
12667 {
12668 if (temp2)
12669 delete arg2;
12670 }
12671 {
12672 if (temp3)
12673 delete arg3;
12674 }
12675 {
12676 if (temp4)
12677 delete arg4;
12678 }
12679 return NULL;
12680 }
12681
12682
12683 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12684 PyObject *resultobj;
12685 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12686 wxString result;
12687 PyObject * obj0 = 0 ;
12688 char *kwnames[] = {
12689 (char *) "self", NULL
12690 };
12691
12692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
12693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12695 {
12696 PyThreadState* __tstate = wxPyBeginAllowThreads();
12697 result = (arg1)->GetValue();
12698
12699 wxPyEndAllowThreads(__tstate);
12700 if (PyErr_Occurred()) SWIG_fail;
12701 }
12702 {
12703 #if wxUSE_UNICODE
12704 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12705 #else
12706 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12707 #endif
12708 }
12709 return resultobj;
12710 fail:
12711 return NULL;
12712 }
12713
12714
12715 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12716 PyObject *resultobj;
12717 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12718 wxString *arg2 = 0 ;
12719 bool temp2 = False ;
12720 PyObject * obj0 = 0 ;
12721 PyObject * obj1 = 0 ;
12722 char *kwnames[] = {
12723 (char *) "self",(char *) "value", NULL
12724 };
12725
12726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
12727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12729 {
12730 arg2 = wxString_in_helper(obj1);
12731 if (arg2 == NULL) SWIG_fail;
12732 temp2 = True;
12733 }
12734 {
12735 PyThreadState* __tstate = wxPyBeginAllowThreads();
12736 (arg1)->SetValue((wxString const &)*arg2);
12737
12738 wxPyEndAllowThreads(__tstate);
12739 if (PyErr_Occurred()) SWIG_fail;
12740 }
12741 Py_INCREF(Py_None); resultobj = Py_None;
12742 {
12743 if (temp2)
12744 delete arg2;
12745 }
12746 return resultobj;
12747 fail:
12748 {
12749 if (temp2)
12750 delete arg2;
12751 }
12752 return NULL;
12753 }
12754
12755
12756 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
12757 PyObject *obj;
12758 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12759 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
12760 Py_INCREF(obj);
12761 return Py_BuildValue((char *)"");
12762 }
12763 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12764 PyObject *resultobj;
12765 wxFontData *result;
12766 char *kwnames[] = {
12767 NULL
12768 };
12769
12770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
12771 {
12772 PyThreadState* __tstate = wxPyBeginAllowThreads();
12773 result = (wxFontData *)new wxFontData();
12774
12775 wxPyEndAllowThreads(__tstate);
12776 if (PyErr_Occurred()) SWIG_fail;
12777 }
12778 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
12779 return resultobj;
12780 fail:
12781 return NULL;
12782 }
12783
12784
12785 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12786 PyObject *resultobj;
12787 wxFontData *arg1 = (wxFontData *) 0 ;
12788 PyObject * obj0 = 0 ;
12789 char *kwnames[] = {
12790 (char *) "self", NULL
12791 };
12792
12793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
12794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12796 {
12797 PyThreadState* __tstate = wxPyBeginAllowThreads();
12798 delete arg1;
12799
12800 wxPyEndAllowThreads(__tstate);
12801 if (PyErr_Occurred()) SWIG_fail;
12802 }
12803 Py_INCREF(Py_None); resultobj = Py_None;
12804 return resultobj;
12805 fail:
12806 return NULL;
12807 }
12808
12809
12810 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12811 PyObject *resultobj;
12812 wxFontData *arg1 = (wxFontData *) 0 ;
12813 bool arg2 ;
12814 PyObject * obj0 = 0 ;
12815 PyObject * obj1 = 0 ;
12816 char *kwnames[] = {
12817 (char *) "self",(char *) "enable", NULL
12818 };
12819
12820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
12821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12823 arg2 = (bool) SWIG_AsBool(obj1);
12824 if (PyErr_Occurred()) SWIG_fail;
12825 {
12826 PyThreadState* __tstate = wxPyBeginAllowThreads();
12827 (arg1)->EnableEffects(arg2);
12828
12829 wxPyEndAllowThreads(__tstate);
12830 if (PyErr_Occurred()) SWIG_fail;
12831 }
12832 Py_INCREF(Py_None); resultobj = Py_None;
12833 return resultobj;
12834 fail:
12835 return NULL;
12836 }
12837
12838
12839 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12840 PyObject *resultobj;
12841 wxFontData *arg1 = (wxFontData *) 0 ;
12842 bool result;
12843 PyObject * obj0 = 0 ;
12844 char *kwnames[] = {
12845 (char *) "self", NULL
12846 };
12847
12848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
12849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12851 {
12852 PyThreadState* __tstate = wxPyBeginAllowThreads();
12853 result = (bool)(arg1)->GetAllowSymbols();
12854
12855 wxPyEndAllowThreads(__tstate);
12856 if (PyErr_Occurred()) SWIG_fail;
12857 }
12858 {
12859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12860 }
12861 return resultobj;
12862 fail:
12863 return NULL;
12864 }
12865
12866
12867 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12868 PyObject *resultobj;
12869 wxFontData *arg1 = (wxFontData *) 0 ;
12870 wxColour result;
12871 PyObject * obj0 = 0 ;
12872 char *kwnames[] = {
12873 (char *) "self", NULL
12874 };
12875
12876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
12877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12879 {
12880 PyThreadState* __tstate = wxPyBeginAllowThreads();
12881 result = (arg1)->GetColour();
12882
12883 wxPyEndAllowThreads(__tstate);
12884 if (PyErr_Occurred()) SWIG_fail;
12885 }
12886 {
12887 wxColour * resultptr;
12888 resultptr = new wxColour((wxColour &) result);
12889 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
12890 }
12891 return resultobj;
12892 fail:
12893 return NULL;
12894 }
12895
12896
12897 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12898 PyObject *resultobj;
12899 wxFontData *arg1 = (wxFontData *) 0 ;
12900 wxFont result;
12901 PyObject * obj0 = 0 ;
12902 char *kwnames[] = {
12903 (char *) "self", NULL
12904 };
12905
12906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
12907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12909 {
12910 PyThreadState* __tstate = wxPyBeginAllowThreads();
12911 result = (arg1)->GetChosenFont();
12912
12913 wxPyEndAllowThreads(__tstate);
12914 if (PyErr_Occurred()) SWIG_fail;
12915 }
12916 {
12917 wxFont * resultptr;
12918 resultptr = new wxFont((wxFont &) result);
12919 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
12920 }
12921 return resultobj;
12922 fail:
12923 return NULL;
12924 }
12925
12926
12927 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12928 PyObject *resultobj;
12929 wxFontData *arg1 = (wxFontData *) 0 ;
12930 bool result;
12931 PyObject * obj0 = 0 ;
12932 char *kwnames[] = {
12933 (char *) "self", NULL
12934 };
12935
12936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
12937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12939 {
12940 PyThreadState* __tstate = wxPyBeginAllowThreads();
12941 result = (bool)(arg1)->GetEnableEffects();
12942
12943 wxPyEndAllowThreads(__tstate);
12944 if (PyErr_Occurred()) SWIG_fail;
12945 }
12946 {
12947 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12948 }
12949 return resultobj;
12950 fail:
12951 return NULL;
12952 }
12953
12954
12955 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12956 PyObject *resultobj;
12957 wxFontData *arg1 = (wxFontData *) 0 ;
12958 wxFont result;
12959 PyObject * obj0 = 0 ;
12960 char *kwnames[] = {
12961 (char *) "self", NULL
12962 };
12963
12964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
12965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12967 {
12968 PyThreadState* __tstate = wxPyBeginAllowThreads();
12969 result = (arg1)->GetInitialFont();
12970
12971 wxPyEndAllowThreads(__tstate);
12972 if (PyErr_Occurred()) SWIG_fail;
12973 }
12974 {
12975 wxFont * resultptr;
12976 resultptr = new wxFont((wxFont &) result);
12977 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
12978 }
12979 return resultobj;
12980 fail:
12981 return NULL;
12982 }
12983
12984
12985 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12986 PyObject *resultobj;
12987 wxFontData *arg1 = (wxFontData *) 0 ;
12988 bool result;
12989 PyObject * obj0 = 0 ;
12990 char *kwnames[] = {
12991 (char *) "self", NULL
12992 };
12993
12994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
12995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12997 {
12998 PyThreadState* __tstate = wxPyBeginAllowThreads();
12999 result = (bool)(arg1)->GetShowHelp();
13000
13001 wxPyEndAllowThreads(__tstate);
13002 if (PyErr_Occurred()) SWIG_fail;
13003 }
13004 {
13005 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13006 }
13007 return resultobj;
13008 fail:
13009 return NULL;
13010 }
13011
13012
13013 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
13014 PyObject *resultobj;
13015 wxFontData *arg1 = (wxFontData *) 0 ;
13016 bool arg2 ;
13017 PyObject * obj0 = 0 ;
13018 PyObject * obj1 = 0 ;
13019 char *kwnames[] = {
13020 (char *) "self",(char *) "allowSymbols", NULL
13021 };
13022
13023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
13024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13026 arg2 = (bool) SWIG_AsBool(obj1);
13027 if (PyErr_Occurred()) SWIG_fail;
13028 {
13029 PyThreadState* __tstate = wxPyBeginAllowThreads();
13030 (arg1)->SetAllowSymbols(arg2);
13031
13032 wxPyEndAllowThreads(__tstate);
13033 if (PyErr_Occurred()) SWIG_fail;
13034 }
13035 Py_INCREF(Py_None); resultobj = Py_None;
13036 return resultobj;
13037 fail:
13038 return NULL;
13039 }
13040
13041
13042 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13043 PyObject *resultobj;
13044 wxFontData *arg1 = (wxFontData *) 0 ;
13045 wxFont *arg2 = 0 ;
13046 PyObject * obj0 = 0 ;
13047 PyObject * obj1 = 0 ;
13048 char *kwnames[] = {
13049 (char *) "self",(char *) "font", NULL
13050 };
13051
13052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
13053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13055 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13056 SWIG_POINTER_EXCEPTION | 0)) == -1)
13057 SWIG_fail;
13058 if (arg2 == NULL) {
13059 PyErr_SetString(PyExc_TypeError,"null reference");
13060 SWIG_fail;
13061 }
13062 {
13063 PyThreadState* __tstate = wxPyBeginAllowThreads();
13064 (arg1)->SetChosenFont((wxFont const &)*arg2);
13065
13066 wxPyEndAllowThreads(__tstate);
13067 if (PyErr_Occurred()) SWIG_fail;
13068 }
13069 Py_INCREF(Py_None); resultobj = Py_None;
13070 return resultobj;
13071 fail:
13072 return NULL;
13073 }
13074
13075
13076 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
13077 PyObject *resultobj;
13078 wxFontData *arg1 = (wxFontData *) 0 ;
13079 wxColour *arg2 = 0 ;
13080 wxColour temp2 ;
13081 PyObject * obj0 = 0 ;
13082 PyObject * obj1 = 0 ;
13083 char *kwnames[] = {
13084 (char *) "self",(char *) "colour", NULL
13085 };
13086
13087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13090 {
13091 arg2 = &temp2;
13092 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13093 }
13094 {
13095 PyThreadState* __tstate = wxPyBeginAllowThreads();
13096 (arg1)->SetColour((wxColour const &)*arg2);
13097
13098 wxPyEndAllowThreads(__tstate);
13099 if (PyErr_Occurred()) SWIG_fail;
13100 }
13101 Py_INCREF(Py_None); resultobj = Py_None;
13102 return resultobj;
13103 fail:
13104 return NULL;
13105 }
13106
13107
13108 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13109 PyObject *resultobj;
13110 wxFontData *arg1 = (wxFontData *) 0 ;
13111 wxFont *arg2 = 0 ;
13112 PyObject * obj0 = 0 ;
13113 PyObject * obj1 = 0 ;
13114 char *kwnames[] = {
13115 (char *) "self",(char *) "font", NULL
13116 };
13117
13118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
13119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13121 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13122 SWIG_POINTER_EXCEPTION | 0)) == -1)
13123 SWIG_fail;
13124 if (arg2 == NULL) {
13125 PyErr_SetString(PyExc_TypeError,"null reference");
13126 SWIG_fail;
13127 }
13128 {
13129 PyThreadState* __tstate = wxPyBeginAllowThreads();
13130 (arg1)->SetInitialFont((wxFont const &)*arg2);
13131
13132 wxPyEndAllowThreads(__tstate);
13133 if (PyErr_Occurred()) SWIG_fail;
13134 }
13135 Py_INCREF(Py_None); resultobj = Py_None;
13136 return resultobj;
13137 fail:
13138 return NULL;
13139 }
13140
13141
13142 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
13143 PyObject *resultobj;
13144 wxFontData *arg1 = (wxFontData *) 0 ;
13145 int arg2 ;
13146 int arg3 ;
13147 PyObject * obj0 = 0 ;
13148 PyObject * obj1 = 0 ;
13149 PyObject * obj2 = 0 ;
13150 char *kwnames[] = {
13151 (char *) "self",(char *) "min",(char *) "max", NULL
13152 };
13153
13154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13157 arg2 = (int) SWIG_AsInt(obj1);
13158 if (PyErr_Occurred()) SWIG_fail;
13159 arg3 = (int) SWIG_AsInt(obj2);
13160 if (PyErr_Occurred()) SWIG_fail;
13161 {
13162 PyThreadState* __tstate = wxPyBeginAllowThreads();
13163 (arg1)->SetRange(arg2,arg3);
13164
13165 wxPyEndAllowThreads(__tstate);
13166 if (PyErr_Occurred()) SWIG_fail;
13167 }
13168 Py_INCREF(Py_None); resultobj = Py_None;
13169 return resultobj;
13170 fail:
13171 return NULL;
13172 }
13173
13174
13175 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13176 PyObject *resultobj;
13177 wxFontData *arg1 = (wxFontData *) 0 ;
13178 bool arg2 ;
13179 PyObject * obj0 = 0 ;
13180 PyObject * obj1 = 0 ;
13181 char *kwnames[] = {
13182 (char *) "self",(char *) "showHelp", NULL
13183 };
13184
13185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
13186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13188 arg2 = (bool) SWIG_AsBool(obj1);
13189 if (PyErr_Occurred()) SWIG_fail;
13190 {
13191 PyThreadState* __tstate = wxPyBeginAllowThreads();
13192 (arg1)->SetShowHelp(arg2);
13193
13194 wxPyEndAllowThreads(__tstate);
13195 if (PyErr_Occurred()) SWIG_fail;
13196 }
13197 Py_INCREF(Py_None); resultobj = Py_None;
13198 return resultobj;
13199 fail:
13200 return NULL;
13201 }
13202
13203
13204 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
13205 PyObject *obj;
13206 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13207 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
13208 Py_INCREF(obj);
13209 return Py_BuildValue((char *)"");
13210 }
13211 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13212 PyObject *resultobj;
13213 wxWindow *arg1 = (wxWindow *) 0 ;
13214 wxFontData *arg2 = 0 ;
13215 wxFontDialog *result;
13216 PyObject * obj0 = 0 ;
13217 PyObject * obj1 = 0 ;
13218 char *kwnames[] = {
13219 (char *) "parent",(char *) "data", NULL
13220 };
13221
13222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
13223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13225 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
13226 SWIG_POINTER_EXCEPTION | 0)) == -1)
13227 SWIG_fail;
13228 if (arg2 == NULL) {
13229 PyErr_SetString(PyExc_TypeError,"null reference");
13230 SWIG_fail;
13231 }
13232 {
13233 PyThreadState* __tstate = wxPyBeginAllowThreads();
13234 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
13235
13236 wxPyEndAllowThreads(__tstate);
13237 if (PyErr_Occurred()) SWIG_fail;
13238 }
13239 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
13240 return resultobj;
13241 fail:
13242 return NULL;
13243 }
13244
13245
13246 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
13247 PyObject *resultobj;
13248 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13249 wxFontData *result;
13250 PyObject * obj0 = 0 ;
13251 char *kwnames[] = {
13252 (char *) "self", NULL
13253 };
13254
13255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13258 {
13259 PyThreadState* __tstate = wxPyBeginAllowThreads();
13260 {
13261 wxFontData &_result_ref = (arg1)->GetFontData();
13262 result = (wxFontData *) &_result_ref;
13263 }
13264
13265 wxPyEndAllowThreads(__tstate);
13266 if (PyErr_Occurred()) SWIG_fail;
13267 }
13268 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
13269 return resultobj;
13270 fail:
13271 return NULL;
13272 }
13273
13274
13275 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
13276 PyObject *obj;
13277 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13278 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13279 Py_INCREF(obj);
13280 return Py_BuildValue((char *)"");
13281 }
13282 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13283 PyObject *resultobj;
13284 wxWindow *arg1 = (wxWindow *) 0 ;
13285 wxString *arg2 = 0 ;
13286 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13287 wxString *arg3 = (wxString *) &arg3_defvalue ;
13288 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13289 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13290 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13291 wxMessageDialog *result;
13292 bool temp2 = False ;
13293 bool temp3 = False ;
13294 wxPoint temp5 ;
13295 PyObject * obj0 = 0 ;
13296 PyObject * obj1 = 0 ;
13297 PyObject * obj2 = 0 ;
13298 PyObject * obj3 = 0 ;
13299 PyObject * obj4 = 0 ;
13300 char *kwnames[] = {
13301 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13302 };
13303
13304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13307 {
13308 arg2 = wxString_in_helper(obj1);
13309 if (arg2 == NULL) SWIG_fail;
13310 temp2 = True;
13311 }
13312 if (obj2) {
13313 {
13314 arg3 = wxString_in_helper(obj2);
13315 if (arg3 == NULL) SWIG_fail;
13316 temp3 = True;
13317 }
13318 }
13319 if (obj3) {
13320 arg4 = (long) SWIG_AsLong(obj3);
13321 if (PyErr_Occurred()) SWIG_fail;
13322 }
13323 if (obj4) {
13324 {
13325 arg5 = &temp5;
13326 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13327 }
13328 }
13329 {
13330 PyThreadState* __tstate = wxPyBeginAllowThreads();
13331 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13332
13333 wxPyEndAllowThreads(__tstate);
13334 if (PyErr_Occurred()) SWIG_fail;
13335 }
13336 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
13337 {
13338 if (temp2)
13339 delete arg2;
13340 }
13341 {
13342 if (temp3)
13343 delete arg3;
13344 }
13345 return resultobj;
13346 fail:
13347 {
13348 if (temp2)
13349 delete arg2;
13350 }
13351 {
13352 if (temp3)
13353 delete arg3;
13354 }
13355 return NULL;
13356 }
13357
13358
13359 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
13360 PyObject *obj;
13361 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13362 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13363 Py_INCREF(obj);
13364 return Py_BuildValue((char *)"");
13365 }
13366 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13367 PyObject *resultobj;
13368 wxString *arg1 = 0 ;
13369 wxString *arg2 = 0 ;
13370 int arg3 = (int) 100 ;
13371 wxWindow *arg4 = (wxWindow *) NULL ;
13372 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13373 wxProgressDialog *result;
13374 bool temp1 = False ;
13375 bool temp2 = False ;
13376 PyObject * obj0 = 0 ;
13377 PyObject * obj1 = 0 ;
13378 PyObject * obj2 = 0 ;
13379 PyObject * obj3 = 0 ;
13380 PyObject * obj4 = 0 ;
13381 char *kwnames[] = {
13382 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13383 };
13384
13385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13386 {
13387 arg1 = wxString_in_helper(obj0);
13388 if (arg1 == NULL) SWIG_fail;
13389 temp1 = True;
13390 }
13391 {
13392 arg2 = wxString_in_helper(obj1);
13393 if (arg2 == NULL) SWIG_fail;
13394 temp2 = True;
13395 }
13396 if (obj2) {
13397 arg3 = (int) SWIG_AsInt(obj2);
13398 if (PyErr_Occurred()) SWIG_fail;
13399 }
13400 if (obj3) {
13401 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
13402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13403 }
13404 if (obj4) {
13405 arg5 = (int) SWIG_AsInt(obj4);
13406 if (PyErr_Occurred()) SWIG_fail;
13407 }
13408 {
13409 PyThreadState* __tstate = wxPyBeginAllowThreads();
13410 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13411
13412 wxPyEndAllowThreads(__tstate);
13413 if (PyErr_Occurred()) SWIG_fail;
13414 }
13415 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
13416 {
13417 if (temp1)
13418 delete arg1;
13419 }
13420 {
13421 if (temp2)
13422 delete arg2;
13423 }
13424 return resultobj;
13425 fail:
13426 {
13427 if (temp1)
13428 delete arg1;
13429 }
13430 {
13431 if (temp2)
13432 delete arg2;
13433 }
13434 return NULL;
13435 }
13436
13437
13438 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
13439 PyObject *resultobj;
13440 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13441 int arg2 ;
13442 wxString const &arg3_defvalue = wxPyEmptyString ;
13443 wxString *arg3 = (wxString *) &arg3_defvalue ;
13444 bool result;
13445 bool temp3 = False ;
13446 PyObject * obj0 = 0 ;
13447 PyObject * obj1 = 0 ;
13448 PyObject * obj2 = 0 ;
13449 char *kwnames[] = {
13450 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13451 };
13452
13453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13456 arg2 = (int) SWIG_AsInt(obj1);
13457 if (PyErr_Occurred()) SWIG_fail;
13458 if (obj2) {
13459 {
13460 arg3 = wxString_in_helper(obj2);
13461 if (arg3 == NULL) SWIG_fail;
13462 temp3 = True;
13463 }
13464 }
13465 {
13466 PyThreadState* __tstate = wxPyBeginAllowThreads();
13467 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13468
13469 wxPyEndAllowThreads(__tstate);
13470 if (PyErr_Occurred()) SWIG_fail;
13471 }
13472 {
13473 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13474 }
13475 {
13476 if (temp3)
13477 delete arg3;
13478 }
13479 return resultobj;
13480 fail:
13481 {
13482 if (temp3)
13483 delete arg3;
13484 }
13485 return NULL;
13486 }
13487
13488
13489 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
13490 PyObject *resultobj;
13491 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13492 PyObject * obj0 = 0 ;
13493 char *kwnames[] = {
13494 (char *) "self", NULL
13495 };
13496
13497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
13498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13500 {
13501 PyThreadState* __tstate = wxPyBeginAllowThreads();
13502 (arg1)->Resume();
13503
13504 wxPyEndAllowThreads(__tstate);
13505 if (PyErr_Occurred()) SWIG_fail;
13506 }
13507 Py_INCREF(Py_None); resultobj = Py_None;
13508 return resultobj;
13509 fail:
13510 return NULL;
13511 }
13512
13513
13514 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
13515 PyObject *obj;
13516 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13517 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
13518 Py_INCREF(obj);
13519 return Py_BuildValue((char *)"");
13520 }
13521 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13522 PyObject *resultobj;
13523 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13524 int arg2 = (int) 0 ;
13525 wxFindDialogEvent *result;
13526 PyObject * obj0 = 0 ;
13527 PyObject * obj1 = 0 ;
13528 char *kwnames[] = {
13529 (char *) "commandType",(char *) "id", NULL
13530 };
13531
13532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
13533 if (obj0) {
13534 arg1 = (wxEventType) SWIG_AsInt(obj0);
13535 if (PyErr_Occurred()) SWIG_fail;
13536 }
13537 if (obj1) {
13538 arg2 = (int) SWIG_AsInt(obj1);
13539 if (PyErr_Occurred()) SWIG_fail;
13540 }
13541 {
13542 PyThreadState* __tstate = wxPyBeginAllowThreads();
13543 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
13544
13545 wxPyEndAllowThreads(__tstate);
13546 if (PyErr_Occurred()) SWIG_fail;
13547 }
13548 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
13549 return resultobj;
13550 fail:
13551 return NULL;
13552 }
13553
13554
13555 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13556 PyObject *resultobj;
13557 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13558 int result;
13559 PyObject * obj0 = 0 ;
13560 char *kwnames[] = {
13561 (char *) "self", NULL
13562 };
13563
13564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
13565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13567 {
13568 PyThreadState* __tstate = wxPyBeginAllowThreads();
13569 result = (int)(arg1)->GetFlags();
13570
13571 wxPyEndAllowThreads(__tstate);
13572 if (PyErr_Occurred()) SWIG_fail;
13573 }
13574 resultobj = SWIG_FromInt((int)result);
13575 return resultobj;
13576 fail:
13577 return NULL;
13578 }
13579
13580
13581 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13582 PyObject *resultobj;
13583 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13584 wxString *result;
13585 PyObject * obj0 = 0 ;
13586 char *kwnames[] = {
13587 (char *) "self", NULL
13588 };
13589
13590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
13591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13593 {
13594 PyThreadState* __tstate = wxPyBeginAllowThreads();
13595 {
13596 wxString const &_result_ref = (arg1)->GetFindString();
13597 result = (wxString *) &_result_ref;
13598 }
13599
13600 wxPyEndAllowThreads(__tstate);
13601 if (PyErr_Occurred()) SWIG_fail;
13602 }
13603 {
13604 #if wxUSE_UNICODE
13605 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13606 #else
13607 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13608 #endif
13609 }
13610 return resultobj;
13611 fail:
13612 return NULL;
13613 }
13614
13615
13616 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13617 PyObject *resultobj;
13618 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13619 wxString *result;
13620 PyObject * obj0 = 0 ;
13621 char *kwnames[] = {
13622 (char *) "self", NULL
13623 };
13624
13625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
13626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13628 {
13629 PyThreadState* __tstate = wxPyBeginAllowThreads();
13630 {
13631 wxString const &_result_ref = (arg1)->GetReplaceString();
13632 result = (wxString *) &_result_ref;
13633 }
13634
13635 wxPyEndAllowThreads(__tstate);
13636 if (PyErr_Occurred()) SWIG_fail;
13637 }
13638 {
13639 #if wxUSE_UNICODE
13640 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13641 #else
13642 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13643 #endif
13644 }
13645 return resultobj;
13646 fail:
13647 return NULL;
13648 }
13649
13650
13651 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13652 PyObject *resultobj;
13653 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13654 wxFindReplaceDialog *result;
13655 PyObject * obj0 = 0 ;
13656 char *kwnames[] = {
13657 (char *) "self", NULL
13658 };
13659
13660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
13661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13663 {
13664 PyThreadState* __tstate = wxPyBeginAllowThreads();
13665 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
13666
13667 wxPyEndAllowThreads(__tstate);
13668 if (PyErr_Occurred()) SWIG_fail;
13669 }
13670 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
13671 return resultobj;
13672 fail:
13673 return NULL;
13674 }
13675
13676
13677 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13678 PyObject *resultobj;
13679 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13680 int arg2 ;
13681 PyObject * obj0 = 0 ;
13682 PyObject * obj1 = 0 ;
13683 char *kwnames[] = {
13684 (char *) "self",(char *) "flags", NULL
13685 };
13686
13687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13690 arg2 = (int) SWIG_AsInt(obj1);
13691 if (PyErr_Occurred()) SWIG_fail;
13692 {
13693 PyThreadState* __tstate = wxPyBeginAllowThreads();
13694 (arg1)->SetFlags(arg2);
13695
13696 wxPyEndAllowThreads(__tstate);
13697 if (PyErr_Occurred()) SWIG_fail;
13698 }
13699 Py_INCREF(Py_None); resultobj = Py_None;
13700 return resultobj;
13701 fail:
13702 return NULL;
13703 }
13704
13705
13706 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13707 PyObject *resultobj;
13708 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13709 wxString *arg2 = 0 ;
13710 bool temp2 = False ;
13711 PyObject * obj0 = 0 ;
13712 PyObject * obj1 = 0 ;
13713 char *kwnames[] = {
13714 (char *) "self",(char *) "str", NULL
13715 };
13716
13717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13720 {
13721 arg2 = wxString_in_helper(obj1);
13722 if (arg2 == NULL) SWIG_fail;
13723 temp2 = True;
13724 }
13725 {
13726 PyThreadState* __tstate = wxPyBeginAllowThreads();
13727 (arg1)->SetFindString((wxString const &)*arg2);
13728
13729 wxPyEndAllowThreads(__tstate);
13730 if (PyErr_Occurred()) SWIG_fail;
13731 }
13732 Py_INCREF(Py_None); resultobj = Py_None;
13733 {
13734 if (temp2)
13735 delete arg2;
13736 }
13737 return resultobj;
13738 fail:
13739 {
13740 if (temp2)
13741 delete arg2;
13742 }
13743 return NULL;
13744 }
13745
13746
13747 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13748 PyObject *resultobj;
13749 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13750 wxString *arg2 = 0 ;
13751 bool temp2 = False ;
13752 PyObject * obj0 = 0 ;
13753 PyObject * obj1 = 0 ;
13754 char *kwnames[] = {
13755 (char *) "self",(char *) "str", NULL
13756 };
13757
13758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13761 {
13762 arg2 = wxString_in_helper(obj1);
13763 if (arg2 == NULL) SWIG_fail;
13764 temp2 = True;
13765 }
13766 {
13767 PyThreadState* __tstate = wxPyBeginAllowThreads();
13768 (arg1)->SetReplaceString((wxString const &)*arg2);
13769
13770 wxPyEndAllowThreads(__tstate);
13771 if (PyErr_Occurred()) SWIG_fail;
13772 }
13773 Py_INCREF(Py_None); resultobj = Py_None;
13774 {
13775 if (temp2)
13776 delete arg2;
13777 }
13778 return resultobj;
13779 fail:
13780 {
13781 if (temp2)
13782 delete arg2;
13783 }
13784 return NULL;
13785 }
13786
13787
13788 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
13789 PyObject *obj;
13790 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13791 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
13792 Py_INCREF(obj);
13793 return Py_BuildValue((char *)"");
13794 }
13795 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13796 PyObject *resultobj;
13797 int arg1 = (int) 0 ;
13798 wxFindReplaceData *result;
13799 PyObject * obj0 = 0 ;
13800 char *kwnames[] = {
13801 (char *) "flags", NULL
13802 };
13803
13804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
13805 if (obj0) {
13806 arg1 = (int) SWIG_AsInt(obj0);
13807 if (PyErr_Occurred()) SWIG_fail;
13808 }
13809 {
13810 PyThreadState* __tstate = wxPyBeginAllowThreads();
13811 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
13812
13813 wxPyEndAllowThreads(__tstate);
13814 if (PyErr_Occurred()) SWIG_fail;
13815 }
13816 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
13817 return resultobj;
13818 fail:
13819 return NULL;
13820 }
13821
13822
13823 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13824 PyObject *resultobj;
13825 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13826 PyObject * obj0 = 0 ;
13827 char *kwnames[] = {
13828 (char *) "self", NULL
13829 };
13830
13831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
13832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13834 {
13835 PyThreadState* __tstate = wxPyBeginAllowThreads();
13836 delete arg1;
13837
13838 wxPyEndAllowThreads(__tstate);
13839 if (PyErr_Occurred()) SWIG_fail;
13840 }
13841 Py_INCREF(Py_None); resultobj = Py_None;
13842 return resultobj;
13843 fail:
13844 return NULL;
13845 }
13846
13847
13848 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13849 PyObject *resultobj;
13850 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13851 wxString *result;
13852 PyObject * obj0 = 0 ;
13853 char *kwnames[] = {
13854 (char *) "self", NULL
13855 };
13856
13857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
13858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13860 {
13861 PyThreadState* __tstate = wxPyBeginAllowThreads();
13862 {
13863 wxString const &_result_ref = (arg1)->GetFindString();
13864 result = (wxString *) &_result_ref;
13865 }
13866
13867 wxPyEndAllowThreads(__tstate);
13868 if (PyErr_Occurred()) SWIG_fail;
13869 }
13870 {
13871 #if wxUSE_UNICODE
13872 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13873 #else
13874 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13875 #endif
13876 }
13877 return resultobj;
13878 fail:
13879 return NULL;
13880 }
13881
13882
13883 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13884 PyObject *resultobj;
13885 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13886 wxString *result;
13887 PyObject * obj0 = 0 ;
13888 char *kwnames[] = {
13889 (char *) "self", NULL
13890 };
13891
13892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
13893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13895 {
13896 PyThreadState* __tstate = wxPyBeginAllowThreads();
13897 {
13898 wxString const &_result_ref = (arg1)->GetReplaceString();
13899 result = (wxString *) &_result_ref;
13900 }
13901
13902 wxPyEndAllowThreads(__tstate);
13903 if (PyErr_Occurred()) SWIG_fail;
13904 }
13905 {
13906 #if wxUSE_UNICODE
13907 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13908 #else
13909 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13910 #endif
13911 }
13912 return resultobj;
13913 fail:
13914 return NULL;
13915 }
13916
13917
13918 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13919 PyObject *resultobj;
13920 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13921 int result;
13922 PyObject * obj0 = 0 ;
13923 char *kwnames[] = {
13924 (char *) "self", NULL
13925 };
13926
13927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
13928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13930 {
13931 PyThreadState* __tstate = wxPyBeginAllowThreads();
13932 result = (int)(arg1)->GetFlags();
13933
13934 wxPyEndAllowThreads(__tstate);
13935 if (PyErr_Occurred()) SWIG_fail;
13936 }
13937 resultobj = SWIG_FromInt((int)result);
13938 return resultobj;
13939 fail:
13940 return NULL;
13941 }
13942
13943
13944 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13945 PyObject *resultobj;
13946 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13947 int arg2 ;
13948 PyObject * obj0 = 0 ;
13949 PyObject * obj1 = 0 ;
13950 char *kwnames[] = {
13951 (char *) "self",(char *) "flags", NULL
13952 };
13953
13954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13957 arg2 = (int) SWIG_AsInt(obj1);
13958 if (PyErr_Occurred()) SWIG_fail;
13959 {
13960 PyThreadState* __tstate = wxPyBeginAllowThreads();
13961 (arg1)->SetFlags(arg2);
13962
13963 wxPyEndAllowThreads(__tstate);
13964 if (PyErr_Occurred()) SWIG_fail;
13965 }
13966 Py_INCREF(Py_None); resultobj = Py_None;
13967 return resultobj;
13968 fail:
13969 return NULL;
13970 }
13971
13972
13973 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13974 PyObject *resultobj;
13975 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13976 wxString *arg2 = 0 ;
13977 bool temp2 = False ;
13978 PyObject * obj0 = 0 ;
13979 PyObject * obj1 = 0 ;
13980 char *kwnames[] = {
13981 (char *) "self",(char *) "str", NULL
13982 };
13983
13984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13987 {
13988 arg2 = wxString_in_helper(obj1);
13989 if (arg2 == NULL) SWIG_fail;
13990 temp2 = True;
13991 }
13992 {
13993 PyThreadState* __tstate = wxPyBeginAllowThreads();
13994 (arg1)->SetFindString((wxString const &)*arg2);
13995
13996 wxPyEndAllowThreads(__tstate);
13997 if (PyErr_Occurred()) SWIG_fail;
13998 }
13999 Py_INCREF(Py_None); resultobj = Py_None;
14000 {
14001 if (temp2)
14002 delete arg2;
14003 }
14004 return resultobj;
14005 fail:
14006 {
14007 if (temp2)
14008 delete arg2;
14009 }
14010 return NULL;
14011 }
14012
14013
14014 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
14015 PyObject *resultobj;
14016 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14017 wxString *arg2 = 0 ;
14018 bool temp2 = False ;
14019 PyObject * obj0 = 0 ;
14020 PyObject * obj1 = 0 ;
14021 char *kwnames[] = {
14022 (char *) "self",(char *) "str", NULL
14023 };
14024
14025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14028 {
14029 arg2 = wxString_in_helper(obj1);
14030 if (arg2 == NULL) SWIG_fail;
14031 temp2 = True;
14032 }
14033 {
14034 PyThreadState* __tstate = wxPyBeginAllowThreads();
14035 (arg1)->SetReplaceString((wxString const &)*arg2);
14036
14037 wxPyEndAllowThreads(__tstate);
14038 if (PyErr_Occurred()) SWIG_fail;
14039 }
14040 Py_INCREF(Py_None); resultobj = Py_None;
14041 {
14042 if (temp2)
14043 delete arg2;
14044 }
14045 return resultobj;
14046 fail:
14047 {
14048 if (temp2)
14049 delete arg2;
14050 }
14051 return NULL;
14052 }
14053
14054
14055 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
14056 PyObject *obj;
14057 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14058 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
14059 Py_INCREF(obj);
14060 return Py_BuildValue((char *)"");
14061 }
14062 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14063 PyObject *resultobj;
14064 wxWindow *arg1 = (wxWindow *) 0 ;
14065 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14066 wxString *arg3 = 0 ;
14067 int arg4 = (int) 0 ;
14068 wxFindReplaceDialog *result;
14069 bool temp3 = False ;
14070 PyObject * obj0 = 0 ;
14071 PyObject * obj1 = 0 ;
14072 PyObject * obj2 = 0 ;
14073 PyObject * obj3 = 0 ;
14074 char *kwnames[] = {
14075 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14076 };
14077
14078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14081 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14083 {
14084 arg3 = wxString_in_helper(obj2);
14085 if (arg3 == NULL) SWIG_fail;
14086 temp3 = True;
14087 }
14088 if (obj3) {
14089 arg4 = (int) SWIG_AsInt(obj3);
14090 if (PyErr_Occurred()) SWIG_fail;
14091 }
14092 {
14093 PyThreadState* __tstate = wxPyBeginAllowThreads();
14094 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
14095
14096 wxPyEndAllowThreads(__tstate);
14097 if (PyErr_Occurred()) SWIG_fail;
14098 }
14099 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14100 {
14101 if (temp3)
14102 delete arg3;
14103 }
14104 return resultobj;
14105 fail:
14106 {
14107 if (temp3)
14108 delete arg3;
14109 }
14110 return NULL;
14111 }
14112
14113
14114 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14115 PyObject *resultobj;
14116 wxFindReplaceDialog *result;
14117 char *kwnames[] = {
14118 NULL
14119 };
14120
14121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
14122 {
14123 PyThreadState* __tstate = wxPyBeginAllowThreads();
14124 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
14125
14126 wxPyEndAllowThreads(__tstate);
14127 if (PyErr_Occurred()) SWIG_fail;
14128 }
14129 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14130 return resultobj;
14131 fail:
14132 return NULL;
14133 }
14134
14135
14136 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14137 PyObject *resultobj;
14138 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14139 wxWindow *arg2 = (wxWindow *) 0 ;
14140 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14141 wxString *arg4 = 0 ;
14142 int arg5 = (int) 0 ;
14143 bool result;
14144 bool temp4 = False ;
14145 PyObject * obj0 = 0 ;
14146 PyObject * obj1 = 0 ;
14147 PyObject * obj2 = 0 ;
14148 PyObject * obj3 = 0 ;
14149 PyObject * obj4 = 0 ;
14150 char *kwnames[] = {
14151 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14152 };
14153
14154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14157 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14159 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
14160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14161 {
14162 arg4 = wxString_in_helper(obj3);
14163 if (arg4 == NULL) SWIG_fail;
14164 temp4 = True;
14165 }
14166 if (obj4) {
14167 arg5 = (int) SWIG_AsInt(obj4);
14168 if (PyErr_Occurred()) SWIG_fail;
14169 }
14170 {
14171 PyThreadState* __tstate = wxPyBeginAllowThreads();
14172 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14173
14174 wxPyEndAllowThreads(__tstate);
14175 if (PyErr_Occurred()) SWIG_fail;
14176 }
14177 {
14178 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14179 }
14180 {
14181 if (temp4)
14182 delete arg4;
14183 }
14184 return resultobj;
14185 fail:
14186 {
14187 if (temp4)
14188 delete arg4;
14189 }
14190 return NULL;
14191 }
14192
14193
14194 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14195 PyObject *resultobj;
14196 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14197 wxFindReplaceData *result;
14198 PyObject * obj0 = 0 ;
14199 char *kwnames[] = {
14200 (char *) "self", NULL
14201 };
14202
14203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
14204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14206 {
14207 PyThreadState* __tstate = wxPyBeginAllowThreads();
14208 result = (wxFindReplaceData *)(arg1)->GetData();
14209
14210 wxPyEndAllowThreads(__tstate);
14211 if (PyErr_Occurred()) SWIG_fail;
14212 }
14213 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
14214 return resultobj;
14215 fail:
14216 return NULL;
14217 }
14218
14219
14220 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14221 PyObject *resultobj;
14222 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14223 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14224 PyObject * obj0 = 0 ;
14225 PyObject * obj1 = 0 ;
14226 char *kwnames[] = {
14227 (char *) "self",(char *) "data", NULL
14228 };
14229
14230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
14231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14233 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14235 {
14236 PyThreadState* __tstate = wxPyBeginAllowThreads();
14237 (arg1)->SetData(arg2);
14238
14239 wxPyEndAllowThreads(__tstate);
14240 if (PyErr_Occurred()) SWIG_fail;
14241 }
14242 Py_INCREF(Py_None); resultobj = Py_None;
14243 return resultobj;
14244 fail:
14245 return NULL;
14246 }
14247
14248
14249 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
14250 PyObject *obj;
14251 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14252 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14253 Py_INCREF(obj);
14254 return Py_BuildValue((char *)"");
14255 }
14256 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14257 PyObject *resultobj;
14258 wxWindow *arg1 = (wxWindow *) 0 ;
14259 int arg2 ;
14260 wxString *arg3 = 0 ;
14261 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14262 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14263 wxSize const &arg5_defvalue = wxDefaultSize ;
14264 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14265 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14266 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14267 wxString *arg7 = (wxString *) &arg7_defvalue ;
14268 wxMDIParentFrame *result;
14269 bool temp3 = False ;
14270 wxPoint temp4 ;
14271 wxSize temp5 ;
14272 bool temp7 = False ;
14273 PyObject * obj0 = 0 ;
14274 PyObject * obj1 = 0 ;
14275 PyObject * obj2 = 0 ;
14276 PyObject * obj3 = 0 ;
14277 PyObject * obj4 = 0 ;
14278 PyObject * obj5 = 0 ;
14279 PyObject * obj6 = 0 ;
14280 char *kwnames[] = {
14281 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14282 };
14283
14284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14287 arg2 = (int const) SWIG_AsInt(obj1);
14288 if (PyErr_Occurred()) SWIG_fail;
14289 {
14290 arg3 = wxString_in_helper(obj2);
14291 if (arg3 == NULL) SWIG_fail;
14292 temp3 = True;
14293 }
14294 if (obj3) {
14295 {
14296 arg4 = &temp4;
14297 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14298 }
14299 }
14300 if (obj4) {
14301 {
14302 arg5 = &temp5;
14303 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14304 }
14305 }
14306 if (obj5) {
14307 arg6 = (long) SWIG_AsLong(obj5);
14308 if (PyErr_Occurred()) SWIG_fail;
14309 }
14310 if (obj6) {
14311 {
14312 arg7 = wxString_in_helper(obj6);
14313 if (arg7 == NULL) SWIG_fail;
14314 temp7 = True;
14315 }
14316 }
14317 {
14318 PyThreadState* __tstate = wxPyBeginAllowThreads();
14319 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14320
14321 wxPyEndAllowThreads(__tstate);
14322 if (PyErr_Occurred()) SWIG_fail;
14323 }
14324 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14325 {
14326 if (temp3)
14327 delete arg3;
14328 }
14329 {
14330 if (temp7)
14331 delete arg7;
14332 }
14333 return resultobj;
14334 fail:
14335 {
14336 if (temp3)
14337 delete arg3;
14338 }
14339 {
14340 if (temp7)
14341 delete arg7;
14342 }
14343 return NULL;
14344 }
14345
14346
14347 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14348 PyObject *resultobj;
14349 wxMDIParentFrame *result;
14350 char *kwnames[] = {
14351 NULL
14352 };
14353
14354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14355 {
14356 PyThreadState* __tstate = wxPyBeginAllowThreads();
14357 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14358
14359 wxPyEndAllowThreads(__tstate);
14360 if (PyErr_Occurred()) SWIG_fail;
14361 }
14362 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14363 return resultobj;
14364 fail:
14365 return NULL;
14366 }
14367
14368
14369 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14370 PyObject *resultobj;
14371 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14372 wxWindow *arg2 = (wxWindow *) 0 ;
14373 int arg3 ;
14374 wxString *arg4 = 0 ;
14375 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14376 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14377 wxSize const &arg6_defvalue = wxDefaultSize ;
14378 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14379 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14380 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14381 wxString *arg8 = (wxString *) &arg8_defvalue ;
14382 bool result;
14383 bool temp4 = False ;
14384 wxPoint temp5 ;
14385 wxSize temp6 ;
14386 bool temp8 = False ;
14387 PyObject * obj0 = 0 ;
14388 PyObject * obj1 = 0 ;
14389 PyObject * obj2 = 0 ;
14390 PyObject * obj3 = 0 ;
14391 PyObject * obj4 = 0 ;
14392 PyObject * obj5 = 0 ;
14393 PyObject * obj6 = 0 ;
14394 PyObject * obj7 = 0 ;
14395 char *kwnames[] = {
14396 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14397 };
14398
14399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14402 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14404 arg3 = (int const) SWIG_AsInt(obj2);
14405 if (PyErr_Occurred()) SWIG_fail;
14406 {
14407 arg4 = wxString_in_helper(obj3);
14408 if (arg4 == NULL) SWIG_fail;
14409 temp4 = True;
14410 }
14411 if (obj4) {
14412 {
14413 arg5 = &temp5;
14414 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14415 }
14416 }
14417 if (obj5) {
14418 {
14419 arg6 = &temp6;
14420 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14421 }
14422 }
14423 if (obj6) {
14424 arg7 = (long) SWIG_AsLong(obj6);
14425 if (PyErr_Occurred()) SWIG_fail;
14426 }
14427 if (obj7) {
14428 {
14429 arg8 = wxString_in_helper(obj7);
14430 if (arg8 == NULL) SWIG_fail;
14431 temp8 = True;
14432 }
14433 }
14434 {
14435 PyThreadState* __tstate = wxPyBeginAllowThreads();
14436 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14437
14438 wxPyEndAllowThreads(__tstate);
14439 if (PyErr_Occurred()) SWIG_fail;
14440 }
14441 {
14442 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14443 }
14444 {
14445 if (temp4)
14446 delete arg4;
14447 }
14448 {
14449 if (temp8)
14450 delete arg8;
14451 }
14452 return resultobj;
14453 fail:
14454 {
14455 if (temp4)
14456 delete arg4;
14457 }
14458 {
14459 if (temp8)
14460 delete arg8;
14461 }
14462 return NULL;
14463 }
14464
14465
14466 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
14467 PyObject *resultobj;
14468 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14469 PyObject * obj0 = 0 ;
14470 char *kwnames[] = {
14471 (char *) "self", NULL
14472 };
14473
14474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
14475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14477 {
14478 PyThreadState* __tstate = wxPyBeginAllowThreads();
14479 (arg1)->ActivateNext();
14480
14481 wxPyEndAllowThreads(__tstate);
14482 if (PyErr_Occurred()) SWIG_fail;
14483 }
14484 Py_INCREF(Py_None); resultobj = Py_None;
14485 return resultobj;
14486 fail:
14487 return NULL;
14488 }
14489
14490
14491 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
14492 PyObject *resultobj;
14493 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14494 PyObject * obj0 = 0 ;
14495 char *kwnames[] = {
14496 (char *) "self", NULL
14497 };
14498
14499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
14500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14502 {
14503 PyThreadState* __tstate = wxPyBeginAllowThreads();
14504 (arg1)->ActivatePrevious();
14505
14506 wxPyEndAllowThreads(__tstate);
14507 if (PyErr_Occurred()) SWIG_fail;
14508 }
14509 Py_INCREF(Py_None); resultobj = Py_None;
14510 return resultobj;
14511 fail:
14512 return NULL;
14513 }
14514
14515
14516 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
14517 PyObject *resultobj;
14518 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14519 PyObject * obj0 = 0 ;
14520 char *kwnames[] = {
14521 (char *) "self", NULL
14522 };
14523
14524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
14525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14527 {
14528 PyThreadState* __tstate = wxPyBeginAllowThreads();
14529 (arg1)->ArrangeIcons();
14530
14531 wxPyEndAllowThreads(__tstate);
14532 if (PyErr_Occurred()) SWIG_fail;
14533 }
14534 Py_INCREF(Py_None); resultobj = Py_None;
14535 return resultobj;
14536 fail:
14537 return NULL;
14538 }
14539
14540
14541 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
14542 PyObject *resultobj;
14543 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14544 PyObject * obj0 = 0 ;
14545 char *kwnames[] = {
14546 (char *) "self", NULL
14547 };
14548
14549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
14550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14552 {
14553 PyThreadState* __tstate = wxPyBeginAllowThreads();
14554 (arg1)->Cascade();
14555
14556 wxPyEndAllowThreads(__tstate);
14557 if (PyErr_Occurred()) SWIG_fail;
14558 }
14559 Py_INCREF(Py_None); resultobj = Py_None;
14560 return resultobj;
14561 fail:
14562 return NULL;
14563 }
14564
14565
14566 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14567 PyObject *resultobj;
14568 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14569 wxMDIChildFrame *result;
14570 PyObject * obj0 = 0 ;
14571 char *kwnames[] = {
14572 (char *) "self", NULL
14573 };
14574
14575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
14576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14578 {
14579 PyThreadState* __tstate = wxPyBeginAllowThreads();
14580 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
14581
14582 wxPyEndAllowThreads(__tstate);
14583 if (PyErr_Occurred()) SWIG_fail;
14584 }
14585 {
14586 resultobj = wxPyMake_wxObject(result);
14587 }
14588 return resultobj;
14589 fail:
14590 return NULL;
14591 }
14592
14593
14594 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14595 PyObject *resultobj;
14596 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14597 wxMDIClientWindow *result;
14598 PyObject * obj0 = 0 ;
14599 char *kwnames[] = {
14600 (char *) "self", NULL
14601 };
14602
14603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
14604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14606 {
14607 PyThreadState* __tstate = wxPyBeginAllowThreads();
14608 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
14609
14610 wxPyEndAllowThreads(__tstate);
14611 if (PyErr_Occurred()) SWIG_fail;
14612 }
14613 {
14614 resultobj = wxPyMake_wxObject(result);
14615 }
14616 return resultobj;
14617 fail:
14618 return NULL;
14619 }
14620
14621
14622 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14623 PyObject *resultobj;
14624 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14625 wxWindow *result;
14626 PyObject * obj0 = 0 ;
14627 char *kwnames[] = {
14628 (char *) "self", NULL
14629 };
14630
14631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
14632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14634 {
14635 PyThreadState* __tstate = wxPyBeginAllowThreads();
14636 result = (wxWindow *)(arg1)->GetToolBar();
14637
14638 wxPyEndAllowThreads(__tstate);
14639 if (PyErr_Occurred()) SWIG_fail;
14640 }
14641 {
14642 resultobj = wxPyMake_wxObject(result);
14643 }
14644 return resultobj;
14645 fail:
14646 return NULL;
14647 }
14648
14649
14650 static PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
14651 PyObject *resultobj;
14652 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14653 wxMenu *result;
14654 PyObject * obj0 = 0 ;
14655 char *kwnames[] = {
14656 (char *) "self", NULL
14657 };
14658
14659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames,&obj0)) goto fail;
14660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14662 {
14663 PyThreadState* __tstate = wxPyBeginAllowThreads();
14664 result = (wxMenu *)(arg1)->GetWindowMenu();
14665
14666 wxPyEndAllowThreads(__tstate);
14667 if (PyErr_Occurred()) SWIG_fail;
14668 }
14669 {
14670 resultobj = wxPyMake_wxObject(result);
14671 }
14672 return resultobj;
14673 fail:
14674 return NULL;
14675 }
14676
14677
14678 static PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
14679 PyObject *resultobj;
14680 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14681 wxMenu *arg2 = (wxMenu *) 0 ;
14682 PyObject * obj0 = 0 ;
14683 PyObject * obj1 = 0 ;
14684 char *kwnames[] = {
14685 (char *) "self",(char *) "menu", NULL
14686 };
14687
14688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) goto fail;
14689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14691 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
14692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14693 {
14694 PyThreadState* __tstate = wxPyBeginAllowThreads();
14695 (arg1)->SetWindowMenu(arg2);
14696
14697 wxPyEndAllowThreads(__tstate);
14698 if (PyErr_Occurred()) SWIG_fail;
14699 }
14700 Py_INCREF(Py_None); resultobj = Py_None;
14701 return resultobj;
14702 fail:
14703 return NULL;
14704 }
14705
14706
14707 static PyObject *_wrap_MDIParentFrame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14708 PyObject *resultobj;
14709 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14710 wxToolBar *arg2 = (wxToolBar *) 0 ;
14711 PyObject * obj0 = 0 ;
14712 PyObject * obj1 = 0 ;
14713 char *kwnames[] = {
14714 (char *) "self",(char *) "toolbar", NULL
14715 };
14716
14717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
14718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14720 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
14721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14722 {
14723 PyThreadState* __tstate = wxPyBeginAllowThreads();
14724 (arg1)->SetToolBar(arg2);
14725
14726 wxPyEndAllowThreads(__tstate);
14727 if (PyErr_Occurred()) SWIG_fail;
14728 }
14729 Py_INCREF(Py_None); resultobj = Py_None;
14730 return resultobj;
14731 fail:
14732 return NULL;
14733 }
14734
14735
14736 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
14737 PyObject *resultobj;
14738 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14739 PyObject * obj0 = 0 ;
14740 char *kwnames[] = {
14741 (char *) "self", NULL
14742 };
14743
14744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
14745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14747 {
14748 PyThreadState* __tstate = wxPyBeginAllowThreads();
14749 (arg1)->Tile();
14750
14751 wxPyEndAllowThreads(__tstate);
14752 if (PyErr_Occurred()) SWIG_fail;
14753 }
14754 Py_INCREF(Py_None); resultobj = Py_None;
14755 return resultobj;
14756 fail:
14757 return NULL;
14758 }
14759
14760
14761 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
14762 PyObject *obj;
14763 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14764 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
14765 Py_INCREF(obj);
14766 return Py_BuildValue((char *)"");
14767 }
14768 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14769 PyObject *resultobj;
14770 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14771 int arg2 ;
14772 wxString *arg3 = 0 ;
14773 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14774 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14775 wxSize const &arg5_defvalue = wxDefaultSize ;
14776 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14777 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
14778 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14779 wxString *arg7 = (wxString *) &arg7_defvalue ;
14780 wxMDIChildFrame *result;
14781 bool temp3 = False ;
14782 wxPoint temp4 ;
14783 wxSize temp5 ;
14784 bool temp7 = False ;
14785 PyObject * obj0 = 0 ;
14786 PyObject * obj1 = 0 ;
14787 PyObject * obj2 = 0 ;
14788 PyObject * obj3 = 0 ;
14789 PyObject * obj4 = 0 ;
14790 PyObject * obj5 = 0 ;
14791 PyObject * obj6 = 0 ;
14792 char *kwnames[] = {
14793 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14794 };
14795
14796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14799 arg2 = (int const) SWIG_AsInt(obj1);
14800 if (PyErr_Occurred()) SWIG_fail;
14801 {
14802 arg3 = wxString_in_helper(obj2);
14803 if (arg3 == NULL) SWIG_fail;
14804 temp3 = True;
14805 }
14806 if (obj3) {
14807 {
14808 arg4 = &temp4;
14809 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14810 }
14811 }
14812 if (obj4) {
14813 {
14814 arg5 = &temp5;
14815 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14816 }
14817 }
14818 if (obj5) {
14819 arg6 = (long) SWIG_AsLong(obj5);
14820 if (PyErr_Occurred()) SWIG_fail;
14821 }
14822 if (obj6) {
14823 {
14824 arg7 = wxString_in_helper(obj6);
14825 if (arg7 == NULL) SWIG_fail;
14826 temp7 = True;
14827 }
14828 }
14829 {
14830 PyThreadState* __tstate = wxPyBeginAllowThreads();
14831 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14832
14833 wxPyEndAllowThreads(__tstate);
14834 if (PyErr_Occurred()) SWIG_fail;
14835 }
14836 {
14837 resultobj = wxPyMake_wxObject(result);
14838 }
14839 {
14840 if (temp3)
14841 delete arg3;
14842 }
14843 {
14844 if (temp7)
14845 delete arg7;
14846 }
14847 return resultobj;
14848 fail:
14849 {
14850 if (temp3)
14851 delete arg3;
14852 }
14853 {
14854 if (temp7)
14855 delete arg7;
14856 }
14857 return NULL;
14858 }
14859
14860
14861 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14862 PyObject *resultobj;
14863 wxMDIChildFrame *result;
14864 char *kwnames[] = {
14865 NULL
14866 };
14867
14868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
14869 {
14870 PyThreadState* __tstate = wxPyBeginAllowThreads();
14871 result = (wxMDIChildFrame *)new wxMDIChildFrame();
14872
14873 wxPyEndAllowThreads(__tstate);
14874 if (PyErr_Occurred()) SWIG_fail;
14875 }
14876 {
14877 resultobj = wxPyMake_wxObject(result);
14878 }
14879 return resultobj;
14880 fail:
14881 return NULL;
14882 }
14883
14884
14885 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14886 PyObject *resultobj;
14887 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14888 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14889 int arg3 ;
14890 wxString *arg4 = 0 ;
14891 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14892 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14893 wxSize const &arg6_defvalue = wxDefaultSize ;
14894 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14895 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
14896 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14897 wxString *arg8 = (wxString *) &arg8_defvalue ;
14898 bool result;
14899 bool temp4 = False ;
14900 wxPoint temp5 ;
14901 wxSize temp6 ;
14902 bool temp8 = False ;
14903 PyObject * obj0 = 0 ;
14904 PyObject * obj1 = 0 ;
14905 PyObject * obj2 = 0 ;
14906 PyObject * obj3 = 0 ;
14907 PyObject * obj4 = 0 ;
14908 PyObject * obj5 = 0 ;
14909 PyObject * obj6 = 0 ;
14910 PyObject * obj7 = 0 ;
14911 char *kwnames[] = {
14912 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14913 };
14914
14915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14918 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
14919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14920 arg3 = (int const) SWIG_AsInt(obj2);
14921 if (PyErr_Occurred()) SWIG_fail;
14922 {
14923 arg4 = wxString_in_helper(obj3);
14924 if (arg4 == NULL) SWIG_fail;
14925 temp4 = True;
14926 }
14927 if (obj4) {
14928 {
14929 arg5 = &temp5;
14930 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14931 }
14932 }
14933 if (obj5) {
14934 {
14935 arg6 = &temp6;
14936 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14937 }
14938 }
14939 if (obj6) {
14940 arg7 = (long) SWIG_AsLong(obj6);
14941 if (PyErr_Occurred()) SWIG_fail;
14942 }
14943 if (obj7) {
14944 {
14945 arg8 = wxString_in_helper(obj7);
14946 if (arg8 == NULL) SWIG_fail;
14947 temp8 = True;
14948 }
14949 }
14950 {
14951 PyThreadState* __tstate = wxPyBeginAllowThreads();
14952 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14953
14954 wxPyEndAllowThreads(__tstate);
14955 if (PyErr_Occurred()) SWIG_fail;
14956 }
14957 {
14958 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14959 }
14960 {
14961 if (temp4)
14962 delete arg4;
14963 }
14964 {
14965 if (temp8)
14966 delete arg8;
14967 }
14968 return resultobj;
14969 fail:
14970 {
14971 if (temp4)
14972 delete arg4;
14973 }
14974 {
14975 if (temp8)
14976 delete arg8;
14977 }
14978 return NULL;
14979 }
14980
14981
14982 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
14983 PyObject *resultobj;
14984 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14985 PyObject * obj0 = 0 ;
14986 char *kwnames[] = {
14987 (char *) "self", NULL
14988 };
14989
14990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
14991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14993 {
14994 PyThreadState* __tstate = wxPyBeginAllowThreads();
14995 (arg1)->Activate();
14996
14997 wxPyEndAllowThreads(__tstate);
14998 if (PyErr_Occurred()) SWIG_fail;
14999 }
15000 Py_INCREF(Py_None); resultobj = Py_None;
15001 return resultobj;
15002 fail:
15003 return NULL;
15004 }
15005
15006
15007 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
15008 PyObject *resultobj;
15009 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15010 bool arg2 ;
15011 PyObject * obj0 = 0 ;
15012 PyObject * obj1 = 0 ;
15013 char *kwnames[] = {
15014 (char *) "self",(char *) "maximize", NULL
15015 };
15016
15017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
15018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15020 arg2 = (bool) SWIG_AsBool(obj1);
15021 if (PyErr_Occurred()) SWIG_fail;
15022 {
15023 PyThreadState* __tstate = wxPyBeginAllowThreads();
15024 (arg1)->Maximize(arg2);
15025
15026 wxPyEndAllowThreads(__tstate);
15027 if (PyErr_Occurred()) SWIG_fail;
15028 }
15029 Py_INCREF(Py_None); resultobj = Py_None;
15030 return resultobj;
15031 fail:
15032 return NULL;
15033 }
15034
15035
15036 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
15037 PyObject *resultobj;
15038 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15039 PyObject * obj0 = 0 ;
15040 char *kwnames[] = {
15041 (char *) "self", NULL
15042 };
15043
15044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
15045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15047 {
15048 PyThreadState* __tstate = wxPyBeginAllowThreads();
15049 (arg1)->Restore();
15050
15051 wxPyEndAllowThreads(__tstate);
15052 if (PyErr_Occurred()) SWIG_fail;
15053 }
15054 Py_INCREF(Py_None); resultobj = Py_None;
15055 return resultobj;
15056 fail:
15057 return NULL;
15058 }
15059
15060
15061 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
15062 PyObject *obj;
15063 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15064 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
15065 Py_INCREF(obj);
15066 return Py_BuildValue((char *)"");
15067 }
15068 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15069 PyObject *resultobj;
15070 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15071 long arg2 = (long) 0 ;
15072 wxMDIClientWindow *result;
15073 PyObject * obj0 = 0 ;
15074 PyObject * obj1 = 0 ;
15075 char *kwnames[] = {
15076 (char *) "parent",(char *) "style", NULL
15077 };
15078
15079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
15080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15082 if (obj1) {
15083 arg2 = (long) SWIG_AsLong(obj1);
15084 if (PyErr_Occurred()) SWIG_fail;
15085 }
15086 {
15087 PyThreadState* __tstate = wxPyBeginAllowThreads();
15088 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
15089
15090 wxPyEndAllowThreads(__tstate);
15091 if (PyErr_Occurred()) SWIG_fail;
15092 }
15093 {
15094 resultobj = wxPyMake_wxObject(result);
15095 }
15096 return resultobj;
15097 fail:
15098 return NULL;
15099 }
15100
15101
15102 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15103 PyObject *resultobj;
15104 wxMDIClientWindow *result;
15105 char *kwnames[] = {
15106 NULL
15107 };
15108
15109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
15110 {
15111 PyThreadState* __tstate = wxPyBeginAllowThreads();
15112 result = (wxMDIClientWindow *)new wxMDIClientWindow();
15113
15114 wxPyEndAllowThreads(__tstate);
15115 if (PyErr_Occurred()) SWIG_fail;
15116 }
15117 {
15118 resultobj = wxPyMake_wxObject(result);
15119 }
15120 return resultobj;
15121 fail:
15122 return NULL;
15123 }
15124
15125
15126 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15127 PyObject *resultobj;
15128 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
15129 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15130 long arg3 = (long) 0 ;
15131 bool result;
15132 PyObject * obj0 = 0 ;
15133 PyObject * obj1 = 0 ;
15134 PyObject * obj2 = 0 ;
15135 char *kwnames[] = {
15136 (char *) "self",(char *) "parent",(char *) "style", NULL
15137 };
15138
15139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
15141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15142 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15144 if (obj2) {
15145 arg3 = (long) SWIG_AsLong(obj2);
15146 if (PyErr_Occurred()) SWIG_fail;
15147 }
15148 {
15149 PyThreadState* __tstate = wxPyBeginAllowThreads();
15150 result = (bool)(arg1)->Create(arg2,arg3);
15151
15152 wxPyEndAllowThreads(__tstate);
15153 if (PyErr_Occurred()) SWIG_fail;
15154 }
15155 {
15156 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15157 }
15158 return resultobj;
15159 fail:
15160 return NULL;
15161 }
15162
15163
15164 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
15165 PyObject *obj;
15166 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15167 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
15168 Py_INCREF(obj);
15169 return Py_BuildValue((char *)"");
15170 }
15171 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15172 PyObject *resultobj;
15173 wxWindow *arg1 = (wxWindow *) 0 ;
15174 int arg2 ;
15175 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15176 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15177 wxSize const &arg4_defvalue = wxDefaultSize ;
15178 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15179 long arg5 = (long) 0 ;
15180 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15181 wxString *arg6 = (wxString *) &arg6_defvalue ;
15182 wxPyWindow *result;
15183 wxPoint temp3 ;
15184 wxSize temp4 ;
15185 bool temp6 = False ;
15186 PyObject * obj0 = 0 ;
15187 PyObject * obj1 = 0 ;
15188 PyObject * obj2 = 0 ;
15189 PyObject * obj3 = 0 ;
15190 PyObject * obj4 = 0 ;
15191 PyObject * obj5 = 0 ;
15192 char *kwnames[] = {
15193 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15194 };
15195
15196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15199 arg2 = (int const) SWIG_AsInt(obj1);
15200 if (PyErr_Occurred()) SWIG_fail;
15201 if (obj2) {
15202 {
15203 arg3 = &temp3;
15204 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15205 }
15206 }
15207 if (obj3) {
15208 {
15209 arg4 = &temp4;
15210 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15211 }
15212 }
15213 if (obj4) {
15214 arg5 = (long) SWIG_AsLong(obj4);
15215 if (PyErr_Occurred()) SWIG_fail;
15216 }
15217 if (obj5) {
15218 {
15219 arg6 = wxString_in_helper(obj5);
15220 if (arg6 == NULL) SWIG_fail;
15221 temp6 = True;
15222 }
15223 }
15224 {
15225 PyThreadState* __tstate = wxPyBeginAllowThreads();
15226 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15227
15228 wxPyEndAllowThreads(__tstate);
15229 if (PyErr_Occurred()) SWIG_fail;
15230 }
15231 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15232 {
15233 if (temp6)
15234 delete arg6;
15235 }
15236 return resultobj;
15237 fail:
15238 {
15239 if (temp6)
15240 delete arg6;
15241 }
15242 return NULL;
15243 }
15244
15245
15246 static PyObject *_wrap_new_PrePyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15247 PyObject *resultobj;
15248 wxPyWindow *result;
15249 char *kwnames[] = {
15250 NULL
15251 };
15252
15253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
15254 {
15255 PyThreadState* __tstate = wxPyBeginAllowThreads();
15256 result = (wxPyWindow *)new wxPyWindow();
15257
15258 wxPyEndAllowThreads(__tstate);
15259 if (PyErr_Occurred()) SWIG_fail;
15260 }
15261 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15262 return resultobj;
15263 fail:
15264 return NULL;
15265 }
15266
15267
15268 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15269 PyObject *resultobj;
15270 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15271 PyObject *arg2 = (PyObject *) 0 ;
15272 PyObject *arg3 = (PyObject *) 0 ;
15273 PyObject * obj0 = 0 ;
15274 PyObject * obj1 = 0 ;
15275 PyObject * obj2 = 0 ;
15276 char *kwnames[] = {
15277 (char *) "self",(char *) "self",(char *) "_class", NULL
15278 };
15279
15280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15283 arg2 = obj1;
15284 arg3 = obj2;
15285 {
15286 PyThreadState* __tstate = wxPyBeginAllowThreads();
15287 (arg1)->_setCallbackInfo(arg2,arg3);
15288
15289 wxPyEndAllowThreads(__tstate);
15290 if (PyErr_Occurred()) SWIG_fail;
15291 }
15292 Py_INCREF(Py_None); resultobj = Py_None;
15293 return resultobj;
15294 fail:
15295 return NULL;
15296 }
15297
15298
15299 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15300 PyObject *resultobj;
15301 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15302 int arg2 ;
15303 int arg3 ;
15304 int arg4 ;
15305 int arg5 ;
15306 PyObject * obj0 = 0 ;
15307 PyObject * obj1 = 0 ;
15308 PyObject * obj2 = 0 ;
15309 PyObject * obj3 = 0 ;
15310 PyObject * obj4 = 0 ;
15311 char *kwnames[] = {
15312 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15313 };
15314
15315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15318 arg2 = (int) SWIG_AsInt(obj1);
15319 if (PyErr_Occurred()) SWIG_fail;
15320 arg3 = (int) SWIG_AsInt(obj2);
15321 if (PyErr_Occurred()) SWIG_fail;
15322 arg4 = (int) SWIG_AsInt(obj3);
15323 if (PyErr_Occurred()) SWIG_fail;
15324 arg5 = (int) SWIG_AsInt(obj4);
15325 if (PyErr_Occurred()) SWIG_fail;
15326 {
15327 PyThreadState* __tstate = wxPyBeginAllowThreads();
15328 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15329
15330 wxPyEndAllowThreads(__tstate);
15331 if (PyErr_Occurred()) SWIG_fail;
15332 }
15333 Py_INCREF(Py_None); resultobj = Py_None;
15334 return resultobj;
15335 fail:
15336 return NULL;
15337 }
15338
15339
15340 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15341 PyObject *resultobj;
15342 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15343 int arg2 ;
15344 int arg3 ;
15345 int arg4 ;
15346 int arg5 ;
15347 int arg6 = (int) wxSIZE_AUTO ;
15348 PyObject * obj0 = 0 ;
15349 PyObject * obj1 = 0 ;
15350 PyObject * obj2 = 0 ;
15351 PyObject * obj3 = 0 ;
15352 PyObject * obj4 = 0 ;
15353 PyObject * obj5 = 0 ;
15354 char *kwnames[] = {
15355 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15356 };
15357
15358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15361 arg2 = (int) SWIG_AsInt(obj1);
15362 if (PyErr_Occurred()) SWIG_fail;
15363 arg3 = (int) SWIG_AsInt(obj2);
15364 if (PyErr_Occurred()) SWIG_fail;
15365 arg4 = (int) SWIG_AsInt(obj3);
15366 if (PyErr_Occurred()) SWIG_fail;
15367 arg5 = (int) SWIG_AsInt(obj4);
15368 if (PyErr_Occurred()) SWIG_fail;
15369 if (obj5) {
15370 arg6 = (int) SWIG_AsInt(obj5);
15371 if (PyErr_Occurred()) SWIG_fail;
15372 }
15373 {
15374 PyThreadState* __tstate = wxPyBeginAllowThreads();
15375 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15376
15377 wxPyEndAllowThreads(__tstate);
15378 if (PyErr_Occurred()) SWIG_fail;
15379 }
15380 Py_INCREF(Py_None); resultobj = Py_None;
15381 return resultobj;
15382 fail:
15383 return NULL;
15384 }
15385
15386
15387 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15388 PyObject *resultobj;
15389 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15390 int arg2 ;
15391 int arg3 ;
15392 PyObject * obj0 = 0 ;
15393 PyObject * obj1 = 0 ;
15394 PyObject * obj2 = 0 ;
15395 char *kwnames[] = {
15396 (char *) "self",(char *) "width",(char *) "height", NULL
15397 };
15398
15399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15402 arg2 = (int) SWIG_AsInt(obj1);
15403 if (PyErr_Occurred()) SWIG_fail;
15404 arg3 = (int) SWIG_AsInt(obj2);
15405 if (PyErr_Occurred()) SWIG_fail;
15406 {
15407 PyThreadState* __tstate = wxPyBeginAllowThreads();
15408 (arg1)->base_DoSetClientSize(arg2,arg3);
15409
15410 wxPyEndAllowThreads(__tstate);
15411 if (PyErr_Occurred()) SWIG_fail;
15412 }
15413 Py_INCREF(Py_None); resultobj = Py_None;
15414 return resultobj;
15415 fail:
15416 return NULL;
15417 }
15418
15419
15420 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15421 PyObject *resultobj;
15422 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15423 int arg2 ;
15424 int arg3 ;
15425 PyObject * obj0 = 0 ;
15426 PyObject * obj1 = 0 ;
15427 PyObject * obj2 = 0 ;
15428 char *kwnames[] = {
15429 (char *) "self",(char *) "x",(char *) "y", NULL
15430 };
15431
15432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15435 arg2 = (int) SWIG_AsInt(obj1);
15436 if (PyErr_Occurred()) SWIG_fail;
15437 arg3 = (int) SWIG_AsInt(obj2);
15438 if (PyErr_Occurred()) SWIG_fail;
15439 {
15440 PyThreadState* __tstate = wxPyBeginAllowThreads();
15441 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15442
15443 wxPyEndAllowThreads(__tstate);
15444 if (PyErr_Occurred()) SWIG_fail;
15445 }
15446 Py_INCREF(Py_None); resultobj = Py_None;
15447 return resultobj;
15448 fail:
15449 return NULL;
15450 }
15451
15452
15453 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15454 PyObject *resultobj;
15455 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15456 int *arg2 = (int *) 0 ;
15457 int *arg3 = (int *) 0 ;
15458 int temp2 ;
15459 int temp3 ;
15460 PyObject * obj0 = 0 ;
15461 char *kwnames[] = {
15462 (char *) "self", NULL
15463 };
15464
15465 arg2 = &temp2;
15466 arg3 = &temp3;
15467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15470 {
15471 PyThreadState* __tstate = wxPyBeginAllowThreads();
15472 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15473
15474 wxPyEndAllowThreads(__tstate);
15475 if (PyErr_Occurred()) SWIG_fail;
15476 }
15477 Py_INCREF(Py_None); resultobj = Py_None;
15478 {
15479 PyObject *o = PyInt_FromLong((long) (*arg2));
15480 resultobj = t_output_helper(resultobj,o);
15481 }
15482 {
15483 PyObject *o = PyInt_FromLong((long) (*arg3));
15484 resultobj = t_output_helper(resultobj,o);
15485 }
15486 return resultobj;
15487 fail:
15488 return NULL;
15489 }
15490
15491
15492 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15493 PyObject *resultobj;
15494 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15495 int *arg2 = (int *) 0 ;
15496 int *arg3 = (int *) 0 ;
15497 int temp2 ;
15498 int temp3 ;
15499 PyObject * obj0 = 0 ;
15500 char *kwnames[] = {
15501 (char *) "self", NULL
15502 };
15503
15504 arg2 = &temp2;
15505 arg3 = &temp3;
15506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15509 {
15510 PyThreadState* __tstate = wxPyBeginAllowThreads();
15511 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
15512
15513 wxPyEndAllowThreads(__tstate);
15514 if (PyErr_Occurred()) SWIG_fail;
15515 }
15516 Py_INCREF(Py_None); resultobj = Py_None;
15517 {
15518 PyObject *o = PyInt_FromLong((long) (*arg2));
15519 resultobj = t_output_helper(resultobj,o);
15520 }
15521 {
15522 PyObject *o = PyInt_FromLong((long) (*arg3));
15523 resultobj = t_output_helper(resultobj,o);
15524 }
15525 return resultobj;
15526 fail:
15527 return NULL;
15528 }
15529
15530
15531 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15532 PyObject *resultobj;
15533 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15534 int *arg2 = (int *) 0 ;
15535 int *arg3 = (int *) 0 ;
15536 int temp2 ;
15537 int temp3 ;
15538 PyObject * obj0 = 0 ;
15539 char *kwnames[] = {
15540 (char *) "self", NULL
15541 };
15542
15543 arg2 = &temp2;
15544 arg3 = &temp3;
15545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
15546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15548 {
15549 PyThreadState* __tstate = wxPyBeginAllowThreads();
15550 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
15551
15552 wxPyEndAllowThreads(__tstate);
15553 if (PyErr_Occurred()) SWIG_fail;
15554 }
15555 Py_INCREF(Py_None); resultobj = Py_None;
15556 {
15557 PyObject *o = PyInt_FromLong((long) (*arg2));
15558 resultobj = t_output_helper(resultobj,o);
15559 }
15560 {
15561 PyObject *o = PyInt_FromLong((long) (*arg3));
15562 resultobj = t_output_helper(resultobj,o);
15563 }
15564 return resultobj;
15565 fail:
15566 return NULL;
15567 }
15568
15569
15570 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15571 PyObject *resultobj;
15572 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15573 wxSize result;
15574 PyObject * obj0 = 0 ;
15575 char *kwnames[] = {
15576 (char *) "self", NULL
15577 };
15578
15579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15582 {
15583 PyThreadState* __tstate = wxPyBeginAllowThreads();
15584 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
15585
15586 wxPyEndAllowThreads(__tstate);
15587 if (PyErr_Occurred()) SWIG_fail;
15588 }
15589 {
15590 wxSize * resultptr;
15591 resultptr = new wxSize((wxSize &) result);
15592 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15593 }
15594 return resultobj;
15595 fail:
15596 return NULL;
15597 }
15598
15599
15600 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15601 PyObject *resultobj;
15602 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15603 wxSize result;
15604 PyObject * obj0 = 0 ;
15605 char *kwnames[] = {
15606 (char *) "self", NULL
15607 };
15608
15609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15612 {
15613 PyThreadState* __tstate = wxPyBeginAllowThreads();
15614 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
15615
15616 wxPyEndAllowThreads(__tstate);
15617 if (PyErr_Occurred()) SWIG_fail;
15618 }
15619 {
15620 wxSize * resultptr;
15621 resultptr = new wxSize((wxSize &) result);
15622 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15623 }
15624 return resultobj;
15625 fail:
15626 return NULL;
15627 }
15628
15629
15630 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
15631 PyObject *resultobj;
15632 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15633 PyObject * obj0 = 0 ;
15634 char *kwnames[] = {
15635 (char *) "self", NULL
15636 };
15637
15638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
15639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15641 {
15642 PyThreadState* __tstate = wxPyBeginAllowThreads();
15643 (arg1)->base_InitDialog();
15644
15645 wxPyEndAllowThreads(__tstate);
15646 if (PyErr_Occurred()) SWIG_fail;
15647 }
15648 Py_INCREF(Py_None); resultobj = Py_None;
15649 return resultobj;
15650 fail:
15651 return NULL;
15652 }
15653
15654
15655 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15656 PyObject *resultobj;
15657 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15658 bool result;
15659 PyObject * obj0 = 0 ;
15660 char *kwnames[] = {
15661 (char *) "self", NULL
15662 };
15663
15664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15667 {
15668 PyThreadState* __tstate = wxPyBeginAllowThreads();
15669 result = (bool)(arg1)->base_TransferDataToWindow();
15670
15671 wxPyEndAllowThreads(__tstate);
15672 if (PyErr_Occurred()) SWIG_fail;
15673 }
15674 {
15675 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15676 }
15677 return resultobj;
15678 fail:
15679 return NULL;
15680 }
15681
15682
15683 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15684 PyObject *resultobj;
15685 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15686 bool result;
15687 PyObject * obj0 = 0 ;
15688 char *kwnames[] = {
15689 (char *) "self", NULL
15690 };
15691
15692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15695 {
15696 PyThreadState* __tstate = wxPyBeginAllowThreads();
15697 result = (bool)(arg1)->base_TransferDataFromWindow();
15698
15699 wxPyEndAllowThreads(__tstate);
15700 if (PyErr_Occurred()) SWIG_fail;
15701 }
15702 {
15703 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15704 }
15705 return resultobj;
15706 fail:
15707 return NULL;
15708 }
15709
15710
15711 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
15712 PyObject *resultobj;
15713 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15714 bool result;
15715 PyObject * obj0 = 0 ;
15716 char *kwnames[] = {
15717 (char *) "self", NULL
15718 };
15719
15720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
15721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15723 {
15724 PyThreadState* __tstate = wxPyBeginAllowThreads();
15725 result = (bool)(arg1)->base_Validate();
15726
15727 wxPyEndAllowThreads(__tstate);
15728 if (PyErr_Occurred()) SWIG_fail;
15729 }
15730 {
15731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15732 }
15733 return resultobj;
15734 fail:
15735 return NULL;
15736 }
15737
15738
15739 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
15740 PyObject *resultobj;
15741 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15742 bool result;
15743 PyObject * obj0 = 0 ;
15744 char *kwnames[] = {
15745 (char *) "self", NULL
15746 };
15747
15748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15751 {
15752 PyThreadState* __tstate = wxPyBeginAllowThreads();
15753 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
15754
15755 wxPyEndAllowThreads(__tstate);
15756 if (PyErr_Occurred()) SWIG_fail;
15757 }
15758 {
15759 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15760 }
15761 return resultobj;
15762 fail:
15763 return NULL;
15764 }
15765
15766
15767 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
15768 PyObject *resultobj;
15769 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15770 bool result;
15771 PyObject * obj0 = 0 ;
15772 char *kwnames[] = {
15773 (char *) "self", NULL
15774 };
15775
15776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15779 {
15780 PyThreadState* __tstate = wxPyBeginAllowThreads();
15781 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
15782
15783 wxPyEndAllowThreads(__tstate);
15784 if (PyErr_Occurred()) SWIG_fail;
15785 }
15786 {
15787 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15788 }
15789 return resultobj;
15790 fail:
15791 return NULL;
15792 }
15793
15794
15795 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15796 PyObject *resultobj;
15797 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15798 wxSize result;
15799 PyObject * obj0 = 0 ;
15800 char *kwnames[] = {
15801 (char *) "self", NULL
15802 };
15803
15804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
15805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15807 {
15808 PyThreadState* __tstate = wxPyBeginAllowThreads();
15809 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
15810
15811 wxPyEndAllowThreads(__tstate);
15812 if (PyErr_Occurred()) SWIG_fail;
15813 }
15814 {
15815 wxSize * resultptr;
15816 resultptr = new wxSize((wxSize &) result);
15817 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15818 }
15819 return resultobj;
15820 fail:
15821 return NULL;
15822 }
15823
15824
15825 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15826 PyObject *resultobj;
15827 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15828 wxWindow *arg2 = (wxWindow *) 0 ;
15829 PyObject * obj0 = 0 ;
15830 PyObject * obj1 = 0 ;
15831 char *kwnames[] = {
15832 (char *) "self",(char *) "child", NULL
15833 };
15834
15835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15838 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15840 {
15841 PyThreadState* __tstate = wxPyBeginAllowThreads();
15842 (arg1)->base_AddChild(arg2);
15843
15844 wxPyEndAllowThreads(__tstate);
15845 if (PyErr_Occurred()) SWIG_fail;
15846 }
15847 Py_INCREF(Py_None); resultobj = Py_None;
15848 return resultobj;
15849 fail:
15850 return NULL;
15851 }
15852
15853
15854 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15855 PyObject *resultobj;
15856 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15857 wxWindow *arg2 = (wxWindow *) 0 ;
15858 PyObject * obj0 = 0 ;
15859 PyObject * obj1 = 0 ;
15860 char *kwnames[] = {
15861 (char *) "self",(char *) "child", NULL
15862 };
15863
15864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15867 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15869 {
15870 PyThreadState* __tstate = wxPyBeginAllowThreads();
15871 (arg1)->base_RemoveChild(arg2);
15872
15873 wxPyEndAllowThreads(__tstate);
15874 if (PyErr_Occurred()) SWIG_fail;
15875 }
15876 Py_INCREF(Py_None); resultobj = Py_None;
15877 return resultobj;
15878 fail:
15879 return NULL;
15880 }
15881
15882
15883 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
15884 PyObject *resultobj;
15885 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15886 bool result;
15887 PyObject * obj0 = 0 ;
15888 char *kwnames[] = {
15889 (char *) "self", NULL
15890 };
15891
15892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
15893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15895 {
15896 PyThreadState* __tstate = wxPyBeginAllowThreads();
15897 result = (bool)(arg1)->base_ShouldInheritColours();
15898
15899 wxPyEndAllowThreads(__tstate);
15900 if (PyErr_Occurred()) SWIG_fail;
15901 }
15902 {
15903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15904 }
15905 return resultobj;
15906 fail:
15907 return NULL;
15908 }
15909
15910
15911 static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
15912 PyObject *resultobj;
15913 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15914 wxColour *arg2 = 0 ;
15915 wxColour temp2 ;
15916 PyObject * obj0 = 0 ;
15917 PyObject * obj1 = 0 ;
15918 char *kwnames[] = {
15919 (char *) "self",(char *) "c", NULL
15920 };
15921
15922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
15923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15925 {
15926 arg2 = &temp2;
15927 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15928 }
15929 {
15930 PyThreadState* __tstate = wxPyBeginAllowThreads();
15931 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
15932
15933 wxPyEndAllowThreads(__tstate);
15934 if (PyErr_Occurred()) SWIG_fail;
15935 }
15936 Py_INCREF(Py_None); resultobj = Py_None;
15937 return resultobj;
15938 fail:
15939 return NULL;
15940 }
15941
15942
15943 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
15944 PyObject *obj;
15945 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15946 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
15947 Py_INCREF(obj);
15948 return Py_BuildValue((char *)"");
15949 }
15950 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
15951 PyObject *resultobj;
15952 wxWindow *arg1 = (wxWindow *) 0 ;
15953 int arg2 ;
15954 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15955 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15956 wxSize const &arg4_defvalue = wxDefaultSize ;
15957 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15958 long arg5 = (long) 0 ;
15959 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15960 wxString *arg6 = (wxString *) &arg6_defvalue ;
15961 wxPyPanel *result;
15962 wxPoint temp3 ;
15963 wxSize temp4 ;
15964 bool temp6 = False ;
15965 PyObject * obj0 = 0 ;
15966 PyObject * obj1 = 0 ;
15967 PyObject * obj2 = 0 ;
15968 PyObject * obj3 = 0 ;
15969 PyObject * obj4 = 0 ;
15970 PyObject * obj5 = 0 ;
15971 char *kwnames[] = {
15972 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15973 };
15974
15975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15978 arg2 = (int const) SWIG_AsInt(obj1);
15979 if (PyErr_Occurred()) SWIG_fail;
15980 if (obj2) {
15981 {
15982 arg3 = &temp3;
15983 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15984 }
15985 }
15986 if (obj3) {
15987 {
15988 arg4 = &temp4;
15989 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15990 }
15991 }
15992 if (obj4) {
15993 arg5 = (long) SWIG_AsLong(obj4);
15994 if (PyErr_Occurred()) SWIG_fail;
15995 }
15996 if (obj5) {
15997 {
15998 arg6 = wxString_in_helper(obj5);
15999 if (arg6 == NULL) SWIG_fail;
16000 temp6 = True;
16001 }
16002 }
16003 {
16004 PyThreadState* __tstate = wxPyBeginAllowThreads();
16005 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16006
16007 wxPyEndAllowThreads(__tstate);
16008 if (PyErr_Occurred()) SWIG_fail;
16009 }
16010 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16011 {
16012 if (temp6)
16013 delete arg6;
16014 }
16015 return resultobj;
16016 fail:
16017 {
16018 if (temp6)
16019 delete arg6;
16020 }
16021 return NULL;
16022 }
16023
16024
16025 static PyObject *_wrap_new_PrePyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
16026 PyObject *resultobj;
16027 wxPyPanel *result;
16028 char *kwnames[] = {
16029 NULL
16030 };
16031
16032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
16033 {
16034 PyThreadState* __tstate = wxPyBeginAllowThreads();
16035 result = (wxPyPanel *)new wxPyPanel();
16036
16037 wxPyEndAllowThreads(__tstate);
16038 if (PyErr_Occurred()) SWIG_fail;
16039 }
16040 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16041 return resultobj;
16042 fail:
16043 return NULL;
16044 }
16045
16046
16047 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16048 PyObject *resultobj;
16049 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16050 PyObject *arg2 = (PyObject *) 0 ;
16051 PyObject *arg3 = (PyObject *) 0 ;
16052 PyObject * obj0 = 0 ;
16053 PyObject * obj1 = 0 ;
16054 PyObject * obj2 = 0 ;
16055 char *kwnames[] = {
16056 (char *) "self",(char *) "self",(char *) "_class", NULL
16057 };
16058
16059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16062 arg2 = obj1;
16063 arg3 = obj2;
16064 {
16065 PyThreadState* __tstate = wxPyBeginAllowThreads();
16066 (arg1)->_setCallbackInfo(arg2,arg3);
16067
16068 wxPyEndAllowThreads(__tstate);
16069 if (PyErr_Occurred()) SWIG_fail;
16070 }
16071 Py_INCREF(Py_None); resultobj = Py_None;
16072 return resultobj;
16073 fail:
16074 return NULL;
16075 }
16076
16077
16078 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16079 PyObject *resultobj;
16080 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16081 int arg2 ;
16082 int arg3 ;
16083 int arg4 ;
16084 int arg5 ;
16085 PyObject * obj0 = 0 ;
16086 PyObject * obj1 = 0 ;
16087 PyObject * obj2 = 0 ;
16088 PyObject * obj3 = 0 ;
16089 PyObject * obj4 = 0 ;
16090 char *kwnames[] = {
16091 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16092 };
16093
16094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16097 arg2 = (int) SWIG_AsInt(obj1);
16098 if (PyErr_Occurred()) SWIG_fail;
16099 arg3 = (int) SWIG_AsInt(obj2);
16100 if (PyErr_Occurred()) SWIG_fail;
16101 arg4 = (int) SWIG_AsInt(obj3);
16102 if (PyErr_Occurred()) SWIG_fail;
16103 arg5 = (int) SWIG_AsInt(obj4);
16104 if (PyErr_Occurred()) SWIG_fail;
16105 {
16106 PyThreadState* __tstate = wxPyBeginAllowThreads();
16107 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16108
16109 wxPyEndAllowThreads(__tstate);
16110 if (PyErr_Occurred()) SWIG_fail;
16111 }
16112 Py_INCREF(Py_None); resultobj = Py_None;
16113 return resultobj;
16114 fail:
16115 return NULL;
16116 }
16117
16118
16119 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16120 PyObject *resultobj;
16121 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16122 int arg2 ;
16123 int arg3 ;
16124 int arg4 ;
16125 int arg5 ;
16126 int arg6 = (int) wxSIZE_AUTO ;
16127 PyObject * obj0 = 0 ;
16128 PyObject * obj1 = 0 ;
16129 PyObject * obj2 = 0 ;
16130 PyObject * obj3 = 0 ;
16131 PyObject * obj4 = 0 ;
16132 PyObject * obj5 = 0 ;
16133 char *kwnames[] = {
16134 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16135 };
16136
16137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16140 arg2 = (int) SWIG_AsInt(obj1);
16141 if (PyErr_Occurred()) SWIG_fail;
16142 arg3 = (int) SWIG_AsInt(obj2);
16143 if (PyErr_Occurred()) SWIG_fail;
16144 arg4 = (int) SWIG_AsInt(obj3);
16145 if (PyErr_Occurred()) SWIG_fail;
16146 arg5 = (int) SWIG_AsInt(obj4);
16147 if (PyErr_Occurred()) SWIG_fail;
16148 if (obj5) {
16149 arg6 = (int) SWIG_AsInt(obj5);
16150 if (PyErr_Occurred()) SWIG_fail;
16151 }
16152 {
16153 PyThreadState* __tstate = wxPyBeginAllowThreads();
16154 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16155
16156 wxPyEndAllowThreads(__tstate);
16157 if (PyErr_Occurred()) SWIG_fail;
16158 }
16159 Py_INCREF(Py_None); resultobj = Py_None;
16160 return resultobj;
16161 fail:
16162 return NULL;
16163 }
16164
16165
16166 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16167 PyObject *resultobj;
16168 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16169 int arg2 ;
16170 int arg3 ;
16171 PyObject * obj0 = 0 ;
16172 PyObject * obj1 = 0 ;
16173 PyObject * obj2 = 0 ;
16174 char *kwnames[] = {
16175 (char *) "self",(char *) "width",(char *) "height", NULL
16176 };
16177
16178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16181 arg2 = (int) SWIG_AsInt(obj1);
16182 if (PyErr_Occurred()) SWIG_fail;
16183 arg3 = (int) SWIG_AsInt(obj2);
16184 if (PyErr_Occurred()) SWIG_fail;
16185 {
16186 PyThreadState* __tstate = wxPyBeginAllowThreads();
16187 (arg1)->base_DoSetClientSize(arg2,arg3);
16188
16189 wxPyEndAllowThreads(__tstate);
16190 if (PyErr_Occurred()) SWIG_fail;
16191 }
16192 Py_INCREF(Py_None); resultobj = Py_None;
16193 return resultobj;
16194 fail:
16195 return NULL;
16196 }
16197
16198
16199 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16200 PyObject *resultobj;
16201 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16202 int arg2 ;
16203 int arg3 ;
16204 PyObject * obj0 = 0 ;
16205 PyObject * obj1 = 0 ;
16206 PyObject * obj2 = 0 ;
16207 char *kwnames[] = {
16208 (char *) "self",(char *) "x",(char *) "y", NULL
16209 };
16210
16211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16214 arg2 = (int) SWIG_AsInt(obj1);
16215 if (PyErr_Occurred()) SWIG_fail;
16216 arg3 = (int) SWIG_AsInt(obj2);
16217 if (PyErr_Occurred()) SWIG_fail;
16218 {
16219 PyThreadState* __tstate = wxPyBeginAllowThreads();
16220 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16221
16222 wxPyEndAllowThreads(__tstate);
16223 if (PyErr_Occurred()) SWIG_fail;
16224 }
16225 Py_INCREF(Py_None); resultobj = Py_None;
16226 return resultobj;
16227 fail:
16228 return NULL;
16229 }
16230
16231
16232 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16233 PyObject *resultobj;
16234 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16235 int *arg2 = (int *) 0 ;
16236 int *arg3 = (int *) 0 ;
16237 int temp2 ;
16238 int temp3 ;
16239 PyObject * obj0 = 0 ;
16240 char *kwnames[] = {
16241 (char *) "self", NULL
16242 };
16243
16244 arg2 = &temp2;
16245 arg3 = &temp3;
16246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
16247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16249 {
16250 PyThreadState* __tstate = wxPyBeginAllowThreads();
16251 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
16252
16253 wxPyEndAllowThreads(__tstate);
16254 if (PyErr_Occurred()) SWIG_fail;
16255 }
16256 Py_INCREF(Py_None); resultobj = Py_None;
16257 {
16258 PyObject *o = PyInt_FromLong((long) (*arg2));
16259 resultobj = t_output_helper(resultobj,o);
16260 }
16261 {
16262 PyObject *o = PyInt_FromLong((long) (*arg3));
16263 resultobj = t_output_helper(resultobj,o);
16264 }
16265 return resultobj;
16266 fail:
16267 return NULL;
16268 }
16269
16270
16271 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16272 PyObject *resultobj;
16273 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16274 int *arg2 = (int *) 0 ;
16275 int *arg3 = (int *) 0 ;
16276 int temp2 ;
16277 int temp3 ;
16278 PyObject * obj0 = 0 ;
16279 char *kwnames[] = {
16280 (char *) "self", NULL
16281 };
16282
16283 arg2 = &temp2;
16284 arg3 = &temp3;
16285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16288 {
16289 PyThreadState* __tstate = wxPyBeginAllowThreads();
16290 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
16291
16292 wxPyEndAllowThreads(__tstate);
16293 if (PyErr_Occurred()) SWIG_fail;
16294 }
16295 Py_INCREF(Py_None); resultobj = Py_None;
16296 {
16297 PyObject *o = PyInt_FromLong((long) (*arg2));
16298 resultobj = t_output_helper(resultobj,o);
16299 }
16300 {
16301 PyObject *o = PyInt_FromLong((long) (*arg3));
16302 resultobj = t_output_helper(resultobj,o);
16303 }
16304 return resultobj;
16305 fail:
16306 return NULL;
16307 }
16308
16309
16310 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16311 PyObject *resultobj;
16312 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16313 int *arg2 = (int *) 0 ;
16314 int *arg3 = (int *) 0 ;
16315 int temp2 ;
16316 int temp3 ;
16317 PyObject * obj0 = 0 ;
16318 char *kwnames[] = {
16319 (char *) "self", NULL
16320 };
16321
16322 arg2 = &temp2;
16323 arg3 = &temp3;
16324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
16325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16327 {
16328 PyThreadState* __tstate = wxPyBeginAllowThreads();
16329 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
16330
16331 wxPyEndAllowThreads(__tstate);
16332 if (PyErr_Occurred()) SWIG_fail;
16333 }
16334 Py_INCREF(Py_None); resultobj = Py_None;
16335 {
16336 PyObject *o = PyInt_FromLong((long) (*arg2));
16337 resultobj = t_output_helper(resultobj,o);
16338 }
16339 {
16340 PyObject *o = PyInt_FromLong((long) (*arg3));
16341 resultobj = t_output_helper(resultobj,o);
16342 }
16343 return resultobj;
16344 fail:
16345 return NULL;
16346 }
16347
16348
16349 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16350 PyObject *resultobj;
16351 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16352 wxSize result;
16353 PyObject * obj0 = 0 ;
16354 char *kwnames[] = {
16355 (char *) "self", NULL
16356 };
16357
16358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16361 {
16362 PyThreadState* __tstate = wxPyBeginAllowThreads();
16363 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
16364
16365 wxPyEndAllowThreads(__tstate);
16366 if (PyErr_Occurred()) SWIG_fail;
16367 }
16368 {
16369 wxSize * resultptr;
16370 resultptr = new wxSize((wxSize &) result);
16371 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16372 }
16373 return resultobj;
16374 fail:
16375 return NULL;
16376 }
16377
16378
16379 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16380 PyObject *resultobj;
16381 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16382 wxSize result;
16383 PyObject * obj0 = 0 ;
16384 char *kwnames[] = {
16385 (char *) "self", NULL
16386 };
16387
16388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16391 {
16392 PyThreadState* __tstate = wxPyBeginAllowThreads();
16393 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
16394
16395 wxPyEndAllowThreads(__tstate);
16396 if (PyErr_Occurred()) SWIG_fail;
16397 }
16398 {
16399 wxSize * resultptr;
16400 resultptr = new wxSize((wxSize &) result);
16401 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16402 }
16403 return resultobj;
16404 fail:
16405 return NULL;
16406 }
16407
16408
16409 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16410 PyObject *resultobj;
16411 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16412 PyObject * obj0 = 0 ;
16413 char *kwnames[] = {
16414 (char *) "self", NULL
16415 };
16416
16417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
16418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16420 {
16421 PyThreadState* __tstate = wxPyBeginAllowThreads();
16422 (arg1)->base_InitDialog();
16423
16424 wxPyEndAllowThreads(__tstate);
16425 if (PyErr_Occurred()) SWIG_fail;
16426 }
16427 Py_INCREF(Py_None); resultobj = Py_None;
16428 return resultobj;
16429 fail:
16430 return NULL;
16431 }
16432
16433
16434 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16435 PyObject *resultobj;
16436 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16437 bool result;
16438 PyObject * obj0 = 0 ;
16439 char *kwnames[] = {
16440 (char *) "self", NULL
16441 };
16442
16443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16446 {
16447 PyThreadState* __tstate = wxPyBeginAllowThreads();
16448 result = (bool)(arg1)->base_TransferDataToWindow();
16449
16450 wxPyEndAllowThreads(__tstate);
16451 if (PyErr_Occurred()) SWIG_fail;
16452 }
16453 {
16454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16455 }
16456 return resultobj;
16457 fail:
16458 return NULL;
16459 }
16460
16461
16462 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16463 PyObject *resultobj;
16464 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16465 bool result;
16466 PyObject * obj0 = 0 ;
16467 char *kwnames[] = {
16468 (char *) "self", NULL
16469 };
16470
16471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16474 {
16475 PyThreadState* __tstate = wxPyBeginAllowThreads();
16476 result = (bool)(arg1)->base_TransferDataFromWindow();
16477
16478 wxPyEndAllowThreads(__tstate);
16479 if (PyErr_Occurred()) SWIG_fail;
16480 }
16481 {
16482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16483 }
16484 return resultobj;
16485 fail:
16486 return NULL;
16487 }
16488
16489
16490 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
16491 PyObject *resultobj;
16492 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16493 bool result;
16494 PyObject * obj0 = 0 ;
16495 char *kwnames[] = {
16496 (char *) "self", NULL
16497 };
16498
16499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
16500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16502 {
16503 PyThreadState* __tstate = wxPyBeginAllowThreads();
16504 result = (bool)(arg1)->base_Validate();
16505
16506 wxPyEndAllowThreads(__tstate);
16507 if (PyErr_Occurred()) SWIG_fail;
16508 }
16509 {
16510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16511 }
16512 return resultobj;
16513 fail:
16514 return NULL;
16515 }
16516
16517
16518 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16519 PyObject *resultobj;
16520 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16521 bool result;
16522 PyObject * obj0 = 0 ;
16523 char *kwnames[] = {
16524 (char *) "self", NULL
16525 };
16526
16527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16530 {
16531 PyThreadState* __tstate = wxPyBeginAllowThreads();
16532 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
16533
16534 wxPyEndAllowThreads(__tstate);
16535 if (PyErr_Occurred()) SWIG_fail;
16536 }
16537 {
16538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16539 }
16540 return resultobj;
16541 fail:
16542 return NULL;
16543 }
16544
16545
16546 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
16547 PyObject *resultobj;
16548 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16549 bool result;
16550 PyObject * obj0 = 0 ;
16551 char *kwnames[] = {
16552 (char *) "self", NULL
16553 };
16554
16555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16558 {
16559 PyThreadState* __tstate = wxPyBeginAllowThreads();
16560 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
16561
16562 wxPyEndAllowThreads(__tstate);
16563 if (PyErr_Occurred()) SWIG_fail;
16564 }
16565 {
16566 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16567 }
16568 return resultobj;
16569 fail:
16570 return NULL;
16571 }
16572
16573
16574 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16575 PyObject *resultobj;
16576 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16577 wxSize result;
16578 PyObject * obj0 = 0 ;
16579 char *kwnames[] = {
16580 (char *) "self", NULL
16581 };
16582
16583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
16584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16586 {
16587 PyThreadState* __tstate = wxPyBeginAllowThreads();
16588 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
16589
16590 wxPyEndAllowThreads(__tstate);
16591 if (PyErr_Occurred()) SWIG_fail;
16592 }
16593 {
16594 wxSize * resultptr;
16595 resultptr = new wxSize((wxSize &) result);
16596 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16597 }
16598 return resultobj;
16599 fail:
16600 return NULL;
16601 }
16602
16603
16604 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16605 PyObject *resultobj;
16606 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16607 wxWindow *arg2 = (wxWindow *) 0 ;
16608 PyObject * obj0 = 0 ;
16609 PyObject * obj1 = 0 ;
16610 char *kwnames[] = {
16611 (char *) "self",(char *) "child", NULL
16612 };
16613
16614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16617 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16619 {
16620 PyThreadState* __tstate = wxPyBeginAllowThreads();
16621 (arg1)->base_AddChild(arg2);
16622
16623 wxPyEndAllowThreads(__tstate);
16624 if (PyErr_Occurred()) SWIG_fail;
16625 }
16626 Py_INCREF(Py_None); resultobj = Py_None;
16627 return resultobj;
16628 fail:
16629 return NULL;
16630 }
16631
16632
16633 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16634 PyObject *resultobj;
16635 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16636 wxWindow *arg2 = (wxWindow *) 0 ;
16637 PyObject * obj0 = 0 ;
16638 PyObject * obj1 = 0 ;
16639 char *kwnames[] = {
16640 (char *) "self",(char *) "child", NULL
16641 };
16642
16643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16646 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16648 {
16649 PyThreadState* __tstate = wxPyBeginAllowThreads();
16650 (arg1)->base_RemoveChild(arg2);
16651
16652 wxPyEndAllowThreads(__tstate);
16653 if (PyErr_Occurred()) SWIG_fail;
16654 }
16655 Py_INCREF(Py_None); resultobj = Py_None;
16656 return resultobj;
16657 fail:
16658 return NULL;
16659 }
16660
16661
16662 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
16663 PyObject *resultobj;
16664 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16665 bool result;
16666 PyObject * obj0 = 0 ;
16667 char *kwnames[] = {
16668 (char *) "self", NULL
16669 };
16670
16671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16674 {
16675 PyThreadState* __tstate = wxPyBeginAllowThreads();
16676 result = (bool)(arg1)->base_ShouldInheritColours();
16677
16678 wxPyEndAllowThreads(__tstate);
16679 if (PyErr_Occurred()) SWIG_fail;
16680 }
16681 {
16682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16683 }
16684 return resultobj;
16685 fail:
16686 return NULL;
16687 }
16688
16689
16690 static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
16691 PyObject *resultobj;
16692 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16693 wxColour *arg2 = 0 ;
16694 wxColour temp2 ;
16695 PyObject * obj0 = 0 ;
16696 PyObject * obj1 = 0 ;
16697 char *kwnames[] = {
16698 (char *) "self",(char *) "c", NULL
16699 };
16700
16701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16704 {
16705 arg2 = &temp2;
16706 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16707 }
16708 {
16709 PyThreadState* __tstate = wxPyBeginAllowThreads();
16710 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16711
16712 wxPyEndAllowThreads(__tstate);
16713 if (PyErr_Occurred()) SWIG_fail;
16714 }
16715 Py_INCREF(Py_None); resultobj = Py_None;
16716 return resultobj;
16717 fail:
16718 return NULL;
16719 }
16720
16721
16722 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
16723 PyObject *obj;
16724 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16725 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
16726 Py_INCREF(obj);
16727 return Py_BuildValue((char *)"");
16728 }
16729 static PyObject *_wrap_new_PyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16730 PyObject *resultobj;
16731 wxWindow *arg1 = (wxWindow *) 0 ;
16732 int arg2 ;
16733 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16734 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16735 wxSize const &arg4_defvalue = wxDefaultSize ;
16736 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16737 long arg5 = (long) 0 ;
16738 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16739 wxString *arg6 = (wxString *) &arg6_defvalue ;
16740 wxPyScrolledWindow *result;
16741 wxPoint temp3 ;
16742 wxSize temp4 ;
16743 bool temp6 = False ;
16744 PyObject * obj0 = 0 ;
16745 PyObject * obj1 = 0 ;
16746 PyObject * obj2 = 0 ;
16747 PyObject * obj3 = 0 ;
16748 PyObject * obj4 = 0 ;
16749 PyObject * obj5 = 0 ;
16750 char *kwnames[] = {
16751 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16752 };
16753
16754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16757 arg2 = (int const) SWIG_AsInt(obj1);
16758 if (PyErr_Occurred()) SWIG_fail;
16759 if (obj2) {
16760 {
16761 arg3 = &temp3;
16762 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16763 }
16764 }
16765 if (obj3) {
16766 {
16767 arg4 = &temp4;
16768 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16769 }
16770 }
16771 if (obj4) {
16772 arg5 = (long) SWIG_AsLong(obj4);
16773 if (PyErr_Occurred()) SWIG_fail;
16774 }
16775 if (obj5) {
16776 {
16777 arg6 = wxString_in_helper(obj5);
16778 if (arg6 == NULL) SWIG_fail;
16779 temp6 = True;
16780 }
16781 }
16782 {
16783 PyThreadState* __tstate = wxPyBeginAllowThreads();
16784 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16785
16786 wxPyEndAllowThreads(__tstate);
16787 if (PyErr_Occurred()) SWIG_fail;
16788 }
16789 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
16790 {
16791 if (temp6)
16792 delete arg6;
16793 }
16794 return resultobj;
16795 fail:
16796 {
16797 if (temp6)
16798 delete arg6;
16799 }
16800 return NULL;
16801 }
16802
16803
16804 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16805 PyObject *resultobj;
16806 wxPyScrolledWindow *result;
16807 char *kwnames[] = {
16808 NULL
16809 };
16810
16811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
16812 {
16813 PyThreadState* __tstate = wxPyBeginAllowThreads();
16814 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
16815
16816 wxPyEndAllowThreads(__tstate);
16817 if (PyErr_Occurred()) SWIG_fail;
16818 }
16819 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
16820 return resultobj;
16821 fail:
16822 return NULL;
16823 }
16824
16825
16826 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16827 PyObject *resultobj;
16828 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16829 PyObject *arg2 = (PyObject *) 0 ;
16830 PyObject *arg3 = (PyObject *) 0 ;
16831 PyObject * obj0 = 0 ;
16832 PyObject * obj1 = 0 ;
16833 PyObject * obj2 = 0 ;
16834 char *kwnames[] = {
16835 (char *) "self",(char *) "self",(char *) "_class", NULL
16836 };
16837
16838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16841 arg2 = obj1;
16842 arg3 = obj2;
16843 {
16844 PyThreadState* __tstate = wxPyBeginAllowThreads();
16845 (arg1)->_setCallbackInfo(arg2,arg3);
16846
16847 wxPyEndAllowThreads(__tstate);
16848 if (PyErr_Occurred()) SWIG_fail;
16849 }
16850 Py_INCREF(Py_None); resultobj = Py_None;
16851 return resultobj;
16852 fail:
16853 return NULL;
16854 }
16855
16856
16857 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16858 PyObject *resultobj;
16859 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16860 int arg2 ;
16861 int arg3 ;
16862 int arg4 ;
16863 int arg5 ;
16864 PyObject * obj0 = 0 ;
16865 PyObject * obj1 = 0 ;
16866 PyObject * obj2 = 0 ;
16867 PyObject * obj3 = 0 ;
16868 PyObject * obj4 = 0 ;
16869 char *kwnames[] = {
16870 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16871 };
16872
16873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16876 arg2 = (int) SWIG_AsInt(obj1);
16877 if (PyErr_Occurred()) SWIG_fail;
16878 arg3 = (int) SWIG_AsInt(obj2);
16879 if (PyErr_Occurred()) SWIG_fail;
16880 arg4 = (int) SWIG_AsInt(obj3);
16881 if (PyErr_Occurred()) SWIG_fail;
16882 arg5 = (int) SWIG_AsInt(obj4);
16883 if (PyErr_Occurred()) SWIG_fail;
16884 {
16885 PyThreadState* __tstate = wxPyBeginAllowThreads();
16886 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16887
16888 wxPyEndAllowThreads(__tstate);
16889 if (PyErr_Occurred()) SWIG_fail;
16890 }
16891 Py_INCREF(Py_None); resultobj = Py_None;
16892 return resultobj;
16893 fail:
16894 return NULL;
16895 }
16896
16897
16898 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16899 PyObject *resultobj;
16900 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16901 int arg2 ;
16902 int arg3 ;
16903 int arg4 ;
16904 int arg5 ;
16905 int arg6 = (int) wxSIZE_AUTO ;
16906 PyObject * obj0 = 0 ;
16907 PyObject * obj1 = 0 ;
16908 PyObject * obj2 = 0 ;
16909 PyObject * obj3 = 0 ;
16910 PyObject * obj4 = 0 ;
16911 PyObject * obj5 = 0 ;
16912 char *kwnames[] = {
16913 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16914 };
16915
16916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16919 arg2 = (int) SWIG_AsInt(obj1);
16920 if (PyErr_Occurred()) SWIG_fail;
16921 arg3 = (int) SWIG_AsInt(obj2);
16922 if (PyErr_Occurred()) SWIG_fail;
16923 arg4 = (int) SWIG_AsInt(obj3);
16924 if (PyErr_Occurred()) SWIG_fail;
16925 arg5 = (int) SWIG_AsInt(obj4);
16926 if (PyErr_Occurred()) SWIG_fail;
16927 if (obj5) {
16928 arg6 = (int) SWIG_AsInt(obj5);
16929 if (PyErr_Occurred()) SWIG_fail;
16930 }
16931 {
16932 PyThreadState* __tstate = wxPyBeginAllowThreads();
16933 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16934
16935 wxPyEndAllowThreads(__tstate);
16936 if (PyErr_Occurred()) SWIG_fail;
16937 }
16938 Py_INCREF(Py_None); resultobj = Py_None;
16939 return resultobj;
16940 fail:
16941 return NULL;
16942 }
16943
16944
16945 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16946 PyObject *resultobj;
16947 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16948 int arg2 ;
16949 int arg3 ;
16950 PyObject * obj0 = 0 ;
16951 PyObject * obj1 = 0 ;
16952 PyObject * obj2 = 0 ;
16953 char *kwnames[] = {
16954 (char *) "self",(char *) "width",(char *) "height", NULL
16955 };
16956
16957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16960 arg2 = (int) SWIG_AsInt(obj1);
16961 if (PyErr_Occurred()) SWIG_fail;
16962 arg3 = (int) SWIG_AsInt(obj2);
16963 if (PyErr_Occurred()) SWIG_fail;
16964 {
16965 PyThreadState* __tstate = wxPyBeginAllowThreads();
16966 (arg1)->base_DoSetClientSize(arg2,arg3);
16967
16968 wxPyEndAllowThreads(__tstate);
16969 if (PyErr_Occurred()) SWIG_fail;
16970 }
16971 Py_INCREF(Py_None); resultobj = Py_None;
16972 return resultobj;
16973 fail:
16974 return NULL;
16975 }
16976
16977
16978 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16979 PyObject *resultobj;
16980 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16981 int arg2 ;
16982 int arg3 ;
16983 PyObject * obj0 = 0 ;
16984 PyObject * obj1 = 0 ;
16985 PyObject * obj2 = 0 ;
16986 char *kwnames[] = {
16987 (char *) "self",(char *) "x",(char *) "y", NULL
16988 };
16989
16990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16993 arg2 = (int) SWIG_AsInt(obj1);
16994 if (PyErr_Occurred()) SWIG_fail;
16995 arg3 = (int) SWIG_AsInt(obj2);
16996 if (PyErr_Occurred()) SWIG_fail;
16997 {
16998 PyThreadState* __tstate = wxPyBeginAllowThreads();
16999 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17000
17001 wxPyEndAllowThreads(__tstate);
17002 if (PyErr_Occurred()) SWIG_fail;
17003 }
17004 Py_INCREF(Py_None); resultobj = Py_None;
17005 return resultobj;
17006 fail:
17007 return NULL;
17008 }
17009
17010
17011 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17012 PyObject *resultobj;
17013 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17014 int *arg2 = (int *) 0 ;
17015 int *arg3 = (int *) 0 ;
17016 int temp2 ;
17017 int temp3 ;
17018 PyObject * obj0 = 0 ;
17019 char *kwnames[] = {
17020 (char *) "self", NULL
17021 };
17022
17023 arg2 = &temp2;
17024 arg3 = &temp3;
17025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
17026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17028 {
17029 PyThreadState* __tstate = wxPyBeginAllowThreads();
17030 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
17031
17032 wxPyEndAllowThreads(__tstate);
17033 if (PyErr_Occurred()) SWIG_fail;
17034 }
17035 Py_INCREF(Py_None); resultobj = Py_None;
17036 {
17037 PyObject *o = PyInt_FromLong((long) (*arg2));
17038 resultobj = t_output_helper(resultobj,o);
17039 }
17040 {
17041 PyObject *o = PyInt_FromLong((long) (*arg3));
17042 resultobj = t_output_helper(resultobj,o);
17043 }
17044 return resultobj;
17045 fail:
17046 return NULL;
17047 }
17048
17049
17050 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17051 PyObject *resultobj;
17052 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17053 int *arg2 = (int *) 0 ;
17054 int *arg3 = (int *) 0 ;
17055 int temp2 ;
17056 int temp3 ;
17057 PyObject * obj0 = 0 ;
17058 char *kwnames[] = {
17059 (char *) "self", NULL
17060 };
17061
17062 arg2 = &temp2;
17063 arg3 = &temp3;
17064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17067 {
17068 PyThreadState* __tstate = wxPyBeginAllowThreads();
17069 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
17070
17071 wxPyEndAllowThreads(__tstate);
17072 if (PyErr_Occurred()) SWIG_fail;
17073 }
17074 Py_INCREF(Py_None); resultobj = Py_None;
17075 {
17076 PyObject *o = PyInt_FromLong((long) (*arg2));
17077 resultobj = t_output_helper(resultobj,o);
17078 }
17079 {
17080 PyObject *o = PyInt_FromLong((long) (*arg3));
17081 resultobj = t_output_helper(resultobj,o);
17082 }
17083 return resultobj;
17084 fail:
17085 return NULL;
17086 }
17087
17088
17089 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17090 PyObject *resultobj;
17091 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17092 int *arg2 = (int *) 0 ;
17093 int *arg3 = (int *) 0 ;
17094 int temp2 ;
17095 int temp3 ;
17096 PyObject * obj0 = 0 ;
17097 char *kwnames[] = {
17098 (char *) "self", NULL
17099 };
17100
17101 arg2 = &temp2;
17102 arg3 = &temp3;
17103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
17104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17106 {
17107 PyThreadState* __tstate = wxPyBeginAllowThreads();
17108 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
17109
17110 wxPyEndAllowThreads(__tstate);
17111 if (PyErr_Occurred()) SWIG_fail;
17112 }
17113 Py_INCREF(Py_None); resultobj = Py_None;
17114 {
17115 PyObject *o = PyInt_FromLong((long) (*arg2));
17116 resultobj = t_output_helper(resultobj,o);
17117 }
17118 {
17119 PyObject *o = PyInt_FromLong((long) (*arg3));
17120 resultobj = t_output_helper(resultobj,o);
17121 }
17122 return resultobj;
17123 fail:
17124 return NULL;
17125 }
17126
17127
17128 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17129 PyObject *resultobj;
17130 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17131 wxSize result;
17132 PyObject * obj0 = 0 ;
17133 char *kwnames[] = {
17134 (char *) "self", NULL
17135 };
17136
17137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17140 {
17141 PyThreadState* __tstate = wxPyBeginAllowThreads();
17142 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
17143
17144 wxPyEndAllowThreads(__tstate);
17145 if (PyErr_Occurred()) SWIG_fail;
17146 }
17147 {
17148 wxSize * resultptr;
17149 resultptr = new wxSize((wxSize &) result);
17150 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17151 }
17152 return resultobj;
17153 fail:
17154 return NULL;
17155 }
17156
17157
17158 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17159 PyObject *resultobj;
17160 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17161 wxSize result;
17162 PyObject * obj0 = 0 ;
17163 char *kwnames[] = {
17164 (char *) "self", NULL
17165 };
17166
17167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17170 {
17171 PyThreadState* __tstate = wxPyBeginAllowThreads();
17172 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
17173
17174 wxPyEndAllowThreads(__tstate);
17175 if (PyErr_Occurred()) SWIG_fail;
17176 }
17177 {
17178 wxSize * resultptr;
17179 resultptr = new wxSize((wxSize &) result);
17180 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17181 }
17182 return resultobj;
17183 fail:
17184 return NULL;
17185 }
17186
17187
17188 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17189 PyObject *resultobj;
17190 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17191 PyObject * obj0 = 0 ;
17192 char *kwnames[] = {
17193 (char *) "self", NULL
17194 };
17195
17196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
17197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17199 {
17200 PyThreadState* __tstate = wxPyBeginAllowThreads();
17201 (arg1)->base_InitDialog();
17202
17203 wxPyEndAllowThreads(__tstate);
17204 if (PyErr_Occurred()) SWIG_fail;
17205 }
17206 Py_INCREF(Py_None); resultobj = Py_None;
17207 return resultobj;
17208 fail:
17209 return NULL;
17210 }
17211
17212
17213 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17214 PyObject *resultobj;
17215 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17216 bool result;
17217 PyObject * obj0 = 0 ;
17218 char *kwnames[] = {
17219 (char *) "self", NULL
17220 };
17221
17222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17225 {
17226 PyThreadState* __tstate = wxPyBeginAllowThreads();
17227 result = (bool)(arg1)->base_TransferDataToWindow();
17228
17229 wxPyEndAllowThreads(__tstate);
17230 if (PyErr_Occurred()) SWIG_fail;
17231 }
17232 {
17233 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17234 }
17235 return resultobj;
17236 fail:
17237 return NULL;
17238 }
17239
17240
17241 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17242 PyObject *resultobj;
17243 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17244 bool result;
17245 PyObject * obj0 = 0 ;
17246 char *kwnames[] = {
17247 (char *) "self", NULL
17248 };
17249
17250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17253 {
17254 PyThreadState* __tstate = wxPyBeginAllowThreads();
17255 result = (bool)(arg1)->base_TransferDataFromWindow();
17256
17257 wxPyEndAllowThreads(__tstate);
17258 if (PyErr_Occurred()) SWIG_fail;
17259 }
17260 {
17261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17262 }
17263 return resultobj;
17264 fail:
17265 return NULL;
17266 }
17267
17268
17269 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
17270 PyObject *resultobj;
17271 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17272 bool result;
17273 PyObject * obj0 = 0 ;
17274 char *kwnames[] = {
17275 (char *) "self", NULL
17276 };
17277
17278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
17279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17281 {
17282 PyThreadState* __tstate = wxPyBeginAllowThreads();
17283 result = (bool)(arg1)->base_Validate();
17284
17285 wxPyEndAllowThreads(__tstate);
17286 if (PyErr_Occurred()) SWIG_fail;
17287 }
17288 {
17289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17290 }
17291 return resultobj;
17292 fail:
17293 return NULL;
17294 }
17295
17296
17297 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
17298 PyObject *resultobj;
17299 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17300 bool result;
17301 PyObject * obj0 = 0 ;
17302 char *kwnames[] = {
17303 (char *) "self", NULL
17304 };
17305
17306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17309 {
17310 PyThreadState* __tstate = wxPyBeginAllowThreads();
17311 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
17312
17313 wxPyEndAllowThreads(__tstate);
17314 if (PyErr_Occurred()) SWIG_fail;
17315 }
17316 {
17317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17318 }
17319 return resultobj;
17320 fail:
17321 return NULL;
17322 }
17323
17324
17325 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
17326 PyObject *resultobj;
17327 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17328 bool result;
17329 PyObject * obj0 = 0 ;
17330 char *kwnames[] = {
17331 (char *) "self", NULL
17332 };
17333
17334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17337 {
17338 PyThreadState* __tstate = wxPyBeginAllowThreads();
17339 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
17340
17341 wxPyEndAllowThreads(__tstate);
17342 if (PyErr_Occurred()) SWIG_fail;
17343 }
17344 {
17345 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17346 }
17347 return resultobj;
17348 fail:
17349 return NULL;
17350 }
17351
17352
17353 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17354 PyObject *resultobj;
17355 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17356 wxSize result;
17357 PyObject * obj0 = 0 ;
17358 char *kwnames[] = {
17359 (char *) "self", NULL
17360 };
17361
17362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
17363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17365 {
17366 PyThreadState* __tstate = wxPyBeginAllowThreads();
17367 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
17368
17369 wxPyEndAllowThreads(__tstate);
17370 if (PyErr_Occurred()) SWIG_fail;
17371 }
17372 {
17373 wxSize * resultptr;
17374 resultptr = new wxSize((wxSize &) result);
17375 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17376 }
17377 return resultobj;
17378 fail:
17379 return NULL;
17380 }
17381
17382
17383 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17384 PyObject *resultobj;
17385 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17386 wxWindow *arg2 = (wxWindow *) 0 ;
17387 PyObject * obj0 = 0 ;
17388 PyObject * obj1 = 0 ;
17389 char *kwnames[] = {
17390 (char *) "self",(char *) "child", NULL
17391 };
17392
17393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17396 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17398 {
17399 PyThreadState* __tstate = wxPyBeginAllowThreads();
17400 (arg1)->base_AddChild(arg2);
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_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17413 PyObject *resultobj;
17414 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17415 wxWindow *arg2 = (wxWindow *) 0 ;
17416 PyObject * obj0 = 0 ;
17417 PyObject * obj1 = 0 ;
17418 char *kwnames[] = {
17419 (char *) "self",(char *) "child", NULL
17420 };
17421
17422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17425 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17427 {
17428 PyThreadState* __tstate = wxPyBeginAllowThreads();
17429 (arg1)->base_RemoveChild(arg2);
17430
17431 wxPyEndAllowThreads(__tstate);
17432 if (PyErr_Occurred()) SWIG_fail;
17433 }
17434 Py_INCREF(Py_None); resultobj = Py_None;
17435 return resultobj;
17436 fail:
17437 return NULL;
17438 }
17439
17440
17441 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
17442 PyObject *resultobj;
17443 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17444 bool result;
17445 PyObject * obj0 = 0 ;
17446 char *kwnames[] = {
17447 (char *) "self", NULL
17448 };
17449
17450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17453 {
17454 PyThreadState* __tstate = wxPyBeginAllowThreads();
17455 result = (bool)(arg1)->base_ShouldInheritColours();
17456
17457 wxPyEndAllowThreads(__tstate);
17458 if (PyErr_Occurred()) SWIG_fail;
17459 }
17460 {
17461 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17462 }
17463 return resultobj;
17464 fail:
17465 return NULL;
17466 }
17467
17468
17469 static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
17470 PyObject *resultobj;
17471 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17472 wxColour *arg2 = 0 ;
17473 wxColour temp2 ;
17474 PyObject * obj0 = 0 ;
17475 PyObject * obj1 = 0 ;
17476 char *kwnames[] = {
17477 (char *) "self",(char *) "c", NULL
17478 };
17479
17480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17483 {
17484 arg2 = &temp2;
17485 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17486 }
17487 {
17488 PyThreadState* __tstate = wxPyBeginAllowThreads();
17489 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17490
17491 wxPyEndAllowThreads(__tstate);
17492 if (PyErr_Occurred()) SWIG_fail;
17493 }
17494 Py_INCREF(Py_None); resultobj = Py_None;
17495 return resultobj;
17496 fail:
17497 return NULL;
17498 }
17499
17500
17501 static PyObject * PyScrolledWindow_swigregister(PyObject *self, PyObject *args) {
17502 PyObject *obj;
17503 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17504 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
17505 Py_INCREF(obj);
17506 return Py_BuildValue((char *)"");
17507 }
17508 static int _wrap_PrintoutTitleStr_set(PyObject *_val) {
17509 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
17510 return 1;
17511 }
17512
17513
17514 static PyObject *_wrap_PrintoutTitleStr_get() {
17515 PyObject *pyobj;
17516
17517 {
17518 #if wxUSE_UNICODE
17519 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17520 #else
17521 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17522 #endif
17523 }
17524 return pyobj;
17525 }
17526
17527
17528 static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) {
17529 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
17530 return 1;
17531 }
17532
17533
17534 static PyObject *_wrap_PreviewCanvasNameStr_get() {
17535 PyObject *pyobj;
17536
17537 {
17538 #if wxUSE_UNICODE
17539 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17540 #else
17541 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17542 #endif
17543 }
17544 return pyobj;
17545 }
17546
17547
17548 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17549 PyObject *resultobj;
17550 wxPrintData *result;
17551 char *kwnames[] = {
17552 NULL
17553 };
17554
17555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
17556 {
17557 PyThreadState* __tstate = wxPyBeginAllowThreads();
17558 result = (wxPrintData *)new wxPrintData();
17559
17560 wxPyEndAllowThreads(__tstate);
17561 if (PyErr_Occurred()) SWIG_fail;
17562 }
17563 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
17564 return resultobj;
17565 fail:
17566 return NULL;
17567 }
17568
17569
17570 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17571 PyObject *resultobj;
17572 wxPrintData *arg1 = (wxPrintData *) 0 ;
17573 PyObject * obj0 = 0 ;
17574 char *kwnames[] = {
17575 (char *) "self", NULL
17576 };
17577
17578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
17579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17581 {
17582 PyThreadState* __tstate = wxPyBeginAllowThreads();
17583 delete arg1;
17584
17585 wxPyEndAllowThreads(__tstate);
17586 if (PyErr_Occurred()) SWIG_fail;
17587 }
17588 Py_INCREF(Py_None); resultobj = Py_None;
17589 return resultobj;
17590 fail:
17591 return NULL;
17592 }
17593
17594
17595 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17596 PyObject *resultobj;
17597 wxPrintData *arg1 = (wxPrintData *) 0 ;
17598 int result;
17599 PyObject * obj0 = 0 ;
17600 char *kwnames[] = {
17601 (char *) "self", NULL
17602 };
17603
17604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
17605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17607 {
17608 PyThreadState* __tstate = wxPyBeginAllowThreads();
17609 result = (int)(arg1)->GetNoCopies();
17610
17611 wxPyEndAllowThreads(__tstate);
17612 if (PyErr_Occurred()) SWIG_fail;
17613 }
17614 resultobj = SWIG_FromInt((int)result);
17615 return resultobj;
17616 fail:
17617 return NULL;
17618 }
17619
17620
17621 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17622 PyObject *resultobj;
17623 wxPrintData *arg1 = (wxPrintData *) 0 ;
17624 bool result;
17625 PyObject * obj0 = 0 ;
17626 char *kwnames[] = {
17627 (char *) "self", NULL
17628 };
17629
17630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
17631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17633 {
17634 PyThreadState* __tstate = wxPyBeginAllowThreads();
17635 result = (bool)(arg1)->GetCollate();
17636
17637 wxPyEndAllowThreads(__tstate);
17638 if (PyErr_Occurred()) SWIG_fail;
17639 }
17640 {
17641 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17642 }
17643 return resultobj;
17644 fail:
17645 return NULL;
17646 }
17647
17648
17649 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17650 PyObject *resultobj;
17651 wxPrintData *arg1 = (wxPrintData *) 0 ;
17652 int result;
17653 PyObject * obj0 = 0 ;
17654 char *kwnames[] = {
17655 (char *) "self", NULL
17656 };
17657
17658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
17659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17661 {
17662 PyThreadState* __tstate = wxPyBeginAllowThreads();
17663 result = (int)(arg1)->GetOrientation();
17664
17665 wxPyEndAllowThreads(__tstate);
17666 if (PyErr_Occurred()) SWIG_fail;
17667 }
17668 resultobj = SWIG_FromInt((int)result);
17669 return resultobj;
17670 fail:
17671 return NULL;
17672 }
17673
17674
17675 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
17676 PyObject *resultobj;
17677 wxPrintData *arg1 = (wxPrintData *) 0 ;
17678 bool result;
17679 PyObject * obj0 = 0 ;
17680 char *kwnames[] = {
17681 (char *) "self", NULL
17682 };
17683
17684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
17685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17687 {
17688 PyThreadState* __tstate = wxPyBeginAllowThreads();
17689 result = (bool)(arg1)->Ok();
17690
17691 wxPyEndAllowThreads(__tstate);
17692 if (PyErr_Occurred()) SWIG_fail;
17693 }
17694 {
17695 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17696 }
17697 return resultobj;
17698 fail:
17699 return NULL;
17700 }
17701
17702
17703 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
17704 PyObject *resultobj;
17705 wxPrintData *arg1 = (wxPrintData *) 0 ;
17706 wxString *result;
17707 PyObject * obj0 = 0 ;
17708 char *kwnames[] = {
17709 (char *) "self", NULL
17710 };
17711
17712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
17713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17715 {
17716 PyThreadState* __tstate = wxPyBeginAllowThreads();
17717 {
17718 wxString const &_result_ref = (arg1)->GetPrinterName();
17719 result = (wxString *) &_result_ref;
17720 }
17721
17722 wxPyEndAllowThreads(__tstate);
17723 if (PyErr_Occurred()) SWIG_fail;
17724 }
17725 {
17726 #if wxUSE_UNICODE
17727 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17728 #else
17729 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17730 #endif
17731 }
17732 return resultobj;
17733 fail:
17734 return NULL;
17735 }
17736
17737
17738 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17739 PyObject *resultobj;
17740 wxPrintData *arg1 = (wxPrintData *) 0 ;
17741 bool result;
17742 PyObject * obj0 = 0 ;
17743 char *kwnames[] = {
17744 (char *) "self", NULL
17745 };
17746
17747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
17748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17750 {
17751 PyThreadState* __tstate = wxPyBeginAllowThreads();
17752 result = (bool)(arg1)->GetColour();
17753
17754 wxPyEndAllowThreads(__tstate);
17755 if (PyErr_Occurred()) SWIG_fail;
17756 }
17757 {
17758 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17759 }
17760 return resultobj;
17761 fail:
17762 return NULL;
17763 }
17764
17765
17766 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
17767 PyObject *resultobj;
17768 wxPrintData *arg1 = (wxPrintData *) 0 ;
17769 int result;
17770 PyObject * obj0 = 0 ;
17771 char *kwnames[] = {
17772 (char *) "self", NULL
17773 };
17774
17775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
17776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17778 {
17779 PyThreadState* __tstate = wxPyBeginAllowThreads();
17780 result = (int)(arg1)->GetDuplex();
17781
17782 wxPyEndAllowThreads(__tstate);
17783 if (PyErr_Occurred()) SWIG_fail;
17784 }
17785 resultobj = SWIG_FromInt((int)result);
17786 return resultobj;
17787 fail:
17788 return NULL;
17789 }
17790
17791
17792 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
17793 PyObject *resultobj;
17794 wxPrintData *arg1 = (wxPrintData *) 0 ;
17795 int result;
17796 PyObject * obj0 = 0 ;
17797 char *kwnames[] = {
17798 (char *) "self", NULL
17799 };
17800
17801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
17802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17804 {
17805 PyThreadState* __tstate = wxPyBeginAllowThreads();
17806 result = (int)(arg1)->GetPaperId();
17807
17808 wxPyEndAllowThreads(__tstate);
17809 if (PyErr_Occurred()) SWIG_fail;
17810 }
17811 resultobj = SWIG_FromInt((int)result);
17812 return resultobj;
17813 fail:
17814 return NULL;
17815 }
17816
17817
17818 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17819 PyObject *resultobj;
17820 wxPrintData *arg1 = (wxPrintData *) 0 ;
17821 wxSize *result;
17822 PyObject * obj0 = 0 ;
17823 char *kwnames[] = {
17824 (char *) "self", NULL
17825 };
17826
17827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
17828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17830 {
17831 PyThreadState* __tstate = wxPyBeginAllowThreads();
17832 {
17833 wxSize const &_result_ref = (arg1)->GetPaperSize();
17834 result = (wxSize *) &_result_ref;
17835 }
17836
17837 wxPyEndAllowThreads(__tstate);
17838 if (PyErr_Occurred()) SWIG_fail;
17839 }
17840 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
17841 return resultobj;
17842 fail:
17843 return NULL;
17844 }
17845
17846
17847 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
17848 PyObject *resultobj;
17849 wxPrintData *arg1 = (wxPrintData *) 0 ;
17850 int result;
17851 PyObject * obj0 = 0 ;
17852 char *kwnames[] = {
17853 (char *) "self", NULL
17854 };
17855
17856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
17857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17859 {
17860 PyThreadState* __tstate = wxPyBeginAllowThreads();
17861 result = (int)(arg1)->GetQuality();
17862
17863 wxPyEndAllowThreads(__tstate);
17864 if (PyErr_Occurred()) SWIG_fail;
17865 }
17866 resultobj = SWIG_FromInt((int)result);
17867 return resultobj;
17868 fail:
17869 return NULL;
17870 }
17871
17872
17873 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17874 PyObject *resultobj;
17875 wxPrintData *arg1 = (wxPrintData *) 0 ;
17876 int arg2 ;
17877 PyObject * obj0 = 0 ;
17878 PyObject * obj1 = 0 ;
17879 char *kwnames[] = {
17880 (char *) "self",(char *) "v", NULL
17881 };
17882
17883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
17884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17886 arg2 = (int) SWIG_AsInt(obj1);
17887 if (PyErr_Occurred()) SWIG_fail;
17888 {
17889 PyThreadState* __tstate = wxPyBeginAllowThreads();
17890 (arg1)->SetNoCopies(arg2);
17891
17892 wxPyEndAllowThreads(__tstate);
17893 if (PyErr_Occurred()) SWIG_fail;
17894 }
17895 Py_INCREF(Py_None); resultobj = Py_None;
17896 return resultobj;
17897 fail:
17898 return NULL;
17899 }
17900
17901
17902 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17903 PyObject *resultobj;
17904 wxPrintData *arg1 = (wxPrintData *) 0 ;
17905 bool arg2 ;
17906 PyObject * obj0 = 0 ;
17907 PyObject * obj1 = 0 ;
17908 char *kwnames[] = {
17909 (char *) "self",(char *) "flag", NULL
17910 };
17911
17912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
17913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17915 arg2 = (bool) SWIG_AsBool(obj1);
17916 if (PyErr_Occurred()) SWIG_fail;
17917 {
17918 PyThreadState* __tstate = wxPyBeginAllowThreads();
17919 (arg1)->SetCollate(arg2);
17920
17921 wxPyEndAllowThreads(__tstate);
17922 if (PyErr_Occurred()) SWIG_fail;
17923 }
17924 Py_INCREF(Py_None); resultobj = Py_None;
17925 return resultobj;
17926 fail:
17927 return NULL;
17928 }
17929
17930
17931 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17932 PyObject *resultobj;
17933 wxPrintData *arg1 = (wxPrintData *) 0 ;
17934 int arg2 ;
17935 PyObject * obj0 = 0 ;
17936 PyObject * obj1 = 0 ;
17937 char *kwnames[] = {
17938 (char *) "self",(char *) "orient", NULL
17939 };
17940
17941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
17942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17944 arg2 = (int) SWIG_AsInt(obj1);
17945 if (PyErr_Occurred()) SWIG_fail;
17946 {
17947 PyThreadState* __tstate = wxPyBeginAllowThreads();
17948 (arg1)->SetOrientation(arg2);
17949
17950 wxPyEndAllowThreads(__tstate);
17951 if (PyErr_Occurred()) SWIG_fail;
17952 }
17953 Py_INCREF(Py_None); resultobj = Py_None;
17954 return resultobj;
17955 fail:
17956 return NULL;
17957 }
17958
17959
17960 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
17961 PyObject *resultobj;
17962 wxPrintData *arg1 = (wxPrintData *) 0 ;
17963 wxString *arg2 = 0 ;
17964 bool temp2 = False ;
17965 PyObject * obj0 = 0 ;
17966 PyObject * obj1 = 0 ;
17967 char *kwnames[] = {
17968 (char *) "self",(char *) "name", NULL
17969 };
17970
17971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
17972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17974 {
17975 arg2 = wxString_in_helper(obj1);
17976 if (arg2 == NULL) SWIG_fail;
17977 temp2 = True;
17978 }
17979 {
17980 PyThreadState* __tstate = wxPyBeginAllowThreads();
17981 (arg1)->SetPrinterName((wxString const &)*arg2);
17982
17983 wxPyEndAllowThreads(__tstate);
17984 if (PyErr_Occurred()) SWIG_fail;
17985 }
17986 Py_INCREF(Py_None); resultobj = Py_None;
17987 {
17988 if (temp2)
17989 delete arg2;
17990 }
17991 return resultobj;
17992 fail:
17993 {
17994 if (temp2)
17995 delete arg2;
17996 }
17997 return NULL;
17998 }
17999
18000
18001 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18002 PyObject *resultobj;
18003 wxPrintData *arg1 = (wxPrintData *) 0 ;
18004 bool arg2 ;
18005 PyObject * obj0 = 0 ;
18006 PyObject * obj1 = 0 ;
18007 char *kwnames[] = {
18008 (char *) "self",(char *) "colour", NULL
18009 };
18010
18011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
18012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18014 arg2 = (bool) SWIG_AsBool(obj1);
18015 if (PyErr_Occurred()) SWIG_fail;
18016 {
18017 PyThreadState* __tstate = wxPyBeginAllowThreads();
18018 (arg1)->SetColour(arg2);
18019
18020 wxPyEndAllowThreads(__tstate);
18021 if (PyErr_Occurred()) SWIG_fail;
18022 }
18023 Py_INCREF(Py_None); resultobj = Py_None;
18024 return resultobj;
18025 fail:
18026 return NULL;
18027 }
18028
18029
18030 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
18031 PyObject *resultobj;
18032 wxPrintData *arg1 = (wxPrintData *) 0 ;
18033 int arg2 ;
18034 PyObject * obj0 = 0 ;
18035 PyObject * obj1 = 0 ;
18036 char *kwnames[] = {
18037 (char *) "self",(char *) "duplex", NULL
18038 };
18039
18040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
18041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18043 arg2 = (wxDuplexMode) SWIG_AsInt(obj1);
18044 if (PyErr_Occurred()) SWIG_fail;
18045 {
18046 PyThreadState* __tstate = wxPyBeginAllowThreads();
18047 (arg1)->SetDuplex((wxDuplexMode )arg2);
18048
18049 wxPyEndAllowThreads(__tstate);
18050 if (PyErr_Occurred()) SWIG_fail;
18051 }
18052 Py_INCREF(Py_None); resultobj = Py_None;
18053 return resultobj;
18054 fail:
18055 return NULL;
18056 }
18057
18058
18059 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18060 PyObject *resultobj;
18061 wxPrintData *arg1 = (wxPrintData *) 0 ;
18062 int arg2 ;
18063 PyObject * obj0 = 0 ;
18064 PyObject * obj1 = 0 ;
18065 char *kwnames[] = {
18066 (char *) "self",(char *) "sizeId", NULL
18067 };
18068
18069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
18070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18072 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
18073 if (PyErr_Occurred()) SWIG_fail;
18074 {
18075 PyThreadState* __tstate = wxPyBeginAllowThreads();
18076 (arg1)->SetPaperId((wxPaperSize )arg2);
18077
18078 wxPyEndAllowThreads(__tstate);
18079 if (PyErr_Occurred()) SWIG_fail;
18080 }
18081 Py_INCREF(Py_None); resultobj = Py_None;
18082 return resultobj;
18083 fail:
18084 return NULL;
18085 }
18086
18087
18088 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18089 PyObject *resultobj;
18090 wxPrintData *arg1 = (wxPrintData *) 0 ;
18091 wxSize *arg2 = 0 ;
18092 wxSize temp2 ;
18093 PyObject * obj0 = 0 ;
18094 PyObject * obj1 = 0 ;
18095 char *kwnames[] = {
18096 (char *) "self",(char *) "sz", NULL
18097 };
18098
18099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
18100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18102 {
18103 arg2 = &temp2;
18104 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18105 }
18106 {
18107 PyThreadState* __tstate = wxPyBeginAllowThreads();
18108 (arg1)->SetPaperSize((wxSize const &)*arg2);
18109
18110 wxPyEndAllowThreads(__tstate);
18111 if (PyErr_Occurred()) SWIG_fail;
18112 }
18113 Py_INCREF(Py_None); resultobj = Py_None;
18114 return resultobj;
18115 fail:
18116 return NULL;
18117 }
18118
18119
18120 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
18121 PyObject *resultobj;
18122 wxPrintData *arg1 = (wxPrintData *) 0 ;
18123 int arg2 ;
18124 PyObject * obj0 = 0 ;
18125 PyObject * obj1 = 0 ;
18126 char *kwnames[] = {
18127 (char *) "self",(char *) "quality", NULL
18128 };
18129
18130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
18131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18133 arg2 = (int) SWIG_AsInt(obj1);
18134 if (PyErr_Occurred()) SWIG_fail;
18135 {
18136 PyThreadState* __tstate = wxPyBeginAllowThreads();
18137 (arg1)->SetQuality(arg2);
18138
18139 wxPyEndAllowThreads(__tstate);
18140 if (PyErr_Occurred()) SWIG_fail;
18141 }
18142 Py_INCREF(Py_None); resultobj = Py_None;
18143 return resultobj;
18144 fail:
18145 return NULL;
18146 }
18147
18148
18149 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18150 PyObject *resultobj;
18151 wxPrintData *arg1 = (wxPrintData *) 0 ;
18152 wxString *result;
18153 PyObject * obj0 = 0 ;
18154 char *kwnames[] = {
18155 (char *) "self", NULL
18156 };
18157
18158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
18159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18161 {
18162 PyThreadState* __tstate = wxPyBeginAllowThreads();
18163 {
18164 wxString const &_result_ref = (arg1)->GetPrinterCommand();
18165 result = (wxString *) &_result_ref;
18166 }
18167
18168 wxPyEndAllowThreads(__tstate);
18169 if (PyErr_Occurred()) SWIG_fail;
18170 }
18171 {
18172 #if wxUSE_UNICODE
18173 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18174 #else
18175 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18176 #endif
18177 }
18178 return resultobj;
18179 fail:
18180 return NULL;
18181 }
18182
18183
18184 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18185 PyObject *resultobj;
18186 wxPrintData *arg1 = (wxPrintData *) 0 ;
18187 wxString *result;
18188 PyObject * obj0 = 0 ;
18189 char *kwnames[] = {
18190 (char *) "self", NULL
18191 };
18192
18193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
18194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18196 {
18197 PyThreadState* __tstate = wxPyBeginAllowThreads();
18198 {
18199 wxString const &_result_ref = (arg1)->GetPrinterOptions();
18200 result = (wxString *) &_result_ref;
18201 }
18202
18203 wxPyEndAllowThreads(__tstate);
18204 if (PyErr_Occurred()) SWIG_fail;
18205 }
18206 {
18207 #if wxUSE_UNICODE
18208 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18209 #else
18210 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18211 #endif
18212 }
18213 return resultobj;
18214 fail:
18215 return NULL;
18216 }
18217
18218
18219 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18220 PyObject *resultobj;
18221 wxPrintData *arg1 = (wxPrintData *) 0 ;
18222 wxString *result;
18223 PyObject * obj0 = 0 ;
18224 char *kwnames[] = {
18225 (char *) "self", NULL
18226 };
18227
18228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
18229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18231 {
18232 PyThreadState* __tstate = wxPyBeginAllowThreads();
18233 {
18234 wxString const &_result_ref = (arg1)->GetPreviewCommand();
18235 result = (wxString *) &_result_ref;
18236 }
18237
18238 wxPyEndAllowThreads(__tstate);
18239 if (PyErr_Occurred()) SWIG_fail;
18240 }
18241 {
18242 #if wxUSE_UNICODE
18243 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18244 #else
18245 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18246 #endif
18247 }
18248 return resultobj;
18249 fail:
18250 return NULL;
18251 }
18252
18253
18254 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18255 PyObject *resultobj;
18256 wxPrintData *arg1 = (wxPrintData *) 0 ;
18257 wxString *result;
18258 PyObject * obj0 = 0 ;
18259 char *kwnames[] = {
18260 (char *) "self", NULL
18261 };
18262
18263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
18264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18266 {
18267 PyThreadState* __tstate = wxPyBeginAllowThreads();
18268 {
18269 wxString const &_result_ref = (arg1)->GetFilename();
18270 result = (wxString *) &_result_ref;
18271 }
18272
18273 wxPyEndAllowThreads(__tstate);
18274 if (PyErr_Occurred()) SWIG_fail;
18275 }
18276 {
18277 #if wxUSE_UNICODE
18278 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18279 #else
18280 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18281 #endif
18282 }
18283 return resultobj;
18284 fail:
18285 return NULL;
18286 }
18287
18288
18289 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18290 PyObject *resultobj;
18291 wxPrintData *arg1 = (wxPrintData *) 0 ;
18292 wxString *result;
18293 PyObject * obj0 = 0 ;
18294 char *kwnames[] = {
18295 (char *) "self", NULL
18296 };
18297
18298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",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 {
18304 wxString const &_result_ref = (arg1)->GetFontMetricPath();
18305 result = (wxString *) &_result_ref;
18306 }
18307
18308 wxPyEndAllowThreads(__tstate);
18309 if (PyErr_Occurred()) SWIG_fail;
18310 }
18311 {
18312 #if wxUSE_UNICODE
18313 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18314 #else
18315 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18316 #endif
18317 }
18318 return resultobj;
18319 fail:
18320 return NULL;
18321 }
18322
18323
18324 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18325 PyObject *resultobj;
18326 wxPrintData *arg1 = (wxPrintData *) 0 ;
18327 double result;
18328 PyObject * obj0 = 0 ;
18329 char *kwnames[] = {
18330 (char *) "self", NULL
18331 };
18332
18333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
18334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18336 {
18337 PyThreadState* __tstate = wxPyBeginAllowThreads();
18338 result = (double)(arg1)->GetPrinterScaleX();
18339
18340 wxPyEndAllowThreads(__tstate);
18341 if (PyErr_Occurred()) SWIG_fail;
18342 }
18343 resultobj = SWIG_FromDouble((double)result);
18344 return resultobj;
18345 fail:
18346 return NULL;
18347 }
18348
18349
18350 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18351 PyObject *resultobj;
18352 wxPrintData *arg1 = (wxPrintData *) 0 ;
18353 double result;
18354 PyObject * obj0 = 0 ;
18355 char *kwnames[] = {
18356 (char *) "self", NULL
18357 };
18358
18359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
18360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18362 {
18363 PyThreadState* __tstate = wxPyBeginAllowThreads();
18364 result = (double)(arg1)->GetPrinterScaleY();
18365
18366 wxPyEndAllowThreads(__tstate);
18367 if (PyErr_Occurred()) SWIG_fail;
18368 }
18369 resultobj = SWIG_FromDouble((double)result);
18370 return resultobj;
18371 fail:
18372 return NULL;
18373 }
18374
18375
18376 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
18377 PyObject *resultobj;
18378 wxPrintData *arg1 = (wxPrintData *) 0 ;
18379 long result;
18380 PyObject * obj0 = 0 ;
18381 char *kwnames[] = {
18382 (char *) "self", NULL
18383 };
18384
18385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
18386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18388 {
18389 PyThreadState* __tstate = wxPyBeginAllowThreads();
18390 result = (long)(arg1)->GetPrinterTranslateX();
18391
18392 wxPyEndAllowThreads(__tstate);
18393 if (PyErr_Occurred()) SWIG_fail;
18394 }
18395 resultobj = SWIG_FromLong((long)result);
18396 return resultobj;
18397 fail:
18398 return NULL;
18399 }
18400
18401
18402 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
18403 PyObject *resultobj;
18404 wxPrintData *arg1 = (wxPrintData *) 0 ;
18405 long result;
18406 PyObject * obj0 = 0 ;
18407 char *kwnames[] = {
18408 (char *) "self", NULL
18409 };
18410
18411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
18412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18414 {
18415 PyThreadState* __tstate = wxPyBeginAllowThreads();
18416 result = (long)(arg1)->GetPrinterTranslateY();
18417
18418 wxPyEndAllowThreads(__tstate);
18419 if (PyErr_Occurred()) SWIG_fail;
18420 }
18421 resultobj = SWIG_FromLong((long)result);
18422 return resultobj;
18423 fail:
18424 return NULL;
18425 }
18426
18427
18428 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18429 PyObject *resultobj;
18430 wxPrintData *arg1 = (wxPrintData *) 0 ;
18431 int result;
18432 PyObject * obj0 = 0 ;
18433 char *kwnames[] = {
18434 (char *) "self", NULL
18435 };
18436
18437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
18438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18440 {
18441 PyThreadState* __tstate = wxPyBeginAllowThreads();
18442 result = (int)(arg1)->GetPrintMode();
18443
18444 wxPyEndAllowThreads(__tstate);
18445 if (PyErr_Occurred()) SWIG_fail;
18446 }
18447 resultobj = SWIG_FromInt((int)result);
18448 return resultobj;
18449 fail:
18450 return NULL;
18451 }
18452
18453
18454 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18455 PyObject *resultobj;
18456 wxPrintData *arg1 = (wxPrintData *) 0 ;
18457 wxString *arg2 = 0 ;
18458 bool temp2 = False ;
18459 PyObject * obj0 = 0 ;
18460 PyObject * obj1 = 0 ;
18461 char *kwnames[] = {
18462 (char *) "self",(char *) "command", NULL
18463 };
18464
18465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
18466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18468 {
18469 arg2 = wxString_in_helper(obj1);
18470 if (arg2 == NULL) SWIG_fail;
18471 temp2 = True;
18472 }
18473 {
18474 PyThreadState* __tstate = wxPyBeginAllowThreads();
18475 (arg1)->SetPrinterCommand((wxString const &)*arg2);
18476
18477 wxPyEndAllowThreads(__tstate);
18478 if (PyErr_Occurred()) SWIG_fail;
18479 }
18480 Py_INCREF(Py_None); resultobj = Py_None;
18481 {
18482 if (temp2)
18483 delete arg2;
18484 }
18485 return resultobj;
18486 fail:
18487 {
18488 if (temp2)
18489 delete arg2;
18490 }
18491 return NULL;
18492 }
18493
18494
18495 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18496 PyObject *resultobj;
18497 wxPrintData *arg1 = (wxPrintData *) 0 ;
18498 wxString *arg2 = 0 ;
18499 bool temp2 = False ;
18500 PyObject * obj0 = 0 ;
18501 PyObject * obj1 = 0 ;
18502 char *kwnames[] = {
18503 (char *) "self",(char *) "options", NULL
18504 };
18505
18506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
18507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18509 {
18510 arg2 = wxString_in_helper(obj1);
18511 if (arg2 == NULL) SWIG_fail;
18512 temp2 = True;
18513 }
18514 {
18515 PyThreadState* __tstate = wxPyBeginAllowThreads();
18516 (arg1)->SetPrinterOptions((wxString const &)*arg2);
18517
18518 wxPyEndAllowThreads(__tstate);
18519 if (PyErr_Occurred()) SWIG_fail;
18520 }
18521 Py_INCREF(Py_None); resultobj = Py_None;
18522 {
18523 if (temp2)
18524 delete arg2;
18525 }
18526 return resultobj;
18527 fail:
18528 {
18529 if (temp2)
18530 delete arg2;
18531 }
18532 return NULL;
18533 }
18534
18535
18536 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18537 PyObject *resultobj;
18538 wxPrintData *arg1 = (wxPrintData *) 0 ;
18539 wxString *arg2 = 0 ;
18540 bool temp2 = False ;
18541 PyObject * obj0 = 0 ;
18542 PyObject * obj1 = 0 ;
18543 char *kwnames[] = {
18544 (char *) "self",(char *) "command", NULL
18545 };
18546
18547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
18548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18550 {
18551 arg2 = wxString_in_helper(obj1);
18552 if (arg2 == NULL) SWIG_fail;
18553 temp2 = True;
18554 }
18555 {
18556 PyThreadState* __tstate = wxPyBeginAllowThreads();
18557 (arg1)->SetPreviewCommand((wxString const &)*arg2);
18558
18559 wxPyEndAllowThreads(__tstate);
18560 if (PyErr_Occurred()) SWIG_fail;
18561 }
18562 Py_INCREF(Py_None); resultobj = Py_None;
18563 {
18564 if (temp2)
18565 delete arg2;
18566 }
18567 return resultobj;
18568 fail:
18569 {
18570 if (temp2)
18571 delete arg2;
18572 }
18573 return NULL;
18574 }
18575
18576
18577 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18578 PyObject *resultobj;
18579 wxPrintData *arg1 = (wxPrintData *) 0 ;
18580 wxString *arg2 = 0 ;
18581 bool temp2 = False ;
18582 PyObject * obj0 = 0 ;
18583 PyObject * obj1 = 0 ;
18584 char *kwnames[] = {
18585 (char *) "self",(char *) "filename", NULL
18586 };
18587
18588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
18589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18591 {
18592 arg2 = wxString_in_helper(obj1);
18593 if (arg2 == NULL) SWIG_fail;
18594 temp2 = True;
18595 }
18596 {
18597 PyThreadState* __tstate = wxPyBeginAllowThreads();
18598 (arg1)->SetFilename((wxString const &)*arg2);
18599
18600 wxPyEndAllowThreads(__tstate);
18601 if (PyErr_Occurred()) SWIG_fail;
18602 }
18603 Py_INCREF(Py_None); resultobj = Py_None;
18604 {
18605 if (temp2)
18606 delete arg2;
18607 }
18608 return resultobj;
18609 fail:
18610 {
18611 if (temp2)
18612 delete arg2;
18613 }
18614 return NULL;
18615 }
18616
18617
18618 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18619 PyObject *resultobj;
18620 wxPrintData *arg1 = (wxPrintData *) 0 ;
18621 wxString *arg2 = 0 ;
18622 bool temp2 = False ;
18623 PyObject * obj0 = 0 ;
18624 PyObject * obj1 = 0 ;
18625 char *kwnames[] = {
18626 (char *) "self",(char *) "path", NULL
18627 };
18628
18629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
18630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18632 {
18633 arg2 = wxString_in_helper(obj1);
18634 if (arg2 == NULL) SWIG_fail;
18635 temp2 = True;
18636 }
18637 {
18638 PyThreadState* __tstate = wxPyBeginAllowThreads();
18639 (arg1)->SetFontMetricPath((wxString const &)*arg2);
18640
18641 wxPyEndAllowThreads(__tstate);
18642 if (PyErr_Occurred()) SWIG_fail;
18643 }
18644 Py_INCREF(Py_None); resultobj = Py_None;
18645 {
18646 if (temp2)
18647 delete arg2;
18648 }
18649 return resultobj;
18650 fail:
18651 {
18652 if (temp2)
18653 delete arg2;
18654 }
18655 return NULL;
18656 }
18657
18658
18659 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18660 PyObject *resultobj;
18661 wxPrintData *arg1 = (wxPrintData *) 0 ;
18662 double arg2 ;
18663 PyObject * obj0 = 0 ;
18664 PyObject * obj1 = 0 ;
18665 char *kwnames[] = {
18666 (char *) "self",(char *) "x", NULL
18667 };
18668
18669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
18670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18672 arg2 = (double) SWIG_AsDouble(obj1);
18673 if (PyErr_Occurred()) SWIG_fail;
18674 {
18675 PyThreadState* __tstate = wxPyBeginAllowThreads();
18676 (arg1)->SetPrinterScaleX(arg2);
18677
18678 wxPyEndAllowThreads(__tstate);
18679 if (PyErr_Occurred()) SWIG_fail;
18680 }
18681 Py_INCREF(Py_None); resultobj = Py_None;
18682 return resultobj;
18683 fail:
18684 return NULL;
18685 }
18686
18687
18688 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18689 PyObject *resultobj;
18690 wxPrintData *arg1 = (wxPrintData *) 0 ;
18691 double arg2 ;
18692 PyObject * obj0 = 0 ;
18693 PyObject * obj1 = 0 ;
18694 char *kwnames[] = {
18695 (char *) "self",(char *) "y", NULL
18696 };
18697
18698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
18699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18701 arg2 = (double) SWIG_AsDouble(obj1);
18702 if (PyErr_Occurred()) SWIG_fail;
18703 {
18704 PyThreadState* __tstate = wxPyBeginAllowThreads();
18705 (arg1)->SetPrinterScaleY(arg2);
18706
18707 wxPyEndAllowThreads(__tstate);
18708 if (PyErr_Occurred()) SWIG_fail;
18709 }
18710 Py_INCREF(Py_None); resultobj = Py_None;
18711 return resultobj;
18712 fail:
18713 return NULL;
18714 }
18715
18716
18717 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
18718 PyObject *resultobj;
18719 wxPrintData *arg1 = (wxPrintData *) 0 ;
18720 double arg2 ;
18721 double arg3 ;
18722 PyObject * obj0 = 0 ;
18723 PyObject * obj1 = 0 ;
18724 PyObject * obj2 = 0 ;
18725 char *kwnames[] = {
18726 (char *) "self",(char *) "x",(char *) "y", NULL
18727 };
18728
18729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
18730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18732 arg2 = (double) SWIG_AsDouble(obj1);
18733 if (PyErr_Occurred()) SWIG_fail;
18734 arg3 = (double) SWIG_AsDouble(obj2);
18735 if (PyErr_Occurred()) SWIG_fail;
18736 {
18737 PyThreadState* __tstate = wxPyBeginAllowThreads();
18738 (arg1)->SetPrinterScaling(arg2,arg3);
18739
18740 wxPyEndAllowThreads(__tstate);
18741 if (PyErr_Occurred()) SWIG_fail;
18742 }
18743 Py_INCREF(Py_None); resultobj = Py_None;
18744 return resultobj;
18745 fail:
18746 return NULL;
18747 }
18748
18749
18750 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
18751 PyObject *resultobj;
18752 wxPrintData *arg1 = (wxPrintData *) 0 ;
18753 long arg2 ;
18754 PyObject * obj0 = 0 ;
18755 PyObject * obj1 = 0 ;
18756 char *kwnames[] = {
18757 (char *) "self",(char *) "x", NULL
18758 };
18759
18760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
18761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18763 arg2 = (long) SWIG_AsLong(obj1);
18764 if (PyErr_Occurred()) SWIG_fail;
18765 {
18766 PyThreadState* __tstate = wxPyBeginAllowThreads();
18767 (arg1)->SetPrinterTranslateX(arg2);
18768
18769 wxPyEndAllowThreads(__tstate);
18770 if (PyErr_Occurred()) SWIG_fail;
18771 }
18772 Py_INCREF(Py_None); resultobj = Py_None;
18773 return resultobj;
18774 fail:
18775 return NULL;
18776 }
18777
18778
18779 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
18780 PyObject *resultobj;
18781 wxPrintData *arg1 = (wxPrintData *) 0 ;
18782 long arg2 ;
18783 PyObject * obj0 = 0 ;
18784 PyObject * obj1 = 0 ;
18785 char *kwnames[] = {
18786 (char *) "self",(char *) "y", NULL
18787 };
18788
18789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
18790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18792 arg2 = (long) SWIG_AsLong(obj1);
18793 if (PyErr_Occurred()) SWIG_fail;
18794 {
18795 PyThreadState* __tstate = wxPyBeginAllowThreads();
18796 (arg1)->SetPrinterTranslateY(arg2);
18797
18798 wxPyEndAllowThreads(__tstate);
18799 if (PyErr_Occurred()) SWIG_fail;
18800 }
18801 Py_INCREF(Py_None); resultobj = Py_None;
18802 return resultobj;
18803 fail:
18804 return NULL;
18805 }
18806
18807
18808 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
18809 PyObject *resultobj;
18810 wxPrintData *arg1 = (wxPrintData *) 0 ;
18811 long arg2 ;
18812 long arg3 ;
18813 PyObject * obj0 = 0 ;
18814 PyObject * obj1 = 0 ;
18815 PyObject * obj2 = 0 ;
18816 char *kwnames[] = {
18817 (char *) "self",(char *) "x",(char *) "y", NULL
18818 };
18819
18820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
18821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18823 arg2 = (long) SWIG_AsLong(obj1);
18824 if (PyErr_Occurred()) SWIG_fail;
18825 arg3 = (long) SWIG_AsLong(obj2);
18826 if (PyErr_Occurred()) SWIG_fail;
18827 {
18828 PyThreadState* __tstate = wxPyBeginAllowThreads();
18829 (arg1)->SetPrinterTranslation(arg2,arg3);
18830
18831 wxPyEndAllowThreads(__tstate);
18832 if (PyErr_Occurred()) SWIG_fail;
18833 }
18834 Py_INCREF(Py_None); resultobj = Py_None;
18835 return resultobj;
18836 fail:
18837 return NULL;
18838 }
18839
18840
18841 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18842 PyObject *resultobj;
18843 wxPrintData *arg1 = (wxPrintData *) 0 ;
18844 int arg2 ;
18845 PyObject * obj0 = 0 ;
18846 PyObject * obj1 = 0 ;
18847 char *kwnames[] = {
18848 (char *) "self",(char *) "printMode", NULL
18849 };
18850
18851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
18852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18854 arg2 = (wxPrintMode) SWIG_AsInt(obj1);
18855 if (PyErr_Occurred()) SWIG_fail;
18856 {
18857 PyThreadState* __tstate = wxPyBeginAllowThreads();
18858 (arg1)->SetPrintMode((wxPrintMode )arg2);
18859
18860 wxPyEndAllowThreads(__tstate);
18861 if (PyErr_Occurred()) SWIG_fail;
18862 }
18863 Py_INCREF(Py_None); resultobj = Py_None;
18864 return resultobj;
18865 fail:
18866 return NULL;
18867 }
18868
18869
18870 static PyObject *_wrap_PrintData_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
18871 PyObject *resultobj;
18872 wxPrintData *arg1 = (wxPrintData *) 0 ;
18873 wxOutputStream *result;
18874 PyObject * obj0 = 0 ;
18875 char *kwnames[] = {
18876 (char *) "self", NULL
18877 };
18878
18879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
18880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18882 {
18883 PyThreadState* __tstate = wxPyBeginAllowThreads();
18884 result = (wxOutputStream *)(arg1)->GetOutputStream();
18885
18886 wxPyEndAllowThreads(__tstate);
18887 if (PyErr_Occurred()) SWIG_fail;
18888 }
18889 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
18890 return resultobj;
18891 fail:
18892 return NULL;
18893 }
18894
18895
18896 static PyObject *_wrap_PrintData_SetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
18897 PyObject *resultobj;
18898 wxPrintData *arg1 = (wxPrintData *) 0 ;
18899 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
18900 PyObject * obj0 = 0 ;
18901 PyObject * obj1 = 0 ;
18902 char *kwnames[] = {
18903 (char *) "self",(char *) "outputstream", NULL
18904 };
18905
18906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
18907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18909 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
18910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18911 {
18912 PyThreadState* __tstate = wxPyBeginAllowThreads();
18913 (arg1)->SetOutputStream(arg2);
18914
18915 wxPyEndAllowThreads(__tstate);
18916 if (PyErr_Occurred()) SWIG_fail;
18917 }
18918 Py_INCREF(Py_None); resultobj = Py_None;
18919 return resultobj;
18920 fail:
18921 return NULL;
18922 }
18923
18924
18925 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
18926 PyObject *obj;
18927 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18928 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
18929 Py_INCREF(obj);
18930 return Py_BuildValue((char *)"");
18931 }
18932 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18933 PyObject *resultobj;
18934 wxPageSetupDialogData *result;
18935 char *kwnames[] = {
18936 NULL
18937 };
18938
18939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
18940 {
18941 PyThreadState* __tstate = wxPyBeginAllowThreads();
18942 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
18943
18944 wxPyEndAllowThreads(__tstate);
18945 if (PyErr_Occurred()) SWIG_fail;
18946 }
18947 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
18948 return resultobj;
18949 fail:
18950 return NULL;
18951 }
18952
18953
18954 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18955 PyObject *resultobj;
18956 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18957 PyObject * obj0 = 0 ;
18958 char *kwnames[] = {
18959 (char *) "self", NULL
18960 };
18961
18962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
18963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18965 {
18966 PyThreadState* __tstate = wxPyBeginAllowThreads();
18967 delete arg1;
18968
18969 wxPyEndAllowThreads(__tstate);
18970 if (PyErr_Occurred()) SWIG_fail;
18971 }
18972 Py_INCREF(Py_None); resultobj = Py_None;
18973 return resultobj;
18974 fail:
18975 return NULL;
18976 }
18977
18978
18979 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
18980 PyObject *resultobj;
18981 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18982 bool arg2 ;
18983 PyObject * obj0 = 0 ;
18984 PyObject * obj1 = 0 ;
18985 char *kwnames[] = {
18986 (char *) "self",(char *) "flag", NULL
18987 };
18988
18989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
18990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18992 arg2 = (bool) SWIG_AsBool(obj1);
18993 if (PyErr_Occurred()) SWIG_fail;
18994 {
18995 PyThreadState* __tstate = wxPyBeginAllowThreads();
18996 (arg1)->EnableHelp(arg2);
18997
18998 wxPyEndAllowThreads(__tstate);
18999 if (PyErr_Occurred()) SWIG_fail;
19000 }
19001 Py_INCREF(Py_None); resultobj = Py_None;
19002 return resultobj;
19003 fail:
19004 return NULL;
19005 }
19006
19007
19008 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19009 PyObject *resultobj;
19010 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19011 bool arg2 ;
19012 PyObject * obj0 = 0 ;
19013 PyObject * obj1 = 0 ;
19014 char *kwnames[] = {
19015 (char *) "self",(char *) "flag", NULL
19016 };
19017
19018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
19019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19021 arg2 = (bool) SWIG_AsBool(obj1);
19022 if (PyErr_Occurred()) SWIG_fail;
19023 {
19024 PyThreadState* __tstate = wxPyBeginAllowThreads();
19025 (arg1)->EnableMargins(arg2);
19026
19027 wxPyEndAllowThreads(__tstate);
19028 if (PyErr_Occurred()) SWIG_fail;
19029 }
19030 Py_INCREF(Py_None); resultobj = Py_None;
19031 return resultobj;
19032 fail:
19033 return NULL;
19034 }
19035
19036
19037 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
19038 PyObject *resultobj;
19039 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19040 bool arg2 ;
19041 PyObject * obj0 = 0 ;
19042 PyObject * obj1 = 0 ;
19043 char *kwnames[] = {
19044 (char *) "self",(char *) "flag", NULL
19045 };
19046
19047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
19048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19050 arg2 = (bool) SWIG_AsBool(obj1);
19051 if (PyErr_Occurred()) SWIG_fail;
19052 {
19053 PyThreadState* __tstate = wxPyBeginAllowThreads();
19054 (arg1)->EnableOrientation(arg2);
19055
19056 wxPyEndAllowThreads(__tstate);
19057 if (PyErr_Occurred()) SWIG_fail;
19058 }
19059 Py_INCREF(Py_None); resultobj = Py_None;
19060 return resultobj;
19061 fail:
19062 return NULL;
19063 }
19064
19065
19066 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
19067 PyObject *resultobj;
19068 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19069 bool arg2 ;
19070 PyObject * obj0 = 0 ;
19071 PyObject * obj1 = 0 ;
19072 char *kwnames[] = {
19073 (char *) "self",(char *) "flag", NULL
19074 };
19075
19076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
19077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19079 arg2 = (bool) SWIG_AsBool(obj1);
19080 if (PyErr_Occurred()) SWIG_fail;
19081 {
19082 PyThreadState* __tstate = wxPyBeginAllowThreads();
19083 (arg1)->EnablePaper(arg2);
19084
19085 wxPyEndAllowThreads(__tstate);
19086 if (PyErr_Occurred()) SWIG_fail;
19087 }
19088 Py_INCREF(Py_None); resultobj = Py_None;
19089 return resultobj;
19090 fail:
19091 return NULL;
19092 }
19093
19094
19095 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19096 PyObject *resultobj;
19097 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19098 bool arg2 ;
19099 PyObject * obj0 = 0 ;
19100 PyObject * obj1 = 0 ;
19101 char *kwnames[] = {
19102 (char *) "self",(char *) "flag", NULL
19103 };
19104
19105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
19106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19108 arg2 = (bool) SWIG_AsBool(obj1);
19109 if (PyErr_Occurred()) SWIG_fail;
19110 {
19111 PyThreadState* __tstate = wxPyBeginAllowThreads();
19112 (arg1)->EnablePrinter(arg2);
19113
19114 wxPyEndAllowThreads(__tstate);
19115 if (PyErr_Occurred()) SWIG_fail;
19116 }
19117 Py_INCREF(Py_None); resultobj = Py_None;
19118 return resultobj;
19119 fail:
19120 return NULL;
19121 }
19122
19123
19124 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19125 PyObject *resultobj;
19126 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19127 bool result;
19128 PyObject * obj0 = 0 ;
19129 char *kwnames[] = {
19130 (char *) "self", NULL
19131 };
19132
19133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
19134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19136 {
19137 PyThreadState* __tstate = wxPyBeginAllowThreads();
19138 result = (bool)(arg1)->GetDefaultMinMargins();
19139
19140 wxPyEndAllowThreads(__tstate);
19141 if (PyErr_Occurred()) SWIG_fail;
19142 }
19143 {
19144 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19145 }
19146 return resultobj;
19147 fail:
19148 return NULL;
19149 }
19150
19151
19152 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19153 PyObject *resultobj;
19154 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19155 bool result;
19156 PyObject * obj0 = 0 ;
19157 char *kwnames[] = {
19158 (char *) "self", NULL
19159 };
19160
19161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
19162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19164 {
19165 PyThreadState* __tstate = wxPyBeginAllowThreads();
19166 result = (bool)(arg1)->GetEnableMargins();
19167
19168 wxPyEndAllowThreads(__tstate);
19169 if (PyErr_Occurred()) SWIG_fail;
19170 }
19171 {
19172 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19173 }
19174 return resultobj;
19175 fail:
19176 return NULL;
19177 }
19178
19179
19180 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
19181 PyObject *resultobj;
19182 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19183 bool result;
19184 PyObject * obj0 = 0 ;
19185 char *kwnames[] = {
19186 (char *) "self", NULL
19187 };
19188
19189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
19190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19192 {
19193 PyThreadState* __tstate = wxPyBeginAllowThreads();
19194 result = (bool)(arg1)->GetEnableOrientation();
19195
19196 wxPyEndAllowThreads(__tstate);
19197 if (PyErr_Occurred()) SWIG_fail;
19198 }
19199 {
19200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19201 }
19202 return resultobj;
19203 fail:
19204 return NULL;
19205 }
19206
19207
19208 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
19209 PyObject *resultobj;
19210 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19211 bool result;
19212 PyObject * obj0 = 0 ;
19213 char *kwnames[] = {
19214 (char *) "self", NULL
19215 };
19216
19217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
19218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19220 {
19221 PyThreadState* __tstate = wxPyBeginAllowThreads();
19222 result = (bool)(arg1)->GetEnablePaper();
19223
19224 wxPyEndAllowThreads(__tstate);
19225 if (PyErr_Occurred()) SWIG_fail;
19226 }
19227 {
19228 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19229 }
19230 return resultobj;
19231 fail:
19232 return NULL;
19233 }
19234
19235
19236 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19237 PyObject *resultobj;
19238 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19239 bool result;
19240 PyObject * obj0 = 0 ;
19241 char *kwnames[] = {
19242 (char *) "self", NULL
19243 };
19244
19245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
19246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19248 {
19249 PyThreadState* __tstate = wxPyBeginAllowThreads();
19250 result = (bool)(arg1)->GetEnablePrinter();
19251
19252 wxPyEndAllowThreads(__tstate);
19253 if (PyErr_Occurred()) SWIG_fail;
19254 }
19255 {
19256 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19257 }
19258 return resultobj;
19259 fail:
19260 return NULL;
19261 }
19262
19263
19264 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19265 PyObject *resultobj;
19266 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19267 bool result;
19268 PyObject * obj0 = 0 ;
19269 char *kwnames[] = {
19270 (char *) "self", NULL
19271 };
19272
19273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
19274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19276 {
19277 PyThreadState* __tstate = wxPyBeginAllowThreads();
19278 result = (bool)(arg1)->GetEnableHelp();
19279
19280 wxPyEndAllowThreads(__tstate);
19281 if (PyErr_Occurred()) SWIG_fail;
19282 }
19283 {
19284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19285 }
19286 return resultobj;
19287 fail:
19288 return NULL;
19289 }
19290
19291
19292 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19293 PyObject *resultobj;
19294 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19295 bool result;
19296 PyObject * obj0 = 0 ;
19297 char *kwnames[] = {
19298 (char *) "self", NULL
19299 };
19300
19301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
19302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19304 {
19305 PyThreadState* __tstate = wxPyBeginAllowThreads();
19306 result = (bool)(arg1)->GetDefaultInfo();
19307
19308 wxPyEndAllowThreads(__tstate);
19309 if (PyErr_Occurred()) SWIG_fail;
19310 }
19311 {
19312 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19313 }
19314 return resultobj;
19315 fail:
19316 return NULL;
19317 }
19318
19319
19320 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19321 PyObject *resultobj;
19322 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19323 wxPoint result;
19324 PyObject * obj0 = 0 ;
19325 char *kwnames[] = {
19326 (char *) "self", NULL
19327 };
19328
19329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
19330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19332 {
19333 PyThreadState* __tstate = wxPyBeginAllowThreads();
19334 result = (arg1)->GetMarginTopLeft();
19335
19336 wxPyEndAllowThreads(__tstate);
19337 if (PyErr_Occurred()) SWIG_fail;
19338 }
19339 {
19340 wxPoint * resultptr;
19341 resultptr = new wxPoint((wxPoint &) result);
19342 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19343 }
19344 return resultobj;
19345 fail:
19346 return NULL;
19347 }
19348
19349
19350 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19351 PyObject *resultobj;
19352 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19353 wxPoint result;
19354 PyObject * obj0 = 0 ;
19355 char *kwnames[] = {
19356 (char *) "self", NULL
19357 };
19358
19359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
19360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19362 {
19363 PyThreadState* __tstate = wxPyBeginAllowThreads();
19364 result = (arg1)->GetMarginBottomRight();
19365
19366 wxPyEndAllowThreads(__tstate);
19367 if (PyErr_Occurred()) SWIG_fail;
19368 }
19369 {
19370 wxPoint * resultptr;
19371 resultptr = new wxPoint((wxPoint &) result);
19372 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19373 }
19374 return resultobj;
19375 fail:
19376 return NULL;
19377 }
19378
19379
19380 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19381 PyObject *resultobj;
19382 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19383 wxPoint result;
19384 PyObject * obj0 = 0 ;
19385 char *kwnames[] = {
19386 (char *) "self", NULL
19387 };
19388
19389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
19390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19392 {
19393 PyThreadState* __tstate = wxPyBeginAllowThreads();
19394 result = (arg1)->GetMinMarginTopLeft();
19395
19396 wxPyEndAllowThreads(__tstate);
19397 if (PyErr_Occurred()) SWIG_fail;
19398 }
19399 {
19400 wxPoint * resultptr;
19401 resultptr = new wxPoint((wxPoint &) result);
19402 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19403 }
19404 return resultobj;
19405 fail:
19406 return NULL;
19407 }
19408
19409
19410 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19411 PyObject *resultobj;
19412 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19413 wxPoint result;
19414 PyObject * obj0 = 0 ;
19415 char *kwnames[] = {
19416 (char *) "self", NULL
19417 };
19418
19419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
19420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19422 {
19423 PyThreadState* __tstate = wxPyBeginAllowThreads();
19424 result = (arg1)->GetMinMarginBottomRight();
19425
19426 wxPyEndAllowThreads(__tstate);
19427 if (PyErr_Occurred()) SWIG_fail;
19428 }
19429 {
19430 wxPoint * resultptr;
19431 resultptr = new wxPoint((wxPoint &) result);
19432 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19433 }
19434 return resultobj;
19435 fail:
19436 return NULL;
19437 }
19438
19439
19440 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
19441 PyObject *resultobj;
19442 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19443 int result;
19444 PyObject * obj0 = 0 ;
19445 char *kwnames[] = {
19446 (char *) "self", NULL
19447 };
19448
19449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
19450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19452 {
19453 PyThreadState* __tstate = wxPyBeginAllowThreads();
19454 result = (int)(arg1)->GetPaperId();
19455
19456 wxPyEndAllowThreads(__tstate);
19457 if (PyErr_Occurred()) SWIG_fail;
19458 }
19459 resultobj = SWIG_FromInt((int)result);
19460 return resultobj;
19461 fail:
19462 return NULL;
19463 }
19464
19465
19466 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19467 PyObject *resultobj;
19468 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19469 wxSize result;
19470 PyObject * obj0 = 0 ;
19471 char *kwnames[] = {
19472 (char *) "self", NULL
19473 };
19474
19475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
19476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19478 {
19479 PyThreadState* __tstate = wxPyBeginAllowThreads();
19480 result = (arg1)->GetPaperSize();
19481
19482 wxPyEndAllowThreads(__tstate);
19483 if (PyErr_Occurred()) SWIG_fail;
19484 }
19485 {
19486 wxSize * resultptr;
19487 resultptr = new wxSize((wxSize &) result);
19488 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19489 }
19490 return resultobj;
19491 fail:
19492 return NULL;
19493 }
19494
19495
19496 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19497 PyObject *resultobj;
19498 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19499 wxPrintData *result;
19500 PyObject * obj0 = 0 ;
19501 char *kwnames[] = {
19502 (char *) "self", NULL
19503 };
19504
19505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
19506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19508 {
19509 PyThreadState* __tstate = wxPyBeginAllowThreads();
19510 {
19511 wxPrintData &_result_ref = (arg1)->GetPrintData();
19512 result = (wxPrintData *) &_result_ref;
19513 }
19514
19515 wxPyEndAllowThreads(__tstate);
19516 if (PyErr_Occurred()) SWIG_fail;
19517 }
19518 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
19519 return resultobj;
19520 fail:
19521 return NULL;
19522 }
19523
19524
19525 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19526 PyObject *resultobj;
19527 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19528 bool result;
19529 PyObject * obj0 = 0 ;
19530 char *kwnames[] = {
19531 (char *) "self", NULL
19532 };
19533
19534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
19535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19537 {
19538 PyThreadState* __tstate = wxPyBeginAllowThreads();
19539 result = (bool)(arg1)->Ok();
19540
19541 wxPyEndAllowThreads(__tstate);
19542 if (PyErr_Occurred()) SWIG_fail;
19543 }
19544 {
19545 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19546 }
19547 return resultobj;
19548 fail:
19549 return NULL;
19550 }
19551
19552
19553 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19554 PyObject *resultobj;
19555 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19556 bool arg2 ;
19557 PyObject * obj0 = 0 ;
19558 PyObject * obj1 = 0 ;
19559 char *kwnames[] = {
19560 (char *) "self",(char *) "flag", NULL
19561 };
19562
19563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
19564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19566 arg2 = (bool) SWIG_AsBool(obj1);
19567 if (PyErr_Occurred()) SWIG_fail;
19568 {
19569 PyThreadState* __tstate = wxPyBeginAllowThreads();
19570 (arg1)->SetDefaultInfo(arg2);
19571
19572 wxPyEndAllowThreads(__tstate);
19573 if (PyErr_Occurred()) SWIG_fail;
19574 }
19575 Py_INCREF(Py_None); resultobj = Py_None;
19576 return resultobj;
19577 fail:
19578 return NULL;
19579 }
19580
19581
19582 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19583 PyObject *resultobj;
19584 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19585 bool arg2 ;
19586 PyObject * obj0 = 0 ;
19587 PyObject * obj1 = 0 ;
19588 char *kwnames[] = {
19589 (char *) "self",(char *) "flag", NULL
19590 };
19591
19592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
19593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19595 arg2 = (bool) SWIG_AsBool(obj1);
19596 if (PyErr_Occurred()) SWIG_fail;
19597 {
19598 PyThreadState* __tstate = wxPyBeginAllowThreads();
19599 (arg1)->SetDefaultMinMargins(arg2);
19600
19601 wxPyEndAllowThreads(__tstate);
19602 if (PyErr_Occurred()) SWIG_fail;
19603 }
19604 Py_INCREF(Py_None); resultobj = Py_None;
19605 return resultobj;
19606 fail:
19607 return NULL;
19608 }
19609
19610
19611 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19612 PyObject *resultobj;
19613 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19614 wxPoint *arg2 = 0 ;
19615 wxPoint temp2 ;
19616 PyObject * obj0 = 0 ;
19617 PyObject * obj1 = 0 ;
19618 char *kwnames[] = {
19619 (char *) "self",(char *) "pt", NULL
19620 };
19621
19622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
19623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19625 {
19626 arg2 = &temp2;
19627 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19628 }
19629 {
19630 PyThreadState* __tstate = wxPyBeginAllowThreads();
19631 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
19632
19633 wxPyEndAllowThreads(__tstate);
19634 if (PyErr_Occurred()) SWIG_fail;
19635 }
19636 Py_INCREF(Py_None); resultobj = Py_None;
19637 return resultobj;
19638 fail:
19639 return NULL;
19640 }
19641
19642
19643 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19644 PyObject *resultobj;
19645 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19646 wxPoint *arg2 = 0 ;
19647 wxPoint temp2 ;
19648 PyObject * obj0 = 0 ;
19649 PyObject * obj1 = 0 ;
19650 char *kwnames[] = {
19651 (char *) "self",(char *) "pt", NULL
19652 };
19653
19654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
19655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19657 {
19658 arg2 = &temp2;
19659 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19660 }
19661 {
19662 PyThreadState* __tstate = wxPyBeginAllowThreads();
19663 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
19664
19665 wxPyEndAllowThreads(__tstate);
19666 if (PyErr_Occurred()) SWIG_fail;
19667 }
19668 Py_INCREF(Py_None); resultobj = Py_None;
19669 return resultobj;
19670 fail:
19671 return NULL;
19672 }
19673
19674
19675 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19676 PyObject *resultobj;
19677 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19678 wxPoint *arg2 = 0 ;
19679 wxPoint temp2 ;
19680 PyObject * obj0 = 0 ;
19681 PyObject * obj1 = 0 ;
19682 char *kwnames[] = {
19683 (char *) "self",(char *) "pt", NULL
19684 };
19685
19686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
19687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19689 {
19690 arg2 = &temp2;
19691 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19692 }
19693 {
19694 PyThreadState* __tstate = wxPyBeginAllowThreads();
19695 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
19696
19697 wxPyEndAllowThreads(__tstate);
19698 if (PyErr_Occurred()) SWIG_fail;
19699 }
19700 Py_INCREF(Py_None); resultobj = Py_None;
19701 return resultobj;
19702 fail:
19703 return NULL;
19704 }
19705
19706
19707 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19708 PyObject *resultobj;
19709 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19710 wxPoint *arg2 = 0 ;
19711 wxPoint temp2 ;
19712 PyObject * obj0 = 0 ;
19713 PyObject * obj1 = 0 ;
19714 char *kwnames[] = {
19715 (char *) "self",(char *) "pt", NULL
19716 };
19717
19718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
19719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19721 {
19722 arg2 = &temp2;
19723 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19724 }
19725 {
19726 PyThreadState* __tstate = wxPyBeginAllowThreads();
19727 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
19728
19729 wxPyEndAllowThreads(__tstate);
19730 if (PyErr_Occurred()) SWIG_fail;
19731 }
19732 Py_INCREF(Py_None); resultobj = Py_None;
19733 return resultobj;
19734 fail:
19735 return NULL;
19736 }
19737
19738
19739 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
19740 PyObject *resultobj;
19741 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19742 int arg2 ;
19743 PyObject * obj0 = 0 ;
19744 PyObject * obj1 = 0 ;
19745 char *kwnames[] = {
19746 (char *) "self",(char *) "id", NULL
19747 };
19748
19749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
19750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19752 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
19753 if (PyErr_Occurred()) SWIG_fail;
19754 {
19755 PyThreadState* __tstate = wxPyBeginAllowThreads();
19756 (arg1)->SetPaperId((wxPaperSize )arg2);
19757
19758 wxPyEndAllowThreads(__tstate);
19759 if (PyErr_Occurred()) SWIG_fail;
19760 }
19761 Py_INCREF(Py_None); resultobj = Py_None;
19762 return resultobj;
19763 fail:
19764 return NULL;
19765 }
19766
19767
19768 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19769 PyObject *resultobj;
19770 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19771 wxSize *arg2 = 0 ;
19772 wxSize temp2 ;
19773 PyObject * obj0 = 0 ;
19774 PyObject * obj1 = 0 ;
19775 char *kwnames[] = {
19776 (char *) "self",(char *) "size", NULL
19777 };
19778
19779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
19780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19782 {
19783 arg2 = &temp2;
19784 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19785 }
19786 {
19787 PyThreadState* __tstate = wxPyBeginAllowThreads();
19788 (arg1)->SetPaperSize((wxSize const &)*arg2);
19789
19790 wxPyEndAllowThreads(__tstate);
19791 if (PyErr_Occurred()) SWIG_fail;
19792 }
19793 Py_INCREF(Py_None); resultobj = Py_None;
19794 return resultobj;
19795 fail:
19796 return NULL;
19797 }
19798
19799
19800 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19801 PyObject *resultobj;
19802 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19803 wxPrintData *arg2 = 0 ;
19804 PyObject * obj0 = 0 ;
19805 PyObject * obj1 = 0 ;
19806 char *kwnames[] = {
19807 (char *) "self",(char *) "printData", NULL
19808 };
19809
19810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
19811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19813 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
19814 SWIG_POINTER_EXCEPTION | 0)) == -1)
19815 SWIG_fail;
19816 if (arg2 == NULL) {
19817 PyErr_SetString(PyExc_TypeError,"null reference");
19818 SWIG_fail;
19819 }
19820 {
19821 PyThreadState* __tstate = wxPyBeginAllowThreads();
19822 (arg1)->SetPrintData((wxPrintData const &)*arg2);
19823
19824 wxPyEndAllowThreads(__tstate);
19825 if (PyErr_Occurred()) SWIG_fail;
19826 }
19827 Py_INCREF(Py_None); resultobj = Py_None;
19828 return resultobj;
19829 fail:
19830 return NULL;
19831 }
19832
19833
19834 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
19835 PyObject *obj;
19836 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19837 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
19838 Py_INCREF(obj);
19839 return Py_BuildValue((char *)"");
19840 }
19841 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19842 PyObject *resultobj;
19843 wxWindow *arg1 = (wxWindow *) 0 ;
19844 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
19845 wxPageSetupDialog *result;
19846 PyObject * obj0 = 0 ;
19847 PyObject * obj1 = 0 ;
19848 char *kwnames[] = {
19849 (char *) "parent",(char *) "data", NULL
19850 };
19851
19852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
19853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19855 if (obj1) {
19856 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
19857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19858 }
19859 {
19860 PyThreadState* __tstate = wxPyBeginAllowThreads();
19861 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
19862
19863 wxPyEndAllowThreads(__tstate);
19864 if (PyErr_Occurred()) SWIG_fail;
19865 }
19866 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
19867 return resultobj;
19868 fail:
19869 return NULL;
19870 }
19871
19872
19873 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
19874 PyObject *resultobj;
19875 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
19876 wxPageSetupDialogData *result;
19877 PyObject * obj0 = 0 ;
19878 char *kwnames[] = {
19879 (char *) "self", NULL
19880 };
19881
19882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
19883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
19884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19885 {
19886 PyThreadState* __tstate = wxPyBeginAllowThreads();
19887 {
19888 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
19889 result = (wxPageSetupDialogData *) &_result_ref;
19890 }
19891
19892 wxPyEndAllowThreads(__tstate);
19893 if (PyErr_Occurred()) SWIG_fail;
19894 }
19895 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
19896 return resultobj;
19897 fail:
19898 return NULL;
19899 }
19900
19901
19902 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
19903 PyObject *resultobj;
19904 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
19905 int result;
19906 PyObject * obj0 = 0 ;
19907 char *kwnames[] = {
19908 (char *) "self", NULL
19909 };
19910
19911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
19912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
19913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19914 {
19915 PyThreadState* __tstate = wxPyBeginAllowThreads();
19916 result = (int)(arg1)->ShowModal();
19917
19918 wxPyEndAllowThreads(__tstate);
19919 if (PyErr_Occurred()) SWIG_fail;
19920 }
19921 resultobj = SWIG_FromInt((int)result);
19922 return resultobj;
19923 fail:
19924 return NULL;
19925 }
19926
19927
19928 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
19929 PyObject *obj;
19930 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19931 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
19932 Py_INCREF(obj);
19933 return Py_BuildValue((char *)"");
19934 }
19935 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *self, PyObject *args) {
19936 PyObject *resultobj;
19937 wxPrintDialogData *result;
19938
19939 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
19940 {
19941 PyThreadState* __tstate = wxPyBeginAllowThreads();
19942 result = (wxPrintDialogData *)new wxPrintDialogData();
19943
19944 wxPyEndAllowThreads(__tstate);
19945 if (PyErr_Occurred()) SWIG_fail;
19946 }
19947 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
19948 return resultobj;
19949 fail:
19950 return NULL;
19951 }
19952
19953
19954 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *self, PyObject *args) {
19955 PyObject *resultobj;
19956 wxPrintData *arg1 = 0 ;
19957 wxPrintDialogData *result;
19958 PyObject * obj0 = 0 ;
19959
19960 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
19961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19962 SWIG_POINTER_EXCEPTION | 0)) == -1)
19963 SWIG_fail;
19964 if (arg1 == NULL) {
19965 PyErr_SetString(PyExc_TypeError,"null reference");
19966 SWIG_fail;
19967 }
19968 {
19969 PyThreadState* __tstate = wxPyBeginAllowThreads();
19970 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
19971
19972 wxPyEndAllowThreads(__tstate);
19973 if (PyErr_Occurred()) SWIG_fail;
19974 }
19975 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
19976 return resultobj;
19977 fail:
19978 return NULL;
19979 }
19980
19981
19982 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
19983 int argc;
19984 PyObject *argv[2];
19985 int ii;
19986
19987 argc = PyObject_Length(args);
19988 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
19989 argv[ii] = PyTuple_GetItem(args,ii);
19990 }
19991 if (argc == 0) {
19992 return _wrap_new_PrintDialogData__SWIG_0(self,args);
19993 }
19994 if (argc == 1) {
19995 int _v;
19996 {
19997 void *ptr;
19998 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
19999 _v = 0;
20000 PyErr_Clear();
20001 } else {
20002 _v = 1;
20003 }
20004 }
20005 if (_v) {
20006 return _wrap_new_PrintDialogData__SWIG_1(self,args);
20007 }
20008 }
20009
20010 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
20011 return NULL;
20012 }
20013
20014
20015 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20016 PyObject *resultobj;
20017 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20018 PyObject * obj0 = 0 ;
20019 char *kwnames[] = {
20020 (char *) "self", NULL
20021 };
20022
20023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
20024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20026 {
20027 PyThreadState* __tstate = wxPyBeginAllowThreads();
20028 delete arg1;
20029
20030 wxPyEndAllowThreads(__tstate);
20031 if (PyErr_Occurred()) SWIG_fail;
20032 }
20033 Py_INCREF(Py_None); resultobj = Py_None;
20034 return resultobj;
20035 fail:
20036 return NULL;
20037 }
20038
20039
20040 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20041 PyObject *resultobj;
20042 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20043 int result;
20044 PyObject * obj0 = 0 ;
20045 char *kwnames[] = {
20046 (char *) "self", NULL
20047 };
20048
20049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
20050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20052 {
20053 PyThreadState* __tstate = wxPyBeginAllowThreads();
20054 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
20055
20056 wxPyEndAllowThreads(__tstate);
20057 if (PyErr_Occurred()) SWIG_fail;
20058 }
20059 resultobj = SWIG_FromInt((int)result);
20060 return resultobj;
20061 fail:
20062 return NULL;
20063 }
20064
20065
20066 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20067 PyObject *resultobj;
20068 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20069 int result;
20070 PyObject * obj0 = 0 ;
20071 char *kwnames[] = {
20072 (char *) "self", NULL
20073 };
20074
20075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
20076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20078 {
20079 PyThreadState* __tstate = wxPyBeginAllowThreads();
20080 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
20081
20082 wxPyEndAllowThreads(__tstate);
20083 if (PyErr_Occurred()) SWIG_fail;
20084 }
20085 resultobj = SWIG_FromInt((int)result);
20086 return resultobj;
20087 fail:
20088 return NULL;
20089 }
20090
20091
20092 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20093 PyObject *resultobj;
20094 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20095 int result;
20096 PyObject * obj0 = 0 ;
20097 char *kwnames[] = {
20098 (char *) "self", NULL
20099 };
20100
20101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
20102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20104 {
20105 PyThreadState* __tstate = wxPyBeginAllowThreads();
20106 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
20107
20108 wxPyEndAllowThreads(__tstate);
20109 if (PyErr_Occurred()) SWIG_fail;
20110 }
20111 resultobj = SWIG_FromInt((int)result);
20112 return resultobj;
20113 fail:
20114 return NULL;
20115 }
20116
20117
20118 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20119 PyObject *resultobj;
20120 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20121 int result;
20122 PyObject * obj0 = 0 ;
20123 char *kwnames[] = {
20124 (char *) "self", NULL
20125 };
20126
20127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
20128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20130 {
20131 PyThreadState* __tstate = wxPyBeginAllowThreads();
20132 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
20133
20134 wxPyEndAllowThreads(__tstate);
20135 if (PyErr_Occurred()) SWIG_fail;
20136 }
20137 resultobj = SWIG_FromInt((int)result);
20138 return resultobj;
20139 fail:
20140 return NULL;
20141 }
20142
20143
20144 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20145 PyObject *resultobj;
20146 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20147 int result;
20148 PyObject * obj0 = 0 ;
20149 char *kwnames[] = {
20150 (char *) "self", NULL
20151 };
20152
20153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
20154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20156 {
20157 PyThreadState* __tstate = wxPyBeginAllowThreads();
20158 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
20159
20160 wxPyEndAllowThreads(__tstate);
20161 if (PyErr_Occurred()) SWIG_fail;
20162 }
20163 resultobj = SWIG_FromInt((int)result);
20164 return resultobj;
20165 fail:
20166 return NULL;
20167 }
20168
20169
20170 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20171 PyObject *resultobj;
20172 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20173 bool result;
20174 PyObject * obj0 = 0 ;
20175 char *kwnames[] = {
20176 (char *) "self", NULL
20177 };
20178
20179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
20180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20182 {
20183 PyThreadState* __tstate = wxPyBeginAllowThreads();
20184 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
20185
20186 wxPyEndAllowThreads(__tstate);
20187 if (PyErr_Occurred()) SWIG_fail;
20188 }
20189 {
20190 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20191 }
20192 return resultobj;
20193 fail:
20194 return NULL;
20195 }
20196
20197
20198 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20199 PyObject *resultobj;
20200 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20201 bool result;
20202 PyObject * obj0 = 0 ;
20203 char *kwnames[] = {
20204 (char *) "self", NULL
20205 };
20206
20207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
20208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20210 {
20211 PyThreadState* __tstate = wxPyBeginAllowThreads();
20212 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
20213
20214 wxPyEndAllowThreads(__tstate);
20215 if (PyErr_Occurred()) SWIG_fail;
20216 }
20217 {
20218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20219 }
20220 return resultobj;
20221 fail:
20222 return NULL;
20223 }
20224
20225
20226 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20227 PyObject *resultobj;
20228 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20229 bool result;
20230 PyObject * obj0 = 0 ;
20231 char *kwnames[] = {
20232 (char *) "self", NULL
20233 };
20234
20235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
20236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20238 {
20239 PyThreadState* __tstate = wxPyBeginAllowThreads();
20240 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
20241
20242 wxPyEndAllowThreads(__tstate);
20243 if (PyErr_Occurred()) SWIG_fail;
20244 }
20245 {
20246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20247 }
20248 return resultobj;
20249 fail:
20250 return NULL;
20251 }
20252
20253
20254 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20255 PyObject *resultobj;
20256 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20257 bool result;
20258 PyObject * obj0 = 0 ;
20259 char *kwnames[] = {
20260 (char *) "self", NULL
20261 };
20262
20263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
20264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20266 {
20267 PyThreadState* __tstate = wxPyBeginAllowThreads();
20268 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
20269
20270 wxPyEndAllowThreads(__tstate);
20271 if (PyErr_Occurred()) SWIG_fail;
20272 }
20273 {
20274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20275 }
20276 return resultobj;
20277 fail:
20278 return NULL;
20279 }
20280
20281
20282 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20283 PyObject *resultobj;
20284 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20285 bool result;
20286 PyObject * obj0 = 0 ;
20287 char *kwnames[] = {
20288 (char *) "self", NULL
20289 };
20290
20291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
20292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20294 {
20295 PyThreadState* __tstate = wxPyBeginAllowThreads();
20296 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
20297
20298 wxPyEndAllowThreads(__tstate);
20299 if (PyErr_Occurred()) SWIG_fail;
20300 }
20301 {
20302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20303 }
20304 return resultobj;
20305 fail:
20306 return NULL;
20307 }
20308
20309
20310 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20311 PyObject *resultobj;
20312 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20313 int arg2 ;
20314 PyObject * obj0 = 0 ;
20315 PyObject * obj1 = 0 ;
20316 char *kwnames[] = {
20317 (char *) "self",(char *) "v", NULL
20318 };
20319
20320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
20321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20323 arg2 = (int) SWIG_AsInt(obj1);
20324 if (PyErr_Occurred()) SWIG_fail;
20325 {
20326 PyThreadState* __tstate = wxPyBeginAllowThreads();
20327 (arg1)->SetFromPage(arg2);
20328
20329 wxPyEndAllowThreads(__tstate);
20330 if (PyErr_Occurred()) SWIG_fail;
20331 }
20332 Py_INCREF(Py_None); resultobj = Py_None;
20333 return resultobj;
20334 fail:
20335 return NULL;
20336 }
20337
20338
20339 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20340 PyObject *resultobj;
20341 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20342 int arg2 ;
20343 PyObject * obj0 = 0 ;
20344 PyObject * obj1 = 0 ;
20345 char *kwnames[] = {
20346 (char *) "self",(char *) "v", NULL
20347 };
20348
20349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
20350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20352 arg2 = (int) SWIG_AsInt(obj1);
20353 if (PyErr_Occurred()) SWIG_fail;
20354 {
20355 PyThreadState* __tstate = wxPyBeginAllowThreads();
20356 (arg1)->SetToPage(arg2);
20357
20358 wxPyEndAllowThreads(__tstate);
20359 if (PyErr_Occurred()) SWIG_fail;
20360 }
20361 Py_INCREF(Py_None); resultobj = Py_None;
20362 return resultobj;
20363 fail:
20364 return NULL;
20365 }
20366
20367
20368 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20369 PyObject *resultobj;
20370 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20371 int arg2 ;
20372 PyObject * obj0 = 0 ;
20373 PyObject * obj1 = 0 ;
20374 char *kwnames[] = {
20375 (char *) "self",(char *) "v", NULL
20376 };
20377
20378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
20379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20381 arg2 = (int) SWIG_AsInt(obj1);
20382 if (PyErr_Occurred()) SWIG_fail;
20383 {
20384 PyThreadState* __tstate = wxPyBeginAllowThreads();
20385 (arg1)->SetMinPage(arg2);
20386
20387 wxPyEndAllowThreads(__tstate);
20388 if (PyErr_Occurred()) SWIG_fail;
20389 }
20390 Py_INCREF(Py_None); resultobj = Py_None;
20391 return resultobj;
20392 fail:
20393 return NULL;
20394 }
20395
20396
20397 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20398 PyObject *resultobj;
20399 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20400 int arg2 ;
20401 PyObject * obj0 = 0 ;
20402 PyObject * obj1 = 0 ;
20403 char *kwnames[] = {
20404 (char *) "self",(char *) "v", NULL
20405 };
20406
20407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
20408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20410 arg2 = (int) SWIG_AsInt(obj1);
20411 if (PyErr_Occurred()) SWIG_fail;
20412 {
20413 PyThreadState* __tstate = wxPyBeginAllowThreads();
20414 (arg1)->SetMaxPage(arg2);
20415
20416 wxPyEndAllowThreads(__tstate);
20417 if (PyErr_Occurred()) SWIG_fail;
20418 }
20419 Py_INCREF(Py_None); resultobj = Py_None;
20420 return resultobj;
20421 fail:
20422 return NULL;
20423 }
20424
20425
20426 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20427 PyObject *resultobj;
20428 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20429 int arg2 ;
20430 PyObject * obj0 = 0 ;
20431 PyObject * obj1 = 0 ;
20432 char *kwnames[] = {
20433 (char *) "self",(char *) "v", NULL
20434 };
20435
20436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
20437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20439 arg2 = (int) SWIG_AsInt(obj1);
20440 if (PyErr_Occurred()) SWIG_fail;
20441 {
20442 PyThreadState* __tstate = wxPyBeginAllowThreads();
20443 (arg1)->SetNoCopies(arg2);
20444
20445 wxPyEndAllowThreads(__tstate);
20446 if (PyErr_Occurred()) SWIG_fail;
20447 }
20448 Py_INCREF(Py_None); resultobj = Py_None;
20449 return resultobj;
20450 fail:
20451 return NULL;
20452 }
20453
20454
20455 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20456 PyObject *resultobj;
20457 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20458 bool arg2 ;
20459 PyObject * obj0 = 0 ;
20460 PyObject * obj1 = 0 ;
20461 char *kwnames[] = {
20462 (char *) "self",(char *) "flag", NULL
20463 };
20464
20465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
20466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20468 arg2 = (bool) SWIG_AsBool(obj1);
20469 if (PyErr_Occurred()) SWIG_fail;
20470 {
20471 PyThreadState* __tstate = wxPyBeginAllowThreads();
20472 (arg1)->SetAllPages(arg2);
20473
20474 wxPyEndAllowThreads(__tstate);
20475 if (PyErr_Occurred()) SWIG_fail;
20476 }
20477 Py_INCREF(Py_None); resultobj = Py_None;
20478 return resultobj;
20479 fail:
20480 return NULL;
20481 }
20482
20483
20484 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20485 PyObject *resultobj;
20486 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20487 bool arg2 ;
20488 PyObject * obj0 = 0 ;
20489 PyObject * obj1 = 0 ;
20490 char *kwnames[] = {
20491 (char *) "self",(char *) "flag", NULL
20492 };
20493
20494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
20495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20497 arg2 = (bool) SWIG_AsBool(obj1);
20498 if (PyErr_Occurred()) SWIG_fail;
20499 {
20500 PyThreadState* __tstate = wxPyBeginAllowThreads();
20501 (arg1)->SetSelection(arg2);
20502
20503 wxPyEndAllowThreads(__tstate);
20504 if (PyErr_Occurred()) SWIG_fail;
20505 }
20506 Py_INCREF(Py_None); resultobj = Py_None;
20507 return resultobj;
20508 fail:
20509 return NULL;
20510 }
20511
20512
20513 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20514 PyObject *resultobj;
20515 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20516 bool arg2 ;
20517 PyObject * obj0 = 0 ;
20518 PyObject * obj1 = 0 ;
20519 char *kwnames[] = {
20520 (char *) "self",(char *) "flag", NULL
20521 };
20522
20523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
20524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20526 arg2 = (bool) SWIG_AsBool(obj1);
20527 if (PyErr_Occurred()) SWIG_fail;
20528 {
20529 PyThreadState* __tstate = wxPyBeginAllowThreads();
20530 (arg1)->SetCollate(arg2);
20531
20532 wxPyEndAllowThreads(__tstate);
20533 if (PyErr_Occurred()) SWIG_fail;
20534 }
20535 Py_INCREF(Py_None); resultobj = Py_None;
20536 return resultobj;
20537 fail:
20538 return NULL;
20539 }
20540
20541
20542 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20543 PyObject *resultobj;
20544 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20545 bool arg2 ;
20546 PyObject * obj0 = 0 ;
20547 PyObject * obj1 = 0 ;
20548 char *kwnames[] = {
20549 (char *) "self",(char *) "flag", NULL
20550 };
20551
20552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
20553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20555 arg2 = (bool) SWIG_AsBool(obj1);
20556 if (PyErr_Occurred()) SWIG_fail;
20557 {
20558 PyThreadState* __tstate = wxPyBeginAllowThreads();
20559 (arg1)->SetPrintToFile(arg2);
20560
20561 wxPyEndAllowThreads(__tstate);
20562 if (PyErr_Occurred()) SWIG_fail;
20563 }
20564 Py_INCREF(Py_None); resultobj = Py_None;
20565 return resultobj;
20566 fail:
20567 return NULL;
20568 }
20569
20570
20571 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20572 PyObject *resultobj;
20573 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20574 bool arg2 ;
20575 PyObject * obj0 = 0 ;
20576 PyObject * obj1 = 0 ;
20577 char *kwnames[] = {
20578 (char *) "self",(char *) "flag", NULL
20579 };
20580
20581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20584 arg2 = (bool) SWIG_AsBool(obj1);
20585 if (PyErr_Occurred()) SWIG_fail;
20586 {
20587 PyThreadState* __tstate = wxPyBeginAllowThreads();
20588 (arg1)->SetSetupDialog(arg2);
20589
20590 wxPyEndAllowThreads(__tstate);
20591 if (PyErr_Occurred()) SWIG_fail;
20592 }
20593 Py_INCREF(Py_None); resultobj = Py_None;
20594 return resultobj;
20595 fail:
20596 return NULL;
20597 }
20598
20599
20600 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20601 PyObject *resultobj;
20602 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20603 bool arg2 ;
20604 PyObject * obj0 = 0 ;
20605 PyObject * obj1 = 0 ;
20606 char *kwnames[] = {
20607 (char *) "self",(char *) "flag", NULL
20608 };
20609
20610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
20611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20613 arg2 = (bool) SWIG_AsBool(obj1);
20614 if (PyErr_Occurred()) SWIG_fail;
20615 {
20616 PyThreadState* __tstate = wxPyBeginAllowThreads();
20617 (arg1)->EnablePrintToFile(arg2);
20618
20619 wxPyEndAllowThreads(__tstate);
20620 if (PyErr_Occurred()) SWIG_fail;
20621 }
20622 Py_INCREF(Py_None); resultobj = Py_None;
20623 return resultobj;
20624 fail:
20625 return NULL;
20626 }
20627
20628
20629 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20630 PyObject *resultobj;
20631 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20632 bool arg2 ;
20633 PyObject * obj0 = 0 ;
20634 PyObject * obj1 = 0 ;
20635 char *kwnames[] = {
20636 (char *) "self",(char *) "flag", NULL
20637 };
20638
20639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
20640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20642 arg2 = (bool) SWIG_AsBool(obj1);
20643 if (PyErr_Occurred()) SWIG_fail;
20644 {
20645 PyThreadState* __tstate = wxPyBeginAllowThreads();
20646 (arg1)->EnableSelection(arg2);
20647
20648 wxPyEndAllowThreads(__tstate);
20649 if (PyErr_Occurred()) SWIG_fail;
20650 }
20651 Py_INCREF(Py_None); resultobj = Py_None;
20652 return resultobj;
20653 fail:
20654 return NULL;
20655 }
20656
20657
20658 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
20659 PyObject *resultobj;
20660 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20661 bool arg2 ;
20662 PyObject * obj0 = 0 ;
20663 PyObject * obj1 = 0 ;
20664 char *kwnames[] = {
20665 (char *) "self",(char *) "flag", NULL
20666 };
20667
20668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
20669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20671 arg2 = (bool) SWIG_AsBool(obj1);
20672 if (PyErr_Occurred()) SWIG_fail;
20673 {
20674 PyThreadState* __tstate = wxPyBeginAllowThreads();
20675 (arg1)->EnablePageNumbers(arg2);
20676
20677 wxPyEndAllowThreads(__tstate);
20678 if (PyErr_Occurred()) SWIG_fail;
20679 }
20680 Py_INCREF(Py_None); resultobj = Py_None;
20681 return resultobj;
20682 fail:
20683 return NULL;
20684 }
20685
20686
20687 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
20688 PyObject *resultobj;
20689 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20690 bool arg2 ;
20691 PyObject * obj0 = 0 ;
20692 PyObject * obj1 = 0 ;
20693 char *kwnames[] = {
20694 (char *) "self",(char *) "flag", NULL
20695 };
20696
20697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
20698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20700 arg2 = (bool) SWIG_AsBool(obj1);
20701 if (PyErr_Occurred()) SWIG_fail;
20702 {
20703 PyThreadState* __tstate = wxPyBeginAllowThreads();
20704 (arg1)->EnableHelp(arg2);
20705
20706 wxPyEndAllowThreads(__tstate);
20707 if (PyErr_Occurred()) SWIG_fail;
20708 }
20709 Py_INCREF(Py_None); resultobj = Py_None;
20710 return resultobj;
20711 fail:
20712 return NULL;
20713 }
20714
20715
20716 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20717 PyObject *resultobj;
20718 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20719 bool result;
20720 PyObject * obj0 = 0 ;
20721 char *kwnames[] = {
20722 (char *) "self", NULL
20723 };
20724
20725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
20726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20728 {
20729 PyThreadState* __tstate = wxPyBeginAllowThreads();
20730 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
20731
20732 wxPyEndAllowThreads(__tstate);
20733 if (PyErr_Occurred()) SWIG_fail;
20734 }
20735 {
20736 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20737 }
20738 return resultobj;
20739 fail:
20740 return NULL;
20741 }
20742
20743
20744 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20745 PyObject *resultobj;
20746 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20747 bool result;
20748 PyObject * obj0 = 0 ;
20749 char *kwnames[] = {
20750 (char *) "self", NULL
20751 };
20752
20753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
20754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20756 {
20757 PyThreadState* __tstate = wxPyBeginAllowThreads();
20758 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
20759
20760 wxPyEndAllowThreads(__tstate);
20761 if (PyErr_Occurred()) SWIG_fail;
20762 }
20763 {
20764 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20765 }
20766 return resultobj;
20767 fail:
20768 return NULL;
20769 }
20770
20771
20772 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
20773 PyObject *resultobj;
20774 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20775 bool result;
20776 PyObject * obj0 = 0 ;
20777 char *kwnames[] = {
20778 (char *) "self", NULL
20779 };
20780
20781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
20782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20784 {
20785 PyThreadState* __tstate = wxPyBeginAllowThreads();
20786 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
20787
20788 wxPyEndAllowThreads(__tstate);
20789 if (PyErr_Occurred()) SWIG_fail;
20790 }
20791 {
20792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20793 }
20794 return resultobj;
20795 fail:
20796 return NULL;
20797 }
20798
20799
20800 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
20801 PyObject *resultobj;
20802 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20803 bool result;
20804 PyObject * obj0 = 0 ;
20805 char *kwnames[] = {
20806 (char *) "self", NULL
20807 };
20808
20809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
20810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20812 {
20813 PyThreadState* __tstate = wxPyBeginAllowThreads();
20814 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
20815
20816 wxPyEndAllowThreads(__tstate);
20817 if (PyErr_Occurred()) SWIG_fail;
20818 }
20819 {
20820 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20821 }
20822 return resultobj;
20823 fail:
20824 return NULL;
20825 }
20826
20827
20828 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
20829 PyObject *resultobj;
20830 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20831 bool result;
20832 PyObject * obj0 = 0 ;
20833 char *kwnames[] = {
20834 (char *) "self", NULL
20835 };
20836
20837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
20838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20840 {
20841 PyThreadState* __tstate = wxPyBeginAllowThreads();
20842 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
20843
20844 wxPyEndAllowThreads(__tstate);
20845 if (PyErr_Occurred()) SWIG_fail;
20846 }
20847 {
20848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20849 }
20850 return resultobj;
20851 fail:
20852 return NULL;
20853 }
20854
20855
20856 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
20857 PyObject *resultobj;
20858 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20859 wxPrintData *result;
20860 PyObject * obj0 = 0 ;
20861 char *kwnames[] = {
20862 (char *) "self", NULL
20863 };
20864
20865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
20866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20868 {
20869 PyThreadState* __tstate = wxPyBeginAllowThreads();
20870 {
20871 wxPrintData &_result_ref = (arg1)->GetPrintData();
20872 result = (wxPrintData *) &_result_ref;
20873 }
20874
20875 wxPyEndAllowThreads(__tstate);
20876 if (PyErr_Occurred()) SWIG_fail;
20877 }
20878 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
20879 return resultobj;
20880 fail:
20881 return NULL;
20882 }
20883
20884
20885 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
20886 PyObject *resultobj;
20887 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20888 wxPrintData *arg2 = 0 ;
20889 PyObject * obj0 = 0 ;
20890 PyObject * obj1 = 0 ;
20891 char *kwnames[] = {
20892 (char *) "self",(char *) "printData", NULL
20893 };
20894
20895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
20896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20898 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20899 SWIG_POINTER_EXCEPTION | 0)) == -1)
20900 SWIG_fail;
20901 if (arg2 == NULL) {
20902 PyErr_SetString(PyExc_TypeError,"null reference");
20903 SWIG_fail;
20904 }
20905 {
20906 PyThreadState* __tstate = wxPyBeginAllowThreads();
20907 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20908
20909 wxPyEndAllowThreads(__tstate);
20910 if (PyErr_Occurred()) SWIG_fail;
20911 }
20912 Py_INCREF(Py_None); resultobj = Py_None;
20913 return resultobj;
20914 fail:
20915 return NULL;
20916 }
20917
20918
20919 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
20920 PyObject *obj;
20921 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20922 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
20923 Py_INCREF(obj);
20924 return Py_BuildValue((char *)"");
20925 }
20926 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20927 PyObject *resultobj;
20928 wxWindow *arg1 = (wxWindow *) 0 ;
20929 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
20930 wxPrintDialog *result;
20931 PyObject * obj0 = 0 ;
20932 PyObject * obj1 = 0 ;
20933 char *kwnames[] = {
20934 (char *) "parent",(char *) "data", NULL
20935 };
20936
20937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
20938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20940 if (obj1) {
20941 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
20942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20943 }
20944 {
20945 PyThreadState* __tstate = wxPyBeginAllowThreads();
20946 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
20947
20948 wxPyEndAllowThreads(__tstate);
20949 if (PyErr_Occurred()) SWIG_fail;
20950 }
20951 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
20952 return resultobj;
20953 fail:
20954 return NULL;
20955 }
20956
20957
20958 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20959 PyObject *resultobj;
20960 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
20961 wxPrintDialogData *result;
20962 PyObject * obj0 = 0 ;
20963 char *kwnames[] = {
20964 (char *) "self", NULL
20965 };
20966
20967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
20968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
20969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20970 {
20971 PyThreadState* __tstate = wxPyBeginAllowThreads();
20972 {
20973 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
20974 result = (wxPrintDialogData *) &_result_ref;
20975 }
20976
20977 wxPyEndAllowThreads(__tstate);
20978 if (PyErr_Occurred()) SWIG_fail;
20979 }
20980 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
20981 return resultobj;
20982 fail:
20983 return NULL;
20984 }
20985
20986
20987 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
20988 PyObject *resultobj;
20989 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
20990 wxDC *result;
20991 PyObject * obj0 = 0 ;
20992 char *kwnames[] = {
20993 (char *) "self", NULL
20994 };
20995
20996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
20997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
20998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20999 {
21000 PyThreadState* __tstate = wxPyBeginAllowThreads();
21001 result = (wxDC *)(arg1)->GetPrintDC();
21002
21003 wxPyEndAllowThreads(__tstate);
21004 if (PyErr_Occurred()) SWIG_fail;
21005 }
21006 {
21007 resultobj = wxPyMake_wxObject(result);
21008 }
21009 return resultobj;
21010 fail:
21011 return NULL;
21012 }
21013
21014
21015 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
21016 PyObject *resultobj;
21017 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21018 int result;
21019 PyObject * obj0 = 0 ;
21020 char *kwnames[] = {
21021 (char *) "self", NULL
21022 };
21023
21024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
21025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21027 {
21028 PyThreadState* __tstate = wxPyBeginAllowThreads();
21029 result = (int)(arg1)->ShowModal();
21030
21031 wxPyEndAllowThreads(__tstate);
21032 if (PyErr_Occurred()) SWIG_fail;
21033 }
21034 resultobj = SWIG_FromInt((int)result);
21035 return resultobj;
21036 fail:
21037 return NULL;
21038 }
21039
21040
21041 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
21042 PyObject *obj;
21043 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21044 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
21045 Py_INCREF(obj);
21046 return Py_BuildValue((char *)"");
21047 }
21048 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
21049 PyObject *resultobj;
21050 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
21051 wxPrinter *result;
21052 PyObject * obj0 = 0 ;
21053 char *kwnames[] = {
21054 (char *) "data", NULL
21055 };
21056
21057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
21058 if (obj0) {
21059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21061 }
21062 {
21063 PyThreadState* __tstate = wxPyBeginAllowThreads();
21064 result = (wxPrinter *)new wxPrinter(arg1);
21065
21066 wxPyEndAllowThreads(__tstate);
21067 if (PyErr_Occurred()) SWIG_fail;
21068 }
21069 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
21070 return resultobj;
21071 fail:
21072 return NULL;
21073 }
21074
21075
21076 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
21077 PyObject *resultobj;
21078 wxPrinter *arg1 = (wxPrinter *) 0 ;
21079 PyObject * obj0 = 0 ;
21080 char *kwnames[] = {
21081 (char *) "self", NULL
21082 };
21083
21084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
21085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21087 {
21088 PyThreadState* __tstate = wxPyBeginAllowThreads();
21089 delete arg1;
21090
21091 wxPyEndAllowThreads(__tstate);
21092 if (PyErr_Occurred()) SWIG_fail;
21093 }
21094 Py_INCREF(Py_None); resultobj = Py_None;
21095 return resultobj;
21096 fail:
21097 return NULL;
21098 }
21099
21100
21101 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
21102 PyObject *resultobj;
21103 wxPrinter *arg1 = (wxPrinter *) 0 ;
21104 wxWindow *arg2 = (wxWindow *) 0 ;
21105 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21106 PyObject * obj0 = 0 ;
21107 PyObject * obj1 = 0 ;
21108 PyObject * obj2 = 0 ;
21109 char *kwnames[] = {
21110 (char *) "self",(char *) "parent",(char *) "printout", NULL
21111 };
21112
21113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
21114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21116 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21118 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21120 {
21121 PyThreadState* __tstate = wxPyBeginAllowThreads();
21122 (arg1)->CreateAbortWindow(arg2,arg3);
21123
21124 wxPyEndAllowThreads(__tstate);
21125 if (PyErr_Occurred()) SWIG_fail;
21126 }
21127 Py_INCREF(Py_None); resultobj = Py_None;
21128 return resultobj;
21129 fail:
21130 return NULL;
21131 }
21132
21133
21134 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
21135 PyObject *resultobj;
21136 wxPrinter *arg1 = (wxPrinter *) 0 ;
21137 wxPrintDialogData *result;
21138 PyObject * obj0 = 0 ;
21139 char *kwnames[] = {
21140 (char *) "self", NULL
21141 };
21142
21143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
21144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21146 {
21147 PyThreadState* __tstate = wxPyBeginAllowThreads();
21148 {
21149 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21150 result = (wxPrintDialogData *) &_result_ref;
21151 }
21152
21153 wxPyEndAllowThreads(__tstate);
21154 if (PyErr_Occurred()) SWIG_fail;
21155 }
21156 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21157 return resultobj;
21158 fail:
21159 return NULL;
21160 }
21161
21162
21163 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
21164 PyObject *resultobj;
21165 wxPrinter *arg1 = (wxPrinter *) 0 ;
21166 wxWindow *arg2 = (wxWindow *) 0 ;
21167 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21168 int arg4 = (int) True ;
21169 bool result;
21170 PyObject * obj0 = 0 ;
21171 PyObject * obj1 = 0 ;
21172 PyObject * obj2 = 0 ;
21173 PyObject * obj3 = 0 ;
21174 char *kwnames[] = {
21175 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21176 };
21177
21178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21181 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21183 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21185 if (obj3) {
21186 arg4 = (int) SWIG_AsInt(obj3);
21187 if (PyErr_Occurred()) SWIG_fail;
21188 }
21189 {
21190 PyThreadState* __tstate = wxPyBeginAllowThreads();
21191 result = (bool)(arg1)->Print(arg2,arg3,arg4);
21192
21193 wxPyEndAllowThreads(__tstate);
21194 if (PyErr_Occurred()) SWIG_fail;
21195 }
21196 {
21197 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21198 }
21199 return resultobj;
21200 fail:
21201 return NULL;
21202 }
21203
21204
21205 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21206 PyObject *resultobj;
21207 wxPrinter *arg1 = (wxPrinter *) 0 ;
21208 wxWindow *arg2 = (wxWindow *) 0 ;
21209 wxDC *result;
21210 PyObject * obj0 = 0 ;
21211 PyObject * obj1 = 0 ;
21212 char *kwnames[] = {
21213 (char *) "self",(char *) "parent", NULL
21214 };
21215
21216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21219 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21221 {
21222 PyThreadState* __tstate = wxPyBeginAllowThreads();
21223 result = (wxDC *)(arg1)->PrintDialog(arg2);
21224
21225 wxPyEndAllowThreads(__tstate);
21226 if (PyErr_Occurred()) SWIG_fail;
21227 }
21228 {
21229 resultobj = wxPyMake_wxObject(result);
21230 }
21231 return resultobj;
21232 fail:
21233 return NULL;
21234 }
21235
21236
21237 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
21238 PyObject *resultobj;
21239 wxPrinter *arg1 = (wxPrinter *) 0 ;
21240 wxWindow *arg2 = (wxWindow *) 0 ;
21241 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21242 wxString *arg4 = 0 ;
21243 bool temp4 = False ;
21244 PyObject * obj0 = 0 ;
21245 PyObject * obj1 = 0 ;
21246 PyObject * obj2 = 0 ;
21247 PyObject * obj3 = 0 ;
21248 char *kwnames[] = {
21249 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21250 };
21251
21252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21255 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21257 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21259 {
21260 arg4 = wxString_in_helper(obj3);
21261 if (arg4 == NULL) SWIG_fail;
21262 temp4 = True;
21263 }
21264 {
21265 PyThreadState* __tstate = wxPyBeginAllowThreads();
21266 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
21267
21268 wxPyEndAllowThreads(__tstate);
21269 if (PyErr_Occurred()) SWIG_fail;
21270 }
21271 Py_INCREF(Py_None); resultobj = Py_None;
21272 {
21273 if (temp4)
21274 delete arg4;
21275 }
21276 return resultobj;
21277 fail:
21278 {
21279 if (temp4)
21280 delete arg4;
21281 }
21282 return NULL;
21283 }
21284
21285
21286 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
21287 PyObject *resultobj;
21288 wxPrinter *arg1 = (wxPrinter *) 0 ;
21289 wxWindow *arg2 = (wxWindow *) 0 ;
21290 bool result;
21291 PyObject * obj0 = 0 ;
21292 PyObject * obj1 = 0 ;
21293 char *kwnames[] = {
21294 (char *) "self",(char *) "parent", NULL
21295 };
21296
21297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
21298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21300 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21302 {
21303 PyThreadState* __tstate = wxPyBeginAllowThreads();
21304 result = (bool)(arg1)->Setup(arg2);
21305
21306 wxPyEndAllowThreads(__tstate);
21307 if (PyErr_Occurred()) SWIG_fail;
21308 }
21309 {
21310 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21311 }
21312 return resultobj;
21313 fail:
21314 return NULL;
21315 }
21316
21317
21318 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
21319 PyObject *resultobj;
21320 wxPrinter *arg1 = (wxPrinter *) 0 ;
21321 bool result;
21322 PyObject * obj0 = 0 ;
21323 char *kwnames[] = {
21324 (char *) "self", NULL
21325 };
21326
21327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
21328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21330 {
21331 PyThreadState* __tstate = wxPyBeginAllowThreads();
21332 result = (bool)(arg1)->GetAbort();
21333
21334 wxPyEndAllowThreads(__tstate);
21335 if (PyErr_Occurred()) SWIG_fail;
21336 }
21337 {
21338 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21339 }
21340 return resultobj;
21341 fail:
21342 return NULL;
21343 }
21344
21345
21346 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
21347 PyObject *resultobj;
21348 int result;
21349 char *kwnames[] = {
21350 NULL
21351 };
21352
21353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
21354 {
21355 PyThreadState* __tstate = wxPyBeginAllowThreads();
21356 result = (int)wxPrinter::GetLastError();
21357
21358 wxPyEndAllowThreads(__tstate);
21359 if (PyErr_Occurred()) SWIG_fail;
21360 }
21361 resultobj = SWIG_FromInt((int)result);
21362 return resultobj;
21363 fail:
21364 return NULL;
21365 }
21366
21367
21368 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
21369 PyObject *obj;
21370 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21371 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
21372 Py_INCREF(obj);
21373 return Py_BuildValue((char *)"");
21374 }
21375 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
21376 PyObject *resultobj;
21377 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
21378 wxString *arg1 = (wxString *) &arg1_defvalue ;
21379 wxPyPrintout *result;
21380 bool temp1 = False ;
21381 PyObject * obj0 = 0 ;
21382 char *kwnames[] = {
21383 (char *) "title", NULL
21384 };
21385
21386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
21387 if (obj0) {
21388 {
21389 arg1 = wxString_in_helper(obj0);
21390 if (arg1 == NULL) SWIG_fail;
21391 temp1 = True;
21392 }
21393 }
21394 {
21395 PyThreadState* __tstate = wxPyBeginAllowThreads();
21396 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
21397
21398 wxPyEndAllowThreads(__tstate);
21399 if (PyErr_Occurred()) SWIG_fail;
21400 }
21401 {
21402 resultobj = wxPyMake_wxObject(result);
21403 }
21404 {
21405 if (temp1)
21406 delete arg1;
21407 }
21408 return resultobj;
21409 fail:
21410 {
21411 if (temp1)
21412 delete arg1;
21413 }
21414 return NULL;
21415 }
21416
21417
21418 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21419 PyObject *resultobj;
21420 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21421 PyObject *arg2 = (PyObject *) 0 ;
21422 PyObject *arg3 = (PyObject *) 0 ;
21423 PyObject * obj0 = 0 ;
21424 PyObject * obj1 = 0 ;
21425 PyObject * obj2 = 0 ;
21426 char *kwnames[] = {
21427 (char *) "self",(char *) "self",(char *) "_class", NULL
21428 };
21429
21430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21433 arg2 = obj1;
21434 arg3 = obj2;
21435 {
21436 PyThreadState* __tstate = wxPyBeginAllowThreads();
21437 (arg1)->_setCallbackInfo(arg2,arg3);
21438
21439 wxPyEndAllowThreads(__tstate);
21440 if (PyErr_Occurred()) SWIG_fail;
21441 }
21442 Py_INCREF(Py_None); resultobj = Py_None;
21443 return resultobj;
21444 fail:
21445 return NULL;
21446 }
21447
21448
21449 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21450 PyObject *resultobj;
21451 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21452 wxString result;
21453 PyObject * obj0 = 0 ;
21454 char *kwnames[] = {
21455 (char *) "self", NULL
21456 };
21457
21458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
21459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21461 {
21462 PyThreadState* __tstate = wxPyBeginAllowThreads();
21463 result = ((wxPyPrintout const *)arg1)->GetTitle();
21464
21465 wxPyEndAllowThreads(__tstate);
21466 if (PyErr_Occurred()) SWIG_fail;
21467 }
21468 {
21469 #if wxUSE_UNICODE
21470 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21471 #else
21472 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21473 #endif
21474 }
21475 return resultobj;
21476 fail:
21477 return NULL;
21478 }
21479
21480
21481 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21482 PyObject *resultobj;
21483 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21484 wxDC *result;
21485 PyObject * obj0 = 0 ;
21486 char *kwnames[] = {
21487 (char *) "self", NULL
21488 };
21489
21490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
21491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21493 {
21494 PyThreadState* __tstate = wxPyBeginAllowThreads();
21495 result = (wxDC *)(arg1)->GetDC();
21496
21497 wxPyEndAllowThreads(__tstate);
21498 if (PyErr_Occurred()) SWIG_fail;
21499 }
21500 {
21501 resultobj = wxPyMake_wxObject(result);
21502 }
21503 return resultobj;
21504 fail:
21505 return NULL;
21506 }
21507
21508
21509 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21510 PyObject *resultobj;
21511 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21512 wxDC *arg2 = (wxDC *) 0 ;
21513 PyObject * obj0 = 0 ;
21514 PyObject * obj1 = 0 ;
21515 char *kwnames[] = {
21516 (char *) "self",(char *) "dc", NULL
21517 };
21518
21519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
21520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21522 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21524 {
21525 PyThreadState* __tstate = wxPyBeginAllowThreads();
21526 (arg1)->SetDC(arg2);
21527
21528 wxPyEndAllowThreads(__tstate);
21529 if (PyErr_Occurred()) SWIG_fail;
21530 }
21531 Py_INCREF(Py_None); resultobj = Py_None;
21532 return resultobj;
21533 fail:
21534 return NULL;
21535 }
21536
21537
21538 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21539 PyObject *resultobj;
21540 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21541 int arg2 ;
21542 int arg3 ;
21543 PyObject * obj0 = 0 ;
21544 PyObject * obj1 = 0 ;
21545 PyObject * obj2 = 0 ;
21546 char *kwnames[] = {
21547 (char *) "self",(char *) "w",(char *) "h", NULL
21548 };
21549
21550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
21551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21553 arg2 = (int) SWIG_AsInt(obj1);
21554 if (PyErr_Occurred()) SWIG_fail;
21555 arg3 = (int) SWIG_AsInt(obj2);
21556 if (PyErr_Occurred()) SWIG_fail;
21557 {
21558 PyThreadState* __tstate = wxPyBeginAllowThreads();
21559 (arg1)->SetPageSizePixels(arg2,arg3);
21560
21561 wxPyEndAllowThreads(__tstate);
21562 if (PyErr_Occurred()) SWIG_fail;
21563 }
21564 Py_INCREF(Py_None); resultobj = Py_None;
21565 return resultobj;
21566 fail:
21567 return NULL;
21568 }
21569
21570
21571 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21572 PyObject *resultobj;
21573 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21574 int *arg2 = (int *) 0 ;
21575 int *arg3 = (int *) 0 ;
21576 int temp2 ;
21577 int temp3 ;
21578 PyObject * obj0 = 0 ;
21579 char *kwnames[] = {
21580 (char *) "self", NULL
21581 };
21582
21583 arg2 = &temp2;
21584 arg3 = &temp3;
21585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
21586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21588 {
21589 PyThreadState* __tstate = wxPyBeginAllowThreads();
21590 (arg1)->GetPageSizePixels(arg2,arg3);
21591
21592 wxPyEndAllowThreads(__tstate);
21593 if (PyErr_Occurred()) SWIG_fail;
21594 }
21595 Py_INCREF(Py_None); resultobj = Py_None;
21596 {
21597 PyObject *o = PyInt_FromLong((long) (*arg2));
21598 resultobj = t_output_helper(resultobj,o);
21599 }
21600 {
21601 PyObject *o = PyInt_FromLong((long) (*arg3));
21602 resultobj = t_output_helper(resultobj,o);
21603 }
21604 return resultobj;
21605 fail:
21606 return NULL;
21607 }
21608
21609
21610 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
21611 PyObject *resultobj;
21612 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21613 int arg2 ;
21614 int arg3 ;
21615 PyObject * obj0 = 0 ;
21616 PyObject * obj1 = 0 ;
21617 PyObject * obj2 = 0 ;
21618 char *kwnames[] = {
21619 (char *) "self",(char *) "w",(char *) "h", NULL
21620 };
21621
21622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
21623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21625 arg2 = (int) SWIG_AsInt(obj1);
21626 if (PyErr_Occurred()) SWIG_fail;
21627 arg3 = (int) SWIG_AsInt(obj2);
21628 if (PyErr_Occurred()) SWIG_fail;
21629 {
21630 PyThreadState* __tstate = wxPyBeginAllowThreads();
21631 (arg1)->SetPageSizeMM(arg2,arg3);
21632
21633 wxPyEndAllowThreads(__tstate);
21634 if (PyErr_Occurred()) SWIG_fail;
21635 }
21636 Py_INCREF(Py_None); resultobj = Py_None;
21637 return resultobj;
21638 fail:
21639 return NULL;
21640 }
21641
21642
21643 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
21644 PyObject *resultobj;
21645 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21646 int *arg2 = (int *) 0 ;
21647 int *arg3 = (int *) 0 ;
21648 int temp2 ;
21649 int temp3 ;
21650 PyObject * obj0 = 0 ;
21651 char *kwnames[] = {
21652 (char *) "self", NULL
21653 };
21654
21655 arg2 = &temp2;
21656 arg3 = &temp3;
21657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
21658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21660 {
21661 PyThreadState* __tstate = wxPyBeginAllowThreads();
21662 (arg1)->GetPageSizeMM(arg2,arg3);
21663
21664 wxPyEndAllowThreads(__tstate);
21665 if (PyErr_Occurred()) SWIG_fail;
21666 }
21667 Py_INCREF(Py_None); resultobj = Py_None;
21668 {
21669 PyObject *o = PyInt_FromLong((long) (*arg2));
21670 resultobj = t_output_helper(resultobj,o);
21671 }
21672 {
21673 PyObject *o = PyInt_FromLong((long) (*arg3));
21674 resultobj = t_output_helper(resultobj,o);
21675 }
21676 return resultobj;
21677 fail:
21678 return NULL;
21679 }
21680
21681
21682 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
21683 PyObject *resultobj;
21684 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21685 int arg2 ;
21686 int arg3 ;
21687 PyObject * obj0 = 0 ;
21688 PyObject * obj1 = 0 ;
21689 PyObject * obj2 = 0 ;
21690 char *kwnames[] = {
21691 (char *) "self",(char *) "x",(char *) "y", NULL
21692 };
21693
21694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
21695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21697 arg2 = (int) SWIG_AsInt(obj1);
21698 if (PyErr_Occurred()) SWIG_fail;
21699 arg3 = (int) SWIG_AsInt(obj2);
21700 if (PyErr_Occurred()) SWIG_fail;
21701 {
21702 PyThreadState* __tstate = wxPyBeginAllowThreads();
21703 (arg1)->SetPPIScreen(arg2,arg3);
21704
21705 wxPyEndAllowThreads(__tstate);
21706 if (PyErr_Occurred()) SWIG_fail;
21707 }
21708 Py_INCREF(Py_None); resultobj = Py_None;
21709 return resultobj;
21710 fail:
21711 return NULL;
21712 }
21713
21714
21715 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
21716 PyObject *resultobj;
21717 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21718 int *arg2 = (int *) 0 ;
21719 int *arg3 = (int *) 0 ;
21720 int temp2 ;
21721 int temp3 ;
21722 PyObject * obj0 = 0 ;
21723 char *kwnames[] = {
21724 (char *) "self", NULL
21725 };
21726
21727 arg2 = &temp2;
21728 arg3 = &temp3;
21729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
21730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21732 {
21733 PyThreadState* __tstate = wxPyBeginAllowThreads();
21734 (arg1)->GetPPIScreen(arg2,arg3);
21735
21736 wxPyEndAllowThreads(__tstate);
21737 if (PyErr_Occurred()) SWIG_fail;
21738 }
21739 Py_INCREF(Py_None); resultobj = Py_None;
21740 {
21741 PyObject *o = PyInt_FromLong((long) (*arg2));
21742 resultobj = t_output_helper(resultobj,o);
21743 }
21744 {
21745 PyObject *o = PyInt_FromLong((long) (*arg3));
21746 resultobj = t_output_helper(resultobj,o);
21747 }
21748 return resultobj;
21749 fail:
21750 return NULL;
21751 }
21752
21753
21754 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
21755 PyObject *resultobj;
21756 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21757 int arg2 ;
21758 int arg3 ;
21759 PyObject * obj0 = 0 ;
21760 PyObject * obj1 = 0 ;
21761 PyObject * obj2 = 0 ;
21762 char *kwnames[] = {
21763 (char *) "self",(char *) "x",(char *) "y", NULL
21764 };
21765
21766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
21767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21769 arg2 = (int) SWIG_AsInt(obj1);
21770 if (PyErr_Occurred()) SWIG_fail;
21771 arg3 = (int) SWIG_AsInt(obj2);
21772 if (PyErr_Occurred()) SWIG_fail;
21773 {
21774 PyThreadState* __tstate = wxPyBeginAllowThreads();
21775 (arg1)->SetPPIPrinter(arg2,arg3);
21776
21777 wxPyEndAllowThreads(__tstate);
21778 if (PyErr_Occurred()) SWIG_fail;
21779 }
21780 Py_INCREF(Py_None); resultobj = Py_None;
21781 return resultobj;
21782 fail:
21783 return NULL;
21784 }
21785
21786
21787 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
21788 PyObject *resultobj;
21789 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21790 int *arg2 = (int *) 0 ;
21791 int *arg3 = (int *) 0 ;
21792 int temp2 ;
21793 int temp3 ;
21794 PyObject * obj0 = 0 ;
21795 char *kwnames[] = {
21796 (char *) "self", NULL
21797 };
21798
21799 arg2 = &temp2;
21800 arg3 = &temp3;
21801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
21802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21804 {
21805 PyThreadState* __tstate = wxPyBeginAllowThreads();
21806 (arg1)->GetPPIPrinter(arg2,arg3);
21807
21808 wxPyEndAllowThreads(__tstate);
21809 if (PyErr_Occurred()) SWIG_fail;
21810 }
21811 Py_INCREF(Py_None); resultobj = Py_None;
21812 {
21813 PyObject *o = PyInt_FromLong((long) (*arg2));
21814 resultobj = t_output_helper(resultobj,o);
21815 }
21816 {
21817 PyObject *o = PyInt_FromLong((long) (*arg3));
21818 resultobj = t_output_helper(resultobj,o);
21819 }
21820 return resultobj;
21821 fail:
21822 return NULL;
21823 }
21824
21825
21826 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21827 PyObject *resultobj;
21828 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21829 bool result;
21830 PyObject * obj0 = 0 ;
21831 char *kwnames[] = {
21832 (char *) "self", NULL
21833 };
21834
21835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
21836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21838 {
21839 PyThreadState* __tstate = wxPyBeginAllowThreads();
21840 result = (bool)(arg1)->IsPreview();
21841
21842 wxPyEndAllowThreads(__tstate);
21843 if (PyErr_Occurred()) SWIG_fail;
21844 }
21845 {
21846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21847 }
21848 return resultobj;
21849 fail:
21850 return NULL;
21851 }
21852
21853
21854 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21855 PyObject *resultobj;
21856 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21857 bool arg2 ;
21858 PyObject * obj0 = 0 ;
21859 PyObject * obj1 = 0 ;
21860 char *kwnames[] = {
21861 (char *) "self",(char *) "p", NULL
21862 };
21863
21864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
21865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21867 arg2 = (bool) SWIG_AsBool(obj1);
21868 if (PyErr_Occurred()) SWIG_fail;
21869 {
21870 PyThreadState* __tstate = wxPyBeginAllowThreads();
21871 (arg1)->SetIsPreview(arg2);
21872
21873 wxPyEndAllowThreads(__tstate);
21874 if (PyErr_Occurred()) SWIG_fail;
21875 }
21876 Py_INCREF(Py_None); resultobj = Py_None;
21877 return resultobj;
21878 fail:
21879 return NULL;
21880 }
21881
21882
21883 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
21884 PyObject *resultobj;
21885 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21886 int arg2 ;
21887 int arg3 ;
21888 bool result;
21889 PyObject * obj0 = 0 ;
21890 PyObject * obj1 = 0 ;
21891 PyObject * obj2 = 0 ;
21892 char *kwnames[] = {
21893 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
21894 };
21895
21896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
21897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21899 arg2 = (int) SWIG_AsInt(obj1);
21900 if (PyErr_Occurred()) SWIG_fail;
21901 arg3 = (int) SWIG_AsInt(obj2);
21902 if (PyErr_Occurred()) SWIG_fail;
21903 {
21904 PyThreadState* __tstate = wxPyBeginAllowThreads();
21905 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
21906
21907 wxPyEndAllowThreads(__tstate);
21908 if (PyErr_Occurred()) SWIG_fail;
21909 }
21910 {
21911 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21912 }
21913 return resultobj;
21914 fail:
21915 return NULL;
21916 }
21917
21918
21919 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
21920 PyObject *resultobj;
21921 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21922 PyObject * obj0 = 0 ;
21923 char *kwnames[] = {
21924 (char *) "self", NULL
21925 };
21926
21927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
21928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21930 {
21931 PyThreadState* __tstate = wxPyBeginAllowThreads();
21932 (arg1)->base_OnEndDocument();
21933
21934 wxPyEndAllowThreads(__tstate);
21935 if (PyErr_Occurred()) SWIG_fail;
21936 }
21937 Py_INCREF(Py_None); resultobj = Py_None;
21938 return resultobj;
21939 fail:
21940 return NULL;
21941 }
21942
21943
21944 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
21945 PyObject *resultobj;
21946 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21947 PyObject * obj0 = 0 ;
21948 char *kwnames[] = {
21949 (char *) "self", NULL
21950 };
21951
21952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
21953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21955 {
21956 PyThreadState* __tstate = wxPyBeginAllowThreads();
21957 (arg1)->base_OnBeginPrinting();
21958
21959 wxPyEndAllowThreads(__tstate);
21960 if (PyErr_Occurred()) SWIG_fail;
21961 }
21962 Py_INCREF(Py_None); resultobj = Py_None;
21963 return resultobj;
21964 fail:
21965 return NULL;
21966 }
21967
21968
21969 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
21970 PyObject *resultobj;
21971 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21972 PyObject * obj0 = 0 ;
21973 char *kwnames[] = {
21974 (char *) "self", NULL
21975 };
21976
21977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
21978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21980 {
21981 PyThreadState* __tstate = wxPyBeginAllowThreads();
21982 (arg1)->base_OnEndPrinting();
21983
21984 wxPyEndAllowThreads(__tstate);
21985 if (PyErr_Occurred()) SWIG_fail;
21986 }
21987 Py_INCREF(Py_None); resultobj = Py_None;
21988 return resultobj;
21989 fail:
21990 return NULL;
21991 }
21992
21993
21994 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
21995 PyObject *resultobj;
21996 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21997 PyObject * obj0 = 0 ;
21998 char *kwnames[] = {
21999 (char *) "self", NULL
22000 };
22001
22002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
22003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22005 {
22006 PyThreadState* __tstate = wxPyBeginAllowThreads();
22007 (arg1)->base_OnPreparePrinting();
22008
22009 wxPyEndAllowThreads(__tstate);
22010 if (PyErr_Occurred()) SWIG_fail;
22011 }
22012 Py_INCREF(Py_None); resultobj = Py_None;
22013 return resultobj;
22014 fail:
22015 return NULL;
22016 }
22017
22018
22019 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22020 PyObject *resultobj;
22021 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22022 int arg2 ;
22023 bool result;
22024 PyObject * obj0 = 0 ;
22025 PyObject * obj1 = 0 ;
22026 char *kwnames[] = {
22027 (char *) "self",(char *) "page", NULL
22028 };
22029
22030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
22031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22033 arg2 = (int) SWIG_AsInt(obj1);
22034 if (PyErr_Occurred()) SWIG_fail;
22035 {
22036 PyThreadState* __tstate = wxPyBeginAllowThreads();
22037 result = (bool)(arg1)->base_HasPage(arg2);
22038
22039 wxPyEndAllowThreads(__tstate);
22040 if (PyErr_Occurred()) SWIG_fail;
22041 }
22042 {
22043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22044 }
22045 return resultobj;
22046 fail:
22047 return NULL;
22048 }
22049
22050
22051 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22052 PyObject *resultobj;
22053 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22054 int *arg2 = (int *) 0 ;
22055 int *arg3 = (int *) 0 ;
22056 int *arg4 = (int *) 0 ;
22057 int *arg5 = (int *) 0 ;
22058 int temp2 ;
22059 int temp3 ;
22060 int temp4 ;
22061 int temp5 ;
22062 PyObject * obj0 = 0 ;
22063 char *kwnames[] = {
22064 (char *) "self", NULL
22065 };
22066
22067 arg2 = &temp2;
22068 arg3 = &temp3;
22069 arg4 = &temp4;
22070 arg5 = &temp5;
22071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
22072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22074 {
22075 PyThreadState* __tstate = wxPyBeginAllowThreads();
22076 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
22077
22078 wxPyEndAllowThreads(__tstate);
22079 if (PyErr_Occurred()) SWIG_fail;
22080 }
22081 Py_INCREF(Py_None); resultobj = Py_None;
22082 {
22083 PyObject *o = PyInt_FromLong((long) (*arg2));
22084 resultobj = t_output_helper(resultobj,o);
22085 }
22086 {
22087 PyObject *o = PyInt_FromLong((long) (*arg3));
22088 resultobj = t_output_helper(resultobj,o);
22089 }
22090 {
22091 PyObject *o = PyInt_FromLong((long) (*arg4));
22092 resultobj = t_output_helper(resultobj,o);
22093 }
22094 {
22095 PyObject *o = PyInt_FromLong((long) (*arg5));
22096 resultobj = t_output_helper(resultobj,o);
22097 }
22098 return resultobj;
22099 fail:
22100 return NULL;
22101 }
22102
22103
22104 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
22105 PyObject *obj;
22106 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22107 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
22108 Py_INCREF(obj);
22109 return Py_BuildValue((char *)"");
22110 }
22111 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22112 PyObject *resultobj;
22113 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22114 wxWindow *arg2 = (wxWindow *) 0 ;
22115 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22116 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22117 wxSize const &arg4_defvalue = wxDefaultSize ;
22118 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22119 long arg5 = (long) 0 ;
22120 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
22121 wxString *arg6 = (wxString *) &arg6_defvalue ;
22122 wxPreviewCanvas *result;
22123 wxPoint temp3 ;
22124 wxSize temp4 ;
22125 bool temp6 = False ;
22126 PyObject * obj0 = 0 ;
22127 PyObject * obj1 = 0 ;
22128 PyObject * obj2 = 0 ;
22129 PyObject * obj3 = 0 ;
22130 PyObject * obj4 = 0 ;
22131 PyObject * obj5 = 0 ;
22132 char *kwnames[] = {
22133 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22134 };
22135
22136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22139 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22141 if (obj2) {
22142 {
22143 arg3 = &temp3;
22144 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22145 }
22146 }
22147 if (obj3) {
22148 {
22149 arg4 = &temp4;
22150 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22151 }
22152 }
22153 if (obj4) {
22154 arg5 = (long) SWIG_AsLong(obj4);
22155 if (PyErr_Occurred()) SWIG_fail;
22156 }
22157 if (obj5) {
22158 {
22159 arg6 = wxString_in_helper(obj5);
22160 if (arg6 == NULL) SWIG_fail;
22161 temp6 = True;
22162 }
22163 }
22164 {
22165 PyThreadState* __tstate = wxPyBeginAllowThreads();
22166 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22167
22168 wxPyEndAllowThreads(__tstate);
22169 if (PyErr_Occurred()) SWIG_fail;
22170 }
22171 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
22172 {
22173 if (temp6)
22174 delete arg6;
22175 }
22176 return resultobj;
22177 fail:
22178 {
22179 if (temp6)
22180 delete arg6;
22181 }
22182 return NULL;
22183 }
22184
22185
22186 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
22187 PyObject *obj;
22188 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22189 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
22190 Py_INCREF(obj);
22191 return Py_BuildValue((char *)"");
22192 }
22193 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22194 PyObject *resultobj;
22195 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22196 wxFrame *arg2 = (wxFrame *) 0 ;
22197 wxString *arg3 = 0 ;
22198 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22199 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22200 wxSize const &arg5_defvalue = wxDefaultSize ;
22201 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22202 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
22203 wxString const &arg7_defvalue = wxPyFrameNameStr ;
22204 wxString *arg7 = (wxString *) &arg7_defvalue ;
22205 wxPreviewFrame *result;
22206 bool temp3 = False ;
22207 wxPoint temp4 ;
22208 wxSize temp5 ;
22209 bool temp7 = False ;
22210 PyObject * obj0 = 0 ;
22211 PyObject * obj1 = 0 ;
22212 PyObject * obj2 = 0 ;
22213 PyObject * obj3 = 0 ;
22214 PyObject * obj4 = 0 ;
22215 PyObject * obj5 = 0 ;
22216 PyObject * obj6 = 0 ;
22217 char *kwnames[] = {
22218 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22219 };
22220
22221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22224 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22226 {
22227 arg3 = wxString_in_helper(obj2);
22228 if (arg3 == NULL) SWIG_fail;
22229 temp3 = True;
22230 }
22231 if (obj3) {
22232 {
22233 arg4 = &temp4;
22234 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22235 }
22236 }
22237 if (obj4) {
22238 {
22239 arg5 = &temp5;
22240 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22241 }
22242 }
22243 if (obj5) {
22244 arg6 = (long) SWIG_AsLong(obj5);
22245 if (PyErr_Occurred()) SWIG_fail;
22246 }
22247 if (obj6) {
22248 {
22249 arg7 = wxString_in_helper(obj6);
22250 if (arg7 == NULL) SWIG_fail;
22251 temp7 = True;
22252 }
22253 }
22254 {
22255 PyThreadState* __tstate = wxPyBeginAllowThreads();
22256 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22257
22258 wxPyEndAllowThreads(__tstate);
22259 if (PyErr_Occurred()) SWIG_fail;
22260 }
22261 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
22262 {
22263 if (temp3)
22264 delete arg3;
22265 }
22266 {
22267 if (temp7)
22268 delete arg7;
22269 }
22270 return resultobj;
22271 fail:
22272 {
22273 if (temp3)
22274 delete arg3;
22275 }
22276 {
22277 if (temp7)
22278 delete arg7;
22279 }
22280 return NULL;
22281 }
22282
22283
22284 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
22285 PyObject *resultobj;
22286 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22287 PyObject * obj0 = 0 ;
22288 char *kwnames[] = {
22289 (char *) "self", NULL
22290 };
22291
22292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
22293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22295 {
22296 PyThreadState* __tstate = wxPyBeginAllowThreads();
22297 (arg1)->Initialize();
22298
22299 wxPyEndAllowThreads(__tstate);
22300 if (PyErr_Occurred()) SWIG_fail;
22301 }
22302 Py_INCREF(Py_None); resultobj = Py_None;
22303 return resultobj;
22304 fail:
22305 return NULL;
22306 }
22307
22308
22309 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22310 PyObject *resultobj;
22311 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22312 PyObject * obj0 = 0 ;
22313 char *kwnames[] = {
22314 (char *) "self", NULL
22315 };
22316
22317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
22318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22320 {
22321 PyThreadState* __tstate = wxPyBeginAllowThreads();
22322 (arg1)->CreateControlBar();
22323
22324 wxPyEndAllowThreads(__tstate);
22325 if (PyErr_Occurred()) SWIG_fail;
22326 }
22327 Py_INCREF(Py_None); resultobj = Py_None;
22328 return resultobj;
22329 fail:
22330 return NULL;
22331 }
22332
22333
22334 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22335 PyObject *resultobj;
22336 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22337 PyObject * obj0 = 0 ;
22338 char *kwnames[] = {
22339 (char *) "self", NULL
22340 };
22341
22342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
22343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22345 {
22346 PyThreadState* __tstate = wxPyBeginAllowThreads();
22347 (arg1)->CreateCanvas();
22348
22349 wxPyEndAllowThreads(__tstate);
22350 if (PyErr_Occurred()) SWIG_fail;
22351 }
22352 Py_INCREF(Py_None); resultobj = Py_None;
22353 return resultobj;
22354 fail:
22355 return NULL;
22356 }
22357
22358
22359 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22360 PyObject *resultobj;
22361 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22362 wxPreviewControlBar *result;
22363 PyObject * obj0 = 0 ;
22364 char *kwnames[] = {
22365 (char *) "self", NULL
22366 };
22367
22368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
22369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22371 {
22372 PyThreadState* __tstate = wxPyBeginAllowThreads();
22373 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
22374
22375 wxPyEndAllowThreads(__tstate);
22376 if (PyErr_Occurred()) SWIG_fail;
22377 }
22378 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
22379 return resultobj;
22380 fail:
22381 return NULL;
22382 }
22383
22384
22385 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
22386 PyObject *obj;
22387 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22388 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
22389 Py_INCREF(obj);
22390 return Py_BuildValue((char *)"");
22391 }
22392 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22393 PyObject *resultobj;
22394 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22395 long arg2 ;
22396 wxWindow *arg3 = (wxWindow *) 0 ;
22397 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22398 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22399 wxSize const &arg5_defvalue = wxDefaultSize ;
22400 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22401 long arg6 = (long) wxTAB_TRAVERSAL ;
22402 wxString const &arg7_defvalue = wxPyPanelNameStr ;
22403 wxString *arg7 = (wxString *) &arg7_defvalue ;
22404 wxPreviewControlBar *result;
22405 wxPoint temp4 ;
22406 wxSize temp5 ;
22407 bool temp7 = False ;
22408 PyObject * obj0 = 0 ;
22409 PyObject * obj1 = 0 ;
22410 PyObject * obj2 = 0 ;
22411 PyObject * obj3 = 0 ;
22412 PyObject * obj4 = 0 ;
22413 PyObject * obj5 = 0 ;
22414 PyObject * obj6 = 0 ;
22415 char *kwnames[] = {
22416 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22417 };
22418
22419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22422 arg2 = (long) SWIG_AsLong(obj1);
22423 if (PyErr_Occurred()) SWIG_fail;
22424 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
22425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22426 if (obj3) {
22427 {
22428 arg4 = &temp4;
22429 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22430 }
22431 }
22432 if (obj4) {
22433 {
22434 arg5 = &temp5;
22435 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22436 }
22437 }
22438 if (obj5) {
22439 arg6 = (long) SWIG_AsLong(obj5);
22440 if (PyErr_Occurred()) SWIG_fail;
22441 }
22442 if (obj6) {
22443 {
22444 arg7 = wxString_in_helper(obj6);
22445 if (arg7 == NULL) SWIG_fail;
22446 temp7 = True;
22447 }
22448 }
22449 {
22450 PyThreadState* __tstate = wxPyBeginAllowThreads();
22451 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22452
22453 wxPyEndAllowThreads(__tstate);
22454 if (PyErr_Occurred()) SWIG_fail;
22455 }
22456 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
22457 {
22458 if (temp7)
22459 delete arg7;
22460 }
22461 return resultobj;
22462 fail:
22463 {
22464 if (temp7)
22465 delete arg7;
22466 }
22467 return NULL;
22468 }
22469
22470
22471 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22472 PyObject *resultobj;
22473 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22474 int result;
22475 PyObject * obj0 = 0 ;
22476 char *kwnames[] = {
22477 (char *) "self", NULL
22478 };
22479
22480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
22481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22483 {
22484 PyThreadState* __tstate = wxPyBeginAllowThreads();
22485 result = (int)(arg1)->GetZoomControl();
22486
22487 wxPyEndAllowThreads(__tstate);
22488 if (PyErr_Occurred()) SWIG_fail;
22489 }
22490 resultobj = SWIG_FromInt((int)result);
22491 return resultobj;
22492 fail:
22493 return NULL;
22494 }
22495
22496
22497 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22498 PyObject *resultobj;
22499 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22500 int arg2 ;
22501 PyObject * obj0 = 0 ;
22502 PyObject * obj1 = 0 ;
22503 char *kwnames[] = {
22504 (char *) "self",(char *) "zoom", NULL
22505 };
22506
22507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
22508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22510 arg2 = (int) SWIG_AsInt(obj1);
22511 if (PyErr_Occurred()) SWIG_fail;
22512 {
22513 PyThreadState* __tstate = wxPyBeginAllowThreads();
22514 (arg1)->SetZoomControl(arg2);
22515
22516 wxPyEndAllowThreads(__tstate);
22517 if (PyErr_Occurred()) SWIG_fail;
22518 }
22519 Py_INCREF(Py_None); resultobj = Py_None;
22520 return resultobj;
22521 fail:
22522 return NULL;
22523 }
22524
22525
22526 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22527 PyObject *resultobj;
22528 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22529 wxPrintPreview *result;
22530 PyObject * obj0 = 0 ;
22531 char *kwnames[] = {
22532 (char *) "self", NULL
22533 };
22534
22535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
22536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22538 {
22539 PyThreadState* __tstate = wxPyBeginAllowThreads();
22540 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
22541
22542 wxPyEndAllowThreads(__tstate);
22543 if (PyErr_Occurred()) SWIG_fail;
22544 }
22545 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
22546 return resultobj;
22547 fail:
22548 return NULL;
22549 }
22550
22551
22552 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
22553 PyObject *resultobj;
22554 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22555 PyObject * obj0 = 0 ;
22556 char *kwnames[] = {
22557 (char *) "self", NULL
22558 };
22559
22560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
22561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22563 {
22564 PyThreadState* __tstate = wxPyBeginAllowThreads();
22565 (arg1)->OnNext();
22566
22567 wxPyEndAllowThreads(__tstate);
22568 if (PyErr_Occurred()) SWIG_fail;
22569 }
22570 Py_INCREF(Py_None); resultobj = Py_None;
22571 return resultobj;
22572 fail:
22573 return NULL;
22574 }
22575
22576
22577 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
22578 PyObject *resultobj;
22579 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22580 PyObject * obj0 = 0 ;
22581 char *kwnames[] = {
22582 (char *) "self", NULL
22583 };
22584
22585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
22586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22588 {
22589 PyThreadState* __tstate = wxPyBeginAllowThreads();
22590 (arg1)->OnPrevious();
22591
22592 wxPyEndAllowThreads(__tstate);
22593 if (PyErr_Occurred()) SWIG_fail;
22594 }
22595 Py_INCREF(Py_None); resultobj = Py_None;
22596 return resultobj;
22597 fail:
22598 return NULL;
22599 }
22600
22601
22602 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
22603 PyObject *resultobj;
22604 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22605 PyObject * obj0 = 0 ;
22606 char *kwnames[] = {
22607 (char *) "self", NULL
22608 };
22609
22610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
22611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22613 {
22614 PyThreadState* __tstate = wxPyBeginAllowThreads();
22615 (arg1)->OnFirst();
22616
22617 wxPyEndAllowThreads(__tstate);
22618 if (PyErr_Occurred()) SWIG_fail;
22619 }
22620 Py_INCREF(Py_None); resultobj = Py_None;
22621 return resultobj;
22622 fail:
22623 return NULL;
22624 }
22625
22626
22627 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
22628 PyObject *resultobj;
22629 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22630 PyObject * obj0 = 0 ;
22631 char *kwnames[] = {
22632 (char *) "self", NULL
22633 };
22634
22635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
22636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22638 {
22639 PyThreadState* __tstate = wxPyBeginAllowThreads();
22640 (arg1)->OnLast();
22641
22642 wxPyEndAllowThreads(__tstate);
22643 if (PyErr_Occurred()) SWIG_fail;
22644 }
22645 Py_INCREF(Py_None); resultobj = Py_None;
22646 return resultobj;
22647 fail:
22648 return NULL;
22649 }
22650
22651
22652 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
22653 PyObject *resultobj;
22654 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22655 PyObject * obj0 = 0 ;
22656 char *kwnames[] = {
22657 (char *) "self", NULL
22658 };
22659
22660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
22661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22663 {
22664 PyThreadState* __tstate = wxPyBeginAllowThreads();
22665 (arg1)->OnGoto();
22666
22667 wxPyEndAllowThreads(__tstate);
22668 if (PyErr_Occurred()) SWIG_fail;
22669 }
22670 Py_INCREF(Py_None); resultobj = Py_None;
22671 return resultobj;
22672 fail:
22673 return NULL;
22674 }
22675
22676
22677 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
22678 PyObject *obj;
22679 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22680 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
22681 Py_INCREF(obj);
22682 return Py_BuildValue((char *)"");
22683 }
22684 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *self, PyObject *args) {
22685 PyObject *resultobj;
22686 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22687 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22688 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
22689 wxPrintPreview *result;
22690 PyObject * obj0 = 0 ;
22691 PyObject * obj1 = 0 ;
22692 PyObject * obj2 = 0 ;
22693
22694 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
22695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22697 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22699 if (obj2) {
22700 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
22701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22702 }
22703 {
22704 PyThreadState* __tstate = wxPyBeginAllowThreads();
22705 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
22706
22707 wxPyEndAllowThreads(__tstate);
22708 if (PyErr_Occurred()) SWIG_fail;
22709 }
22710 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
22711 return resultobj;
22712 fail:
22713 return NULL;
22714 }
22715
22716
22717 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *self, PyObject *args) {
22718 PyObject *resultobj;
22719 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22720 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22721 wxPrintData *arg3 = (wxPrintData *) 0 ;
22722 wxPrintPreview *result;
22723 PyObject * obj0 = 0 ;
22724 PyObject * obj1 = 0 ;
22725 PyObject * obj2 = 0 ;
22726
22727 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
22728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22730 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22732 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
22733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22734 {
22735 PyThreadState* __tstate = wxPyBeginAllowThreads();
22736 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
22737
22738 wxPyEndAllowThreads(__tstate);
22739 if (PyErr_Occurred()) SWIG_fail;
22740 }
22741 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
22742 return resultobj;
22743 fail:
22744 return NULL;
22745 }
22746
22747
22748 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
22749 int argc;
22750 PyObject *argv[4];
22751 int ii;
22752
22753 argc = PyObject_Length(args);
22754 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
22755 argv[ii] = PyTuple_GetItem(args,ii);
22756 }
22757 if ((argc >= 2) && (argc <= 3)) {
22758 int _v;
22759 {
22760 void *ptr;
22761 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22762 _v = 0;
22763 PyErr_Clear();
22764 } else {
22765 _v = 1;
22766 }
22767 }
22768 if (_v) {
22769 {
22770 void *ptr;
22771 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22772 _v = 0;
22773 PyErr_Clear();
22774 } else {
22775 _v = 1;
22776 }
22777 }
22778 if (_v) {
22779 if (argc <= 2) {
22780 return _wrap_new_PrintPreview__SWIG_0(self,args);
22781 }
22782 {
22783 void *ptr;
22784 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
22785 _v = 0;
22786 PyErr_Clear();
22787 } else {
22788 _v = 1;
22789 }
22790 }
22791 if (_v) {
22792 return _wrap_new_PrintPreview__SWIG_0(self,args);
22793 }
22794 }
22795 }
22796 }
22797 if (argc == 3) {
22798 int _v;
22799 {
22800 void *ptr;
22801 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22802 _v = 0;
22803 PyErr_Clear();
22804 } else {
22805 _v = 1;
22806 }
22807 }
22808 if (_v) {
22809 {
22810 void *ptr;
22811 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22812 _v = 0;
22813 PyErr_Clear();
22814 } else {
22815 _v = 1;
22816 }
22817 }
22818 if (_v) {
22819 {
22820 void *ptr;
22821 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
22822 _v = 0;
22823 PyErr_Clear();
22824 } else {
22825 _v = 1;
22826 }
22827 }
22828 if (_v) {
22829 return _wrap_new_PrintPreview__SWIG_1(self,args);
22830 }
22831 }
22832 }
22833 }
22834
22835 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
22836 return NULL;
22837 }
22838
22839
22840 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22841 PyObject *resultobj;
22842 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22843 int arg2 ;
22844 bool result;
22845 PyObject * obj0 = 0 ;
22846 PyObject * obj1 = 0 ;
22847 char *kwnames[] = {
22848 (char *) "self",(char *) "pageNum", NULL
22849 };
22850
22851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
22852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22854 arg2 = (int) SWIG_AsInt(obj1);
22855 if (PyErr_Occurred()) SWIG_fail;
22856 {
22857 PyThreadState* __tstate = wxPyBeginAllowThreads();
22858 result = (bool)(arg1)->SetCurrentPage(arg2);
22859
22860 wxPyEndAllowThreads(__tstate);
22861 if (PyErr_Occurred()) SWIG_fail;
22862 }
22863 {
22864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22865 }
22866 return resultobj;
22867 fail:
22868 return NULL;
22869 }
22870
22871
22872 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22873 PyObject *resultobj;
22874 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22875 int result;
22876 PyObject * obj0 = 0 ;
22877 char *kwnames[] = {
22878 (char *) "self", NULL
22879 };
22880
22881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
22882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22884 {
22885 PyThreadState* __tstate = wxPyBeginAllowThreads();
22886 result = (int)(arg1)->GetCurrentPage();
22887
22888 wxPyEndAllowThreads(__tstate);
22889 if (PyErr_Occurred()) SWIG_fail;
22890 }
22891 resultobj = SWIG_FromInt((int)result);
22892 return resultobj;
22893 fail:
22894 return NULL;
22895 }
22896
22897
22898 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
22899 PyObject *resultobj;
22900 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22901 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22902 PyObject * obj0 = 0 ;
22903 PyObject * obj1 = 0 ;
22904 char *kwnames[] = {
22905 (char *) "self",(char *) "printout", NULL
22906 };
22907
22908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
22909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22911 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22913 {
22914 PyThreadState* __tstate = wxPyBeginAllowThreads();
22915 (arg1)->SetPrintout(arg2);
22916
22917 wxPyEndAllowThreads(__tstate);
22918 if (PyErr_Occurred()) SWIG_fail;
22919 }
22920 Py_INCREF(Py_None); resultobj = Py_None;
22921 return resultobj;
22922 fail:
22923 return NULL;
22924 }
22925
22926
22927 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
22928 PyObject *resultobj;
22929 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22930 wxPyPrintout *result;
22931 PyObject * obj0 = 0 ;
22932 char *kwnames[] = {
22933 (char *) "self", NULL
22934 };
22935
22936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
22937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22939 {
22940 PyThreadState* __tstate = wxPyBeginAllowThreads();
22941 result = (wxPyPrintout *)(arg1)->GetPrintout();
22942
22943 wxPyEndAllowThreads(__tstate);
22944 if (PyErr_Occurred()) SWIG_fail;
22945 }
22946 {
22947 resultobj = wxPyMake_wxObject(result);
22948 }
22949 return resultobj;
22950 fail:
22951 return NULL;
22952 }
22953
22954
22955 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22956 PyObject *resultobj;
22957 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22958 wxPyPrintout *result;
22959 PyObject * obj0 = 0 ;
22960 char *kwnames[] = {
22961 (char *) "self", NULL
22962 };
22963
22964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
22965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22967 {
22968 PyThreadState* __tstate = wxPyBeginAllowThreads();
22969 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
22970
22971 wxPyEndAllowThreads(__tstate);
22972 if (PyErr_Occurred()) SWIG_fail;
22973 }
22974 {
22975 resultobj = wxPyMake_wxObject(result);
22976 }
22977 return resultobj;
22978 fail:
22979 return NULL;
22980 }
22981
22982
22983 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22984 PyObject *resultobj;
22985 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22986 wxFrame *arg2 = (wxFrame *) 0 ;
22987 PyObject * obj0 = 0 ;
22988 PyObject * obj1 = 0 ;
22989 char *kwnames[] = {
22990 (char *) "self",(char *) "frame", NULL
22991 };
22992
22993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
22994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22996 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22998 {
22999 PyThreadState* __tstate = wxPyBeginAllowThreads();
23000 (arg1)->SetFrame(arg2);
23001
23002 wxPyEndAllowThreads(__tstate);
23003 if (PyErr_Occurred()) SWIG_fail;
23004 }
23005 Py_INCREF(Py_None); resultobj = Py_None;
23006 return resultobj;
23007 fail:
23008 return NULL;
23009 }
23010
23011
23012 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23013 PyObject *resultobj;
23014 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23015 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23016 PyObject * obj0 = 0 ;
23017 PyObject * obj1 = 0 ;
23018 char *kwnames[] = {
23019 (char *) "self",(char *) "canvas", NULL
23020 };
23021
23022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
23023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23025 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23027 {
23028 PyThreadState* __tstate = wxPyBeginAllowThreads();
23029 (arg1)->SetCanvas(arg2);
23030
23031 wxPyEndAllowThreads(__tstate);
23032 if (PyErr_Occurred()) SWIG_fail;
23033 }
23034 Py_INCREF(Py_None); resultobj = Py_None;
23035 return resultobj;
23036 fail:
23037 return NULL;
23038 }
23039
23040
23041 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23042 PyObject *resultobj;
23043 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23044 wxFrame *result;
23045 PyObject * obj0 = 0 ;
23046 char *kwnames[] = {
23047 (char *) "self", NULL
23048 };
23049
23050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
23051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23053 {
23054 PyThreadState* __tstate = wxPyBeginAllowThreads();
23055 result = (wxFrame *)(arg1)->GetFrame();
23056
23057 wxPyEndAllowThreads(__tstate);
23058 if (PyErr_Occurred()) SWIG_fail;
23059 }
23060 {
23061 resultobj = wxPyMake_wxObject(result);
23062 }
23063 return resultobj;
23064 fail:
23065 return NULL;
23066 }
23067
23068
23069 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23070 PyObject *resultobj;
23071 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23072 wxPreviewCanvas *result;
23073 PyObject * obj0 = 0 ;
23074 char *kwnames[] = {
23075 (char *) "self", NULL
23076 };
23077
23078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
23079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23081 {
23082 PyThreadState* __tstate = wxPyBeginAllowThreads();
23083 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
23084
23085 wxPyEndAllowThreads(__tstate);
23086 if (PyErr_Occurred()) SWIG_fail;
23087 }
23088 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
23089 return resultobj;
23090 fail:
23091 return NULL;
23092 }
23093
23094
23095 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23096 PyObject *resultobj;
23097 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23098 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23099 wxDC *arg3 = 0 ;
23100 bool result;
23101 PyObject * obj0 = 0 ;
23102 PyObject * obj1 = 0 ;
23103 PyObject * obj2 = 0 ;
23104 char *kwnames[] = {
23105 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23106 };
23107
23108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23111 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23113 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23114 SWIG_POINTER_EXCEPTION | 0)) == -1)
23115 SWIG_fail;
23116 if (arg3 == NULL) {
23117 PyErr_SetString(PyExc_TypeError,"null reference");
23118 SWIG_fail;
23119 }
23120 {
23121 PyThreadState* __tstate = wxPyBeginAllowThreads();
23122 result = (bool)(arg1)->PaintPage(arg2,*arg3);
23123
23124 wxPyEndAllowThreads(__tstate);
23125 if (PyErr_Occurred()) SWIG_fail;
23126 }
23127 {
23128 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23129 }
23130 return resultobj;
23131 fail:
23132 return NULL;
23133 }
23134
23135
23136 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23137 PyObject *resultobj;
23138 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23139 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23140 wxDC *arg3 = 0 ;
23141 bool result;
23142 PyObject * obj0 = 0 ;
23143 PyObject * obj1 = 0 ;
23144 PyObject * obj2 = 0 ;
23145 char *kwnames[] = {
23146 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23147 };
23148
23149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23152 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23154 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23155 SWIG_POINTER_EXCEPTION | 0)) == -1)
23156 SWIG_fail;
23157 if (arg3 == NULL) {
23158 PyErr_SetString(PyExc_TypeError,"null reference");
23159 SWIG_fail;
23160 }
23161 {
23162 PyThreadState* __tstate = wxPyBeginAllowThreads();
23163 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
23164
23165 wxPyEndAllowThreads(__tstate);
23166 if (PyErr_Occurred()) SWIG_fail;
23167 }
23168 {
23169 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23170 }
23171 return resultobj;
23172 fail:
23173 return NULL;
23174 }
23175
23176
23177 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23178 PyObject *resultobj;
23179 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23180 int arg2 ;
23181 bool result;
23182 PyObject * obj0 = 0 ;
23183 PyObject * obj1 = 0 ;
23184 char *kwnames[] = {
23185 (char *) "self",(char *) "pageNum", NULL
23186 };
23187
23188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23191 arg2 = (int) SWIG_AsInt(obj1);
23192 if (PyErr_Occurred()) SWIG_fail;
23193 {
23194 PyThreadState* __tstate = wxPyBeginAllowThreads();
23195 result = (bool)(arg1)->RenderPage(arg2);
23196
23197 wxPyEndAllowThreads(__tstate);
23198 if (PyErr_Occurred()) SWIG_fail;
23199 }
23200 {
23201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23202 }
23203 return resultobj;
23204 fail:
23205 return NULL;
23206 }
23207
23208
23209 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
23210 PyObject *resultobj;
23211 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23212 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23213 PyObject * obj0 = 0 ;
23214 PyObject * obj1 = 0 ;
23215 char *kwnames[] = {
23216 (char *) "self",(char *) "canvas", NULL
23217 };
23218
23219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
23220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23222 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23224 {
23225 PyThreadState* __tstate = wxPyBeginAllowThreads();
23226 (arg1)->AdjustScrollbars(arg2);
23227
23228 wxPyEndAllowThreads(__tstate);
23229 if (PyErr_Occurred()) SWIG_fail;
23230 }
23231 Py_INCREF(Py_None); resultobj = Py_None;
23232 return resultobj;
23233 fail:
23234 return NULL;
23235 }
23236
23237
23238 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
23239 PyObject *resultobj;
23240 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23241 wxPrintDialogData *result;
23242 PyObject * obj0 = 0 ;
23243 char *kwnames[] = {
23244 (char *) "self", NULL
23245 };
23246
23247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
23248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23250 {
23251 PyThreadState* __tstate = wxPyBeginAllowThreads();
23252 {
23253 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
23254 result = (wxPrintDialogData *) &_result_ref;
23255 }
23256
23257 wxPyEndAllowThreads(__tstate);
23258 if (PyErr_Occurred()) SWIG_fail;
23259 }
23260 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
23261 return resultobj;
23262 fail:
23263 return NULL;
23264 }
23265
23266
23267 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23268 PyObject *resultobj;
23269 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23270 int arg2 ;
23271 PyObject * obj0 = 0 ;
23272 PyObject * obj1 = 0 ;
23273 char *kwnames[] = {
23274 (char *) "self",(char *) "percent", NULL
23275 };
23276
23277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
23278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23280 arg2 = (int) SWIG_AsInt(obj1);
23281 if (PyErr_Occurred()) SWIG_fail;
23282 {
23283 PyThreadState* __tstate = wxPyBeginAllowThreads();
23284 (arg1)->SetZoom(arg2);
23285
23286 wxPyEndAllowThreads(__tstate);
23287 if (PyErr_Occurred()) SWIG_fail;
23288 }
23289 Py_INCREF(Py_None); resultobj = Py_None;
23290 return resultobj;
23291 fail:
23292 return NULL;
23293 }
23294
23295
23296 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23297 PyObject *resultobj;
23298 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23299 int result;
23300 PyObject * obj0 = 0 ;
23301 char *kwnames[] = {
23302 (char *) "self", NULL
23303 };
23304
23305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
23306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23308 {
23309 PyThreadState* __tstate = wxPyBeginAllowThreads();
23310 result = (int)(arg1)->GetZoom();
23311
23312 wxPyEndAllowThreads(__tstate);
23313 if (PyErr_Occurred()) SWIG_fail;
23314 }
23315 resultobj = SWIG_FromInt((int)result);
23316 return resultobj;
23317 fail:
23318 return NULL;
23319 }
23320
23321
23322 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23323 PyObject *resultobj;
23324 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23325 int result;
23326 PyObject * obj0 = 0 ;
23327 char *kwnames[] = {
23328 (char *) "self", NULL
23329 };
23330
23331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
23332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23334 {
23335 PyThreadState* __tstate = wxPyBeginAllowThreads();
23336 result = (int)(arg1)->GetMaxPage();
23337
23338 wxPyEndAllowThreads(__tstate);
23339 if (PyErr_Occurred()) SWIG_fail;
23340 }
23341 resultobj = SWIG_FromInt((int)result);
23342 return resultobj;
23343 fail:
23344 return NULL;
23345 }
23346
23347
23348 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23349 PyObject *resultobj;
23350 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23351 int result;
23352 PyObject * obj0 = 0 ;
23353 char *kwnames[] = {
23354 (char *) "self", NULL
23355 };
23356
23357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
23358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23360 {
23361 PyThreadState* __tstate = wxPyBeginAllowThreads();
23362 result = (int)(arg1)->GetMinPage();
23363
23364 wxPyEndAllowThreads(__tstate);
23365 if (PyErr_Occurred()) SWIG_fail;
23366 }
23367 resultobj = SWIG_FromInt((int)result);
23368 return resultobj;
23369 fail:
23370 return NULL;
23371 }
23372
23373
23374 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
23375 PyObject *resultobj;
23376 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23377 bool result;
23378 PyObject * obj0 = 0 ;
23379 char *kwnames[] = {
23380 (char *) "self", NULL
23381 };
23382
23383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
23384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23386 {
23387 PyThreadState* __tstate = wxPyBeginAllowThreads();
23388 result = (bool)(arg1)->Ok();
23389
23390 wxPyEndAllowThreads(__tstate);
23391 if (PyErr_Occurred()) SWIG_fail;
23392 }
23393 {
23394 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23395 }
23396 return resultobj;
23397 fail:
23398 return NULL;
23399 }
23400
23401
23402 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
23403 PyObject *resultobj;
23404 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23405 bool arg2 ;
23406 PyObject * obj0 = 0 ;
23407 PyObject * obj1 = 0 ;
23408 char *kwnames[] = {
23409 (char *) "self",(char *) "ok", NULL
23410 };
23411
23412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
23413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23415 arg2 = (bool) SWIG_AsBool(obj1);
23416 if (PyErr_Occurred()) SWIG_fail;
23417 {
23418 PyThreadState* __tstate = wxPyBeginAllowThreads();
23419 (arg1)->SetOk(arg2);
23420
23421 wxPyEndAllowThreads(__tstate);
23422 if (PyErr_Occurred()) SWIG_fail;
23423 }
23424 Py_INCREF(Py_None); resultobj = Py_None;
23425 return resultobj;
23426 fail:
23427 return NULL;
23428 }
23429
23430
23431 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
23432 PyObject *resultobj;
23433 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23434 bool arg2 ;
23435 bool result;
23436 PyObject * obj0 = 0 ;
23437 PyObject * obj1 = 0 ;
23438 char *kwnames[] = {
23439 (char *) "self",(char *) "interactive", NULL
23440 };
23441
23442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
23443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23445 arg2 = (bool) SWIG_AsBool(obj1);
23446 if (PyErr_Occurred()) SWIG_fail;
23447 {
23448 PyThreadState* __tstate = wxPyBeginAllowThreads();
23449 result = (bool)(arg1)->Print(arg2);
23450
23451 wxPyEndAllowThreads(__tstate);
23452 if (PyErr_Occurred()) SWIG_fail;
23453 }
23454 {
23455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23456 }
23457 return resultobj;
23458 fail:
23459 return NULL;
23460 }
23461
23462
23463 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
23464 PyObject *resultobj;
23465 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23466 PyObject * obj0 = 0 ;
23467 char *kwnames[] = {
23468 (char *) "self", NULL
23469 };
23470
23471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
23472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23474 {
23475 PyThreadState* __tstate = wxPyBeginAllowThreads();
23476 (arg1)->DetermineScaling();
23477
23478 wxPyEndAllowThreads(__tstate);
23479 if (PyErr_Occurred()) SWIG_fail;
23480 }
23481 Py_INCREF(Py_None); resultobj = Py_None;
23482 return resultobj;
23483 fail:
23484 return NULL;
23485 }
23486
23487
23488 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
23489 PyObject *obj;
23490 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23491 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
23492 Py_INCREF(obj);
23493 return Py_BuildValue((char *)"");
23494 }
23495 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *self, PyObject *args) {
23496 PyObject *resultobj;
23497 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23498 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23499 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23500 wxPyPrintPreview *result;
23501 PyObject * obj0 = 0 ;
23502 PyObject * obj1 = 0 ;
23503 PyObject * obj2 = 0 ;
23504
23505 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23508 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23510 if (obj2) {
23511 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23513 }
23514 {
23515 PyThreadState* __tstate = wxPyBeginAllowThreads();
23516 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23517
23518 wxPyEndAllowThreads(__tstate);
23519 if (PyErr_Occurred()) SWIG_fail;
23520 }
23521 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23522 return resultobj;
23523 fail:
23524 return NULL;
23525 }
23526
23527
23528 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *self, PyObject *args) {
23529 PyObject *resultobj;
23530 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23531 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23532 wxPrintData *arg3 = (wxPrintData *) 0 ;
23533 wxPyPrintPreview *result;
23534 PyObject * obj0 = 0 ;
23535 PyObject * obj1 = 0 ;
23536 PyObject * obj2 = 0 ;
23537
23538 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23541 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23543 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23545 {
23546 PyThreadState* __tstate = wxPyBeginAllowThreads();
23547 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23548
23549 wxPyEndAllowThreads(__tstate);
23550 if (PyErr_Occurred()) SWIG_fail;
23551 }
23552 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23553 return resultobj;
23554 fail:
23555 return NULL;
23556 }
23557
23558
23559 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
23560 int argc;
23561 PyObject *argv[4];
23562 int ii;
23563
23564 argc = PyObject_Length(args);
23565 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23566 argv[ii] = PyTuple_GetItem(args,ii);
23567 }
23568 if ((argc >= 2) && (argc <= 3)) {
23569 int _v;
23570 {
23571 void *ptr;
23572 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23573 _v = 0;
23574 PyErr_Clear();
23575 } else {
23576 _v = 1;
23577 }
23578 }
23579 if (_v) {
23580 {
23581 void *ptr;
23582 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23583 _v = 0;
23584 PyErr_Clear();
23585 } else {
23586 _v = 1;
23587 }
23588 }
23589 if (_v) {
23590 if (argc <= 2) {
23591 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23592 }
23593 {
23594 void *ptr;
23595 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23596 _v = 0;
23597 PyErr_Clear();
23598 } else {
23599 _v = 1;
23600 }
23601 }
23602 if (_v) {
23603 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23604 }
23605 }
23606 }
23607 }
23608 if (argc == 3) {
23609 int _v;
23610 {
23611 void *ptr;
23612 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23613 _v = 0;
23614 PyErr_Clear();
23615 } else {
23616 _v = 1;
23617 }
23618 }
23619 if (_v) {
23620 {
23621 void *ptr;
23622 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23623 _v = 0;
23624 PyErr_Clear();
23625 } else {
23626 _v = 1;
23627 }
23628 }
23629 if (_v) {
23630 {
23631 void *ptr;
23632 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23633 _v = 0;
23634 PyErr_Clear();
23635 } else {
23636 _v = 1;
23637 }
23638 }
23639 if (_v) {
23640 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
23641 }
23642 }
23643 }
23644 }
23645
23646 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
23647 return NULL;
23648 }
23649
23650
23651 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23652 PyObject *resultobj;
23653 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23654 PyObject *arg2 = (PyObject *) 0 ;
23655 PyObject *arg3 = (PyObject *) 0 ;
23656 PyObject * obj0 = 0 ;
23657 PyObject * obj1 = 0 ;
23658 PyObject * obj2 = 0 ;
23659 char *kwnames[] = {
23660 (char *) "self",(char *) "self",(char *) "_class", NULL
23661 };
23662
23663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23666 arg2 = obj1;
23667 arg3 = obj2;
23668 {
23669 PyThreadState* __tstate = wxPyBeginAllowThreads();
23670 (arg1)->_setCallbackInfo(arg2,arg3);
23671
23672 wxPyEndAllowThreads(__tstate);
23673 if (PyErr_Occurred()) SWIG_fail;
23674 }
23675 Py_INCREF(Py_None); resultobj = Py_None;
23676 return resultobj;
23677 fail:
23678 return NULL;
23679 }
23680
23681
23682 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23683 PyObject *resultobj;
23684 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23685 int arg2 ;
23686 bool result;
23687 PyObject * obj0 = 0 ;
23688 PyObject * obj1 = 0 ;
23689 char *kwnames[] = {
23690 (char *) "self",(char *) "pageNum", NULL
23691 };
23692
23693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23696 arg2 = (int) SWIG_AsInt(obj1);
23697 if (PyErr_Occurred()) SWIG_fail;
23698 {
23699 PyThreadState* __tstate = wxPyBeginAllowThreads();
23700 result = (bool)(arg1)->base_SetCurrentPage(arg2);
23701
23702 wxPyEndAllowThreads(__tstate);
23703 if (PyErr_Occurred()) SWIG_fail;
23704 }
23705 {
23706 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23707 }
23708 return resultobj;
23709 fail:
23710 return NULL;
23711 }
23712
23713
23714 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23715 PyObject *resultobj;
23716 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23717 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23718 wxDC *arg3 = 0 ;
23719 bool result;
23720 PyObject * obj0 = 0 ;
23721 PyObject * obj1 = 0 ;
23722 PyObject * obj2 = 0 ;
23723 char *kwnames[] = {
23724 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23725 };
23726
23727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23730 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23732 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23733 SWIG_POINTER_EXCEPTION | 0)) == -1)
23734 SWIG_fail;
23735 if (arg3 == NULL) {
23736 PyErr_SetString(PyExc_TypeError,"null reference");
23737 SWIG_fail;
23738 }
23739 {
23740 PyThreadState* __tstate = wxPyBeginAllowThreads();
23741 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
23742
23743 wxPyEndAllowThreads(__tstate);
23744 if (PyErr_Occurred()) SWIG_fail;
23745 }
23746 {
23747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23748 }
23749 return resultobj;
23750 fail:
23751 return NULL;
23752 }
23753
23754
23755 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23756 PyObject *resultobj;
23757 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23758 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23759 wxDC *arg3 = 0 ;
23760 bool result;
23761 PyObject * obj0 = 0 ;
23762 PyObject * obj1 = 0 ;
23763 PyObject * obj2 = 0 ;
23764 char *kwnames[] = {
23765 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23766 };
23767
23768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23771 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23773 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23774 SWIG_POINTER_EXCEPTION | 0)) == -1)
23775 SWIG_fail;
23776 if (arg3 == NULL) {
23777 PyErr_SetString(PyExc_TypeError,"null reference");
23778 SWIG_fail;
23779 }
23780 {
23781 PyThreadState* __tstate = wxPyBeginAllowThreads();
23782 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
23783
23784 wxPyEndAllowThreads(__tstate);
23785 if (PyErr_Occurred()) SWIG_fail;
23786 }
23787 {
23788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23789 }
23790 return resultobj;
23791 fail:
23792 return NULL;
23793 }
23794
23795
23796 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23797 PyObject *resultobj;
23798 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23799 int arg2 ;
23800 bool result;
23801 PyObject * obj0 = 0 ;
23802 PyObject * obj1 = 0 ;
23803 char *kwnames[] = {
23804 (char *) "self",(char *) "pageNum", NULL
23805 };
23806
23807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23810 arg2 = (int) SWIG_AsInt(obj1);
23811 if (PyErr_Occurred()) SWIG_fail;
23812 {
23813 PyThreadState* __tstate = wxPyBeginAllowThreads();
23814 result = (bool)(arg1)->base_RenderPage(arg2);
23815
23816 wxPyEndAllowThreads(__tstate);
23817 if (PyErr_Occurred()) SWIG_fail;
23818 }
23819 {
23820 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23821 }
23822 return resultobj;
23823 fail:
23824 return NULL;
23825 }
23826
23827
23828 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23829 PyObject *resultobj;
23830 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23831 int arg2 ;
23832 PyObject * obj0 = 0 ;
23833 PyObject * obj1 = 0 ;
23834 char *kwnames[] = {
23835 (char *) "self",(char *) "percent", NULL
23836 };
23837
23838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
23839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23841 arg2 = (int) SWIG_AsInt(obj1);
23842 if (PyErr_Occurred()) SWIG_fail;
23843 {
23844 PyThreadState* __tstate = wxPyBeginAllowThreads();
23845 (arg1)->base_SetZoom(arg2);
23846
23847 wxPyEndAllowThreads(__tstate);
23848 if (PyErr_Occurred()) SWIG_fail;
23849 }
23850 Py_INCREF(Py_None); resultobj = Py_None;
23851 return resultobj;
23852 fail:
23853 return NULL;
23854 }
23855
23856
23857 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
23858 PyObject *resultobj;
23859 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23860 bool arg2 ;
23861 bool result;
23862 PyObject * obj0 = 0 ;
23863 PyObject * obj1 = 0 ;
23864 char *kwnames[] = {
23865 (char *) "self",(char *) "interactive", NULL
23866 };
23867
23868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
23869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23871 arg2 = (bool) SWIG_AsBool(obj1);
23872 if (PyErr_Occurred()) SWIG_fail;
23873 {
23874 PyThreadState* __tstate = wxPyBeginAllowThreads();
23875 result = (bool)(arg1)->base_Print(arg2);
23876
23877 wxPyEndAllowThreads(__tstate);
23878 if (PyErr_Occurred()) SWIG_fail;
23879 }
23880 {
23881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23882 }
23883 return resultobj;
23884 fail:
23885 return NULL;
23886 }
23887
23888
23889 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
23890 PyObject *resultobj;
23891 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23892 PyObject * obj0 = 0 ;
23893 char *kwnames[] = {
23894 (char *) "self", NULL
23895 };
23896
23897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
23898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23900 {
23901 PyThreadState* __tstate = wxPyBeginAllowThreads();
23902 (arg1)->base_DetermineScaling();
23903
23904 wxPyEndAllowThreads(__tstate);
23905 if (PyErr_Occurred()) SWIG_fail;
23906 }
23907 Py_INCREF(Py_None); resultobj = Py_None;
23908 return resultobj;
23909 fail:
23910 return NULL;
23911 }
23912
23913
23914 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
23915 PyObject *obj;
23916 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23917 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
23918 Py_INCREF(obj);
23919 return Py_BuildValue((char *)"");
23920 }
23921 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23922 PyObject *resultobj;
23923 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23924 wxFrame *arg2 = (wxFrame *) 0 ;
23925 wxString *arg3 = 0 ;
23926 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23927 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23928 wxSize const &arg5_defvalue = wxDefaultSize ;
23929 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23930 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
23931 wxString const &arg7_defvalue = wxPyFrameNameStr ;
23932 wxString *arg7 = (wxString *) &arg7_defvalue ;
23933 wxPyPreviewFrame *result;
23934 bool temp3 = False ;
23935 wxPoint temp4 ;
23936 wxSize temp5 ;
23937 bool temp7 = False ;
23938 PyObject * obj0 = 0 ;
23939 PyObject * obj1 = 0 ;
23940 PyObject * obj2 = 0 ;
23941 PyObject * obj3 = 0 ;
23942 PyObject * obj4 = 0 ;
23943 PyObject * obj5 = 0 ;
23944 PyObject * obj6 = 0 ;
23945 char *kwnames[] = {
23946 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23947 };
23948
23949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23952 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23954 {
23955 arg3 = wxString_in_helper(obj2);
23956 if (arg3 == NULL) SWIG_fail;
23957 temp3 = True;
23958 }
23959 if (obj3) {
23960 {
23961 arg4 = &temp4;
23962 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23963 }
23964 }
23965 if (obj4) {
23966 {
23967 arg5 = &temp5;
23968 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23969 }
23970 }
23971 if (obj5) {
23972 arg6 = (long) SWIG_AsLong(obj5);
23973 if (PyErr_Occurred()) SWIG_fail;
23974 }
23975 if (obj6) {
23976 {
23977 arg7 = wxString_in_helper(obj6);
23978 if (arg7 == NULL) SWIG_fail;
23979 temp7 = True;
23980 }
23981 }
23982 {
23983 PyThreadState* __tstate = wxPyBeginAllowThreads();
23984 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23985
23986 wxPyEndAllowThreads(__tstate);
23987 if (PyErr_Occurred()) SWIG_fail;
23988 }
23989 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
23990 {
23991 if (temp3)
23992 delete arg3;
23993 }
23994 {
23995 if (temp7)
23996 delete arg7;
23997 }
23998 return resultobj;
23999 fail:
24000 {
24001 if (temp3)
24002 delete arg3;
24003 }
24004 {
24005 if (temp7)
24006 delete arg7;
24007 }
24008 return NULL;
24009 }
24010
24011
24012 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24013 PyObject *resultobj;
24014 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24015 PyObject *arg2 = (PyObject *) 0 ;
24016 PyObject *arg3 = (PyObject *) 0 ;
24017 PyObject * obj0 = 0 ;
24018 PyObject * obj1 = 0 ;
24019 PyObject * obj2 = 0 ;
24020 char *kwnames[] = {
24021 (char *) "self",(char *) "self",(char *) "_class", NULL
24022 };
24023
24024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24027 arg2 = obj1;
24028 arg3 = obj2;
24029 {
24030 PyThreadState* __tstate = wxPyBeginAllowThreads();
24031 (arg1)->_setCallbackInfo(arg2,arg3);
24032
24033 wxPyEndAllowThreads(__tstate);
24034 if (PyErr_Occurred()) SWIG_fail;
24035 }
24036 Py_INCREF(Py_None); resultobj = Py_None;
24037 return resultobj;
24038 fail:
24039 return NULL;
24040 }
24041
24042
24043 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24044 PyObject *resultobj;
24045 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24046 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24047 PyObject * obj0 = 0 ;
24048 PyObject * obj1 = 0 ;
24049 char *kwnames[] = {
24050 (char *) "self",(char *) "canvas", NULL
24051 };
24052
24053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
24054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24056 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24058 {
24059 PyThreadState* __tstate = wxPyBeginAllowThreads();
24060 (arg1)->SetPreviewCanvas(arg2);
24061
24062 wxPyEndAllowThreads(__tstate);
24063 if (PyErr_Occurred()) SWIG_fail;
24064 }
24065 Py_INCREF(Py_None); resultobj = Py_None;
24066 return resultobj;
24067 fail:
24068 return NULL;
24069 }
24070
24071
24072 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24073 PyObject *resultobj;
24074 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24075 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
24076 PyObject * obj0 = 0 ;
24077 PyObject * obj1 = 0 ;
24078 char *kwnames[] = {
24079 (char *) "self",(char *) "bar", NULL
24080 };
24081
24082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
24083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24085 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
24086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24087 {
24088 PyThreadState* __tstate = wxPyBeginAllowThreads();
24089 (arg1)->SetControlBar(arg2);
24090
24091 wxPyEndAllowThreads(__tstate);
24092 if (PyErr_Occurred()) SWIG_fail;
24093 }
24094 Py_INCREF(Py_None); resultobj = Py_None;
24095 return resultobj;
24096 fail:
24097 return NULL;
24098 }
24099
24100
24101 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
24102 PyObject *resultobj;
24103 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24104 PyObject * obj0 = 0 ;
24105 char *kwnames[] = {
24106 (char *) "self", NULL
24107 };
24108
24109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
24110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24112 {
24113 PyThreadState* __tstate = wxPyBeginAllowThreads();
24114 (arg1)->base_Initialize();
24115
24116 wxPyEndAllowThreads(__tstate);
24117 if (PyErr_Occurred()) SWIG_fail;
24118 }
24119 Py_INCREF(Py_None); resultobj = Py_None;
24120 return resultobj;
24121 fail:
24122 return NULL;
24123 }
24124
24125
24126 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24127 PyObject *resultobj;
24128 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24129 PyObject * obj0 = 0 ;
24130 char *kwnames[] = {
24131 (char *) "self", NULL
24132 };
24133
24134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
24135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24137 {
24138 PyThreadState* __tstate = wxPyBeginAllowThreads();
24139 (arg1)->base_CreateCanvas();
24140
24141 wxPyEndAllowThreads(__tstate);
24142 if (PyErr_Occurred()) SWIG_fail;
24143 }
24144 Py_INCREF(Py_None); resultobj = Py_None;
24145 return resultobj;
24146 fail:
24147 return NULL;
24148 }
24149
24150
24151 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24152 PyObject *resultobj;
24153 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24154 PyObject * obj0 = 0 ;
24155 char *kwnames[] = {
24156 (char *) "self", NULL
24157 };
24158
24159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
24160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24162 {
24163 PyThreadState* __tstate = wxPyBeginAllowThreads();
24164 (arg1)->base_CreateControlBar();
24165
24166 wxPyEndAllowThreads(__tstate);
24167 if (PyErr_Occurred()) SWIG_fail;
24168 }
24169 Py_INCREF(Py_None); resultobj = Py_None;
24170 return resultobj;
24171 fail:
24172 return NULL;
24173 }
24174
24175
24176 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
24177 PyObject *obj;
24178 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24179 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
24180 Py_INCREF(obj);
24181 return Py_BuildValue((char *)"");
24182 }
24183 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24184 PyObject *resultobj;
24185 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24186 long arg2 ;
24187 wxWindow *arg3 = (wxWindow *) 0 ;
24188 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24189 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24190 wxSize const &arg5_defvalue = wxDefaultSize ;
24191 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24192 long arg6 = (long) 0 ;
24193 wxString const &arg7_defvalue = wxPyPanelNameStr ;
24194 wxString *arg7 = (wxString *) &arg7_defvalue ;
24195 wxPyPreviewControlBar *result;
24196 wxPoint temp4 ;
24197 wxSize temp5 ;
24198 bool temp7 = False ;
24199 PyObject * obj0 = 0 ;
24200 PyObject * obj1 = 0 ;
24201 PyObject * obj2 = 0 ;
24202 PyObject * obj3 = 0 ;
24203 PyObject * obj4 = 0 ;
24204 PyObject * obj5 = 0 ;
24205 PyObject * obj6 = 0 ;
24206 char *kwnames[] = {
24207 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24208 };
24209
24210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24213 arg2 = (long) SWIG_AsLong(obj1);
24214 if (PyErr_Occurred()) SWIG_fail;
24215 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
24216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24217 if (obj3) {
24218 {
24219 arg4 = &temp4;
24220 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24221 }
24222 }
24223 if (obj4) {
24224 {
24225 arg5 = &temp5;
24226 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24227 }
24228 }
24229 if (obj5) {
24230 arg6 = (long) SWIG_AsLong(obj5);
24231 if (PyErr_Occurred()) SWIG_fail;
24232 }
24233 if (obj6) {
24234 {
24235 arg7 = wxString_in_helper(obj6);
24236 if (arg7 == NULL) SWIG_fail;
24237 temp7 = True;
24238 }
24239 }
24240 {
24241 PyThreadState* __tstate = wxPyBeginAllowThreads();
24242 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24243
24244 wxPyEndAllowThreads(__tstate);
24245 if (PyErr_Occurred()) SWIG_fail;
24246 }
24247 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
24248 {
24249 if (temp7)
24250 delete arg7;
24251 }
24252 return resultobj;
24253 fail:
24254 {
24255 if (temp7)
24256 delete arg7;
24257 }
24258 return NULL;
24259 }
24260
24261
24262 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24263 PyObject *resultobj;
24264 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24265 PyObject *arg2 = (PyObject *) 0 ;
24266 PyObject *arg3 = (PyObject *) 0 ;
24267 PyObject * obj0 = 0 ;
24268 PyObject * obj1 = 0 ;
24269 PyObject * obj2 = 0 ;
24270 char *kwnames[] = {
24271 (char *) "self",(char *) "self",(char *) "_class", NULL
24272 };
24273
24274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24277 arg2 = obj1;
24278 arg3 = obj2;
24279 {
24280 PyThreadState* __tstate = wxPyBeginAllowThreads();
24281 (arg1)->_setCallbackInfo(arg2,arg3);
24282
24283 wxPyEndAllowThreads(__tstate);
24284 if (PyErr_Occurred()) SWIG_fail;
24285 }
24286 Py_INCREF(Py_None); resultobj = Py_None;
24287 return resultobj;
24288 fail:
24289 return NULL;
24290 }
24291
24292
24293 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
24294 PyObject *resultobj;
24295 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24296 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
24297 PyObject * obj0 = 0 ;
24298 PyObject * obj1 = 0 ;
24299 char *kwnames[] = {
24300 (char *) "self",(char *) "preview", NULL
24301 };
24302
24303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
24304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24306 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
24307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24308 {
24309 PyThreadState* __tstate = wxPyBeginAllowThreads();
24310 (arg1)->SetPrintPreview(arg2);
24311
24312 wxPyEndAllowThreads(__tstate);
24313 if (PyErr_Occurred()) SWIG_fail;
24314 }
24315 Py_INCREF(Py_None); resultobj = Py_None;
24316 return resultobj;
24317 fail:
24318 return NULL;
24319 }
24320
24321
24322 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
24323 PyObject *resultobj;
24324 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24325 PyObject * obj0 = 0 ;
24326 char *kwnames[] = {
24327 (char *) "self", NULL
24328 };
24329
24330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
24331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24333 {
24334 PyThreadState* __tstate = wxPyBeginAllowThreads();
24335 (arg1)->base_CreateButtons();
24336
24337 wxPyEndAllowThreads(__tstate);
24338 if (PyErr_Occurred()) SWIG_fail;
24339 }
24340 Py_INCREF(Py_None); resultobj = Py_None;
24341 return resultobj;
24342 fail:
24343 return NULL;
24344 }
24345
24346
24347 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
24348 PyObject *resultobj;
24349 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24350 int arg2 ;
24351 PyObject * obj0 = 0 ;
24352 PyObject * obj1 = 0 ;
24353 char *kwnames[] = {
24354 (char *) "self",(char *) "zoom", NULL
24355 };
24356
24357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
24358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24360 arg2 = (int) SWIG_AsInt(obj1);
24361 if (PyErr_Occurred()) SWIG_fail;
24362 {
24363 PyThreadState* __tstate = wxPyBeginAllowThreads();
24364 (arg1)->base_SetZoomControl(arg2);
24365
24366 wxPyEndAllowThreads(__tstate);
24367 if (PyErr_Occurred()) SWIG_fail;
24368 }
24369 Py_INCREF(Py_None); resultobj = Py_None;
24370 return resultobj;
24371 fail:
24372 return NULL;
24373 }
24374
24375
24376 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
24377 PyObject *obj;
24378 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24379 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
24380 Py_INCREF(obj);
24381 return Py_BuildValue((char *)"");
24382 }
24383 static PyMethodDef SwigMethods[] = {
24384 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
24385 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
24386 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
24387 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
24388 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
24389 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24390 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24391 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24392 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
24393 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
24394 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24395 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24396 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
24397 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
24398 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
24399 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
24400 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
24401 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
24402 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
24403 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
24404 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
24405 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
24406 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
24407 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24408 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24409 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS },
24410 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS },
24411 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
24412 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
24413 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
24414 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
24415 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
24416 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
24417 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
24418 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
24419 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
24420 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
24421 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
24422 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
24423 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
24424 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
24425 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
24426 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
24427 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
24428 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
24429 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
24430 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
24431 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
24432 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
24433 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
24434 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
24435 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
24436 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
24437 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24438 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24439 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24440 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24441 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24442 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24443 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
24444 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
24445 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
24446 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
24447 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
24448 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
24449 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
24450 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
24451 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
24452 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
24453 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
24454 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
24455 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
24456 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
24457 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24458 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
24459 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS },
24460 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
24461 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
24462 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
24463 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
24464 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
24465 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
24466 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
24467 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
24468 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
24469 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
24470 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
24471 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
24472 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
24473 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
24474 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
24475 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
24476 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
24477 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24478 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24479 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24480 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
24481 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24482 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24483 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24484 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
24485 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
24486 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
24487 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
24488 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
24489 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
24490 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
24491 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
24492 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
24493 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
24494 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
24495 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
24496 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
24497 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
24498 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
24499 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
24500 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
24501 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS },
24502 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
24503 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
24504 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
24505 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
24506 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
24507 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24508 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24509 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24510 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24511 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24512 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24513 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24514 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24515 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
24516 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
24517 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24518 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24519 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
24520 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
24521 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
24522 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
24523 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
24524 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
24525 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
24526 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
24527 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
24528 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
24529 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
24530 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
24531 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24532 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24533 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24534 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24535 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24536 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24537 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24538 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24539 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24540 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24541 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24542 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24543 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24544 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24545 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
24546 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
24547 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
24548 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
24549 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
24550 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
24551 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
24552 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
24553 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
24554 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
24555 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24556 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24557 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24558 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24559 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
24560 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
24561 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24562 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24563 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
24564 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
24565 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
24566 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
24567 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24568 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24569 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
24570 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
24571 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
24572 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
24573 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
24574 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
24575 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
24576 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24577 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
24578 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
24579 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24580 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
24581 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
24582 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
24583 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
24584 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
24585 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
24586 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
24587 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
24588 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
24589 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
24590 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
24591 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
24592 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
24593 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
24594 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24595 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
24596 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
24597 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
24598 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
24599 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
24600 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
24601 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
24602 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24603 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24604 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24605 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24606 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
24607 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
24608 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
24609 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
24610 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
24611 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
24612 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
24613 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
24614 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
24615 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
24616 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
24617 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
24618 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
24619 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
24620 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
24621 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
24622 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24623 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
24624 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
24625 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
24626 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
24627 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
24628 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
24629 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
24630 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
24631 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
24632 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
24633 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
24634 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
24635 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
24636 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
24637 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
24638 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
24639 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
24640 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
24641 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
24642 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
24643 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
24644 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
24645 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
24646 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
24647 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
24648 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24649 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
24650 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
24651 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
24652 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
24653 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
24654 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
24655 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS },
24656 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
24657 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
24658 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
24659 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
24660 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
24661 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
24662 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
24663 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
24664 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
24665 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
24666 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
24667 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
24668 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
24669 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
24670 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
24671 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
24672 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
24673 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
24674 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
24675 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
24676 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
24677 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
24678 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
24679 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
24680 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
24681 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
24682 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
24683 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
24684 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
24685 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
24686 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
24687 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
24688 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
24689 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
24690 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
24691 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
24692 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
24693 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
24694 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
24695 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
24696 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
24697 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
24698 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
24699 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
24700 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
24701 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
24702 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
24703 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
24704 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
24705 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
24706 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
24707 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
24708 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
24709 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
24710 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
24711 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
24712 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
24713 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
24714 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
24715 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
24716 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
24717 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
24718 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
24719 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
24720 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
24721 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
24722 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
24723 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
24724 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
24725 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
24726 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
24727 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
24728 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
24729 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
24730 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
24731 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
24732 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
24733 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
24734 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
24735 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
24736 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
24737 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
24738 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
24739 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24740 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
24741 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
24742 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
24743 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24744 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
24745 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
24746 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
24747 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
24748 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
24749 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
24750 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
24751 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
24752 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
24753 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
24754 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
24755 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
24756 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
24757 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
24758 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
24759 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
24760 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
24761 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
24762 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
24763 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
24764 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
24765 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
24766 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
24767 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
24768 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
24769 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
24770 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
24771 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
24772 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_GetWindowMenu, METH_VARARGS | METH_KEYWORDS },
24773 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS },
24774 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction) _wrap_MDIParentFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
24775 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
24776 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
24777 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
24778 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
24779 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
24780 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
24781 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
24782 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
24783 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
24784 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
24785 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
24786 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
24787 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
24788 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
24789 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS },
24790 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24791 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24792 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24793 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24794 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24795 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24796 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24797 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24798 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24799 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24800 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24801 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24802 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24803 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
24804 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24805 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24806 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24807 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24808 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
24809 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24810 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
24811 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
24812 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
24813 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS },
24814 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24815 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24816 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24817 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24818 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24819 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24820 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24821 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24822 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24823 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24824 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24825 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24826 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24827 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
24828 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24829 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24830 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24831 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24832 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
24833 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24834 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
24835 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
24836 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24837 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24838 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24839 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24840 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24841 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24842 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24843 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24844 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24845 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24846 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24847 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24848 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24849 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24850 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24851 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
24852 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24853 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24854 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24855 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24856 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
24857 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24858 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
24859 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS },
24860 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
24861 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
24862 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
24863 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
24864 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24865 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
24866 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
24867 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
24868 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
24869 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
24870 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
24871 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
24872 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
24873 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
24874 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24875 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
24876 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
24877 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
24878 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
24879 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
24880 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
24881 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
24882 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
24883 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
24884 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
24885 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
24886 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
24887 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
24888 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
24889 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
24890 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
24891 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
24892 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
24893 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
24894 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
24895 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
24896 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
24897 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
24898 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
24899 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
24900 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
24901 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
24902 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
24903 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
24904 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS },
24905 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
24906 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
24907 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
24908 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
24909 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
24910 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
24911 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
24912 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
24913 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
24914 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
24915 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
24916 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
24917 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
24918 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
24919 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
24920 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24921 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24922 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24923 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24924 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
24925 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
24926 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
24927 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
24928 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
24929 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
24930 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24931 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24932 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24933 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24934 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
24935 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
24936 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
24937 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
24938 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
24939 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
24940 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24941 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
24942 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS },
24943 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
24944 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
24945 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
24946 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
24947 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
24948 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
24949 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
24950 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
24951 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
24952 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
24953 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
24954 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
24955 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
24956 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
24957 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
24958 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
24959 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
24960 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
24961 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
24962 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
24963 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
24964 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
24965 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
24966 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
24967 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
24968 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
24969 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
24970 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
24971 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
24972 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
24973 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
24974 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
24975 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
24976 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
24977 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
24978 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
24979 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24980 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
24981 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
24982 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
24983 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
24984 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
24985 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
24986 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
24987 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
24988 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
24989 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
24990 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
24991 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
24992 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
24993 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24994 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
24995 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
24996 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
24997 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
24998 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
24999 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
25000 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
25001 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
25002 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
25003 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
25004 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
25005 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
25006 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
25007 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
25008 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
25009 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
25010 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
25011 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
25012 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
25013 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
25014 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
25015 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
25016 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
25017 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
25018 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
25019 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
25020 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
25021 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
25022 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
25023 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
25024 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
25025 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
25026 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
25027 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
25028 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
25029 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
25030 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
25031 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
25032 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
25033 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS },
25034 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25035 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25036 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
25037 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
25038 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
25039 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
25040 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
25041 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
25042 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
25043 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
25044 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
25045 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
25046 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
25047 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25048 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
25049 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
25050 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
25051 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
25052 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
25053 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
25054 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
25055 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
25056 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
25057 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS },
25058 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25059 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25060 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
25061 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
25062 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
25063 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
25064 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
25065 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
25066 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
25067 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
25068 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25069 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
25070 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
25071 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
25072 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
25073 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
25074 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
25075 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
25076 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25077 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
25078 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
25079 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
25080 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
25081 { NULL, NULL }
25082 };
25083
25084
25085 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25086
25087 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
25088 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25089 }
25090 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25091 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25092 }
25093 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25094 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25095 }
25096 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25097 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25098 }
25099 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
25100 return (void *)((wxEvent *) ((wxMouseEvent *) x));
25101 }
25102 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
25103 return (void *)((wxEvent *) ((wxEraseEvent *) x));
25104 }
25105 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
25106 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
25107 }
25108 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
25109 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25110 }
25111 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
25112 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
25113 }
25114 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25115 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25116 }
25117 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
25118 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
25119 }
25120 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25121 return (void *)((wxEvent *) ((wxPyEvent *) x));
25122 }
25123 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25124 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25125 }
25126 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
25127 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
25128 }
25129 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25130 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25131 }
25132 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25133 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25134 }
25135 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25136 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25137 }
25138 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25139 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25140 }
25141 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25142 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25143 }
25144 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25145 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25146 }
25147 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25148 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25149 }
25150 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25151 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25152 }
25153 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25154 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25155 }
25156 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25157 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25158 }
25159 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25160 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25161 }
25162 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25163 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25164 }
25165 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25166 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25167 }
25168 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25169 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25170 }
25171 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25172 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25173 }
25174 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25175 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25176 }
25177 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25178 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25179 }
25180 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25181 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25182 }
25183 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
25184 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
25185 }
25186 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
25187 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25188 }
25189 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25190 return (void *)((wxEvent *) ((wxShowEvent *) x));
25191 }
25192 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25193 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25194 }
25195 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25196 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25197 }
25198 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25199 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25200 }
25201 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25202 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25203 }
25204 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25205 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25206 }
25207 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25208 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25209 }
25210 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
25211 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
25212 }
25213 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
25214 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
25215 }
25216 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
25217 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25218 }
25219 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
25220 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25221 }
25222 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
25223 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25224 }
25225 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25226 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25227 }
25228 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25229 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25230 }
25231 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25232 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25233 }
25234 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
25235 return (void *)((wxEvtHandler *) ((wxMenu *) x));
25236 }
25237 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
25238 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25239 }
25240 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
25241 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25242 }
25243 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
25244 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25245 }
25246 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
25247 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25248 }
25249 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
25250 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25251 }
25252 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
25253 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25254 }
25255 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
25256 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25257 }
25258 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
25259 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
25260 }
25261 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
25262 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
25263 }
25264 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
25265 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25266 }
25267 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
25268 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25269 }
25270 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
25271 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25272 }
25273 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
25274 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
25275 }
25276 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
25277 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25278 }
25279 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
25280 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
25281 }
25282 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
25283 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
25284 }
25285 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
25286 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
25287 }
25288 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
25289 return (void *)((wxEvtHandler *) ((wxWindow *) x));
25290 }
25291 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
25292 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25293 }
25294 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
25295 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
25296 }
25297 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
25298 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
25299 }
25300 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
25301 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25302 }
25303 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
25304 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
25305 }
25306 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
25307 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25308 }
25309 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
25310 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25311 }
25312 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
25313 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25314 }
25315 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
25316 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
25317 }
25318 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
25319 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25320 }
25321 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
25322 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
25323 }
25324 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
25325 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25326 }
25327 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
25328 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25329 }
25330 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
25331 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25332 }
25333 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
25334 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25335 }
25336 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
25337 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25338 }
25339 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
25340 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
25341 }
25342 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
25343 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25344 }
25345 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
25346 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25347 }
25348 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
25349 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25350 }
25351 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
25352 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25353 }
25354 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
25355 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25356 }
25357 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
25358 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25359 }
25360 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
25361 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25362 }
25363 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
25364 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25365 }
25366 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
25367 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
25368 }
25369 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
25370 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
25371 }
25372 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
25373 return (void *)((wxFrame *) ((wxProgressDialog *) x));
25374 }
25375 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
25376 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
25377 }
25378 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
25379 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25380 }
25381 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
25382 return (void *)((wxFrame *) ((wxMiniFrame *) x));
25383 }
25384 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
25385 return (void *)((wxFrame *) ((wxSplashScreen *) x));
25386 }
25387 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
25388 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
25389 }
25390 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
25391 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
25392 }
25393 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
25394 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25395 }
25396 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
25397 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25398 }
25399 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
25400 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25401 }
25402 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
25403 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
25404 }
25405 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
25406 return (void *)((wxObject *) ((wxSizerItem *) x));
25407 }
25408 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
25409 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
25410 }
25411 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
25412 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
25413 }
25414 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
25415 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
25416 }
25417 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
25418 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
25419 }
25420 static void *_p_wxSizerTo_p_wxObject(void *x) {
25421 return (void *)((wxObject *) ((wxSizer *) x));
25422 }
25423 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
25424 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
25425 }
25426 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
25427 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
25428 }
25429 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
25430 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25431 }
25432 static void *_p_wxEventTo_p_wxObject(void *x) {
25433 return (void *)((wxObject *) ((wxEvent *) x));
25434 }
25435 static void *_p_wxFontDataTo_p_wxObject(void *x) {
25436 return (void *)((wxObject *) ((wxFontData *) x));
25437 }
25438 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
25439 return (void *)((wxObject *) ((wxPrintData *) x));
25440 }
25441 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
25442 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
25443 }
25444 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
25445 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
25446 }
25447 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
25448 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
25449 }
25450 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
25451 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
25452 }
25453 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
25454 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
25455 }
25456 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
25457 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
25458 }
25459 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
25460 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
25461 }
25462 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
25463 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
25464 }
25465 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
25466 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
25467 }
25468 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
25469 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
25470 }
25471 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
25472 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25473 }
25474 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
25475 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
25476 }
25477 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
25478 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25479 }
25480 static void *_p_wxControlTo_p_wxObject(void *x) {
25481 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
25482 }
25483 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
25484 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
25485 }
25486 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
25487 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25488 }
25489 static void *_p_wxFSFileTo_p_wxObject(void *x) {
25490 return (void *)((wxObject *) ((wxFSFile *) x));
25491 }
25492 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
25493 return (void *)((wxObject *) ((wxFindReplaceData *) x));
25494 }
25495 static void *_p_wxPySizerTo_p_wxObject(void *x) {
25496 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
25497 }
25498 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
25499 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25500 }
25501 static void *_p_wxColourDataTo_p_wxObject(void *x) {
25502 return (void *)((wxObject *) ((wxColourData *) x));
25503 }
25504 static void *_p_wxPyEventTo_p_wxObject(void *x) {
25505 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
25506 }
25507 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
25508 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
25509 }
25510 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
25511 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
25512 }
25513 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
25514 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25515 }
25516 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
25517 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25518 }
25519 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
25520 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25521 }
25522 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
25523 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25524 }
25525 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
25526 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25527 }
25528 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
25529 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25530 }
25531 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
25532 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25533 }
25534 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
25535 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25536 }
25537 static void *_p_wxShowEventTo_p_wxObject(void *x) {
25538 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
25539 }
25540 static void *_p_wxPrinterTo_p_wxObject(void *x) {
25541 return (void *)((wxObject *) ((wxPrinter *) x));
25542 }
25543 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
25544 return (void *)((wxObject *) ((wxMenuItem *) x));
25545 }
25546 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
25547 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
25548 }
25549 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
25550 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
25551 }
25552 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
25553 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
25554 }
25555 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
25556 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
25557 }
25558 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
25559 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
25560 }
25561 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
25562 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
25563 }
25564 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
25565 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
25566 }
25567 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
25568 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
25569 }
25570 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
25571 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
25572 }
25573 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
25574 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
25575 }
25576 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
25577 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
25578 }
25579 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
25580 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
25581 }
25582 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
25583 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
25584 }
25585 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
25586 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
25587 }
25588 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
25589 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
25590 }
25591 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
25592 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
25593 }
25594 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
25595 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
25596 }
25597 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
25598 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
25599 }
25600 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
25601 return (void *)((wxObject *) ((wxImageHandler *) x));
25602 }
25603 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
25604 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
25605 }
25606 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
25607 return (void *)((wxObject *) ((wxEvtHandler *) x));
25608 }
25609 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
25610 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
25611 }
25612 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
25613 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25614 }
25615 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
25616 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25617 }
25618 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
25619 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
25620 }
25621 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
25622 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25623 }
25624 static void *_p_wxImageTo_p_wxObject(void *x) {
25625 return (void *)((wxObject *) ((wxImage *) x));
25626 }
25627 static void *_p_wxFrameTo_p_wxObject(void *x) {
25628 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25629 }
25630 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
25631 return (void *)((wxObject *) ((wxPyPrintout *) x));
25632 }
25633 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
25634 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
25635 }
25636 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
25637 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
25638 }
25639 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
25640 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
25641 }
25642 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
25643 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25644 }
25645 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
25646 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25647 }
25648 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
25649 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
25650 }
25651 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
25652 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
25653 }
25654 static void *_p_wxWindowTo_p_wxObject(void *x) {
25655 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
25656 }
25657 static void *_p_wxMenuTo_p_wxObject(void *x) {
25658 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
25659 }
25660 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
25661 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
25662 }
25663 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
25664 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25665 }
25666 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
25667 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
25668 }
25669 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
25670 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
25671 }
25672 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
25673 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
25674 }
25675 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
25676 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
25677 }
25678 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
25679 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25680 }
25681 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
25682 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
25683 }
25684 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
25685 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25686 }
25687 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
25688 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25689 }
25690 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
25691 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25692 }
25693 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
25694 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
25695 }
25696 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
25697 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25698 }
25699 static void *_p_wxSashEventTo_p_wxObject(void *x) {
25700 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
25701 }
25702 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
25703 return (void *)((wxObject *) ((wxPrintPreview *) x));
25704 }
25705 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
25706 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
25707 }
25708 static void *_p_wxPanelTo_p_wxObject(void *x) {
25709 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
25710 }
25711 static void *_p_wxDialogTo_p_wxObject(void *x) {
25712 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25713 }
25714 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
25715 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25716 }
25717 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
25718 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25719 }
25720 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
25721 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25722 }
25723 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
25724 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25725 }
25726 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
25727 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25728 }
25729 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
25730 return (void *)((wxObject *) ((wxFileSystem *) x));
25731 }
25732 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
25733 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
25734 }
25735 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
25736 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
25737 }
25738 static void *_p_wxPyAppTo_p_wxObject(void *x) {
25739 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
25740 }
25741 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
25742 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
25743 }
25744 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
25745 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
25746 }
25747 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
25748 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
25749 }
25750 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
25751 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
25752 }
25753 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
25754 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
25755 }
25756 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
25757 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25758 }
25759 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
25760 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25761 }
25762 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
25763 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
25764 }
25765 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
25766 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
25767 }
25768 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
25769 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
25770 }
25771 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
25772 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25773 }
25774 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
25775 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
25776 }
25777 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
25778 return (void *)((wxObject *) ((wxPrintDialogData *) x));
25779 }
25780 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
25781 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
25782 }
25783 static void *_p_wxValidatorTo_p_wxObject(void *x) {
25784 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
25785 }
25786 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
25787 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25788 }
25789 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
25790 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
25791 }
25792 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
25793 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25794 }
25795 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
25796 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25797 }
25798 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
25799 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25800 }
25801 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
25802 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
25803 }
25804 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
25805 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
25806 }
25807 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
25808 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
25809 }
25810 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
25811 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
25812 }
25813 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
25814 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
25815 }
25816 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
25817 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
25818 }
25819 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
25820 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
25821 }
25822 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
25823 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
25824 }
25825 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
25826 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
25827 }
25828 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
25829 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
25830 }
25831 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
25832 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
25833 }
25834 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
25835 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
25836 }
25837 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
25838 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
25839 }
25840 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
25841 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
25842 }
25843 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
25844 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
25845 }
25846 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
25847 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
25848 }
25849 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
25850 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
25851 }
25852 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
25853 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
25854 }
25855 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
25856 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
25857 }
25858 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
25859 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
25860 }
25861 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
25862 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25863 }
25864 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
25865 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25866 }
25867 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
25868 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25869 }
25870 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
25871 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
25872 }
25873 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
25874 return (void *)((wxWindow *) ((wxMenuBar *) x));
25875 }
25876 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
25877 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25878 }
25879 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
25880 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25881 }
25882 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
25883 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25884 }
25885 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
25886 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25887 }
25888 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
25889 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25890 }
25891 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
25892 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25893 }
25894 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
25895 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25896 }
25897 static void *_p_wxPanelTo_p_wxWindow(void *x) {
25898 return (void *)((wxWindow *) ((wxPanel *) x));
25899 }
25900 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
25901 return (void *)((wxWindow *) ((wxStatusBar *) x));
25902 }
25903 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
25904 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
25905 }
25906 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
25907 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
25908 }
25909 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
25910 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25911 }
25912 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
25913 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25914 }
25915 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
25916 return (void *)((wxWindow *) ((wxPopupWindow *) x));
25917 }
25918 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
25919 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
25920 }
25921 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
25922 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
25923 }
25924 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
25925 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
25926 }
25927 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
25928 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
25929 }
25930 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
25931 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
25932 }
25933 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
25934 return (void *)((wxWindow *) ((wxSashWindow *) x));
25935 }
25936 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
25937 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25938 }
25939 static void *_p_wxControlTo_p_wxWindow(void *x) {
25940 return (void *)((wxWindow *) ((wxControl *) x));
25941 }
25942 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
25943 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25944 }
25945 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
25946 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25947 }
25948 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
25949 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25950 }
25951 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
25952 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
25953 }
25954 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
25955 return (void *)((wxWindow *) ((wxPyWindow *) x));
25956 }
25957 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
25958 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25959 }
25960 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
25961 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25962 }
25963 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
25964 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25965 }
25966 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
25967 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
25968 }
25969 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
25970 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25971 }
25972 static void *_p_wxFrameTo_p_wxWindow(void *x) {
25973 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
25974 }
25975 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
25976 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25977 }
25978 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
25979 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25980 }
25981 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
25982 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25983 }
25984 static void *_p_wxDialogTo_p_wxWindow(void *x) {
25985 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
25986 }
25987 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
25988 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25989 }
25990 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
25991 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25992 }
25993 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
25994 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25995 }
25996 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
25997 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25998 }
25999 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
26000 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
26001 }
26002 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
26003 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
26004 }
26005 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
26006 return (void *)((wxDialog *) ((wxColourDialog *) x));
26007 }
26008 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
26009 return (void *)((wxDialog *) ((wxDirDialog *) x));
26010 }
26011 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
26012 return (void *)((wxDialog *) ((wxFontDialog *) x));
26013 }
26014 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
26015 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
26016 }
26017 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
26018 return (void *)((wxDialog *) ((wxPrintDialog *) x));
26019 }
26020 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
26021 return (void *)((wxDialog *) ((wxFileDialog *) x));
26022 }
26023 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
26024 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
26025 }
26026 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
26027 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
26028 }
26029 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
26030 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
26031 }
26032 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
26033 return (void *)((wxDialog *) ((wxMessageDialog *) x));
26034 }
26035 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
26036 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
26037 }
26038 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
26039 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
26040 }
26041 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
26042 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
26043 }
26044 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
26045 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26046 }
26047 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
26048 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26049 }
26050 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
26051 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26052 }
26053 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
26054 return (void *)((wxPanel *) ((wxPyPanel *) x));
26055 }
26056 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
26057 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
26058 }
26059 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
26060 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
26061 }
26062 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
26063 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26064 }
26065 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
26066 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
26067 }
26068 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
26069 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
26070 }
26071 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
26072 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
26073 }
26074 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
26075 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
26076 }
26077 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
26078 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
26079 }
26080 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
26081 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26082 }
26083 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
26084 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
26085 }
26086 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
26087 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
26088 }
26089 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
26090 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
26091 }
26092 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
26093 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
26094 }
26095 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
26096 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
26097 }
26098 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
26099 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26100 }
26101 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}};
26102 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}};
26103 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}};
26104 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}};
26105 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}};
26106 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}};
26107 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}};
26108 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}};
26109 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}};
26110 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}};
26111 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}};
26112 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}};
26113 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}};
26114 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}};
26115 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}};
26116 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}};
26117 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}};
26118 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}};
26119 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}};
26120 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}};
26121 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}};
26122 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}};
26123 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}};
26124 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}};
26125 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}};
26126 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}};
26127 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}};
26128 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}};
26129 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}};
26130 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}};
26131 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}};
26132 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}};
26133 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}};
26134 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}};
26135 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}};
26136 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}};
26137 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}};
26138 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}};
26139 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}};
26140 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}};
26141 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}};
26142 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}};
26143 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}};
26144 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}};
26145 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}};
26146 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}};
26147 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}};
26148 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}};
26149 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}};
26150 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}};
26151 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}};
26152 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}};
26153 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}};
26154 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}};
26155 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}};
26156 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}};
26157 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}};
26158 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}};
26159 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}};
26160 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}};
26161 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}};
26162 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}};
26163 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}};
26164 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}};
26165 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}};
26166 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}};
26167 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}};
26168 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}};
26169 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}};
26170 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}};
26171 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}};
26172 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}};
26173 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}};
26174 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}};
26175 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}};
26176 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}};
26177 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}};
26178 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}};
26179 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}};
26180 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}};
26181 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}};
26182 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}};
26183 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}};
26184 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}};
26185 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}};
26186
26187 static swig_type_info *swig_types_initial[] = {
26188 _swigt__p_wxQueryLayoutInfoEvent,
26189 _swigt__p_wxPreviewFrame,
26190 _swigt__p_wxPyPreviewFrame,
26191 _swigt__p_wxPyPanel,
26192 _swigt__p_wxMenu,
26193 _swigt__p_wxPrintData,
26194 _swigt__p_wxFontData,
26195 _swigt__p_wxEvent,
26196 _swigt__p_wxTaskBarIcon,
26197 _swigt__p_wxIconBundle,
26198 _swigt__p_wxLayoutAlgorithm,
26199 _swigt__p_wxFindDialogEvent,
26200 _swigt__p_wxPreviewCanvas,
26201 _swigt__p_wxFont,
26202 _swigt__p_wxSplitterEvent,
26203 _swigt__p_wxRegion,
26204 _swigt__p_wxFindReplaceData,
26205 _swigt__p_int,
26206 _swigt__p_wxSize,
26207 _swigt__p_wxDC,
26208 _swigt__p_wxIcon,
26209 _swigt__p_wxMDIChildFrame,
26210 _swigt__p_wxColourData,
26211 _swigt__p_wxNotifyEvent,
26212 _swigt__p_wxPyWindow,
26213 _swigt__p_wxSplashScreen,
26214 _swigt__p_wxFindReplaceDialog,
26215 _swigt__p_wxProgressDialog,
26216 _swigt__p_wxMessageDialog,
26217 _swigt__p_wxTextEntryDialog,
26218 _swigt__p_wxSingleChoiceDialog,
26219 _swigt__p_wxMultiChoiceDialog,
26220 _swigt__p_wxFileDialog,
26221 _swigt__p_wxPrinter,
26222 _swigt__p_wxArrayInt,
26223 _swigt__p_wxEvtHandler,
26224 _swigt__p_wxCalculateLayoutEvent,
26225 _swigt__p_wxPyHtmlListBox,
26226 _swigt__p_wxPyVListBox,
26227 _swigt__p_wxRect,
26228 _swigt__p_char,
26229 _swigt__p_wxMiniFrame,
26230 _swigt__p_wxFrame,
26231 _swigt__p_wxPyPrintout,
26232 _swigt__p_wxTaskBarIconEvent,
26233 _swigt__p_wxScrollWinEvent,
26234 _swigt__p_wxStatusBar,
26235 _swigt__p_wxMDIParentFrame,
26236 _swigt__p_wxPoint,
26237 _swigt__p_wxObject,
26238 _swigt__p_wxOutputStream,
26239 _swigt__p_unsigned_long,
26240 _swigt__p_wxPyScrolledWindow,
26241 _swigt__p_wxMDIClientWindow,
26242 _swigt__p_wxTipWindow,
26243 _swigt__p_wxSashLayoutWindow,
26244 _swigt__p_wxSplitterWindow,
26245 _swigt__p_wxPyVScrolledWindow,
26246 _swigt__p_wxPyPopupTransientWindow,
26247 _swigt__p_wxPopupWindow,
26248 _swigt__p_wxSashWindow,
26249 _swigt__p_wxTopLevelWindow,
26250 _swigt__p_wxWindow,
26251 _swigt__p_wxScrolledWindow,
26252 _swigt__p_wxSplashScreenWindow,
26253 _swigt__p_wxMenuBar,
26254 _swigt__p_wxPrintPreview,
26255 _swigt__p_wxSashEvent,
26256 _swigt__p_wxString,
26257 _swigt__p_wxPyPrintPreview,
26258 _swigt__p_wxFontDialog,
26259 _swigt__p_wxDirDialog,
26260 _swigt__p_wxColourDialog,
26261 _swigt__p_wxDialog,
26262 _swigt__p_wxPanel,
26263 _swigt__p_wxPageSetupDialog,
26264 _swigt__p_wxPrintDialog,
26265 _swigt__p_wxBitmap,
26266 _swigt__p_wxCommandEvent,
26267 _swigt__p_wxPreviewControlBar,
26268 _swigt__p_wxPyPreviewControlBar,
26269 _swigt__p_wxColour,
26270 _swigt__p_wxToolBar,
26271 _swigt__p_wxPageSetupDialogData,
26272 _swigt__p_wxPrintDialogData,
26273 0
26274 };
26275
26276
26277 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26278
26279 static swig_const_info swig_const_table[] = {
26280 {0}};
26281
26282 #ifdef __cplusplus
26283 }
26284 #endif
26285
26286 #ifdef __cplusplus
26287 extern "C"
26288 #endif
26289 SWIGEXPORT(void) SWIG_init(void) {
26290 static PyObject *SWIG_globals = 0;
26291 static int typeinit = 0;
26292 PyObject *m, *d;
26293 int i;
26294 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
26295 m = Py_InitModule((char *) SWIG_name, SwigMethods);
26296 d = PyModule_GetDict(m);
26297
26298 if (!typeinit) {
26299 for (i = 0; swig_types_initial[i]; i++) {
26300 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
26301 }
26302 typeinit = 1;
26303 }
26304 SWIG_InstallConstants(d,swig_const_table);
26305
26306 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
26307 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
26308 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
26309 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
26310 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
26311 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR));
26312 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR));
26313 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR));
26314 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER));
26315 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION));
26316 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL));
26317 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG));
26318 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT));
26319 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN));
26320 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE));
26321 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT));
26322 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT));
26323 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
26324 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER));
26325 PyDict_SetItemString(d,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH));
26326 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT));
26327 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE));
26328 PyDict_SetItemString(d,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH));
26329 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER));
26330 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME));
26331 PyDict_SetItemString(d,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER));
26332 PyDict_SetItemString(d,"SP_3D", SWIG_FromInt((int)wxSP_3D));
26333 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL));
26334 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL));
26335 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE));
26336 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING));
26337 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN));
26338 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
26339 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
26340 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
26341 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
26342 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
26343 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
26344 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE));
26345 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING));
26346 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN));
26347 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER));
26348 PyDict_SetItemString(d,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER));
26349 PyDict_SetItemString(d,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH));
26350 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER));
26351 PyDict_SetItemString(d,"SW_3D", SWIG_FromInt((int)wxSW_3D));
26352 PyDict_SetItemString(d,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP));
26353 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT));
26354 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM));
26355 PyDict_SetItemString(d,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT));
26356 PyDict_SetItemString(d,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE));
26357 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK));
26358 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE));
26359 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
26360 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL));
26361 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL));
26362 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE));
26363 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP));
26364 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT));
26365 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT));
26366 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM));
26367 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y));
26368 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X));
26369 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH));
26370 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY));
26371 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
26372 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
26373 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
26374
26375 // Map renamed classes back to their common name for OOR
26376 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26377 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26378 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26379
26380 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
26381 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
26382 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
26383 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
26384 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
26385 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
26386 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
26387 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
26388 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
26389 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
26390 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
26391 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
26392 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
26393 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE));
26394 PyDict_SetItemString(d,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN));
26395 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD));
26396 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE));
26397 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG));
26398 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN));
26399 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE));
26400 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD));
26401 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
26402 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
26403 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
26404 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
26405 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
26406 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26407 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26408 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26409 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26410 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26411 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26412 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26413 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26414 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
26415 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
26416 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE));
26417 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW));
26418 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE));
26419 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER));
26420 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM));
26421 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR));
26422 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED));
26423 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR));
26424 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT));
26425 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS));
26426 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT));
26427 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM));
26428 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST));
26429 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST));
26430 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO));
26431 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT));
26432 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE));
26433 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT));
26434 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS));
26435 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT));
26436 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM));
26437 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST));
26438 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST));
26439 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO));
26440
26441 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
26442
26443 }
26444