]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/windows_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / gtk / 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 return self->m_modalShowing;
514
515
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 * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2431 PyObject *obj;
2432 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2433 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2434 Py_INCREF(obj);
2435 return Py_BuildValue((char *)"");
2436 }
2437 static int _wrap_FrameNameStr_set(PyObject *_val) {
2438 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2439 return 1;
2440 }
2441
2442
2443 static PyObject *_wrap_FrameNameStr_get() {
2444 PyObject *pyobj;
2445
2446 {
2447 #if wxUSE_UNICODE
2448 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2449 #else
2450 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2451 #endif
2452 }
2453 return pyobj;
2454 }
2455
2456
2457 static int _wrap_DialogNameStr_set(PyObject *_val) {
2458 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2459 return 1;
2460 }
2461
2462
2463 static PyObject *_wrap_DialogNameStr_get() {
2464 PyObject *pyobj;
2465
2466 {
2467 #if wxUSE_UNICODE
2468 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2469 #else
2470 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2471 #endif
2472 }
2473 return pyobj;
2474 }
2475
2476
2477 static int _wrap_StatusLineNameStr_set(PyObject *_val) {
2478 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2479 return 1;
2480 }
2481
2482
2483 static PyObject *_wrap_StatusLineNameStr_get() {
2484 PyObject *pyobj;
2485
2486 {
2487 #if wxUSE_UNICODE
2488 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2489 #else
2490 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2491 #endif
2492 }
2493 return pyobj;
2494 }
2495
2496
2497 static int _wrap_ToolBarNameStr_set(PyObject *_val) {
2498 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2499 return 1;
2500 }
2501
2502
2503 static PyObject *_wrap_ToolBarNameStr_get() {
2504 PyObject *pyobj;
2505
2506 {
2507 #if wxUSE_UNICODE
2508 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2509 #else
2510 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2511 #endif
2512 }
2513 return pyobj;
2514 }
2515
2516
2517 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2518 PyObject *resultobj;
2519 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2520 bool arg2 = (bool) True ;
2521 PyObject * obj0 = 0 ;
2522 PyObject * obj1 = 0 ;
2523 char *kwnames[] = {
2524 (char *) "self",(char *) "maximize", NULL
2525 };
2526
2527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2530 if (obj1) {
2531 arg2 = (bool) SWIG_AsBool(obj1);
2532 if (PyErr_Occurred()) SWIG_fail;
2533 }
2534 {
2535 PyThreadState* __tstate = wxPyBeginAllowThreads();
2536 (arg1)->Maximize(arg2);
2537
2538 wxPyEndAllowThreads(__tstate);
2539 if (PyErr_Occurred()) SWIG_fail;
2540 }
2541 Py_INCREF(Py_None); resultobj = Py_None;
2542 return resultobj;
2543 fail:
2544 return NULL;
2545 }
2546
2547
2548 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2549 PyObject *resultobj;
2550 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2551 PyObject * obj0 = 0 ;
2552 char *kwnames[] = {
2553 (char *) "self", NULL
2554 };
2555
2556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2559 {
2560 PyThreadState* __tstate = wxPyBeginAllowThreads();
2561 (arg1)->Restore();
2562
2563 wxPyEndAllowThreads(__tstate);
2564 if (PyErr_Occurred()) SWIG_fail;
2565 }
2566 Py_INCREF(Py_None); resultobj = Py_None;
2567 return resultobj;
2568 fail:
2569 return NULL;
2570 }
2571
2572
2573 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2574 PyObject *resultobj;
2575 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2576 bool arg2 = (bool) True ;
2577 PyObject * obj0 = 0 ;
2578 PyObject * obj1 = 0 ;
2579 char *kwnames[] = {
2580 (char *) "self",(char *) "iconize", NULL
2581 };
2582
2583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2586 if (obj1) {
2587 arg2 = (bool) SWIG_AsBool(obj1);
2588 if (PyErr_Occurred()) SWIG_fail;
2589 }
2590 {
2591 PyThreadState* __tstate = wxPyBeginAllowThreads();
2592 (arg1)->Iconize(arg2);
2593
2594 wxPyEndAllowThreads(__tstate);
2595 if (PyErr_Occurred()) SWIG_fail;
2596 }
2597 Py_INCREF(Py_None); resultobj = Py_None;
2598 return resultobj;
2599 fail:
2600 return NULL;
2601 }
2602
2603
2604 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2605 PyObject *resultobj;
2606 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2607 bool result;
2608 PyObject * obj0 = 0 ;
2609 char *kwnames[] = {
2610 (char *) "self", NULL
2611 };
2612
2613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2616 {
2617 PyThreadState* __tstate = wxPyBeginAllowThreads();
2618 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2619
2620 wxPyEndAllowThreads(__tstate);
2621 if (PyErr_Occurred()) SWIG_fail;
2622 }
2623 {
2624 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2625 }
2626 return resultobj;
2627 fail:
2628 return NULL;
2629 }
2630
2631
2632 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2633 PyObject *resultobj;
2634 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2635 bool result;
2636 PyObject * obj0 = 0 ;
2637 char *kwnames[] = {
2638 (char *) "self", NULL
2639 };
2640
2641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2644 {
2645 PyThreadState* __tstate = wxPyBeginAllowThreads();
2646 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2647
2648 wxPyEndAllowThreads(__tstate);
2649 if (PyErr_Occurred()) SWIG_fail;
2650 }
2651 {
2652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2653 }
2654 return resultobj;
2655 fail:
2656 return NULL;
2657 }
2658
2659
2660 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2661 PyObject *resultobj;
2662 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2663 wxIcon result;
2664 PyObject * obj0 = 0 ;
2665 char *kwnames[] = {
2666 (char *) "self", NULL
2667 };
2668
2669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2672 {
2673 PyThreadState* __tstate = wxPyBeginAllowThreads();
2674 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2675
2676 wxPyEndAllowThreads(__tstate);
2677 if (PyErr_Occurred()) SWIG_fail;
2678 }
2679 {
2680 wxIcon * resultptr;
2681 resultptr = new wxIcon((wxIcon &) result);
2682 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
2683 }
2684 return resultobj;
2685 fail:
2686 return NULL;
2687 }
2688
2689
2690 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2691 PyObject *resultobj;
2692 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2693 wxIcon *arg2 = 0 ;
2694 PyObject * obj0 = 0 ;
2695 PyObject * obj1 = 0 ;
2696 char *kwnames[] = {
2697 (char *) "self",(char *) "icon", NULL
2698 };
2699
2700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2703 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
2704 SWIG_POINTER_EXCEPTION | 0)) == -1)
2705 SWIG_fail;
2706 if (arg2 == NULL) {
2707 PyErr_SetString(PyExc_TypeError,"null reference");
2708 SWIG_fail;
2709 }
2710 {
2711 PyThreadState* __tstate = wxPyBeginAllowThreads();
2712 (arg1)->SetIcon((wxIcon const &)*arg2);
2713
2714 wxPyEndAllowThreads(__tstate);
2715 if (PyErr_Occurred()) SWIG_fail;
2716 }
2717 Py_INCREF(Py_None); resultobj = Py_None;
2718 return resultobj;
2719 fail:
2720 return NULL;
2721 }
2722
2723
2724 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2725 PyObject *resultobj;
2726 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2727 wxIconBundle *arg2 = 0 ;
2728 PyObject * obj0 = 0 ;
2729 PyObject * obj1 = 0 ;
2730 char *kwnames[] = {
2731 (char *) "self",(char *) "icons", NULL
2732 };
2733
2734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2737 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
2738 SWIG_POINTER_EXCEPTION | 0)) == -1)
2739 SWIG_fail;
2740 if (arg2 == NULL) {
2741 PyErr_SetString(PyExc_TypeError,"null reference");
2742 SWIG_fail;
2743 }
2744 {
2745 PyThreadState* __tstate = wxPyBeginAllowThreads();
2746 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2747
2748 wxPyEndAllowThreads(__tstate);
2749 if (PyErr_Occurred()) SWIG_fail;
2750 }
2751 Py_INCREF(Py_None); resultobj = Py_None;
2752 return resultobj;
2753 fail:
2754 return NULL;
2755 }
2756
2757
2758 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2759 PyObject *resultobj;
2760 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2761 bool arg2 ;
2762 long arg3 = (long) wxFULLSCREEN_ALL ;
2763 bool result;
2764 PyObject * obj0 = 0 ;
2765 PyObject * obj1 = 0 ;
2766 PyObject * obj2 = 0 ;
2767 char *kwnames[] = {
2768 (char *) "self",(char *) "show",(char *) "style", NULL
2769 };
2770
2771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2774 arg2 = (bool) SWIG_AsBool(obj1);
2775 if (PyErr_Occurred()) SWIG_fail;
2776 if (obj2) {
2777 arg3 = (long) SWIG_AsLong(obj2);
2778 if (PyErr_Occurred()) SWIG_fail;
2779 }
2780 {
2781 PyThreadState* __tstate = wxPyBeginAllowThreads();
2782 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2783
2784 wxPyEndAllowThreads(__tstate);
2785 if (PyErr_Occurred()) SWIG_fail;
2786 }
2787 {
2788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2789 }
2790 return resultobj;
2791 fail:
2792 return NULL;
2793 }
2794
2795
2796 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2797 PyObject *resultobj;
2798 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2799 bool result;
2800 PyObject * obj0 = 0 ;
2801 char *kwnames[] = {
2802 (char *) "self", NULL
2803 };
2804
2805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2808 {
2809 PyThreadState* __tstate = wxPyBeginAllowThreads();
2810 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2811
2812 wxPyEndAllowThreads(__tstate);
2813 if (PyErr_Occurred()) SWIG_fail;
2814 }
2815 {
2816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2817 }
2818 return resultobj;
2819 fail:
2820 return NULL;
2821 }
2822
2823
2824 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2825 PyObject *resultobj;
2826 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2827 wxString *arg2 = 0 ;
2828 bool temp2 = False ;
2829 PyObject * obj0 = 0 ;
2830 PyObject * obj1 = 0 ;
2831 char *kwnames[] = {
2832 (char *) "self",(char *) "title", NULL
2833 };
2834
2835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2838 {
2839 arg2 = wxString_in_helper(obj1);
2840 if (arg2 == NULL) SWIG_fail;
2841 temp2 = True;
2842 }
2843 {
2844 PyThreadState* __tstate = wxPyBeginAllowThreads();
2845 (arg1)->SetTitle((wxString const &)*arg2);
2846
2847 wxPyEndAllowThreads(__tstate);
2848 if (PyErr_Occurred()) SWIG_fail;
2849 }
2850 Py_INCREF(Py_None); resultobj = Py_None;
2851 {
2852 if (temp2)
2853 delete arg2;
2854 }
2855 return resultobj;
2856 fail:
2857 {
2858 if (temp2)
2859 delete arg2;
2860 }
2861 return NULL;
2862 }
2863
2864
2865 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2866 PyObject *resultobj;
2867 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2868 wxString result;
2869 PyObject * obj0 = 0 ;
2870 char *kwnames[] = {
2871 (char *) "self", NULL
2872 };
2873
2874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2877 {
2878 PyThreadState* __tstate = wxPyBeginAllowThreads();
2879 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2880
2881 wxPyEndAllowThreads(__tstate);
2882 if (PyErr_Occurred()) SWIG_fail;
2883 }
2884 {
2885 #if wxUSE_UNICODE
2886 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2887 #else
2888 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2889 #endif
2890 }
2891 return resultobj;
2892 fail:
2893 return NULL;
2894 }
2895
2896
2897 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2898 PyObject *resultobj;
2899 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2900 wxRegion *arg2 = 0 ;
2901 bool result;
2902 PyObject * obj0 = 0 ;
2903 PyObject * obj1 = 0 ;
2904 char *kwnames[] = {
2905 (char *) "self",(char *) "region", NULL
2906 };
2907
2908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2911 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
2912 SWIG_POINTER_EXCEPTION | 0)) == -1)
2913 SWIG_fail;
2914 if (arg2 == NULL) {
2915 PyErr_SetString(PyExc_TypeError,"null reference");
2916 SWIG_fail;
2917 }
2918 {
2919 PyThreadState* __tstate = wxPyBeginAllowThreads();
2920 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2921
2922 wxPyEndAllowThreads(__tstate);
2923 if (PyErr_Occurred()) SWIG_fail;
2924 }
2925 {
2926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2927 }
2928 return resultobj;
2929 fail:
2930 return NULL;
2931 }
2932
2933
2934 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
2935 PyObject *obj;
2936 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2937 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
2938 Py_INCREF(obj);
2939 return Py_BuildValue((char *)"");
2940 }
2941 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
2942 PyObject *resultobj;
2943 wxWindow *arg1 = (wxWindow *) 0 ;
2944 int arg2 ;
2945 wxString *arg3 = 0 ;
2946 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2947 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2948 wxSize const &arg5_defvalue = wxDefaultSize ;
2949 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2950 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
2951 wxString const &arg7_defvalue = wxPyFrameNameStr ;
2952 wxString *arg7 = (wxString *) &arg7_defvalue ;
2953 wxFrame *result;
2954 bool temp3 = False ;
2955 wxPoint temp4 ;
2956 wxSize temp5 ;
2957 bool temp7 = False ;
2958 PyObject * obj0 = 0 ;
2959 PyObject * obj1 = 0 ;
2960 PyObject * obj2 = 0 ;
2961 PyObject * obj3 = 0 ;
2962 PyObject * obj4 = 0 ;
2963 PyObject * obj5 = 0 ;
2964 PyObject * obj6 = 0 ;
2965 char *kwnames[] = {
2966 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2967 };
2968
2969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2972 arg2 = (int const) SWIG_AsInt(obj1);
2973 if (PyErr_Occurred()) SWIG_fail;
2974 {
2975 arg3 = wxString_in_helper(obj2);
2976 if (arg3 == NULL) SWIG_fail;
2977 temp3 = True;
2978 }
2979 if (obj3) {
2980 {
2981 arg4 = &temp4;
2982 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2983 }
2984 }
2985 if (obj4) {
2986 {
2987 arg5 = &temp5;
2988 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2989 }
2990 }
2991 if (obj5) {
2992 arg6 = (long) SWIG_AsLong(obj5);
2993 if (PyErr_Occurred()) SWIG_fail;
2994 }
2995 if (obj6) {
2996 {
2997 arg7 = wxString_in_helper(obj6);
2998 if (arg7 == NULL) SWIG_fail;
2999 temp7 = True;
3000 }
3001 }
3002 {
3003 PyThreadState* __tstate = wxPyBeginAllowThreads();
3004 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3005
3006 wxPyEndAllowThreads(__tstate);
3007 if (PyErr_Occurred()) SWIG_fail;
3008 }
3009 {
3010 resultobj = wxPyMake_wxObject(result);
3011 }
3012 {
3013 if (temp3)
3014 delete arg3;
3015 }
3016 {
3017 if (temp7)
3018 delete arg7;
3019 }
3020 return resultobj;
3021 fail:
3022 {
3023 if (temp3)
3024 delete arg3;
3025 }
3026 {
3027 if (temp7)
3028 delete arg7;
3029 }
3030 return NULL;
3031 }
3032
3033
3034 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3035 PyObject *resultobj;
3036 wxFrame *result;
3037 char *kwnames[] = {
3038 NULL
3039 };
3040
3041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3042 {
3043 PyThreadState* __tstate = wxPyBeginAllowThreads();
3044 result = (wxFrame *)new wxFrame();
3045
3046 wxPyEndAllowThreads(__tstate);
3047 if (PyErr_Occurred()) SWIG_fail;
3048 }
3049 {
3050 resultobj = wxPyMake_wxObject(result);
3051 }
3052 return resultobj;
3053 fail:
3054 return NULL;
3055 }
3056
3057
3058 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3059 PyObject *resultobj;
3060 wxFrame *arg1 = (wxFrame *) 0 ;
3061 wxWindow *arg2 = (wxWindow *) 0 ;
3062 int arg3 ;
3063 wxString *arg4 = 0 ;
3064 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3065 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3066 wxSize const &arg6_defvalue = wxDefaultSize ;
3067 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3068 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3069 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3070 wxString *arg8 = (wxString *) &arg8_defvalue ;
3071 bool result;
3072 bool temp4 = False ;
3073 wxPoint temp5 ;
3074 wxSize temp6 ;
3075 bool temp8 = False ;
3076 PyObject * obj0 = 0 ;
3077 PyObject * obj1 = 0 ;
3078 PyObject * obj2 = 0 ;
3079 PyObject * obj3 = 0 ;
3080 PyObject * obj4 = 0 ;
3081 PyObject * obj5 = 0 ;
3082 PyObject * obj6 = 0 ;
3083 PyObject * obj7 = 0 ;
3084 char *kwnames[] = {
3085 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3086 };
3087
3088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3091 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3093 arg3 = (int const) SWIG_AsInt(obj2);
3094 if (PyErr_Occurred()) SWIG_fail;
3095 {
3096 arg4 = wxString_in_helper(obj3);
3097 if (arg4 == NULL) SWIG_fail;
3098 temp4 = True;
3099 }
3100 if (obj4) {
3101 {
3102 arg5 = &temp5;
3103 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3104 }
3105 }
3106 if (obj5) {
3107 {
3108 arg6 = &temp6;
3109 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3110 }
3111 }
3112 if (obj6) {
3113 arg7 = (long) SWIG_AsLong(obj6);
3114 if (PyErr_Occurred()) SWIG_fail;
3115 }
3116 if (obj7) {
3117 {
3118 arg8 = wxString_in_helper(obj7);
3119 if (arg8 == NULL) SWIG_fail;
3120 temp8 = True;
3121 }
3122 }
3123 {
3124 PyThreadState* __tstate = wxPyBeginAllowThreads();
3125 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3126
3127 wxPyEndAllowThreads(__tstate);
3128 if (PyErr_Occurred()) SWIG_fail;
3129 }
3130 {
3131 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3132 }
3133 {
3134 if (temp4)
3135 delete arg4;
3136 }
3137 {
3138 if (temp8)
3139 delete arg8;
3140 }
3141 return resultobj;
3142 fail:
3143 {
3144 if (temp4)
3145 delete arg4;
3146 }
3147 {
3148 if (temp8)
3149 delete arg8;
3150 }
3151 return NULL;
3152 }
3153
3154
3155 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
3156 PyObject *resultobj;
3157 wxFrame *arg1 = (wxFrame *) 0 ;
3158 wxPoint result;
3159 PyObject * obj0 = 0 ;
3160 char *kwnames[] = {
3161 (char *) "self", NULL
3162 };
3163
3164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3167 {
3168 PyThreadState* __tstate = wxPyBeginAllowThreads();
3169 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3170
3171 wxPyEndAllowThreads(__tstate);
3172 if (PyErr_Occurred()) SWIG_fail;
3173 }
3174 {
3175 wxPoint * resultptr;
3176 resultptr = new wxPoint((wxPoint &) result);
3177 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3178 }
3179 return resultobj;
3180 fail:
3181 return NULL;
3182 }
3183
3184
3185 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3186 PyObject *resultobj;
3187 wxFrame *arg1 = (wxFrame *) 0 ;
3188 PyObject * obj0 = 0 ;
3189 char *kwnames[] = {
3190 (char *) "self", NULL
3191 };
3192
3193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3196 {
3197 PyThreadState* __tstate = wxPyBeginAllowThreads();
3198 (arg1)->SendSizeEvent();
3199
3200 wxPyEndAllowThreads(__tstate);
3201 if (PyErr_Occurred()) SWIG_fail;
3202 }
3203 Py_INCREF(Py_None); resultobj = Py_None;
3204 return resultobj;
3205 fail:
3206 return NULL;
3207 }
3208
3209
3210 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3211 PyObject *resultobj;
3212 wxFrame *arg1 = (wxFrame *) 0 ;
3213 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3214 PyObject * obj0 = 0 ;
3215 PyObject * obj1 = 0 ;
3216 char *kwnames[] = {
3217 (char *) "self",(char *) "menubar", NULL
3218 };
3219
3220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3223 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3225 {
3226 PyThreadState* __tstate = wxPyBeginAllowThreads();
3227 (arg1)->SetMenuBar(arg2);
3228
3229 wxPyEndAllowThreads(__tstate);
3230 if (PyErr_Occurred()) SWIG_fail;
3231 }
3232 Py_INCREF(Py_None); resultobj = Py_None;
3233 return resultobj;
3234 fail:
3235 return NULL;
3236 }
3237
3238
3239 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3240 PyObject *resultobj;
3241 wxFrame *arg1 = (wxFrame *) 0 ;
3242 wxMenuBar *result;
3243 PyObject * obj0 = 0 ;
3244 char *kwnames[] = {
3245 (char *) "self", NULL
3246 };
3247
3248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3251 {
3252 PyThreadState* __tstate = wxPyBeginAllowThreads();
3253 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3254
3255 wxPyEndAllowThreads(__tstate);
3256 if (PyErr_Occurred()) SWIG_fail;
3257 }
3258 {
3259 resultobj = wxPyMake_wxObject(result);
3260 }
3261 return resultobj;
3262 fail:
3263 return NULL;
3264 }
3265
3266
3267 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3268 PyObject *resultobj;
3269 wxFrame *arg1 = (wxFrame *) 0 ;
3270 int arg2 ;
3271 bool result;
3272 PyObject * obj0 = 0 ;
3273 PyObject * obj1 = 0 ;
3274 char *kwnames[] = {
3275 (char *) "self",(char *) "winid", NULL
3276 };
3277
3278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3281 arg2 = (int) SWIG_AsInt(obj1);
3282 if (PyErr_Occurred()) SWIG_fail;
3283 {
3284 PyThreadState* __tstate = wxPyBeginAllowThreads();
3285 result = (bool)(arg1)->ProcessCommand(arg2);
3286
3287 wxPyEndAllowThreads(__tstate);
3288 if (PyErr_Occurred()) SWIG_fail;
3289 }
3290 {
3291 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3292 }
3293 return resultobj;
3294 fail:
3295 return NULL;
3296 }
3297
3298
3299 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3300 PyObject *resultobj;
3301 wxFrame *arg1 = (wxFrame *) 0 ;
3302 int arg2 = (int) 1 ;
3303 long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ;
3304 int arg4 = (int) 0 ;
3305 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3306 wxString *arg5 = (wxString *) &arg5_defvalue ;
3307 wxStatusBar *result;
3308 bool temp5 = False ;
3309 PyObject * obj0 = 0 ;
3310 PyObject * obj1 = 0 ;
3311 PyObject * obj2 = 0 ;
3312 PyObject * obj3 = 0 ;
3313 PyObject * obj4 = 0 ;
3314 char *kwnames[] = {
3315 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3316 };
3317
3318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3321 if (obj1) {
3322 arg2 = (int) SWIG_AsInt(obj1);
3323 if (PyErr_Occurred()) SWIG_fail;
3324 }
3325 if (obj2) {
3326 arg3 = (long) SWIG_AsLong(obj2);
3327 if (PyErr_Occurred()) SWIG_fail;
3328 }
3329 if (obj3) {
3330 arg4 = (int) SWIG_AsInt(obj3);
3331 if (PyErr_Occurred()) SWIG_fail;
3332 }
3333 if (obj4) {
3334 {
3335 arg5 = wxString_in_helper(obj4);
3336 if (arg5 == NULL) SWIG_fail;
3337 temp5 = True;
3338 }
3339 }
3340 {
3341 PyThreadState* __tstate = wxPyBeginAllowThreads();
3342 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3343
3344 wxPyEndAllowThreads(__tstate);
3345 if (PyErr_Occurred()) SWIG_fail;
3346 }
3347 {
3348 resultobj = wxPyMake_wxObject(result);
3349 }
3350 {
3351 if (temp5)
3352 delete arg5;
3353 }
3354 return resultobj;
3355 fail:
3356 {
3357 if (temp5)
3358 delete arg5;
3359 }
3360 return NULL;
3361 }
3362
3363
3364 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3365 PyObject *resultobj;
3366 wxFrame *arg1 = (wxFrame *) 0 ;
3367 wxStatusBar *result;
3368 PyObject * obj0 = 0 ;
3369 char *kwnames[] = {
3370 (char *) "self", NULL
3371 };
3372
3373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3376 {
3377 PyThreadState* __tstate = wxPyBeginAllowThreads();
3378 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3379
3380 wxPyEndAllowThreads(__tstate);
3381 if (PyErr_Occurred()) SWIG_fail;
3382 }
3383 {
3384 resultobj = wxPyMake_wxObject(result);
3385 }
3386 return resultobj;
3387 fail:
3388 return NULL;
3389 }
3390
3391
3392 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3393 PyObject *resultobj;
3394 wxFrame *arg1 = (wxFrame *) 0 ;
3395 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3396 PyObject * obj0 = 0 ;
3397 PyObject * obj1 = 0 ;
3398 char *kwnames[] = {
3399 (char *) "self",(char *) "statBar", NULL
3400 };
3401
3402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3405 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3407 {
3408 PyThreadState* __tstate = wxPyBeginAllowThreads();
3409 (arg1)->SetStatusBar(arg2);
3410
3411 wxPyEndAllowThreads(__tstate);
3412 if (PyErr_Occurred()) SWIG_fail;
3413 }
3414 Py_INCREF(Py_None); resultobj = Py_None;
3415 return resultobj;
3416 fail:
3417 return NULL;
3418 }
3419
3420
3421 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3422 PyObject *resultobj;
3423 wxFrame *arg1 = (wxFrame *) 0 ;
3424 wxString *arg2 = 0 ;
3425 int arg3 = (int) 0 ;
3426 bool temp2 = False ;
3427 PyObject * obj0 = 0 ;
3428 PyObject * obj1 = 0 ;
3429 PyObject * obj2 = 0 ;
3430 char *kwnames[] = {
3431 (char *) "self",(char *) "text",(char *) "number", NULL
3432 };
3433
3434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3437 {
3438 arg2 = wxString_in_helper(obj1);
3439 if (arg2 == NULL) SWIG_fail;
3440 temp2 = True;
3441 }
3442 if (obj2) {
3443 arg3 = (int) SWIG_AsInt(obj2);
3444 if (PyErr_Occurred()) SWIG_fail;
3445 }
3446 {
3447 PyThreadState* __tstate = wxPyBeginAllowThreads();
3448 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3449
3450 wxPyEndAllowThreads(__tstate);
3451 if (PyErr_Occurred()) SWIG_fail;
3452 }
3453 Py_INCREF(Py_None); resultobj = Py_None;
3454 {
3455 if (temp2)
3456 delete arg2;
3457 }
3458 return resultobj;
3459 fail:
3460 {
3461 if (temp2)
3462 delete arg2;
3463 }
3464 return NULL;
3465 }
3466
3467
3468 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3469 PyObject *resultobj;
3470 wxFrame *arg1 = (wxFrame *) 0 ;
3471 int arg2 ;
3472 int *arg3 = (int *) 0 ;
3473 PyObject * obj0 = 0 ;
3474 PyObject * obj1 = 0 ;
3475 char *kwnames[] = {
3476 (char *) "self",(char *) "widths", NULL
3477 };
3478
3479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3482 {
3483 arg2 = PyList_Size(obj1);
3484 arg3 = int_LIST_helper(obj1);
3485 if (arg3 == NULL) SWIG_fail;
3486 }
3487 {
3488 PyThreadState* __tstate = wxPyBeginAllowThreads();
3489 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3490
3491 wxPyEndAllowThreads(__tstate);
3492 if (PyErr_Occurred()) SWIG_fail;
3493 }
3494 Py_INCREF(Py_None); resultobj = Py_None;
3495 {
3496 if (arg3) delete [] arg3;
3497 }
3498 return resultobj;
3499 fail:
3500 {
3501 if (arg3) delete [] arg3;
3502 }
3503 return NULL;
3504 }
3505
3506
3507 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3508 PyObject *resultobj;
3509 wxFrame *arg1 = (wxFrame *) 0 ;
3510 wxString *arg2 = 0 ;
3511 int arg3 = (int) 0 ;
3512 bool temp2 = False ;
3513 PyObject * obj0 = 0 ;
3514 PyObject * obj1 = 0 ;
3515 PyObject * obj2 = 0 ;
3516 char *kwnames[] = {
3517 (char *) "self",(char *) "text",(char *) "number", NULL
3518 };
3519
3520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3523 {
3524 arg2 = wxString_in_helper(obj1);
3525 if (arg2 == NULL) SWIG_fail;
3526 temp2 = True;
3527 }
3528 if (obj2) {
3529 arg3 = (int) SWIG_AsInt(obj2);
3530 if (PyErr_Occurred()) SWIG_fail;
3531 }
3532 {
3533 PyThreadState* __tstate = wxPyBeginAllowThreads();
3534 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3535
3536 wxPyEndAllowThreads(__tstate);
3537 if (PyErr_Occurred()) SWIG_fail;
3538 }
3539 Py_INCREF(Py_None); resultobj = Py_None;
3540 {
3541 if (temp2)
3542 delete arg2;
3543 }
3544 return resultobj;
3545 fail:
3546 {
3547 if (temp2)
3548 delete arg2;
3549 }
3550 return NULL;
3551 }
3552
3553
3554 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3555 PyObject *resultobj;
3556 wxFrame *arg1 = (wxFrame *) 0 ;
3557 int arg2 = (int) 0 ;
3558 PyObject * obj0 = 0 ;
3559 PyObject * obj1 = 0 ;
3560 char *kwnames[] = {
3561 (char *) "self",(char *) "number", NULL
3562 };
3563
3564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3567 if (obj1) {
3568 arg2 = (int) SWIG_AsInt(obj1);
3569 if (PyErr_Occurred()) SWIG_fail;
3570 }
3571 {
3572 PyThreadState* __tstate = wxPyBeginAllowThreads();
3573 (arg1)->PopStatusText(arg2);
3574
3575 wxPyEndAllowThreads(__tstate);
3576 if (PyErr_Occurred()) SWIG_fail;
3577 }
3578 Py_INCREF(Py_None); resultobj = Py_None;
3579 return resultobj;
3580 fail:
3581 return NULL;
3582 }
3583
3584
3585 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3586 PyObject *resultobj;
3587 wxFrame *arg1 = (wxFrame *) 0 ;
3588 int arg2 ;
3589 PyObject * obj0 = 0 ;
3590 PyObject * obj1 = 0 ;
3591 char *kwnames[] = {
3592 (char *) "self",(char *) "n", NULL
3593 };
3594
3595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
3596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3598 arg2 = (int) SWIG_AsInt(obj1);
3599 if (PyErr_Occurred()) SWIG_fail;
3600 {
3601 PyThreadState* __tstate = wxPyBeginAllowThreads();
3602 (arg1)->SetStatusBarPane(arg2);
3603
3604 wxPyEndAllowThreads(__tstate);
3605 if (PyErr_Occurred()) SWIG_fail;
3606 }
3607 Py_INCREF(Py_None); resultobj = Py_None;
3608 return resultobj;
3609 fail:
3610 return NULL;
3611 }
3612
3613
3614 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3615 PyObject *resultobj;
3616 wxFrame *arg1 = (wxFrame *) 0 ;
3617 int result;
3618 PyObject * obj0 = 0 ;
3619 char *kwnames[] = {
3620 (char *) "self", NULL
3621 };
3622
3623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3626 {
3627 PyThreadState* __tstate = wxPyBeginAllowThreads();
3628 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3629
3630 wxPyEndAllowThreads(__tstate);
3631 if (PyErr_Occurred()) SWIG_fail;
3632 }
3633 resultobj = SWIG_FromInt((int)result);
3634 return resultobj;
3635 fail:
3636 return NULL;
3637 }
3638
3639
3640 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3641 PyObject *resultobj;
3642 wxFrame *arg1 = (wxFrame *) 0 ;
3643 long arg2 = (long) -1 ;
3644 int arg3 = (int) -1 ;
3645 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3646 wxString *arg4 = (wxString *) &arg4_defvalue ;
3647 wxToolBar *result;
3648 bool temp4 = False ;
3649 PyObject * obj0 = 0 ;
3650 PyObject * obj1 = 0 ;
3651 PyObject * obj2 = 0 ;
3652 PyObject * obj3 = 0 ;
3653 char *kwnames[] = {
3654 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3655 };
3656
3657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3660 if (obj1) {
3661 arg2 = (long) SWIG_AsLong(obj1);
3662 if (PyErr_Occurred()) SWIG_fail;
3663 }
3664 if (obj2) {
3665 arg3 = (int) SWIG_AsInt(obj2);
3666 if (PyErr_Occurred()) SWIG_fail;
3667 }
3668 if (obj3) {
3669 {
3670 arg4 = wxString_in_helper(obj3);
3671 if (arg4 == NULL) SWIG_fail;
3672 temp4 = True;
3673 }
3674 }
3675 {
3676 PyThreadState* __tstate = wxPyBeginAllowThreads();
3677 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3678
3679 wxPyEndAllowThreads(__tstate);
3680 if (PyErr_Occurred()) SWIG_fail;
3681 }
3682 {
3683 resultobj = wxPyMake_wxObject(result);
3684 }
3685 {
3686 if (temp4)
3687 delete arg4;
3688 }
3689 return resultobj;
3690 fail:
3691 {
3692 if (temp4)
3693 delete arg4;
3694 }
3695 return NULL;
3696 }
3697
3698
3699 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3700 PyObject *resultobj;
3701 wxFrame *arg1 = (wxFrame *) 0 ;
3702 wxToolBar *result;
3703 PyObject * obj0 = 0 ;
3704 char *kwnames[] = {
3705 (char *) "self", NULL
3706 };
3707
3708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3711 {
3712 PyThreadState* __tstate = wxPyBeginAllowThreads();
3713 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3714
3715 wxPyEndAllowThreads(__tstate);
3716 if (PyErr_Occurred()) SWIG_fail;
3717 }
3718 {
3719 resultobj = wxPyMake_wxObject(result);
3720 }
3721 return resultobj;
3722 fail:
3723 return NULL;
3724 }
3725
3726
3727 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3728 PyObject *resultobj;
3729 wxFrame *arg1 = (wxFrame *) 0 ;
3730 wxToolBar *arg2 = (wxToolBar *) 0 ;
3731 PyObject * obj0 = 0 ;
3732 PyObject * obj1 = 0 ;
3733 char *kwnames[] = {
3734 (char *) "self",(char *) "toolbar", NULL
3735 };
3736
3737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3740 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
3741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3742 {
3743 PyThreadState* __tstate = wxPyBeginAllowThreads();
3744 (arg1)->SetToolBar(arg2);
3745
3746 wxPyEndAllowThreads(__tstate);
3747 if (PyErr_Occurred()) SWIG_fail;
3748 }
3749 Py_INCREF(Py_None); resultobj = Py_None;
3750 return resultobj;
3751 fail:
3752 return NULL;
3753 }
3754
3755
3756 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3757 PyObject *resultobj;
3758 wxFrame *arg1 = (wxFrame *) 0 ;
3759 wxString *arg2 = 0 ;
3760 bool arg3 ;
3761 bool temp2 = False ;
3762 PyObject * obj0 = 0 ;
3763 PyObject * obj1 = 0 ;
3764 PyObject * obj2 = 0 ;
3765 char *kwnames[] = {
3766 (char *) "self",(char *) "text",(char *) "show", NULL
3767 };
3768
3769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3772 {
3773 arg2 = wxString_in_helper(obj1);
3774 if (arg2 == NULL) SWIG_fail;
3775 temp2 = True;
3776 }
3777 arg3 = (bool) SWIG_AsBool(obj2);
3778 if (PyErr_Occurred()) SWIG_fail;
3779 {
3780 PyThreadState* __tstate = wxPyBeginAllowThreads();
3781 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3782
3783 wxPyEndAllowThreads(__tstate);
3784 if (PyErr_Occurred()) SWIG_fail;
3785 }
3786 Py_INCREF(Py_None); resultobj = Py_None;
3787 {
3788 if (temp2)
3789 delete arg2;
3790 }
3791 return resultobj;
3792 fail:
3793 {
3794 if (temp2)
3795 delete arg2;
3796 }
3797 return NULL;
3798 }
3799
3800
3801 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3802 PyObject *resultobj;
3803 wxFrame *arg1 = (wxFrame *) 0 ;
3804 wxMenu *arg2 = (wxMenu *) NULL ;
3805 PyObject * obj0 = 0 ;
3806 PyObject * obj1 = 0 ;
3807 char *kwnames[] = {
3808 (char *) "self",(char *) "menu", NULL
3809 };
3810
3811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3814 if (obj1) {
3815 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
3816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3817 }
3818 {
3819 PyThreadState* __tstate = wxPyBeginAllowThreads();
3820 (arg1)->DoMenuUpdates(arg2);
3821
3822 wxPyEndAllowThreads(__tstate);
3823 if (PyErr_Occurred()) SWIG_fail;
3824 }
3825 Py_INCREF(Py_None); resultobj = Py_None;
3826 return resultobj;
3827 fail:
3828 return NULL;
3829 }
3830
3831
3832 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3833 PyObject *obj;
3834 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3835 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3836 Py_INCREF(obj);
3837 return Py_BuildValue((char *)"");
3838 }
3839 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3840 PyObject *resultobj;
3841 wxWindow *arg1 = (wxWindow *) 0 ;
3842 int arg2 ;
3843 wxString *arg3 = 0 ;
3844 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3845 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3846 wxSize const &arg5_defvalue = wxDefaultSize ;
3847 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3848 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3849 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3850 wxString *arg7 = (wxString *) &arg7_defvalue ;
3851 wxDialog *result;
3852 bool temp3 = False ;
3853 wxPoint temp4 ;
3854 wxSize temp5 ;
3855 bool temp7 = False ;
3856 PyObject * obj0 = 0 ;
3857 PyObject * obj1 = 0 ;
3858 PyObject * obj2 = 0 ;
3859 PyObject * obj3 = 0 ;
3860 PyObject * obj4 = 0 ;
3861 PyObject * obj5 = 0 ;
3862 PyObject * obj6 = 0 ;
3863 char *kwnames[] = {
3864 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3865 };
3866
3867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3870 arg2 = (int const) SWIG_AsInt(obj1);
3871 if (PyErr_Occurred()) SWIG_fail;
3872 {
3873 arg3 = wxString_in_helper(obj2);
3874 if (arg3 == NULL) SWIG_fail;
3875 temp3 = True;
3876 }
3877 if (obj3) {
3878 {
3879 arg4 = &temp4;
3880 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3881 }
3882 }
3883 if (obj4) {
3884 {
3885 arg5 = &temp5;
3886 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3887 }
3888 }
3889 if (obj5) {
3890 arg6 = (long) SWIG_AsLong(obj5);
3891 if (PyErr_Occurred()) SWIG_fail;
3892 }
3893 if (obj6) {
3894 {
3895 arg7 = wxString_in_helper(obj6);
3896 if (arg7 == NULL) SWIG_fail;
3897 temp7 = True;
3898 }
3899 }
3900 {
3901 PyThreadState* __tstate = wxPyBeginAllowThreads();
3902 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3903
3904 wxPyEndAllowThreads(__tstate);
3905 if (PyErr_Occurred()) SWIG_fail;
3906 }
3907 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
3908 {
3909 if (temp3)
3910 delete arg3;
3911 }
3912 {
3913 if (temp7)
3914 delete arg7;
3915 }
3916 return resultobj;
3917 fail:
3918 {
3919 if (temp3)
3920 delete arg3;
3921 }
3922 {
3923 if (temp7)
3924 delete arg7;
3925 }
3926 return NULL;
3927 }
3928
3929
3930 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3931 PyObject *resultobj;
3932 wxDialog *result;
3933 char *kwnames[] = {
3934 NULL
3935 };
3936
3937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
3938 {
3939 PyThreadState* __tstate = wxPyBeginAllowThreads();
3940 result = (wxDialog *)new wxDialog();
3941
3942 wxPyEndAllowThreads(__tstate);
3943 if (PyErr_Occurred()) SWIG_fail;
3944 }
3945 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
3946 return resultobj;
3947 fail:
3948 return NULL;
3949 }
3950
3951
3952 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3953 PyObject *resultobj;
3954 wxDialog *arg1 = (wxDialog *) 0 ;
3955 wxWindow *arg2 = (wxWindow *) 0 ;
3956 int arg3 ;
3957 wxString *arg4 = 0 ;
3958 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3959 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3960 wxSize const &arg6_defvalue = wxDefaultSize ;
3961 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3962 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
3963 wxString const &arg8_defvalue = wxPyDialogNameStr ;
3964 wxString *arg8 = (wxString *) &arg8_defvalue ;
3965 bool result;
3966 bool temp4 = False ;
3967 wxPoint temp5 ;
3968 wxSize temp6 ;
3969 bool temp8 = False ;
3970 PyObject * obj0 = 0 ;
3971 PyObject * obj1 = 0 ;
3972 PyObject * obj2 = 0 ;
3973 PyObject * obj3 = 0 ;
3974 PyObject * obj4 = 0 ;
3975 PyObject * obj5 = 0 ;
3976 PyObject * obj6 = 0 ;
3977 PyObject * obj7 = 0 ;
3978 char *kwnames[] = {
3979 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3980 };
3981
3982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
3984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3985 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3987 arg3 = (int const) SWIG_AsInt(obj2);
3988 if (PyErr_Occurred()) SWIG_fail;
3989 {
3990 arg4 = wxString_in_helper(obj3);
3991 if (arg4 == NULL) SWIG_fail;
3992 temp4 = True;
3993 }
3994 if (obj4) {
3995 {
3996 arg5 = &temp5;
3997 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3998 }
3999 }
4000 if (obj5) {
4001 {
4002 arg6 = &temp6;
4003 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4004 }
4005 }
4006 if (obj6) {
4007 arg7 = (long) SWIG_AsLong(obj6);
4008 if (PyErr_Occurred()) SWIG_fail;
4009 }
4010 if (obj7) {
4011 {
4012 arg8 = wxString_in_helper(obj7);
4013 if (arg8 == NULL) SWIG_fail;
4014 temp8 = True;
4015 }
4016 }
4017 {
4018 PyThreadState* __tstate = wxPyBeginAllowThreads();
4019 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4020
4021 wxPyEndAllowThreads(__tstate);
4022 if (PyErr_Occurred()) SWIG_fail;
4023 }
4024 {
4025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4026 }
4027 {
4028 if (temp4)
4029 delete arg4;
4030 }
4031 {
4032 if (temp8)
4033 delete arg8;
4034 }
4035 return resultobj;
4036 fail:
4037 {
4038 if (temp4)
4039 delete arg4;
4040 }
4041 {
4042 if (temp8)
4043 delete arg8;
4044 }
4045 return NULL;
4046 }
4047
4048
4049 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4050 PyObject *resultobj;
4051 wxDialog *arg1 = (wxDialog *) 0 ;
4052 int arg2 ;
4053 PyObject * obj0 = 0 ;
4054 PyObject * obj1 = 0 ;
4055 char *kwnames[] = {
4056 (char *) "self",(char *) "returnCode", NULL
4057 };
4058
4059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4062 arg2 = (int) SWIG_AsInt(obj1);
4063 if (PyErr_Occurred()) SWIG_fail;
4064 {
4065 PyThreadState* __tstate = wxPyBeginAllowThreads();
4066 (arg1)->SetReturnCode(arg2);
4067
4068 wxPyEndAllowThreads(__tstate);
4069 if (PyErr_Occurred()) SWIG_fail;
4070 }
4071 Py_INCREF(Py_None); resultobj = Py_None;
4072 return resultobj;
4073 fail:
4074 return NULL;
4075 }
4076
4077
4078 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4079 PyObject *resultobj;
4080 wxDialog *arg1 = (wxDialog *) 0 ;
4081 int result;
4082 PyObject * obj0 = 0 ;
4083 char *kwnames[] = {
4084 (char *) "self", NULL
4085 };
4086
4087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4090 {
4091 PyThreadState* __tstate = wxPyBeginAllowThreads();
4092 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4093
4094 wxPyEndAllowThreads(__tstate);
4095 if (PyErr_Occurred()) SWIG_fail;
4096 }
4097 resultobj = SWIG_FromInt((int)result);
4098 return resultobj;
4099 fail:
4100 return NULL;
4101 }
4102
4103
4104 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4105 PyObject *resultobj;
4106 wxDialog *arg1 = (wxDialog *) 0 ;
4107 wxString *arg2 = 0 ;
4108 wxSizer *result;
4109 bool temp2 = False ;
4110 PyObject * obj0 = 0 ;
4111 PyObject * obj1 = 0 ;
4112 char *kwnames[] = {
4113 (char *) "self",(char *) "message", NULL
4114 };
4115
4116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4119 {
4120 arg2 = wxString_in_helper(obj1);
4121 if (arg2 == NULL) SWIG_fail;
4122 temp2 = True;
4123 }
4124 {
4125 PyThreadState* __tstate = wxPyBeginAllowThreads();
4126 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4127
4128 wxPyEndAllowThreads(__tstate);
4129 if (PyErr_Occurred()) SWIG_fail;
4130 }
4131 {
4132 resultobj = wxPyMake_wxSizer(result);
4133 }
4134 {
4135 if (temp2)
4136 delete arg2;
4137 }
4138 return resultobj;
4139 fail:
4140 {
4141 if (temp2)
4142 delete arg2;
4143 }
4144 return NULL;
4145 }
4146
4147
4148 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4149 PyObject *resultobj;
4150 wxDialog *arg1 = (wxDialog *) 0 ;
4151 long arg2 ;
4152 wxSizer *result;
4153 PyObject * obj0 = 0 ;
4154 PyObject * obj1 = 0 ;
4155 char *kwnames[] = {
4156 (char *) "self",(char *) "flags", NULL
4157 };
4158
4159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4162 arg2 = (long) SWIG_AsLong(obj1);
4163 if (PyErr_Occurred()) SWIG_fail;
4164 {
4165 PyThreadState* __tstate = wxPyBeginAllowThreads();
4166 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4167
4168 wxPyEndAllowThreads(__tstate);
4169 if (PyErr_Occurred()) SWIG_fail;
4170 }
4171 {
4172 resultobj = wxPyMake_wxSizer(result);
4173 }
4174 return resultobj;
4175 fail:
4176 return NULL;
4177 }
4178
4179
4180 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4181 PyObject *resultobj;
4182 wxDialog *arg1 = (wxDialog *) 0 ;
4183 bool result;
4184 PyObject * obj0 = 0 ;
4185 char *kwnames[] = {
4186 (char *) "self", NULL
4187 };
4188
4189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4192 {
4193 PyThreadState* __tstate = wxPyBeginAllowThreads();
4194 result = (bool)((wxDialog const *)arg1)->IsModal();
4195
4196 wxPyEndAllowThreads(__tstate);
4197 if (PyErr_Occurred()) SWIG_fail;
4198 }
4199 {
4200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4201 }
4202 return resultobj;
4203 fail:
4204 return NULL;
4205 }
4206
4207
4208 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4209 PyObject *resultobj;
4210 wxDialog *arg1 = (wxDialog *) 0 ;
4211 int result;
4212 PyObject * obj0 = 0 ;
4213 char *kwnames[] = {
4214 (char *) "self", NULL
4215 };
4216
4217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4220 {
4221 PyThreadState* __tstate = wxPyBeginAllowThreads();
4222 result = (int)(arg1)->ShowModal();
4223
4224 wxPyEndAllowThreads(__tstate);
4225 if (PyErr_Occurred()) SWIG_fail;
4226 }
4227 resultobj = SWIG_FromInt((int)result);
4228 return resultobj;
4229 fail:
4230 return NULL;
4231 }
4232
4233
4234 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4235 PyObject *resultobj;
4236 wxDialog *arg1 = (wxDialog *) 0 ;
4237 int arg2 ;
4238 PyObject * obj0 = 0 ;
4239 PyObject * obj1 = 0 ;
4240 char *kwnames[] = {
4241 (char *) "self",(char *) "retCode", NULL
4242 };
4243
4244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4247 arg2 = (int) SWIG_AsInt(obj1);
4248 if (PyErr_Occurred()) SWIG_fail;
4249 {
4250 PyThreadState* __tstate = wxPyBeginAllowThreads();
4251 (arg1)->EndModal(arg2);
4252
4253 wxPyEndAllowThreads(__tstate);
4254 if (PyErr_Occurred()) SWIG_fail;
4255 }
4256 Py_INCREF(Py_None); resultobj = Py_None;
4257 return resultobj;
4258 fail:
4259 return NULL;
4260 }
4261
4262
4263 static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) {
4264 PyObject *resultobj;
4265 wxDialog *arg1 = (wxDialog *) 0 ;
4266 bool result;
4267 PyObject * obj0 = 0 ;
4268 char *kwnames[] = {
4269 (char *) "self", NULL
4270 };
4271
4272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
4273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4275 {
4276 PyThreadState* __tstate = wxPyBeginAllowThreads();
4277 result = (bool)wxDialog_IsModalShowing(arg1);
4278
4279 wxPyEndAllowThreads(__tstate);
4280 if (PyErr_Occurred()) SWIG_fail;
4281 }
4282 {
4283 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4284 }
4285 return resultobj;
4286 fail:
4287 return NULL;
4288 }
4289
4290
4291 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
4292 PyObject *obj;
4293 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4294 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4295 Py_INCREF(obj);
4296 return Py_BuildValue((char *)"");
4297 }
4298 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4299 PyObject *resultobj;
4300 wxWindow *arg1 = (wxWindow *) 0 ;
4301 int arg2 ;
4302 wxString *arg3 = 0 ;
4303 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4304 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4305 wxSize const &arg5_defvalue = wxDefaultSize ;
4306 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4307 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4308 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4309 wxString *arg7 = (wxString *) &arg7_defvalue ;
4310 wxMiniFrame *result;
4311 bool temp3 = False ;
4312 wxPoint temp4 ;
4313 wxSize temp5 ;
4314 bool temp7 = False ;
4315 PyObject * obj0 = 0 ;
4316 PyObject * obj1 = 0 ;
4317 PyObject * obj2 = 0 ;
4318 PyObject * obj3 = 0 ;
4319 PyObject * obj4 = 0 ;
4320 PyObject * obj5 = 0 ;
4321 PyObject * obj6 = 0 ;
4322 char *kwnames[] = {
4323 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4324 };
4325
4326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4329 arg2 = (int const) SWIG_AsInt(obj1);
4330 if (PyErr_Occurred()) SWIG_fail;
4331 {
4332 arg3 = wxString_in_helper(obj2);
4333 if (arg3 == NULL) SWIG_fail;
4334 temp3 = True;
4335 }
4336 if (obj3) {
4337 {
4338 arg4 = &temp4;
4339 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4340 }
4341 }
4342 if (obj4) {
4343 {
4344 arg5 = &temp5;
4345 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4346 }
4347 }
4348 if (obj5) {
4349 arg6 = (long) SWIG_AsLong(obj5);
4350 if (PyErr_Occurred()) SWIG_fail;
4351 }
4352 if (obj6) {
4353 {
4354 arg7 = wxString_in_helper(obj6);
4355 if (arg7 == NULL) SWIG_fail;
4356 temp7 = True;
4357 }
4358 }
4359 {
4360 PyThreadState* __tstate = wxPyBeginAllowThreads();
4361 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4362
4363 wxPyEndAllowThreads(__tstate);
4364 if (PyErr_Occurred()) SWIG_fail;
4365 }
4366 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4367 {
4368 if (temp3)
4369 delete arg3;
4370 }
4371 {
4372 if (temp7)
4373 delete arg7;
4374 }
4375 return resultobj;
4376 fail:
4377 {
4378 if (temp3)
4379 delete arg3;
4380 }
4381 {
4382 if (temp7)
4383 delete arg7;
4384 }
4385 return NULL;
4386 }
4387
4388
4389 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4390 PyObject *resultobj;
4391 wxMiniFrame *result;
4392 char *kwnames[] = {
4393 NULL
4394 };
4395
4396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4397 {
4398 PyThreadState* __tstate = wxPyBeginAllowThreads();
4399 result = (wxMiniFrame *)new wxMiniFrame();
4400
4401 wxPyEndAllowThreads(__tstate);
4402 if (PyErr_Occurred()) SWIG_fail;
4403 }
4404 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4405 return resultobj;
4406 fail:
4407 return NULL;
4408 }
4409
4410
4411 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4412 PyObject *resultobj;
4413 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4414 wxWindow *arg2 = (wxWindow *) 0 ;
4415 int arg3 ;
4416 wxString *arg4 = 0 ;
4417 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4418 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4419 wxSize const &arg6_defvalue = wxDefaultSize ;
4420 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4421 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4422 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4423 wxString *arg8 = (wxString *) &arg8_defvalue ;
4424 bool result;
4425 bool temp4 = False ;
4426 wxPoint temp5 ;
4427 wxSize temp6 ;
4428 bool temp8 = False ;
4429 PyObject * obj0 = 0 ;
4430 PyObject * obj1 = 0 ;
4431 PyObject * obj2 = 0 ;
4432 PyObject * obj3 = 0 ;
4433 PyObject * obj4 = 0 ;
4434 PyObject * obj5 = 0 ;
4435 PyObject * obj6 = 0 ;
4436 PyObject * obj7 = 0 ;
4437 char *kwnames[] = {
4438 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4439 };
4440
4441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4444 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4446 arg3 = (int const) SWIG_AsInt(obj2);
4447 if (PyErr_Occurred()) SWIG_fail;
4448 {
4449 arg4 = wxString_in_helper(obj3);
4450 if (arg4 == NULL) SWIG_fail;
4451 temp4 = True;
4452 }
4453 if (obj4) {
4454 {
4455 arg5 = &temp5;
4456 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4457 }
4458 }
4459 if (obj5) {
4460 {
4461 arg6 = &temp6;
4462 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4463 }
4464 }
4465 if (obj6) {
4466 arg7 = (long) SWIG_AsLong(obj6);
4467 if (PyErr_Occurred()) SWIG_fail;
4468 }
4469 if (obj7) {
4470 {
4471 arg8 = wxString_in_helper(obj7);
4472 if (arg8 == NULL) SWIG_fail;
4473 temp8 = True;
4474 }
4475 }
4476 {
4477 PyThreadState* __tstate = wxPyBeginAllowThreads();
4478 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4479
4480 wxPyEndAllowThreads(__tstate);
4481 if (PyErr_Occurred()) SWIG_fail;
4482 }
4483 {
4484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4485 }
4486 {
4487 if (temp4)
4488 delete arg4;
4489 }
4490 {
4491 if (temp8)
4492 delete arg8;
4493 }
4494 return resultobj;
4495 fail:
4496 {
4497 if (temp4)
4498 delete arg4;
4499 }
4500 {
4501 if (temp8)
4502 delete arg8;
4503 }
4504 return NULL;
4505 }
4506
4507
4508 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4509 PyObject *obj;
4510 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4511 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4512 Py_INCREF(obj);
4513 return Py_BuildValue((char *)"");
4514 }
4515 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4516 PyObject *resultobj;
4517 wxBitmap *arg1 = 0 ;
4518 wxWindow *arg2 = (wxWindow *) 0 ;
4519 int arg3 ;
4520 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4521 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4522 wxSize const &arg5_defvalue = wxDefaultSize ;
4523 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4524 long arg6 = (long) wxNO_BORDER ;
4525 wxSplashScreenWindow *result;
4526 wxPoint temp4 ;
4527 wxSize temp5 ;
4528 PyObject * obj0 = 0 ;
4529 PyObject * obj1 = 0 ;
4530 PyObject * obj2 = 0 ;
4531 PyObject * obj3 = 0 ;
4532 PyObject * obj4 = 0 ;
4533 PyObject * obj5 = 0 ;
4534 char *kwnames[] = {
4535 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4536 };
4537
4538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4540 SWIG_POINTER_EXCEPTION | 0)) == -1)
4541 SWIG_fail;
4542 if (arg1 == NULL) {
4543 PyErr_SetString(PyExc_TypeError,"null reference");
4544 SWIG_fail;
4545 }
4546 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4548 arg3 = (int) SWIG_AsInt(obj2);
4549 if (PyErr_Occurred()) SWIG_fail;
4550 if (obj3) {
4551 {
4552 arg4 = &temp4;
4553 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4554 }
4555 }
4556 if (obj4) {
4557 {
4558 arg5 = &temp5;
4559 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4560 }
4561 }
4562 if (obj5) {
4563 arg6 = (long) SWIG_AsLong(obj5);
4564 if (PyErr_Occurred()) SWIG_fail;
4565 }
4566 {
4567 PyThreadState* __tstate = wxPyBeginAllowThreads();
4568 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4569
4570 wxPyEndAllowThreads(__tstate);
4571 if (PyErr_Occurred()) SWIG_fail;
4572 }
4573 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
4574 return resultobj;
4575 fail:
4576 return NULL;
4577 }
4578
4579
4580 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4581 PyObject *resultobj;
4582 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4583 wxBitmap *arg2 = 0 ;
4584 PyObject * obj0 = 0 ;
4585 PyObject * obj1 = 0 ;
4586 char *kwnames[] = {
4587 (char *) "self",(char *) "bitmap", NULL
4588 };
4589
4590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4593 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4594 SWIG_POINTER_EXCEPTION | 0)) == -1)
4595 SWIG_fail;
4596 if (arg2 == NULL) {
4597 PyErr_SetString(PyExc_TypeError,"null reference");
4598 SWIG_fail;
4599 }
4600 {
4601 PyThreadState* __tstate = wxPyBeginAllowThreads();
4602 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4603
4604 wxPyEndAllowThreads(__tstate);
4605 if (PyErr_Occurred()) SWIG_fail;
4606 }
4607 Py_INCREF(Py_None); resultobj = Py_None;
4608 return resultobj;
4609 fail:
4610 return NULL;
4611 }
4612
4613
4614 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4615 PyObject *resultobj;
4616 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4617 wxBitmap *result;
4618 PyObject * obj0 = 0 ;
4619 char *kwnames[] = {
4620 (char *) "self", NULL
4621 };
4622
4623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4626 {
4627 PyThreadState* __tstate = wxPyBeginAllowThreads();
4628 {
4629 wxBitmap &_result_ref = (arg1)->GetBitmap();
4630 result = (wxBitmap *) &_result_ref;
4631 }
4632
4633 wxPyEndAllowThreads(__tstate);
4634 if (PyErr_Occurred()) SWIG_fail;
4635 }
4636 {
4637 wxBitmap* resultptr = new wxBitmap(*result);
4638 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
4639 }
4640 return resultobj;
4641 fail:
4642 return NULL;
4643 }
4644
4645
4646 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4647 PyObject *obj;
4648 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4649 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4650 Py_INCREF(obj);
4651 return Py_BuildValue((char *)"");
4652 }
4653 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4654 PyObject *resultobj;
4655 wxBitmap *arg1 = 0 ;
4656 long arg2 ;
4657 int arg3 ;
4658 wxWindow *arg4 = (wxWindow *) 0 ;
4659 int arg5 ;
4660 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4661 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4662 wxSize const &arg7_defvalue = wxDefaultSize ;
4663 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4664 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4665 wxSplashScreen *result;
4666 wxPoint temp6 ;
4667 wxSize temp7 ;
4668 PyObject * obj0 = 0 ;
4669 PyObject * obj1 = 0 ;
4670 PyObject * obj2 = 0 ;
4671 PyObject * obj3 = 0 ;
4672 PyObject * obj4 = 0 ;
4673 PyObject * obj5 = 0 ;
4674 PyObject * obj6 = 0 ;
4675 PyObject * obj7 = 0 ;
4676 char *kwnames[] = {
4677 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4678 };
4679
4680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4682 SWIG_POINTER_EXCEPTION | 0)) == -1)
4683 SWIG_fail;
4684 if (arg1 == NULL) {
4685 PyErr_SetString(PyExc_TypeError,"null reference");
4686 SWIG_fail;
4687 }
4688 arg2 = (long) SWIG_AsLong(obj1);
4689 if (PyErr_Occurred()) SWIG_fail;
4690 arg3 = (int) SWIG_AsInt(obj2);
4691 if (PyErr_Occurred()) SWIG_fail;
4692 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
4693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4694 arg5 = (int) SWIG_AsInt(obj4);
4695 if (PyErr_Occurred()) SWIG_fail;
4696 if (obj5) {
4697 {
4698 arg6 = &temp6;
4699 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4700 }
4701 }
4702 if (obj6) {
4703 {
4704 arg7 = &temp7;
4705 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4706 }
4707 }
4708 if (obj7) {
4709 arg8 = (long) SWIG_AsLong(obj7);
4710 if (PyErr_Occurred()) SWIG_fail;
4711 }
4712 {
4713 PyThreadState* __tstate = wxPyBeginAllowThreads();
4714 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4715
4716 wxPyEndAllowThreads(__tstate);
4717 if (PyErr_Occurred()) SWIG_fail;
4718 }
4719 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
4720 return resultobj;
4721 fail:
4722 return NULL;
4723 }
4724
4725
4726 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4727 PyObject *resultobj;
4728 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4729 long result;
4730 PyObject * obj0 = 0 ;
4731 char *kwnames[] = {
4732 (char *) "self", NULL
4733 };
4734
4735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4738 {
4739 PyThreadState* __tstate = wxPyBeginAllowThreads();
4740 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4741
4742 wxPyEndAllowThreads(__tstate);
4743 if (PyErr_Occurred()) SWIG_fail;
4744 }
4745 resultobj = SWIG_FromLong((long)result);
4746 return resultobj;
4747 fail:
4748 return NULL;
4749 }
4750
4751
4752 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4753 PyObject *resultobj;
4754 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4755 wxSplashScreenWindow *result;
4756 PyObject * obj0 = 0 ;
4757 char *kwnames[] = {
4758 (char *) "self", NULL
4759 };
4760
4761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4764 {
4765 PyThreadState* __tstate = wxPyBeginAllowThreads();
4766 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4767
4768 wxPyEndAllowThreads(__tstate);
4769 if (PyErr_Occurred()) SWIG_fail;
4770 }
4771 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
4772 return resultobj;
4773 fail:
4774 return NULL;
4775 }
4776
4777
4778 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4779 PyObject *resultobj;
4780 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4781 int result;
4782 PyObject * obj0 = 0 ;
4783 char *kwnames[] = {
4784 (char *) "self", NULL
4785 };
4786
4787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4790 {
4791 PyThreadState* __tstate = wxPyBeginAllowThreads();
4792 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4793
4794 wxPyEndAllowThreads(__tstate);
4795 if (PyErr_Occurred()) SWIG_fail;
4796 }
4797 resultobj = SWIG_FromInt((int)result);
4798 return resultobj;
4799 fail:
4800 return NULL;
4801 }
4802
4803
4804 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4805 PyObject *obj;
4806 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4807 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4808 Py_INCREF(obj);
4809 return Py_BuildValue((char *)"");
4810 }
4811 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4812 PyObject *resultobj;
4813 wxWindow *arg1 = (wxWindow *) 0 ;
4814 int arg2 = (int) -1 ;
4815 long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ;
4816 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4817 wxString *arg4 = (wxString *) &arg4_defvalue ;
4818 wxStatusBar *result;
4819 bool temp4 = False ;
4820 PyObject * obj0 = 0 ;
4821 PyObject * obj1 = 0 ;
4822 PyObject * obj2 = 0 ;
4823 PyObject * obj3 = 0 ;
4824 char *kwnames[] = {
4825 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4826 };
4827
4828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4831 if (obj1) {
4832 arg2 = (int) SWIG_AsInt(obj1);
4833 if (PyErr_Occurred()) SWIG_fail;
4834 }
4835 if (obj2) {
4836 arg3 = (long) SWIG_AsLong(obj2);
4837 if (PyErr_Occurred()) SWIG_fail;
4838 }
4839 if (obj3) {
4840 {
4841 arg4 = wxString_in_helper(obj3);
4842 if (arg4 == NULL) SWIG_fail;
4843 temp4 = True;
4844 }
4845 }
4846 {
4847 PyThreadState* __tstate = wxPyBeginAllowThreads();
4848 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4849
4850 wxPyEndAllowThreads(__tstate);
4851 if (PyErr_Occurred()) SWIG_fail;
4852 }
4853 {
4854 resultobj = wxPyMake_wxObject(result);
4855 }
4856 {
4857 if (temp4)
4858 delete arg4;
4859 }
4860 return resultobj;
4861 fail:
4862 {
4863 if (temp4)
4864 delete arg4;
4865 }
4866 return NULL;
4867 }
4868
4869
4870 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4871 PyObject *resultobj;
4872 wxStatusBar *result;
4873 char *kwnames[] = {
4874 NULL
4875 };
4876
4877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4878 {
4879 PyThreadState* __tstate = wxPyBeginAllowThreads();
4880 result = (wxStatusBar *)new wxStatusBar();
4881
4882 wxPyEndAllowThreads(__tstate);
4883 if (PyErr_Occurred()) SWIG_fail;
4884 }
4885 {
4886 resultobj = wxPyMake_wxObject(result);
4887 }
4888 return resultobj;
4889 fail:
4890 return NULL;
4891 }
4892
4893
4894 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4895 PyObject *resultobj;
4896 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4897 wxWindow *arg2 = (wxWindow *) 0 ;
4898 int arg3 ;
4899 long arg4 = (long) wxST_SIZEGRIP ;
4900 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4901 wxString *arg5 = (wxString *) &arg5_defvalue ;
4902 bool result;
4903 bool temp5 = False ;
4904 PyObject * obj0 = 0 ;
4905 PyObject * obj1 = 0 ;
4906 PyObject * obj2 = 0 ;
4907 PyObject * obj3 = 0 ;
4908 PyObject * obj4 = 0 ;
4909 char *kwnames[] = {
4910 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4911 };
4912
4913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4916 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4918 arg3 = (int) SWIG_AsInt(obj2);
4919 if (PyErr_Occurred()) SWIG_fail;
4920 if (obj3) {
4921 arg4 = (long) SWIG_AsLong(obj3);
4922 if (PyErr_Occurred()) SWIG_fail;
4923 }
4924 if (obj4) {
4925 {
4926 arg5 = wxString_in_helper(obj4);
4927 if (arg5 == NULL) SWIG_fail;
4928 temp5 = True;
4929 }
4930 }
4931 {
4932 PyThreadState* __tstate = wxPyBeginAllowThreads();
4933 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4934
4935 wxPyEndAllowThreads(__tstate);
4936 if (PyErr_Occurred()) SWIG_fail;
4937 }
4938 {
4939 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4940 }
4941 {
4942 if (temp5)
4943 delete arg5;
4944 }
4945 return resultobj;
4946 fail:
4947 {
4948 if (temp5)
4949 delete arg5;
4950 }
4951 return NULL;
4952 }
4953
4954
4955 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4956 PyObject *resultobj;
4957 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4958 int arg2 = (int) 1 ;
4959 PyObject * obj0 = 0 ;
4960 PyObject * obj1 = 0 ;
4961 char *kwnames[] = {
4962 (char *) "self",(char *) "number", NULL
4963 };
4964
4965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
4966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4968 if (obj1) {
4969 arg2 = (int) SWIG_AsInt(obj1);
4970 if (PyErr_Occurred()) SWIG_fail;
4971 }
4972 {
4973 PyThreadState* __tstate = wxPyBeginAllowThreads();
4974 (arg1)->SetFieldsCount(arg2);
4975
4976 wxPyEndAllowThreads(__tstate);
4977 if (PyErr_Occurred()) SWIG_fail;
4978 }
4979 Py_INCREF(Py_None); resultobj = Py_None;
4980 return resultobj;
4981 fail:
4982 return NULL;
4983 }
4984
4985
4986 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4987 PyObject *resultobj;
4988 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4989 int result;
4990 PyObject * obj0 = 0 ;
4991 char *kwnames[] = {
4992 (char *) "self", NULL
4993 };
4994
4995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
4996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4998 {
4999 PyThreadState* __tstate = wxPyBeginAllowThreads();
5000 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5001
5002 wxPyEndAllowThreads(__tstate);
5003 if (PyErr_Occurred()) SWIG_fail;
5004 }
5005 resultobj = SWIG_FromInt((int)result);
5006 return resultobj;
5007 fail:
5008 return NULL;
5009 }
5010
5011
5012 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5013 PyObject *resultobj;
5014 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5015 wxString *arg2 = 0 ;
5016 int arg3 = (int) 0 ;
5017 bool temp2 = False ;
5018 PyObject * obj0 = 0 ;
5019 PyObject * obj1 = 0 ;
5020 PyObject * obj2 = 0 ;
5021 char *kwnames[] = {
5022 (char *) "self",(char *) "text",(char *) "number", NULL
5023 };
5024
5025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5028 {
5029 arg2 = wxString_in_helper(obj1);
5030 if (arg2 == NULL) SWIG_fail;
5031 temp2 = True;
5032 }
5033 if (obj2) {
5034 arg3 = (int) SWIG_AsInt(obj2);
5035 if (PyErr_Occurred()) SWIG_fail;
5036 }
5037 {
5038 PyThreadState* __tstate = wxPyBeginAllowThreads();
5039 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5040
5041 wxPyEndAllowThreads(__tstate);
5042 if (PyErr_Occurred()) SWIG_fail;
5043 }
5044 Py_INCREF(Py_None); resultobj = Py_None;
5045 {
5046 if (temp2)
5047 delete arg2;
5048 }
5049 return resultobj;
5050 fail:
5051 {
5052 if (temp2)
5053 delete arg2;
5054 }
5055 return NULL;
5056 }
5057
5058
5059 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5060 PyObject *resultobj;
5061 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5062 int arg2 = (int) 0 ;
5063 wxString result;
5064 PyObject * obj0 = 0 ;
5065 PyObject * obj1 = 0 ;
5066 char *kwnames[] = {
5067 (char *) "self",(char *) "number", NULL
5068 };
5069
5070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5073 if (obj1) {
5074 arg2 = (int) SWIG_AsInt(obj1);
5075 if (PyErr_Occurred()) SWIG_fail;
5076 }
5077 {
5078 PyThreadState* __tstate = wxPyBeginAllowThreads();
5079 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5080
5081 wxPyEndAllowThreads(__tstate);
5082 if (PyErr_Occurred()) SWIG_fail;
5083 }
5084 {
5085 #if wxUSE_UNICODE
5086 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5087 #else
5088 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5089 #endif
5090 }
5091 return resultobj;
5092 fail:
5093 return NULL;
5094 }
5095
5096
5097 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5098 PyObject *resultobj;
5099 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5100 wxString *arg2 = 0 ;
5101 int arg3 = (int) 0 ;
5102 bool temp2 = False ;
5103 PyObject * obj0 = 0 ;
5104 PyObject * obj1 = 0 ;
5105 PyObject * obj2 = 0 ;
5106 char *kwnames[] = {
5107 (char *) "self",(char *) "text",(char *) "number", NULL
5108 };
5109
5110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5113 {
5114 arg2 = wxString_in_helper(obj1);
5115 if (arg2 == NULL) SWIG_fail;
5116 temp2 = True;
5117 }
5118 if (obj2) {
5119 arg3 = (int) SWIG_AsInt(obj2);
5120 if (PyErr_Occurred()) SWIG_fail;
5121 }
5122 {
5123 PyThreadState* __tstate = wxPyBeginAllowThreads();
5124 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5125
5126 wxPyEndAllowThreads(__tstate);
5127 if (PyErr_Occurred()) SWIG_fail;
5128 }
5129 Py_INCREF(Py_None); resultobj = Py_None;
5130 {
5131 if (temp2)
5132 delete arg2;
5133 }
5134 return resultobj;
5135 fail:
5136 {
5137 if (temp2)
5138 delete arg2;
5139 }
5140 return NULL;
5141 }
5142
5143
5144 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5145 PyObject *resultobj;
5146 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5147 int arg2 = (int) 0 ;
5148 PyObject * obj0 = 0 ;
5149 PyObject * obj1 = 0 ;
5150 char *kwnames[] = {
5151 (char *) "self",(char *) "number", NULL
5152 };
5153
5154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5157 if (obj1) {
5158 arg2 = (int) SWIG_AsInt(obj1);
5159 if (PyErr_Occurred()) SWIG_fail;
5160 }
5161 {
5162 PyThreadState* __tstate = wxPyBeginAllowThreads();
5163 (arg1)->PopStatusText(arg2);
5164
5165 wxPyEndAllowThreads(__tstate);
5166 if (PyErr_Occurred()) SWIG_fail;
5167 }
5168 Py_INCREF(Py_None); resultobj = Py_None;
5169 return resultobj;
5170 fail:
5171 return NULL;
5172 }
5173
5174
5175 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
5176 PyObject *resultobj;
5177 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5178 int arg2 ;
5179 int *arg3 = (int *) 0 ;
5180 PyObject * obj0 = 0 ;
5181 PyObject * obj1 = 0 ;
5182 char *kwnames[] = {
5183 (char *) "self",(char *) "widths", NULL
5184 };
5185
5186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5189 {
5190 arg2 = PyList_Size(obj1);
5191 arg3 = int_LIST_helper(obj1);
5192 if (arg3 == NULL) SWIG_fail;
5193 }
5194 {
5195 PyThreadState* __tstate = wxPyBeginAllowThreads();
5196 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5197
5198 wxPyEndAllowThreads(__tstate);
5199 if (PyErr_Occurred()) SWIG_fail;
5200 }
5201 Py_INCREF(Py_None); resultobj = Py_None;
5202 {
5203 if (arg3) delete [] arg3;
5204 }
5205 return resultobj;
5206 fail:
5207 {
5208 if (arg3) delete [] arg3;
5209 }
5210 return NULL;
5211 }
5212
5213
5214 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5215 PyObject *resultobj;
5216 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5217 int arg2 ;
5218 wxRect result;
5219 PyObject * obj0 = 0 ;
5220 PyObject * obj1 = 0 ;
5221 char *kwnames[] = {
5222 (char *) "self",(char *) "i", NULL
5223 };
5224
5225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5228 arg2 = (int) SWIG_AsInt(obj1);
5229 if (PyErr_Occurred()) SWIG_fail;
5230 {
5231 PyThreadState* __tstate = wxPyBeginAllowThreads();
5232 result = wxStatusBar_GetFieldRect(arg1,arg2);
5233
5234 wxPyEndAllowThreads(__tstate);
5235 if (PyErr_Occurred()) SWIG_fail;
5236 }
5237 {
5238 wxRect * resultptr;
5239 resultptr = new wxRect((wxRect &) result);
5240 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5241 }
5242 return resultobj;
5243 fail:
5244 return NULL;
5245 }
5246
5247
5248 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5249 PyObject *resultobj;
5250 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5251 int arg2 ;
5252 PyObject * obj0 = 0 ;
5253 PyObject * obj1 = 0 ;
5254 char *kwnames[] = {
5255 (char *) "self",(char *) "height", NULL
5256 };
5257
5258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5261 arg2 = (int) SWIG_AsInt(obj1);
5262 if (PyErr_Occurred()) SWIG_fail;
5263 {
5264 PyThreadState* __tstate = wxPyBeginAllowThreads();
5265 (arg1)->SetMinHeight(arg2);
5266
5267 wxPyEndAllowThreads(__tstate);
5268 if (PyErr_Occurred()) SWIG_fail;
5269 }
5270 Py_INCREF(Py_None); resultobj = Py_None;
5271 return resultobj;
5272 fail:
5273 return NULL;
5274 }
5275
5276
5277 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
5278 PyObject *resultobj;
5279 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5280 int result;
5281 PyObject * obj0 = 0 ;
5282 char *kwnames[] = {
5283 (char *) "self", NULL
5284 };
5285
5286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5289 {
5290 PyThreadState* __tstate = wxPyBeginAllowThreads();
5291 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5292
5293 wxPyEndAllowThreads(__tstate);
5294 if (PyErr_Occurred()) SWIG_fail;
5295 }
5296 resultobj = SWIG_FromInt((int)result);
5297 return resultobj;
5298 fail:
5299 return NULL;
5300 }
5301
5302
5303 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
5304 PyObject *resultobj;
5305 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5306 int result;
5307 PyObject * obj0 = 0 ;
5308 char *kwnames[] = {
5309 (char *) "self", NULL
5310 };
5311
5312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5315 {
5316 PyThreadState* __tstate = wxPyBeginAllowThreads();
5317 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5318
5319 wxPyEndAllowThreads(__tstate);
5320 if (PyErr_Occurred()) SWIG_fail;
5321 }
5322 resultobj = SWIG_FromInt((int)result);
5323 return resultobj;
5324 fail:
5325 return NULL;
5326 }
5327
5328
5329 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
5330 PyObject *obj;
5331 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5332 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5333 Py_INCREF(obj);
5334 return Py_BuildValue((char *)"");
5335 }
5336 static int _wrap_SplitterNameStr_set(PyObject *_val) {
5337 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5338 return 1;
5339 }
5340
5341
5342 static PyObject *_wrap_SplitterNameStr_get() {
5343 PyObject *pyobj;
5344
5345 {
5346 #if wxUSE_UNICODE
5347 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5348 #else
5349 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5350 #endif
5351 }
5352 return pyobj;
5353 }
5354
5355
5356 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5357 PyObject *resultobj;
5358 wxWindow *arg1 = (wxWindow *) 0 ;
5359 int arg2 ;
5360 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5361 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5362 wxSize const &arg4_defvalue = wxDefaultSize ;
5363 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5364 long arg5 = (long) wxSP_3D ;
5365 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5366 wxString *arg6 = (wxString *) &arg6_defvalue ;
5367 wxSplitterWindow *result;
5368 wxPoint temp3 ;
5369 wxSize temp4 ;
5370 bool temp6 = False ;
5371 PyObject * obj0 = 0 ;
5372 PyObject * obj1 = 0 ;
5373 PyObject * obj2 = 0 ;
5374 PyObject * obj3 = 0 ;
5375 PyObject * obj4 = 0 ;
5376 PyObject * obj5 = 0 ;
5377 char *kwnames[] = {
5378 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5379 };
5380
5381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5384 arg2 = (int) SWIG_AsInt(obj1);
5385 if (PyErr_Occurred()) SWIG_fail;
5386 if (obj2) {
5387 {
5388 arg3 = &temp3;
5389 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5390 }
5391 }
5392 if (obj3) {
5393 {
5394 arg4 = &temp4;
5395 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5396 }
5397 }
5398 if (obj4) {
5399 arg5 = (long) SWIG_AsLong(obj4);
5400 if (PyErr_Occurred()) SWIG_fail;
5401 }
5402 if (obj5) {
5403 {
5404 arg6 = wxString_in_helper(obj5);
5405 if (arg6 == NULL) SWIG_fail;
5406 temp6 = True;
5407 }
5408 }
5409 {
5410 PyThreadState* __tstate = wxPyBeginAllowThreads();
5411 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5412
5413 wxPyEndAllowThreads(__tstate);
5414 if (PyErr_Occurred()) SWIG_fail;
5415 }
5416 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5417 {
5418 if (temp6)
5419 delete arg6;
5420 }
5421 return resultobj;
5422 fail:
5423 {
5424 if (temp6)
5425 delete arg6;
5426 }
5427 return NULL;
5428 }
5429
5430
5431 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5432 PyObject *resultobj;
5433 wxSplitterWindow *result;
5434 char *kwnames[] = {
5435 NULL
5436 };
5437
5438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5439 {
5440 PyThreadState* __tstate = wxPyBeginAllowThreads();
5441 result = (wxSplitterWindow *)new wxSplitterWindow();
5442
5443 wxPyEndAllowThreads(__tstate);
5444 if (PyErr_Occurred()) SWIG_fail;
5445 }
5446 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5447 return resultobj;
5448 fail:
5449 return NULL;
5450 }
5451
5452
5453 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5454 PyObject *resultobj;
5455 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5456 wxWindow *arg2 = (wxWindow *) 0 ;
5457 int arg3 ;
5458 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5459 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5460 wxSize const &arg5_defvalue = wxDefaultSize ;
5461 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5462 long arg6 = (long) wxSP_3D ;
5463 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5464 wxString *arg7 = (wxString *) &arg7_defvalue ;
5465 bool result;
5466 wxPoint temp4 ;
5467 wxSize temp5 ;
5468 bool temp7 = False ;
5469 PyObject * obj0 = 0 ;
5470 PyObject * obj1 = 0 ;
5471 PyObject * obj2 = 0 ;
5472 PyObject * obj3 = 0 ;
5473 PyObject * obj4 = 0 ;
5474 PyObject * obj5 = 0 ;
5475 PyObject * obj6 = 0 ;
5476 char *kwnames[] = {
5477 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5478 };
5479
5480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5483 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5485 arg3 = (int) SWIG_AsInt(obj2);
5486 if (PyErr_Occurred()) SWIG_fail;
5487 if (obj3) {
5488 {
5489 arg4 = &temp4;
5490 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5491 }
5492 }
5493 if (obj4) {
5494 {
5495 arg5 = &temp5;
5496 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5497 }
5498 }
5499 if (obj5) {
5500 arg6 = (long) SWIG_AsLong(obj5);
5501 if (PyErr_Occurred()) SWIG_fail;
5502 }
5503 if (obj6) {
5504 {
5505 arg7 = wxString_in_helper(obj6);
5506 if (arg7 == NULL) SWIG_fail;
5507 temp7 = True;
5508 }
5509 }
5510 {
5511 PyThreadState* __tstate = wxPyBeginAllowThreads();
5512 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5513
5514 wxPyEndAllowThreads(__tstate);
5515 if (PyErr_Occurred()) SWIG_fail;
5516 }
5517 {
5518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5519 }
5520 {
5521 if (temp7)
5522 delete arg7;
5523 }
5524 return resultobj;
5525 fail:
5526 {
5527 if (temp7)
5528 delete arg7;
5529 }
5530 return NULL;
5531 }
5532
5533
5534 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5535 PyObject *resultobj;
5536 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5537 wxWindow *result;
5538 PyObject * obj0 = 0 ;
5539 char *kwnames[] = {
5540 (char *) "self", NULL
5541 };
5542
5543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5546 {
5547 PyThreadState* __tstate = wxPyBeginAllowThreads();
5548 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5549
5550 wxPyEndAllowThreads(__tstate);
5551 if (PyErr_Occurred()) SWIG_fail;
5552 }
5553 {
5554 resultobj = wxPyMake_wxObject(result);
5555 }
5556 return resultobj;
5557 fail:
5558 return NULL;
5559 }
5560
5561
5562 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5563 PyObject *resultobj;
5564 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5565 wxWindow *result;
5566 PyObject * obj0 = 0 ;
5567 char *kwnames[] = {
5568 (char *) "self", NULL
5569 };
5570
5571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5574 {
5575 PyThreadState* __tstate = wxPyBeginAllowThreads();
5576 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5577
5578 wxPyEndAllowThreads(__tstate);
5579 if (PyErr_Occurred()) SWIG_fail;
5580 }
5581 {
5582 resultobj = wxPyMake_wxObject(result);
5583 }
5584 return resultobj;
5585 fail:
5586 return NULL;
5587 }
5588
5589
5590 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5591 PyObject *resultobj;
5592 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5593 int arg2 ;
5594 PyObject * obj0 = 0 ;
5595 PyObject * obj1 = 0 ;
5596 char *kwnames[] = {
5597 (char *) "self",(char *) "mode", NULL
5598 };
5599
5600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
5601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5603 arg2 = (int) SWIG_AsInt(obj1);
5604 if (PyErr_Occurred()) SWIG_fail;
5605 {
5606 PyThreadState* __tstate = wxPyBeginAllowThreads();
5607 (arg1)->SetSplitMode(arg2);
5608
5609 wxPyEndAllowThreads(__tstate);
5610 if (PyErr_Occurred()) SWIG_fail;
5611 }
5612 Py_INCREF(Py_None); resultobj = Py_None;
5613 return resultobj;
5614 fail:
5615 return NULL;
5616 }
5617
5618
5619 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5620 PyObject *resultobj;
5621 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5622 int result;
5623 PyObject * obj0 = 0 ;
5624 char *kwnames[] = {
5625 (char *) "self", NULL
5626 };
5627
5628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5631 {
5632 PyThreadState* __tstate = wxPyBeginAllowThreads();
5633 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5634
5635 wxPyEndAllowThreads(__tstate);
5636 if (PyErr_Occurred()) SWIG_fail;
5637 }
5638 resultobj = SWIG_FromInt((int)result);
5639 return resultobj;
5640 fail:
5641 return NULL;
5642 }
5643
5644
5645 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5646 PyObject *resultobj;
5647 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5648 wxWindow *arg2 = (wxWindow *) 0 ;
5649 PyObject * obj0 = 0 ;
5650 PyObject * obj1 = 0 ;
5651 char *kwnames[] = {
5652 (char *) "self",(char *) "window", NULL
5653 };
5654
5655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5658 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5660 {
5661 PyThreadState* __tstate = wxPyBeginAllowThreads();
5662 (arg1)->Initialize(arg2);
5663
5664 wxPyEndAllowThreads(__tstate);
5665 if (PyErr_Occurred()) SWIG_fail;
5666 }
5667 Py_INCREF(Py_None); resultobj = Py_None;
5668 return resultobj;
5669 fail:
5670 return NULL;
5671 }
5672
5673
5674 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
5675 PyObject *resultobj;
5676 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5677 wxWindow *arg2 = (wxWindow *) 0 ;
5678 wxWindow *arg3 = (wxWindow *) 0 ;
5679 int arg4 = (int) 0 ;
5680 bool result;
5681 PyObject * obj0 = 0 ;
5682 PyObject * obj1 = 0 ;
5683 PyObject * obj2 = 0 ;
5684 PyObject * obj3 = 0 ;
5685 char *kwnames[] = {
5686 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5687 };
5688
5689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5692 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5694 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5696 if (obj3) {
5697 arg4 = (int) SWIG_AsInt(obj3);
5698 if (PyErr_Occurred()) SWIG_fail;
5699 }
5700 {
5701 PyThreadState* __tstate = wxPyBeginAllowThreads();
5702 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5703
5704 wxPyEndAllowThreads(__tstate);
5705 if (PyErr_Occurred()) SWIG_fail;
5706 }
5707 {
5708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5709 }
5710 return resultobj;
5711 fail:
5712 return NULL;
5713 }
5714
5715
5716 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5717 PyObject *resultobj;
5718 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5719 wxWindow *arg2 = (wxWindow *) 0 ;
5720 wxWindow *arg3 = (wxWindow *) 0 ;
5721 int arg4 = (int) 0 ;
5722 bool result;
5723 PyObject * obj0 = 0 ;
5724 PyObject * obj1 = 0 ;
5725 PyObject * obj2 = 0 ;
5726 PyObject * obj3 = 0 ;
5727 char *kwnames[] = {
5728 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5729 };
5730
5731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5734 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5736 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5738 if (obj3) {
5739 arg4 = (int) SWIG_AsInt(obj3);
5740 if (PyErr_Occurred()) SWIG_fail;
5741 }
5742 {
5743 PyThreadState* __tstate = wxPyBeginAllowThreads();
5744 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5745
5746 wxPyEndAllowThreads(__tstate);
5747 if (PyErr_Occurred()) SWIG_fail;
5748 }
5749 {
5750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5751 }
5752 return resultobj;
5753 fail:
5754 return NULL;
5755 }
5756
5757
5758 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5759 PyObject *resultobj;
5760 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5761 wxWindow *arg2 = (wxWindow *) NULL ;
5762 bool result;
5763 PyObject * obj0 = 0 ;
5764 PyObject * obj1 = 0 ;
5765 char *kwnames[] = {
5766 (char *) "self",(char *) "toRemove", NULL
5767 };
5768
5769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5772 if (obj1) {
5773 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5775 }
5776 {
5777 PyThreadState* __tstate = wxPyBeginAllowThreads();
5778 result = (bool)(arg1)->Unsplit(arg2);
5779
5780 wxPyEndAllowThreads(__tstate);
5781 if (PyErr_Occurred()) SWIG_fail;
5782 }
5783 {
5784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5785 }
5786 return resultobj;
5787 fail:
5788 return NULL;
5789 }
5790
5791
5792 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5793 PyObject *resultobj;
5794 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5795 wxWindow *arg2 = (wxWindow *) 0 ;
5796 wxWindow *arg3 = (wxWindow *) 0 ;
5797 bool result;
5798 PyObject * obj0 = 0 ;
5799 PyObject * obj1 = 0 ;
5800 PyObject * obj2 = 0 ;
5801 char *kwnames[] = {
5802 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5803 };
5804
5805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5808 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5810 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5812 {
5813 PyThreadState* __tstate = wxPyBeginAllowThreads();
5814 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5815
5816 wxPyEndAllowThreads(__tstate);
5817 if (PyErr_Occurred()) SWIG_fail;
5818 }
5819 {
5820 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5821 }
5822 return resultobj;
5823 fail:
5824 return NULL;
5825 }
5826
5827
5828 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5829 PyObject *resultobj;
5830 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5831 PyObject * obj0 = 0 ;
5832 char *kwnames[] = {
5833 (char *) "self", NULL
5834 };
5835
5836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
5837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5839 {
5840 PyThreadState* __tstate = wxPyBeginAllowThreads();
5841 (arg1)->UpdateSize();
5842
5843 wxPyEndAllowThreads(__tstate);
5844 if (PyErr_Occurred()) SWIG_fail;
5845 }
5846 Py_INCREF(Py_None); resultobj = Py_None;
5847 return resultobj;
5848 fail:
5849 return NULL;
5850 }
5851
5852
5853 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5854 PyObject *resultobj;
5855 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5856 bool result;
5857 PyObject * obj0 = 0 ;
5858 char *kwnames[] = {
5859 (char *) "self", NULL
5860 };
5861
5862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5865 {
5866 PyThreadState* __tstate = wxPyBeginAllowThreads();
5867 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5868
5869 wxPyEndAllowThreads(__tstate);
5870 if (PyErr_Occurred()) SWIG_fail;
5871 }
5872 {
5873 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5874 }
5875 return resultobj;
5876 fail:
5877 return NULL;
5878 }
5879
5880
5881 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5882 PyObject *resultobj;
5883 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5884 int arg2 ;
5885 PyObject * obj0 = 0 ;
5886 PyObject * obj1 = 0 ;
5887 char *kwnames[] = {
5888 (char *) "self",(char *) "width", NULL
5889 };
5890
5891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
5892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5894 arg2 = (int) SWIG_AsInt(obj1);
5895 if (PyErr_Occurred()) SWIG_fail;
5896 {
5897 PyThreadState* __tstate = wxPyBeginAllowThreads();
5898 (arg1)->SetSashSize(arg2);
5899
5900 wxPyEndAllowThreads(__tstate);
5901 if (PyErr_Occurred()) SWIG_fail;
5902 }
5903 Py_INCREF(Py_None); resultobj = Py_None;
5904 return resultobj;
5905 fail:
5906 return NULL;
5907 }
5908
5909
5910 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5911 PyObject *resultobj;
5912 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5913 int arg2 ;
5914 PyObject * obj0 = 0 ;
5915 PyObject * obj1 = 0 ;
5916 char *kwnames[] = {
5917 (char *) "self",(char *) "width", NULL
5918 };
5919
5920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
5921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5923 arg2 = (int) SWIG_AsInt(obj1);
5924 if (PyErr_Occurred()) SWIG_fail;
5925 {
5926 PyThreadState* __tstate = wxPyBeginAllowThreads();
5927 (arg1)->SetBorderSize(arg2);
5928
5929 wxPyEndAllowThreads(__tstate);
5930 if (PyErr_Occurred()) SWIG_fail;
5931 }
5932 Py_INCREF(Py_None); resultobj = Py_None;
5933 return resultobj;
5934 fail:
5935 return NULL;
5936 }
5937
5938
5939 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5940 PyObject *resultobj;
5941 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5942 int result;
5943 PyObject * obj0 = 0 ;
5944 char *kwnames[] = {
5945 (char *) "self", NULL
5946 };
5947
5948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
5949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5951 {
5952 PyThreadState* __tstate = wxPyBeginAllowThreads();
5953 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
5954
5955 wxPyEndAllowThreads(__tstate);
5956 if (PyErr_Occurred()) SWIG_fail;
5957 }
5958 resultobj = SWIG_FromInt((int)result);
5959 return resultobj;
5960 fail:
5961 return NULL;
5962 }
5963
5964
5965 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5966 PyObject *resultobj;
5967 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5968 int result;
5969 PyObject * obj0 = 0 ;
5970 char *kwnames[] = {
5971 (char *) "self", NULL
5972 };
5973
5974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
5975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5977 {
5978 PyThreadState* __tstate = wxPyBeginAllowThreads();
5979 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
5980
5981 wxPyEndAllowThreads(__tstate);
5982 if (PyErr_Occurred()) SWIG_fail;
5983 }
5984 resultobj = SWIG_FromInt((int)result);
5985 return resultobj;
5986 fail:
5987 return NULL;
5988 }
5989
5990
5991 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5992 PyObject *resultobj;
5993 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5994 int arg2 ;
5995 bool arg3 = (bool) True ;
5996 PyObject * obj0 = 0 ;
5997 PyObject * obj1 = 0 ;
5998 PyObject * obj2 = 0 ;
5999 char *kwnames[] = {
6000 (char *) "self",(char *) "position",(char *) "redraw", NULL
6001 };
6002
6003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
6004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6006 arg2 = (int) SWIG_AsInt(obj1);
6007 if (PyErr_Occurred()) SWIG_fail;
6008 if (obj2) {
6009 arg3 = (bool) SWIG_AsBool(obj2);
6010 if (PyErr_Occurred()) SWIG_fail;
6011 }
6012 {
6013 PyThreadState* __tstate = wxPyBeginAllowThreads();
6014 (arg1)->SetSashPosition(arg2,arg3);
6015
6016 wxPyEndAllowThreads(__tstate);
6017 if (PyErr_Occurred()) SWIG_fail;
6018 }
6019 Py_INCREF(Py_None); resultobj = Py_None;
6020 return resultobj;
6021 fail:
6022 return NULL;
6023 }
6024
6025
6026 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6027 PyObject *resultobj;
6028 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6029 int result;
6030 PyObject * obj0 = 0 ;
6031 char *kwnames[] = {
6032 (char *) "self", NULL
6033 };
6034
6035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
6036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6038 {
6039 PyThreadState* __tstate = wxPyBeginAllowThreads();
6040 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6041
6042 wxPyEndAllowThreads(__tstate);
6043 if (PyErr_Occurred()) SWIG_fail;
6044 }
6045 resultobj = SWIG_FromInt((int)result);
6046 return resultobj;
6047 fail:
6048 return NULL;
6049 }
6050
6051
6052 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6053 PyObject *resultobj;
6054 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6055 int arg2 ;
6056 PyObject * obj0 = 0 ;
6057 PyObject * obj1 = 0 ;
6058 char *kwnames[] = {
6059 (char *) "self",(char *) "min", NULL
6060 };
6061
6062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6065 arg2 = (int) SWIG_AsInt(obj1);
6066 if (PyErr_Occurred()) SWIG_fail;
6067 {
6068 PyThreadState* __tstate = wxPyBeginAllowThreads();
6069 (arg1)->SetMinimumPaneSize(arg2);
6070
6071 wxPyEndAllowThreads(__tstate);
6072 if (PyErr_Occurred()) SWIG_fail;
6073 }
6074 Py_INCREF(Py_None); resultobj = Py_None;
6075 return resultobj;
6076 fail:
6077 return NULL;
6078 }
6079
6080
6081 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6082 PyObject *resultobj;
6083 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6084 int result;
6085 PyObject * obj0 = 0 ;
6086 char *kwnames[] = {
6087 (char *) "self", NULL
6088 };
6089
6090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6093 {
6094 PyThreadState* __tstate = wxPyBeginAllowThreads();
6095 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6096
6097 wxPyEndAllowThreads(__tstate);
6098 if (PyErr_Occurred()) SWIG_fail;
6099 }
6100 resultobj = SWIG_FromInt((int)result);
6101 return resultobj;
6102 fail:
6103 return NULL;
6104 }
6105
6106
6107 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6108 PyObject *resultobj;
6109 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6110 int arg2 ;
6111 int arg3 ;
6112 int arg4 = (int) 5 ;
6113 bool result;
6114 PyObject * obj0 = 0 ;
6115 PyObject * obj1 = 0 ;
6116 PyObject * obj2 = 0 ;
6117 PyObject * obj3 = 0 ;
6118 char *kwnames[] = {
6119 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6120 };
6121
6122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6125 arg2 = (int) SWIG_AsInt(obj1);
6126 if (PyErr_Occurred()) SWIG_fail;
6127 arg3 = (int) SWIG_AsInt(obj2);
6128 if (PyErr_Occurred()) SWIG_fail;
6129 if (obj3) {
6130 arg4 = (int) SWIG_AsInt(obj3);
6131 if (PyErr_Occurred()) SWIG_fail;
6132 }
6133 {
6134 PyThreadState* __tstate = wxPyBeginAllowThreads();
6135 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6136
6137 wxPyEndAllowThreads(__tstate);
6138 if (PyErr_Occurred()) SWIG_fail;
6139 }
6140 {
6141 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6142 }
6143 return resultobj;
6144 fail:
6145 return NULL;
6146 }
6147
6148
6149 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6150 PyObject *resultobj;
6151 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6152 PyObject * obj0 = 0 ;
6153 char *kwnames[] = {
6154 (char *) "self", NULL
6155 };
6156
6157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6160 {
6161 PyThreadState* __tstate = wxPyBeginAllowThreads();
6162 (arg1)->SizeWindows();
6163
6164 wxPyEndAllowThreads(__tstate);
6165 if (PyErr_Occurred()) SWIG_fail;
6166 }
6167 Py_INCREF(Py_None); resultobj = Py_None;
6168 return resultobj;
6169 fail:
6170 return NULL;
6171 }
6172
6173
6174 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6175 PyObject *resultobj;
6176 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6177 bool arg2 ;
6178 PyObject * obj0 = 0 ;
6179 PyObject * obj1 = 0 ;
6180 char *kwnames[] = {
6181 (char *) "self",(char *) "needUpdating", NULL
6182 };
6183
6184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6187 arg2 = (bool) SWIG_AsBool(obj1);
6188 if (PyErr_Occurred()) SWIG_fail;
6189 {
6190 PyThreadState* __tstate = wxPyBeginAllowThreads();
6191 (arg1)->SetNeedUpdating(arg2);
6192
6193 wxPyEndAllowThreads(__tstate);
6194 if (PyErr_Occurred()) SWIG_fail;
6195 }
6196 Py_INCREF(Py_None); resultobj = Py_None;
6197 return resultobj;
6198 fail:
6199 return NULL;
6200 }
6201
6202
6203 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6204 PyObject *resultobj;
6205 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6206 bool result;
6207 PyObject * obj0 = 0 ;
6208 char *kwnames[] = {
6209 (char *) "self", NULL
6210 };
6211
6212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6215 {
6216 PyThreadState* __tstate = wxPyBeginAllowThreads();
6217 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6218
6219 wxPyEndAllowThreads(__tstate);
6220 if (PyErr_Occurred()) SWIG_fail;
6221 }
6222 {
6223 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6224 }
6225 return resultobj;
6226 fail:
6227 return NULL;
6228 }
6229
6230
6231 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
6232 PyObject *obj;
6233 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6234 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6235 Py_INCREF(obj);
6236 return Py_BuildValue((char *)"");
6237 }
6238 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6239 PyObject *resultobj;
6240 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6241 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6242 wxSplitterEvent *result;
6243 PyObject * obj0 = 0 ;
6244 PyObject * obj1 = 0 ;
6245 char *kwnames[] = {
6246 (char *) "type",(char *) "splitter", NULL
6247 };
6248
6249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6250 if (obj0) {
6251 arg1 = (wxEventType) SWIG_AsInt(obj0);
6252 if (PyErr_Occurred()) SWIG_fail;
6253 }
6254 if (obj1) {
6255 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6257 }
6258 {
6259 PyThreadState* __tstate = wxPyBeginAllowThreads();
6260 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6261
6262 wxPyEndAllowThreads(__tstate);
6263 if (PyErr_Occurred()) SWIG_fail;
6264 }
6265 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6266 return resultobj;
6267 fail:
6268 return NULL;
6269 }
6270
6271
6272 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6273 PyObject *resultobj;
6274 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6275 int arg2 ;
6276 PyObject * obj0 = 0 ;
6277 PyObject * obj1 = 0 ;
6278 char *kwnames[] = {
6279 (char *) "self",(char *) "pos", NULL
6280 };
6281
6282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6285 arg2 = (int) SWIG_AsInt(obj1);
6286 if (PyErr_Occurred()) SWIG_fail;
6287 {
6288 PyThreadState* __tstate = wxPyBeginAllowThreads();
6289 (arg1)->SetSashPosition(arg2);
6290
6291 wxPyEndAllowThreads(__tstate);
6292 if (PyErr_Occurred()) SWIG_fail;
6293 }
6294 Py_INCREF(Py_None); resultobj = Py_None;
6295 return resultobj;
6296 fail:
6297 return NULL;
6298 }
6299
6300
6301 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6302 PyObject *resultobj;
6303 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6304 int result;
6305 PyObject * obj0 = 0 ;
6306 char *kwnames[] = {
6307 (char *) "self", NULL
6308 };
6309
6310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6313 {
6314 PyThreadState* __tstate = wxPyBeginAllowThreads();
6315 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6316
6317 wxPyEndAllowThreads(__tstate);
6318 if (PyErr_Occurred()) SWIG_fail;
6319 }
6320 resultobj = SWIG_FromInt((int)result);
6321 return resultobj;
6322 fail:
6323 return NULL;
6324 }
6325
6326
6327 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
6328 PyObject *resultobj;
6329 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6330 wxWindow *result;
6331 PyObject * obj0 = 0 ;
6332 char *kwnames[] = {
6333 (char *) "self", NULL
6334 };
6335
6336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6339 {
6340 PyThreadState* __tstate = wxPyBeginAllowThreads();
6341 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6342
6343 wxPyEndAllowThreads(__tstate);
6344 if (PyErr_Occurred()) SWIG_fail;
6345 }
6346 {
6347 resultobj = wxPyMake_wxObject(result);
6348 }
6349 return resultobj;
6350 fail:
6351 return NULL;
6352 }
6353
6354
6355 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
6356 PyObject *resultobj;
6357 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6358 int result;
6359 PyObject * obj0 = 0 ;
6360 char *kwnames[] = {
6361 (char *) "self", NULL
6362 };
6363
6364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6367 {
6368 PyThreadState* __tstate = wxPyBeginAllowThreads();
6369 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6370
6371 wxPyEndAllowThreads(__tstate);
6372 if (PyErr_Occurred()) SWIG_fail;
6373 }
6374 resultobj = SWIG_FromInt((int)result);
6375 return resultobj;
6376 fail:
6377 return NULL;
6378 }
6379
6380
6381 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
6382 PyObject *resultobj;
6383 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6384 int result;
6385 PyObject * obj0 = 0 ;
6386 char *kwnames[] = {
6387 (char *) "self", NULL
6388 };
6389
6390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6393 {
6394 PyThreadState* __tstate = wxPyBeginAllowThreads();
6395 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6396
6397 wxPyEndAllowThreads(__tstate);
6398 if (PyErr_Occurred()) SWIG_fail;
6399 }
6400 resultobj = SWIG_FromInt((int)result);
6401 return resultobj;
6402 fail:
6403 return NULL;
6404 }
6405
6406
6407 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
6408 PyObject *obj;
6409 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6410 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6411 Py_INCREF(obj);
6412 return Py_BuildValue((char *)"");
6413 }
6414 static int _wrap_SashNameStr_set(PyObject *_val) {
6415 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6416 return 1;
6417 }
6418
6419
6420 static PyObject *_wrap_SashNameStr_get() {
6421 PyObject *pyobj;
6422
6423 {
6424 #if wxUSE_UNICODE
6425 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6426 #else
6427 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6428 #endif
6429 }
6430 return pyobj;
6431 }
6432
6433
6434 static int _wrap_SashLayoutNameStr_set(PyObject *_val) {
6435 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6436 return 1;
6437 }
6438
6439
6440 static PyObject *_wrap_SashLayoutNameStr_get() {
6441 PyObject *pyobj;
6442
6443 {
6444 #if wxUSE_UNICODE
6445 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6446 #else
6447 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6448 #endif
6449 }
6450 return pyobj;
6451 }
6452
6453
6454 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6455 PyObject *resultobj;
6456 wxWindow *arg1 = (wxWindow *) 0 ;
6457 int arg2 ;
6458 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6459 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6460 wxSize const &arg4_defvalue = wxDefaultSize ;
6461 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6462 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6463 wxString const &arg6_defvalue = wxPySashNameStr ;
6464 wxString *arg6 = (wxString *) &arg6_defvalue ;
6465 wxSashWindow *result;
6466 wxPoint temp3 ;
6467 wxSize temp4 ;
6468 bool temp6 = False ;
6469 PyObject * obj0 = 0 ;
6470 PyObject * obj1 = 0 ;
6471 PyObject * obj2 = 0 ;
6472 PyObject * obj3 = 0 ;
6473 PyObject * obj4 = 0 ;
6474 PyObject * obj5 = 0 ;
6475 char *kwnames[] = {
6476 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6477 };
6478
6479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6482 arg2 = (int) SWIG_AsInt(obj1);
6483 if (PyErr_Occurred()) SWIG_fail;
6484 if (obj2) {
6485 {
6486 arg3 = &temp3;
6487 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6488 }
6489 }
6490 if (obj3) {
6491 {
6492 arg4 = &temp4;
6493 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6494 }
6495 }
6496 if (obj4) {
6497 arg5 = (long) SWIG_AsLong(obj4);
6498 if (PyErr_Occurred()) SWIG_fail;
6499 }
6500 if (obj5) {
6501 {
6502 arg6 = wxString_in_helper(obj5);
6503 if (arg6 == NULL) SWIG_fail;
6504 temp6 = True;
6505 }
6506 }
6507 {
6508 PyThreadState* __tstate = wxPyBeginAllowThreads();
6509 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6510
6511 wxPyEndAllowThreads(__tstate);
6512 if (PyErr_Occurred()) SWIG_fail;
6513 }
6514 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6515 {
6516 if (temp6)
6517 delete arg6;
6518 }
6519 return resultobj;
6520 fail:
6521 {
6522 if (temp6)
6523 delete arg6;
6524 }
6525 return NULL;
6526 }
6527
6528
6529 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6530 PyObject *resultobj;
6531 wxSashWindow *result;
6532 char *kwnames[] = {
6533 NULL
6534 };
6535
6536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6537 {
6538 PyThreadState* __tstate = wxPyBeginAllowThreads();
6539 result = (wxSashWindow *)new wxSashWindow();
6540
6541 wxPyEndAllowThreads(__tstate);
6542 if (PyErr_Occurred()) SWIG_fail;
6543 }
6544 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6545 return resultobj;
6546 fail:
6547 return NULL;
6548 }
6549
6550
6551 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6552 PyObject *resultobj;
6553 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6554 wxWindow *arg2 = (wxWindow *) 0 ;
6555 int arg3 ;
6556 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6557 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6558 wxSize const &arg5_defvalue = wxDefaultSize ;
6559 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6560 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6561 wxString const &arg7_defvalue = wxPySashNameStr ;
6562 wxString *arg7 = (wxString *) &arg7_defvalue ;
6563 bool result;
6564 wxPoint temp4 ;
6565 wxSize temp5 ;
6566 bool temp7 = False ;
6567 PyObject * obj0 = 0 ;
6568 PyObject * obj1 = 0 ;
6569 PyObject * obj2 = 0 ;
6570 PyObject * obj3 = 0 ;
6571 PyObject * obj4 = 0 ;
6572 PyObject * obj5 = 0 ;
6573 PyObject * obj6 = 0 ;
6574 char *kwnames[] = {
6575 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6576 };
6577
6578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6581 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6583 arg3 = (int) SWIG_AsInt(obj2);
6584 if (PyErr_Occurred()) SWIG_fail;
6585 if (obj3) {
6586 {
6587 arg4 = &temp4;
6588 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6589 }
6590 }
6591 if (obj4) {
6592 {
6593 arg5 = &temp5;
6594 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6595 }
6596 }
6597 if (obj5) {
6598 arg6 = (long) SWIG_AsLong(obj5);
6599 if (PyErr_Occurred()) SWIG_fail;
6600 }
6601 if (obj6) {
6602 {
6603 arg7 = wxString_in_helper(obj6);
6604 if (arg7 == NULL) SWIG_fail;
6605 temp7 = True;
6606 }
6607 }
6608 {
6609 PyThreadState* __tstate = wxPyBeginAllowThreads();
6610 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6611
6612 wxPyEndAllowThreads(__tstate);
6613 if (PyErr_Occurred()) SWIG_fail;
6614 }
6615 {
6616 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6617 }
6618 {
6619 if (temp7)
6620 delete arg7;
6621 }
6622 return resultobj;
6623 fail:
6624 {
6625 if (temp7)
6626 delete arg7;
6627 }
6628 return NULL;
6629 }
6630
6631
6632 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6633 PyObject *resultobj;
6634 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6635 int arg2 ;
6636 bool arg3 ;
6637 PyObject * obj0 = 0 ;
6638 PyObject * obj1 = 0 ;
6639 PyObject * obj2 = 0 ;
6640 char *kwnames[] = {
6641 (char *) "self",(char *) "edge",(char *) "sash", NULL
6642 };
6643
6644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
6645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6647 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6648 if (PyErr_Occurred()) SWIG_fail;
6649 arg3 = (bool) SWIG_AsBool(obj2);
6650 if (PyErr_Occurred()) SWIG_fail;
6651 {
6652 PyThreadState* __tstate = wxPyBeginAllowThreads();
6653 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6654
6655 wxPyEndAllowThreads(__tstate);
6656 if (PyErr_Occurred()) SWIG_fail;
6657 }
6658 Py_INCREF(Py_None); resultobj = Py_None;
6659 return resultobj;
6660 fail:
6661 return NULL;
6662 }
6663
6664
6665 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6666 PyObject *resultobj;
6667 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6668 int arg2 ;
6669 bool result;
6670 PyObject * obj0 = 0 ;
6671 PyObject * obj1 = 0 ;
6672 char *kwnames[] = {
6673 (char *) "self",(char *) "edge", NULL
6674 };
6675
6676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
6677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6679 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6680 if (PyErr_Occurred()) SWIG_fail;
6681 {
6682 PyThreadState* __tstate = wxPyBeginAllowThreads();
6683 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
6684
6685 wxPyEndAllowThreads(__tstate);
6686 if (PyErr_Occurred()) SWIG_fail;
6687 }
6688 {
6689 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6690 }
6691 return resultobj;
6692 fail:
6693 return NULL;
6694 }
6695
6696
6697 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6698 PyObject *resultobj;
6699 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6700 int arg2 ;
6701 bool arg3 ;
6702 PyObject * obj0 = 0 ;
6703 PyObject * obj1 = 0 ;
6704 PyObject * obj2 = 0 ;
6705 char *kwnames[] = {
6706 (char *) "self",(char *) "edge",(char *) "border", NULL
6707 };
6708
6709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
6710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6712 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6713 if (PyErr_Occurred()) SWIG_fail;
6714 arg3 = (bool) SWIG_AsBool(obj2);
6715 if (PyErr_Occurred()) SWIG_fail;
6716 {
6717 PyThreadState* __tstate = wxPyBeginAllowThreads();
6718 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
6719
6720 wxPyEndAllowThreads(__tstate);
6721 if (PyErr_Occurred()) SWIG_fail;
6722 }
6723 Py_INCREF(Py_None); resultobj = Py_None;
6724 return resultobj;
6725 fail:
6726 return NULL;
6727 }
6728
6729
6730 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6731 PyObject *resultobj;
6732 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6733 int arg2 ;
6734 bool result;
6735 PyObject * obj0 = 0 ;
6736 PyObject * obj1 = 0 ;
6737 char *kwnames[] = {
6738 (char *) "self",(char *) "edge", NULL
6739 };
6740
6741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
6742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6744 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6745 if (PyErr_Occurred()) SWIG_fail;
6746 {
6747 PyThreadState* __tstate = wxPyBeginAllowThreads();
6748 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
6749
6750 wxPyEndAllowThreads(__tstate);
6751 if (PyErr_Occurred()) SWIG_fail;
6752 }
6753 {
6754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6755 }
6756 return resultobj;
6757 fail:
6758 return NULL;
6759 }
6760
6761
6762 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
6763 PyObject *resultobj;
6764 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6765 int arg2 ;
6766 int result;
6767 PyObject * obj0 = 0 ;
6768 PyObject * obj1 = 0 ;
6769 char *kwnames[] = {
6770 (char *) "self",(char *) "edge", NULL
6771 };
6772
6773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
6774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6776 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6777 if (PyErr_Occurred()) SWIG_fail;
6778 {
6779 PyThreadState* __tstate = wxPyBeginAllowThreads();
6780 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
6781
6782 wxPyEndAllowThreads(__tstate);
6783 if (PyErr_Occurred()) SWIG_fail;
6784 }
6785 resultobj = SWIG_FromInt((int)result);
6786 return resultobj;
6787 fail:
6788 return NULL;
6789 }
6790
6791
6792 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6793 PyObject *resultobj;
6794 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6795 int arg2 ;
6796 PyObject * obj0 = 0 ;
6797 PyObject * obj1 = 0 ;
6798 char *kwnames[] = {
6799 (char *) "self",(char *) "width", NULL
6800 };
6801
6802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
6803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6805 arg2 = (int) SWIG_AsInt(obj1);
6806 if (PyErr_Occurred()) SWIG_fail;
6807 {
6808 PyThreadState* __tstate = wxPyBeginAllowThreads();
6809 (arg1)->SetDefaultBorderSize(arg2);
6810
6811 wxPyEndAllowThreads(__tstate);
6812 if (PyErr_Occurred()) SWIG_fail;
6813 }
6814 Py_INCREF(Py_None); resultobj = Py_None;
6815 return resultobj;
6816 fail:
6817 return NULL;
6818 }
6819
6820
6821 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6822 PyObject *resultobj;
6823 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6824 int result;
6825 PyObject * obj0 = 0 ;
6826 char *kwnames[] = {
6827 (char *) "self", NULL
6828 };
6829
6830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
6831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6833 {
6834 PyThreadState* __tstate = wxPyBeginAllowThreads();
6835 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
6836
6837 wxPyEndAllowThreads(__tstate);
6838 if (PyErr_Occurred()) SWIG_fail;
6839 }
6840 resultobj = SWIG_FromInt((int)result);
6841 return resultobj;
6842 fail:
6843 return NULL;
6844 }
6845
6846
6847 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6848 PyObject *resultobj;
6849 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6850 int arg2 ;
6851 PyObject * obj0 = 0 ;
6852 PyObject * obj1 = 0 ;
6853 char *kwnames[] = {
6854 (char *) "self",(char *) "width", NULL
6855 };
6856
6857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
6858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6860 arg2 = (int) SWIG_AsInt(obj1);
6861 if (PyErr_Occurred()) SWIG_fail;
6862 {
6863 PyThreadState* __tstate = wxPyBeginAllowThreads();
6864 (arg1)->SetExtraBorderSize(arg2);
6865
6866 wxPyEndAllowThreads(__tstate);
6867 if (PyErr_Occurred()) SWIG_fail;
6868 }
6869 Py_INCREF(Py_None); resultobj = Py_None;
6870 return resultobj;
6871 fail:
6872 return NULL;
6873 }
6874
6875
6876 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6877 PyObject *resultobj;
6878 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6879 int result;
6880 PyObject * obj0 = 0 ;
6881 char *kwnames[] = {
6882 (char *) "self", NULL
6883 };
6884
6885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
6886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6888 {
6889 PyThreadState* __tstate = wxPyBeginAllowThreads();
6890 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
6891
6892 wxPyEndAllowThreads(__tstate);
6893 if (PyErr_Occurred()) SWIG_fail;
6894 }
6895 resultobj = SWIG_FromInt((int)result);
6896 return resultobj;
6897 fail:
6898 return NULL;
6899 }
6900
6901
6902 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6903 PyObject *resultobj;
6904 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6905 int arg2 ;
6906 PyObject * obj0 = 0 ;
6907 PyObject * obj1 = 0 ;
6908 char *kwnames[] = {
6909 (char *) "self",(char *) "min", NULL
6910 };
6911
6912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
6913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6915 arg2 = (int) SWIG_AsInt(obj1);
6916 if (PyErr_Occurred()) SWIG_fail;
6917 {
6918 PyThreadState* __tstate = wxPyBeginAllowThreads();
6919 (arg1)->SetMinimumSizeX(arg2);
6920
6921 wxPyEndAllowThreads(__tstate);
6922 if (PyErr_Occurred()) SWIG_fail;
6923 }
6924 Py_INCREF(Py_None); resultobj = Py_None;
6925 return resultobj;
6926 fail:
6927 return NULL;
6928 }
6929
6930
6931 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6932 PyObject *resultobj;
6933 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6934 int arg2 ;
6935 PyObject * obj0 = 0 ;
6936 PyObject * obj1 = 0 ;
6937 char *kwnames[] = {
6938 (char *) "self",(char *) "min", NULL
6939 };
6940
6941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
6942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6944 arg2 = (int) SWIG_AsInt(obj1);
6945 if (PyErr_Occurred()) SWIG_fail;
6946 {
6947 PyThreadState* __tstate = wxPyBeginAllowThreads();
6948 (arg1)->SetMinimumSizeY(arg2);
6949
6950 wxPyEndAllowThreads(__tstate);
6951 if (PyErr_Occurred()) SWIG_fail;
6952 }
6953 Py_INCREF(Py_None); resultobj = Py_None;
6954 return resultobj;
6955 fail:
6956 return NULL;
6957 }
6958
6959
6960 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6961 PyObject *resultobj;
6962 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6963 int result;
6964 PyObject * obj0 = 0 ;
6965 char *kwnames[] = {
6966 (char *) "self", NULL
6967 };
6968
6969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
6970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6972 {
6973 PyThreadState* __tstate = wxPyBeginAllowThreads();
6974 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
6975
6976 wxPyEndAllowThreads(__tstate);
6977 if (PyErr_Occurred()) SWIG_fail;
6978 }
6979 resultobj = SWIG_FromInt((int)result);
6980 return resultobj;
6981 fail:
6982 return NULL;
6983 }
6984
6985
6986 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6987 PyObject *resultobj;
6988 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6989 int result;
6990 PyObject * obj0 = 0 ;
6991 char *kwnames[] = {
6992 (char *) "self", NULL
6993 };
6994
6995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
6996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6998 {
6999 PyThreadState* __tstate = wxPyBeginAllowThreads();
7000 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
7001
7002 wxPyEndAllowThreads(__tstate);
7003 if (PyErr_Occurred()) SWIG_fail;
7004 }
7005 resultobj = SWIG_FromInt((int)result);
7006 return resultobj;
7007 fail:
7008 return NULL;
7009 }
7010
7011
7012 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7013 PyObject *resultobj;
7014 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7015 int arg2 ;
7016 PyObject * obj0 = 0 ;
7017 PyObject * obj1 = 0 ;
7018 char *kwnames[] = {
7019 (char *) "self",(char *) "max", NULL
7020 };
7021
7022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
7023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7025 arg2 = (int) SWIG_AsInt(obj1);
7026 if (PyErr_Occurred()) SWIG_fail;
7027 {
7028 PyThreadState* __tstate = wxPyBeginAllowThreads();
7029 (arg1)->SetMaximumSizeX(arg2);
7030
7031 wxPyEndAllowThreads(__tstate);
7032 if (PyErr_Occurred()) SWIG_fail;
7033 }
7034 Py_INCREF(Py_None); resultobj = Py_None;
7035 return resultobj;
7036 fail:
7037 return NULL;
7038 }
7039
7040
7041 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7042 PyObject *resultobj;
7043 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7044 int arg2 ;
7045 PyObject * obj0 = 0 ;
7046 PyObject * obj1 = 0 ;
7047 char *kwnames[] = {
7048 (char *) "self",(char *) "max", NULL
7049 };
7050
7051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7054 arg2 = (int) SWIG_AsInt(obj1);
7055 if (PyErr_Occurred()) SWIG_fail;
7056 {
7057 PyThreadState* __tstate = wxPyBeginAllowThreads();
7058 (arg1)->SetMaximumSizeY(arg2);
7059
7060 wxPyEndAllowThreads(__tstate);
7061 if (PyErr_Occurred()) SWIG_fail;
7062 }
7063 Py_INCREF(Py_None); resultobj = Py_None;
7064 return resultobj;
7065 fail:
7066 return NULL;
7067 }
7068
7069
7070 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7071 PyObject *resultobj;
7072 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7073 int result;
7074 PyObject * obj0 = 0 ;
7075 char *kwnames[] = {
7076 (char *) "self", NULL
7077 };
7078
7079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7082 {
7083 PyThreadState* __tstate = wxPyBeginAllowThreads();
7084 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7085
7086 wxPyEndAllowThreads(__tstate);
7087 if (PyErr_Occurred()) SWIG_fail;
7088 }
7089 resultobj = SWIG_FromInt((int)result);
7090 return resultobj;
7091 fail:
7092 return NULL;
7093 }
7094
7095
7096 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7097 PyObject *resultobj;
7098 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7099 int result;
7100 PyObject * obj0 = 0 ;
7101 char *kwnames[] = {
7102 (char *) "self", NULL
7103 };
7104
7105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7108 {
7109 PyThreadState* __tstate = wxPyBeginAllowThreads();
7110 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7111
7112 wxPyEndAllowThreads(__tstate);
7113 if (PyErr_Occurred()) SWIG_fail;
7114 }
7115 resultobj = SWIG_FromInt((int)result);
7116 return resultobj;
7117 fail:
7118 return NULL;
7119 }
7120
7121
7122 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
7123 PyObject *resultobj;
7124 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7125 int arg2 ;
7126 int arg3 ;
7127 int arg4 = (int) 2 ;
7128 int result;
7129 PyObject * obj0 = 0 ;
7130 PyObject * obj1 = 0 ;
7131 PyObject * obj2 = 0 ;
7132 PyObject * obj3 = 0 ;
7133 char *kwnames[] = {
7134 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7135 };
7136
7137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7140 arg2 = (int) SWIG_AsInt(obj1);
7141 if (PyErr_Occurred()) SWIG_fail;
7142 arg3 = (int) SWIG_AsInt(obj2);
7143 if (PyErr_Occurred()) SWIG_fail;
7144 if (obj3) {
7145 arg4 = (int) SWIG_AsInt(obj3);
7146 if (PyErr_Occurred()) SWIG_fail;
7147 }
7148 {
7149 PyThreadState* __tstate = wxPyBeginAllowThreads();
7150 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7151
7152 wxPyEndAllowThreads(__tstate);
7153 if (PyErr_Occurred()) SWIG_fail;
7154 }
7155 resultobj = SWIG_FromInt((int)result);
7156 return resultobj;
7157 fail:
7158 return NULL;
7159 }
7160
7161
7162 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
7163 PyObject *resultobj;
7164 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7165 PyObject * obj0 = 0 ;
7166 char *kwnames[] = {
7167 (char *) "self", NULL
7168 };
7169
7170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7173 {
7174 PyThreadState* __tstate = wxPyBeginAllowThreads();
7175 (arg1)->SizeWindows();
7176
7177 wxPyEndAllowThreads(__tstate);
7178 if (PyErr_Occurred()) SWIG_fail;
7179 }
7180 Py_INCREF(Py_None); resultobj = Py_None;
7181 return resultobj;
7182 fail:
7183 return NULL;
7184 }
7185
7186
7187 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
7188 PyObject *obj;
7189 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7190 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7191 Py_INCREF(obj);
7192 return Py_BuildValue((char *)"");
7193 }
7194 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7195 PyObject *resultobj;
7196 int arg1 = (int) 0 ;
7197 int arg2 = (int) wxSASH_NONE ;
7198 wxSashEvent *result;
7199 PyObject * obj0 = 0 ;
7200 PyObject * obj1 = 0 ;
7201 char *kwnames[] = {
7202 (char *) "id",(char *) "edge", NULL
7203 };
7204
7205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7206 if (obj0) {
7207 arg1 = (int) SWIG_AsInt(obj0);
7208 if (PyErr_Occurred()) SWIG_fail;
7209 }
7210 if (obj1) {
7211 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7212 if (PyErr_Occurred()) SWIG_fail;
7213 }
7214 {
7215 PyThreadState* __tstate = wxPyBeginAllowThreads();
7216 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7217
7218 wxPyEndAllowThreads(__tstate);
7219 if (PyErr_Occurred()) SWIG_fail;
7220 }
7221 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7222 return resultobj;
7223 fail:
7224 return NULL;
7225 }
7226
7227
7228 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7229 PyObject *resultobj;
7230 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7231 int arg2 ;
7232 PyObject * obj0 = 0 ;
7233 PyObject * obj1 = 0 ;
7234 char *kwnames[] = {
7235 (char *) "self",(char *) "edge", NULL
7236 };
7237
7238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7241 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7242 if (PyErr_Occurred()) SWIG_fail;
7243 {
7244 PyThreadState* __tstate = wxPyBeginAllowThreads();
7245 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7246
7247 wxPyEndAllowThreads(__tstate);
7248 if (PyErr_Occurred()) SWIG_fail;
7249 }
7250 Py_INCREF(Py_None); resultobj = Py_None;
7251 return resultobj;
7252 fail:
7253 return NULL;
7254 }
7255
7256
7257 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7258 PyObject *resultobj;
7259 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7260 int result;
7261 PyObject * obj0 = 0 ;
7262 char *kwnames[] = {
7263 (char *) "self", NULL
7264 };
7265
7266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7269 {
7270 PyThreadState* __tstate = wxPyBeginAllowThreads();
7271 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7272
7273 wxPyEndAllowThreads(__tstate);
7274 if (PyErr_Occurred()) SWIG_fail;
7275 }
7276 resultobj = SWIG_FromInt((int)result);
7277 return resultobj;
7278 fail:
7279 return NULL;
7280 }
7281
7282
7283 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7284 PyObject *resultobj;
7285 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7286 wxRect *arg2 = 0 ;
7287 wxRect temp2 ;
7288 PyObject * obj0 = 0 ;
7289 PyObject * obj1 = 0 ;
7290 char *kwnames[] = {
7291 (char *) "self",(char *) "rect", NULL
7292 };
7293
7294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7297 {
7298 arg2 = &temp2;
7299 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7300 }
7301 {
7302 PyThreadState* __tstate = wxPyBeginAllowThreads();
7303 (arg1)->SetDragRect((wxRect const &)*arg2);
7304
7305 wxPyEndAllowThreads(__tstate);
7306 if (PyErr_Occurred()) SWIG_fail;
7307 }
7308 Py_INCREF(Py_None); resultobj = Py_None;
7309 return resultobj;
7310 fail:
7311 return NULL;
7312 }
7313
7314
7315 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7316 PyObject *resultobj;
7317 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7318 wxRect result;
7319 PyObject * obj0 = 0 ;
7320 char *kwnames[] = {
7321 (char *) "self", NULL
7322 };
7323
7324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7327 {
7328 PyThreadState* __tstate = wxPyBeginAllowThreads();
7329 result = ((wxSashEvent const *)arg1)->GetDragRect();
7330
7331 wxPyEndAllowThreads(__tstate);
7332 if (PyErr_Occurred()) SWIG_fail;
7333 }
7334 {
7335 wxRect * resultptr;
7336 resultptr = new wxRect((wxRect &) result);
7337 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7338 }
7339 return resultobj;
7340 fail:
7341 return NULL;
7342 }
7343
7344
7345 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7346 PyObject *resultobj;
7347 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7348 int arg2 ;
7349 PyObject * obj0 = 0 ;
7350 PyObject * obj1 = 0 ;
7351 char *kwnames[] = {
7352 (char *) "self",(char *) "status", NULL
7353 };
7354
7355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7358 arg2 = (wxSashDragStatus) SWIG_AsInt(obj1);
7359 if (PyErr_Occurred()) SWIG_fail;
7360 {
7361 PyThreadState* __tstate = wxPyBeginAllowThreads();
7362 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7363
7364 wxPyEndAllowThreads(__tstate);
7365 if (PyErr_Occurred()) SWIG_fail;
7366 }
7367 Py_INCREF(Py_None); resultobj = Py_None;
7368 return resultobj;
7369 fail:
7370 return NULL;
7371 }
7372
7373
7374 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7375 PyObject *resultobj;
7376 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7377 int result;
7378 PyObject * obj0 = 0 ;
7379 char *kwnames[] = {
7380 (char *) "self", NULL
7381 };
7382
7383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7386 {
7387 PyThreadState* __tstate = wxPyBeginAllowThreads();
7388 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7389
7390 wxPyEndAllowThreads(__tstate);
7391 if (PyErr_Occurred()) SWIG_fail;
7392 }
7393 resultobj = SWIG_FromInt((int)result);
7394 return resultobj;
7395 fail:
7396 return NULL;
7397 }
7398
7399
7400 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
7401 PyObject *obj;
7402 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7403 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7404 Py_INCREF(obj);
7405 return Py_BuildValue((char *)"");
7406 }
7407 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7408 PyObject *resultobj;
7409 int arg1 = (int) 0 ;
7410 wxQueryLayoutInfoEvent *result;
7411 PyObject * obj0 = 0 ;
7412 char *kwnames[] = {
7413 (char *) "id", NULL
7414 };
7415
7416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7417 if (obj0) {
7418 arg1 = (int) SWIG_AsInt(obj0);
7419 if (PyErr_Occurred()) SWIG_fail;
7420 }
7421 {
7422 PyThreadState* __tstate = wxPyBeginAllowThreads();
7423 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7424
7425 wxPyEndAllowThreads(__tstate);
7426 if (PyErr_Occurred()) SWIG_fail;
7427 }
7428 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7429 return resultobj;
7430 fail:
7431 return NULL;
7432 }
7433
7434
7435 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7436 PyObject *resultobj;
7437 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7438 int arg2 ;
7439 PyObject * obj0 = 0 ;
7440 PyObject * obj1 = 0 ;
7441 char *kwnames[] = {
7442 (char *) "self",(char *) "length", NULL
7443 };
7444
7445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
7446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7448 arg2 = (int) SWIG_AsInt(obj1);
7449 if (PyErr_Occurred()) SWIG_fail;
7450 {
7451 PyThreadState* __tstate = wxPyBeginAllowThreads();
7452 (arg1)->SetRequestedLength(arg2);
7453
7454 wxPyEndAllowThreads(__tstate);
7455 if (PyErr_Occurred()) SWIG_fail;
7456 }
7457 Py_INCREF(Py_None); resultobj = Py_None;
7458 return resultobj;
7459 fail:
7460 return NULL;
7461 }
7462
7463
7464 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7465 PyObject *resultobj;
7466 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7467 int result;
7468 PyObject * obj0 = 0 ;
7469 char *kwnames[] = {
7470 (char *) "self", NULL
7471 };
7472
7473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
7474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7476 {
7477 PyThreadState* __tstate = wxPyBeginAllowThreads();
7478 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7479
7480 wxPyEndAllowThreads(__tstate);
7481 if (PyErr_Occurred()) SWIG_fail;
7482 }
7483 resultobj = SWIG_FromInt((int)result);
7484 return resultobj;
7485 fail:
7486 return NULL;
7487 }
7488
7489
7490 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7491 PyObject *resultobj;
7492 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7493 int arg2 ;
7494 PyObject * obj0 = 0 ;
7495 PyObject * obj1 = 0 ;
7496 char *kwnames[] = {
7497 (char *) "self",(char *) "flags", NULL
7498 };
7499
7500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7503 arg2 = (int) SWIG_AsInt(obj1);
7504 if (PyErr_Occurred()) SWIG_fail;
7505 {
7506 PyThreadState* __tstate = wxPyBeginAllowThreads();
7507 (arg1)->SetFlags(arg2);
7508
7509 wxPyEndAllowThreads(__tstate);
7510 if (PyErr_Occurred()) SWIG_fail;
7511 }
7512 Py_INCREF(Py_None); resultobj = Py_None;
7513 return resultobj;
7514 fail:
7515 return NULL;
7516 }
7517
7518
7519 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7520 PyObject *resultobj;
7521 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7522 int result;
7523 PyObject * obj0 = 0 ;
7524 char *kwnames[] = {
7525 (char *) "self", NULL
7526 };
7527
7528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
7529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7531 {
7532 PyThreadState* __tstate = wxPyBeginAllowThreads();
7533 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
7534
7535 wxPyEndAllowThreads(__tstate);
7536 if (PyErr_Occurred()) SWIG_fail;
7537 }
7538 resultobj = SWIG_FromInt((int)result);
7539 return resultobj;
7540 fail:
7541 return NULL;
7542 }
7543
7544
7545 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7546 PyObject *resultobj;
7547 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7548 wxSize *arg2 = 0 ;
7549 wxSize temp2 ;
7550 PyObject * obj0 = 0 ;
7551 PyObject * obj1 = 0 ;
7552 char *kwnames[] = {
7553 (char *) "self",(char *) "size", NULL
7554 };
7555
7556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
7557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7559 {
7560 arg2 = &temp2;
7561 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7562 }
7563 {
7564 PyThreadState* __tstate = wxPyBeginAllowThreads();
7565 (arg1)->SetSize((wxSize const &)*arg2);
7566
7567 wxPyEndAllowThreads(__tstate);
7568 if (PyErr_Occurred()) SWIG_fail;
7569 }
7570 Py_INCREF(Py_None); resultobj = Py_None;
7571 return resultobj;
7572 fail:
7573 return NULL;
7574 }
7575
7576
7577 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7578 PyObject *resultobj;
7579 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7580 wxSize result;
7581 PyObject * obj0 = 0 ;
7582 char *kwnames[] = {
7583 (char *) "self", NULL
7584 };
7585
7586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
7587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7589 {
7590 PyThreadState* __tstate = wxPyBeginAllowThreads();
7591 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
7592
7593 wxPyEndAllowThreads(__tstate);
7594 if (PyErr_Occurred()) SWIG_fail;
7595 }
7596 {
7597 wxSize * resultptr;
7598 resultptr = new wxSize((wxSize &) result);
7599 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
7600 }
7601 return resultobj;
7602 fail:
7603 return NULL;
7604 }
7605
7606
7607 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7608 PyObject *resultobj;
7609 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7610 int arg2 ;
7611 PyObject * obj0 = 0 ;
7612 PyObject * obj1 = 0 ;
7613 char *kwnames[] = {
7614 (char *) "self",(char *) "orient", NULL
7615 };
7616
7617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
7618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7620 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
7621 if (PyErr_Occurred()) SWIG_fail;
7622 {
7623 PyThreadState* __tstate = wxPyBeginAllowThreads();
7624 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7625
7626 wxPyEndAllowThreads(__tstate);
7627 if (PyErr_Occurred()) SWIG_fail;
7628 }
7629 Py_INCREF(Py_None); resultobj = Py_None;
7630 return resultobj;
7631 fail:
7632 return NULL;
7633 }
7634
7635
7636 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7637 PyObject *resultobj;
7638 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7639 int result;
7640 PyObject * obj0 = 0 ;
7641 char *kwnames[] = {
7642 (char *) "self", NULL
7643 };
7644
7645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
7646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7648 {
7649 PyThreadState* __tstate = wxPyBeginAllowThreads();
7650 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
7651
7652 wxPyEndAllowThreads(__tstate);
7653 if (PyErr_Occurred()) SWIG_fail;
7654 }
7655 resultobj = SWIG_FromInt((int)result);
7656 return resultobj;
7657 fail:
7658 return NULL;
7659 }
7660
7661
7662 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7663 PyObject *resultobj;
7664 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7665 int arg2 ;
7666 PyObject * obj0 = 0 ;
7667 PyObject * obj1 = 0 ;
7668 char *kwnames[] = {
7669 (char *) "self",(char *) "align", NULL
7670 };
7671
7672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7675 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
7676 if (PyErr_Occurred()) SWIG_fail;
7677 {
7678 PyThreadState* __tstate = wxPyBeginAllowThreads();
7679 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7680
7681 wxPyEndAllowThreads(__tstate);
7682 if (PyErr_Occurred()) SWIG_fail;
7683 }
7684 Py_INCREF(Py_None); resultobj = Py_None;
7685 return resultobj;
7686 fail:
7687 return NULL;
7688 }
7689
7690
7691 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7692 PyObject *resultobj;
7693 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7694 int result;
7695 PyObject * obj0 = 0 ;
7696 char *kwnames[] = {
7697 (char *) "self", NULL
7698 };
7699
7700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
7701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7703 {
7704 PyThreadState* __tstate = wxPyBeginAllowThreads();
7705 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
7706
7707 wxPyEndAllowThreads(__tstate);
7708 if (PyErr_Occurred()) SWIG_fail;
7709 }
7710 resultobj = SWIG_FromInt((int)result);
7711 return resultobj;
7712 fail:
7713 return NULL;
7714 }
7715
7716
7717 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
7718 PyObject *obj;
7719 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7720 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
7721 Py_INCREF(obj);
7722 return Py_BuildValue((char *)"");
7723 }
7724 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7725 PyObject *resultobj;
7726 int arg1 = (int) 0 ;
7727 wxCalculateLayoutEvent *result;
7728 PyObject * obj0 = 0 ;
7729 char *kwnames[] = {
7730 (char *) "id", NULL
7731 };
7732
7733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
7734 if (obj0) {
7735 arg1 = (int) SWIG_AsInt(obj0);
7736 if (PyErr_Occurred()) SWIG_fail;
7737 }
7738 {
7739 PyThreadState* __tstate = wxPyBeginAllowThreads();
7740 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
7741
7742 wxPyEndAllowThreads(__tstate);
7743 if (PyErr_Occurred()) SWIG_fail;
7744 }
7745 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
7746 return resultobj;
7747 fail:
7748 return NULL;
7749 }
7750
7751
7752 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7753 PyObject *resultobj;
7754 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7755 int arg2 ;
7756 PyObject * obj0 = 0 ;
7757 PyObject * obj1 = 0 ;
7758 char *kwnames[] = {
7759 (char *) "self",(char *) "flags", NULL
7760 };
7761
7762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7765 arg2 = (int) SWIG_AsInt(obj1);
7766 if (PyErr_Occurred()) SWIG_fail;
7767 {
7768 PyThreadState* __tstate = wxPyBeginAllowThreads();
7769 (arg1)->SetFlags(arg2);
7770
7771 wxPyEndAllowThreads(__tstate);
7772 if (PyErr_Occurred()) SWIG_fail;
7773 }
7774 Py_INCREF(Py_None); resultobj = Py_None;
7775 return resultobj;
7776 fail:
7777 return NULL;
7778 }
7779
7780
7781 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7782 PyObject *resultobj;
7783 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7784 int result;
7785 PyObject * obj0 = 0 ;
7786 char *kwnames[] = {
7787 (char *) "self", NULL
7788 };
7789
7790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
7791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7793 {
7794 PyThreadState* __tstate = wxPyBeginAllowThreads();
7795 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
7796
7797 wxPyEndAllowThreads(__tstate);
7798 if (PyErr_Occurred()) SWIG_fail;
7799 }
7800 resultobj = SWIG_FromInt((int)result);
7801 return resultobj;
7802 fail:
7803 return NULL;
7804 }
7805
7806
7807 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7808 PyObject *resultobj;
7809 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7810 wxRect *arg2 = 0 ;
7811 wxRect temp2 ;
7812 PyObject * obj0 = 0 ;
7813 PyObject * obj1 = 0 ;
7814 char *kwnames[] = {
7815 (char *) "self",(char *) "rect", NULL
7816 };
7817
7818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
7819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7821 {
7822 arg2 = &temp2;
7823 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7824 }
7825 {
7826 PyThreadState* __tstate = wxPyBeginAllowThreads();
7827 (arg1)->SetRect((wxRect const &)*arg2);
7828
7829 wxPyEndAllowThreads(__tstate);
7830 if (PyErr_Occurred()) SWIG_fail;
7831 }
7832 Py_INCREF(Py_None); resultobj = Py_None;
7833 return resultobj;
7834 fail:
7835 return NULL;
7836 }
7837
7838
7839 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7840 PyObject *resultobj;
7841 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7842 wxRect result;
7843 PyObject * obj0 = 0 ;
7844 char *kwnames[] = {
7845 (char *) "self", NULL
7846 };
7847
7848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
7849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7851 {
7852 PyThreadState* __tstate = wxPyBeginAllowThreads();
7853 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
7854
7855 wxPyEndAllowThreads(__tstate);
7856 if (PyErr_Occurred()) SWIG_fail;
7857 }
7858 {
7859 wxRect * resultptr;
7860 resultptr = new wxRect((wxRect &) result);
7861 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7862 }
7863 return resultobj;
7864 fail:
7865 return NULL;
7866 }
7867
7868
7869 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
7870 PyObject *obj;
7871 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7872 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
7873 Py_INCREF(obj);
7874 return Py_BuildValue((char *)"");
7875 }
7876 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7877 PyObject *resultobj;
7878 wxWindow *arg1 = (wxWindow *) 0 ;
7879 int arg2 ;
7880 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7881 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7882 wxSize const &arg4_defvalue = wxDefaultSize ;
7883 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7884 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7885 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
7886 wxString *arg6 = (wxString *) &arg6_defvalue ;
7887 wxSashLayoutWindow *result;
7888 wxPoint temp3 ;
7889 wxSize temp4 ;
7890 bool temp6 = False ;
7891 PyObject * obj0 = 0 ;
7892 PyObject * obj1 = 0 ;
7893 PyObject * obj2 = 0 ;
7894 PyObject * obj3 = 0 ;
7895 PyObject * obj4 = 0 ;
7896 PyObject * obj5 = 0 ;
7897 char *kwnames[] = {
7898 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7899 };
7900
7901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7904 arg2 = (int) SWIG_AsInt(obj1);
7905 if (PyErr_Occurred()) SWIG_fail;
7906 if (obj2) {
7907 {
7908 arg3 = &temp3;
7909 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7910 }
7911 }
7912 if (obj3) {
7913 {
7914 arg4 = &temp4;
7915 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7916 }
7917 }
7918 if (obj4) {
7919 arg5 = (long) SWIG_AsLong(obj4);
7920 if (PyErr_Occurred()) SWIG_fail;
7921 }
7922 if (obj5) {
7923 {
7924 arg6 = wxString_in_helper(obj5);
7925 if (arg6 == NULL) SWIG_fail;
7926 temp6 = True;
7927 }
7928 }
7929 {
7930 PyThreadState* __tstate = wxPyBeginAllowThreads();
7931 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7932
7933 wxPyEndAllowThreads(__tstate);
7934 if (PyErr_Occurred()) SWIG_fail;
7935 }
7936 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
7937 {
7938 if (temp6)
7939 delete arg6;
7940 }
7941 return resultobj;
7942 fail:
7943 {
7944 if (temp6)
7945 delete arg6;
7946 }
7947 return NULL;
7948 }
7949
7950
7951 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7952 PyObject *resultobj;
7953 wxSashLayoutWindow *result;
7954 char *kwnames[] = {
7955 NULL
7956 };
7957
7958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
7959 {
7960 PyThreadState* __tstate = wxPyBeginAllowThreads();
7961 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
7962
7963 wxPyEndAllowThreads(__tstate);
7964 if (PyErr_Occurred()) SWIG_fail;
7965 }
7966 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
7967 return resultobj;
7968 fail:
7969 return NULL;
7970 }
7971
7972
7973 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7974 PyObject *resultobj;
7975 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7976 wxWindow *arg2 = (wxWindow *) 0 ;
7977 int arg3 ;
7978 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7979 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7980 wxSize const &arg5_defvalue = wxDefaultSize ;
7981 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7982 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7983 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
7984 wxString *arg7 = (wxString *) &arg7_defvalue ;
7985 bool result;
7986 wxPoint temp4 ;
7987 wxSize temp5 ;
7988 bool temp7 = False ;
7989 PyObject * obj0 = 0 ;
7990 PyObject * obj1 = 0 ;
7991 PyObject * obj2 = 0 ;
7992 PyObject * obj3 = 0 ;
7993 PyObject * obj4 = 0 ;
7994 PyObject * obj5 = 0 ;
7995 PyObject * obj6 = 0 ;
7996 char *kwnames[] = {
7997 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7998 };
7999
8000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8003 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8005 arg3 = (int) SWIG_AsInt(obj2);
8006 if (PyErr_Occurred()) SWIG_fail;
8007 if (obj3) {
8008 {
8009 arg4 = &temp4;
8010 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8011 }
8012 }
8013 if (obj4) {
8014 {
8015 arg5 = &temp5;
8016 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8017 }
8018 }
8019 if (obj5) {
8020 arg6 = (long) SWIG_AsLong(obj5);
8021 if (PyErr_Occurred()) SWIG_fail;
8022 }
8023 if (obj6) {
8024 {
8025 arg7 = wxString_in_helper(obj6);
8026 if (arg7 == NULL) SWIG_fail;
8027 temp7 = True;
8028 }
8029 }
8030 {
8031 PyThreadState* __tstate = wxPyBeginAllowThreads();
8032 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8033
8034 wxPyEndAllowThreads(__tstate);
8035 if (PyErr_Occurred()) SWIG_fail;
8036 }
8037 {
8038 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8039 }
8040 {
8041 if (temp7)
8042 delete arg7;
8043 }
8044 return resultobj;
8045 fail:
8046 {
8047 if (temp7)
8048 delete arg7;
8049 }
8050 return NULL;
8051 }
8052
8053
8054 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8055 PyObject *resultobj;
8056 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8057 int result;
8058 PyObject * obj0 = 0 ;
8059 char *kwnames[] = {
8060 (char *) "self", NULL
8061 };
8062
8063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8066 {
8067 PyThreadState* __tstate = wxPyBeginAllowThreads();
8068 result = (int)(arg1)->GetAlignment();
8069
8070 wxPyEndAllowThreads(__tstate);
8071 if (PyErr_Occurred()) SWIG_fail;
8072 }
8073 resultobj = SWIG_FromInt((int)result);
8074 return resultobj;
8075 fail:
8076 return NULL;
8077 }
8078
8079
8080 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8081 PyObject *resultobj;
8082 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8083 int result;
8084 PyObject * obj0 = 0 ;
8085 char *kwnames[] = {
8086 (char *) "self", NULL
8087 };
8088
8089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8092 {
8093 PyThreadState* __tstate = wxPyBeginAllowThreads();
8094 result = (int)(arg1)->GetOrientation();
8095
8096 wxPyEndAllowThreads(__tstate);
8097 if (PyErr_Occurred()) SWIG_fail;
8098 }
8099 resultobj = SWIG_FromInt((int)result);
8100 return resultobj;
8101 fail:
8102 return NULL;
8103 }
8104
8105
8106 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8107 PyObject *resultobj;
8108 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8109 int arg2 ;
8110 PyObject * obj0 = 0 ;
8111 PyObject * obj1 = 0 ;
8112 char *kwnames[] = {
8113 (char *) "self",(char *) "alignment", NULL
8114 };
8115
8116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8119 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
8120 if (PyErr_Occurred()) SWIG_fail;
8121 {
8122 PyThreadState* __tstate = wxPyBeginAllowThreads();
8123 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8124
8125 wxPyEndAllowThreads(__tstate);
8126 if (PyErr_Occurred()) SWIG_fail;
8127 }
8128 Py_INCREF(Py_None); resultobj = Py_None;
8129 return resultobj;
8130 fail:
8131 return NULL;
8132 }
8133
8134
8135 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8136 PyObject *resultobj;
8137 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8138 wxSize *arg2 = 0 ;
8139 wxSize temp2 ;
8140 PyObject * obj0 = 0 ;
8141 PyObject * obj1 = 0 ;
8142 char *kwnames[] = {
8143 (char *) "self",(char *) "size", NULL
8144 };
8145
8146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8149 {
8150 arg2 = &temp2;
8151 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8152 }
8153 {
8154 PyThreadState* __tstate = wxPyBeginAllowThreads();
8155 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8156
8157 wxPyEndAllowThreads(__tstate);
8158 if (PyErr_Occurred()) SWIG_fail;
8159 }
8160 Py_INCREF(Py_None); resultobj = Py_None;
8161 return resultobj;
8162 fail:
8163 return NULL;
8164 }
8165
8166
8167 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8168 PyObject *resultobj;
8169 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8170 int arg2 ;
8171 PyObject * obj0 = 0 ;
8172 PyObject * obj1 = 0 ;
8173 char *kwnames[] = {
8174 (char *) "self",(char *) "orientation", NULL
8175 };
8176
8177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8180 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
8181 if (PyErr_Occurred()) SWIG_fail;
8182 {
8183 PyThreadState* __tstate = wxPyBeginAllowThreads();
8184 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8185
8186 wxPyEndAllowThreads(__tstate);
8187 if (PyErr_Occurred()) SWIG_fail;
8188 }
8189 Py_INCREF(Py_None); resultobj = Py_None;
8190 return resultobj;
8191 fail:
8192 return NULL;
8193 }
8194
8195
8196 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
8197 PyObject *obj;
8198 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8199 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8200 Py_INCREF(obj);
8201 return Py_BuildValue((char *)"");
8202 }
8203 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8204 PyObject *resultobj;
8205 wxLayoutAlgorithm *result;
8206 char *kwnames[] = {
8207 NULL
8208 };
8209
8210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8211 {
8212 PyThreadState* __tstate = wxPyBeginAllowThreads();
8213 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8214
8215 wxPyEndAllowThreads(__tstate);
8216 if (PyErr_Occurred()) SWIG_fail;
8217 }
8218 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8219 return resultobj;
8220 fail:
8221 return NULL;
8222 }
8223
8224
8225 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8226 PyObject *resultobj;
8227 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8228 PyObject * obj0 = 0 ;
8229 char *kwnames[] = {
8230 (char *) "self", NULL
8231 };
8232
8233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8236 {
8237 PyThreadState* __tstate = wxPyBeginAllowThreads();
8238 delete arg1;
8239
8240 wxPyEndAllowThreads(__tstate);
8241 if (PyErr_Occurred()) SWIG_fail;
8242 }
8243 Py_INCREF(Py_None); resultobj = Py_None;
8244 return resultobj;
8245 fail:
8246 return NULL;
8247 }
8248
8249
8250 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8251 PyObject *resultobj;
8252 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8253 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8254 wxRect *arg3 = (wxRect *) NULL ;
8255 bool result;
8256 PyObject * obj0 = 0 ;
8257 PyObject * obj1 = 0 ;
8258 PyObject * obj2 = 0 ;
8259 char *kwnames[] = {
8260 (char *) "self",(char *) "frame",(char *) "rect", NULL
8261 };
8262
8263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8266 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8268 if (obj2) {
8269 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8271 }
8272 {
8273 PyThreadState* __tstate = wxPyBeginAllowThreads();
8274 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8275
8276 wxPyEndAllowThreads(__tstate);
8277 if (PyErr_Occurred()) SWIG_fail;
8278 }
8279 {
8280 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8281 }
8282 return resultobj;
8283 fail:
8284 return NULL;
8285 }
8286
8287
8288 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8289 PyObject *resultobj;
8290 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8291 wxFrame *arg2 = (wxFrame *) 0 ;
8292 wxWindow *arg3 = (wxWindow *) NULL ;
8293 bool result;
8294 PyObject * obj0 = 0 ;
8295 PyObject * obj1 = 0 ;
8296 PyObject * obj2 = 0 ;
8297 char *kwnames[] = {
8298 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8299 };
8300
8301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8304 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8306 if (obj2) {
8307 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8309 }
8310 {
8311 PyThreadState* __tstate = wxPyBeginAllowThreads();
8312 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8313
8314 wxPyEndAllowThreads(__tstate);
8315 if (PyErr_Occurred()) SWIG_fail;
8316 }
8317 {
8318 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8319 }
8320 return resultobj;
8321 fail:
8322 return NULL;
8323 }
8324
8325
8326 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8327 PyObject *resultobj;
8328 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8329 wxWindow *arg2 = (wxWindow *) 0 ;
8330 wxWindow *arg3 = (wxWindow *) NULL ;
8331 bool result;
8332 PyObject * obj0 = 0 ;
8333 PyObject * obj1 = 0 ;
8334 PyObject * obj2 = 0 ;
8335 char *kwnames[] = {
8336 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8337 };
8338
8339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8342 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8344 if (obj2) {
8345 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8347 }
8348 {
8349 PyThreadState* __tstate = wxPyBeginAllowThreads();
8350 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8351
8352 wxPyEndAllowThreads(__tstate);
8353 if (PyErr_Occurred()) SWIG_fail;
8354 }
8355 {
8356 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8357 }
8358 return resultobj;
8359 fail:
8360 return NULL;
8361 }
8362
8363
8364 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
8365 PyObject *obj;
8366 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8367 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8368 Py_INCREF(obj);
8369 return Py_BuildValue((char *)"");
8370 }
8371 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8372 PyObject *resultobj;
8373 wxWindow *arg1 = (wxWindow *) 0 ;
8374 int arg2 = (int) wxBORDER_NONE ;
8375 wxPopupWindow *result;
8376 PyObject * obj0 = 0 ;
8377 PyObject * obj1 = 0 ;
8378 char *kwnames[] = {
8379 (char *) "parent",(char *) "flags", NULL
8380 };
8381
8382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8385 if (obj1) {
8386 arg2 = (int) SWIG_AsInt(obj1);
8387 if (PyErr_Occurred()) SWIG_fail;
8388 }
8389 {
8390 PyThreadState* __tstate = wxPyBeginAllowThreads();
8391 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8392
8393 wxPyEndAllowThreads(__tstate);
8394 if (PyErr_Occurred()) SWIG_fail;
8395 }
8396 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8397 return resultobj;
8398 fail:
8399 return NULL;
8400 }
8401
8402
8403 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8404 PyObject *resultobj;
8405 wxPopupWindow *result;
8406 char *kwnames[] = {
8407 NULL
8408 };
8409
8410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8411 {
8412 PyThreadState* __tstate = wxPyBeginAllowThreads();
8413 result = (wxPopupWindow *)new wxPopupWindow();
8414
8415 wxPyEndAllowThreads(__tstate);
8416 if (PyErr_Occurred()) SWIG_fail;
8417 }
8418 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8419 return resultobj;
8420 fail:
8421 return NULL;
8422 }
8423
8424
8425 static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8426 PyObject *resultobj;
8427 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8428 wxWindow *arg2 = (wxWindow *) 0 ;
8429 int arg3 = (int) wxBORDER_NONE ;
8430 bool result;
8431 PyObject * obj0 = 0 ;
8432 PyObject * obj1 = 0 ;
8433 PyObject * obj2 = 0 ;
8434 char *kwnames[] = {
8435 (char *) "self",(char *) "parent",(char *) "flags", NULL
8436 };
8437
8438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
8439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8441 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8443 if (obj2) {
8444 arg3 = (int) SWIG_AsInt(obj2);
8445 if (PyErr_Occurred()) SWIG_fail;
8446 }
8447 {
8448 PyThreadState* __tstate = wxPyBeginAllowThreads();
8449 result = (bool)(arg1)->Create(arg2,arg3);
8450
8451 wxPyEndAllowThreads(__tstate);
8452 if (PyErr_Occurred()) SWIG_fail;
8453 }
8454 {
8455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8456 }
8457 return resultobj;
8458 fail:
8459 return NULL;
8460 }
8461
8462
8463 static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
8464 PyObject *resultobj;
8465 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8466 wxPoint *arg2 = 0 ;
8467 wxSize *arg3 = 0 ;
8468 wxPoint temp2 ;
8469 wxSize temp3 ;
8470 PyObject * obj0 = 0 ;
8471 PyObject * obj1 = 0 ;
8472 PyObject * obj2 = 0 ;
8473 char *kwnames[] = {
8474 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8475 };
8476
8477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
8478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8480 {
8481 arg2 = &temp2;
8482 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8483 }
8484 {
8485 arg3 = &temp3;
8486 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
8487 }
8488 {
8489 PyThreadState* __tstate = wxPyBeginAllowThreads();
8490 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
8491
8492 wxPyEndAllowThreads(__tstate);
8493 if (PyErr_Occurred()) SWIG_fail;
8494 }
8495 Py_INCREF(Py_None); resultobj = Py_None;
8496 return resultobj;
8497 fail:
8498 return NULL;
8499 }
8500
8501
8502 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
8503 PyObject *obj;
8504 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8505 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
8506 Py_INCREF(obj);
8507 return Py_BuildValue((char *)"");
8508 }
8509 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8510 PyObject *resultobj;
8511 wxWindow *arg1 = (wxWindow *) 0 ;
8512 int arg2 = (int) wxBORDER_NONE ;
8513 wxPyPopupTransientWindow *result;
8514 PyObject * obj0 = 0 ;
8515 PyObject * obj1 = 0 ;
8516 char *kwnames[] = {
8517 (char *) "parent",(char *) "style", NULL
8518 };
8519
8520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
8521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8523 if (obj1) {
8524 arg2 = (int) SWIG_AsInt(obj1);
8525 if (PyErr_Occurred()) SWIG_fail;
8526 }
8527 {
8528 PyThreadState* __tstate = wxPyBeginAllowThreads();
8529 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
8530
8531 wxPyEndAllowThreads(__tstate);
8532 if (PyErr_Occurred()) SWIG_fail;
8533 }
8534 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8535 return resultobj;
8536 fail:
8537 return NULL;
8538 }
8539
8540
8541 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8542 PyObject *resultobj;
8543 wxPyPopupTransientWindow *result;
8544 char *kwnames[] = {
8545 NULL
8546 };
8547
8548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
8549 {
8550 PyThreadState* __tstate = wxPyBeginAllowThreads();
8551 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
8552
8553 wxPyEndAllowThreads(__tstate);
8554 if (PyErr_Occurred()) SWIG_fail;
8555 }
8556 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8557 return resultobj;
8558 fail:
8559 return NULL;
8560 }
8561
8562
8563 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8564 PyObject *resultobj;
8565 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8566 PyObject *arg2 = (PyObject *) 0 ;
8567 PyObject *arg3 = (PyObject *) 0 ;
8568 PyObject * obj0 = 0 ;
8569 PyObject * obj1 = 0 ;
8570 PyObject * obj2 = 0 ;
8571 char *kwnames[] = {
8572 (char *) "self",(char *) "self",(char *) "_class", NULL
8573 };
8574
8575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8578 arg2 = obj1;
8579 arg3 = obj2;
8580 {
8581 PyThreadState* __tstate = wxPyBeginAllowThreads();
8582 (arg1)->_setCallbackInfo(arg2,arg3);
8583
8584 wxPyEndAllowThreads(__tstate);
8585 if (PyErr_Occurred()) SWIG_fail;
8586 }
8587 Py_INCREF(Py_None); resultobj = Py_None;
8588 return resultobj;
8589 fail:
8590 return NULL;
8591 }
8592
8593
8594 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
8595 PyObject *resultobj;
8596 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8597 wxWindow *arg2 = (wxWindow *) NULL ;
8598 PyObject * obj0 = 0 ;
8599 PyObject * obj1 = 0 ;
8600 char *kwnames[] = {
8601 (char *) "self",(char *) "focus", NULL
8602 };
8603
8604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
8605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8607 if (obj1) {
8608 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8610 }
8611 {
8612 PyThreadState* __tstate = wxPyBeginAllowThreads();
8613 (arg1)->Popup(arg2);
8614
8615 wxPyEndAllowThreads(__tstate);
8616 if (PyErr_Occurred()) SWIG_fail;
8617 }
8618 Py_INCREF(Py_None); resultobj = Py_None;
8619 return resultobj;
8620 fail:
8621 return NULL;
8622 }
8623
8624
8625 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
8626 PyObject *resultobj;
8627 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8628 PyObject * obj0 = 0 ;
8629 char *kwnames[] = {
8630 (char *) "self", NULL
8631 };
8632
8633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
8634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8636 {
8637 PyThreadState* __tstate = wxPyBeginAllowThreads();
8638 (arg1)->Dismiss();
8639
8640 wxPyEndAllowThreads(__tstate);
8641 if (PyErr_Occurred()) SWIG_fail;
8642 }
8643 Py_INCREF(Py_None); resultobj = Py_None;
8644 return resultobj;
8645 fail:
8646 return NULL;
8647 }
8648
8649
8650 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
8651 PyObject *obj;
8652 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8653 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
8654 Py_INCREF(obj);
8655 return Py_BuildValue((char *)"");
8656 }
8657 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8658 PyObject *resultobj;
8659 wxWindow *arg1 = (wxWindow *) 0 ;
8660 wxString *arg2 = 0 ;
8661 int arg3 = (int) 100 ;
8662 wxRect *arg4 = (wxRect *) NULL ;
8663 wxTipWindow *result;
8664 bool temp2 = False ;
8665 PyObject * obj0 = 0 ;
8666 PyObject * obj1 = 0 ;
8667 PyObject * obj2 = 0 ;
8668 PyObject * obj3 = 0 ;
8669 char *kwnames[] = {
8670 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8671 };
8672
8673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8676 {
8677 arg2 = wxString_in_helper(obj1);
8678 if (arg2 == NULL) SWIG_fail;
8679 temp2 = True;
8680 }
8681 if (obj2) {
8682 arg3 = (int) SWIG_AsInt(obj2);
8683 if (PyErr_Occurred()) SWIG_fail;
8684 }
8685 if (obj3) {
8686 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
8687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8688 }
8689 {
8690 PyThreadState* __tstate = wxPyBeginAllowThreads();
8691 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
8692
8693 wxPyEndAllowThreads(__tstate);
8694 if (PyErr_Occurred()) SWIG_fail;
8695 }
8696 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
8697 {
8698 if (temp2)
8699 delete arg2;
8700 }
8701 return resultobj;
8702 fail:
8703 {
8704 if (temp2)
8705 delete arg2;
8706 }
8707 return NULL;
8708 }
8709
8710
8711 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8712 PyObject *resultobj;
8713 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8714 wxRect *arg2 = 0 ;
8715 wxRect temp2 ;
8716 PyObject * obj0 = 0 ;
8717 PyObject * obj1 = 0 ;
8718 char *kwnames[] = {
8719 (char *) "self",(char *) "rectBound", NULL
8720 };
8721
8722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
8723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8725 {
8726 arg2 = &temp2;
8727 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8728 }
8729 {
8730 PyThreadState* __tstate = wxPyBeginAllowThreads();
8731 (arg1)->SetBoundingRect((wxRect const &)*arg2);
8732
8733 wxPyEndAllowThreads(__tstate);
8734 if (PyErr_Occurred()) SWIG_fail;
8735 }
8736 Py_INCREF(Py_None); resultobj = Py_None;
8737 return resultobj;
8738 fail:
8739 return NULL;
8740 }
8741
8742
8743 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
8744 PyObject *resultobj;
8745 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8746 PyObject * obj0 = 0 ;
8747 char *kwnames[] = {
8748 (char *) "self", NULL
8749 };
8750
8751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
8752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8754 {
8755 PyThreadState* __tstate = wxPyBeginAllowThreads();
8756 (arg1)->Close();
8757
8758 wxPyEndAllowThreads(__tstate);
8759 if (PyErr_Occurred()) SWIG_fail;
8760 }
8761 Py_INCREF(Py_None); resultobj = Py_None;
8762 return resultobj;
8763 fail:
8764 return NULL;
8765 }
8766
8767
8768 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
8769 PyObject *obj;
8770 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8771 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
8772 Py_INCREF(obj);
8773 return Py_BuildValue((char *)"");
8774 }
8775 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8776 PyObject *resultobj;
8777 wxWindow *arg1 = (wxWindow *) 0 ;
8778 int arg2 = (int) wxID_ANY ;
8779 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8780 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8781 wxSize const &arg4_defvalue = wxDefaultSize ;
8782 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8783 long arg5 = (long) 0 ;
8784 wxString const &arg6_defvalue = wxPyPanelNameStr ;
8785 wxString *arg6 = (wxString *) &arg6_defvalue ;
8786 wxPyVScrolledWindow *result;
8787 wxPoint temp3 ;
8788 wxSize temp4 ;
8789 bool temp6 = False ;
8790 PyObject * obj0 = 0 ;
8791 PyObject * obj1 = 0 ;
8792 PyObject * obj2 = 0 ;
8793 PyObject * obj3 = 0 ;
8794 PyObject * obj4 = 0 ;
8795 PyObject * obj5 = 0 ;
8796 char *kwnames[] = {
8797 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8798 };
8799
8800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8803 if (obj1) {
8804 arg2 = (int) SWIG_AsInt(obj1);
8805 if (PyErr_Occurred()) SWIG_fail;
8806 }
8807 if (obj2) {
8808 {
8809 arg3 = &temp3;
8810 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8811 }
8812 }
8813 if (obj3) {
8814 {
8815 arg4 = &temp4;
8816 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8817 }
8818 }
8819 if (obj4) {
8820 arg5 = (long) SWIG_AsLong(obj4);
8821 if (PyErr_Occurred()) SWIG_fail;
8822 }
8823 if (obj5) {
8824 {
8825 arg6 = wxString_in_helper(obj5);
8826 if (arg6 == NULL) SWIG_fail;
8827 temp6 = True;
8828 }
8829 }
8830 {
8831 PyThreadState* __tstate = wxPyBeginAllowThreads();
8832 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8833
8834 wxPyEndAllowThreads(__tstate);
8835 if (PyErr_Occurred()) SWIG_fail;
8836 }
8837 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
8838 {
8839 if (temp6)
8840 delete arg6;
8841 }
8842 return resultobj;
8843 fail:
8844 {
8845 if (temp6)
8846 delete arg6;
8847 }
8848 return NULL;
8849 }
8850
8851
8852 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8853 PyObject *resultobj;
8854 wxPyVScrolledWindow *result;
8855 char *kwnames[] = {
8856 NULL
8857 };
8858
8859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
8860 {
8861 PyThreadState* __tstate = wxPyBeginAllowThreads();
8862 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
8863
8864 wxPyEndAllowThreads(__tstate);
8865 if (PyErr_Occurred()) SWIG_fail;
8866 }
8867 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
8868 return resultobj;
8869 fail:
8870 return NULL;
8871 }
8872
8873
8874 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8875 PyObject *resultobj;
8876 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8877 PyObject *arg2 = (PyObject *) 0 ;
8878 PyObject *arg3 = (PyObject *) 0 ;
8879 PyObject * obj0 = 0 ;
8880 PyObject * obj1 = 0 ;
8881 PyObject * obj2 = 0 ;
8882 char *kwnames[] = {
8883 (char *) "self",(char *) "self",(char *) "_class", NULL
8884 };
8885
8886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8889 arg2 = obj1;
8890 arg3 = obj2;
8891 {
8892 PyThreadState* __tstate = wxPyBeginAllowThreads();
8893 (arg1)->_setCallbackInfo(arg2,arg3);
8894
8895 wxPyEndAllowThreads(__tstate);
8896 if (PyErr_Occurred()) SWIG_fail;
8897 }
8898 Py_INCREF(Py_None); resultobj = Py_None;
8899 return resultobj;
8900 fail:
8901 return NULL;
8902 }
8903
8904
8905 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8906 PyObject *resultobj;
8907 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8908 wxWindow *arg2 = (wxWindow *) 0 ;
8909 int arg3 = (int) wxID_ANY ;
8910 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8911 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8912 wxSize const &arg5_defvalue = wxDefaultSize ;
8913 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8914 long arg6 = (long) 0 ;
8915 wxString const &arg7_defvalue = wxPyPanelNameStr ;
8916 wxString *arg7 = (wxString *) &arg7_defvalue ;
8917 bool result;
8918 wxPoint temp4 ;
8919 wxSize temp5 ;
8920 bool temp7 = False ;
8921 PyObject * obj0 = 0 ;
8922 PyObject * obj1 = 0 ;
8923 PyObject * obj2 = 0 ;
8924 PyObject * obj3 = 0 ;
8925 PyObject * obj4 = 0 ;
8926 PyObject * obj5 = 0 ;
8927 PyObject * obj6 = 0 ;
8928 char *kwnames[] = {
8929 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8930 };
8931
8932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8935 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8937 if (obj2) {
8938 arg3 = (int) SWIG_AsInt(obj2);
8939 if (PyErr_Occurred()) SWIG_fail;
8940 }
8941 if (obj3) {
8942 {
8943 arg4 = &temp4;
8944 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8945 }
8946 }
8947 if (obj4) {
8948 {
8949 arg5 = &temp5;
8950 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8951 }
8952 }
8953 if (obj5) {
8954 arg6 = (long) SWIG_AsLong(obj5);
8955 if (PyErr_Occurred()) SWIG_fail;
8956 }
8957 if (obj6) {
8958 {
8959 arg7 = wxString_in_helper(obj6);
8960 if (arg7 == NULL) SWIG_fail;
8961 temp7 = True;
8962 }
8963 }
8964 {
8965 PyThreadState* __tstate = wxPyBeginAllowThreads();
8966 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8967
8968 wxPyEndAllowThreads(__tstate);
8969 if (PyErr_Occurred()) SWIG_fail;
8970 }
8971 {
8972 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8973 }
8974 {
8975 if (temp7)
8976 delete arg7;
8977 }
8978 return resultobj;
8979 fail:
8980 {
8981 if (temp7)
8982 delete arg7;
8983 }
8984 return NULL;
8985 }
8986
8987
8988 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8989 PyObject *resultobj;
8990 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8991 size_t arg2 ;
8992 PyObject * obj0 = 0 ;
8993 PyObject * obj1 = 0 ;
8994 char *kwnames[] = {
8995 (char *) "self",(char *) "count", NULL
8996 };
8997
8998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
8999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9001 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9002 if (PyErr_Occurred()) SWIG_fail;
9003 {
9004 PyThreadState* __tstate = wxPyBeginAllowThreads();
9005 (arg1)->SetLineCount(arg2);
9006
9007 wxPyEndAllowThreads(__tstate);
9008 if (PyErr_Occurred()) SWIG_fail;
9009 }
9010 Py_INCREF(Py_None); resultobj = Py_None;
9011 return resultobj;
9012 fail:
9013 return NULL;
9014 }
9015
9016
9017 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9018 PyObject *resultobj;
9019 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9020 size_t arg2 ;
9021 bool result;
9022 PyObject * obj0 = 0 ;
9023 PyObject * obj1 = 0 ;
9024 char *kwnames[] = {
9025 (char *) "self",(char *) "line", NULL
9026 };
9027
9028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
9029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9031 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9032 if (PyErr_Occurred()) SWIG_fail;
9033 {
9034 PyThreadState* __tstate = wxPyBeginAllowThreads();
9035 result = (bool)(arg1)->ScrollToLine(arg2);
9036
9037 wxPyEndAllowThreads(__tstate);
9038 if (PyErr_Occurred()) SWIG_fail;
9039 }
9040 {
9041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9042 }
9043 return resultobj;
9044 fail:
9045 return NULL;
9046 }
9047
9048
9049 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9050 PyObject *resultobj;
9051 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9052 int arg2 ;
9053 bool result;
9054 PyObject * obj0 = 0 ;
9055 PyObject * obj1 = 0 ;
9056 char *kwnames[] = {
9057 (char *) "self",(char *) "lines", NULL
9058 };
9059
9060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",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 = (int) SWIG_AsInt(obj1);
9064 if (PyErr_Occurred()) SWIG_fail;
9065 {
9066 PyThreadState* __tstate = wxPyBeginAllowThreads();
9067 result = (bool)(arg1)->ScrollLines(arg2);
9068
9069 wxPyEndAllowThreads(__tstate);
9070 if (PyErr_Occurred()) SWIG_fail;
9071 }
9072 {
9073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9074 }
9075 return resultobj;
9076 fail:
9077 return NULL;
9078 }
9079
9080
9081 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
9082 PyObject *resultobj;
9083 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9084 int arg2 ;
9085 bool result;
9086 PyObject * obj0 = 0 ;
9087 PyObject * obj1 = 0 ;
9088 char *kwnames[] = {
9089 (char *) "self",(char *) "pages", NULL
9090 };
9091
9092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
9093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9095 arg2 = (int) SWIG_AsInt(obj1);
9096 if (PyErr_Occurred()) SWIG_fail;
9097 {
9098 PyThreadState* __tstate = wxPyBeginAllowThreads();
9099 result = (bool)(arg1)->ScrollPages(arg2);
9100
9101 wxPyEndAllowThreads(__tstate);
9102 if (PyErr_Occurred()) SWIG_fail;
9103 }
9104 {
9105 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9106 }
9107 return resultobj;
9108 fail:
9109 return NULL;
9110 }
9111
9112
9113 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9114 PyObject *resultobj;
9115 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9116 size_t arg2 ;
9117 PyObject * obj0 = 0 ;
9118 PyObject * obj1 = 0 ;
9119 char *kwnames[] = {
9120 (char *) "self",(char *) "line", NULL
9121 };
9122
9123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9126 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9127 if (PyErr_Occurred()) SWIG_fail;
9128 {
9129 PyThreadState* __tstate = wxPyBeginAllowThreads();
9130 (arg1)->RefreshLine(arg2);
9131
9132 wxPyEndAllowThreads(__tstate);
9133 if (PyErr_Occurred()) SWIG_fail;
9134 }
9135 Py_INCREF(Py_None); resultobj = Py_None;
9136 return resultobj;
9137 fail:
9138 return NULL;
9139 }
9140
9141
9142 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9143 PyObject *resultobj;
9144 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9145 size_t arg2 ;
9146 size_t arg3 ;
9147 PyObject * obj0 = 0 ;
9148 PyObject * obj1 = 0 ;
9149 PyObject * obj2 = 0 ;
9150 char *kwnames[] = {
9151 (char *) "self",(char *) "from",(char *) "to", NULL
9152 };
9153
9154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9157 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9158 if (PyErr_Occurred()) SWIG_fail;
9159 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9160 if (PyErr_Occurred()) SWIG_fail;
9161 {
9162 PyThreadState* __tstate = wxPyBeginAllowThreads();
9163 (arg1)->RefreshLines(arg2,arg3);
9164
9165 wxPyEndAllowThreads(__tstate);
9166 if (PyErr_Occurred()) SWIG_fail;
9167 }
9168 Py_INCREF(Py_None); resultobj = Py_None;
9169 return resultobj;
9170 fail:
9171 return NULL;
9172 }
9173
9174
9175 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
9176 PyObject *resultobj;
9177 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9178 int arg2 ;
9179 int arg3 ;
9180 int result;
9181 PyObject * obj0 = 0 ;
9182 PyObject * obj1 = 0 ;
9183 PyObject * obj2 = 0 ;
9184 char *kwnames[] = {
9185 (char *) "self",(char *) "x",(char *) "y", NULL
9186 };
9187
9188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail;
9189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9191 arg2 = (int) SWIG_AsInt(obj1);
9192 if (PyErr_Occurred()) SWIG_fail;
9193 arg3 = (int) SWIG_AsInt(obj2);
9194 if (PyErr_Occurred()) SWIG_fail;
9195 {
9196 PyThreadState* __tstate = wxPyBeginAllowThreads();
9197 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9198
9199 wxPyEndAllowThreads(__tstate);
9200 if (PyErr_Occurred()) SWIG_fail;
9201 }
9202 resultobj = SWIG_FromInt((int)result);
9203 return resultobj;
9204 fail:
9205 return NULL;
9206 }
9207
9208
9209 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9210 PyObject *resultobj;
9211 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9212 wxPoint *arg2 = 0 ;
9213 int result;
9214 wxPoint temp2 ;
9215 PyObject * obj0 = 0 ;
9216 PyObject * obj1 = 0 ;
9217 char *kwnames[] = {
9218 (char *) "self",(char *) "pt", NULL
9219 };
9220
9221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9224 {
9225 arg2 = &temp2;
9226 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9227 }
9228 {
9229 PyThreadState* __tstate = wxPyBeginAllowThreads();
9230 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9231
9232 wxPyEndAllowThreads(__tstate);
9233 if (PyErr_Occurred()) SWIG_fail;
9234 }
9235 resultobj = SWIG_FromInt((int)result);
9236 return resultobj;
9237 fail:
9238 return NULL;
9239 }
9240
9241
9242 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9243 PyObject *resultobj;
9244 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9245 PyObject * obj0 = 0 ;
9246 char *kwnames[] = {
9247 (char *) "self", NULL
9248 };
9249
9250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9253 {
9254 PyThreadState* __tstate = wxPyBeginAllowThreads();
9255 (arg1)->RefreshAll();
9256
9257 wxPyEndAllowThreads(__tstate);
9258 if (PyErr_Occurred()) SWIG_fail;
9259 }
9260 Py_INCREF(Py_None); resultobj = Py_None;
9261 return resultobj;
9262 fail:
9263 return NULL;
9264 }
9265
9266
9267 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9268 PyObject *resultobj;
9269 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9270 size_t result;
9271 PyObject * obj0 = 0 ;
9272 char *kwnames[] = {
9273 (char *) "self", NULL
9274 };
9275
9276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9279 {
9280 PyThreadState* __tstate = wxPyBeginAllowThreads();
9281 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9282
9283 wxPyEndAllowThreads(__tstate);
9284 if (PyErr_Occurred()) SWIG_fail;
9285 }
9286 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9287 return resultobj;
9288 fail:
9289 return NULL;
9290 }
9291
9292
9293 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9294 PyObject *resultobj;
9295 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9296 size_t result;
9297 PyObject * obj0 = 0 ;
9298 char *kwnames[] = {
9299 (char *) "self", NULL
9300 };
9301
9302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9305 {
9306 PyThreadState* __tstate = wxPyBeginAllowThreads();
9307 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9308
9309 wxPyEndAllowThreads(__tstate);
9310 if (PyErr_Occurred()) SWIG_fail;
9311 }
9312 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9313 return resultobj;
9314 fail:
9315 return NULL;
9316 }
9317
9318
9319 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9320 PyObject *resultobj;
9321 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9322 size_t result;
9323 PyObject * obj0 = 0 ;
9324 char *kwnames[] = {
9325 (char *) "self", NULL
9326 };
9327
9328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9331 {
9332 PyThreadState* __tstate = wxPyBeginAllowThreads();
9333 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9334
9335 wxPyEndAllowThreads(__tstate);
9336 if (PyErr_Occurred()) SWIG_fail;
9337 }
9338 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9339 return resultobj;
9340 fail:
9341 return NULL;
9342 }
9343
9344
9345 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9346 PyObject *resultobj;
9347 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9348 size_t arg2 ;
9349 bool result;
9350 PyObject * obj0 = 0 ;
9351 PyObject * obj1 = 0 ;
9352 char *kwnames[] = {
9353 (char *) "self",(char *) "line", NULL
9354 };
9355
9356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9359 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9360 if (PyErr_Occurred()) SWIG_fail;
9361 {
9362 PyThreadState* __tstate = wxPyBeginAllowThreads();
9363 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9364
9365 wxPyEndAllowThreads(__tstate);
9366 if (PyErr_Occurred()) SWIG_fail;
9367 }
9368 {
9369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9370 }
9371 return resultobj;
9372 fail:
9373 return NULL;
9374 }
9375
9376
9377 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
9378 PyObject *obj;
9379 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9380 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9381 Py_INCREF(obj);
9382 return Py_BuildValue((char *)"");
9383 }
9384 static int _wrap_VListBoxNameStr_set(PyObject *_val) {
9385 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9386 return 1;
9387 }
9388
9389
9390 static PyObject *_wrap_VListBoxNameStr_get() {
9391 PyObject *pyobj;
9392
9393 {
9394 #if wxUSE_UNICODE
9395 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9396 #else
9397 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9398 #endif
9399 }
9400 return pyobj;
9401 }
9402
9403
9404 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9405 PyObject *resultobj;
9406 wxWindow *arg1 = (wxWindow *) 0 ;
9407 int arg2 = (int) wxID_ANY ;
9408 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9409 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9410 wxSize const &arg4_defvalue = wxDefaultSize ;
9411 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9412 long arg5 = (long) 0 ;
9413 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9414 wxString *arg6 = (wxString *) &arg6_defvalue ;
9415 wxPyVListBox *result;
9416 wxPoint temp3 ;
9417 wxSize temp4 ;
9418 bool temp6 = False ;
9419 PyObject * obj0 = 0 ;
9420 PyObject * obj1 = 0 ;
9421 PyObject * obj2 = 0 ;
9422 PyObject * obj3 = 0 ;
9423 PyObject * obj4 = 0 ;
9424 PyObject * obj5 = 0 ;
9425 char *kwnames[] = {
9426 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9427 };
9428
9429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9432 if (obj1) {
9433 arg2 = (int) SWIG_AsInt(obj1);
9434 if (PyErr_Occurred()) SWIG_fail;
9435 }
9436 if (obj2) {
9437 {
9438 arg3 = &temp3;
9439 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9440 }
9441 }
9442 if (obj3) {
9443 {
9444 arg4 = &temp4;
9445 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9446 }
9447 }
9448 if (obj4) {
9449 arg5 = (long) SWIG_AsLong(obj4);
9450 if (PyErr_Occurred()) SWIG_fail;
9451 }
9452 if (obj5) {
9453 {
9454 arg6 = wxString_in_helper(obj5);
9455 if (arg6 == NULL) SWIG_fail;
9456 temp6 = True;
9457 }
9458 }
9459 {
9460 PyThreadState* __tstate = wxPyBeginAllowThreads();
9461 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9462
9463 wxPyEndAllowThreads(__tstate);
9464 if (PyErr_Occurred()) SWIG_fail;
9465 }
9466 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9467 {
9468 if (temp6)
9469 delete arg6;
9470 }
9471 return resultobj;
9472 fail:
9473 {
9474 if (temp6)
9475 delete arg6;
9476 }
9477 return NULL;
9478 }
9479
9480
9481 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9482 PyObject *resultobj;
9483 wxPyVListBox *result;
9484 char *kwnames[] = {
9485 NULL
9486 };
9487
9488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9489 {
9490 PyThreadState* __tstate = wxPyBeginAllowThreads();
9491 result = (wxPyVListBox *)new wxPyVListBox();
9492
9493 wxPyEndAllowThreads(__tstate);
9494 if (PyErr_Occurred()) SWIG_fail;
9495 }
9496 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9497 return resultobj;
9498 fail:
9499 return NULL;
9500 }
9501
9502
9503 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9504 PyObject *resultobj;
9505 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9506 PyObject *arg2 = (PyObject *) 0 ;
9507 PyObject *arg3 = (PyObject *) 0 ;
9508 PyObject * obj0 = 0 ;
9509 PyObject * obj1 = 0 ;
9510 PyObject * obj2 = 0 ;
9511 char *kwnames[] = {
9512 (char *) "self",(char *) "self",(char *) "_class", NULL
9513 };
9514
9515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9518 arg2 = obj1;
9519 arg3 = obj2;
9520 {
9521 PyThreadState* __tstate = wxPyBeginAllowThreads();
9522 (arg1)->_setCallbackInfo(arg2,arg3);
9523
9524 wxPyEndAllowThreads(__tstate);
9525 if (PyErr_Occurred()) SWIG_fail;
9526 }
9527 Py_INCREF(Py_None); resultobj = Py_None;
9528 return resultobj;
9529 fail:
9530 return NULL;
9531 }
9532
9533
9534 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9535 PyObject *resultobj;
9536 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9537 wxWindow *arg2 = (wxWindow *) 0 ;
9538 int arg3 = (int) wxID_ANY ;
9539 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9540 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9541 wxSize const &arg5_defvalue = wxDefaultSize ;
9542 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9543 long arg6 = (long) 0 ;
9544 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9545 wxString *arg7 = (wxString *) &arg7_defvalue ;
9546 bool result;
9547 wxPoint temp4 ;
9548 wxSize temp5 ;
9549 bool temp7 = False ;
9550 PyObject * obj0 = 0 ;
9551 PyObject * obj1 = 0 ;
9552 PyObject * obj2 = 0 ;
9553 PyObject * obj3 = 0 ;
9554 PyObject * obj4 = 0 ;
9555 PyObject * obj5 = 0 ;
9556 PyObject * obj6 = 0 ;
9557 char *kwnames[] = {
9558 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9559 };
9560
9561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9564 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9566 if (obj2) {
9567 arg3 = (int) SWIG_AsInt(obj2);
9568 if (PyErr_Occurred()) SWIG_fail;
9569 }
9570 if (obj3) {
9571 {
9572 arg4 = &temp4;
9573 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9574 }
9575 }
9576 if (obj4) {
9577 {
9578 arg5 = &temp5;
9579 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9580 }
9581 }
9582 if (obj5) {
9583 arg6 = (long) SWIG_AsLong(obj5);
9584 if (PyErr_Occurred()) SWIG_fail;
9585 }
9586 if (obj6) {
9587 {
9588 arg7 = wxString_in_helper(obj6);
9589 if (arg7 == NULL) SWIG_fail;
9590 temp7 = True;
9591 }
9592 }
9593 {
9594 PyThreadState* __tstate = wxPyBeginAllowThreads();
9595 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9596
9597 wxPyEndAllowThreads(__tstate);
9598 if (PyErr_Occurred()) SWIG_fail;
9599 }
9600 {
9601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9602 }
9603 {
9604 if (temp7)
9605 delete arg7;
9606 }
9607 return resultobj;
9608 fail:
9609 {
9610 if (temp7)
9611 delete arg7;
9612 }
9613 return NULL;
9614 }
9615
9616
9617 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9618 PyObject *resultobj;
9619 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9620 size_t result;
9621 PyObject * obj0 = 0 ;
9622 char *kwnames[] = {
9623 (char *) "self", NULL
9624 };
9625
9626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
9627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9629 {
9630 PyThreadState* __tstate = wxPyBeginAllowThreads();
9631 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
9632
9633 wxPyEndAllowThreads(__tstate);
9634 if (PyErr_Occurred()) SWIG_fail;
9635 }
9636 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9637 return resultobj;
9638 fail:
9639 return NULL;
9640 }
9641
9642
9643 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9644 PyObject *resultobj;
9645 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9646 bool result;
9647 PyObject * obj0 = 0 ;
9648 char *kwnames[] = {
9649 (char *) "self", NULL
9650 };
9651
9652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
9653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9655 {
9656 PyThreadState* __tstate = wxPyBeginAllowThreads();
9657 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
9658
9659 wxPyEndAllowThreads(__tstate);
9660 if (PyErr_Occurred()) SWIG_fail;
9661 }
9662 {
9663 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9664 }
9665 return resultobj;
9666 fail:
9667 return NULL;
9668 }
9669
9670
9671 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9672 PyObject *resultobj;
9673 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9674 int result;
9675 PyObject * obj0 = 0 ;
9676 char *kwnames[] = {
9677 (char *) "self", NULL
9678 };
9679
9680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
9681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9683 {
9684 PyThreadState* __tstate = wxPyBeginAllowThreads();
9685 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
9686
9687 wxPyEndAllowThreads(__tstate);
9688 if (PyErr_Occurred()) SWIG_fail;
9689 }
9690 resultobj = SWIG_FromInt((int)result);
9691 return resultobj;
9692 fail:
9693 return NULL;
9694 }
9695
9696
9697 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
9698 PyObject *resultobj;
9699 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9700 size_t arg2 ;
9701 bool result;
9702 PyObject * obj0 = 0 ;
9703 PyObject * obj1 = 0 ;
9704 char *kwnames[] = {
9705 (char *) "self",(char *) "item", NULL
9706 };
9707
9708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
9709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9711 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9712 if (PyErr_Occurred()) SWIG_fail;
9713 {
9714 PyThreadState* __tstate = wxPyBeginAllowThreads();
9715 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
9716
9717 wxPyEndAllowThreads(__tstate);
9718 if (PyErr_Occurred()) SWIG_fail;
9719 }
9720 {
9721 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9722 }
9723 return resultobj;
9724 fail:
9725 return NULL;
9726 }
9727
9728
9729 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9730 PyObject *resultobj;
9731 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9732 size_t arg2 ;
9733 bool result;
9734 PyObject * obj0 = 0 ;
9735 PyObject * obj1 = 0 ;
9736 char *kwnames[] = {
9737 (char *) "self",(char *) "item", NULL
9738 };
9739
9740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
9741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9743 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9744 if (PyErr_Occurred()) SWIG_fail;
9745 {
9746 PyThreadState* __tstate = wxPyBeginAllowThreads();
9747 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
9748
9749 wxPyEndAllowThreads(__tstate);
9750 if (PyErr_Occurred()) SWIG_fail;
9751 }
9752 {
9753 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9754 }
9755 return resultobj;
9756 fail:
9757 return NULL;
9758 }
9759
9760
9761 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9762 PyObject *resultobj;
9763 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9764 size_t result;
9765 PyObject * obj0 = 0 ;
9766 char *kwnames[] = {
9767 (char *) "self", NULL
9768 };
9769
9770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
9771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9773 {
9774 PyThreadState* __tstate = wxPyBeginAllowThreads();
9775 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
9776
9777 wxPyEndAllowThreads(__tstate);
9778 if (PyErr_Occurred()) SWIG_fail;
9779 }
9780 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9781 return resultobj;
9782 fail:
9783 return NULL;
9784 }
9785
9786
9787 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9788 PyObject *resultobj;
9789 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9790 unsigned long *arg2 = 0 ;
9791 int result;
9792 PyObject * obj0 = 0 ;
9793 PyObject * obj1 = 0 ;
9794 char *kwnames[] = {
9795 (char *) "self",(char *) "cookie", NULL
9796 };
9797
9798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
9799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9801 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9802 SWIG_POINTER_EXCEPTION | 0)) == -1)
9803 SWIG_fail;
9804 if (arg2 == NULL) {
9805 PyErr_SetString(PyExc_TypeError,"null reference");
9806 SWIG_fail;
9807 }
9808 {
9809 PyThreadState* __tstate = wxPyBeginAllowThreads();
9810 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
9811
9812 wxPyEndAllowThreads(__tstate);
9813 if (PyErr_Occurred()) SWIG_fail;
9814 }
9815 resultobj = SWIG_FromInt((int)result);
9816 return resultobj;
9817 fail:
9818 return NULL;
9819 }
9820
9821
9822 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9823 PyObject *resultobj;
9824 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9825 unsigned long *arg2 = 0 ;
9826 int result;
9827 PyObject * obj0 = 0 ;
9828 PyObject * obj1 = 0 ;
9829 char *kwnames[] = {
9830 (char *) "self",(char *) "cookie", NULL
9831 };
9832
9833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
9834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9836 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9837 SWIG_POINTER_EXCEPTION | 0)) == -1)
9838 SWIG_fail;
9839 if (arg2 == NULL) {
9840 PyErr_SetString(PyExc_TypeError,"null reference");
9841 SWIG_fail;
9842 }
9843 {
9844 PyThreadState* __tstate = wxPyBeginAllowThreads();
9845 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
9846
9847 wxPyEndAllowThreads(__tstate);
9848 if (PyErr_Occurred()) SWIG_fail;
9849 }
9850 resultobj = SWIG_FromInt((int)result);
9851 return resultobj;
9852 fail:
9853 return NULL;
9854 }
9855
9856
9857 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9858 PyObject *resultobj;
9859 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9860 wxPoint result;
9861 PyObject * obj0 = 0 ;
9862 char *kwnames[] = {
9863 (char *) "self", NULL
9864 };
9865
9866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
9867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9869 {
9870 PyThreadState* __tstate = wxPyBeginAllowThreads();
9871 result = ((wxPyVListBox const *)arg1)->GetMargins();
9872
9873 wxPyEndAllowThreads(__tstate);
9874 if (PyErr_Occurred()) SWIG_fail;
9875 }
9876 {
9877 wxPoint * resultptr;
9878 resultptr = new wxPoint((wxPoint &) result);
9879 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
9880 }
9881 return resultobj;
9882 fail:
9883 return NULL;
9884 }
9885
9886
9887 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9888 PyObject *resultobj;
9889 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9890 wxColour *result;
9891 PyObject * obj0 = 0 ;
9892 char *kwnames[] = {
9893 (char *) "self", NULL
9894 };
9895
9896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
9897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9899 {
9900 PyThreadState* __tstate = wxPyBeginAllowThreads();
9901 {
9902 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
9903 result = (wxColour *) &_result_ref;
9904 }
9905
9906 wxPyEndAllowThreads(__tstate);
9907 if (PyErr_Occurred()) SWIG_fail;
9908 }
9909 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9910 return resultobj;
9911 fail:
9912 return NULL;
9913 }
9914
9915
9916 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9917 PyObject *resultobj;
9918 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9919 size_t arg2 ;
9920 PyObject * obj0 = 0 ;
9921 PyObject * obj1 = 0 ;
9922 char *kwnames[] = {
9923 (char *) "self",(char *) "count", NULL
9924 };
9925
9926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9929 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9930 if (PyErr_Occurred()) SWIG_fail;
9931 {
9932 PyThreadState* __tstate = wxPyBeginAllowThreads();
9933 (arg1)->SetItemCount(arg2);
9934
9935 wxPyEndAllowThreads(__tstate);
9936 if (PyErr_Occurred()) SWIG_fail;
9937 }
9938 Py_INCREF(Py_None); resultobj = Py_None;
9939 return resultobj;
9940 fail:
9941 return NULL;
9942 }
9943
9944
9945 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
9946 PyObject *resultobj;
9947 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9948 PyObject * obj0 = 0 ;
9949 char *kwnames[] = {
9950 (char *) "self", NULL
9951 };
9952
9953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
9954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9956 {
9957 PyThreadState* __tstate = wxPyBeginAllowThreads();
9958 (arg1)->Clear();
9959
9960 wxPyEndAllowThreads(__tstate);
9961 if (PyErr_Occurred()) SWIG_fail;
9962 }
9963 Py_INCREF(Py_None); resultobj = Py_None;
9964 return resultobj;
9965 fail:
9966 return NULL;
9967 }
9968
9969
9970 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9971 PyObject *resultobj;
9972 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9973 int arg2 ;
9974 PyObject * obj0 = 0 ;
9975 PyObject * obj1 = 0 ;
9976 char *kwnames[] = {
9977 (char *) "self",(char *) "selection", NULL
9978 };
9979
9980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
9981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9983 arg2 = (int) SWIG_AsInt(obj1);
9984 if (PyErr_Occurred()) SWIG_fail;
9985 {
9986 PyThreadState* __tstate = wxPyBeginAllowThreads();
9987 (arg1)->SetSelection(arg2);
9988
9989 wxPyEndAllowThreads(__tstate);
9990 if (PyErr_Occurred()) SWIG_fail;
9991 }
9992 Py_INCREF(Py_None); resultobj = Py_None;
9993 return resultobj;
9994 fail:
9995 return NULL;
9996 }
9997
9998
9999 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
10000 PyObject *resultobj;
10001 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10002 size_t arg2 ;
10003 bool arg3 = (bool) True ;
10004 bool result;
10005 PyObject * obj0 = 0 ;
10006 PyObject * obj1 = 0 ;
10007 PyObject * obj2 = 0 ;
10008 char *kwnames[] = {
10009 (char *) "self",(char *) "item",(char *) "select", NULL
10010 };
10011
10012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
10013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10015 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10016 if (PyErr_Occurred()) SWIG_fail;
10017 if (obj2) {
10018 arg3 = (bool) SWIG_AsBool(obj2);
10019 if (PyErr_Occurred()) SWIG_fail;
10020 }
10021 {
10022 PyThreadState* __tstate = wxPyBeginAllowThreads();
10023 result = (bool)(arg1)->Select(arg2,arg3);
10024
10025 wxPyEndAllowThreads(__tstate);
10026 if (PyErr_Occurred()) SWIG_fail;
10027 }
10028 {
10029 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10030 }
10031 return resultobj;
10032 fail:
10033 return NULL;
10034 }
10035
10036
10037 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10038 PyObject *resultobj;
10039 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10040 size_t arg2 ;
10041 size_t arg3 ;
10042 bool result;
10043 PyObject * obj0 = 0 ;
10044 PyObject * obj1 = 0 ;
10045 PyObject * obj2 = 0 ;
10046 char *kwnames[] = {
10047 (char *) "self",(char *) "from",(char *) "to", NULL
10048 };
10049
10050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10053 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10054 if (PyErr_Occurred()) SWIG_fail;
10055 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
10056 if (PyErr_Occurred()) SWIG_fail;
10057 {
10058 PyThreadState* __tstate = wxPyBeginAllowThreads();
10059 result = (bool)(arg1)->SelectRange(arg2,arg3);
10060
10061 wxPyEndAllowThreads(__tstate);
10062 if (PyErr_Occurred()) SWIG_fail;
10063 }
10064 {
10065 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10066 }
10067 return resultobj;
10068 fail:
10069 return NULL;
10070 }
10071
10072
10073 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
10074 PyObject *resultobj;
10075 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10076 size_t arg2 ;
10077 PyObject * obj0 = 0 ;
10078 PyObject * obj1 = 0 ;
10079 char *kwnames[] = {
10080 (char *) "self",(char *) "item", NULL
10081 };
10082
10083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
10084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10086 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10087 if (PyErr_Occurred()) SWIG_fail;
10088 {
10089 PyThreadState* __tstate = wxPyBeginAllowThreads();
10090 (arg1)->Toggle(arg2);
10091
10092 wxPyEndAllowThreads(__tstate);
10093 if (PyErr_Occurred()) SWIG_fail;
10094 }
10095 Py_INCREF(Py_None); resultobj = Py_None;
10096 return resultobj;
10097 fail:
10098 return NULL;
10099 }
10100
10101
10102 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10103 PyObject *resultobj;
10104 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10105 bool result;
10106 PyObject * obj0 = 0 ;
10107 char *kwnames[] = {
10108 (char *) "self", NULL
10109 };
10110
10111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10114 {
10115 PyThreadState* __tstate = wxPyBeginAllowThreads();
10116 result = (bool)(arg1)->SelectAll();
10117
10118 wxPyEndAllowThreads(__tstate);
10119 if (PyErr_Occurred()) SWIG_fail;
10120 }
10121 {
10122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10123 }
10124 return resultobj;
10125 fail:
10126 return NULL;
10127 }
10128
10129
10130 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10131 PyObject *resultobj;
10132 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10133 bool result;
10134 PyObject * obj0 = 0 ;
10135 char *kwnames[] = {
10136 (char *) "self", NULL
10137 };
10138
10139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10142 {
10143 PyThreadState* __tstate = wxPyBeginAllowThreads();
10144 result = (bool)(arg1)->DeselectAll();
10145
10146 wxPyEndAllowThreads(__tstate);
10147 if (PyErr_Occurred()) SWIG_fail;
10148 }
10149 {
10150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10151 }
10152 return resultobj;
10153 fail:
10154 return NULL;
10155 }
10156
10157
10158 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10159 PyObject *resultobj;
10160 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10161 wxPoint *arg2 = 0 ;
10162 wxPoint temp2 ;
10163 PyObject * obj0 = 0 ;
10164 PyObject * obj1 = 0 ;
10165 char *kwnames[] = {
10166 (char *) "self",(char *) "pt", NULL
10167 };
10168
10169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10172 {
10173 arg2 = &temp2;
10174 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10175 }
10176 {
10177 PyThreadState* __tstate = wxPyBeginAllowThreads();
10178 (arg1)->SetMargins((wxPoint const &)*arg2);
10179
10180 wxPyEndAllowThreads(__tstate);
10181 if (PyErr_Occurred()) SWIG_fail;
10182 }
10183 Py_INCREF(Py_None); resultobj = Py_None;
10184 return resultobj;
10185 fail:
10186 return NULL;
10187 }
10188
10189
10190 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
10191 PyObject *resultobj;
10192 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10193 int arg2 ;
10194 int arg3 ;
10195 PyObject * obj0 = 0 ;
10196 PyObject * obj1 = 0 ;
10197 PyObject * obj2 = 0 ;
10198 char *kwnames[] = {
10199 (char *) "self",(char *) "x",(char *) "y", NULL
10200 };
10201
10202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10205 arg2 = (int) SWIG_AsInt(obj1);
10206 if (PyErr_Occurred()) SWIG_fail;
10207 arg3 = (int) SWIG_AsInt(obj2);
10208 if (PyErr_Occurred()) SWIG_fail;
10209 {
10210 PyThreadState* __tstate = wxPyBeginAllowThreads();
10211 (arg1)->SetMargins(arg2,arg3);
10212
10213 wxPyEndAllowThreads(__tstate);
10214 if (PyErr_Occurred()) SWIG_fail;
10215 }
10216 Py_INCREF(Py_None); resultobj = Py_None;
10217 return resultobj;
10218 fail:
10219 return NULL;
10220 }
10221
10222
10223 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10224 PyObject *resultobj;
10225 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10226 wxColour *arg2 = 0 ;
10227 wxColour temp2 ;
10228 PyObject * obj0 = 0 ;
10229 PyObject * obj1 = 0 ;
10230 char *kwnames[] = {
10231 (char *) "self",(char *) "col", NULL
10232 };
10233
10234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10237 {
10238 arg2 = &temp2;
10239 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10240 }
10241 {
10242 PyThreadState* __tstate = wxPyBeginAllowThreads();
10243 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10244
10245 wxPyEndAllowThreads(__tstate);
10246 if (PyErr_Occurred()) SWIG_fail;
10247 }
10248 Py_INCREF(Py_None); resultobj = Py_None;
10249 return resultobj;
10250 fail:
10251 return NULL;
10252 }
10253
10254
10255 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
10256 PyObject *obj;
10257 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10258 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10259 Py_INCREF(obj);
10260 return Py_BuildValue((char *)"");
10261 }
10262 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10263 PyObject *resultobj;
10264 wxWindow *arg1 = (wxWindow *) 0 ;
10265 int arg2 = (int) wxID_ANY ;
10266 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10267 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10268 wxSize const &arg4_defvalue = wxDefaultSize ;
10269 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10270 long arg5 = (long) 0 ;
10271 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10272 wxString *arg6 = (wxString *) &arg6_defvalue ;
10273 wxPyHtmlListBox *result;
10274 wxPoint temp3 ;
10275 wxSize temp4 ;
10276 bool temp6 = False ;
10277 PyObject * obj0 = 0 ;
10278 PyObject * obj1 = 0 ;
10279 PyObject * obj2 = 0 ;
10280 PyObject * obj3 = 0 ;
10281 PyObject * obj4 = 0 ;
10282 PyObject * obj5 = 0 ;
10283 char *kwnames[] = {
10284 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10285 };
10286
10287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10290 if (obj1) {
10291 arg2 = (int) SWIG_AsInt(obj1);
10292 if (PyErr_Occurred()) SWIG_fail;
10293 }
10294 if (obj2) {
10295 {
10296 arg3 = &temp3;
10297 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10298 }
10299 }
10300 if (obj3) {
10301 {
10302 arg4 = &temp4;
10303 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10304 }
10305 }
10306 if (obj4) {
10307 arg5 = (long) SWIG_AsLong(obj4);
10308 if (PyErr_Occurred()) SWIG_fail;
10309 }
10310 if (obj5) {
10311 {
10312 arg6 = wxString_in_helper(obj5);
10313 if (arg6 == NULL) SWIG_fail;
10314 temp6 = True;
10315 }
10316 }
10317 {
10318 PyThreadState* __tstate = wxPyBeginAllowThreads();
10319 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10320
10321 wxPyEndAllowThreads(__tstate);
10322 if (PyErr_Occurred()) SWIG_fail;
10323 }
10324 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10325 {
10326 if (temp6)
10327 delete arg6;
10328 }
10329 return resultobj;
10330 fail:
10331 {
10332 if (temp6)
10333 delete arg6;
10334 }
10335 return NULL;
10336 }
10337
10338
10339 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10340 PyObject *resultobj;
10341 wxPyHtmlListBox *result;
10342 char *kwnames[] = {
10343 NULL
10344 };
10345
10346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10347 {
10348 PyThreadState* __tstate = wxPyBeginAllowThreads();
10349 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10350
10351 wxPyEndAllowThreads(__tstate);
10352 if (PyErr_Occurred()) SWIG_fail;
10353 }
10354 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10355 return resultobj;
10356 fail:
10357 return NULL;
10358 }
10359
10360
10361 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10362 PyObject *resultobj;
10363 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10364 PyObject *arg2 = (PyObject *) 0 ;
10365 PyObject *arg3 = (PyObject *) 0 ;
10366 PyObject * obj0 = 0 ;
10367 PyObject * obj1 = 0 ;
10368 PyObject * obj2 = 0 ;
10369 char *kwnames[] = {
10370 (char *) "self",(char *) "self",(char *) "_class", NULL
10371 };
10372
10373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10376 arg2 = obj1;
10377 arg3 = obj2;
10378 {
10379 PyThreadState* __tstate = wxPyBeginAllowThreads();
10380 (arg1)->_setCallbackInfo(arg2,arg3);
10381
10382 wxPyEndAllowThreads(__tstate);
10383 if (PyErr_Occurred()) SWIG_fail;
10384 }
10385 Py_INCREF(Py_None); resultobj = Py_None;
10386 return resultobj;
10387 fail:
10388 return NULL;
10389 }
10390
10391
10392 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10393 PyObject *resultobj;
10394 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10395 wxWindow *arg2 = (wxWindow *) 0 ;
10396 int arg3 = (int) wxID_ANY ;
10397 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10398 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10399 wxSize const &arg5_defvalue = wxDefaultSize ;
10400 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10401 long arg6 = (long) 0 ;
10402 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10403 wxString *arg7 = (wxString *) &arg7_defvalue ;
10404 bool result;
10405 wxPoint temp4 ;
10406 wxSize temp5 ;
10407 bool temp7 = False ;
10408 PyObject * obj0 = 0 ;
10409 PyObject * obj1 = 0 ;
10410 PyObject * obj2 = 0 ;
10411 PyObject * obj3 = 0 ;
10412 PyObject * obj4 = 0 ;
10413 PyObject * obj5 = 0 ;
10414 PyObject * obj6 = 0 ;
10415 char *kwnames[] = {
10416 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10417 };
10418
10419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10422 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10424 if (obj2) {
10425 arg3 = (int) SWIG_AsInt(obj2);
10426 if (PyErr_Occurred()) SWIG_fail;
10427 }
10428 if (obj3) {
10429 {
10430 arg4 = &temp4;
10431 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10432 }
10433 }
10434 if (obj4) {
10435 {
10436 arg5 = &temp5;
10437 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10438 }
10439 }
10440 if (obj5) {
10441 arg6 = (long) SWIG_AsLong(obj5);
10442 if (PyErr_Occurred()) SWIG_fail;
10443 }
10444 if (obj6) {
10445 {
10446 arg7 = wxString_in_helper(obj6);
10447 if (arg7 == NULL) SWIG_fail;
10448 temp7 = True;
10449 }
10450 }
10451 {
10452 PyThreadState* __tstate = wxPyBeginAllowThreads();
10453 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10454
10455 wxPyEndAllowThreads(__tstate);
10456 if (PyErr_Occurred()) SWIG_fail;
10457 }
10458 {
10459 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10460 }
10461 {
10462 if (temp7)
10463 delete arg7;
10464 }
10465 return resultobj;
10466 fail:
10467 {
10468 if (temp7)
10469 delete arg7;
10470 }
10471 return NULL;
10472 }
10473
10474
10475 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10476 PyObject *resultobj;
10477 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10478 PyObject * obj0 = 0 ;
10479 char *kwnames[] = {
10480 (char *) "self", NULL
10481 };
10482
10483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10486 {
10487 PyThreadState* __tstate = wxPyBeginAllowThreads();
10488 (arg1)->RefreshAll();
10489
10490 wxPyEndAllowThreads(__tstate);
10491 if (PyErr_Occurred()) SWIG_fail;
10492 }
10493 Py_INCREF(Py_None); resultobj = Py_None;
10494 return resultobj;
10495 fail:
10496 return NULL;
10497 }
10498
10499
10500 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10501 PyObject *resultobj;
10502 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10503 size_t arg2 ;
10504 PyObject * obj0 = 0 ;
10505 PyObject * obj1 = 0 ;
10506 char *kwnames[] = {
10507 (char *) "self",(char *) "count", NULL
10508 };
10509
10510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10513 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10514 if (PyErr_Occurred()) SWIG_fail;
10515 {
10516 PyThreadState* __tstate = wxPyBeginAllowThreads();
10517 (arg1)->SetItemCount(arg2);
10518
10519 wxPyEndAllowThreads(__tstate);
10520 if (PyErr_Occurred()) SWIG_fail;
10521 }
10522 Py_INCREF(Py_None); resultobj = Py_None;
10523 return resultobj;
10524 fail:
10525 return NULL;
10526 }
10527
10528
10529 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
10530 PyObject *obj;
10531 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10532 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
10533 Py_INCREF(obj);
10534 return Py_BuildValue((char *)"");
10535 }
10536 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10537 PyObject *resultobj;
10538 wxTaskBarIcon *result;
10539 char *kwnames[] = {
10540 NULL
10541 };
10542
10543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
10544 {
10545 PyThreadState* __tstate = wxPyBeginAllowThreads();
10546 result = (wxTaskBarIcon *)new wxTaskBarIcon();
10547
10548 wxPyEndAllowThreads(__tstate);
10549 if (PyErr_Occurred()) SWIG_fail;
10550 }
10551 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
10552 return resultobj;
10553 fail:
10554 return NULL;
10555 }
10556
10557
10558 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10559 PyObject *resultobj;
10560 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10561 PyObject * obj0 = 0 ;
10562 char *kwnames[] = {
10563 (char *) "self", NULL
10564 };
10565
10566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
10567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10569 {
10570 PyThreadState* __tstate = wxPyBeginAllowThreads();
10571 delete arg1;
10572
10573 wxPyEndAllowThreads(__tstate);
10574 if (PyErr_Occurred()) SWIG_fail;
10575 }
10576 Py_INCREF(Py_None); resultobj = Py_None;
10577 return resultobj;
10578 fail:
10579 return NULL;
10580 }
10581
10582
10583 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
10584 PyObject *resultobj;
10585 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10586 bool result;
10587 PyObject * obj0 = 0 ;
10588 char *kwnames[] = {
10589 (char *) "self", NULL
10590 };
10591
10592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
10593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10595 {
10596 PyThreadState* __tstate = wxPyBeginAllowThreads();
10597 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
10598
10599 wxPyEndAllowThreads(__tstate);
10600 if (PyErr_Occurred()) SWIG_fail;
10601 }
10602 {
10603 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10604 }
10605 return resultobj;
10606 fail:
10607 return NULL;
10608 }
10609
10610
10611 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
10612 PyObject *resultobj;
10613 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10614 bool result;
10615 PyObject * obj0 = 0 ;
10616 char *kwnames[] = {
10617 (char *) "self", NULL
10618 };
10619
10620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
10621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10623 {
10624 PyThreadState* __tstate = wxPyBeginAllowThreads();
10625 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
10626
10627 wxPyEndAllowThreads(__tstate);
10628 if (PyErr_Occurred()) SWIG_fail;
10629 }
10630 {
10631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10632 }
10633 return resultobj;
10634 fail:
10635 return NULL;
10636 }
10637
10638
10639 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10640 PyObject *resultobj;
10641 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10642 wxIcon *arg2 = 0 ;
10643 wxString const &arg3_defvalue = wxPyEmptyString ;
10644 wxString *arg3 = (wxString *) &arg3_defvalue ;
10645 bool result;
10646 bool temp3 = False ;
10647 PyObject * obj0 = 0 ;
10648 PyObject * obj1 = 0 ;
10649 PyObject * obj2 = 0 ;
10650 char *kwnames[] = {
10651 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10652 };
10653
10654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
10655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10657 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
10658 SWIG_POINTER_EXCEPTION | 0)) == -1)
10659 SWIG_fail;
10660 if (arg2 == NULL) {
10661 PyErr_SetString(PyExc_TypeError,"null reference");
10662 SWIG_fail;
10663 }
10664 if (obj2) {
10665 {
10666 arg3 = wxString_in_helper(obj2);
10667 if (arg3 == NULL) SWIG_fail;
10668 temp3 = True;
10669 }
10670 }
10671 {
10672 PyThreadState* __tstate = wxPyBeginAllowThreads();
10673 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
10674
10675 wxPyEndAllowThreads(__tstate);
10676 if (PyErr_Occurred()) SWIG_fail;
10677 }
10678 {
10679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10680 }
10681 {
10682 if (temp3)
10683 delete arg3;
10684 }
10685 return resultobj;
10686 fail:
10687 {
10688 if (temp3)
10689 delete arg3;
10690 }
10691 return NULL;
10692 }
10693
10694
10695 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10696 PyObject *resultobj;
10697 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10698 bool result;
10699 PyObject * obj0 = 0 ;
10700 char *kwnames[] = {
10701 (char *) "self", NULL
10702 };
10703
10704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
10705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10707 {
10708 PyThreadState* __tstate = wxPyBeginAllowThreads();
10709 result = (bool)(arg1)->RemoveIcon();
10710
10711 wxPyEndAllowThreads(__tstate);
10712 if (PyErr_Occurred()) SWIG_fail;
10713 }
10714 {
10715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10716 }
10717 return resultobj;
10718 fail:
10719 return NULL;
10720 }
10721
10722
10723 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10724 PyObject *resultobj;
10725 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10726 wxMenu *arg2 = (wxMenu *) 0 ;
10727 bool result;
10728 PyObject * obj0 = 0 ;
10729 PyObject * obj1 = 0 ;
10730 char *kwnames[] = {
10731 (char *) "self",(char *) "menu", NULL
10732 };
10733
10734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
10735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10737 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
10738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10739 {
10740 PyThreadState* __tstate = wxPyBeginAllowThreads();
10741 result = (bool)(arg1)->PopupMenu(arg2);
10742
10743 wxPyEndAllowThreads(__tstate);
10744 if (PyErr_Occurred()) SWIG_fail;
10745 }
10746 {
10747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10748 }
10749 return resultobj;
10750 fail:
10751 return NULL;
10752 }
10753
10754
10755 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
10756 PyObject *obj;
10757 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10758 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
10759 Py_INCREF(obj);
10760 return Py_BuildValue((char *)"");
10761 }
10762 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10763 PyObject *resultobj;
10764 wxEventType arg1 ;
10765 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
10766 wxTaskBarIconEvent *result;
10767 PyObject * obj0 = 0 ;
10768 PyObject * obj1 = 0 ;
10769 char *kwnames[] = {
10770 (char *) "evtType",(char *) "tbIcon", NULL
10771 };
10772
10773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
10774 arg1 = (wxEventType) SWIG_AsInt(obj0);
10775 if (PyErr_Occurred()) SWIG_fail;
10776 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
10777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10778 {
10779 PyThreadState* __tstate = wxPyBeginAllowThreads();
10780 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
10781
10782 wxPyEndAllowThreads(__tstate);
10783 if (PyErr_Occurred()) SWIG_fail;
10784 }
10785 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
10786 return resultobj;
10787 fail:
10788 return NULL;
10789 }
10790
10791
10792 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
10793 PyObject *obj;
10794 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10795 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
10796 Py_INCREF(obj);
10797 return Py_BuildValue((char *)"");
10798 }
10799 static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
10800 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
10801 return 1;
10802 }
10803
10804
10805 static PyObject *_wrap_FileSelectorPromptStr_get() {
10806 PyObject *pyobj;
10807
10808 {
10809 #if wxUSE_UNICODE
10810 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10811 #else
10812 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10813 #endif
10814 }
10815 return pyobj;
10816 }
10817
10818
10819 static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
10820 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
10821 return 1;
10822 }
10823
10824
10825 static PyObject *_wrap_DirSelectorPromptStr_get() {
10826 PyObject *pyobj;
10827
10828 {
10829 #if wxUSE_UNICODE
10830 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10831 #else
10832 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10833 #endif
10834 }
10835 return pyobj;
10836 }
10837
10838
10839 static int _wrap_DirDialogNameStr_set(PyObject *_val) {
10840 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
10841 return 1;
10842 }
10843
10844
10845 static PyObject *_wrap_DirDialogNameStr_get() {
10846 PyObject *pyobj;
10847
10848 {
10849 #if wxUSE_UNICODE
10850 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10851 #else
10852 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10853 #endif
10854 }
10855 return pyobj;
10856 }
10857
10858
10859 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
10860 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
10861 return 1;
10862 }
10863
10864
10865 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
10866 PyObject *pyobj;
10867
10868 {
10869 #if wxUSE_UNICODE
10870 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10871 #else
10872 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10873 #endif
10874 }
10875 return pyobj;
10876 }
10877
10878
10879 static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) {
10880 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
10881 return 1;
10882 }
10883
10884
10885 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
10886 PyObject *pyobj;
10887
10888 {
10889 #if wxUSE_UNICODE
10890 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10891 #else
10892 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10893 #endif
10894 }
10895 return pyobj;
10896 }
10897
10898
10899 static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) {
10900 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
10901 return 1;
10902 }
10903
10904
10905 static PyObject *_wrap_MessageBoxCaptionStr_get() {
10906 PyObject *pyobj;
10907
10908 {
10909 #if wxUSE_UNICODE
10910 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10911 #else
10912 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10913 #endif
10914 }
10915 return pyobj;
10916 }
10917
10918
10919 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10920 PyObject *resultobj;
10921 wxColourData *result;
10922 char *kwnames[] = {
10923 NULL
10924 };
10925
10926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
10927 {
10928 PyThreadState* __tstate = wxPyBeginAllowThreads();
10929 result = (wxColourData *)new wxColourData();
10930
10931 wxPyEndAllowThreads(__tstate);
10932 if (PyErr_Occurred()) SWIG_fail;
10933 }
10934 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
10935 return resultobj;
10936 fail:
10937 return NULL;
10938 }
10939
10940
10941 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10942 PyObject *resultobj;
10943 wxColourData *arg1 = (wxColourData *) 0 ;
10944 PyObject * obj0 = 0 ;
10945 char *kwnames[] = {
10946 (char *) "self", NULL
10947 };
10948
10949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
10950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10952 {
10953 PyThreadState* __tstate = wxPyBeginAllowThreads();
10954 delete arg1;
10955
10956 wxPyEndAllowThreads(__tstate);
10957 if (PyErr_Occurred()) SWIG_fail;
10958 }
10959 Py_INCREF(Py_None); resultobj = Py_None;
10960 return resultobj;
10961 fail:
10962 return NULL;
10963 }
10964
10965
10966 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
10967 PyObject *resultobj;
10968 wxColourData *arg1 = (wxColourData *) 0 ;
10969 bool result;
10970 PyObject * obj0 = 0 ;
10971 char *kwnames[] = {
10972 (char *) "self", NULL
10973 };
10974
10975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
10976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10978 {
10979 PyThreadState* __tstate = wxPyBeginAllowThreads();
10980 result = (bool)(arg1)->GetChooseFull();
10981
10982 wxPyEndAllowThreads(__tstate);
10983 if (PyErr_Occurred()) SWIG_fail;
10984 }
10985 {
10986 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10987 }
10988 return resultobj;
10989 fail:
10990 return NULL;
10991 }
10992
10993
10994 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10995 PyObject *resultobj;
10996 wxColourData *arg1 = (wxColourData *) 0 ;
10997 wxColour result;
10998 PyObject * obj0 = 0 ;
10999 char *kwnames[] = {
11000 (char *) "self", NULL
11001 };
11002
11003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
11004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11006 {
11007 PyThreadState* __tstate = wxPyBeginAllowThreads();
11008 result = (arg1)->GetColour();
11009
11010 wxPyEndAllowThreads(__tstate);
11011 if (PyErr_Occurred()) SWIG_fail;
11012 }
11013 {
11014 wxColour * resultptr;
11015 resultptr = new wxColour((wxColour &) result);
11016 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11017 }
11018 return resultobj;
11019 fail:
11020 return NULL;
11021 }
11022
11023
11024 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11025 PyObject *resultobj;
11026 wxColourData *arg1 = (wxColourData *) 0 ;
11027 int arg2 ;
11028 wxColour result;
11029 PyObject * obj0 = 0 ;
11030 PyObject * obj1 = 0 ;
11031 char *kwnames[] = {
11032 (char *) "self",(char *) "i", NULL
11033 };
11034
11035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
11036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11038 arg2 = (int) SWIG_AsInt(obj1);
11039 if (PyErr_Occurred()) SWIG_fail;
11040 {
11041 PyThreadState* __tstate = wxPyBeginAllowThreads();
11042 result = (arg1)->GetCustomColour(arg2);
11043
11044 wxPyEndAllowThreads(__tstate);
11045 if (PyErr_Occurred()) SWIG_fail;
11046 }
11047 {
11048 wxColour * resultptr;
11049 resultptr = new wxColour((wxColour &) result);
11050 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11051 }
11052 return resultobj;
11053 fail:
11054 return NULL;
11055 }
11056
11057
11058 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11059 PyObject *resultobj;
11060 wxColourData *arg1 = (wxColourData *) 0 ;
11061 int arg2 ;
11062 PyObject * obj0 = 0 ;
11063 PyObject * obj1 = 0 ;
11064 char *kwnames[] = {
11065 (char *) "self",(char *) "flag", NULL
11066 };
11067
11068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
11069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11071 arg2 = (int) SWIG_AsInt(obj1);
11072 if (PyErr_Occurred()) SWIG_fail;
11073 {
11074 PyThreadState* __tstate = wxPyBeginAllowThreads();
11075 (arg1)->SetChooseFull(arg2);
11076
11077 wxPyEndAllowThreads(__tstate);
11078 if (PyErr_Occurred()) SWIG_fail;
11079 }
11080 Py_INCREF(Py_None); resultobj = Py_None;
11081 return resultobj;
11082 fail:
11083 return NULL;
11084 }
11085
11086
11087 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11088 PyObject *resultobj;
11089 wxColourData *arg1 = (wxColourData *) 0 ;
11090 wxColour *arg2 = 0 ;
11091 wxColour temp2 ;
11092 PyObject * obj0 = 0 ;
11093 PyObject * obj1 = 0 ;
11094 char *kwnames[] = {
11095 (char *) "self",(char *) "colour", NULL
11096 };
11097
11098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11101 {
11102 arg2 = &temp2;
11103 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11104 }
11105 {
11106 PyThreadState* __tstate = wxPyBeginAllowThreads();
11107 (arg1)->SetColour((wxColour const &)*arg2);
11108
11109 wxPyEndAllowThreads(__tstate);
11110 if (PyErr_Occurred()) SWIG_fail;
11111 }
11112 Py_INCREF(Py_None); resultobj = Py_None;
11113 return resultobj;
11114 fail:
11115 return NULL;
11116 }
11117
11118
11119 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11120 PyObject *resultobj;
11121 wxColourData *arg1 = (wxColourData *) 0 ;
11122 int arg2 ;
11123 wxColour *arg3 = 0 ;
11124 wxColour temp3 ;
11125 PyObject * obj0 = 0 ;
11126 PyObject * obj1 = 0 ;
11127 PyObject * obj2 = 0 ;
11128 char *kwnames[] = {
11129 (char *) "self",(char *) "i",(char *) "colour", NULL
11130 };
11131
11132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11135 arg2 = (int) SWIG_AsInt(obj1);
11136 if (PyErr_Occurred()) SWIG_fail;
11137 {
11138 arg3 = &temp3;
11139 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11140 }
11141 {
11142 PyThreadState* __tstate = wxPyBeginAllowThreads();
11143 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11144
11145 wxPyEndAllowThreads(__tstate);
11146 if (PyErr_Occurred()) SWIG_fail;
11147 }
11148 Py_INCREF(Py_None); resultobj = Py_None;
11149 return resultobj;
11150 fail:
11151 return NULL;
11152 }
11153
11154
11155 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
11156 PyObject *obj;
11157 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11158 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11159 Py_INCREF(obj);
11160 return Py_BuildValue((char *)"");
11161 }
11162 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11163 PyObject *resultobj;
11164 wxWindow *arg1 = (wxWindow *) 0 ;
11165 wxColourData *arg2 = (wxColourData *) NULL ;
11166 wxColourDialog *result;
11167 PyObject * obj0 = 0 ;
11168 PyObject * obj1 = 0 ;
11169 char *kwnames[] = {
11170 (char *) "parent",(char *) "data", NULL
11171 };
11172
11173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
11174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11176 if (obj1) {
11177 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11179 }
11180 {
11181 PyThreadState* __tstate = wxPyBeginAllowThreads();
11182 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11183
11184 wxPyEndAllowThreads(__tstate);
11185 if (PyErr_Occurred()) SWIG_fail;
11186 }
11187 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
11188 return resultobj;
11189 fail:
11190 return NULL;
11191 }
11192
11193
11194 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11195 PyObject *resultobj;
11196 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11197 wxColourData *result;
11198 PyObject * obj0 = 0 ;
11199 char *kwnames[] = {
11200 (char *) "self", NULL
11201 };
11202
11203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
11204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11206 {
11207 PyThreadState* __tstate = wxPyBeginAllowThreads();
11208 {
11209 wxColourData &_result_ref = (arg1)->GetColourData();
11210 result = (wxColourData *) &_result_ref;
11211 }
11212
11213 wxPyEndAllowThreads(__tstate);
11214 if (PyErr_Occurred()) SWIG_fail;
11215 }
11216 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
11217 return resultobj;
11218 fail:
11219 return NULL;
11220 }
11221
11222
11223 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
11224 PyObject *obj;
11225 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11226 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11227 Py_INCREF(obj);
11228 return Py_BuildValue((char *)"");
11229 }
11230 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11231 PyObject *resultobj;
11232 wxWindow *arg1 = (wxWindow *) 0 ;
11233 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11234 wxString *arg2 = (wxString *) &arg2_defvalue ;
11235 wxString const &arg3_defvalue = wxPyEmptyString ;
11236 wxString *arg3 = (wxString *) &arg3_defvalue ;
11237 long arg4 = (long) 0 ;
11238 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11239 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11240 wxSize const &arg6_defvalue = wxDefaultSize ;
11241 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11242 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11243 wxString *arg7 = (wxString *) &arg7_defvalue ;
11244 wxDirDialog *result;
11245 bool temp2 = False ;
11246 bool temp3 = False ;
11247 wxPoint temp5 ;
11248 wxSize temp6 ;
11249 bool temp7 = False ;
11250 PyObject * obj0 = 0 ;
11251 PyObject * obj1 = 0 ;
11252 PyObject * obj2 = 0 ;
11253 PyObject * obj3 = 0 ;
11254 PyObject * obj4 = 0 ;
11255 PyObject * obj5 = 0 ;
11256 PyObject * obj6 = 0 ;
11257 char *kwnames[] = {
11258 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11259 };
11260
11261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11264 if (obj1) {
11265 {
11266 arg2 = wxString_in_helper(obj1);
11267 if (arg2 == NULL) SWIG_fail;
11268 temp2 = True;
11269 }
11270 }
11271 if (obj2) {
11272 {
11273 arg3 = wxString_in_helper(obj2);
11274 if (arg3 == NULL) SWIG_fail;
11275 temp3 = True;
11276 }
11277 }
11278 if (obj3) {
11279 arg4 = (long) SWIG_AsLong(obj3);
11280 if (PyErr_Occurred()) SWIG_fail;
11281 }
11282 if (obj4) {
11283 {
11284 arg5 = &temp5;
11285 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11286 }
11287 }
11288 if (obj5) {
11289 {
11290 arg6 = &temp6;
11291 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11292 }
11293 }
11294 if (obj6) {
11295 {
11296 arg7 = wxString_in_helper(obj6);
11297 if (arg7 == NULL) SWIG_fail;
11298 temp7 = True;
11299 }
11300 }
11301 {
11302 PyThreadState* __tstate = wxPyBeginAllowThreads();
11303 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11304
11305 wxPyEndAllowThreads(__tstate);
11306 if (PyErr_Occurred()) SWIG_fail;
11307 }
11308 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
11309 {
11310 if (temp2)
11311 delete arg2;
11312 }
11313 {
11314 if (temp3)
11315 delete arg3;
11316 }
11317 {
11318 if (temp7)
11319 delete arg7;
11320 }
11321 return resultobj;
11322 fail:
11323 {
11324 if (temp2)
11325 delete arg2;
11326 }
11327 {
11328 if (temp3)
11329 delete arg3;
11330 }
11331 {
11332 if (temp7)
11333 delete arg7;
11334 }
11335 return NULL;
11336 }
11337
11338
11339 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11340 PyObject *resultobj;
11341 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11342 wxString result;
11343 PyObject * obj0 = 0 ;
11344 char *kwnames[] = {
11345 (char *) "self", NULL
11346 };
11347
11348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
11349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11351 {
11352 PyThreadState* __tstate = wxPyBeginAllowThreads();
11353 result = (arg1)->GetPath();
11354
11355 wxPyEndAllowThreads(__tstate);
11356 if (PyErr_Occurred()) SWIG_fail;
11357 }
11358 {
11359 #if wxUSE_UNICODE
11360 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11361 #else
11362 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11363 #endif
11364 }
11365 return resultobj;
11366 fail:
11367 return NULL;
11368 }
11369
11370
11371 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11372 PyObject *resultobj;
11373 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11374 wxString result;
11375 PyObject * obj0 = 0 ;
11376 char *kwnames[] = {
11377 (char *) "self", NULL
11378 };
11379
11380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
11381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11383 {
11384 PyThreadState* __tstate = wxPyBeginAllowThreads();
11385 result = (arg1)->GetMessage();
11386
11387 wxPyEndAllowThreads(__tstate);
11388 if (PyErr_Occurred()) SWIG_fail;
11389 }
11390 {
11391 #if wxUSE_UNICODE
11392 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11393 #else
11394 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11395 #endif
11396 }
11397 return resultobj;
11398 fail:
11399 return NULL;
11400 }
11401
11402
11403 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11404 PyObject *resultobj;
11405 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11406 long result;
11407 PyObject * obj0 = 0 ;
11408 char *kwnames[] = {
11409 (char *) "self", NULL
11410 };
11411
11412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
11413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11415 {
11416 PyThreadState* __tstate = wxPyBeginAllowThreads();
11417 result = (long)(arg1)->GetStyle();
11418
11419 wxPyEndAllowThreads(__tstate);
11420 if (PyErr_Occurred()) SWIG_fail;
11421 }
11422 resultobj = SWIG_FromLong((long)result);
11423 return resultobj;
11424 fail:
11425 return NULL;
11426 }
11427
11428
11429 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11430 PyObject *resultobj;
11431 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11432 wxString *arg2 = 0 ;
11433 bool temp2 = False ;
11434 PyObject * obj0 = 0 ;
11435 PyObject * obj1 = 0 ;
11436 char *kwnames[] = {
11437 (char *) "self",(char *) "message", NULL
11438 };
11439
11440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11443 {
11444 arg2 = wxString_in_helper(obj1);
11445 if (arg2 == NULL) SWIG_fail;
11446 temp2 = True;
11447 }
11448 {
11449 PyThreadState* __tstate = wxPyBeginAllowThreads();
11450 (arg1)->SetMessage((wxString const &)*arg2);
11451
11452 wxPyEndAllowThreads(__tstate);
11453 if (PyErr_Occurred()) SWIG_fail;
11454 }
11455 Py_INCREF(Py_None); resultobj = Py_None;
11456 {
11457 if (temp2)
11458 delete arg2;
11459 }
11460 return resultobj;
11461 fail:
11462 {
11463 if (temp2)
11464 delete arg2;
11465 }
11466 return NULL;
11467 }
11468
11469
11470 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11471 PyObject *resultobj;
11472 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11473 wxString *arg2 = 0 ;
11474 bool temp2 = False ;
11475 PyObject * obj0 = 0 ;
11476 PyObject * obj1 = 0 ;
11477 char *kwnames[] = {
11478 (char *) "self",(char *) "path", NULL
11479 };
11480
11481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11484 {
11485 arg2 = wxString_in_helper(obj1);
11486 if (arg2 == NULL) SWIG_fail;
11487 temp2 = True;
11488 }
11489 {
11490 PyThreadState* __tstate = wxPyBeginAllowThreads();
11491 (arg1)->SetPath((wxString const &)*arg2);
11492
11493 wxPyEndAllowThreads(__tstate);
11494 if (PyErr_Occurred()) SWIG_fail;
11495 }
11496 Py_INCREF(Py_None); resultobj = Py_None;
11497 {
11498 if (temp2)
11499 delete arg2;
11500 }
11501 return resultobj;
11502 fail:
11503 {
11504 if (temp2)
11505 delete arg2;
11506 }
11507 return NULL;
11508 }
11509
11510
11511 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
11512 PyObject *obj;
11513 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11514 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
11515 Py_INCREF(obj);
11516 return Py_BuildValue((char *)"");
11517 }
11518 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11519 PyObject *resultobj;
11520 wxWindow *arg1 = (wxWindow *) 0 ;
11521 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
11522 wxString *arg2 = (wxString *) &arg2_defvalue ;
11523 wxString const &arg3_defvalue = wxPyEmptyString ;
11524 wxString *arg3 = (wxString *) &arg3_defvalue ;
11525 wxString const &arg4_defvalue = wxPyEmptyString ;
11526 wxString *arg4 = (wxString *) &arg4_defvalue ;
11527 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
11528 wxString *arg5 = (wxString *) &arg5_defvalue ;
11529 long arg6 = (long) 0 ;
11530 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11531 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11532 wxFileDialog *result;
11533 bool temp2 = False ;
11534 bool temp3 = False ;
11535 bool temp4 = False ;
11536 bool temp5 = False ;
11537 wxPoint temp7 ;
11538 PyObject * obj0 = 0 ;
11539 PyObject * obj1 = 0 ;
11540 PyObject * obj2 = 0 ;
11541 PyObject * obj3 = 0 ;
11542 PyObject * obj4 = 0 ;
11543 PyObject * obj5 = 0 ;
11544 PyObject * obj6 = 0 ;
11545 char *kwnames[] = {
11546 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11547 };
11548
11549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11552 if (obj1) {
11553 {
11554 arg2 = wxString_in_helper(obj1);
11555 if (arg2 == NULL) SWIG_fail;
11556 temp2 = True;
11557 }
11558 }
11559 if (obj2) {
11560 {
11561 arg3 = wxString_in_helper(obj2);
11562 if (arg3 == NULL) SWIG_fail;
11563 temp3 = True;
11564 }
11565 }
11566 if (obj3) {
11567 {
11568 arg4 = wxString_in_helper(obj3);
11569 if (arg4 == NULL) SWIG_fail;
11570 temp4 = True;
11571 }
11572 }
11573 if (obj4) {
11574 {
11575 arg5 = wxString_in_helper(obj4);
11576 if (arg5 == NULL) SWIG_fail;
11577 temp5 = True;
11578 }
11579 }
11580 if (obj5) {
11581 arg6 = (long) SWIG_AsLong(obj5);
11582 if (PyErr_Occurred()) SWIG_fail;
11583 }
11584 if (obj6) {
11585 {
11586 arg7 = &temp7;
11587 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11588 }
11589 }
11590 {
11591 PyThreadState* __tstate = wxPyBeginAllowThreads();
11592 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
11593
11594 wxPyEndAllowThreads(__tstate);
11595 if (PyErr_Occurred()) SWIG_fail;
11596 }
11597 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
11598 {
11599 if (temp2)
11600 delete arg2;
11601 }
11602 {
11603 if (temp3)
11604 delete arg3;
11605 }
11606 {
11607 if (temp4)
11608 delete arg4;
11609 }
11610 {
11611 if (temp5)
11612 delete arg5;
11613 }
11614 return resultobj;
11615 fail:
11616 {
11617 if (temp2)
11618 delete arg2;
11619 }
11620 {
11621 if (temp3)
11622 delete arg3;
11623 }
11624 {
11625 if (temp4)
11626 delete arg4;
11627 }
11628 {
11629 if (temp5)
11630 delete arg5;
11631 }
11632 return NULL;
11633 }
11634
11635
11636 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11637 PyObject *resultobj;
11638 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11639 wxString *arg2 = 0 ;
11640 bool temp2 = False ;
11641 PyObject * obj0 = 0 ;
11642 PyObject * obj1 = 0 ;
11643 char *kwnames[] = {
11644 (char *) "self",(char *) "message", NULL
11645 };
11646
11647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11650 {
11651 arg2 = wxString_in_helper(obj1);
11652 if (arg2 == NULL) SWIG_fail;
11653 temp2 = True;
11654 }
11655 {
11656 PyThreadState* __tstate = wxPyBeginAllowThreads();
11657 (arg1)->SetMessage((wxString const &)*arg2);
11658
11659 wxPyEndAllowThreads(__tstate);
11660 if (PyErr_Occurred()) SWIG_fail;
11661 }
11662 Py_INCREF(Py_None); resultobj = Py_None;
11663 {
11664 if (temp2)
11665 delete arg2;
11666 }
11667 return resultobj;
11668 fail:
11669 {
11670 if (temp2)
11671 delete arg2;
11672 }
11673 return NULL;
11674 }
11675
11676
11677 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11678 PyObject *resultobj;
11679 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11680 wxString *arg2 = 0 ;
11681 bool temp2 = False ;
11682 PyObject * obj0 = 0 ;
11683 PyObject * obj1 = 0 ;
11684 char *kwnames[] = {
11685 (char *) "self",(char *) "path", NULL
11686 };
11687
11688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11691 {
11692 arg2 = wxString_in_helper(obj1);
11693 if (arg2 == NULL) SWIG_fail;
11694 temp2 = True;
11695 }
11696 {
11697 PyThreadState* __tstate = wxPyBeginAllowThreads();
11698 (arg1)->SetPath((wxString const &)*arg2);
11699
11700 wxPyEndAllowThreads(__tstate);
11701 if (PyErr_Occurred()) SWIG_fail;
11702 }
11703 Py_INCREF(Py_None); resultobj = Py_None;
11704 {
11705 if (temp2)
11706 delete arg2;
11707 }
11708 return resultobj;
11709 fail:
11710 {
11711 if (temp2)
11712 delete arg2;
11713 }
11714 return NULL;
11715 }
11716
11717
11718 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11719 PyObject *resultobj;
11720 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11721 wxString *arg2 = 0 ;
11722 bool temp2 = False ;
11723 PyObject * obj0 = 0 ;
11724 PyObject * obj1 = 0 ;
11725 char *kwnames[] = {
11726 (char *) "self",(char *) "dir", NULL
11727 };
11728
11729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
11730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11732 {
11733 arg2 = wxString_in_helper(obj1);
11734 if (arg2 == NULL) SWIG_fail;
11735 temp2 = True;
11736 }
11737 {
11738 PyThreadState* __tstate = wxPyBeginAllowThreads();
11739 (arg1)->SetDirectory((wxString const &)*arg2);
11740
11741 wxPyEndAllowThreads(__tstate);
11742 if (PyErr_Occurred()) SWIG_fail;
11743 }
11744 Py_INCREF(Py_None); resultobj = Py_None;
11745 {
11746 if (temp2)
11747 delete arg2;
11748 }
11749 return resultobj;
11750 fail:
11751 {
11752 if (temp2)
11753 delete arg2;
11754 }
11755 return NULL;
11756 }
11757
11758
11759 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11760 PyObject *resultobj;
11761 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11762 wxString *arg2 = 0 ;
11763 bool temp2 = False ;
11764 PyObject * obj0 = 0 ;
11765 PyObject * obj1 = 0 ;
11766 char *kwnames[] = {
11767 (char *) "self",(char *) "name", NULL
11768 };
11769
11770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
11771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11773 {
11774 arg2 = wxString_in_helper(obj1);
11775 if (arg2 == NULL) SWIG_fail;
11776 temp2 = True;
11777 }
11778 {
11779 PyThreadState* __tstate = wxPyBeginAllowThreads();
11780 (arg1)->SetFilename((wxString const &)*arg2);
11781
11782 wxPyEndAllowThreads(__tstate);
11783 if (PyErr_Occurred()) SWIG_fail;
11784 }
11785 Py_INCREF(Py_None); resultobj = Py_None;
11786 {
11787 if (temp2)
11788 delete arg2;
11789 }
11790 return resultobj;
11791 fail:
11792 {
11793 if (temp2)
11794 delete arg2;
11795 }
11796 return NULL;
11797 }
11798
11799
11800 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11801 PyObject *resultobj;
11802 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11803 wxString *arg2 = 0 ;
11804 bool temp2 = False ;
11805 PyObject * obj0 = 0 ;
11806 PyObject * obj1 = 0 ;
11807 char *kwnames[] = {
11808 (char *) "self",(char *) "wildCard", NULL
11809 };
11810
11811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
11812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11814 {
11815 arg2 = wxString_in_helper(obj1);
11816 if (arg2 == NULL) SWIG_fail;
11817 temp2 = True;
11818 }
11819 {
11820 PyThreadState* __tstate = wxPyBeginAllowThreads();
11821 (arg1)->SetWildcard((wxString const &)*arg2);
11822
11823 wxPyEndAllowThreads(__tstate);
11824 if (PyErr_Occurred()) SWIG_fail;
11825 }
11826 Py_INCREF(Py_None); resultobj = Py_None;
11827 {
11828 if (temp2)
11829 delete arg2;
11830 }
11831 return resultobj;
11832 fail:
11833 {
11834 if (temp2)
11835 delete arg2;
11836 }
11837 return NULL;
11838 }
11839
11840
11841 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11842 PyObject *resultobj;
11843 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11844 long arg2 ;
11845 PyObject * obj0 = 0 ;
11846 PyObject * obj1 = 0 ;
11847 char *kwnames[] = {
11848 (char *) "self",(char *) "style", NULL
11849 };
11850
11851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
11852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11854 arg2 = (long) SWIG_AsLong(obj1);
11855 if (PyErr_Occurred()) SWIG_fail;
11856 {
11857 PyThreadState* __tstate = wxPyBeginAllowThreads();
11858 (arg1)->SetStyle(arg2);
11859
11860 wxPyEndAllowThreads(__tstate);
11861 if (PyErr_Occurred()) SWIG_fail;
11862 }
11863 Py_INCREF(Py_None); resultobj = Py_None;
11864 return resultobj;
11865 fail:
11866 return NULL;
11867 }
11868
11869
11870 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11871 PyObject *resultobj;
11872 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11873 int arg2 ;
11874 PyObject * obj0 = 0 ;
11875 PyObject * obj1 = 0 ;
11876 char *kwnames[] = {
11877 (char *) "self",(char *) "filterIndex", NULL
11878 };
11879
11880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
11881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11883 arg2 = (int) SWIG_AsInt(obj1);
11884 if (PyErr_Occurred()) SWIG_fail;
11885 {
11886 PyThreadState* __tstate = wxPyBeginAllowThreads();
11887 (arg1)->SetFilterIndex(arg2);
11888
11889 wxPyEndAllowThreads(__tstate);
11890 if (PyErr_Occurred()) SWIG_fail;
11891 }
11892 Py_INCREF(Py_None); resultobj = Py_None;
11893 return resultobj;
11894 fail:
11895 return NULL;
11896 }
11897
11898
11899 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11900 PyObject *resultobj;
11901 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11902 wxString result;
11903 PyObject * obj0 = 0 ;
11904 char *kwnames[] = {
11905 (char *) "self", NULL
11906 };
11907
11908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
11909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11911 {
11912 PyThreadState* __tstate = wxPyBeginAllowThreads();
11913 result = ((wxFileDialog const *)arg1)->GetMessage();
11914
11915 wxPyEndAllowThreads(__tstate);
11916 if (PyErr_Occurred()) SWIG_fail;
11917 }
11918 {
11919 #if wxUSE_UNICODE
11920 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11921 #else
11922 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11923 #endif
11924 }
11925 return resultobj;
11926 fail:
11927 return NULL;
11928 }
11929
11930
11931 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11932 PyObject *resultobj;
11933 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11934 wxString result;
11935 PyObject * obj0 = 0 ;
11936 char *kwnames[] = {
11937 (char *) "self", NULL
11938 };
11939
11940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
11941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11943 {
11944 PyThreadState* __tstate = wxPyBeginAllowThreads();
11945 result = ((wxFileDialog const *)arg1)->GetPath();
11946
11947 wxPyEndAllowThreads(__tstate);
11948 if (PyErr_Occurred()) SWIG_fail;
11949 }
11950 {
11951 #if wxUSE_UNICODE
11952 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11953 #else
11954 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11955 #endif
11956 }
11957 return resultobj;
11958 fail:
11959 return NULL;
11960 }
11961
11962
11963 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11964 PyObject *resultobj;
11965 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11966 wxString result;
11967 PyObject * obj0 = 0 ;
11968 char *kwnames[] = {
11969 (char *) "self", NULL
11970 };
11971
11972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
11973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11975 {
11976 PyThreadState* __tstate = wxPyBeginAllowThreads();
11977 result = ((wxFileDialog const *)arg1)->GetDirectory();
11978
11979 wxPyEndAllowThreads(__tstate);
11980 if (PyErr_Occurred()) SWIG_fail;
11981 }
11982 {
11983 #if wxUSE_UNICODE
11984 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11985 #else
11986 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11987 #endif
11988 }
11989 return resultobj;
11990 fail:
11991 return NULL;
11992 }
11993
11994
11995 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11996 PyObject *resultobj;
11997 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11998 wxString result;
11999 PyObject * obj0 = 0 ;
12000 char *kwnames[] = {
12001 (char *) "self", NULL
12002 };
12003
12004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
12005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12007 {
12008 PyThreadState* __tstate = wxPyBeginAllowThreads();
12009 result = ((wxFileDialog const *)arg1)->GetFilename();
12010
12011 wxPyEndAllowThreads(__tstate);
12012 if (PyErr_Occurred()) SWIG_fail;
12013 }
12014 {
12015 #if wxUSE_UNICODE
12016 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12017 #else
12018 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12019 #endif
12020 }
12021 return resultobj;
12022 fail:
12023 return NULL;
12024 }
12025
12026
12027 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
12028 PyObject *resultobj;
12029 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12030 wxString result;
12031 PyObject * obj0 = 0 ;
12032 char *kwnames[] = {
12033 (char *) "self", NULL
12034 };
12035
12036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
12037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12039 {
12040 PyThreadState* __tstate = wxPyBeginAllowThreads();
12041 result = ((wxFileDialog const *)arg1)->GetWildcard();
12042
12043 wxPyEndAllowThreads(__tstate);
12044 if (PyErr_Occurred()) SWIG_fail;
12045 }
12046 {
12047 #if wxUSE_UNICODE
12048 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12049 #else
12050 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12051 #endif
12052 }
12053 return resultobj;
12054 fail:
12055 return NULL;
12056 }
12057
12058
12059 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12060 PyObject *resultobj;
12061 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12062 long result;
12063 PyObject * obj0 = 0 ;
12064 char *kwnames[] = {
12065 (char *) "self", NULL
12066 };
12067
12068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
12069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12071 {
12072 PyThreadState* __tstate = wxPyBeginAllowThreads();
12073 result = (long)((wxFileDialog const *)arg1)->GetStyle();
12074
12075 wxPyEndAllowThreads(__tstate);
12076 if (PyErr_Occurred()) SWIG_fail;
12077 }
12078 resultobj = SWIG_FromLong((long)result);
12079 return resultobj;
12080 fail:
12081 return NULL;
12082 }
12083
12084
12085 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12086 PyObject *resultobj;
12087 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12088 int result;
12089 PyObject * obj0 = 0 ;
12090 char *kwnames[] = {
12091 (char *) "self", NULL
12092 };
12093
12094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
12095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12097 {
12098 PyThreadState* __tstate = wxPyBeginAllowThreads();
12099 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12100
12101 wxPyEndAllowThreads(__tstate);
12102 if (PyErr_Occurred()) SWIG_fail;
12103 }
12104 resultobj = SWIG_FromInt((int)result);
12105 return resultobj;
12106 fail:
12107 return NULL;
12108 }
12109
12110
12111 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
12112 PyObject *resultobj;
12113 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12114 PyObject *result;
12115 PyObject * obj0 = 0 ;
12116 char *kwnames[] = {
12117 (char *) "self", NULL
12118 };
12119
12120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
12121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12123 {
12124 PyThreadState* __tstate = wxPyBeginAllowThreads();
12125 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12126
12127 wxPyEndAllowThreads(__tstate);
12128 if (PyErr_Occurred()) SWIG_fail;
12129 }
12130 resultobj = result;
12131 return resultobj;
12132 fail:
12133 return NULL;
12134 }
12135
12136
12137 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
12138 PyObject *resultobj;
12139 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12140 PyObject *result;
12141 PyObject * obj0 = 0 ;
12142 char *kwnames[] = {
12143 (char *) "self", NULL
12144 };
12145
12146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
12147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12149 {
12150 PyThreadState* __tstate = wxPyBeginAllowThreads();
12151 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12152
12153 wxPyEndAllowThreads(__tstate);
12154 if (PyErr_Occurred()) SWIG_fail;
12155 }
12156 resultobj = result;
12157 return resultobj;
12158 fail:
12159 return NULL;
12160 }
12161
12162
12163 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
12164 PyObject *obj;
12165 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12166 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12167 Py_INCREF(obj);
12168 return Py_BuildValue((char *)"");
12169 }
12170 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12171 PyObject *resultobj;
12172 wxWindow *arg1 = (wxWindow *) 0 ;
12173 wxString *arg2 = 0 ;
12174 wxString *arg3 = 0 ;
12175 int arg4 = (int) 0 ;
12176 wxString *arg5 = (wxString *) 0 ;
12177 long arg6 = (long) wxCHOICEDLG_STYLE ;
12178 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12179 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12180 wxMultiChoiceDialog *result;
12181 bool temp2 = False ;
12182 bool temp3 = False ;
12183 wxPoint temp6 ;
12184 PyObject * obj0 = 0 ;
12185 PyObject * obj1 = 0 ;
12186 PyObject * obj2 = 0 ;
12187 PyObject * obj3 = 0 ;
12188 PyObject * obj4 = 0 ;
12189 PyObject * obj5 = 0 ;
12190 char *kwnames[] = {
12191 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12192 };
12193
12194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12197 {
12198 arg2 = wxString_in_helper(obj1);
12199 if (arg2 == NULL) SWIG_fail;
12200 temp2 = True;
12201 }
12202 {
12203 arg3 = wxString_in_helper(obj2);
12204 if (arg3 == NULL) SWIG_fail;
12205 temp3 = True;
12206 }
12207 if (obj3) {
12208 {
12209 arg4 = PyList_Size(obj3);
12210 arg5 = wxString_LIST_helper(obj3);
12211 if (arg5 == NULL) SWIG_fail;
12212 }
12213 }
12214 if (obj4) {
12215 arg6 = (long) SWIG_AsLong(obj4);
12216 if (PyErr_Occurred()) SWIG_fail;
12217 }
12218 if (obj5) {
12219 {
12220 arg7 = &temp6;
12221 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12222 }
12223 }
12224 {
12225 PyThreadState* __tstate = wxPyBeginAllowThreads();
12226 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12227
12228 wxPyEndAllowThreads(__tstate);
12229 if (PyErr_Occurred()) SWIG_fail;
12230 }
12231 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12232 {
12233 if (temp2)
12234 delete arg2;
12235 }
12236 {
12237 if (temp3)
12238 delete arg3;
12239 }
12240 {
12241 if (arg5) delete [] arg5;
12242 }
12243 return resultobj;
12244 fail:
12245 {
12246 if (temp2)
12247 delete arg2;
12248 }
12249 {
12250 if (temp3)
12251 delete arg3;
12252 }
12253 {
12254 if (arg5) delete [] arg5;
12255 }
12256 return NULL;
12257 }
12258
12259
12260 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12261 PyObject *resultobj;
12262 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12263 wxArrayInt *arg2 = 0 ;
12264 bool temp2 = False ;
12265 PyObject * obj0 = 0 ;
12266 PyObject * obj1 = 0 ;
12267 char *kwnames[] = {
12268 (char *) "self",(char *) "selections", NULL
12269 };
12270
12271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12274 {
12275 if (! PySequence_Check(obj1)) {
12276 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12277 SWIG_fail;
12278 }
12279 arg2 = new wxArrayInt;
12280 temp2 = True;
12281 int i, len=PySequence_Length(obj1);
12282 for (i=0; i<len; i++) {
12283 PyObject* item = PySequence_GetItem(obj1, i);
12284 PyObject* number = PyNumber_Int(item);
12285 arg2->Add(PyInt_AS_LONG(number));
12286 Py_DECREF(item);
12287 Py_DECREF(number);
12288 }
12289 }
12290 {
12291 PyThreadState* __tstate = wxPyBeginAllowThreads();
12292 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12293
12294 wxPyEndAllowThreads(__tstate);
12295 if (PyErr_Occurred()) SWIG_fail;
12296 }
12297 Py_INCREF(Py_None); resultobj = Py_None;
12298 {
12299 if (temp2) delete arg2;
12300 }
12301 return resultobj;
12302 fail:
12303 {
12304 if (temp2) delete arg2;
12305 }
12306 return NULL;
12307 }
12308
12309
12310 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12311 PyObject *resultobj;
12312 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12313 PyObject *result;
12314 PyObject * obj0 = 0 ;
12315 char *kwnames[] = {
12316 (char *) "self", NULL
12317 };
12318
12319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12322 {
12323 PyThreadState* __tstate = wxPyBeginAllowThreads();
12324 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12325
12326 wxPyEndAllowThreads(__tstate);
12327 if (PyErr_Occurred()) SWIG_fail;
12328 }
12329 resultobj = result;
12330 return resultobj;
12331 fail:
12332 return NULL;
12333 }
12334
12335
12336 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12337 PyObject *obj;
12338 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12339 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12340 Py_INCREF(obj);
12341 return Py_BuildValue((char *)"");
12342 }
12343 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12344 PyObject *resultobj;
12345 wxWindow *arg1 = (wxWindow *) 0 ;
12346 wxString *arg2 = 0 ;
12347 wxString *arg3 = 0 ;
12348 int arg4 ;
12349 wxString *arg5 = (wxString *) 0 ;
12350 long arg6 = (long) wxCHOICEDLG_STYLE ;
12351 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12352 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12353 wxSingleChoiceDialog *result;
12354 bool temp2 = False ;
12355 bool temp3 = False ;
12356 wxPoint temp6 ;
12357 PyObject * obj0 = 0 ;
12358 PyObject * obj1 = 0 ;
12359 PyObject * obj2 = 0 ;
12360 PyObject * obj3 = 0 ;
12361 PyObject * obj4 = 0 ;
12362 PyObject * obj5 = 0 ;
12363 char *kwnames[] = {
12364 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12365 };
12366
12367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12370 {
12371 arg2 = wxString_in_helper(obj1);
12372 if (arg2 == NULL) SWIG_fail;
12373 temp2 = True;
12374 }
12375 {
12376 arg3 = wxString_in_helper(obj2);
12377 if (arg3 == NULL) SWIG_fail;
12378 temp3 = True;
12379 }
12380 {
12381 arg4 = PyList_Size(obj3);
12382 arg5 = wxString_LIST_helper(obj3);
12383 if (arg5 == NULL) SWIG_fail;
12384 }
12385 if (obj4) {
12386 arg6 = (long) SWIG_AsLong(obj4);
12387 if (PyErr_Occurred()) SWIG_fail;
12388 }
12389 if (obj5) {
12390 {
12391 arg7 = &temp6;
12392 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12393 }
12394 }
12395 {
12396 PyThreadState* __tstate = wxPyBeginAllowThreads();
12397 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12398
12399 wxPyEndAllowThreads(__tstate);
12400 if (PyErr_Occurred()) SWIG_fail;
12401 }
12402 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
12403 {
12404 if (temp2)
12405 delete arg2;
12406 }
12407 {
12408 if (temp3)
12409 delete arg3;
12410 }
12411 {
12412 if (arg5) delete [] arg5;
12413 }
12414 return resultobj;
12415 fail:
12416 {
12417 if (temp2)
12418 delete arg2;
12419 }
12420 {
12421 if (temp3)
12422 delete arg3;
12423 }
12424 {
12425 if (arg5) delete [] arg5;
12426 }
12427 return NULL;
12428 }
12429
12430
12431 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12432 PyObject *resultobj;
12433 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12434 int result;
12435 PyObject * obj0 = 0 ;
12436 char *kwnames[] = {
12437 (char *) "self", NULL
12438 };
12439
12440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
12441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12443 {
12444 PyThreadState* __tstate = wxPyBeginAllowThreads();
12445 result = (int)(arg1)->GetSelection();
12446
12447 wxPyEndAllowThreads(__tstate);
12448 if (PyErr_Occurred()) SWIG_fail;
12449 }
12450 resultobj = SWIG_FromInt((int)result);
12451 return resultobj;
12452 fail:
12453 return NULL;
12454 }
12455
12456
12457 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12458 PyObject *resultobj;
12459 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12460 wxString result;
12461 PyObject * obj0 = 0 ;
12462 char *kwnames[] = {
12463 (char *) "self", NULL
12464 };
12465
12466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
12467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12469 {
12470 PyThreadState* __tstate = wxPyBeginAllowThreads();
12471 result = (arg1)->GetStringSelection();
12472
12473 wxPyEndAllowThreads(__tstate);
12474 if (PyErr_Occurred()) SWIG_fail;
12475 }
12476 {
12477 #if wxUSE_UNICODE
12478 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12479 #else
12480 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12481 #endif
12482 }
12483 return resultobj;
12484 fail:
12485 return NULL;
12486 }
12487
12488
12489 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12490 PyObject *resultobj;
12491 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12492 int arg2 ;
12493 PyObject * obj0 = 0 ;
12494 PyObject * obj1 = 0 ;
12495 char *kwnames[] = {
12496 (char *) "self",(char *) "sel", NULL
12497 };
12498
12499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12502 arg2 = (int) SWIG_AsInt(obj1);
12503 if (PyErr_Occurred()) SWIG_fail;
12504 {
12505 PyThreadState* __tstate = wxPyBeginAllowThreads();
12506 (arg1)->SetSelection(arg2);
12507
12508 wxPyEndAllowThreads(__tstate);
12509 if (PyErr_Occurred()) SWIG_fail;
12510 }
12511 Py_INCREF(Py_None); resultobj = Py_None;
12512 return resultobj;
12513 fail:
12514 return NULL;
12515 }
12516
12517
12518 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12519 PyObject *obj;
12520 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12521 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
12522 Py_INCREF(obj);
12523 return Py_BuildValue((char *)"");
12524 }
12525 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12526 PyObject *resultobj;
12527 wxWindow *arg1 = (wxWindow *) 0 ;
12528 wxString *arg2 = 0 ;
12529 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
12530 wxString *arg3 = (wxString *) &arg3_defvalue ;
12531 wxString const &arg4_defvalue = wxPyEmptyString ;
12532 wxString *arg4 = (wxString *) &arg4_defvalue ;
12533 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
12534 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12535 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12536 wxTextEntryDialog *result;
12537 bool temp2 = False ;
12538 bool temp3 = False ;
12539 bool temp4 = False ;
12540 wxPoint temp6 ;
12541 PyObject * obj0 = 0 ;
12542 PyObject * obj1 = 0 ;
12543 PyObject * obj2 = 0 ;
12544 PyObject * obj3 = 0 ;
12545 PyObject * obj4 = 0 ;
12546 PyObject * obj5 = 0 ;
12547 char *kwnames[] = {
12548 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12549 };
12550
12551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12554 {
12555 arg2 = wxString_in_helper(obj1);
12556 if (arg2 == NULL) SWIG_fail;
12557 temp2 = True;
12558 }
12559 if (obj2) {
12560 {
12561 arg3 = wxString_in_helper(obj2);
12562 if (arg3 == NULL) SWIG_fail;
12563 temp3 = True;
12564 }
12565 }
12566 if (obj3) {
12567 {
12568 arg4 = wxString_in_helper(obj3);
12569 if (arg4 == NULL) SWIG_fail;
12570 temp4 = True;
12571 }
12572 }
12573 if (obj4) {
12574 arg5 = (long) SWIG_AsLong(obj4);
12575 if (PyErr_Occurred()) SWIG_fail;
12576 }
12577 if (obj5) {
12578 {
12579 arg6 = &temp6;
12580 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12581 }
12582 }
12583 {
12584 PyThreadState* __tstate = wxPyBeginAllowThreads();
12585 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
12586
12587 wxPyEndAllowThreads(__tstate);
12588 if (PyErr_Occurred()) SWIG_fail;
12589 }
12590 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
12591 {
12592 if (temp2)
12593 delete arg2;
12594 }
12595 {
12596 if (temp3)
12597 delete arg3;
12598 }
12599 {
12600 if (temp4)
12601 delete arg4;
12602 }
12603 return resultobj;
12604 fail:
12605 {
12606 if (temp2)
12607 delete arg2;
12608 }
12609 {
12610 if (temp3)
12611 delete arg3;
12612 }
12613 {
12614 if (temp4)
12615 delete arg4;
12616 }
12617 return NULL;
12618 }
12619
12620
12621 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12622 PyObject *resultobj;
12623 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12624 wxString result;
12625 PyObject * obj0 = 0 ;
12626 char *kwnames[] = {
12627 (char *) "self", NULL
12628 };
12629
12630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
12631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12633 {
12634 PyThreadState* __tstate = wxPyBeginAllowThreads();
12635 result = (arg1)->GetValue();
12636
12637 wxPyEndAllowThreads(__tstate);
12638 if (PyErr_Occurred()) SWIG_fail;
12639 }
12640 {
12641 #if wxUSE_UNICODE
12642 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12643 #else
12644 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12645 #endif
12646 }
12647 return resultobj;
12648 fail:
12649 return NULL;
12650 }
12651
12652
12653 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12654 PyObject *resultobj;
12655 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12656 wxString *arg2 = 0 ;
12657 bool temp2 = False ;
12658 PyObject * obj0 = 0 ;
12659 PyObject * obj1 = 0 ;
12660 char *kwnames[] = {
12661 (char *) "self",(char *) "value", NULL
12662 };
12663
12664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
12665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12667 {
12668 arg2 = wxString_in_helper(obj1);
12669 if (arg2 == NULL) SWIG_fail;
12670 temp2 = True;
12671 }
12672 {
12673 PyThreadState* __tstate = wxPyBeginAllowThreads();
12674 (arg1)->SetValue((wxString const &)*arg2);
12675
12676 wxPyEndAllowThreads(__tstate);
12677 if (PyErr_Occurred()) SWIG_fail;
12678 }
12679 Py_INCREF(Py_None); resultobj = Py_None;
12680 {
12681 if (temp2)
12682 delete arg2;
12683 }
12684 return resultobj;
12685 fail:
12686 {
12687 if (temp2)
12688 delete arg2;
12689 }
12690 return NULL;
12691 }
12692
12693
12694 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
12695 PyObject *obj;
12696 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12697 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
12698 Py_INCREF(obj);
12699 return Py_BuildValue((char *)"");
12700 }
12701 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12702 PyObject *resultobj;
12703 wxFontData *result;
12704 char *kwnames[] = {
12705 NULL
12706 };
12707
12708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
12709 {
12710 PyThreadState* __tstate = wxPyBeginAllowThreads();
12711 result = (wxFontData *)new wxFontData();
12712
12713 wxPyEndAllowThreads(__tstate);
12714 if (PyErr_Occurred()) SWIG_fail;
12715 }
12716 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
12717 return resultobj;
12718 fail:
12719 return NULL;
12720 }
12721
12722
12723 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12724 PyObject *resultobj;
12725 wxFontData *arg1 = (wxFontData *) 0 ;
12726 PyObject * obj0 = 0 ;
12727 char *kwnames[] = {
12728 (char *) "self", NULL
12729 };
12730
12731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
12732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12734 {
12735 PyThreadState* __tstate = wxPyBeginAllowThreads();
12736 delete arg1;
12737
12738 wxPyEndAllowThreads(__tstate);
12739 if (PyErr_Occurred()) SWIG_fail;
12740 }
12741 Py_INCREF(Py_None); resultobj = Py_None;
12742 return resultobj;
12743 fail:
12744 return NULL;
12745 }
12746
12747
12748 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12749 PyObject *resultobj;
12750 wxFontData *arg1 = (wxFontData *) 0 ;
12751 bool arg2 ;
12752 PyObject * obj0 = 0 ;
12753 PyObject * obj1 = 0 ;
12754 char *kwnames[] = {
12755 (char *) "self",(char *) "enable", NULL
12756 };
12757
12758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
12759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12761 arg2 = (bool) SWIG_AsBool(obj1);
12762 if (PyErr_Occurred()) SWIG_fail;
12763 {
12764 PyThreadState* __tstate = wxPyBeginAllowThreads();
12765 (arg1)->EnableEffects(arg2);
12766
12767 wxPyEndAllowThreads(__tstate);
12768 if (PyErr_Occurred()) SWIG_fail;
12769 }
12770 Py_INCREF(Py_None); resultobj = Py_None;
12771 return resultobj;
12772 fail:
12773 return NULL;
12774 }
12775
12776
12777 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12778 PyObject *resultobj;
12779 wxFontData *arg1 = (wxFontData *) 0 ;
12780 bool result;
12781 PyObject * obj0 = 0 ;
12782 char *kwnames[] = {
12783 (char *) "self", NULL
12784 };
12785
12786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
12787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12789 {
12790 PyThreadState* __tstate = wxPyBeginAllowThreads();
12791 result = (bool)(arg1)->GetAllowSymbols();
12792
12793 wxPyEndAllowThreads(__tstate);
12794 if (PyErr_Occurred()) SWIG_fail;
12795 }
12796 {
12797 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12798 }
12799 return resultobj;
12800 fail:
12801 return NULL;
12802 }
12803
12804
12805 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12806 PyObject *resultobj;
12807 wxFontData *arg1 = (wxFontData *) 0 ;
12808 wxColour result;
12809 PyObject * obj0 = 0 ;
12810 char *kwnames[] = {
12811 (char *) "self", NULL
12812 };
12813
12814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
12815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12817 {
12818 PyThreadState* __tstate = wxPyBeginAllowThreads();
12819 result = (arg1)->GetColour();
12820
12821 wxPyEndAllowThreads(__tstate);
12822 if (PyErr_Occurred()) SWIG_fail;
12823 }
12824 {
12825 wxColour * resultptr;
12826 resultptr = new wxColour((wxColour &) result);
12827 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
12828 }
12829 return resultobj;
12830 fail:
12831 return NULL;
12832 }
12833
12834
12835 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12836 PyObject *resultobj;
12837 wxFontData *arg1 = (wxFontData *) 0 ;
12838 wxFont result;
12839 PyObject * obj0 = 0 ;
12840 char *kwnames[] = {
12841 (char *) "self", NULL
12842 };
12843
12844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
12845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12847 {
12848 PyThreadState* __tstate = wxPyBeginAllowThreads();
12849 result = (arg1)->GetChosenFont();
12850
12851 wxPyEndAllowThreads(__tstate);
12852 if (PyErr_Occurred()) SWIG_fail;
12853 }
12854 {
12855 wxFont * resultptr;
12856 resultptr = new wxFont((wxFont &) result);
12857 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
12858 }
12859 return resultobj;
12860 fail:
12861 return NULL;
12862 }
12863
12864
12865 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12866 PyObject *resultobj;
12867 wxFontData *arg1 = (wxFontData *) 0 ;
12868 bool result;
12869 PyObject * obj0 = 0 ;
12870 char *kwnames[] = {
12871 (char *) "self", NULL
12872 };
12873
12874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
12875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12877 {
12878 PyThreadState* __tstate = wxPyBeginAllowThreads();
12879 result = (bool)(arg1)->GetEnableEffects();
12880
12881 wxPyEndAllowThreads(__tstate);
12882 if (PyErr_Occurred()) SWIG_fail;
12883 }
12884 {
12885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12886 }
12887 return resultobj;
12888 fail:
12889 return NULL;
12890 }
12891
12892
12893 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12894 PyObject *resultobj;
12895 wxFontData *arg1 = (wxFontData *) 0 ;
12896 wxFont result;
12897 PyObject * obj0 = 0 ;
12898 char *kwnames[] = {
12899 (char *) "self", NULL
12900 };
12901
12902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
12903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12905 {
12906 PyThreadState* __tstate = wxPyBeginAllowThreads();
12907 result = (arg1)->GetInitialFont();
12908
12909 wxPyEndAllowThreads(__tstate);
12910 if (PyErr_Occurred()) SWIG_fail;
12911 }
12912 {
12913 wxFont * resultptr;
12914 resultptr = new wxFont((wxFont &) result);
12915 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
12916 }
12917 return resultobj;
12918 fail:
12919 return NULL;
12920 }
12921
12922
12923 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12924 PyObject *resultobj;
12925 wxFontData *arg1 = (wxFontData *) 0 ;
12926 bool result;
12927 PyObject * obj0 = 0 ;
12928 char *kwnames[] = {
12929 (char *) "self", NULL
12930 };
12931
12932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
12933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12935 {
12936 PyThreadState* __tstate = wxPyBeginAllowThreads();
12937 result = (bool)(arg1)->GetShowHelp();
12938
12939 wxPyEndAllowThreads(__tstate);
12940 if (PyErr_Occurred()) SWIG_fail;
12941 }
12942 {
12943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12944 }
12945 return resultobj;
12946 fail:
12947 return NULL;
12948 }
12949
12950
12951 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12952 PyObject *resultobj;
12953 wxFontData *arg1 = (wxFontData *) 0 ;
12954 bool arg2 ;
12955 PyObject * obj0 = 0 ;
12956 PyObject * obj1 = 0 ;
12957 char *kwnames[] = {
12958 (char *) "self",(char *) "allowSymbols", NULL
12959 };
12960
12961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
12962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12964 arg2 = (bool) SWIG_AsBool(obj1);
12965 if (PyErr_Occurred()) SWIG_fail;
12966 {
12967 PyThreadState* __tstate = wxPyBeginAllowThreads();
12968 (arg1)->SetAllowSymbols(arg2);
12969
12970 wxPyEndAllowThreads(__tstate);
12971 if (PyErr_Occurred()) SWIG_fail;
12972 }
12973 Py_INCREF(Py_None); resultobj = Py_None;
12974 return resultobj;
12975 fail:
12976 return NULL;
12977 }
12978
12979
12980 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12981 PyObject *resultobj;
12982 wxFontData *arg1 = (wxFontData *) 0 ;
12983 wxFont *arg2 = 0 ;
12984 PyObject * obj0 = 0 ;
12985 PyObject * obj1 = 0 ;
12986 char *kwnames[] = {
12987 (char *) "self",(char *) "font", NULL
12988 };
12989
12990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
12991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12993 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
12994 SWIG_POINTER_EXCEPTION | 0)) == -1)
12995 SWIG_fail;
12996 if (arg2 == NULL) {
12997 PyErr_SetString(PyExc_TypeError,"null reference");
12998 SWIG_fail;
12999 }
13000 {
13001 PyThreadState* __tstate = wxPyBeginAllowThreads();
13002 (arg1)->SetChosenFont((wxFont const &)*arg2);
13003
13004 wxPyEndAllowThreads(__tstate);
13005 if (PyErr_Occurred()) SWIG_fail;
13006 }
13007 Py_INCREF(Py_None); resultobj = Py_None;
13008 return resultobj;
13009 fail:
13010 return NULL;
13011 }
13012
13013
13014 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
13015 PyObject *resultobj;
13016 wxFontData *arg1 = (wxFontData *) 0 ;
13017 wxColour *arg2 = 0 ;
13018 wxColour temp2 ;
13019 PyObject * obj0 = 0 ;
13020 PyObject * obj1 = 0 ;
13021 char *kwnames[] = {
13022 (char *) "self",(char *) "colour", NULL
13023 };
13024
13025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13028 {
13029 arg2 = &temp2;
13030 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13031 }
13032 {
13033 PyThreadState* __tstate = wxPyBeginAllowThreads();
13034 (arg1)->SetColour((wxColour const &)*arg2);
13035
13036 wxPyEndAllowThreads(__tstate);
13037 if (PyErr_Occurred()) SWIG_fail;
13038 }
13039 Py_INCREF(Py_None); resultobj = Py_None;
13040 return resultobj;
13041 fail:
13042 return NULL;
13043 }
13044
13045
13046 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13047 PyObject *resultobj;
13048 wxFontData *arg1 = (wxFontData *) 0 ;
13049 wxFont *arg2 = 0 ;
13050 PyObject * obj0 = 0 ;
13051 PyObject * obj1 = 0 ;
13052 char *kwnames[] = {
13053 (char *) "self",(char *) "font", NULL
13054 };
13055
13056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
13057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13059 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13060 SWIG_POINTER_EXCEPTION | 0)) == -1)
13061 SWIG_fail;
13062 if (arg2 == NULL) {
13063 PyErr_SetString(PyExc_TypeError,"null reference");
13064 SWIG_fail;
13065 }
13066 {
13067 PyThreadState* __tstate = wxPyBeginAllowThreads();
13068 (arg1)->SetInitialFont((wxFont const &)*arg2);
13069
13070 wxPyEndAllowThreads(__tstate);
13071 if (PyErr_Occurred()) SWIG_fail;
13072 }
13073 Py_INCREF(Py_None); resultobj = Py_None;
13074 return resultobj;
13075 fail:
13076 return NULL;
13077 }
13078
13079
13080 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
13081 PyObject *resultobj;
13082 wxFontData *arg1 = (wxFontData *) 0 ;
13083 int arg2 ;
13084 int arg3 ;
13085 PyObject * obj0 = 0 ;
13086 PyObject * obj1 = 0 ;
13087 PyObject * obj2 = 0 ;
13088 char *kwnames[] = {
13089 (char *) "self",(char *) "min",(char *) "max", NULL
13090 };
13091
13092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13095 arg2 = (int) SWIG_AsInt(obj1);
13096 if (PyErr_Occurred()) SWIG_fail;
13097 arg3 = (int) SWIG_AsInt(obj2);
13098 if (PyErr_Occurred()) SWIG_fail;
13099 {
13100 PyThreadState* __tstate = wxPyBeginAllowThreads();
13101 (arg1)->SetRange(arg2,arg3);
13102
13103 wxPyEndAllowThreads(__tstate);
13104 if (PyErr_Occurred()) SWIG_fail;
13105 }
13106 Py_INCREF(Py_None); resultobj = Py_None;
13107 return resultobj;
13108 fail:
13109 return NULL;
13110 }
13111
13112
13113 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13114 PyObject *resultobj;
13115 wxFontData *arg1 = (wxFontData *) 0 ;
13116 bool arg2 ;
13117 PyObject * obj0 = 0 ;
13118 PyObject * obj1 = 0 ;
13119 char *kwnames[] = {
13120 (char *) "self",(char *) "showHelp", NULL
13121 };
13122
13123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
13124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13126 arg2 = (bool) SWIG_AsBool(obj1);
13127 if (PyErr_Occurred()) SWIG_fail;
13128 {
13129 PyThreadState* __tstate = wxPyBeginAllowThreads();
13130 (arg1)->SetShowHelp(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 * FontData_swigregister(PyObject *self, PyObject *args) {
13143 PyObject *obj;
13144 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13145 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
13146 Py_INCREF(obj);
13147 return Py_BuildValue((char *)"");
13148 }
13149 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13150 PyObject *resultobj;
13151 wxWindow *arg1 = (wxWindow *) 0 ;
13152 wxFontData *arg2 = 0 ;
13153 wxFontDialog *result;
13154 PyObject * obj0 = 0 ;
13155 PyObject * obj1 = 0 ;
13156 char *kwnames[] = {
13157 (char *) "parent",(char *) "data", NULL
13158 };
13159
13160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
13161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13163 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
13164 SWIG_POINTER_EXCEPTION | 0)) == -1)
13165 SWIG_fail;
13166 if (arg2 == NULL) {
13167 PyErr_SetString(PyExc_TypeError,"null reference");
13168 SWIG_fail;
13169 }
13170 {
13171 PyThreadState* __tstate = wxPyBeginAllowThreads();
13172 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
13173
13174 wxPyEndAllowThreads(__tstate);
13175 if (PyErr_Occurred()) SWIG_fail;
13176 }
13177 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
13178 return resultobj;
13179 fail:
13180 return NULL;
13181 }
13182
13183
13184 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
13185 PyObject *resultobj;
13186 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13187 wxFontData *result;
13188 PyObject * obj0 = 0 ;
13189 char *kwnames[] = {
13190 (char *) "self", NULL
13191 };
13192
13193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13196 {
13197 PyThreadState* __tstate = wxPyBeginAllowThreads();
13198 {
13199 wxFontData &_result_ref = (arg1)->GetFontData();
13200 result = (wxFontData *) &_result_ref;
13201 }
13202
13203 wxPyEndAllowThreads(__tstate);
13204 if (PyErr_Occurred()) SWIG_fail;
13205 }
13206 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
13207 return resultobj;
13208 fail:
13209 return NULL;
13210 }
13211
13212
13213 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
13214 PyObject *obj;
13215 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13216 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13217 Py_INCREF(obj);
13218 return Py_BuildValue((char *)"");
13219 }
13220 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13221 PyObject *resultobj;
13222 wxWindow *arg1 = (wxWindow *) 0 ;
13223 wxString *arg2 = 0 ;
13224 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13225 wxString *arg3 = (wxString *) &arg3_defvalue ;
13226 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13227 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13228 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13229 wxMessageDialog *result;
13230 bool temp2 = False ;
13231 bool temp3 = False ;
13232 wxPoint temp5 ;
13233 PyObject * obj0 = 0 ;
13234 PyObject * obj1 = 0 ;
13235 PyObject * obj2 = 0 ;
13236 PyObject * obj3 = 0 ;
13237 PyObject * obj4 = 0 ;
13238 char *kwnames[] = {
13239 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13240 };
13241
13242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13245 {
13246 arg2 = wxString_in_helper(obj1);
13247 if (arg2 == NULL) SWIG_fail;
13248 temp2 = True;
13249 }
13250 if (obj2) {
13251 {
13252 arg3 = wxString_in_helper(obj2);
13253 if (arg3 == NULL) SWIG_fail;
13254 temp3 = True;
13255 }
13256 }
13257 if (obj3) {
13258 arg4 = (long) SWIG_AsLong(obj3);
13259 if (PyErr_Occurred()) SWIG_fail;
13260 }
13261 if (obj4) {
13262 {
13263 arg5 = &temp5;
13264 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13265 }
13266 }
13267 {
13268 PyThreadState* __tstate = wxPyBeginAllowThreads();
13269 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13270
13271 wxPyEndAllowThreads(__tstate);
13272 if (PyErr_Occurred()) SWIG_fail;
13273 }
13274 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
13275 {
13276 if (temp2)
13277 delete arg2;
13278 }
13279 {
13280 if (temp3)
13281 delete arg3;
13282 }
13283 return resultobj;
13284 fail:
13285 {
13286 if (temp2)
13287 delete arg2;
13288 }
13289 {
13290 if (temp3)
13291 delete arg3;
13292 }
13293 return NULL;
13294 }
13295
13296
13297 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
13298 PyObject *obj;
13299 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13300 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13301 Py_INCREF(obj);
13302 return Py_BuildValue((char *)"");
13303 }
13304 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13305 PyObject *resultobj;
13306 wxString *arg1 = 0 ;
13307 wxString *arg2 = 0 ;
13308 int arg3 = (int) 100 ;
13309 wxWindow *arg4 = (wxWindow *) NULL ;
13310 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13311 wxProgressDialog *result;
13312 bool temp1 = False ;
13313 bool temp2 = False ;
13314 PyObject * obj0 = 0 ;
13315 PyObject * obj1 = 0 ;
13316 PyObject * obj2 = 0 ;
13317 PyObject * obj3 = 0 ;
13318 PyObject * obj4 = 0 ;
13319 char *kwnames[] = {
13320 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13321 };
13322
13323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13324 {
13325 arg1 = wxString_in_helper(obj0);
13326 if (arg1 == NULL) SWIG_fail;
13327 temp1 = True;
13328 }
13329 {
13330 arg2 = wxString_in_helper(obj1);
13331 if (arg2 == NULL) SWIG_fail;
13332 temp2 = True;
13333 }
13334 if (obj2) {
13335 arg3 = (int) SWIG_AsInt(obj2);
13336 if (PyErr_Occurred()) SWIG_fail;
13337 }
13338 if (obj3) {
13339 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
13340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13341 }
13342 if (obj4) {
13343 arg5 = (int) SWIG_AsInt(obj4);
13344 if (PyErr_Occurred()) SWIG_fail;
13345 }
13346 {
13347 PyThreadState* __tstate = wxPyBeginAllowThreads();
13348 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13349
13350 wxPyEndAllowThreads(__tstate);
13351 if (PyErr_Occurred()) SWIG_fail;
13352 }
13353 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
13354 {
13355 if (temp1)
13356 delete arg1;
13357 }
13358 {
13359 if (temp2)
13360 delete arg2;
13361 }
13362 return resultobj;
13363 fail:
13364 {
13365 if (temp1)
13366 delete arg1;
13367 }
13368 {
13369 if (temp2)
13370 delete arg2;
13371 }
13372 return NULL;
13373 }
13374
13375
13376 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
13377 PyObject *resultobj;
13378 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13379 int arg2 ;
13380 wxString const &arg3_defvalue = wxPyEmptyString ;
13381 wxString *arg3 = (wxString *) &arg3_defvalue ;
13382 bool result;
13383 bool temp3 = False ;
13384 PyObject * obj0 = 0 ;
13385 PyObject * obj1 = 0 ;
13386 PyObject * obj2 = 0 ;
13387 char *kwnames[] = {
13388 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13389 };
13390
13391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13394 arg2 = (int) SWIG_AsInt(obj1);
13395 if (PyErr_Occurred()) SWIG_fail;
13396 if (obj2) {
13397 {
13398 arg3 = wxString_in_helper(obj2);
13399 if (arg3 == NULL) SWIG_fail;
13400 temp3 = True;
13401 }
13402 }
13403 {
13404 PyThreadState* __tstate = wxPyBeginAllowThreads();
13405 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13406
13407 wxPyEndAllowThreads(__tstate);
13408 if (PyErr_Occurred()) SWIG_fail;
13409 }
13410 {
13411 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13412 }
13413 {
13414 if (temp3)
13415 delete arg3;
13416 }
13417 return resultobj;
13418 fail:
13419 {
13420 if (temp3)
13421 delete arg3;
13422 }
13423 return NULL;
13424 }
13425
13426
13427 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
13428 PyObject *resultobj;
13429 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13430 PyObject * obj0 = 0 ;
13431 char *kwnames[] = {
13432 (char *) "self", NULL
13433 };
13434
13435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
13436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13438 {
13439 PyThreadState* __tstate = wxPyBeginAllowThreads();
13440 (arg1)->Resume();
13441
13442 wxPyEndAllowThreads(__tstate);
13443 if (PyErr_Occurred()) SWIG_fail;
13444 }
13445 Py_INCREF(Py_None); resultobj = Py_None;
13446 return resultobj;
13447 fail:
13448 return NULL;
13449 }
13450
13451
13452 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
13453 PyObject *obj;
13454 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13455 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
13456 Py_INCREF(obj);
13457 return Py_BuildValue((char *)"");
13458 }
13459 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13460 PyObject *resultobj;
13461 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13462 int arg2 = (int) 0 ;
13463 wxFindDialogEvent *result;
13464 PyObject * obj0 = 0 ;
13465 PyObject * obj1 = 0 ;
13466 char *kwnames[] = {
13467 (char *) "commandType",(char *) "id", NULL
13468 };
13469
13470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
13471 if (obj0) {
13472 arg1 = (wxEventType) SWIG_AsInt(obj0);
13473 if (PyErr_Occurred()) SWIG_fail;
13474 }
13475 if (obj1) {
13476 arg2 = (int) SWIG_AsInt(obj1);
13477 if (PyErr_Occurred()) SWIG_fail;
13478 }
13479 {
13480 PyThreadState* __tstate = wxPyBeginAllowThreads();
13481 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
13482
13483 wxPyEndAllowThreads(__tstate);
13484 if (PyErr_Occurred()) SWIG_fail;
13485 }
13486 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
13487 return resultobj;
13488 fail:
13489 return NULL;
13490 }
13491
13492
13493 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13494 PyObject *resultobj;
13495 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13496 int result;
13497 PyObject * obj0 = 0 ;
13498 char *kwnames[] = {
13499 (char *) "self", NULL
13500 };
13501
13502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
13503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13505 {
13506 PyThreadState* __tstate = wxPyBeginAllowThreads();
13507 result = (int)(arg1)->GetFlags();
13508
13509 wxPyEndAllowThreads(__tstate);
13510 if (PyErr_Occurred()) SWIG_fail;
13511 }
13512 resultobj = SWIG_FromInt((int)result);
13513 return resultobj;
13514 fail:
13515 return NULL;
13516 }
13517
13518
13519 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13520 PyObject *resultobj;
13521 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13522 wxString *result;
13523 PyObject * obj0 = 0 ;
13524 char *kwnames[] = {
13525 (char *) "self", NULL
13526 };
13527
13528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
13529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13531 {
13532 PyThreadState* __tstate = wxPyBeginAllowThreads();
13533 {
13534 wxString const &_result_ref = (arg1)->GetFindString();
13535 result = (wxString *) &_result_ref;
13536 }
13537
13538 wxPyEndAllowThreads(__tstate);
13539 if (PyErr_Occurred()) SWIG_fail;
13540 }
13541 {
13542 #if wxUSE_UNICODE
13543 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13544 #else
13545 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13546 #endif
13547 }
13548 return resultobj;
13549 fail:
13550 return NULL;
13551 }
13552
13553
13554 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13555 PyObject *resultobj;
13556 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13557 wxString *result;
13558 PyObject * obj0 = 0 ;
13559 char *kwnames[] = {
13560 (char *) "self", NULL
13561 };
13562
13563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
13564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13566 {
13567 PyThreadState* __tstate = wxPyBeginAllowThreads();
13568 {
13569 wxString const &_result_ref = (arg1)->GetReplaceString();
13570 result = (wxString *) &_result_ref;
13571 }
13572
13573 wxPyEndAllowThreads(__tstate);
13574 if (PyErr_Occurred()) SWIG_fail;
13575 }
13576 {
13577 #if wxUSE_UNICODE
13578 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13579 #else
13580 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13581 #endif
13582 }
13583 return resultobj;
13584 fail:
13585 return NULL;
13586 }
13587
13588
13589 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13590 PyObject *resultobj;
13591 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13592 wxFindReplaceDialog *result;
13593 PyObject * obj0 = 0 ;
13594 char *kwnames[] = {
13595 (char *) "self", NULL
13596 };
13597
13598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
13599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13601 {
13602 PyThreadState* __tstate = wxPyBeginAllowThreads();
13603 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
13604
13605 wxPyEndAllowThreads(__tstate);
13606 if (PyErr_Occurred()) SWIG_fail;
13607 }
13608 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
13609 return resultobj;
13610 fail:
13611 return NULL;
13612 }
13613
13614
13615 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13616 PyObject *resultobj;
13617 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13618 int arg2 ;
13619 PyObject * obj0 = 0 ;
13620 PyObject * obj1 = 0 ;
13621 char *kwnames[] = {
13622 (char *) "self",(char *) "flags", NULL
13623 };
13624
13625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13628 arg2 = (int) SWIG_AsInt(obj1);
13629 if (PyErr_Occurred()) SWIG_fail;
13630 {
13631 PyThreadState* __tstate = wxPyBeginAllowThreads();
13632 (arg1)->SetFlags(arg2);
13633
13634 wxPyEndAllowThreads(__tstate);
13635 if (PyErr_Occurred()) SWIG_fail;
13636 }
13637 Py_INCREF(Py_None); resultobj = Py_None;
13638 return resultobj;
13639 fail:
13640 return NULL;
13641 }
13642
13643
13644 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13645 PyObject *resultobj;
13646 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13647 wxString *arg2 = 0 ;
13648 bool temp2 = False ;
13649 PyObject * obj0 = 0 ;
13650 PyObject * obj1 = 0 ;
13651 char *kwnames[] = {
13652 (char *) "self",(char *) "str", NULL
13653 };
13654
13655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13658 {
13659 arg2 = wxString_in_helper(obj1);
13660 if (arg2 == NULL) SWIG_fail;
13661 temp2 = True;
13662 }
13663 {
13664 PyThreadState* __tstate = wxPyBeginAllowThreads();
13665 (arg1)->SetFindString((wxString const &)*arg2);
13666
13667 wxPyEndAllowThreads(__tstate);
13668 if (PyErr_Occurred()) SWIG_fail;
13669 }
13670 Py_INCREF(Py_None); resultobj = Py_None;
13671 {
13672 if (temp2)
13673 delete arg2;
13674 }
13675 return resultobj;
13676 fail:
13677 {
13678 if (temp2)
13679 delete arg2;
13680 }
13681 return NULL;
13682 }
13683
13684
13685 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13686 PyObject *resultobj;
13687 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13688 wxString *arg2 = 0 ;
13689 bool temp2 = False ;
13690 PyObject * obj0 = 0 ;
13691 PyObject * obj1 = 0 ;
13692 char *kwnames[] = {
13693 (char *) "self",(char *) "str", NULL
13694 };
13695
13696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13699 {
13700 arg2 = wxString_in_helper(obj1);
13701 if (arg2 == NULL) SWIG_fail;
13702 temp2 = True;
13703 }
13704 {
13705 PyThreadState* __tstate = wxPyBeginAllowThreads();
13706 (arg1)->SetReplaceString((wxString const &)*arg2);
13707
13708 wxPyEndAllowThreads(__tstate);
13709 if (PyErr_Occurred()) SWIG_fail;
13710 }
13711 Py_INCREF(Py_None); resultobj = Py_None;
13712 {
13713 if (temp2)
13714 delete arg2;
13715 }
13716 return resultobj;
13717 fail:
13718 {
13719 if (temp2)
13720 delete arg2;
13721 }
13722 return NULL;
13723 }
13724
13725
13726 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
13727 PyObject *obj;
13728 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13729 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
13730 Py_INCREF(obj);
13731 return Py_BuildValue((char *)"");
13732 }
13733 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13734 PyObject *resultobj;
13735 int arg1 = (int) 0 ;
13736 wxFindReplaceData *result;
13737 PyObject * obj0 = 0 ;
13738 char *kwnames[] = {
13739 (char *) "flags", NULL
13740 };
13741
13742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
13743 if (obj0) {
13744 arg1 = (int) SWIG_AsInt(obj0);
13745 if (PyErr_Occurred()) SWIG_fail;
13746 }
13747 {
13748 PyThreadState* __tstate = wxPyBeginAllowThreads();
13749 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
13750
13751 wxPyEndAllowThreads(__tstate);
13752 if (PyErr_Occurred()) SWIG_fail;
13753 }
13754 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
13755 return resultobj;
13756 fail:
13757 return NULL;
13758 }
13759
13760
13761 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13762 PyObject *resultobj;
13763 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13764 PyObject * obj0 = 0 ;
13765 char *kwnames[] = {
13766 (char *) "self", NULL
13767 };
13768
13769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
13770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13772 {
13773 PyThreadState* __tstate = wxPyBeginAllowThreads();
13774 delete arg1;
13775
13776 wxPyEndAllowThreads(__tstate);
13777 if (PyErr_Occurred()) SWIG_fail;
13778 }
13779 Py_INCREF(Py_None); resultobj = Py_None;
13780 return resultobj;
13781 fail:
13782 return NULL;
13783 }
13784
13785
13786 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13787 PyObject *resultobj;
13788 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13789 wxString *result;
13790 PyObject * obj0 = 0 ;
13791 char *kwnames[] = {
13792 (char *) "self", NULL
13793 };
13794
13795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
13796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13798 {
13799 PyThreadState* __tstate = wxPyBeginAllowThreads();
13800 {
13801 wxString const &_result_ref = (arg1)->GetFindString();
13802 result = (wxString *) &_result_ref;
13803 }
13804
13805 wxPyEndAllowThreads(__tstate);
13806 if (PyErr_Occurred()) SWIG_fail;
13807 }
13808 {
13809 #if wxUSE_UNICODE
13810 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13811 #else
13812 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13813 #endif
13814 }
13815 return resultobj;
13816 fail:
13817 return NULL;
13818 }
13819
13820
13821 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13822 PyObject *resultobj;
13823 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13824 wxString *result;
13825 PyObject * obj0 = 0 ;
13826 char *kwnames[] = {
13827 (char *) "self", NULL
13828 };
13829
13830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
13831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13833 {
13834 PyThreadState* __tstate = wxPyBeginAllowThreads();
13835 {
13836 wxString const &_result_ref = (arg1)->GetReplaceString();
13837 result = (wxString *) &_result_ref;
13838 }
13839
13840 wxPyEndAllowThreads(__tstate);
13841 if (PyErr_Occurred()) SWIG_fail;
13842 }
13843 {
13844 #if wxUSE_UNICODE
13845 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13846 #else
13847 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13848 #endif
13849 }
13850 return resultobj;
13851 fail:
13852 return NULL;
13853 }
13854
13855
13856 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13857 PyObject *resultobj;
13858 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13859 int result;
13860 PyObject * obj0 = 0 ;
13861 char *kwnames[] = {
13862 (char *) "self", NULL
13863 };
13864
13865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
13866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13868 {
13869 PyThreadState* __tstate = wxPyBeginAllowThreads();
13870 result = (int)(arg1)->GetFlags();
13871
13872 wxPyEndAllowThreads(__tstate);
13873 if (PyErr_Occurred()) SWIG_fail;
13874 }
13875 resultobj = SWIG_FromInt((int)result);
13876 return resultobj;
13877 fail:
13878 return NULL;
13879 }
13880
13881
13882 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13883 PyObject *resultobj;
13884 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13885 int arg2 ;
13886 PyObject * obj0 = 0 ;
13887 PyObject * obj1 = 0 ;
13888 char *kwnames[] = {
13889 (char *) "self",(char *) "flags", NULL
13890 };
13891
13892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13895 arg2 = (int) SWIG_AsInt(obj1);
13896 if (PyErr_Occurred()) SWIG_fail;
13897 {
13898 PyThreadState* __tstate = wxPyBeginAllowThreads();
13899 (arg1)->SetFlags(arg2);
13900
13901 wxPyEndAllowThreads(__tstate);
13902 if (PyErr_Occurred()) SWIG_fail;
13903 }
13904 Py_INCREF(Py_None); resultobj = Py_None;
13905 return resultobj;
13906 fail:
13907 return NULL;
13908 }
13909
13910
13911 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13912 PyObject *resultobj;
13913 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13914 wxString *arg2 = 0 ;
13915 bool temp2 = False ;
13916 PyObject * obj0 = 0 ;
13917 PyObject * obj1 = 0 ;
13918 char *kwnames[] = {
13919 (char *) "self",(char *) "str", NULL
13920 };
13921
13922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13925 {
13926 arg2 = wxString_in_helper(obj1);
13927 if (arg2 == NULL) SWIG_fail;
13928 temp2 = True;
13929 }
13930 {
13931 PyThreadState* __tstate = wxPyBeginAllowThreads();
13932 (arg1)->SetFindString((wxString const &)*arg2);
13933
13934 wxPyEndAllowThreads(__tstate);
13935 if (PyErr_Occurred()) SWIG_fail;
13936 }
13937 Py_INCREF(Py_None); resultobj = Py_None;
13938 {
13939 if (temp2)
13940 delete arg2;
13941 }
13942 return resultobj;
13943 fail:
13944 {
13945 if (temp2)
13946 delete arg2;
13947 }
13948 return NULL;
13949 }
13950
13951
13952 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13953 PyObject *resultobj;
13954 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13955 wxString *arg2 = 0 ;
13956 bool temp2 = False ;
13957 PyObject * obj0 = 0 ;
13958 PyObject * obj1 = 0 ;
13959 char *kwnames[] = {
13960 (char *) "self",(char *) "str", NULL
13961 };
13962
13963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13966 {
13967 arg2 = wxString_in_helper(obj1);
13968 if (arg2 == NULL) SWIG_fail;
13969 temp2 = True;
13970 }
13971 {
13972 PyThreadState* __tstate = wxPyBeginAllowThreads();
13973 (arg1)->SetReplaceString((wxString const &)*arg2);
13974
13975 wxPyEndAllowThreads(__tstate);
13976 if (PyErr_Occurred()) SWIG_fail;
13977 }
13978 Py_INCREF(Py_None); resultobj = Py_None;
13979 {
13980 if (temp2)
13981 delete arg2;
13982 }
13983 return resultobj;
13984 fail:
13985 {
13986 if (temp2)
13987 delete arg2;
13988 }
13989 return NULL;
13990 }
13991
13992
13993 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
13994 PyObject *obj;
13995 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13996 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
13997 Py_INCREF(obj);
13998 return Py_BuildValue((char *)"");
13999 }
14000 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14001 PyObject *resultobj;
14002 wxWindow *arg1 = (wxWindow *) 0 ;
14003 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14004 wxString *arg3 = 0 ;
14005 int arg4 = (int) 0 ;
14006 wxFindReplaceDialog *result;
14007 bool temp3 = False ;
14008 PyObject * obj0 = 0 ;
14009 PyObject * obj1 = 0 ;
14010 PyObject * obj2 = 0 ;
14011 PyObject * obj3 = 0 ;
14012 char *kwnames[] = {
14013 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14014 };
14015
14016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14019 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14021 {
14022 arg3 = wxString_in_helper(obj2);
14023 if (arg3 == NULL) SWIG_fail;
14024 temp3 = True;
14025 }
14026 if (obj3) {
14027 arg4 = (int) SWIG_AsInt(obj3);
14028 if (PyErr_Occurred()) SWIG_fail;
14029 }
14030 {
14031 PyThreadState* __tstate = wxPyBeginAllowThreads();
14032 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
14033
14034 wxPyEndAllowThreads(__tstate);
14035 if (PyErr_Occurred()) SWIG_fail;
14036 }
14037 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14038 {
14039 if (temp3)
14040 delete arg3;
14041 }
14042 return resultobj;
14043 fail:
14044 {
14045 if (temp3)
14046 delete arg3;
14047 }
14048 return NULL;
14049 }
14050
14051
14052 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14053 PyObject *resultobj;
14054 wxFindReplaceDialog *result;
14055 char *kwnames[] = {
14056 NULL
14057 };
14058
14059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
14060 {
14061 PyThreadState* __tstate = wxPyBeginAllowThreads();
14062 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
14063
14064 wxPyEndAllowThreads(__tstate);
14065 if (PyErr_Occurred()) SWIG_fail;
14066 }
14067 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14068 return resultobj;
14069 fail:
14070 return NULL;
14071 }
14072
14073
14074 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14075 PyObject *resultobj;
14076 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14077 wxWindow *arg2 = (wxWindow *) 0 ;
14078 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14079 wxString *arg4 = 0 ;
14080 int arg5 = (int) 0 ;
14081 bool result;
14082 bool temp4 = False ;
14083 PyObject * obj0 = 0 ;
14084 PyObject * obj1 = 0 ;
14085 PyObject * obj2 = 0 ;
14086 PyObject * obj3 = 0 ;
14087 PyObject * obj4 = 0 ;
14088 char *kwnames[] = {
14089 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14090 };
14091
14092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14095 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14097 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
14098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14099 {
14100 arg4 = wxString_in_helper(obj3);
14101 if (arg4 == NULL) SWIG_fail;
14102 temp4 = True;
14103 }
14104 if (obj4) {
14105 arg5 = (int) SWIG_AsInt(obj4);
14106 if (PyErr_Occurred()) SWIG_fail;
14107 }
14108 {
14109 PyThreadState* __tstate = wxPyBeginAllowThreads();
14110 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14111
14112 wxPyEndAllowThreads(__tstate);
14113 if (PyErr_Occurred()) SWIG_fail;
14114 }
14115 {
14116 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14117 }
14118 {
14119 if (temp4)
14120 delete arg4;
14121 }
14122 return resultobj;
14123 fail:
14124 {
14125 if (temp4)
14126 delete arg4;
14127 }
14128 return NULL;
14129 }
14130
14131
14132 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14133 PyObject *resultobj;
14134 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14135 wxFindReplaceData *result;
14136 PyObject * obj0 = 0 ;
14137 char *kwnames[] = {
14138 (char *) "self", NULL
14139 };
14140
14141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
14142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14144 {
14145 PyThreadState* __tstate = wxPyBeginAllowThreads();
14146 result = (wxFindReplaceData *)(arg1)->GetData();
14147
14148 wxPyEndAllowThreads(__tstate);
14149 if (PyErr_Occurred()) SWIG_fail;
14150 }
14151 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
14152 return resultobj;
14153 fail:
14154 return NULL;
14155 }
14156
14157
14158 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14159 PyObject *resultobj;
14160 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14161 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14162 PyObject * obj0 = 0 ;
14163 PyObject * obj1 = 0 ;
14164 char *kwnames[] = {
14165 (char *) "self",(char *) "data", NULL
14166 };
14167
14168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
14169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14171 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14173 {
14174 PyThreadState* __tstate = wxPyBeginAllowThreads();
14175 (arg1)->SetData(arg2);
14176
14177 wxPyEndAllowThreads(__tstate);
14178 if (PyErr_Occurred()) SWIG_fail;
14179 }
14180 Py_INCREF(Py_None); resultobj = Py_None;
14181 return resultobj;
14182 fail:
14183 return NULL;
14184 }
14185
14186
14187 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
14188 PyObject *obj;
14189 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14190 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14191 Py_INCREF(obj);
14192 return Py_BuildValue((char *)"");
14193 }
14194 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14195 PyObject *resultobj;
14196 wxWindow *arg1 = (wxWindow *) 0 ;
14197 int arg2 ;
14198 wxString *arg3 = 0 ;
14199 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14200 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14201 wxSize const &arg5_defvalue = wxDefaultSize ;
14202 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14203 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14204 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14205 wxString *arg7 = (wxString *) &arg7_defvalue ;
14206 wxMDIParentFrame *result;
14207 bool temp3 = False ;
14208 wxPoint temp4 ;
14209 wxSize temp5 ;
14210 bool temp7 = False ;
14211 PyObject * obj0 = 0 ;
14212 PyObject * obj1 = 0 ;
14213 PyObject * obj2 = 0 ;
14214 PyObject * obj3 = 0 ;
14215 PyObject * obj4 = 0 ;
14216 PyObject * obj5 = 0 ;
14217 PyObject * obj6 = 0 ;
14218 char *kwnames[] = {
14219 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14220 };
14221
14222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14225 arg2 = (int const) SWIG_AsInt(obj1);
14226 if (PyErr_Occurred()) SWIG_fail;
14227 {
14228 arg3 = wxString_in_helper(obj2);
14229 if (arg3 == NULL) SWIG_fail;
14230 temp3 = True;
14231 }
14232 if (obj3) {
14233 {
14234 arg4 = &temp4;
14235 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14236 }
14237 }
14238 if (obj4) {
14239 {
14240 arg5 = &temp5;
14241 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14242 }
14243 }
14244 if (obj5) {
14245 arg6 = (long) SWIG_AsLong(obj5);
14246 if (PyErr_Occurred()) SWIG_fail;
14247 }
14248 if (obj6) {
14249 {
14250 arg7 = wxString_in_helper(obj6);
14251 if (arg7 == NULL) SWIG_fail;
14252 temp7 = True;
14253 }
14254 }
14255 {
14256 PyThreadState* __tstate = wxPyBeginAllowThreads();
14257 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14258
14259 wxPyEndAllowThreads(__tstate);
14260 if (PyErr_Occurred()) SWIG_fail;
14261 }
14262 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14263 {
14264 if (temp3)
14265 delete arg3;
14266 }
14267 {
14268 if (temp7)
14269 delete arg7;
14270 }
14271 return resultobj;
14272 fail:
14273 {
14274 if (temp3)
14275 delete arg3;
14276 }
14277 {
14278 if (temp7)
14279 delete arg7;
14280 }
14281 return NULL;
14282 }
14283
14284
14285 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14286 PyObject *resultobj;
14287 wxMDIParentFrame *result;
14288 char *kwnames[] = {
14289 NULL
14290 };
14291
14292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14293 {
14294 PyThreadState* __tstate = wxPyBeginAllowThreads();
14295 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14296
14297 wxPyEndAllowThreads(__tstate);
14298 if (PyErr_Occurred()) SWIG_fail;
14299 }
14300 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14301 return resultobj;
14302 fail:
14303 return NULL;
14304 }
14305
14306
14307 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14308 PyObject *resultobj;
14309 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14310 wxWindow *arg2 = (wxWindow *) 0 ;
14311 int arg3 ;
14312 wxString *arg4 = 0 ;
14313 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14314 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14315 wxSize const &arg6_defvalue = wxDefaultSize ;
14316 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14317 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14318 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14319 wxString *arg8 = (wxString *) &arg8_defvalue ;
14320 bool result;
14321 bool temp4 = False ;
14322 wxPoint temp5 ;
14323 wxSize temp6 ;
14324 bool temp8 = False ;
14325 PyObject * obj0 = 0 ;
14326 PyObject * obj1 = 0 ;
14327 PyObject * obj2 = 0 ;
14328 PyObject * obj3 = 0 ;
14329 PyObject * obj4 = 0 ;
14330 PyObject * obj5 = 0 ;
14331 PyObject * obj6 = 0 ;
14332 PyObject * obj7 = 0 ;
14333 char *kwnames[] = {
14334 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14335 };
14336
14337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14340 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14342 arg3 = (int const) SWIG_AsInt(obj2);
14343 if (PyErr_Occurred()) SWIG_fail;
14344 {
14345 arg4 = wxString_in_helper(obj3);
14346 if (arg4 == NULL) SWIG_fail;
14347 temp4 = True;
14348 }
14349 if (obj4) {
14350 {
14351 arg5 = &temp5;
14352 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14353 }
14354 }
14355 if (obj5) {
14356 {
14357 arg6 = &temp6;
14358 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14359 }
14360 }
14361 if (obj6) {
14362 arg7 = (long) SWIG_AsLong(obj6);
14363 if (PyErr_Occurred()) SWIG_fail;
14364 }
14365 if (obj7) {
14366 {
14367 arg8 = wxString_in_helper(obj7);
14368 if (arg8 == NULL) SWIG_fail;
14369 temp8 = True;
14370 }
14371 }
14372 {
14373 PyThreadState* __tstate = wxPyBeginAllowThreads();
14374 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14375
14376 wxPyEndAllowThreads(__tstate);
14377 if (PyErr_Occurred()) SWIG_fail;
14378 }
14379 {
14380 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14381 }
14382 {
14383 if (temp4)
14384 delete arg4;
14385 }
14386 {
14387 if (temp8)
14388 delete arg8;
14389 }
14390 return resultobj;
14391 fail:
14392 {
14393 if (temp4)
14394 delete arg4;
14395 }
14396 {
14397 if (temp8)
14398 delete arg8;
14399 }
14400 return NULL;
14401 }
14402
14403
14404 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
14405 PyObject *resultobj;
14406 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14407 PyObject * obj0 = 0 ;
14408 char *kwnames[] = {
14409 (char *) "self", NULL
14410 };
14411
14412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
14413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14415 {
14416 PyThreadState* __tstate = wxPyBeginAllowThreads();
14417 (arg1)->ActivateNext();
14418
14419 wxPyEndAllowThreads(__tstate);
14420 if (PyErr_Occurred()) SWIG_fail;
14421 }
14422 Py_INCREF(Py_None); resultobj = Py_None;
14423 return resultobj;
14424 fail:
14425 return NULL;
14426 }
14427
14428
14429 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
14430 PyObject *resultobj;
14431 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14432 PyObject * obj0 = 0 ;
14433 char *kwnames[] = {
14434 (char *) "self", NULL
14435 };
14436
14437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
14438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14440 {
14441 PyThreadState* __tstate = wxPyBeginAllowThreads();
14442 (arg1)->ActivatePrevious();
14443
14444 wxPyEndAllowThreads(__tstate);
14445 if (PyErr_Occurred()) SWIG_fail;
14446 }
14447 Py_INCREF(Py_None); resultobj = Py_None;
14448 return resultobj;
14449 fail:
14450 return NULL;
14451 }
14452
14453
14454 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
14455 PyObject *resultobj;
14456 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14457 PyObject * obj0 = 0 ;
14458 char *kwnames[] = {
14459 (char *) "self", NULL
14460 };
14461
14462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
14463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14465 {
14466 PyThreadState* __tstate = wxPyBeginAllowThreads();
14467 (arg1)->ArrangeIcons();
14468
14469 wxPyEndAllowThreads(__tstate);
14470 if (PyErr_Occurred()) SWIG_fail;
14471 }
14472 Py_INCREF(Py_None); resultobj = Py_None;
14473 return resultobj;
14474 fail:
14475 return NULL;
14476 }
14477
14478
14479 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
14480 PyObject *resultobj;
14481 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14482 PyObject * obj0 = 0 ;
14483 char *kwnames[] = {
14484 (char *) "self", NULL
14485 };
14486
14487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
14488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14490 {
14491 PyThreadState* __tstate = wxPyBeginAllowThreads();
14492 (arg1)->Cascade();
14493
14494 wxPyEndAllowThreads(__tstate);
14495 if (PyErr_Occurred()) SWIG_fail;
14496 }
14497 Py_INCREF(Py_None); resultobj = Py_None;
14498 return resultobj;
14499 fail:
14500 return NULL;
14501 }
14502
14503
14504 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14505 PyObject *resultobj;
14506 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14507 wxMDIChildFrame *result;
14508 PyObject * obj0 = 0 ;
14509 char *kwnames[] = {
14510 (char *) "self", NULL
14511 };
14512
14513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
14514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14516 {
14517 PyThreadState* __tstate = wxPyBeginAllowThreads();
14518 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
14519
14520 wxPyEndAllowThreads(__tstate);
14521 if (PyErr_Occurred()) SWIG_fail;
14522 }
14523 {
14524 resultobj = wxPyMake_wxObject(result);
14525 }
14526 return resultobj;
14527 fail:
14528 return NULL;
14529 }
14530
14531
14532 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14533 PyObject *resultobj;
14534 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14535 wxMDIClientWindow *result;
14536 PyObject * obj0 = 0 ;
14537 char *kwnames[] = {
14538 (char *) "self", NULL
14539 };
14540
14541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
14542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14544 {
14545 PyThreadState* __tstate = wxPyBeginAllowThreads();
14546 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
14547
14548 wxPyEndAllowThreads(__tstate);
14549 if (PyErr_Occurred()) SWIG_fail;
14550 }
14551 {
14552 resultobj = wxPyMake_wxObject(result);
14553 }
14554 return resultobj;
14555 fail:
14556 return NULL;
14557 }
14558
14559
14560 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14561 PyObject *resultobj;
14562 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14563 wxWindow *result;
14564 PyObject * obj0 = 0 ;
14565 char *kwnames[] = {
14566 (char *) "self", NULL
14567 };
14568
14569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
14570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14572 {
14573 PyThreadState* __tstate = wxPyBeginAllowThreads();
14574 result = (wxWindow *)(arg1)->GetToolBar();
14575
14576 wxPyEndAllowThreads(__tstate);
14577 if (PyErr_Occurred()) SWIG_fail;
14578 }
14579 {
14580 resultobj = wxPyMake_wxObject(result);
14581 }
14582 return resultobj;
14583 fail:
14584 return NULL;
14585 }
14586
14587
14588 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
14589 PyObject *resultobj;
14590 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14591 PyObject * obj0 = 0 ;
14592 char *kwnames[] = {
14593 (char *) "self", NULL
14594 };
14595
14596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
14597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14599 {
14600 PyThreadState* __tstate = wxPyBeginAllowThreads();
14601 (arg1)->Tile();
14602
14603 wxPyEndAllowThreads(__tstate);
14604 if (PyErr_Occurred()) SWIG_fail;
14605 }
14606 Py_INCREF(Py_None); resultobj = Py_None;
14607 return resultobj;
14608 fail:
14609 return NULL;
14610 }
14611
14612
14613 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
14614 PyObject *obj;
14615 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14616 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
14617 Py_INCREF(obj);
14618 return Py_BuildValue((char *)"");
14619 }
14620 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14621 PyObject *resultobj;
14622 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14623 int arg2 ;
14624 wxString *arg3 = 0 ;
14625 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14626 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14627 wxSize const &arg5_defvalue = wxDefaultSize ;
14628 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14629 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
14630 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14631 wxString *arg7 = (wxString *) &arg7_defvalue ;
14632 wxMDIChildFrame *result;
14633 bool temp3 = False ;
14634 wxPoint temp4 ;
14635 wxSize temp5 ;
14636 bool temp7 = False ;
14637 PyObject * obj0 = 0 ;
14638 PyObject * obj1 = 0 ;
14639 PyObject * obj2 = 0 ;
14640 PyObject * obj3 = 0 ;
14641 PyObject * obj4 = 0 ;
14642 PyObject * obj5 = 0 ;
14643 PyObject * obj6 = 0 ;
14644 char *kwnames[] = {
14645 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14646 };
14647
14648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14651 arg2 = (int const) SWIG_AsInt(obj1);
14652 if (PyErr_Occurred()) SWIG_fail;
14653 {
14654 arg3 = wxString_in_helper(obj2);
14655 if (arg3 == NULL) SWIG_fail;
14656 temp3 = True;
14657 }
14658 if (obj3) {
14659 {
14660 arg4 = &temp4;
14661 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14662 }
14663 }
14664 if (obj4) {
14665 {
14666 arg5 = &temp5;
14667 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14668 }
14669 }
14670 if (obj5) {
14671 arg6 = (long) SWIG_AsLong(obj5);
14672 if (PyErr_Occurred()) SWIG_fail;
14673 }
14674 if (obj6) {
14675 {
14676 arg7 = wxString_in_helper(obj6);
14677 if (arg7 == NULL) SWIG_fail;
14678 temp7 = True;
14679 }
14680 }
14681 {
14682 PyThreadState* __tstate = wxPyBeginAllowThreads();
14683 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14684
14685 wxPyEndAllowThreads(__tstate);
14686 if (PyErr_Occurred()) SWIG_fail;
14687 }
14688 {
14689 resultobj = wxPyMake_wxObject(result);
14690 }
14691 {
14692 if (temp3)
14693 delete arg3;
14694 }
14695 {
14696 if (temp7)
14697 delete arg7;
14698 }
14699 return resultobj;
14700 fail:
14701 {
14702 if (temp3)
14703 delete arg3;
14704 }
14705 {
14706 if (temp7)
14707 delete arg7;
14708 }
14709 return NULL;
14710 }
14711
14712
14713 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14714 PyObject *resultobj;
14715 wxMDIChildFrame *result;
14716 char *kwnames[] = {
14717 NULL
14718 };
14719
14720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
14721 {
14722 PyThreadState* __tstate = wxPyBeginAllowThreads();
14723 result = (wxMDIChildFrame *)new wxMDIChildFrame();
14724
14725 wxPyEndAllowThreads(__tstate);
14726 if (PyErr_Occurred()) SWIG_fail;
14727 }
14728 {
14729 resultobj = wxPyMake_wxObject(result);
14730 }
14731 return resultobj;
14732 fail:
14733 return NULL;
14734 }
14735
14736
14737 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14738 PyObject *resultobj;
14739 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14740 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14741 int arg3 ;
14742 wxString *arg4 = 0 ;
14743 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14744 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14745 wxSize const &arg6_defvalue = wxDefaultSize ;
14746 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14747 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
14748 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14749 wxString *arg8 = (wxString *) &arg8_defvalue ;
14750 bool result;
14751 bool temp4 = False ;
14752 wxPoint temp5 ;
14753 wxSize temp6 ;
14754 bool temp8 = False ;
14755 PyObject * obj0 = 0 ;
14756 PyObject * obj1 = 0 ;
14757 PyObject * obj2 = 0 ;
14758 PyObject * obj3 = 0 ;
14759 PyObject * obj4 = 0 ;
14760 PyObject * obj5 = 0 ;
14761 PyObject * obj6 = 0 ;
14762 PyObject * obj7 = 0 ;
14763 char *kwnames[] = {
14764 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14765 };
14766
14767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14770 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
14771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14772 arg3 = (int const) SWIG_AsInt(obj2);
14773 if (PyErr_Occurred()) SWIG_fail;
14774 {
14775 arg4 = wxString_in_helper(obj3);
14776 if (arg4 == NULL) SWIG_fail;
14777 temp4 = True;
14778 }
14779 if (obj4) {
14780 {
14781 arg5 = &temp5;
14782 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14783 }
14784 }
14785 if (obj5) {
14786 {
14787 arg6 = &temp6;
14788 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14789 }
14790 }
14791 if (obj6) {
14792 arg7 = (long) SWIG_AsLong(obj6);
14793 if (PyErr_Occurred()) SWIG_fail;
14794 }
14795 if (obj7) {
14796 {
14797 arg8 = wxString_in_helper(obj7);
14798 if (arg8 == NULL) SWIG_fail;
14799 temp8 = True;
14800 }
14801 }
14802 {
14803 PyThreadState* __tstate = wxPyBeginAllowThreads();
14804 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14805
14806 wxPyEndAllowThreads(__tstate);
14807 if (PyErr_Occurred()) SWIG_fail;
14808 }
14809 {
14810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14811 }
14812 {
14813 if (temp4)
14814 delete arg4;
14815 }
14816 {
14817 if (temp8)
14818 delete arg8;
14819 }
14820 return resultobj;
14821 fail:
14822 {
14823 if (temp4)
14824 delete arg4;
14825 }
14826 {
14827 if (temp8)
14828 delete arg8;
14829 }
14830 return NULL;
14831 }
14832
14833
14834 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
14835 PyObject *resultobj;
14836 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14837 PyObject * obj0 = 0 ;
14838 char *kwnames[] = {
14839 (char *) "self", NULL
14840 };
14841
14842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
14843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14845 {
14846 PyThreadState* __tstate = wxPyBeginAllowThreads();
14847 (arg1)->Activate();
14848
14849 wxPyEndAllowThreads(__tstate);
14850 if (PyErr_Occurred()) SWIG_fail;
14851 }
14852 Py_INCREF(Py_None); resultobj = Py_None;
14853 return resultobj;
14854 fail:
14855 return NULL;
14856 }
14857
14858
14859 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
14860 PyObject *resultobj;
14861 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14862 bool arg2 ;
14863 PyObject * obj0 = 0 ;
14864 PyObject * obj1 = 0 ;
14865 char *kwnames[] = {
14866 (char *) "self",(char *) "maximize", NULL
14867 };
14868
14869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
14870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14872 arg2 = (bool) SWIG_AsBool(obj1);
14873 if (PyErr_Occurred()) SWIG_fail;
14874 {
14875 PyThreadState* __tstate = wxPyBeginAllowThreads();
14876 (arg1)->Maximize(arg2);
14877
14878 wxPyEndAllowThreads(__tstate);
14879 if (PyErr_Occurred()) SWIG_fail;
14880 }
14881 Py_INCREF(Py_None); resultobj = Py_None;
14882 return resultobj;
14883 fail:
14884 return NULL;
14885 }
14886
14887
14888 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
14889 PyObject *resultobj;
14890 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14891 PyObject * obj0 = 0 ;
14892 char *kwnames[] = {
14893 (char *) "self", NULL
14894 };
14895
14896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
14897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14899 {
14900 PyThreadState* __tstate = wxPyBeginAllowThreads();
14901 (arg1)->Restore();
14902
14903 wxPyEndAllowThreads(__tstate);
14904 if (PyErr_Occurred()) SWIG_fail;
14905 }
14906 Py_INCREF(Py_None); resultobj = Py_None;
14907 return resultobj;
14908 fail:
14909 return NULL;
14910 }
14911
14912
14913 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
14914 PyObject *obj;
14915 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14916 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
14917 Py_INCREF(obj);
14918 return Py_BuildValue((char *)"");
14919 }
14920 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14921 PyObject *resultobj;
14922 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14923 long arg2 = (long) 0 ;
14924 wxMDIClientWindow *result;
14925 PyObject * obj0 = 0 ;
14926 PyObject * obj1 = 0 ;
14927 char *kwnames[] = {
14928 (char *) "parent",(char *) "style", NULL
14929 };
14930
14931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
14932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14934 if (obj1) {
14935 arg2 = (long) SWIG_AsLong(obj1);
14936 if (PyErr_Occurred()) SWIG_fail;
14937 }
14938 {
14939 PyThreadState* __tstate = wxPyBeginAllowThreads();
14940 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
14941
14942 wxPyEndAllowThreads(__tstate);
14943 if (PyErr_Occurred()) SWIG_fail;
14944 }
14945 {
14946 resultobj = wxPyMake_wxObject(result);
14947 }
14948 return resultobj;
14949 fail:
14950 return NULL;
14951 }
14952
14953
14954 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14955 PyObject *resultobj;
14956 wxMDIClientWindow *result;
14957 char *kwnames[] = {
14958 NULL
14959 };
14960
14961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
14962 {
14963 PyThreadState* __tstate = wxPyBeginAllowThreads();
14964 result = (wxMDIClientWindow *)new wxMDIClientWindow();
14965
14966 wxPyEndAllowThreads(__tstate);
14967 if (PyErr_Occurred()) SWIG_fail;
14968 }
14969 {
14970 resultobj = wxPyMake_wxObject(result);
14971 }
14972 return resultobj;
14973 fail:
14974 return NULL;
14975 }
14976
14977
14978 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14979 PyObject *resultobj;
14980 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
14981 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14982 long arg3 = (long) 0 ;
14983 bool result;
14984 PyObject * obj0 = 0 ;
14985 PyObject * obj1 = 0 ;
14986 PyObject * obj2 = 0 ;
14987 char *kwnames[] = {
14988 (char *) "self",(char *) "parent",(char *) "style", NULL
14989 };
14990
14991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
14992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
14993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14994 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
14995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14996 if (obj2) {
14997 arg3 = (long) SWIG_AsLong(obj2);
14998 if (PyErr_Occurred()) SWIG_fail;
14999 }
15000 {
15001 PyThreadState* __tstate = wxPyBeginAllowThreads();
15002 result = (bool)(arg1)->Create(arg2,arg3);
15003
15004 wxPyEndAllowThreads(__tstate);
15005 if (PyErr_Occurred()) SWIG_fail;
15006 }
15007 {
15008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15009 }
15010 return resultobj;
15011 fail:
15012 return NULL;
15013 }
15014
15015
15016 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
15017 PyObject *obj;
15018 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15019 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
15020 Py_INCREF(obj);
15021 return Py_BuildValue((char *)"");
15022 }
15023 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15024 PyObject *resultobj;
15025 wxWindow *arg1 = (wxWindow *) 0 ;
15026 int arg2 ;
15027 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15028 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15029 wxSize const &arg4_defvalue = wxDefaultSize ;
15030 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15031 long arg5 = (long) 0 ;
15032 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15033 wxString *arg6 = (wxString *) &arg6_defvalue ;
15034 wxPyWindow *result;
15035 wxPoint temp3 ;
15036 wxSize temp4 ;
15037 bool temp6 = False ;
15038 PyObject * obj0 = 0 ;
15039 PyObject * obj1 = 0 ;
15040 PyObject * obj2 = 0 ;
15041 PyObject * obj3 = 0 ;
15042 PyObject * obj4 = 0 ;
15043 PyObject * obj5 = 0 ;
15044 char *kwnames[] = {
15045 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15046 };
15047
15048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15051 arg2 = (int const) SWIG_AsInt(obj1);
15052 if (PyErr_Occurred()) SWIG_fail;
15053 if (obj2) {
15054 {
15055 arg3 = &temp3;
15056 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15057 }
15058 }
15059 if (obj3) {
15060 {
15061 arg4 = &temp4;
15062 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15063 }
15064 }
15065 if (obj4) {
15066 arg5 = (long) SWIG_AsLong(obj4);
15067 if (PyErr_Occurred()) SWIG_fail;
15068 }
15069 if (obj5) {
15070 {
15071 arg6 = wxString_in_helper(obj5);
15072 if (arg6 == NULL) SWIG_fail;
15073 temp6 = True;
15074 }
15075 }
15076 {
15077 PyThreadState* __tstate = wxPyBeginAllowThreads();
15078 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15079
15080 wxPyEndAllowThreads(__tstate);
15081 if (PyErr_Occurred()) SWIG_fail;
15082 }
15083 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15084 {
15085 if (temp6)
15086 delete arg6;
15087 }
15088 return resultobj;
15089 fail:
15090 {
15091 if (temp6)
15092 delete arg6;
15093 }
15094 return NULL;
15095 }
15096
15097
15098 static PyObject *_wrap_new_PrePyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15099 PyObject *resultobj;
15100 wxPyWindow *result;
15101 char *kwnames[] = {
15102 NULL
15103 };
15104
15105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
15106 {
15107 PyThreadState* __tstate = wxPyBeginAllowThreads();
15108 result = (wxPyWindow *)new wxPyWindow();
15109
15110 wxPyEndAllowThreads(__tstate);
15111 if (PyErr_Occurred()) SWIG_fail;
15112 }
15113 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15114 return resultobj;
15115 fail:
15116 return NULL;
15117 }
15118
15119
15120 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15121 PyObject *resultobj;
15122 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15123 PyObject *arg2 = (PyObject *) 0 ;
15124 PyObject *arg3 = (PyObject *) 0 ;
15125 PyObject * obj0 = 0 ;
15126 PyObject * obj1 = 0 ;
15127 PyObject * obj2 = 0 ;
15128 char *kwnames[] = {
15129 (char *) "self",(char *) "self",(char *) "_class", NULL
15130 };
15131
15132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15135 arg2 = obj1;
15136 arg3 = obj2;
15137 {
15138 PyThreadState* __tstate = wxPyBeginAllowThreads();
15139 (arg1)->_setCallbackInfo(arg2,arg3);
15140
15141 wxPyEndAllowThreads(__tstate);
15142 if (PyErr_Occurred()) SWIG_fail;
15143 }
15144 Py_INCREF(Py_None); resultobj = Py_None;
15145 return resultobj;
15146 fail:
15147 return NULL;
15148 }
15149
15150
15151 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15152 PyObject *resultobj;
15153 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15154 int arg2 ;
15155 int arg3 ;
15156 int arg4 ;
15157 int arg5 ;
15158 PyObject * obj0 = 0 ;
15159 PyObject * obj1 = 0 ;
15160 PyObject * obj2 = 0 ;
15161 PyObject * obj3 = 0 ;
15162 PyObject * obj4 = 0 ;
15163 char *kwnames[] = {
15164 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15165 };
15166
15167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15170 arg2 = (int) SWIG_AsInt(obj1);
15171 if (PyErr_Occurred()) SWIG_fail;
15172 arg3 = (int) SWIG_AsInt(obj2);
15173 if (PyErr_Occurred()) SWIG_fail;
15174 arg4 = (int) SWIG_AsInt(obj3);
15175 if (PyErr_Occurred()) SWIG_fail;
15176 arg5 = (int) SWIG_AsInt(obj4);
15177 if (PyErr_Occurred()) SWIG_fail;
15178 {
15179 PyThreadState* __tstate = wxPyBeginAllowThreads();
15180 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15181
15182 wxPyEndAllowThreads(__tstate);
15183 if (PyErr_Occurred()) SWIG_fail;
15184 }
15185 Py_INCREF(Py_None); resultobj = Py_None;
15186 return resultobj;
15187 fail:
15188 return NULL;
15189 }
15190
15191
15192 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15193 PyObject *resultobj;
15194 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15195 int arg2 ;
15196 int arg3 ;
15197 int arg4 ;
15198 int arg5 ;
15199 int arg6 = (int) wxSIZE_AUTO ;
15200 PyObject * obj0 = 0 ;
15201 PyObject * obj1 = 0 ;
15202 PyObject * obj2 = 0 ;
15203 PyObject * obj3 = 0 ;
15204 PyObject * obj4 = 0 ;
15205 PyObject * obj5 = 0 ;
15206 char *kwnames[] = {
15207 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15208 };
15209
15210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15213 arg2 = (int) SWIG_AsInt(obj1);
15214 if (PyErr_Occurred()) SWIG_fail;
15215 arg3 = (int) SWIG_AsInt(obj2);
15216 if (PyErr_Occurred()) SWIG_fail;
15217 arg4 = (int) SWIG_AsInt(obj3);
15218 if (PyErr_Occurred()) SWIG_fail;
15219 arg5 = (int) SWIG_AsInt(obj4);
15220 if (PyErr_Occurred()) SWIG_fail;
15221 if (obj5) {
15222 arg6 = (int) SWIG_AsInt(obj5);
15223 if (PyErr_Occurred()) SWIG_fail;
15224 }
15225 {
15226 PyThreadState* __tstate = wxPyBeginAllowThreads();
15227 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15228
15229 wxPyEndAllowThreads(__tstate);
15230 if (PyErr_Occurred()) SWIG_fail;
15231 }
15232 Py_INCREF(Py_None); resultobj = Py_None;
15233 return resultobj;
15234 fail:
15235 return NULL;
15236 }
15237
15238
15239 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15240 PyObject *resultobj;
15241 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15242 int arg2 ;
15243 int arg3 ;
15244 PyObject * obj0 = 0 ;
15245 PyObject * obj1 = 0 ;
15246 PyObject * obj2 = 0 ;
15247 char *kwnames[] = {
15248 (char *) "self",(char *) "width",(char *) "height", NULL
15249 };
15250
15251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15254 arg2 = (int) SWIG_AsInt(obj1);
15255 if (PyErr_Occurred()) SWIG_fail;
15256 arg3 = (int) SWIG_AsInt(obj2);
15257 if (PyErr_Occurred()) SWIG_fail;
15258 {
15259 PyThreadState* __tstate = wxPyBeginAllowThreads();
15260 (arg1)->base_DoSetClientSize(arg2,arg3);
15261
15262 wxPyEndAllowThreads(__tstate);
15263 if (PyErr_Occurred()) SWIG_fail;
15264 }
15265 Py_INCREF(Py_None); resultobj = Py_None;
15266 return resultobj;
15267 fail:
15268 return NULL;
15269 }
15270
15271
15272 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15273 PyObject *resultobj;
15274 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15275 int arg2 ;
15276 int arg3 ;
15277 PyObject * obj0 = 0 ;
15278 PyObject * obj1 = 0 ;
15279 PyObject * obj2 = 0 ;
15280 char *kwnames[] = {
15281 (char *) "self",(char *) "x",(char *) "y", NULL
15282 };
15283
15284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15287 arg2 = (int) SWIG_AsInt(obj1);
15288 if (PyErr_Occurred()) SWIG_fail;
15289 arg3 = (int) SWIG_AsInt(obj2);
15290 if (PyErr_Occurred()) SWIG_fail;
15291 {
15292 PyThreadState* __tstate = wxPyBeginAllowThreads();
15293 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15294
15295 wxPyEndAllowThreads(__tstate);
15296 if (PyErr_Occurred()) SWIG_fail;
15297 }
15298 Py_INCREF(Py_None); resultobj = Py_None;
15299 return resultobj;
15300 fail:
15301 return NULL;
15302 }
15303
15304
15305 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15306 PyObject *resultobj;
15307 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15308 int *arg2 = (int *) 0 ;
15309 int *arg3 = (int *) 0 ;
15310 int temp2 ;
15311 int temp3 ;
15312 PyObject * obj0 = 0 ;
15313 char *kwnames[] = {
15314 (char *) "self", NULL
15315 };
15316
15317 arg2 = &temp2;
15318 arg3 = &temp3;
15319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15322 {
15323 PyThreadState* __tstate = wxPyBeginAllowThreads();
15324 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15325
15326 wxPyEndAllowThreads(__tstate);
15327 if (PyErr_Occurred()) SWIG_fail;
15328 }
15329 Py_INCREF(Py_None); resultobj = Py_None;
15330 {
15331 PyObject *o = PyInt_FromLong((long) (*arg2));
15332 resultobj = t_output_helper(resultobj,o);
15333 }
15334 {
15335 PyObject *o = PyInt_FromLong((long) (*arg3));
15336 resultobj = t_output_helper(resultobj,o);
15337 }
15338 return resultobj;
15339 fail:
15340 return NULL;
15341 }
15342
15343
15344 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15345 PyObject *resultobj;
15346 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15347 int *arg2 = (int *) 0 ;
15348 int *arg3 = (int *) 0 ;
15349 int temp2 ;
15350 int temp3 ;
15351 PyObject * obj0 = 0 ;
15352 char *kwnames[] = {
15353 (char *) "self", NULL
15354 };
15355
15356 arg2 = &temp2;
15357 arg3 = &temp3;
15358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15361 {
15362 PyThreadState* __tstate = wxPyBeginAllowThreads();
15363 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
15364
15365 wxPyEndAllowThreads(__tstate);
15366 if (PyErr_Occurred()) SWIG_fail;
15367 }
15368 Py_INCREF(Py_None); resultobj = Py_None;
15369 {
15370 PyObject *o = PyInt_FromLong((long) (*arg2));
15371 resultobj = t_output_helper(resultobj,o);
15372 }
15373 {
15374 PyObject *o = PyInt_FromLong((long) (*arg3));
15375 resultobj = t_output_helper(resultobj,o);
15376 }
15377 return resultobj;
15378 fail:
15379 return NULL;
15380 }
15381
15382
15383 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15384 PyObject *resultobj;
15385 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15386 int *arg2 = (int *) 0 ;
15387 int *arg3 = (int *) 0 ;
15388 int temp2 ;
15389 int temp3 ;
15390 PyObject * obj0 = 0 ;
15391 char *kwnames[] = {
15392 (char *) "self", NULL
15393 };
15394
15395 arg2 = &temp2;
15396 arg3 = &temp3;
15397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
15398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15400 {
15401 PyThreadState* __tstate = wxPyBeginAllowThreads();
15402 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
15403
15404 wxPyEndAllowThreads(__tstate);
15405 if (PyErr_Occurred()) SWIG_fail;
15406 }
15407 Py_INCREF(Py_None); resultobj = Py_None;
15408 {
15409 PyObject *o = PyInt_FromLong((long) (*arg2));
15410 resultobj = t_output_helper(resultobj,o);
15411 }
15412 {
15413 PyObject *o = PyInt_FromLong((long) (*arg3));
15414 resultobj = t_output_helper(resultobj,o);
15415 }
15416 return resultobj;
15417 fail:
15418 return NULL;
15419 }
15420
15421
15422 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15423 PyObject *resultobj;
15424 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15425 wxSize result;
15426 PyObject * obj0 = 0 ;
15427 char *kwnames[] = {
15428 (char *) "self", NULL
15429 };
15430
15431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15434 {
15435 PyThreadState* __tstate = wxPyBeginAllowThreads();
15436 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
15437
15438 wxPyEndAllowThreads(__tstate);
15439 if (PyErr_Occurred()) SWIG_fail;
15440 }
15441 {
15442 wxSize * resultptr;
15443 resultptr = new wxSize((wxSize &) result);
15444 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15445 }
15446 return resultobj;
15447 fail:
15448 return NULL;
15449 }
15450
15451
15452 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15453 PyObject *resultobj;
15454 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15455 wxSize result;
15456 PyObject * obj0 = 0 ;
15457 char *kwnames[] = {
15458 (char *) "self", NULL
15459 };
15460
15461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15464 {
15465 PyThreadState* __tstate = wxPyBeginAllowThreads();
15466 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
15467
15468 wxPyEndAllowThreads(__tstate);
15469 if (PyErr_Occurred()) SWIG_fail;
15470 }
15471 {
15472 wxSize * resultptr;
15473 resultptr = new wxSize((wxSize &) result);
15474 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15475 }
15476 return resultobj;
15477 fail:
15478 return NULL;
15479 }
15480
15481
15482 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
15483 PyObject *resultobj;
15484 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15485 PyObject * obj0 = 0 ;
15486 char *kwnames[] = {
15487 (char *) "self", NULL
15488 };
15489
15490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
15491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15493 {
15494 PyThreadState* __tstate = wxPyBeginAllowThreads();
15495 (arg1)->base_InitDialog();
15496
15497 wxPyEndAllowThreads(__tstate);
15498 if (PyErr_Occurred()) SWIG_fail;
15499 }
15500 Py_INCREF(Py_None); resultobj = Py_None;
15501 return resultobj;
15502 fail:
15503 return NULL;
15504 }
15505
15506
15507 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15508 PyObject *resultobj;
15509 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15510 bool result;
15511 PyObject * obj0 = 0 ;
15512 char *kwnames[] = {
15513 (char *) "self", NULL
15514 };
15515
15516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15519 {
15520 PyThreadState* __tstate = wxPyBeginAllowThreads();
15521 result = (bool)(arg1)->base_TransferDataToWindow();
15522
15523 wxPyEndAllowThreads(__tstate);
15524 if (PyErr_Occurred()) SWIG_fail;
15525 }
15526 {
15527 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15528 }
15529 return resultobj;
15530 fail:
15531 return NULL;
15532 }
15533
15534
15535 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15536 PyObject *resultobj;
15537 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15538 bool result;
15539 PyObject * obj0 = 0 ;
15540 char *kwnames[] = {
15541 (char *) "self", NULL
15542 };
15543
15544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15547 {
15548 PyThreadState* __tstate = wxPyBeginAllowThreads();
15549 result = (bool)(arg1)->base_TransferDataFromWindow();
15550
15551 wxPyEndAllowThreads(__tstate);
15552 if (PyErr_Occurred()) SWIG_fail;
15553 }
15554 {
15555 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15556 }
15557 return resultobj;
15558 fail:
15559 return NULL;
15560 }
15561
15562
15563 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
15564 PyObject *resultobj;
15565 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15566 bool result;
15567 PyObject * obj0 = 0 ;
15568 char *kwnames[] = {
15569 (char *) "self", NULL
15570 };
15571
15572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
15573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15575 {
15576 PyThreadState* __tstate = wxPyBeginAllowThreads();
15577 result = (bool)(arg1)->base_Validate();
15578
15579 wxPyEndAllowThreads(__tstate);
15580 if (PyErr_Occurred()) SWIG_fail;
15581 }
15582 {
15583 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15584 }
15585 return resultobj;
15586 fail:
15587 return NULL;
15588 }
15589
15590
15591 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
15592 PyObject *resultobj;
15593 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15594 bool result;
15595 PyObject * obj0 = 0 ;
15596 char *kwnames[] = {
15597 (char *) "self", NULL
15598 };
15599
15600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15603 {
15604 PyThreadState* __tstate = wxPyBeginAllowThreads();
15605 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
15606
15607 wxPyEndAllowThreads(__tstate);
15608 if (PyErr_Occurred()) SWIG_fail;
15609 }
15610 {
15611 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15612 }
15613 return resultobj;
15614 fail:
15615 return NULL;
15616 }
15617
15618
15619 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
15620 PyObject *resultobj;
15621 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15622 bool result;
15623 PyObject * obj0 = 0 ;
15624 char *kwnames[] = {
15625 (char *) "self", NULL
15626 };
15627
15628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15631 {
15632 PyThreadState* __tstate = wxPyBeginAllowThreads();
15633 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
15634
15635 wxPyEndAllowThreads(__tstate);
15636 if (PyErr_Occurred()) SWIG_fail;
15637 }
15638 {
15639 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15640 }
15641 return resultobj;
15642 fail:
15643 return NULL;
15644 }
15645
15646
15647 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15648 PyObject *resultobj;
15649 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15650 wxSize result;
15651 PyObject * obj0 = 0 ;
15652 char *kwnames[] = {
15653 (char *) "self", NULL
15654 };
15655
15656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
15657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15659 {
15660 PyThreadState* __tstate = wxPyBeginAllowThreads();
15661 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
15662
15663 wxPyEndAllowThreads(__tstate);
15664 if (PyErr_Occurred()) SWIG_fail;
15665 }
15666 {
15667 wxSize * resultptr;
15668 resultptr = new wxSize((wxSize &) result);
15669 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15670 }
15671 return resultobj;
15672 fail:
15673 return NULL;
15674 }
15675
15676
15677 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15678 PyObject *resultobj;
15679 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15680 wxWindow *arg2 = (wxWindow *) 0 ;
15681 PyObject * obj0 = 0 ;
15682 PyObject * obj1 = 0 ;
15683 char *kwnames[] = {
15684 (char *) "self",(char *) "child", NULL
15685 };
15686
15687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15690 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15692 {
15693 PyThreadState* __tstate = wxPyBeginAllowThreads();
15694 (arg1)->base_AddChild(arg2);
15695
15696 wxPyEndAllowThreads(__tstate);
15697 if (PyErr_Occurred()) SWIG_fail;
15698 }
15699 Py_INCREF(Py_None); resultobj = Py_None;
15700 return resultobj;
15701 fail:
15702 return NULL;
15703 }
15704
15705
15706 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15707 PyObject *resultobj;
15708 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15709 wxWindow *arg2 = (wxWindow *) 0 ;
15710 PyObject * obj0 = 0 ;
15711 PyObject * obj1 = 0 ;
15712 char *kwnames[] = {
15713 (char *) "self",(char *) "child", NULL
15714 };
15715
15716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15719 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15721 {
15722 PyThreadState* __tstate = wxPyBeginAllowThreads();
15723 (arg1)->base_RemoveChild(arg2);
15724
15725 wxPyEndAllowThreads(__tstate);
15726 if (PyErr_Occurred()) SWIG_fail;
15727 }
15728 Py_INCREF(Py_None); resultobj = Py_None;
15729 return resultobj;
15730 fail:
15731 return NULL;
15732 }
15733
15734
15735 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
15736 PyObject *resultobj;
15737 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15738 bool result;
15739 PyObject * obj0 = 0 ;
15740 char *kwnames[] = {
15741 (char *) "self", NULL
15742 };
15743
15744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
15745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15747 {
15748 PyThreadState* __tstate = wxPyBeginAllowThreads();
15749 result = (bool)(arg1)->base_ShouldInheritColours();
15750
15751 wxPyEndAllowThreads(__tstate);
15752 if (PyErr_Occurred()) SWIG_fail;
15753 }
15754 {
15755 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15756 }
15757 return resultobj;
15758 fail:
15759 return NULL;
15760 }
15761
15762
15763 static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
15764 PyObject *resultobj;
15765 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15766 wxColour *arg2 = 0 ;
15767 wxColour temp2 ;
15768 PyObject * obj0 = 0 ;
15769 PyObject * obj1 = 0 ;
15770 char *kwnames[] = {
15771 (char *) "self",(char *) "c", NULL
15772 };
15773
15774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
15775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15777 {
15778 arg2 = &temp2;
15779 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15780 }
15781 {
15782 PyThreadState* __tstate = wxPyBeginAllowThreads();
15783 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
15784
15785 wxPyEndAllowThreads(__tstate);
15786 if (PyErr_Occurred()) SWIG_fail;
15787 }
15788 Py_INCREF(Py_None); resultobj = Py_None;
15789 return resultobj;
15790 fail:
15791 return NULL;
15792 }
15793
15794
15795 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
15796 PyObject *obj;
15797 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15798 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
15799 Py_INCREF(obj);
15800 return Py_BuildValue((char *)"");
15801 }
15802 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
15803 PyObject *resultobj;
15804 wxWindow *arg1 = (wxWindow *) 0 ;
15805 int arg2 ;
15806 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15807 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15808 wxSize const &arg4_defvalue = wxDefaultSize ;
15809 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15810 long arg5 = (long) 0 ;
15811 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15812 wxString *arg6 = (wxString *) &arg6_defvalue ;
15813 wxPyPanel *result;
15814 wxPoint temp3 ;
15815 wxSize temp4 ;
15816 bool temp6 = False ;
15817 PyObject * obj0 = 0 ;
15818 PyObject * obj1 = 0 ;
15819 PyObject * obj2 = 0 ;
15820 PyObject * obj3 = 0 ;
15821 PyObject * obj4 = 0 ;
15822 PyObject * obj5 = 0 ;
15823 char *kwnames[] = {
15824 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15825 };
15826
15827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15830 arg2 = (int const) SWIG_AsInt(obj1);
15831 if (PyErr_Occurred()) SWIG_fail;
15832 if (obj2) {
15833 {
15834 arg3 = &temp3;
15835 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15836 }
15837 }
15838 if (obj3) {
15839 {
15840 arg4 = &temp4;
15841 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15842 }
15843 }
15844 if (obj4) {
15845 arg5 = (long) SWIG_AsLong(obj4);
15846 if (PyErr_Occurred()) SWIG_fail;
15847 }
15848 if (obj5) {
15849 {
15850 arg6 = wxString_in_helper(obj5);
15851 if (arg6 == NULL) SWIG_fail;
15852 temp6 = True;
15853 }
15854 }
15855 {
15856 PyThreadState* __tstate = wxPyBeginAllowThreads();
15857 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15858
15859 wxPyEndAllowThreads(__tstate);
15860 if (PyErr_Occurred()) SWIG_fail;
15861 }
15862 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
15863 {
15864 if (temp6)
15865 delete arg6;
15866 }
15867 return resultobj;
15868 fail:
15869 {
15870 if (temp6)
15871 delete arg6;
15872 }
15873 return NULL;
15874 }
15875
15876
15877 static PyObject *_wrap_new_PrePyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
15878 PyObject *resultobj;
15879 wxPyPanel *result;
15880 char *kwnames[] = {
15881 NULL
15882 };
15883
15884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
15885 {
15886 PyThreadState* __tstate = wxPyBeginAllowThreads();
15887 result = (wxPyPanel *)new wxPyPanel();
15888
15889 wxPyEndAllowThreads(__tstate);
15890 if (PyErr_Occurred()) SWIG_fail;
15891 }
15892 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
15893 return resultobj;
15894 fail:
15895 return NULL;
15896 }
15897
15898
15899 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15900 PyObject *resultobj;
15901 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15902 PyObject *arg2 = (PyObject *) 0 ;
15903 PyObject *arg3 = (PyObject *) 0 ;
15904 PyObject * obj0 = 0 ;
15905 PyObject * obj1 = 0 ;
15906 PyObject * obj2 = 0 ;
15907 char *kwnames[] = {
15908 (char *) "self",(char *) "self",(char *) "_class", NULL
15909 };
15910
15911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15914 arg2 = obj1;
15915 arg3 = obj2;
15916 {
15917 PyThreadState* __tstate = wxPyBeginAllowThreads();
15918 (arg1)->_setCallbackInfo(arg2,arg3);
15919
15920 wxPyEndAllowThreads(__tstate);
15921 if (PyErr_Occurred()) SWIG_fail;
15922 }
15923 Py_INCREF(Py_None); resultobj = Py_None;
15924 return resultobj;
15925 fail:
15926 return NULL;
15927 }
15928
15929
15930 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15931 PyObject *resultobj;
15932 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15933 int arg2 ;
15934 int arg3 ;
15935 int arg4 ;
15936 int arg5 ;
15937 PyObject * obj0 = 0 ;
15938 PyObject * obj1 = 0 ;
15939 PyObject * obj2 = 0 ;
15940 PyObject * obj3 = 0 ;
15941 PyObject * obj4 = 0 ;
15942 char *kwnames[] = {
15943 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15944 };
15945
15946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15949 arg2 = (int) SWIG_AsInt(obj1);
15950 if (PyErr_Occurred()) SWIG_fail;
15951 arg3 = (int) SWIG_AsInt(obj2);
15952 if (PyErr_Occurred()) SWIG_fail;
15953 arg4 = (int) SWIG_AsInt(obj3);
15954 if (PyErr_Occurred()) SWIG_fail;
15955 arg5 = (int) SWIG_AsInt(obj4);
15956 if (PyErr_Occurred()) SWIG_fail;
15957 {
15958 PyThreadState* __tstate = wxPyBeginAllowThreads();
15959 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15960
15961 wxPyEndAllowThreads(__tstate);
15962 if (PyErr_Occurred()) SWIG_fail;
15963 }
15964 Py_INCREF(Py_None); resultobj = Py_None;
15965 return resultobj;
15966 fail:
15967 return NULL;
15968 }
15969
15970
15971 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15972 PyObject *resultobj;
15973 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15974 int arg2 ;
15975 int arg3 ;
15976 int arg4 ;
15977 int arg5 ;
15978 int arg6 = (int) wxSIZE_AUTO ;
15979 PyObject * obj0 = 0 ;
15980 PyObject * obj1 = 0 ;
15981 PyObject * obj2 = 0 ;
15982 PyObject * obj3 = 0 ;
15983 PyObject * obj4 = 0 ;
15984 PyObject * obj5 = 0 ;
15985 char *kwnames[] = {
15986 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15987 };
15988
15989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15992 arg2 = (int) SWIG_AsInt(obj1);
15993 if (PyErr_Occurred()) SWIG_fail;
15994 arg3 = (int) SWIG_AsInt(obj2);
15995 if (PyErr_Occurred()) SWIG_fail;
15996 arg4 = (int) SWIG_AsInt(obj3);
15997 if (PyErr_Occurred()) SWIG_fail;
15998 arg5 = (int) SWIG_AsInt(obj4);
15999 if (PyErr_Occurred()) SWIG_fail;
16000 if (obj5) {
16001 arg6 = (int) SWIG_AsInt(obj5);
16002 if (PyErr_Occurred()) SWIG_fail;
16003 }
16004 {
16005 PyThreadState* __tstate = wxPyBeginAllowThreads();
16006 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16007
16008 wxPyEndAllowThreads(__tstate);
16009 if (PyErr_Occurred()) SWIG_fail;
16010 }
16011 Py_INCREF(Py_None); resultobj = Py_None;
16012 return resultobj;
16013 fail:
16014 return NULL;
16015 }
16016
16017
16018 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16019 PyObject *resultobj;
16020 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16021 int arg2 ;
16022 int arg3 ;
16023 PyObject * obj0 = 0 ;
16024 PyObject * obj1 = 0 ;
16025 PyObject * obj2 = 0 ;
16026 char *kwnames[] = {
16027 (char *) "self",(char *) "width",(char *) "height", NULL
16028 };
16029
16030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16033 arg2 = (int) SWIG_AsInt(obj1);
16034 if (PyErr_Occurred()) SWIG_fail;
16035 arg3 = (int) SWIG_AsInt(obj2);
16036 if (PyErr_Occurred()) SWIG_fail;
16037 {
16038 PyThreadState* __tstate = wxPyBeginAllowThreads();
16039 (arg1)->base_DoSetClientSize(arg2,arg3);
16040
16041 wxPyEndAllowThreads(__tstate);
16042 if (PyErr_Occurred()) SWIG_fail;
16043 }
16044 Py_INCREF(Py_None); resultobj = Py_None;
16045 return resultobj;
16046 fail:
16047 return NULL;
16048 }
16049
16050
16051 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16052 PyObject *resultobj;
16053 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16054 int arg2 ;
16055 int arg3 ;
16056 PyObject * obj0 = 0 ;
16057 PyObject * obj1 = 0 ;
16058 PyObject * obj2 = 0 ;
16059 char *kwnames[] = {
16060 (char *) "self",(char *) "x",(char *) "y", NULL
16061 };
16062
16063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16066 arg2 = (int) SWIG_AsInt(obj1);
16067 if (PyErr_Occurred()) SWIG_fail;
16068 arg3 = (int) SWIG_AsInt(obj2);
16069 if (PyErr_Occurred()) SWIG_fail;
16070 {
16071 PyThreadState* __tstate = wxPyBeginAllowThreads();
16072 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16073
16074 wxPyEndAllowThreads(__tstate);
16075 if (PyErr_Occurred()) SWIG_fail;
16076 }
16077 Py_INCREF(Py_None); resultobj = Py_None;
16078 return resultobj;
16079 fail:
16080 return NULL;
16081 }
16082
16083
16084 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16085 PyObject *resultobj;
16086 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16087 int *arg2 = (int *) 0 ;
16088 int *arg3 = (int *) 0 ;
16089 int temp2 ;
16090 int temp3 ;
16091 PyObject * obj0 = 0 ;
16092 char *kwnames[] = {
16093 (char *) "self", NULL
16094 };
16095
16096 arg2 = &temp2;
16097 arg3 = &temp3;
16098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
16099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16101 {
16102 PyThreadState* __tstate = wxPyBeginAllowThreads();
16103 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
16104
16105 wxPyEndAllowThreads(__tstate);
16106 if (PyErr_Occurred()) SWIG_fail;
16107 }
16108 Py_INCREF(Py_None); resultobj = Py_None;
16109 {
16110 PyObject *o = PyInt_FromLong((long) (*arg2));
16111 resultobj = t_output_helper(resultobj,o);
16112 }
16113 {
16114 PyObject *o = PyInt_FromLong((long) (*arg3));
16115 resultobj = t_output_helper(resultobj,o);
16116 }
16117 return resultobj;
16118 fail:
16119 return NULL;
16120 }
16121
16122
16123 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16124 PyObject *resultobj;
16125 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16126 int *arg2 = (int *) 0 ;
16127 int *arg3 = (int *) 0 ;
16128 int temp2 ;
16129 int temp3 ;
16130 PyObject * obj0 = 0 ;
16131 char *kwnames[] = {
16132 (char *) "self", NULL
16133 };
16134
16135 arg2 = &temp2;
16136 arg3 = &temp3;
16137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16140 {
16141 PyThreadState* __tstate = wxPyBeginAllowThreads();
16142 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
16143
16144 wxPyEndAllowThreads(__tstate);
16145 if (PyErr_Occurred()) SWIG_fail;
16146 }
16147 Py_INCREF(Py_None); resultobj = Py_None;
16148 {
16149 PyObject *o = PyInt_FromLong((long) (*arg2));
16150 resultobj = t_output_helper(resultobj,o);
16151 }
16152 {
16153 PyObject *o = PyInt_FromLong((long) (*arg3));
16154 resultobj = t_output_helper(resultobj,o);
16155 }
16156 return resultobj;
16157 fail:
16158 return NULL;
16159 }
16160
16161
16162 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16163 PyObject *resultobj;
16164 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16165 int *arg2 = (int *) 0 ;
16166 int *arg3 = (int *) 0 ;
16167 int temp2 ;
16168 int temp3 ;
16169 PyObject * obj0 = 0 ;
16170 char *kwnames[] = {
16171 (char *) "self", NULL
16172 };
16173
16174 arg2 = &temp2;
16175 arg3 = &temp3;
16176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
16177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16179 {
16180 PyThreadState* __tstate = wxPyBeginAllowThreads();
16181 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
16182
16183 wxPyEndAllowThreads(__tstate);
16184 if (PyErr_Occurred()) SWIG_fail;
16185 }
16186 Py_INCREF(Py_None); resultobj = Py_None;
16187 {
16188 PyObject *o = PyInt_FromLong((long) (*arg2));
16189 resultobj = t_output_helper(resultobj,o);
16190 }
16191 {
16192 PyObject *o = PyInt_FromLong((long) (*arg3));
16193 resultobj = t_output_helper(resultobj,o);
16194 }
16195 return resultobj;
16196 fail:
16197 return NULL;
16198 }
16199
16200
16201 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16202 PyObject *resultobj;
16203 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16204 wxSize result;
16205 PyObject * obj0 = 0 ;
16206 char *kwnames[] = {
16207 (char *) "self", NULL
16208 };
16209
16210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16213 {
16214 PyThreadState* __tstate = wxPyBeginAllowThreads();
16215 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
16216
16217 wxPyEndAllowThreads(__tstate);
16218 if (PyErr_Occurred()) SWIG_fail;
16219 }
16220 {
16221 wxSize * resultptr;
16222 resultptr = new wxSize((wxSize &) result);
16223 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16224 }
16225 return resultobj;
16226 fail:
16227 return NULL;
16228 }
16229
16230
16231 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16232 PyObject *resultobj;
16233 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16234 wxSize result;
16235 PyObject * obj0 = 0 ;
16236 char *kwnames[] = {
16237 (char *) "self", NULL
16238 };
16239
16240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16243 {
16244 PyThreadState* __tstate = wxPyBeginAllowThreads();
16245 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
16246
16247 wxPyEndAllowThreads(__tstate);
16248 if (PyErr_Occurred()) SWIG_fail;
16249 }
16250 {
16251 wxSize * resultptr;
16252 resultptr = new wxSize((wxSize &) result);
16253 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16254 }
16255 return resultobj;
16256 fail:
16257 return NULL;
16258 }
16259
16260
16261 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16262 PyObject *resultobj;
16263 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16264 PyObject * obj0 = 0 ;
16265 char *kwnames[] = {
16266 (char *) "self", NULL
16267 };
16268
16269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
16270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16272 {
16273 PyThreadState* __tstate = wxPyBeginAllowThreads();
16274 (arg1)->base_InitDialog();
16275
16276 wxPyEndAllowThreads(__tstate);
16277 if (PyErr_Occurred()) SWIG_fail;
16278 }
16279 Py_INCREF(Py_None); resultobj = Py_None;
16280 return resultobj;
16281 fail:
16282 return NULL;
16283 }
16284
16285
16286 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16287 PyObject *resultobj;
16288 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16289 bool result;
16290 PyObject * obj0 = 0 ;
16291 char *kwnames[] = {
16292 (char *) "self", NULL
16293 };
16294
16295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16298 {
16299 PyThreadState* __tstate = wxPyBeginAllowThreads();
16300 result = (bool)(arg1)->base_TransferDataToWindow();
16301
16302 wxPyEndAllowThreads(__tstate);
16303 if (PyErr_Occurred()) SWIG_fail;
16304 }
16305 {
16306 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16307 }
16308 return resultobj;
16309 fail:
16310 return NULL;
16311 }
16312
16313
16314 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16315 PyObject *resultobj;
16316 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16317 bool result;
16318 PyObject * obj0 = 0 ;
16319 char *kwnames[] = {
16320 (char *) "self", NULL
16321 };
16322
16323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16326 {
16327 PyThreadState* __tstate = wxPyBeginAllowThreads();
16328 result = (bool)(arg1)->base_TransferDataFromWindow();
16329
16330 wxPyEndAllowThreads(__tstate);
16331 if (PyErr_Occurred()) SWIG_fail;
16332 }
16333 {
16334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16335 }
16336 return resultobj;
16337 fail:
16338 return NULL;
16339 }
16340
16341
16342 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
16343 PyObject *resultobj;
16344 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16345 bool result;
16346 PyObject * obj0 = 0 ;
16347 char *kwnames[] = {
16348 (char *) "self", NULL
16349 };
16350
16351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
16352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16354 {
16355 PyThreadState* __tstate = wxPyBeginAllowThreads();
16356 result = (bool)(arg1)->base_Validate();
16357
16358 wxPyEndAllowThreads(__tstate);
16359 if (PyErr_Occurred()) SWIG_fail;
16360 }
16361 {
16362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16363 }
16364 return resultobj;
16365 fail:
16366 return NULL;
16367 }
16368
16369
16370 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16371 PyObject *resultobj;
16372 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16373 bool result;
16374 PyObject * obj0 = 0 ;
16375 char *kwnames[] = {
16376 (char *) "self", NULL
16377 };
16378
16379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16382 {
16383 PyThreadState* __tstate = wxPyBeginAllowThreads();
16384 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
16385
16386 wxPyEndAllowThreads(__tstate);
16387 if (PyErr_Occurred()) SWIG_fail;
16388 }
16389 {
16390 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16391 }
16392 return resultobj;
16393 fail:
16394 return NULL;
16395 }
16396
16397
16398 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
16399 PyObject *resultobj;
16400 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16401 bool result;
16402 PyObject * obj0 = 0 ;
16403 char *kwnames[] = {
16404 (char *) "self", NULL
16405 };
16406
16407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16410 {
16411 PyThreadState* __tstate = wxPyBeginAllowThreads();
16412 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
16413
16414 wxPyEndAllowThreads(__tstate);
16415 if (PyErr_Occurred()) SWIG_fail;
16416 }
16417 {
16418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16419 }
16420 return resultobj;
16421 fail:
16422 return NULL;
16423 }
16424
16425
16426 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16427 PyObject *resultobj;
16428 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16429 wxSize result;
16430 PyObject * obj0 = 0 ;
16431 char *kwnames[] = {
16432 (char *) "self", NULL
16433 };
16434
16435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
16436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16438 {
16439 PyThreadState* __tstate = wxPyBeginAllowThreads();
16440 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
16441
16442 wxPyEndAllowThreads(__tstate);
16443 if (PyErr_Occurred()) SWIG_fail;
16444 }
16445 {
16446 wxSize * resultptr;
16447 resultptr = new wxSize((wxSize &) result);
16448 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16449 }
16450 return resultobj;
16451 fail:
16452 return NULL;
16453 }
16454
16455
16456 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16457 PyObject *resultobj;
16458 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16459 wxWindow *arg2 = (wxWindow *) 0 ;
16460 PyObject * obj0 = 0 ;
16461 PyObject * obj1 = 0 ;
16462 char *kwnames[] = {
16463 (char *) "self",(char *) "child", NULL
16464 };
16465
16466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16469 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16471 {
16472 PyThreadState* __tstate = wxPyBeginAllowThreads();
16473 (arg1)->base_AddChild(arg2);
16474
16475 wxPyEndAllowThreads(__tstate);
16476 if (PyErr_Occurred()) SWIG_fail;
16477 }
16478 Py_INCREF(Py_None); resultobj = Py_None;
16479 return resultobj;
16480 fail:
16481 return NULL;
16482 }
16483
16484
16485 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16486 PyObject *resultobj;
16487 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16488 wxWindow *arg2 = (wxWindow *) 0 ;
16489 PyObject * obj0 = 0 ;
16490 PyObject * obj1 = 0 ;
16491 char *kwnames[] = {
16492 (char *) "self",(char *) "child", NULL
16493 };
16494
16495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16498 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16500 {
16501 PyThreadState* __tstate = wxPyBeginAllowThreads();
16502 (arg1)->base_RemoveChild(arg2);
16503
16504 wxPyEndAllowThreads(__tstate);
16505 if (PyErr_Occurred()) SWIG_fail;
16506 }
16507 Py_INCREF(Py_None); resultobj = Py_None;
16508 return resultobj;
16509 fail:
16510 return NULL;
16511 }
16512
16513
16514 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
16515 PyObject *resultobj;
16516 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16517 bool result;
16518 PyObject * obj0 = 0 ;
16519 char *kwnames[] = {
16520 (char *) "self", NULL
16521 };
16522
16523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16526 {
16527 PyThreadState* __tstate = wxPyBeginAllowThreads();
16528 result = (bool)(arg1)->base_ShouldInheritColours();
16529
16530 wxPyEndAllowThreads(__tstate);
16531 if (PyErr_Occurred()) SWIG_fail;
16532 }
16533 {
16534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16535 }
16536 return resultobj;
16537 fail:
16538 return NULL;
16539 }
16540
16541
16542 static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
16543 PyObject *resultobj;
16544 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16545 wxColour *arg2 = 0 ;
16546 wxColour temp2 ;
16547 PyObject * obj0 = 0 ;
16548 PyObject * obj1 = 0 ;
16549 char *kwnames[] = {
16550 (char *) "self",(char *) "c", NULL
16551 };
16552
16553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16556 {
16557 arg2 = &temp2;
16558 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16559 }
16560 {
16561 PyThreadState* __tstate = wxPyBeginAllowThreads();
16562 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16563
16564 wxPyEndAllowThreads(__tstate);
16565 if (PyErr_Occurred()) SWIG_fail;
16566 }
16567 Py_INCREF(Py_None); resultobj = Py_None;
16568 return resultobj;
16569 fail:
16570 return NULL;
16571 }
16572
16573
16574 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
16575 PyObject *obj;
16576 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16577 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
16578 Py_INCREF(obj);
16579 return Py_BuildValue((char *)"");
16580 }
16581 static PyObject *_wrap_new_PyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16582 PyObject *resultobj;
16583 wxWindow *arg1 = (wxWindow *) 0 ;
16584 int arg2 ;
16585 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16586 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16587 wxSize const &arg4_defvalue = wxDefaultSize ;
16588 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16589 long arg5 = (long) 0 ;
16590 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16591 wxString *arg6 = (wxString *) &arg6_defvalue ;
16592 wxPyScrolledWindow *result;
16593 wxPoint temp3 ;
16594 wxSize temp4 ;
16595 bool temp6 = False ;
16596 PyObject * obj0 = 0 ;
16597 PyObject * obj1 = 0 ;
16598 PyObject * obj2 = 0 ;
16599 PyObject * obj3 = 0 ;
16600 PyObject * obj4 = 0 ;
16601 PyObject * obj5 = 0 ;
16602 char *kwnames[] = {
16603 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16604 };
16605
16606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16609 arg2 = (int const) SWIG_AsInt(obj1);
16610 if (PyErr_Occurred()) SWIG_fail;
16611 if (obj2) {
16612 {
16613 arg3 = &temp3;
16614 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16615 }
16616 }
16617 if (obj3) {
16618 {
16619 arg4 = &temp4;
16620 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16621 }
16622 }
16623 if (obj4) {
16624 arg5 = (long) SWIG_AsLong(obj4);
16625 if (PyErr_Occurred()) SWIG_fail;
16626 }
16627 if (obj5) {
16628 {
16629 arg6 = wxString_in_helper(obj5);
16630 if (arg6 == NULL) SWIG_fail;
16631 temp6 = True;
16632 }
16633 }
16634 {
16635 PyThreadState* __tstate = wxPyBeginAllowThreads();
16636 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16637
16638 wxPyEndAllowThreads(__tstate);
16639 if (PyErr_Occurred()) SWIG_fail;
16640 }
16641 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
16642 {
16643 if (temp6)
16644 delete arg6;
16645 }
16646 return resultobj;
16647 fail:
16648 {
16649 if (temp6)
16650 delete arg6;
16651 }
16652 return NULL;
16653 }
16654
16655
16656 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16657 PyObject *resultobj;
16658 wxPyScrolledWindow *result;
16659 char *kwnames[] = {
16660 NULL
16661 };
16662
16663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
16664 {
16665 PyThreadState* __tstate = wxPyBeginAllowThreads();
16666 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
16667
16668 wxPyEndAllowThreads(__tstate);
16669 if (PyErr_Occurred()) SWIG_fail;
16670 }
16671 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
16672 return resultobj;
16673 fail:
16674 return NULL;
16675 }
16676
16677
16678 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16679 PyObject *resultobj;
16680 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16681 PyObject *arg2 = (PyObject *) 0 ;
16682 PyObject *arg3 = (PyObject *) 0 ;
16683 PyObject * obj0 = 0 ;
16684 PyObject * obj1 = 0 ;
16685 PyObject * obj2 = 0 ;
16686 char *kwnames[] = {
16687 (char *) "self",(char *) "self",(char *) "_class", NULL
16688 };
16689
16690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16693 arg2 = obj1;
16694 arg3 = obj2;
16695 {
16696 PyThreadState* __tstate = wxPyBeginAllowThreads();
16697 (arg1)->_setCallbackInfo(arg2,arg3);
16698
16699 wxPyEndAllowThreads(__tstate);
16700 if (PyErr_Occurred()) SWIG_fail;
16701 }
16702 Py_INCREF(Py_None); resultobj = Py_None;
16703 return resultobj;
16704 fail:
16705 return NULL;
16706 }
16707
16708
16709 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16710 PyObject *resultobj;
16711 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16712 int arg2 ;
16713 int arg3 ;
16714 int arg4 ;
16715 int arg5 ;
16716 PyObject * obj0 = 0 ;
16717 PyObject * obj1 = 0 ;
16718 PyObject * obj2 = 0 ;
16719 PyObject * obj3 = 0 ;
16720 PyObject * obj4 = 0 ;
16721 char *kwnames[] = {
16722 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16723 };
16724
16725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16728 arg2 = (int) SWIG_AsInt(obj1);
16729 if (PyErr_Occurred()) SWIG_fail;
16730 arg3 = (int) SWIG_AsInt(obj2);
16731 if (PyErr_Occurred()) SWIG_fail;
16732 arg4 = (int) SWIG_AsInt(obj3);
16733 if (PyErr_Occurred()) SWIG_fail;
16734 arg5 = (int) SWIG_AsInt(obj4);
16735 if (PyErr_Occurred()) SWIG_fail;
16736 {
16737 PyThreadState* __tstate = wxPyBeginAllowThreads();
16738 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16739
16740 wxPyEndAllowThreads(__tstate);
16741 if (PyErr_Occurred()) SWIG_fail;
16742 }
16743 Py_INCREF(Py_None); resultobj = Py_None;
16744 return resultobj;
16745 fail:
16746 return NULL;
16747 }
16748
16749
16750 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16751 PyObject *resultobj;
16752 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16753 int arg2 ;
16754 int arg3 ;
16755 int arg4 ;
16756 int arg5 ;
16757 int arg6 = (int) wxSIZE_AUTO ;
16758 PyObject * obj0 = 0 ;
16759 PyObject * obj1 = 0 ;
16760 PyObject * obj2 = 0 ;
16761 PyObject * obj3 = 0 ;
16762 PyObject * obj4 = 0 ;
16763 PyObject * obj5 = 0 ;
16764 char *kwnames[] = {
16765 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16766 };
16767
16768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16771 arg2 = (int) SWIG_AsInt(obj1);
16772 if (PyErr_Occurred()) SWIG_fail;
16773 arg3 = (int) SWIG_AsInt(obj2);
16774 if (PyErr_Occurred()) SWIG_fail;
16775 arg4 = (int) SWIG_AsInt(obj3);
16776 if (PyErr_Occurred()) SWIG_fail;
16777 arg5 = (int) SWIG_AsInt(obj4);
16778 if (PyErr_Occurred()) SWIG_fail;
16779 if (obj5) {
16780 arg6 = (int) SWIG_AsInt(obj5);
16781 if (PyErr_Occurred()) SWIG_fail;
16782 }
16783 {
16784 PyThreadState* __tstate = wxPyBeginAllowThreads();
16785 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16786
16787 wxPyEndAllowThreads(__tstate);
16788 if (PyErr_Occurred()) SWIG_fail;
16789 }
16790 Py_INCREF(Py_None); resultobj = Py_None;
16791 return resultobj;
16792 fail:
16793 return NULL;
16794 }
16795
16796
16797 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16798 PyObject *resultobj;
16799 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16800 int arg2 ;
16801 int arg3 ;
16802 PyObject * obj0 = 0 ;
16803 PyObject * obj1 = 0 ;
16804 PyObject * obj2 = 0 ;
16805 char *kwnames[] = {
16806 (char *) "self",(char *) "width",(char *) "height", NULL
16807 };
16808
16809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16812 arg2 = (int) SWIG_AsInt(obj1);
16813 if (PyErr_Occurred()) SWIG_fail;
16814 arg3 = (int) SWIG_AsInt(obj2);
16815 if (PyErr_Occurred()) SWIG_fail;
16816 {
16817 PyThreadState* __tstate = wxPyBeginAllowThreads();
16818 (arg1)->base_DoSetClientSize(arg2,arg3);
16819
16820 wxPyEndAllowThreads(__tstate);
16821 if (PyErr_Occurred()) SWIG_fail;
16822 }
16823 Py_INCREF(Py_None); resultobj = Py_None;
16824 return resultobj;
16825 fail:
16826 return NULL;
16827 }
16828
16829
16830 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16831 PyObject *resultobj;
16832 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16833 int arg2 ;
16834 int arg3 ;
16835 PyObject * obj0 = 0 ;
16836 PyObject * obj1 = 0 ;
16837 PyObject * obj2 = 0 ;
16838 char *kwnames[] = {
16839 (char *) "self",(char *) "x",(char *) "y", NULL
16840 };
16841
16842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16845 arg2 = (int) SWIG_AsInt(obj1);
16846 if (PyErr_Occurred()) SWIG_fail;
16847 arg3 = (int) SWIG_AsInt(obj2);
16848 if (PyErr_Occurred()) SWIG_fail;
16849 {
16850 PyThreadState* __tstate = wxPyBeginAllowThreads();
16851 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16852
16853 wxPyEndAllowThreads(__tstate);
16854 if (PyErr_Occurred()) SWIG_fail;
16855 }
16856 Py_INCREF(Py_None); resultobj = Py_None;
16857 return resultobj;
16858 fail:
16859 return NULL;
16860 }
16861
16862
16863 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16864 PyObject *resultobj;
16865 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16866 int *arg2 = (int *) 0 ;
16867 int *arg3 = (int *) 0 ;
16868 int temp2 ;
16869 int temp3 ;
16870 PyObject * obj0 = 0 ;
16871 char *kwnames[] = {
16872 (char *) "self", NULL
16873 };
16874
16875 arg2 = &temp2;
16876 arg3 = &temp3;
16877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
16878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16880 {
16881 PyThreadState* __tstate = wxPyBeginAllowThreads();
16882 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
16883
16884 wxPyEndAllowThreads(__tstate);
16885 if (PyErr_Occurred()) SWIG_fail;
16886 }
16887 Py_INCREF(Py_None); resultobj = Py_None;
16888 {
16889 PyObject *o = PyInt_FromLong((long) (*arg2));
16890 resultobj = t_output_helper(resultobj,o);
16891 }
16892 {
16893 PyObject *o = PyInt_FromLong((long) (*arg3));
16894 resultobj = t_output_helper(resultobj,o);
16895 }
16896 return resultobj;
16897 fail:
16898 return NULL;
16899 }
16900
16901
16902 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16903 PyObject *resultobj;
16904 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16905 int *arg2 = (int *) 0 ;
16906 int *arg3 = (int *) 0 ;
16907 int temp2 ;
16908 int temp3 ;
16909 PyObject * obj0 = 0 ;
16910 char *kwnames[] = {
16911 (char *) "self", NULL
16912 };
16913
16914 arg2 = &temp2;
16915 arg3 = &temp3;
16916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16919 {
16920 PyThreadState* __tstate = wxPyBeginAllowThreads();
16921 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
16922
16923 wxPyEndAllowThreads(__tstate);
16924 if (PyErr_Occurred()) SWIG_fail;
16925 }
16926 Py_INCREF(Py_None); resultobj = Py_None;
16927 {
16928 PyObject *o = PyInt_FromLong((long) (*arg2));
16929 resultobj = t_output_helper(resultobj,o);
16930 }
16931 {
16932 PyObject *o = PyInt_FromLong((long) (*arg3));
16933 resultobj = t_output_helper(resultobj,o);
16934 }
16935 return resultobj;
16936 fail:
16937 return NULL;
16938 }
16939
16940
16941 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16942 PyObject *resultobj;
16943 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16944 int *arg2 = (int *) 0 ;
16945 int *arg3 = (int *) 0 ;
16946 int temp2 ;
16947 int temp3 ;
16948 PyObject * obj0 = 0 ;
16949 char *kwnames[] = {
16950 (char *) "self", NULL
16951 };
16952
16953 arg2 = &temp2;
16954 arg3 = &temp3;
16955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
16956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16958 {
16959 PyThreadState* __tstate = wxPyBeginAllowThreads();
16960 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
16961
16962 wxPyEndAllowThreads(__tstate);
16963 if (PyErr_Occurred()) SWIG_fail;
16964 }
16965 Py_INCREF(Py_None); resultobj = Py_None;
16966 {
16967 PyObject *o = PyInt_FromLong((long) (*arg2));
16968 resultobj = t_output_helper(resultobj,o);
16969 }
16970 {
16971 PyObject *o = PyInt_FromLong((long) (*arg3));
16972 resultobj = t_output_helper(resultobj,o);
16973 }
16974 return resultobj;
16975 fail:
16976 return NULL;
16977 }
16978
16979
16980 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16981 PyObject *resultobj;
16982 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16983 wxSize result;
16984 PyObject * obj0 = 0 ;
16985 char *kwnames[] = {
16986 (char *) "self", NULL
16987 };
16988
16989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16992 {
16993 PyThreadState* __tstate = wxPyBeginAllowThreads();
16994 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
16995
16996 wxPyEndAllowThreads(__tstate);
16997 if (PyErr_Occurred()) SWIG_fail;
16998 }
16999 {
17000 wxSize * resultptr;
17001 resultptr = new wxSize((wxSize &) result);
17002 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17003 }
17004 return resultobj;
17005 fail:
17006 return NULL;
17007 }
17008
17009
17010 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17011 PyObject *resultobj;
17012 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17013 wxSize result;
17014 PyObject * obj0 = 0 ;
17015 char *kwnames[] = {
17016 (char *) "self", NULL
17017 };
17018
17019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17022 {
17023 PyThreadState* __tstate = wxPyBeginAllowThreads();
17024 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
17025
17026 wxPyEndAllowThreads(__tstate);
17027 if (PyErr_Occurred()) SWIG_fail;
17028 }
17029 {
17030 wxSize * resultptr;
17031 resultptr = new wxSize((wxSize &) result);
17032 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17033 }
17034 return resultobj;
17035 fail:
17036 return NULL;
17037 }
17038
17039
17040 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17041 PyObject *resultobj;
17042 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17043 PyObject * obj0 = 0 ;
17044 char *kwnames[] = {
17045 (char *) "self", NULL
17046 };
17047
17048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
17049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17051 {
17052 PyThreadState* __tstate = wxPyBeginAllowThreads();
17053 (arg1)->base_InitDialog();
17054
17055 wxPyEndAllowThreads(__tstate);
17056 if (PyErr_Occurred()) SWIG_fail;
17057 }
17058 Py_INCREF(Py_None); resultobj = Py_None;
17059 return resultobj;
17060 fail:
17061 return NULL;
17062 }
17063
17064
17065 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17066 PyObject *resultobj;
17067 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17068 bool result;
17069 PyObject * obj0 = 0 ;
17070 char *kwnames[] = {
17071 (char *) "self", NULL
17072 };
17073
17074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17077 {
17078 PyThreadState* __tstate = wxPyBeginAllowThreads();
17079 result = (bool)(arg1)->base_TransferDataToWindow();
17080
17081 wxPyEndAllowThreads(__tstate);
17082 if (PyErr_Occurred()) SWIG_fail;
17083 }
17084 {
17085 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17086 }
17087 return resultobj;
17088 fail:
17089 return NULL;
17090 }
17091
17092
17093 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17094 PyObject *resultobj;
17095 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17096 bool result;
17097 PyObject * obj0 = 0 ;
17098 char *kwnames[] = {
17099 (char *) "self", NULL
17100 };
17101
17102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17105 {
17106 PyThreadState* __tstate = wxPyBeginAllowThreads();
17107 result = (bool)(arg1)->base_TransferDataFromWindow();
17108
17109 wxPyEndAllowThreads(__tstate);
17110 if (PyErr_Occurred()) SWIG_fail;
17111 }
17112 {
17113 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17114 }
17115 return resultobj;
17116 fail:
17117 return NULL;
17118 }
17119
17120
17121 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
17122 PyObject *resultobj;
17123 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17124 bool result;
17125 PyObject * obj0 = 0 ;
17126 char *kwnames[] = {
17127 (char *) "self", NULL
17128 };
17129
17130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
17131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17133 {
17134 PyThreadState* __tstate = wxPyBeginAllowThreads();
17135 result = (bool)(arg1)->base_Validate();
17136
17137 wxPyEndAllowThreads(__tstate);
17138 if (PyErr_Occurred()) SWIG_fail;
17139 }
17140 {
17141 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17142 }
17143 return resultobj;
17144 fail:
17145 return NULL;
17146 }
17147
17148
17149 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
17150 PyObject *resultobj;
17151 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17152 bool result;
17153 PyObject * obj0 = 0 ;
17154 char *kwnames[] = {
17155 (char *) "self", NULL
17156 };
17157
17158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17161 {
17162 PyThreadState* __tstate = wxPyBeginAllowThreads();
17163 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
17164
17165 wxPyEndAllowThreads(__tstate);
17166 if (PyErr_Occurred()) SWIG_fail;
17167 }
17168 {
17169 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17170 }
17171 return resultobj;
17172 fail:
17173 return NULL;
17174 }
17175
17176
17177 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
17178 PyObject *resultobj;
17179 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17180 bool result;
17181 PyObject * obj0 = 0 ;
17182 char *kwnames[] = {
17183 (char *) "self", NULL
17184 };
17185
17186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17189 {
17190 PyThreadState* __tstate = wxPyBeginAllowThreads();
17191 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
17192
17193 wxPyEndAllowThreads(__tstate);
17194 if (PyErr_Occurred()) SWIG_fail;
17195 }
17196 {
17197 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17198 }
17199 return resultobj;
17200 fail:
17201 return NULL;
17202 }
17203
17204
17205 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17206 PyObject *resultobj;
17207 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17208 wxSize result;
17209 PyObject * obj0 = 0 ;
17210 char *kwnames[] = {
17211 (char *) "self", NULL
17212 };
17213
17214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
17215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17217 {
17218 PyThreadState* __tstate = wxPyBeginAllowThreads();
17219 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
17220
17221 wxPyEndAllowThreads(__tstate);
17222 if (PyErr_Occurred()) SWIG_fail;
17223 }
17224 {
17225 wxSize * resultptr;
17226 resultptr = new wxSize((wxSize &) result);
17227 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17228 }
17229 return resultobj;
17230 fail:
17231 return NULL;
17232 }
17233
17234
17235 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17236 PyObject *resultobj;
17237 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17238 wxWindow *arg2 = (wxWindow *) 0 ;
17239 PyObject * obj0 = 0 ;
17240 PyObject * obj1 = 0 ;
17241 char *kwnames[] = {
17242 (char *) "self",(char *) "child", NULL
17243 };
17244
17245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17248 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17250 {
17251 PyThreadState* __tstate = wxPyBeginAllowThreads();
17252 (arg1)->base_AddChild(arg2);
17253
17254 wxPyEndAllowThreads(__tstate);
17255 if (PyErr_Occurred()) SWIG_fail;
17256 }
17257 Py_INCREF(Py_None); resultobj = Py_None;
17258 return resultobj;
17259 fail:
17260 return NULL;
17261 }
17262
17263
17264 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17265 PyObject *resultobj;
17266 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17267 wxWindow *arg2 = (wxWindow *) 0 ;
17268 PyObject * obj0 = 0 ;
17269 PyObject * obj1 = 0 ;
17270 char *kwnames[] = {
17271 (char *) "self",(char *) "child", NULL
17272 };
17273
17274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17277 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17279 {
17280 PyThreadState* __tstate = wxPyBeginAllowThreads();
17281 (arg1)->base_RemoveChild(arg2);
17282
17283 wxPyEndAllowThreads(__tstate);
17284 if (PyErr_Occurred()) SWIG_fail;
17285 }
17286 Py_INCREF(Py_None); resultobj = Py_None;
17287 return resultobj;
17288 fail:
17289 return NULL;
17290 }
17291
17292
17293 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
17294 PyObject *resultobj;
17295 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17296 bool result;
17297 PyObject * obj0 = 0 ;
17298 char *kwnames[] = {
17299 (char *) "self", NULL
17300 };
17301
17302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17305 {
17306 PyThreadState* __tstate = wxPyBeginAllowThreads();
17307 result = (bool)(arg1)->base_ShouldInheritColours();
17308
17309 wxPyEndAllowThreads(__tstate);
17310 if (PyErr_Occurred()) SWIG_fail;
17311 }
17312 {
17313 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17314 }
17315 return resultobj;
17316 fail:
17317 return NULL;
17318 }
17319
17320
17321 static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
17322 PyObject *resultobj;
17323 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17324 wxColour *arg2 = 0 ;
17325 wxColour temp2 ;
17326 PyObject * obj0 = 0 ;
17327 PyObject * obj1 = 0 ;
17328 char *kwnames[] = {
17329 (char *) "self",(char *) "c", NULL
17330 };
17331
17332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17335 {
17336 arg2 = &temp2;
17337 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17338 }
17339 {
17340 PyThreadState* __tstate = wxPyBeginAllowThreads();
17341 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17342
17343 wxPyEndAllowThreads(__tstate);
17344 if (PyErr_Occurred()) SWIG_fail;
17345 }
17346 Py_INCREF(Py_None); resultobj = Py_None;
17347 return resultobj;
17348 fail:
17349 return NULL;
17350 }
17351
17352
17353 static PyObject * PyScrolledWindow_swigregister(PyObject *self, PyObject *args) {
17354 PyObject *obj;
17355 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17356 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
17357 Py_INCREF(obj);
17358 return Py_BuildValue((char *)"");
17359 }
17360 static int _wrap_PrintoutTitleStr_set(PyObject *_val) {
17361 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
17362 return 1;
17363 }
17364
17365
17366 static PyObject *_wrap_PrintoutTitleStr_get() {
17367 PyObject *pyobj;
17368
17369 {
17370 #if wxUSE_UNICODE
17371 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17372 #else
17373 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17374 #endif
17375 }
17376 return pyobj;
17377 }
17378
17379
17380 static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) {
17381 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
17382 return 1;
17383 }
17384
17385
17386 static PyObject *_wrap_PreviewCanvasNameStr_get() {
17387 PyObject *pyobj;
17388
17389 {
17390 #if wxUSE_UNICODE
17391 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17392 #else
17393 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17394 #endif
17395 }
17396 return pyobj;
17397 }
17398
17399
17400 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17401 PyObject *resultobj;
17402 wxPrintData *result;
17403 char *kwnames[] = {
17404 NULL
17405 };
17406
17407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
17408 {
17409 PyThreadState* __tstate = wxPyBeginAllowThreads();
17410 result = (wxPrintData *)new wxPrintData();
17411
17412 wxPyEndAllowThreads(__tstate);
17413 if (PyErr_Occurred()) SWIG_fail;
17414 }
17415 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
17416 return resultobj;
17417 fail:
17418 return NULL;
17419 }
17420
17421
17422 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17423 PyObject *resultobj;
17424 wxPrintData *arg1 = (wxPrintData *) 0 ;
17425 PyObject * obj0 = 0 ;
17426 char *kwnames[] = {
17427 (char *) "self", NULL
17428 };
17429
17430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
17431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17433 {
17434 PyThreadState* __tstate = wxPyBeginAllowThreads();
17435 delete arg1;
17436
17437 wxPyEndAllowThreads(__tstate);
17438 if (PyErr_Occurred()) SWIG_fail;
17439 }
17440 Py_INCREF(Py_None); resultobj = Py_None;
17441 return resultobj;
17442 fail:
17443 return NULL;
17444 }
17445
17446
17447 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17448 PyObject *resultobj;
17449 wxPrintData *arg1 = (wxPrintData *) 0 ;
17450 int result;
17451 PyObject * obj0 = 0 ;
17452 char *kwnames[] = {
17453 (char *) "self", NULL
17454 };
17455
17456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
17457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17459 {
17460 PyThreadState* __tstate = wxPyBeginAllowThreads();
17461 result = (int)(arg1)->GetNoCopies();
17462
17463 wxPyEndAllowThreads(__tstate);
17464 if (PyErr_Occurred()) SWIG_fail;
17465 }
17466 resultobj = SWIG_FromInt((int)result);
17467 return resultobj;
17468 fail:
17469 return NULL;
17470 }
17471
17472
17473 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17474 PyObject *resultobj;
17475 wxPrintData *arg1 = (wxPrintData *) 0 ;
17476 bool result;
17477 PyObject * obj0 = 0 ;
17478 char *kwnames[] = {
17479 (char *) "self", NULL
17480 };
17481
17482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
17483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17485 {
17486 PyThreadState* __tstate = wxPyBeginAllowThreads();
17487 result = (bool)(arg1)->GetCollate();
17488
17489 wxPyEndAllowThreads(__tstate);
17490 if (PyErr_Occurred()) SWIG_fail;
17491 }
17492 {
17493 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17494 }
17495 return resultobj;
17496 fail:
17497 return NULL;
17498 }
17499
17500
17501 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17502 PyObject *resultobj;
17503 wxPrintData *arg1 = (wxPrintData *) 0 ;
17504 int result;
17505 PyObject * obj0 = 0 ;
17506 char *kwnames[] = {
17507 (char *) "self", NULL
17508 };
17509
17510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
17511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17513 {
17514 PyThreadState* __tstate = wxPyBeginAllowThreads();
17515 result = (int)(arg1)->GetOrientation();
17516
17517 wxPyEndAllowThreads(__tstate);
17518 if (PyErr_Occurred()) SWIG_fail;
17519 }
17520 resultobj = SWIG_FromInt((int)result);
17521 return resultobj;
17522 fail:
17523 return NULL;
17524 }
17525
17526
17527 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
17528 PyObject *resultobj;
17529 wxPrintData *arg1 = (wxPrintData *) 0 ;
17530 bool result;
17531 PyObject * obj0 = 0 ;
17532 char *kwnames[] = {
17533 (char *) "self", NULL
17534 };
17535
17536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
17537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17539 {
17540 PyThreadState* __tstate = wxPyBeginAllowThreads();
17541 result = (bool)(arg1)->Ok();
17542
17543 wxPyEndAllowThreads(__tstate);
17544 if (PyErr_Occurred()) SWIG_fail;
17545 }
17546 {
17547 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17548 }
17549 return resultobj;
17550 fail:
17551 return NULL;
17552 }
17553
17554
17555 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
17556 PyObject *resultobj;
17557 wxPrintData *arg1 = (wxPrintData *) 0 ;
17558 wxString *result;
17559 PyObject * obj0 = 0 ;
17560 char *kwnames[] = {
17561 (char *) "self", NULL
17562 };
17563
17564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
17565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17567 {
17568 PyThreadState* __tstate = wxPyBeginAllowThreads();
17569 {
17570 wxString const &_result_ref = (arg1)->GetPrinterName();
17571 result = (wxString *) &_result_ref;
17572 }
17573
17574 wxPyEndAllowThreads(__tstate);
17575 if (PyErr_Occurred()) SWIG_fail;
17576 }
17577 {
17578 #if wxUSE_UNICODE
17579 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17580 #else
17581 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17582 #endif
17583 }
17584 return resultobj;
17585 fail:
17586 return NULL;
17587 }
17588
17589
17590 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17591 PyObject *resultobj;
17592 wxPrintData *arg1 = (wxPrintData *) 0 ;
17593 bool result;
17594 PyObject * obj0 = 0 ;
17595 char *kwnames[] = {
17596 (char *) "self", NULL
17597 };
17598
17599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
17600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17602 {
17603 PyThreadState* __tstate = wxPyBeginAllowThreads();
17604 result = (bool)(arg1)->GetColour();
17605
17606 wxPyEndAllowThreads(__tstate);
17607 if (PyErr_Occurred()) SWIG_fail;
17608 }
17609 {
17610 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17611 }
17612 return resultobj;
17613 fail:
17614 return NULL;
17615 }
17616
17617
17618 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
17619 PyObject *resultobj;
17620 wxPrintData *arg1 = (wxPrintData *) 0 ;
17621 int result;
17622 PyObject * obj0 = 0 ;
17623 char *kwnames[] = {
17624 (char *) "self", NULL
17625 };
17626
17627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
17628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17630 {
17631 PyThreadState* __tstate = wxPyBeginAllowThreads();
17632 result = (int)(arg1)->GetDuplex();
17633
17634 wxPyEndAllowThreads(__tstate);
17635 if (PyErr_Occurred()) SWIG_fail;
17636 }
17637 resultobj = SWIG_FromInt((int)result);
17638 return resultobj;
17639 fail:
17640 return NULL;
17641 }
17642
17643
17644 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
17645 PyObject *resultobj;
17646 wxPrintData *arg1 = (wxPrintData *) 0 ;
17647 int result;
17648 PyObject * obj0 = 0 ;
17649 char *kwnames[] = {
17650 (char *) "self", NULL
17651 };
17652
17653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
17654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17656 {
17657 PyThreadState* __tstate = wxPyBeginAllowThreads();
17658 result = (int)(arg1)->GetPaperId();
17659
17660 wxPyEndAllowThreads(__tstate);
17661 if (PyErr_Occurred()) SWIG_fail;
17662 }
17663 resultobj = SWIG_FromInt((int)result);
17664 return resultobj;
17665 fail:
17666 return NULL;
17667 }
17668
17669
17670 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17671 PyObject *resultobj;
17672 wxPrintData *arg1 = (wxPrintData *) 0 ;
17673 wxSize *result;
17674 PyObject * obj0 = 0 ;
17675 char *kwnames[] = {
17676 (char *) "self", NULL
17677 };
17678
17679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
17680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17682 {
17683 PyThreadState* __tstate = wxPyBeginAllowThreads();
17684 {
17685 wxSize const &_result_ref = (arg1)->GetPaperSize();
17686 result = (wxSize *) &_result_ref;
17687 }
17688
17689 wxPyEndAllowThreads(__tstate);
17690 if (PyErr_Occurred()) SWIG_fail;
17691 }
17692 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
17693 return resultobj;
17694 fail:
17695 return NULL;
17696 }
17697
17698
17699 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
17700 PyObject *resultobj;
17701 wxPrintData *arg1 = (wxPrintData *) 0 ;
17702 int result;
17703 PyObject * obj0 = 0 ;
17704 char *kwnames[] = {
17705 (char *) "self", NULL
17706 };
17707
17708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
17709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17711 {
17712 PyThreadState* __tstate = wxPyBeginAllowThreads();
17713 result = (int)(arg1)->GetQuality();
17714
17715 wxPyEndAllowThreads(__tstate);
17716 if (PyErr_Occurred()) SWIG_fail;
17717 }
17718 resultobj = SWIG_FromInt((int)result);
17719 return resultobj;
17720 fail:
17721 return NULL;
17722 }
17723
17724
17725 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17726 PyObject *resultobj;
17727 wxPrintData *arg1 = (wxPrintData *) 0 ;
17728 int arg2 ;
17729 PyObject * obj0 = 0 ;
17730 PyObject * obj1 = 0 ;
17731 char *kwnames[] = {
17732 (char *) "self",(char *) "v", NULL
17733 };
17734
17735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
17736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17738 arg2 = (int) SWIG_AsInt(obj1);
17739 if (PyErr_Occurred()) SWIG_fail;
17740 {
17741 PyThreadState* __tstate = wxPyBeginAllowThreads();
17742 (arg1)->SetNoCopies(arg2);
17743
17744 wxPyEndAllowThreads(__tstate);
17745 if (PyErr_Occurred()) SWIG_fail;
17746 }
17747 Py_INCREF(Py_None); resultobj = Py_None;
17748 return resultobj;
17749 fail:
17750 return NULL;
17751 }
17752
17753
17754 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17755 PyObject *resultobj;
17756 wxPrintData *arg1 = (wxPrintData *) 0 ;
17757 bool arg2 ;
17758 PyObject * obj0 = 0 ;
17759 PyObject * obj1 = 0 ;
17760 char *kwnames[] = {
17761 (char *) "self",(char *) "flag", NULL
17762 };
17763
17764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
17765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17767 arg2 = (bool) SWIG_AsBool(obj1);
17768 if (PyErr_Occurred()) SWIG_fail;
17769 {
17770 PyThreadState* __tstate = wxPyBeginAllowThreads();
17771 (arg1)->SetCollate(arg2);
17772
17773 wxPyEndAllowThreads(__tstate);
17774 if (PyErr_Occurred()) SWIG_fail;
17775 }
17776 Py_INCREF(Py_None); resultobj = Py_None;
17777 return resultobj;
17778 fail:
17779 return NULL;
17780 }
17781
17782
17783 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17784 PyObject *resultobj;
17785 wxPrintData *arg1 = (wxPrintData *) 0 ;
17786 int arg2 ;
17787 PyObject * obj0 = 0 ;
17788 PyObject * obj1 = 0 ;
17789 char *kwnames[] = {
17790 (char *) "self",(char *) "orient", NULL
17791 };
17792
17793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
17794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17796 arg2 = (int) SWIG_AsInt(obj1);
17797 if (PyErr_Occurred()) SWIG_fail;
17798 {
17799 PyThreadState* __tstate = wxPyBeginAllowThreads();
17800 (arg1)->SetOrientation(arg2);
17801
17802 wxPyEndAllowThreads(__tstate);
17803 if (PyErr_Occurred()) SWIG_fail;
17804 }
17805 Py_INCREF(Py_None); resultobj = Py_None;
17806 return resultobj;
17807 fail:
17808 return NULL;
17809 }
17810
17811
17812 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
17813 PyObject *resultobj;
17814 wxPrintData *arg1 = (wxPrintData *) 0 ;
17815 wxString *arg2 = 0 ;
17816 bool temp2 = False ;
17817 PyObject * obj0 = 0 ;
17818 PyObject * obj1 = 0 ;
17819 char *kwnames[] = {
17820 (char *) "self",(char *) "name", NULL
17821 };
17822
17823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
17824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17826 {
17827 arg2 = wxString_in_helper(obj1);
17828 if (arg2 == NULL) SWIG_fail;
17829 temp2 = True;
17830 }
17831 {
17832 PyThreadState* __tstate = wxPyBeginAllowThreads();
17833 (arg1)->SetPrinterName((wxString const &)*arg2);
17834
17835 wxPyEndAllowThreads(__tstate);
17836 if (PyErr_Occurred()) SWIG_fail;
17837 }
17838 Py_INCREF(Py_None); resultobj = Py_None;
17839 {
17840 if (temp2)
17841 delete arg2;
17842 }
17843 return resultobj;
17844 fail:
17845 {
17846 if (temp2)
17847 delete arg2;
17848 }
17849 return NULL;
17850 }
17851
17852
17853 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17854 PyObject *resultobj;
17855 wxPrintData *arg1 = (wxPrintData *) 0 ;
17856 bool arg2 ;
17857 PyObject * obj0 = 0 ;
17858 PyObject * obj1 = 0 ;
17859 char *kwnames[] = {
17860 (char *) "self",(char *) "colour", NULL
17861 };
17862
17863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
17864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17866 arg2 = (bool) SWIG_AsBool(obj1);
17867 if (PyErr_Occurred()) SWIG_fail;
17868 {
17869 PyThreadState* __tstate = wxPyBeginAllowThreads();
17870 (arg1)->SetColour(arg2);
17871
17872 wxPyEndAllowThreads(__tstate);
17873 if (PyErr_Occurred()) SWIG_fail;
17874 }
17875 Py_INCREF(Py_None); resultobj = Py_None;
17876 return resultobj;
17877 fail:
17878 return NULL;
17879 }
17880
17881
17882 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
17883 PyObject *resultobj;
17884 wxPrintData *arg1 = (wxPrintData *) 0 ;
17885 int arg2 ;
17886 PyObject * obj0 = 0 ;
17887 PyObject * obj1 = 0 ;
17888 char *kwnames[] = {
17889 (char *) "self",(char *) "duplex", NULL
17890 };
17891
17892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
17893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17895 arg2 = (wxDuplexMode) SWIG_AsInt(obj1);
17896 if (PyErr_Occurred()) SWIG_fail;
17897 {
17898 PyThreadState* __tstate = wxPyBeginAllowThreads();
17899 (arg1)->SetDuplex((wxDuplexMode )arg2);
17900
17901 wxPyEndAllowThreads(__tstate);
17902 if (PyErr_Occurred()) SWIG_fail;
17903 }
17904 Py_INCREF(Py_None); resultobj = Py_None;
17905 return resultobj;
17906 fail:
17907 return NULL;
17908 }
17909
17910
17911 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
17912 PyObject *resultobj;
17913 wxPrintData *arg1 = (wxPrintData *) 0 ;
17914 int arg2 ;
17915 PyObject * obj0 = 0 ;
17916 PyObject * obj1 = 0 ;
17917 char *kwnames[] = {
17918 (char *) "self",(char *) "sizeId", NULL
17919 };
17920
17921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
17922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17924 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
17925 if (PyErr_Occurred()) SWIG_fail;
17926 {
17927 PyThreadState* __tstate = wxPyBeginAllowThreads();
17928 (arg1)->SetPaperId((wxPaperSize )arg2);
17929
17930 wxPyEndAllowThreads(__tstate);
17931 if (PyErr_Occurred()) SWIG_fail;
17932 }
17933 Py_INCREF(Py_None); resultobj = Py_None;
17934 return resultobj;
17935 fail:
17936 return NULL;
17937 }
17938
17939
17940 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17941 PyObject *resultobj;
17942 wxPrintData *arg1 = (wxPrintData *) 0 ;
17943 wxSize *arg2 = 0 ;
17944 wxSize temp2 ;
17945 PyObject * obj0 = 0 ;
17946 PyObject * obj1 = 0 ;
17947 char *kwnames[] = {
17948 (char *) "self",(char *) "sz", NULL
17949 };
17950
17951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
17952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17954 {
17955 arg2 = &temp2;
17956 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17957 }
17958 {
17959 PyThreadState* __tstate = wxPyBeginAllowThreads();
17960 (arg1)->SetPaperSize((wxSize const &)*arg2);
17961
17962 wxPyEndAllowThreads(__tstate);
17963 if (PyErr_Occurred()) SWIG_fail;
17964 }
17965 Py_INCREF(Py_None); resultobj = Py_None;
17966 return resultobj;
17967 fail:
17968 return NULL;
17969 }
17970
17971
17972 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
17973 PyObject *resultobj;
17974 wxPrintData *arg1 = (wxPrintData *) 0 ;
17975 int arg2 ;
17976 PyObject * obj0 = 0 ;
17977 PyObject * obj1 = 0 ;
17978 char *kwnames[] = {
17979 (char *) "self",(char *) "quality", NULL
17980 };
17981
17982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
17983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17985 arg2 = (int) SWIG_AsInt(obj1);
17986 if (PyErr_Occurred()) SWIG_fail;
17987 {
17988 PyThreadState* __tstate = wxPyBeginAllowThreads();
17989 (arg1)->SetQuality(arg2);
17990
17991 wxPyEndAllowThreads(__tstate);
17992 if (PyErr_Occurred()) SWIG_fail;
17993 }
17994 Py_INCREF(Py_None); resultobj = Py_None;
17995 return resultobj;
17996 fail:
17997 return NULL;
17998 }
17999
18000
18001 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18002 PyObject *resultobj;
18003 wxPrintData *arg1 = (wxPrintData *) 0 ;
18004 wxString *result;
18005 PyObject * obj0 = 0 ;
18006 char *kwnames[] = {
18007 (char *) "self", NULL
18008 };
18009
18010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
18011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18013 {
18014 PyThreadState* __tstate = wxPyBeginAllowThreads();
18015 {
18016 wxString const &_result_ref = (arg1)->GetPrinterCommand();
18017 result = (wxString *) &_result_ref;
18018 }
18019
18020 wxPyEndAllowThreads(__tstate);
18021 if (PyErr_Occurred()) SWIG_fail;
18022 }
18023 {
18024 #if wxUSE_UNICODE
18025 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18026 #else
18027 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18028 #endif
18029 }
18030 return resultobj;
18031 fail:
18032 return NULL;
18033 }
18034
18035
18036 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18037 PyObject *resultobj;
18038 wxPrintData *arg1 = (wxPrintData *) 0 ;
18039 wxString *result;
18040 PyObject * obj0 = 0 ;
18041 char *kwnames[] = {
18042 (char *) "self", NULL
18043 };
18044
18045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
18046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18048 {
18049 PyThreadState* __tstate = wxPyBeginAllowThreads();
18050 {
18051 wxString const &_result_ref = (arg1)->GetPrinterOptions();
18052 result = (wxString *) &_result_ref;
18053 }
18054
18055 wxPyEndAllowThreads(__tstate);
18056 if (PyErr_Occurred()) SWIG_fail;
18057 }
18058 {
18059 #if wxUSE_UNICODE
18060 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18061 #else
18062 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18063 #endif
18064 }
18065 return resultobj;
18066 fail:
18067 return NULL;
18068 }
18069
18070
18071 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18072 PyObject *resultobj;
18073 wxPrintData *arg1 = (wxPrintData *) 0 ;
18074 wxString *result;
18075 PyObject * obj0 = 0 ;
18076 char *kwnames[] = {
18077 (char *) "self", NULL
18078 };
18079
18080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
18081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18083 {
18084 PyThreadState* __tstate = wxPyBeginAllowThreads();
18085 {
18086 wxString const &_result_ref = (arg1)->GetPreviewCommand();
18087 result = (wxString *) &_result_ref;
18088 }
18089
18090 wxPyEndAllowThreads(__tstate);
18091 if (PyErr_Occurred()) SWIG_fail;
18092 }
18093 {
18094 #if wxUSE_UNICODE
18095 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18096 #else
18097 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18098 #endif
18099 }
18100 return resultobj;
18101 fail:
18102 return NULL;
18103 }
18104
18105
18106 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18107 PyObject *resultobj;
18108 wxPrintData *arg1 = (wxPrintData *) 0 ;
18109 wxString *result;
18110 PyObject * obj0 = 0 ;
18111 char *kwnames[] = {
18112 (char *) "self", NULL
18113 };
18114
18115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
18116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18118 {
18119 PyThreadState* __tstate = wxPyBeginAllowThreads();
18120 {
18121 wxString const &_result_ref = (arg1)->GetFilename();
18122 result = (wxString *) &_result_ref;
18123 }
18124
18125 wxPyEndAllowThreads(__tstate);
18126 if (PyErr_Occurred()) SWIG_fail;
18127 }
18128 {
18129 #if wxUSE_UNICODE
18130 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18131 #else
18132 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18133 #endif
18134 }
18135 return resultobj;
18136 fail:
18137 return NULL;
18138 }
18139
18140
18141 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18142 PyObject *resultobj;
18143 wxPrintData *arg1 = (wxPrintData *) 0 ;
18144 wxString *result;
18145 PyObject * obj0 = 0 ;
18146 char *kwnames[] = {
18147 (char *) "self", NULL
18148 };
18149
18150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
18151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18153 {
18154 PyThreadState* __tstate = wxPyBeginAllowThreads();
18155 {
18156 wxString const &_result_ref = (arg1)->GetFontMetricPath();
18157 result = (wxString *) &_result_ref;
18158 }
18159
18160 wxPyEndAllowThreads(__tstate);
18161 if (PyErr_Occurred()) SWIG_fail;
18162 }
18163 {
18164 #if wxUSE_UNICODE
18165 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18166 #else
18167 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18168 #endif
18169 }
18170 return resultobj;
18171 fail:
18172 return NULL;
18173 }
18174
18175
18176 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18177 PyObject *resultobj;
18178 wxPrintData *arg1 = (wxPrintData *) 0 ;
18179 double result;
18180 PyObject * obj0 = 0 ;
18181 char *kwnames[] = {
18182 (char *) "self", NULL
18183 };
18184
18185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
18186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18188 {
18189 PyThreadState* __tstate = wxPyBeginAllowThreads();
18190 result = (double)(arg1)->GetPrinterScaleX();
18191
18192 wxPyEndAllowThreads(__tstate);
18193 if (PyErr_Occurred()) SWIG_fail;
18194 }
18195 resultobj = SWIG_FromDouble((double)result);
18196 return resultobj;
18197 fail:
18198 return NULL;
18199 }
18200
18201
18202 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18203 PyObject *resultobj;
18204 wxPrintData *arg1 = (wxPrintData *) 0 ;
18205 double result;
18206 PyObject * obj0 = 0 ;
18207 char *kwnames[] = {
18208 (char *) "self", NULL
18209 };
18210
18211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
18212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18214 {
18215 PyThreadState* __tstate = wxPyBeginAllowThreads();
18216 result = (double)(arg1)->GetPrinterScaleY();
18217
18218 wxPyEndAllowThreads(__tstate);
18219 if (PyErr_Occurred()) SWIG_fail;
18220 }
18221 resultobj = SWIG_FromDouble((double)result);
18222 return resultobj;
18223 fail:
18224 return NULL;
18225 }
18226
18227
18228 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
18229 PyObject *resultobj;
18230 wxPrintData *arg1 = (wxPrintData *) 0 ;
18231 long result;
18232 PyObject * obj0 = 0 ;
18233 char *kwnames[] = {
18234 (char *) "self", NULL
18235 };
18236
18237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
18238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18240 {
18241 PyThreadState* __tstate = wxPyBeginAllowThreads();
18242 result = (long)(arg1)->GetPrinterTranslateX();
18243
18244 wxPyEndAllowThreads(__tstate);
18245 if (PyErr_Occurred()) SWIG_fail;
18246 }
18247 resultobj = SWIG_FromLong((long)result);
18248 return resultobj;
18249 fail:
18250 return NULL;
18251 }
18252
18253
18254 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
18255 PyObject *resultobj;
18256 wxPrintData *arg1 = (wxPrintData *) 0 ;
18257 long result;
18258 PyObject * obj0 = 0 ;
18259 char *kwnames[] = {
18260 (char *) "self", NULL
18261 };
18262
18263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",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 result = (long)(arg1)->GetPrinterTranslateY();
18269
18270 wxPyEndAllowThreads(__tstate);
18271 if (PyErr_Occurred()) SWIG_fail;
18272 }
18273 resultobj = SWIG_FromLong((long)result);
18274 return resultobj;
18275 fail:
18276 return NULL;
18277 }
18278
18279
18280 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18281 PyObject *resultobj;
18282 wxPrintData *arg1 = (wxPrintData *) 0 ;
18283 int result;
18284 PyObject * obj0 = 0 ;
18285 char *kwnames[] = {
18286 (char *) "self", NULL
18287 };
18288
18289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
18290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18292 {
18293 PyThreadState* __tstate = wxPyBeginAllowThreads();
18294 result = (int)(arg1)->GetPrintMode();
18295
18296 wxPyEndAllowThreads(__tstate);
18297 if (PyErr_Occurred()) SWIG_fail;
18298 }
18299 resultobj = SWIG_FromInt((int)result);
18300 return resultobj;
18301 fail:
18302 return NULL;
18303 }
18304
18305
18306 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18307 PyObject *resultobj;
18308 wxPrintData *arg1 = (wxPrintData *) 0 ;
18309 wxString *arg2 = 0 ;
18310 bool temp2 = False ;
18311 PyObject * obj0 = 0 ;
18312 PyObject * obj1 = 0 ;
18313 char *kwnames[] = {
18314 (char *) "self",(char *) "command", NULL
18315 };
18316
18317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
18318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18320 {
18321 arg2 = wxString_in_helper(obj1);
18322 if (arg2 == NULL) SWIG_fail;
18323 temp2 = True;
18324 }
18325 {
18326 PyThreadState* __tstate = wxPyBeginAllowThreads();
18327 (arg1)->SetPrinterCommand((wxString const &)*arg2);
18328
18329 wxPyEndAllowThreads(__tstate);
18330 if (PyErr_Occurred()) SWIG_fail;
18331 }
18332 Py_INCREF(Py_None); resultobj = Py_None;
18333 {
18334 if (temp2)
18335 delete arg2;
18336 }
18337 return resultobj;
18338 fail:
18339 {
18340 if (temp2)
18341 delete arg2;
18342 }
18343 return NULL;
18344 }
18345
18346
18347 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18348 PyObject *resultobj;
18349 wxPrintData *arg1 = (wxPrintData *) 0 ;
18350 wxString *arg2 = 0 ;
18351 bool temp2 = False ;
18352 PyObject * obj0 = 0 ;
18353 PyObject * obj1 = 0 ;
18354 char *kwnames[] = {
18355 (char *) "self",(char *) "options", NULL
18356 };
18357
18358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
18359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18361 {
18362 arg2 = wxString_in_helper(obj1);
18363 if (arg2 == NULL) SWIG_fail;
18364 temp2 = True;
18365 }
18366 {
18367 PyThreadState* __tstate = wxPyBeginAllowThreads();
18368 (arg1)->SetPrinterOptions((wxString const &)*arg2);
18369
18370 wxPyEndAllowThreads(__tstate);
18371 if (PyErr_Occurred()) SWIG_fail;
18372 }
18373 Py_INCREF(Py_None); resultobj = Py_None;
18374 {
18375 if (temp2)
18376 delete arg2;
18377 }
18378 return resultobj;
18379 fail:
18380 {
18381 if (temp2)
18382 delete arg2;
18383 }
18384 return NULL;
18385 }
18386
18387
18388 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18389 PyObject *resultobj;
18390 wxPrintData *arg1 = (wxPrintData *) 0 ;
18391 wxString *arg2 = 0 ;
18392 bool temp2 = False ;
18393 PyObject * obj0 = 0 ;
18394 PyObject * obj1 = 0 ;
18395 char *kwnames[] = {
18396 (char *) "self",(char *) "command", NULL
18397 };
18398
18399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
18400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18402 {
18403 arg2 = wxString_in_helper(obj1);
18404 if (arg2 == NULL) SWIG_fail;
18405 temp2 = True;
18406 }
18407 {
18408 PyThreadState* __tstate = wxPyBeginAllowThreads();
18409 (arg1)->SetPreviewCommand((wxString const &)*arg2);
18410
18411 wxPyEndAllowThreads(__tstate);
18412 if (PyErr_Occurred()) SWIG_fail;
18413 }
18414 Py_INCREF(Py_None); resultobj = Py_None;
18415 {
18416 if (temp2)
18417 delete arg2;
18418 }
18419 return resultobj;
18420 fail:
18421 {
18422 if (temp2)
18423 delete arg2;
18424 }
18425 return NULL;
18426 }
18427
18428
18429 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18430 PyObject *resultobj;
18431 wxPrintData *arg1 = (wxPrintData *) 0 ;
18432 wxString *arg2 = 0 ;
18433 bool temp2 = False ;
18434 PyObject * obj0 = 0 ;
18435 PyObject * obj1 = 0 ;
18436 char *kwnames[] = {
18437 (char *) "self",(char *) "filename", NULL
18438 };
18439
18440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
18441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18443 {
18444 arg2 = wxString_in_helper(obj1);
18445 if (arg2 == NULL) SWIG_fail;
18446 temp2 = True;
18447 }
18448 {
18449 PyThreadState* __tstate = wxPyBeginAllowThreads();
18450 (arg1)->SetFilename((wxString const &)*arg2);
18451
18452 wxPyEndAllowThreads(__tstate);
18453 if (PyErr_Occurred()) SWIG_fail;
18454 }
18455 Py_INCREF(Py_None); resultobj = Py_None;
18456 {
18457 if (temp2)
18458 delete arg2;
18459 }
18460 return resultobj;
18461 fail:
18462 {
18463 if (temp2)
18464 delete arg2;
18465 }
18466 return NULL;
18467 }
18468
18469
18470 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18471 PyObject *resultobj;
18472 wxPrintData *arg1 = (wxPrintData *) 0 ;
18473 wxString *arg2 = 0 ;
18474 bool temp2 = False ;
18475 PyObject * obj0 = 0 ;
18476 PyObject * obj1 = 0 ;
18477 char *kwnames[] = {
18478 (char *) "self",(char *) "path", NULL
18479 };
18480
18481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
18482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18484 {
18485 arg2 = wxString_in_helper(obj1);
18486 if (arg2 == NULL) SWIG_fail;
18487 temp2 = True;
18488 }
18489 {
18490 PyThreadState* __tstate = wxPyBeginAllowThreads();
18491 (arg1)->SetFontMetricPath((wxString const &)*arg2);
18492
18493 wxPyEndAllowThreads(__tstate);
18494 if (PyErr_Occurred()) SWIG_fail;
18495 }
18496 Py_INCREF(Py_None); resultobj = Py_None;
18497 {
18498 if (temp2)
18499 delete arg2;
18500 }
18501 return resultobj;
18502 fail:
18503 {
18504 if (temp2)
18505 delete arg2;
18506 }
18507 return NULL;
18508 }
18509
18510
18511 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18512 PyObject *resultobj;
18513 wxPrintData *arg1 = (wxPrintData *) 0 ;
18514 double arg2 ;
18515 PyObject * obj0 = 0 ;
18516 PyObject * obj1 = 0 ;
18517 char *kwnames[] = {
18518 (char *) "self",(char *) "x", NULL
18519 };
18520
18521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
18522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18524 arg2 = (double) SWIG_AsDouble(obj1);
18525 if (PyErr_Occurred()) SWIG_fail;
18526 {
18527 PyThreadState* __tstate = wxPyBeginAllowThreads();
18528 (arg1)->SetPrinterScaleX(arg2);
18529
18530 wxPyEndAllowThreads(__tstate);
18531 if (PyErr_Occurred()) SWIG_fail;
18532 }
18533 Py_INCREF(Py_None); resultobj = Py_None;
18534 return resultobj;
18535 fail:
18536 return NULL;
18537 }
18538
18539
18540 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18541 PyObject *resultobj;
18542 wxPrintData *arg1 = (wxPrintData *) 0 ;
18543 double arg2 ;
18544 PyObject * obj0 = 0 ;
18545 PyObject * obj1 = 0 ;
18546 char *kwnames[] = {
18547 (char *) "self",(char *) "y", NULL
18548 };
18549
18550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
18551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18553 arg2 = (double) SWIG_AsDouble(obj1);
18554 if (PyErr_Occurred()) SWIG_fail;
18555 {
18556 PyThreadState* __tstate = wxPyBeginAllowThreads();
18557 (arg1)->SetPrinterScaleY(arg2);
18558
18559 wxPyEndAllowThreads(__tstate);
18560 if (PyErr_Occurred()) SWIG_fail;
18561 }
18562 Py_INCREF(Py_None); resultobj = Py_None;
18563 return resultobj;
18564 fail:
18565 return NULL;
18566 }
18567
18568
18569 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
18570 PyObject *resultobj;
18571 wxPrintData *arg1 = (wxPrintData *) 0 ;
18572 double arg2 ;
18573 double arg3 ;
18574 PyObject * obj0 = 0 ;
18575 PyObject * obj1 = 0 ;
18576 PyObject * obj2 = 0 ;
18577 char *kwnames[] = {
18578 (char *) "self",(char *) "x",(char *) "y", NULL
18579 };
18580
18581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
18582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18584 arg2 = (double) SWIG_AsDouble(obj1);
18585 if (PyErr_Occurred()) SWIG_fail;
18586 arg3 = (double) SWIG_AsDouble(obj2);
18587 if (PyErr_Occurred()) SWIG_fail;
18588 {
18589 PyThreadState* __tstate = wxPyBeginAllowThreads();
18590 (arg1)->SetPrinterScaling(arg2,arg3);
18591
18592 wxPyEndAllowThreads(__tstate);
18593 if (PyErr_Occurred()) SWIG_fail;
18594 }
18595 Py_INCREF(Py_None); resultobj = Py_None;
18596 return resultobj;
18597 fail:
18598 return NULL;
18599 }
18600
18601
18602 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
18603 PyObject *resultobj;
18604 wxPrintData *arg1 = (wxPrintData *) 0 ;
18605 long arg2 ;
18606 PyObject * obj0 = 0 ;
18607 PyObject * obj1 = 0 ;
18608 char *kwnames[] = {
18609 (char *) "self",(char *) "x", NULL
18610 };
18611
18612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
18613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18615 arg2 = (long) SWIG_AsLong(obj1);
18616 if (PyErr_Occurred()) SWIG_fail;
18617 {
18618 PyThreadState* __tstate = wxPyBeginAllowThreads();
18619 (arg1)->SetPrinterTranslateX(arg2);
18620
18621 wxPyEndAllowThreads(__tstate);
18622 if (PyErr_Occurred()) SWIG_fail;
18623 }
18624 Py_INCREF(Py_None); resultobj = Py_None;
18625 return resultobj;
18626 fail:
18627 return NULL;
18628 }
18629
18630
18631 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
18632 PyObject *resultobj;
18633 wxPrintData *arg1 = (wxPrintData *) 0 ;
18634 long arg2 ;
18635 PyObject * obj0 = 0 ;
18636 PyObject * obj1 = 0 ;
18637 char *kwnames[] = {
18638 (char *) "self",(char *) "y", NULL
18639 };
18640
18641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
18642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18644 arg2 = (long) SWIG_AsLong(obj1);
18645 if (PyErr_Occurred()) SWIG_fail;
18646 {
18647 PyThreadState* __tstate = wxPyBeginAllowThreads();
18648 (arg1)->SetPrinterTranslateY(arg2);
18649
18650 wxPyEndAllowThreads(__tstate);
18651 if (PyErr_Occurred()) SWIG_fail;
18652 }
18653 Py_INCREF(Py_None); resultobj = Py_None;
18654 return resultobj;
18655 fail:
18656 return NULL;
18657 }
18658
18659
18660 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
18661 PyObject *resultobj;
18662 wxPrintData *arg1 = (wxPrintData *) 0 ;
18663 long arg2 ;
18664 long arg3 ;
18665 PyObject * obj0 = 0 ;
18666 PyObject * obj1 = 0 ;
18667 PyObject * obj2 = 0 ;
18668 char *kwnames[] = {
18669 (char *) "self",(char *) "x",(char *) "y", NULL
18670 };
18671
18672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
18673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18675 arg2 = (long) SWIG_AsLong(obj1);
18676 if (PyErr_Occurred()) SWIG_fail;
18677 arg3 = (long) SWIG_AsLong(obj2);
18678 if (PyErr_Occurred()) SWIG_fail;
18679 {
18680 PyThreadState* __tstate = wxPyBeginAllowThreads();
18681 (arg1)->SetPrinterTranslation(arg2,arg3);
18682
18683 wxPyEndAllowThreads(__tstate);
18684 if (PyErr_Occurred()) SWIG_fail;
18685 }
18686 Py_INCREF(Py_None); resultobj = Py_None;
18687 return resultobj;
18688 fail:
18689 return NULL;
18690 }
18691
18692
18693 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18694 PyObject *resultobj;
18695 wxPrintData *arg1 = (wxPrintData *) 0 ;
18696 int arg2 ;
18697 PyObject * obj0 = 0 ;
18698 PyObject * obj1 = 0 ;
18699 char *kwnames[] = {
18700 (char *) "self",(char *) "printMode", NULL
18701 };
18702
18703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
18704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18706 arg2 = (wxPrintMode) SWIG_AsInt(obj1);
18707 if (PyErr_Occurred()) SWIG_fail;
18708 {
18709 PyThreadState* __tstate = wxPyBeginAllowThreads();
18710 (arg1)->SetPrintMode((wxPrintMode )arg2);
18711
18712 wxPyEndAllowThreads(__tstate);
18713 if (PyErr_Occurred()) SWIG_fail;
18714 }
18715 Py_INCREF(Py_None); resultobj = Py_None;
18716 return resultobj;
18717 fail:
18718 return NULL;
18719 }
18720
18721
18722 static PyObject *_wrap_PrintData_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
18723 PyObject *resultobj;
18724 wxPrintData *arg1 = (wxPrintData *) 0 ;
18725 wxOutputStream *result;
18726 PyObject * obj0 = 0 ;
18727 char *kwnames[] = {
18728 (char *) "self", NULL
18729 };
18730
18731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
18732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18734 {
18735 PyThreadState* __tstate = wxPyBeginAllowThreads();
18736 result = (wxOutputStream *)(arg1)->GetOutputStream();
18737
18738 wxPyEndAllowThreads(__tstate);
18739 if (PyErr_Occurred()) SWIG_fail;
18740 }
18741 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
18742 return resultobj;
18743 fail:
18744 return NULL;
18745 }
18746
18747
18748 static PyObject *_wrap_PrintData_SetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
18749 PyObject *resultobj;
18750 wxPrintData *arg1 = (wxPrintData *) 0 ;
18751 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
18752 PyObject * obj0 = 0 ;
18753 PyObject * obj1 = 0 ;
18754 char *kwnames[] = {
18755 (char *) "self",(char *) "outputstream", NULL
18756 };
18757
18758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
18759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18761 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
18762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18763 {
18764 PyThreadState* __tstate = wxPyBeginAllowThreads();
18765 (arg1)->SetOutputStream(arg2);
18766
18767 wxPyEndAllowThreads(__tstate);
18768 if (PyErr_Occurred()) SWIG_fail;
18769 }
18770 Py_INCREF(Py_None); resultobj = Py_None;
18771 return resultobj;
18772 fail:
18773 return NULL;
18774 }
18775
18776
18777 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
18778 PyObject *obj;
18779 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18780 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
18781 Py_INCREF(obj);
18782 return Py_BuildValue((char *)"");
18783 }
18784 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18785 PyObject *resultobj;
18786 wxPageSetupDialogData *result;
18787 char *kwnames[] = {
18788 NULL
18789 };
18790
18791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
18792 {
18793 PyThreadState* __tstate = wxPyBeginAllowThreads();
18794 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
18795
18796 wxPyEndAllowThreads(__tstate);
18797 if (PyErr_Occurred()) SWIG_fail;
18798 }
18799 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
18800 return resultobj;
18801 fail:
18802 return NULL;
18803 }
18804
18805
18806 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18807 PyObject *resultobj;
18808 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18809 PyObject * obj0 = 0 ;
18810 char *kwnames[] = {
18811 (char *) "self", NULL
18812 };
18813
18814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
18815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18817 {
18818 PyThreadState* __tstate = wxPyBeginAllowThreads();
18819 delete arg1;
18820
18821 wxPyEndAllowThreads(__tstate);
18822 if (PyErr_Occurred()) SWIG_fail;
18823 }
18824 Py_INCREF(Py_None); resultobj = Py_None;
18825 return resultobj;
18826 fail:
18827 return NULL;
18828 }
18829
18830
18831 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
18832 PyObject *resultobj;
18833 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18834 bool arg2 ;
18835 PyObject * obj0 = 0 ;
18836 PyObject * obj1 = 0 ;
18837 char *kwnames[] = {
18838 (char *) "self",(char *) "flag", NULL
18839 };
18840
18841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
18842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18844 arg2 = (bool) SWIG_AsBool(obj1);
18845 if (PyErr_Occurred()) SWIG_fail;
18846 {
18847 PyThreadState* __tstate = wxPyBeginAllowThreads();
18848 (arg1)->EnableHelp(arg2);
18849
18850 wxPyEndAllowThreads(__tstate);
18851 if (PyErr_Occurred()) SWIG_fail;
18852 }
18853 Py_INCREF(Py_None); resultobj = Py_None;
18854 return resultobj;
18855 fail:
18856 return NULL;
18857 }
18858
18859
18860 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
18861 PyObject *resultobj;
18862 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18863 bool arg2 ;
18864 PyObject * obj0 = 0 ;
18865 PyObject * obj1 = 0 ;
18866 char *kwnames[] = {
18867 (char *) "self",(char *) "flag", NULL
18868 };
18869
18870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
18871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18873 arg2 = (bool) SWIG_AsBool(obj1);
18874 if (PyErr_Occurred()) SWIG_fail;
18875 {
18876 PyThreadState* __tstate = wxPyBeginAllowThreads();
18877 (arg1)->EnableMargins(arg2);
18878
18879 wxPyEndAllowThreads(__tstate);
18880 if (PyErr_Occurred()) SWIG_fail;
18881 }
18882 Py_INCREF(Py_None); resultobj = Py_None;
18883 return resultobj;
18884 fail:
18885 return NULL;
18886 }
18887
18888
18889 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
18890 PyObject *resultobj;
18891 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18892 bool arg2 ;
18893 PyObject * obj0 = 0 ;
18894 PyObject * obj1 = 0 ;
18895 char *kwnames[] = {
18896 (char *) "self",(char *) "flag", NULL
18897 };
18898
18899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
18900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18902 arg2 = (bool) SWIG_AsBool(obj1);
18903 if (PyErr_Occurred()) SWIG_fail;
18904 {
18905 PyThreadState* __tstate = wxPyBeginAllowThreads();
18906 (arg1)->EnableOrientation(arg2);
18907
18908 wxPyEndAllowThreads(__tstate);
18909 if (PyErr_Occurred()) SWIG_fail;
18910 }
18911 Py_INCREF(Py_None); resultobj = Py_None;
18912 return resultobj;
18913 fail:
18914 return NULL;
18915 }
18916
18917
18918 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
18919 PyObject *resultobj;
18920 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18921 bool arg2 ;
18922 PyObject * obj0 = 0 ;
18923 PyObject * obj1 = 0 ;
18924 char *kwnames[] = {
18925 (char *) "self",(char *) "flag", NULL
18926 };
18927
18928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
18929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18931 arg2 = (bool) SWIG_AsBool(obj1);
18932 if (PyErr_Occurred()) SWIG_fail;
18933 {
18934 PyThreadState* __tstate = wxPyBeginAllowThreads();
18935 (arg1)->EnablePaper(arg2);
18936
18937 wxPyEndAllowThreads(__tstate);
18938 if (PyErr_Occurred()) SWIG_fail;
18939 }
18940 Py_INCREF(Py_None); resultobj = Py_None;
18941 return resultobj;
18942 fail:
18943 return NULL;
18944 }
18945
18946
18947 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18948 PyObject *resultobj;
18949 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18950 bool arg2 ;
18951 PyObject * obj0 = 0 ;
18952 PyObject * obj1 = 0 ;
18953 char *kwnames[] = {
18954 (char *) "self",(char *) "flag", NULL
18955 };
18956
18957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
18958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18960 arg2 = (bool) SWIG_AsBool(obj1);
18961 if (PyErr_Occurred()) SWIG_fail;
18962 {
18963 PyThreadState* __tstate = wxPyBeginAllowThreads();
18964 (arg1)->EnablePrinter(arg2);
18965
18966 wxPyEndAllowThreads(__tstate);
18967 if (PyErr_Occurred()) SWIG_fail;
18968 }
18969 Py_INCREF(Py_None); resultobj = Py_None;
18970 return resultobj;
18971 fail:
18972 return NULL;
18973 }
18974
18975
18976 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
18977 PyObject *resultobj;
18978 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18979 bool result;
18980 PyObject * obj0 = 0 ;
18981 char *kwnames[] = {
18982 (char *) "self", NULL
18983 };
18984
18985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
18986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18988 {
18989 PyThreadState* __tstate = wxPyBeginAllowThreads();
18990 result = (bool)(arg1)->GetDefaultMinMargins();
18991
18992 wxPyEndAllowThreads(__tstate);
18993 if (PyErr_Occurred()) SWIG_fail;
18994 }
18995 {
18996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18997 }
18998 return resultobj;
18999 fail:
19000 return NULL;
19001 }
19002
19003
19004 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19005 PyObject *resultobj;
19006 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19007 bool result;
19008 PyObject * obj0 = 0 ;
19009 char *kwnames[] = {
19010 (char *) "self", NULL
19011 };
19012
19013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
19014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19016 {
19017 PyThreadState* __tstate = wxPyBeginAllowThreads();
19018 result = (bool)(arg1)->GetEnableMargins();
19019
19020 wxPyEndAllowThreads(__tstate);
19021 if (PyErr_Occurred()) SWIG_fail;
19022 }
19023 {
19024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19025 }
19026 return resultobj;
19027 fail:
19028 return NULL;
19029 }
19030
19031
19032 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
19033 PyObject *resultobj;
19034 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19035 bool result;
19036 PyObject * obj0 = 0 ;
19037 char *kwnames[] = {
19038 (char *) "self", NULL
19039 };
19040
19041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
19042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19044 {
19045 PyThreadState* __tstate = wxPyBeginAllowThreads();
19046 result = (bool)(arg1)->GetEnableOrientation();
19047
19048 wxPyEndAllowThreads(__tstate);
19049 if (PyErr_Occurred()) SWIG_fail;
19050 }
19051 {
19052 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19053 }
19054 return resultobj;
19055 fail:
19056 return NULL;
19057 }
19058
19059
19060 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
19061 PyObject *resultobj;
19062 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19063 bool result;
19064 PyObject * obj0 = 0 ;
19065 char *kwnames[] = {
19066 (char *) "self", NULL
19067 };
19068
19069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
19070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19072 {
19073 PyThreadState* __tstate = wxPyBeginAllowThreads();
19074 result = (bool)(arg1)->GetEnablePaper();
19075
19076 wxPyEndAllowThreads(__tstate);
19077 if (PyErr_Occurred()) SWIG_fail;
19078 }
19079 {
19080 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19081 }
19082 return resultobj;
19083 fail:
19084 return NULL;
19085 }
19086
19087
19088 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19089 PyObject *resultobj;
19090 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19091 bool result;
19092 PyObject * obj0 = 0 ;
19093 char *kwnames[] = {
19094 (char *) "self", NULL
19095 };
19096
19097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
19098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19100 {
19101 PyThreadState* __tstate = wxPyBeginAllowThreads();
19102 result = (bool)(arg1)->GetEnablePrinter();
19103
19104 wxPyEndAllowThreads(__tstate);
19105 if (PyErr_Occurred()) SWIG_fail;
19106 }
19107 {
19108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19109 }
19110 return resultobj;
19111 fail:
19112 return NULL;
19113 }
19114
19115
19116 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19117 PyObject *resultobj;
19118 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19119 bool result;
19120 PyObject * obj0 = 0 ;
19121 char *kwnames[] = {
19122 (char *) "self", NULL
19123 };
19124
19125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
19126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19128 {
19129 PyThreadState* __tstate = wxPyBeginAllowThreads();
19130 result = (bool)(arg1)->GetEnableHelp();
19131
19132 wxPyEndAllowThreads(__tstate);
19133 if (PyErr_Occurred()) SWIG_fail;
19134 }
19135 {
19136 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19137 }
19138 return resultobj;
19139 fail:
19140 return NULL;
19141 }
19142
19143
19144 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19145 PyObject *resultobj;
19146 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19147 bool result;
19148 PyObject * obj0 = 0 ;
19149 char *kwnames[] = {
19150 (char *) "self", NULL
19151 };
19152
19153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
19154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19156 {
19157 PyThreadState* __tstate = wxPyBeginAllowThreads();
19158 result = (bool)(arg1)->GetDefaultInfo();
19159
19160 wxPyEndAllowThreads(__tstate);
19161 if (PyErr_Occurred()) SWIG_fail;
19162 }
19163 {
19164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19165 }
19166 return resultobj;
19167 fail:
19168 return NULL;
19169 }
19170
19171
19172 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19173 PyObject *resultobj;
19174 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19175 wxPoint result;
19176 PyObject * obj0 = 0 ;
19177 char *kwnames[] = {
19178 (char *) "self", NULL
19179 };
19180
19181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
19182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19184 {
19185 PyThreadState* __tstate = wxPyBeginAllowThreads();
19186 result = (arg1)->GetMarginTopLeft();
19187
19188 wxPyEndAllowThreads(__tstate);
19189 if (PyErr_Occurred()) SWIG_fail;
19190 }
19191 {
19192 wxPoint * resultptr;
19193 resultptr = new wxPoint((wxPoint &) result);
19194 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19195 }
19196 return resultobj;
19197 fail:
19198 return NULL;
19199 }
19200
19201
19202 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19203 PyObject *resultobj;
19204 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19205 wxPoint result;
19206 PyObject * obj0 = 0 ;
19207 char *kwnames[] = {
19208 (char *) "self", NULL
19209 };
19210
19211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
19212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19214 {
19215 PyThreadState* __tstate = wxPyBeginAllowThreads();
19216 result = (arg1)->GetMarginBottomRight();
19217
19218 wxPyEndAllowThreads(__tstate);
19219 if (PyErr_Occurred()) SWIG_fail;
19220 }
19221 {
19222 wxPoint * resultptr;
19223 resultptr = new wxPoint((wxPoint &) result);
19224 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19225 }
19226 return resultobj;
19227 fail:
19228 return NULL;
19229 }
19230
19231
19232 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19233 PyObject *resultobj;
19234 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19235 wxPoint result;
19236 PyObject * obj0 = 0 ;
19237 char *kwnames[] = {
19238 (char *) "self", NULL
19239 };
19240
19241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
19242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19244 {
19245 PyThreadState* __tstate = wxPyBeginAllowThreads();
19246 result = (arg1)->GetMinMarginTopLeft();
19247
19248 wxPyEndAllowThreads(__tstate);
19249 if (PyErr_Occurred()) SWIG_fail;
19250 }
19251 {
19252 wxPoint * resultptr;
19253 resultptr = new wxPoint((wxPoint &) result);
19254 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19255 }
19256 return resultobj;
19257 fail:
19258 return NULL;
19259 }
19260
19261
19262 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19263 PyObject *resultobj;
19264 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19265 wxPoint result;
19266 PyObject * obj0 = 0 ;
19267 char *kwnames[] = {
19268 (char *) "self", NULL
19269 };
19270
19271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
19272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19274 {
19275 PyThreadState* __tstate = wxPyBeginAllowThreads();
19276 result = (arg1)->GetMinMarginBottomRight();
19277
19278 wxPyEndAllowThreads(__tstate);
19279 if (PyErr_Occurred()) SWIG_fail;
19280 }
19281 {
19282 wxPoint * resultptr;
19283 resultptr = new wxPoint((wxPoint &) result);
19284 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19285 }
19286 return resultobj;
19287 fail:
19288 return NULL;
19289 }
19290
19291
19292 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
19293 PyObject *resultobj;
19294 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19295 int result;
19296 PyObject * obj0 = 0 ;
19297 char *kwnames[] = {
19298 (char *) "self", NULL
19299 };
19300
19301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",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 = (int)(arg1)->GetPaperId();
19307
19308 wxPyEndAllowThreads(__tstate);
19309 if (PyErr_Occurred()) SWIG_fail;
19310 }
19311 resultobj = SWIG_FromInt((int)result);
19312 return resultobj;
19313 fail:
19314 return NULL;
19315 }
19316
19317
19318 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19319 PyObject *resultobj;
19320 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19321 wxSize result;
19322 PyObject * obj0 = 0 ;
19323 char *kwnames[] = {
19324 (char *) "self", NULL
19325 };
19326
19327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
19328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19330 {
19331 PyThreadState* __tstate = wxPyBeginAllowThreads();
19332 result = (arg1)->GetPaperSize();
19333
19334 wxPyEndAllowThreads(__tstate);
19335 if (PyErr_Occurred()) SWIG_fail;
19336 }
19337 {
19338 wxSize * resultptr;
19339 resultptr = new wxSize((wxSize &) result);
19340 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19341 }
19342 return resultobj;
19343 fail:
19344 return NULL;
19345 }
19346
19347
19348 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19349 PyObject *resultobj;
19350 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19351 wxPrintData *result;
19352 PyObject * obj0 = 0 ;
19353 char *kwnames[] = {
19354 (char *) "self", NULL
19355 };
19356
19357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
19358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19360 {
19361 PyThreadState* __tstate = wxPyBeginAllowThreads();
19362 {
19363 wxPrintData &_result_ref = (arg1)->GetPrintData();
19364 result = (wxPrintData *) &_result_ref;
19365 }
19366
19367 wxPyEndAllowThreads(__tstate);
19368 if (PyErr_Occurred()) SWIG_fail;
19369 }
19370 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
19371 return resultobj;
19372 fail:
19373 return NULL;
19374 }
19375
19376
19377 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19378 PyObject *resultobj;
19379 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19380 bool result;
19381 PyObject * obj0 = 0 ;
19382 char *kwnames[] = {
19383 (char *) "self", NULL
19384 };
19385
19386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
19387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19389 {
19390 PyThreadState* __tstate = wxPyBeginAllowThreads();
19391 result = (bool)(arg1)->Ok();
19392
19393 wxPyEndAllowThreads(__tstate);
19394 if (PyErr_Occurred()) SWIG_fail;
19395 }
19396 {
19397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19398 }
19399 return resultobj;
19400 fail:
19401 return NULL;
19402 }
19403
19404
19405 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19406 PyObject *resultobj;
19407 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19408 bool arg2 ;
19409 PyObject * obj0 = 0 ;
19410 PyObject * obj1 = 0 ;
19411 char *kwnames[] = {
19412 (char *) "self",(char *) "flag", NULL
19413 };
19414
19415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
19416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19418 arg2 = (bool) SWIG_AsBool(obj1);
19419 if (PyErr_Occurred()) SWIG_fail;
19420 {
19421 PyThreadState* __tstate = wxPyBeginAllowThreads();
19422 (arg1)->SetDefaultInfo(arg2);
19423
19424 wxPyEndAllowThreads(__tstate);
19425 if (PyErr_Occurred()) SWIG_fail;
19426 }
19427 Py_INCREF(Py_None); resultobj = Py_None;
19428 return resultobj;
19429 fail:
19430 return NULL;
19431 }
19432
19433
19434 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19435 PyObject *resultobj;
19436 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19437 bool arg2 ;
19438 PyObject * obj0 = 0 ;
19439 PyObject * obj1 = 0 ;
19440 char *kwnames[] = {
19441 (char *) "self",(char *) "flag", NULL
19442 };
19443
19444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
19445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19447 arg2 = (bool) SWIG_AsBool(obj1);
19448 if (PyErr_Occurred()) SWIG_fail;
19449 {
19450 PyThreadState* __tstate = wxPyBeginAllowThreads();
19451 (arg1)->SetDefaultMinMargins(arg2);
19452
19453 wxPyEndAllowThreads(__tstate);
19454 if (PyErr_Occurred()) SWIG_fail;
19455 }
19456 Py_INCREF(Py_None); resultobj = Py_None;
19457 return resultobj;
19458 fail:
19459 return NULL;
19460 }
19461
19462
19463 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19464 PyObject *resultobj;
19465 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19466 wxPoint *arg2 = 0 ;
19467 wxPoint temp2 ;
19468 PyObject * obj0 = 0 ;
19469 PyObject * obj1 = 0 ;
19470 char *kwnames[] = {
19471 (char *) "self",(char *) "pt", NULL
19472 };
19473
19474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
19475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19477 {
19478 arg2 = &temp2;
19479 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19480 }
19481 {
19482 PyThreadState* __tstate = wxPyBeginAllowThreads();
19483 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
19484
19485 wxPyEndAllowThreads(__tstate);
19486 if (PyErr_Occurred()) SWIG_fail;
19487 }
19488 Py_INCREF(Py_None); resultobj = Py_None;
19489 return resultobj;
19490 fail:
19491 return NULL;
19492 }
19493
19494
19495 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19496 PyObject *resultobj;
19497 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19498 wxPoint *arg2 = 0 ;
19499 wxPoint temp2 ;
19500 PyObject * obj0 = 0 ;
19501 PyObject * obj1 = 0 ;
19502 char *kwnames[] = {
19503 (char *) "self",(char *) "pt", NULL
19504 };
19505
19506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
19507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19509 {
19510 arg2 = &temp2;
19511 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19512 }
19513 {
19514 PyThreadState* __tstate = wxPyBeginAllowThreads();
19515 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
19516
19517 wxPyEndAllowThreads(__tstate);
19518 if (PyErr_Occurred()) SWIG_fail;
19519 }
19520 Py_INCREF(Py_None); resultobj = Py_None;
19521 return resultobj;
19522 fail:
19523 return NULL;
19524 }
19525
19526
19527 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19528 PyObject *resultobj;
19529 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19530 wxPoint *arg2 = 0 ;
19531 wxPoint temp2 ;
19532 PyObject * obj0 = 0 ;
19533 PyObject * obj1 = 0 ;
19534 char *kwnames[] = {
19535 (char *) "self",(char *) "pt", NULL
19536 };
19537
19538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
19539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19541 {
19542 arg2 = &temp2;
19543 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19544 }
19545 {
19546 PyThreadState* __tstate = wxPyBeginAllowThreads();
19547 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
19548
19549 wxPyEndAllowThreads(__tstate);
19550 if (PyErr_Occurred()) SWIG_fail;
19551 }
19552 Py_INCREF(Py_None); resultobj = Py_None;
19553 return resultobj;
19554 fail:
19555 return NULL;
19556 }
19557
19558
19559 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19560 PyObject *resultobj;
19561 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19562 wxPoint *arg2 = 0 ;
19563 wxPoint temp2 ;
19564 PyObject * obj0 = 0 ;
19565 PyObject * obj1 = 0 ;
19566 char *kwnames[] = {
19567 (char *) "self",(char *) "pt", NULL
19568 };
19569
19570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
19571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19573 {
19574 arg2 = &temp2;
19575 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19576 }
19577 {
19578 PyThreadState* __tstate = wxPyBeginAllowThreads();
19579 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
19580
19581 wxPyEndAllowThreads(__tstate);
19582 if (PyErr_Occurred()) SWIG_fail;
19583 }
19584 Py_INCREF(Py_None); resultobj = Py_None;
19585 return resultobj;
19586 fail:
19587 return NULL;
19588 }
19589
19590
19591 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
19592 PyObject *resultobj;
19593 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19594 int arg2 ;
19595 PyObject * obj0 = 0 ;
19596 PyObject * obj1 = 0 ;
19597 char *kwnames[] = {
19598 (char *) "self",(char *) "id", NULL
19599 };
19600
19601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
19602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19604 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
19605 if (PyErr_Occurred()) SWIG_fail;
19606 {
19607 PyThreadState* __tstate = wxPyBeginAllowThreads();
19608 (arg1)->SetPaperId((wxPaperSize )arg2);
19609
19610 wxPyEndAllowThreads(__tstate);
19611 if (PyErr_Occurred()) SWIG_fail;
19612 }
19613 Py_INCREF(Py_None); resultobj = Py_None;
19614 return resultobj;
19615 fail:
19616 return NULL;
19617 }
19618
19619
19620 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19621 PyObject *resultobj;
19622 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19623 wxSize *arg2 = 0 ;
19624 wxSize temp2 ;
19625 PyObject * obj0 = 0 ;
19626 PyObject * obj1 = 0 ;
19627 char *kwnames[] = {
19628 (char *) "self",(char *) "size", NULL
19629 };
19630
19631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
19632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19634 {
19635 arg2 = &temp2;
19636 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19637 }
19638 {
19639 PyThreadState* __tstate = wxPyBeginAllowThreads();
19640 (arg1)->SetPaperSize((wxSize const &)*arg2);
19641
19642 wxPyEndAllowThreads(__tstate);
19643 if (PyErr_Occurred()) SWIG_fail;
19644 }
19645 Py_INCREF(Py_None); resultobj = Py_None;
19646 return resultobj;
19647 fail:
19648 return NULL;
19649 }
19650
19651
19652 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19653 PyObject *resultobj;
19654 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19655 wxPrintData *arg2 = 0 ;
19656 PyObject * obj0 = 0 ;
19657 PyObject * obj1 = 0 ;
19658 char *kwnames[] = {
19659 (char *) "self",(char *) "printData", NULL
19660 };
19661
19662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
19663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19665 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
19666 SWIG_POINTER_EXCEPTION | 0)) == -1)
19667 SWIG_fail;
19668 if (arg2 == NULL) {
19669 PyErr_SetString(PyExc_TypeError,"null reference");
19670 SWIG_fail;
19671 }
19672 {
19673 PyThreadState* __tstate = wxPyBeginAllowThreads();
19674 (arg1)->SetPrintData((wxPrintData const &)*arg2);
19675
19676 wxPyEndAllowThreads(__tstate);
19677 if (PyErr_Occurred()) SWIG_fail;
19678 }
19679 Py_INCREF(Py_None); resultobj = Py_None;
19680 return resultobj;
19681 fail:
19682 return NULL;
19683 }
19684
19685
19686 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
19687 PyObject *obj;
19688 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19689 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
19690 Py_INCREF(obj);
19691 return Py_BuildValue((char *)"");
19692 }
19693 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19694 PyObject *resultobj;
19695 wxWindow *arg1 = (wxWindow *) 0 ;
19696 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
19697 wxPageSetupDialog *result;
19698 PyObject * obj0 = 0 ;
19699 PyObject * obj1 = 0 ;
19700 char *kwnames[] = {
19701 (char *) "parent",(char *) "data", NULL
19702 };
19703
19704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
19705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19707 if (obj1) {
19708 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
19709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19710 }
19711 {
19712 PyThreadState* __tstate = wxPyBeginAllowThreads();
19713 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
19714
19715 wxPyEndAllowThreads(__tstate);
19716 if (PyErr_Occurred()) SWIG_fail;
19717 }
19718 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
19719 return resultobj;
19720 fail:
19721 return NULL;
19722 }
19723
19724
19725 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
19726 PyObject *resultobj;
19727 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
19728 wxPageSetupDialogData *result;
19729 PyObject * obj0 = 0 ;
19730 char *kwnames[] = {
19731 (char *) "self", NULL
19732 };
19733
19734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
19735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
19736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19737 {
19738 PyThreadState* __tstate = wxPyBeginAllowThreads();
19739 {
19740 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
19741 result = (wxPageSetupDialogData *) &_result_ref;
19742 }
19743
19744 wxPyEndAllowThreads(__tstate);
19745 if (PyErr_Occurred()) SWIG_fail;
19746 }
19747 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
19748 return resultobj;
19749 fail:
19750 return NULL;
19751 }
19752
19753
19754 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
19755 PyObject *resultobj;
19756 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
19757 int result;
19758 PyObject * obj0 = 0 ;
19759 char *kwnames[] = {
19760 (char *) "self", NULL
19761 };
19762
19763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
19764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
19765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19766 {
19767 PyThreadState* __tstate = wxPyBeginAllowThreads();
19768 result = (int)(arg1)->ShowModal();
19769
19770 wxPyEndAllowThreads(__tstate);
19771 if (PyErr_Occurred()) SWIG_fail;
19772 }
19773 resultobj = SWIG_FromInt((int)result);
19774 return resultobj;
19775 fail:
19776 return NULL;
19777 }
19778
19779
19780 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
19781 PyObject *obj;
19782 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19783 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
19784 Py_INCREF(obj);
19785 return Py_BuildValue((char *)"");
19786 }
19787 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *self, PyObject *args) {
19788 PyObject *resultobj;
19789 wxPrintDialogData *result;
19790
19791 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
19792 {
19793 PyThreadState* __tstate = wxPyBeginAllowThreads();
19794 result = (wxPrintDialogData *)new wxPrintDialogData();
19795
19796 wxPyEndAllowThreads(__tstate);
19797 if (PyErr_Occurred()) SWIG_fail;
19798 }
19799 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
19800 return resultobj;
19801 fail:
19802 return NULL;
19803 }
19804
19805
19806 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *self, PyObject *args) {
19807 PyObject *resultobj;
19808 wxPrintData *arg1 = 0 ;
19809 wxPrintDialogData *result;
19810 PyObject * obj0 = 0 ;
19811
19812 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
19813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19814 SWIG_POINTER_EXCEPTION | 0)) == -1)
19815 SWIG_fail;
19816 if (arg1 == NULL) {
19817 PyErr_SetString(PyExc_TypeError,"null reference");
19818 SWIG_fail;
19819 }
19820 {
19821 PyThreadState* __tstate = wxPyBeginAllowThreads();
19822 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
19823
19824 wxPyEndAllowThreads(__tstate);
19825 if (PyErr_Occurred()) SWIG_fail;
19826 }
19827 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
19828 return resultobj;
19829 fail:
19830 return NULL;
19831 }
19832
19833
19834 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
19835 int argc;
19836 PyObject *argv[2];
19837 int ii;
19838
19839 argc = PyObject_Length(args);
19840 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
19841 argv[ii] = PyTuple_GetItem(args,ii);
19842 }
19843 if (argc == 0) {
19844 return _wrap_new_PrintDialogData__SWIG_0(self,args);
19845 }
19846 if (argc == 1) {
19847 int _v;
19848 {
19849 void *ptr;
19850 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
19851 _v = 0;
19852 PyErr_Clear();
19853 } else {
19854 _v = 1;
19855 }
19856 }
19857 if (_v) {
19858 return _wrap_new_PrintDialogData__SWIG_1(self,args);
19859 }
19860 }
19861
19862 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
19863 return NULL;
19864 }
19865
19866
19867 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19868 PyObject *resultobj;
19869 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19870 PyObject * obj0 = 0 ;
19871 char *kwnames[] = {
19872 (char *) "self", NULL
19873 };
19874
19875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
19876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19878 {
19879 PyThreadState* __tstate = wxPyBeginAllowThreads();
19880 delete arg1;
19881
19882 wxPyEndAllowThreads(__tstate);
19883 if (PyErr_Occurred()) SWIG_fail;
19884 }
19885 Py_INCREF(Py_None); resultobj = Py_None;
19886 return resultobj;
19887 fail:
19888 return NULL;
19889 }
19890
19891
19892 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19893 PyObject *resultobj;
19894 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19895 int result;
19896 PyObject * obj0 = 0 ;
19897 char *kwnames[] = {
19898 (char *) "self", NULL
19899 };
19900
19901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
19902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19904 {
19905 PyThreadState* __tstate = wxPyBeginAllowThreads();
19906 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
19907
19908 wxPyEndAllowThreads(__tstate);
19909 if (PyErr_Occurred()) SWIG_fail;
19910 }
19911 resultobj = SWIG_FromInt((int)result);
19912 return resultobj;
19913 fail:
19914 return NULL;
19915 }
19916
19917
19918 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19919 PyObject *resultobj;
19920 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19921 int result;
19922 PyObject * obj0 = 0 ;
19923 char *kwnames[] = {
19924 (char *) "self", NULL
19925 };
19926
19927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
19928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19930 {
19931 PyThreadState* __tstate = wxPyBeginAllowThreads();
19932 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
19933
19934 wxPyEndAllowThreads(__tstate);
19935 if (PyErr_Occurred()) SWIG_fail;
19936 }
19937 resultobj = SWIG_FromInt((int)result);
19938 return resultobj;
19939 fail:
19940 return NULL;
19941 }
19942
19943
19944 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19945 PyObject *resultobj;
19946 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19947 int result;
19948 PyObject * obj0 = 0 ;
19949 char *kwnames[] = {
19950 (char *) "self", NULL
19951 };
19952
19953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
19954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19956 {
19957 PyThreadState* __tstate = wxPyBeginAllowThreads();
19958 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
19959
19960 wxPyEndAllowThreads(__tstate);
19961 if (PyErr_Occurred()) SWIG_fail;
19962 }
19963 resultobj = SWIG_FromInt((int)result);
19964 return resultobj;
19965 fail:
19966 return NULL;
19967 }
19968
19969
19970 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19971 PyObject *resultobj;
19972 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19973 int result;
19974 PyObject * obj0 = 0 ;
19975 char *kwnames[] = {
19976 (char *) "self", NULL
19977 };
19978
19979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
19980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19982 {
19983 PyThreadState* __tstate = wxPyBeginAllowThreads();
19984 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
19985
19986 wxPyEndAllowThreads(__tstate);
19987 if (PyErr_Occurred()) SWIG_fail;
19988 }
19989 resultobj = SWIG_FromInt((int)result);
19990 return resultobj;
19991 fail:
19992 return NULL;
19993 }
19994
19995
19996 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
19997 PyObject *resultobj;
19998 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19999 int result;
20000 PyObject * obj0 = 0 ;
20001 char *kwnames[] = {
20002 (char *) "self", NULL
20003 };
20004
20005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
20006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20008 {
20009 PyThreadState* __tstate = wxPyBeginAllowThreads();
20010 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
20011
20012 wxPyEndAllowThreads(__tstate);
20013 if (PyErr_Occurred()) SWIG_fail;
20014 }
20015 resultobj = SWIG_FromInt((int)result);
20016 return resultobj;
20017 fail:
20018 return NULL;
20019 }
20020
20021
20022 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20023 PyObject *resultobj;
20024 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20025 bool result;
20026 PyObject * obj0 = 0 ;
20027 char *kwnames[] = {
20028 (char *) "self", NULL
20029 };
20030
20031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
20032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20034 {
20035 PyThreadState* __tstate = wxPyBeginAllowThreads();
20036 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
20037
20038 wxPyEndAllowThreads(__tstate);
20039 if (PyErr_Occurred()) SWIG_fail;
20040 }
20041 {
20042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20043 }
20044 return resultobj;
20045 fail:
20046 return NULL;
20047 }
20048
20049
20050 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20051 PyObject *resultobj;
20052 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20053 bool result;
20054 PyObject * obj0 = 0 ;
20055 char *kwnames[] = {
20056 (char *) "self", NULL
20057 };
20058
20059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
20060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20062 {
20063 PyThreadState* __tstate = wxPyBeginAllowThreads();
20064 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
20065
20066 wxPyEndAllowThreads(__tstate);
20067 if (PyErr_Occurred()) SWIG_fail;
20068 }
20069 {
20070 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20071 }
20072 return resultobj;
20073 fail:
20074 return NULL;
20075 }
20076
20077
20078 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20079 PyObject *resultobj;
20080 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20081 bool result;
20082 PyObject * obj0 = 0 ;
20083 char *kwnames[] = {
20084 (char *) "self", NULL
20085 };
20086
20087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
20088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20090 {
20091 PyThreadState* __tstate = wxPyBeginAllowThreads();
20092 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
20093
20094 wxPyEndAllowThreads(__tstate);
20095 if (PyErr_Occurred()) SWIG_fail;
20096 }
20097 {
20098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20099 }
20100 return resultobj;
20101 fail:
20102 return NULL;
20103 }
20104
20105
20106 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20107 PyObject *resultobj;
20108 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20109 bool result;
20110 PyObject * obj0 = 0 ;
20111 char *kwnames[] = {
20112 (char *) "self", NULL
20113 };
20114
20115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
20116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20118 {
20119 PyThreadState* __tstate = wxPyBeginAllowThreads();
20120 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
20121
20122 wxPyEndAllowThreads(__tstate);
20123 if (PyErr_Occurred()) SWIG_fail;
20124 }
20125 {
20126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20127 }
20128 return resultobj;
20129 fail:
20130 return NULL;
20131 }
20132
20133
20134 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20135 PyObject *resultobj;
20136 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20137 bool result;
20138 PyObject * obj0 = 0 ;
20139 char *kwnames[] = {
20140 (char *) "self", NULL
20141 };
20142
20143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
20144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20146 {
20147 PyThreadState* __tstate = wxPyBeginAllowThreads();
20148 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
20149
20150 wxPyEndAllowThreads(__tstate);
20151 if (PyErr_Occurred()) SWIG_fail;
20152 }
20153 {
20154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20155 }
20156 return resultobj;
20157 fail:
20158 return NULL;
20159 }
20160
20161
20162 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20163 PyObject *resultobj;
20164 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20165 int arg2 ;
20166 PyObject * obj0 = 0 ;
20167 PyObject * obj1 = 0 ;
20168 char *kwnames[] = {
20169 (char *) "self",(char *) "v", NULL
20170 };
20171
20172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
20173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20175 arg2 = (int) SWIG_AsInt(obj1);
20176 if (PyErr_Occurred()) SWIG_fail;
20177 {
20178 PyThreadState* __tstate = wxPyBeginAllowThreads();
20179 (arg1)->SetFromPage(arg2);
20180
20181 wxPyEndAllowThreads(__tstate);
20182 if (PyErr_Occurred()) SWIG_fail;
20183 }
20184 Py_INCREF(Py_None); resultobj = Py_None;
20185 return resultobj;
20186 fail:
20187 return NULL;
20188 }
20189
20190
20191 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20192 PyObject *resultobj;
20193 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20194 int arg2 ;
20195 PyObject * obj0 = 0 ;
20196 PyObject * obj1 = 0 ;
20197 char *kwnames[] = {
20198 (char *) "self",(char *) "v", NULL
20199 };
20200
20201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
20202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20204 arg2 = (int) SWIG_AsInt(obj1);
20205 if (PyErr_Occurred()) SWIG_fail;
20206 {
20207 PyThreadState* __tstate = wxPyBeginAllowThreads();
20208 (arg1)->SetToPage(arg2);
20209
20210 wxPyEndAllowThreads(__tstate);
20211 if (PyErr_Occurred()) SWIG_fail;
20212 }
20213 Py_INCREF(Py_None); resultobj = Py_None;
20214 return resultobj;
20215 fail:
20216 return NULL;
20217 }
20218
20219
20220 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20221 PyObject *resultobj;
20222 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20223 int arg2 ;
20224 PyObject * obj0 = 0 ;
20225 PyObject * obj1 = 0 ;
20226 char *kwnames[] = {
20227 (char *) "self",(char *) "v", NULL
20228 };
20229
20230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
20231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20233 arg2 = (int) SWIG_AsInt(obj1);
20234 if (PyErr_Occurred()) SWIG_fail;
20235 {
20236 PyThreadState* __tstate = wxPyBeginAllowThreads();
20237 (arg1)->SetMinPage(arg2);
20238
20239 wxPyEndAllowThreads(__tstate);
20240 if (PyErr_Occurred()) SWIG_fail;
20241 }
20242 Py_INCREF(Py_None); resultobj = Py_None;
20243 return resultobj;
20244 fail:
20245 return NULL;
20246 }
20247
20248
20249 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20250 PyObject *resultobj;
20251 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20252 int arg2 ;
20253 PyObject * obj0 = 0 ;
20254 PyObject * obj1 = 0 ;
20255 char *kwnames[] = {
20256 (char *) "self",(char *) "v", NULL
20257 };
20258
20259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
20260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20262 arg2 = (int) SWIG_AsInt(obj1);
20263 if (PyErr_Occurred()) SWIG_fail;
20264 {
20265 PyThreadState* __tstate = wxPyBeginAllowThreads();
20266 (arg1)->SetMaxPage(arg2);
20267
20268 wxPyEndAllowThreads(__tstate);
20269 if (PyErr_Occurred()) SWIG_fail;
20270 }
20271 Py_INCREF(Py_None); resultobj = Py_None;
20272 return resultobj;
20273 fail:
20274 return NULL;
20275 }
20276
20277
20278 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20279 PyObject *resultobj;
20280 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20281 int arg2 ;
20282 PyObject * obj0 = 0 ;
20283 PyObject * obj1 = 0 ;
20284 char *kwnames[] = {
20285 (char *) "self",(char *) "v", NULL
20286 };
20287
20288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
20289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20291 arg2 = (int) SWIG_AsInt(obj1);
20292 if (PyErr_Occurred()) SWIG_fail;
20293 {
20294 PyThreadState* __tstate = wxPyBeginAllowThreads();
20295 (arg1)->SetNoCopies(arg2);
20296
20297 wxPyEndAllowThreads(__tstate);
20298 if (PyErr_Occurred()) SWIG_fail;
20299 }
20300 Py_INCREF(Py_None); resultobj = Py_None;
20301 return resultobj;
20302 fail:
20303 return NULL;
20304 }
20305
20306
20307 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20308 PyObject *resultobj;
20309 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20310 bool arg2 ;
20311 PyObject * obj0 = 0 ;
20312 PyObject * obj1 = 0 ;
20313 char *kwnames[] = {
20314 (char *) "self",(char *) "flag", NULL
20315 };
20316
20317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
20318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20320 arg2 = (bool) SWIG_AsBool(obj1);
20321 if (PyErr_Occurred()) SWIG_fail;
20322 {
20323 PyThreadState* __tstate = wxPyBeginAllowThreads();
20324 (arg1)->SetAllPages(arg2);
20325
20326 wxPyEndAllowThreads(__tstate);
20327 if (PyErr_Occurred()) SWIG_fail;
20328 }
20329 Py_INCREF(Py_None); resultobj = Py_None;
20330 return resultobj;
20331 fail:
20332 return NULL;
20333 }
20334
20335
20336 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20337 PyObject *resultobj;
20338 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20339 bool arg2 ;
20340 PyObject * obj0 = 0 ;
20341 PyObject * obj1 = 0 ;
20342 char *kwnames[] = {
20343 (char *) "self",(char *) "flag", NULL
20344 };
20345
20346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
20347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20349 arg2 = (bool) SWIG_AsBool(obj1);
20350 if (PyErr_Occurred()) SWIG_fail;
20351 {
20352 PyThreadState* __tstate = wxPyBeginAllowThreads();
20353 (arg1)->SetSelection(arg2);
20354
20355 wxPyEndAllowThreads(__tstate);
20356 if (PyErr_Occurred()) SWIG_fail;
20357 }
20358 Py_INCREF(Py_None); resultobj = Py_None;
20359 return resultobj;
20360 fail:
20361 return NULL;
20362 }
20363
20364
20365 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20366 PyObject *resultobj;
20367 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20368 bool arg2 ;
20369 PyObject * obj0 = 0 ;
20370 PyObject * obj1 = 0 ;
20371 char *kwnames[] = {
20372 (char *) "self",(char *) "flag", NULL
20373 };
20374
20375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
20376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20378 arg2 = (bool) SWIG_AsBool(obj1);
20379 if (PyErr_Occurred()) SWIG_fail;
20380 {
20381 PyThreadState* __tstate = wxPyBeginAllowThreads();
20382 (arg1)->SetCollate(arg2);
20383
20384 wxPyEndAllowThreads(__tstate);
20385 if (PyErr_Occurred()) SWIG_fail;
20386 }
20387 Py_INCREF(Py_None); resultobj = Py_None;
20388 return resultobj;
20389 fail:
20390 return NULL;
20391 }
20392
20393
20394 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20395 PyObject *resultobj;
20396 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20397 bool arg2 ;
20398 PyObject * obj0 = 0 ;
20399 PyObject * obj1 = 0 ;
20400 char *kwnames[] = {
20401 (char *) "self",(char *) "flag", NULL
20402 };
20403
20404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
20405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20407 arg2 = (bool) SWIG_AsBool(obj1);
20408 if (PyErr_Occurred()) SWIG_fail;
20409 {
20410 PyThreadState* __tstate = wxPyBeginAllowThreads();
20411 (arg1)->SetPrintToFile(arg2);
20412
20413 wxPyEndAllowThreads(__tstate);
20414 if (PyErr_Occurred()) SWIG_fail;
20415 }
20416 Py_INCREF(Py_None); resultobj = Py_None;
20417 return resultobj;
20418 fail:
20419 return NULL;
20420 }
20421
20422
20423 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20424 PyObject *resultobj;
20425 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20426 bool arg2 ;
20427 PyObject * obj0 = 0 ;
20428 PyObject * obj1 = 0 ;
20429 char *kwnames[] = {
20430 (char *) "self",(char *) "flag", NULL
20431 };
20432
20433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20436 arg2 = (bool) SWIG_AsBool(obj1);
20437 if (PyErr_Occurred()) SWIG_fail;
20438 {
20439 PyThreadState* __tstate = wxPyBeginAllowThreads();
20440 (arg1)->SetSetupDialog(arg2);
20441
20442 wxPyEndAllowThreads(__tstate);
20443 if (PyErr_Occurred()) SWIG_fail;
20444 }
20445 Py_INCREF(Py_None); resultobj = Py_None;
20446 return resultobj;
20447 fail:
20448 return NULL;
20449 }
20450
20451
20452 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20453 PyObject *resultobj;
20454 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20455 bool arg2 ;
20456 PyObject * obj0 = 0 ;
20457 PyObject * obj1 = 0 ;
20458 char *kwnames[] = {
20459 (char *) "self",(char *) "flag", NULL
20460 };
20461
20462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
20463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20465 arg2 = (bool) SWIG_AsBool(obj1);
20466 if (PyErr_Occurred()) SWIG_fail;
20467 {
20468 PyThreadState* __tstate = wxPyBeginAllowThreads();
20469 (arg1)->EnablePrintToFile(arg2);
20470
20471 wxPyEndAllowThreads(__tstate);
20472 if (PyErr_Occurred()) SWIG_fail;
20473 }
20474 Py_INCREF(Py_None); resultobj = Py_None;
20475 return resultobj;
20476 fail:
20477 return NULL;
20478 }
20479
20480
20481 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20482 PyObject *resultobj;
20483 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20484 bool arg2 ;
20485 PyObject * obj0 = 0 ;
20486 PyObject * obj1 = 0 ;
20487 char *kwnames[] = {
20488 (char *) "self",(char *) "flag", NULL
20489 };
20490
20491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
20492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20494 arg2 = (bool) SWIG_AsBool(obj1);
20495 if (PyErr_Occurred()) SWIG_fail;
20496 {
20497 PyThreadState* __tstate = wxPyBeginAllowThreads();
20498 (arg1)->EnableSelection(arg2);
20499
20500 wxPyEndAllowThreads(__tstate);
20501 if (PyErr_Occurred()) SWIG_fail;
20502 }
20503 Py_INCREF(Py_None); resultobj = Py_None;
20504 return resultobj;
20505 fail:
20506 return NULL;
20507 }
20508
20509
20510 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
20511 PyObject *resultobj;
20512 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20513 bool arg2 ;
20514 PyObject * obj0 = 0 ;
20515 PyObject * obj1 = 0 ;
20516 char *kwnames[] = {
20517 (char *) "self",(char *) "flag", NULL
20518 };
20519
20520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
20521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20523 arg2 = (bool) SWIG_AsBool(obj1);
20524 if (PyErr_Occurred()) SWIG_fail;
20525 {
20526 PyThreadState* __tstate = wxPyBeginAllowThreads();
20527 (arg1)->EnablePageNumbers(arg2);
20528
20529 wxPyEndAllowThreads(__tstate);
20530 if (PyErr_Occurred()) SWIG_fail;
20531 }
20532 Py_INCREF(Py_None); resultobj = Py_None;
20533 return resultobj;
20534 fail:
20535 return NULL;
20536 }
20537
20538
20539 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
20540 PyObject *resultobj;
20541 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20542 bool arg2 ;
20543 PyObject * obj0 = 0 ;
20544 PyObject * obj1 = 0 ;
20545 char *kwnames[] = {
20546 (char *) "self",(char *) "flag", NULL
20547 };
20548
20549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
20550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20552 arg2 = (bool) SWIG_AsBool(obj1);
20553 if (PyErr_Occurred()) SWIG_fail;
20554 {
20555 PyThreadState* __tstate = wxPyBeginAllowThreads();
20556 (arg1)->EnableHelp(arg2);
20557
20558 wxPyEndAllowThreads(__tstate);
20559 if (PyErr_Occurred()) SWIG_fail;
20560 }
20561 Py_INCREF(Py_None); resultobj = Py_None;
20562 return resultobj;
20563 fail:
20564 return NULL;
20565 }
20566
20567
20568 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20569 PyObject *resultobj;
20570 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20571 bool result;
20572 PyObject * obj0 = 0 ;
20573 char *kwnames[] = {
20574 (char *) "self", NULL
20575 };
20576
20577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
20578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20580 {
20581 PyThreadState* __tstate = wxPyBeginAllowThreads();
20582 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
20583
20584 wxPyEndAllowThreads(__tstate);
20585 if (PyErr_Occurred()) SWIG_fail;
20586 }
20587 {
20588 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20589 }
20590 return resultobj;
20591 fail:
20592 return NULL;
20593 }
20594
20595
20596 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20597 PyObject *resultobj;
20598 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20599 bool result;
20600 PyObject * obj0 = 0 ;
20601 char *kwnames[] = {
20602 (char *) "self", NULL
20603 };
20604
20605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
20606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20608 {
20609 PyThreadState* __tstate = wxPyBeginAllowThreads();
20610 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
20611
20612 wxPyEndAllowThreads(__tstate);
20613 if (PyErr_Occurred()) SWIG_fail;
20614 }
20615 {
20616 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20617 }
20618 return resultobj;
20619 fail:
20620 return NULL;
20621 }
20622
20623
20624 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
20625 PyObject *resultobj;
20626 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20627 bool result;
20628 PyObject * obj0 = 0 ;
20629 char *kwnames[] = {
20630 (char *) "self", NULL
20631 };
20632
20633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
20634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20636 {
20637 PyThreadState* __tstate = wxPyBeginAllowThreads();
20638 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
20639
20640 wxPyEndAllowThreads(__tstate);
20641 if (PyErr_Occurred()) SWIG_fail;
20642 }
20643 {
20644 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20645 }
20646 return resultobj;
20647 fail:
20648 return NULL;
20649 }
20650
20651
20652 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
20653 PyObject *resultobj;
20654 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20655 bool result;
20656 PyObject * obj0 = 0 ;
20657 char *kwnames[] = {
20658 (char *) "self", NULL
20659 };
20660
20661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
20662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20664 {
20665 PyThreadState* __tstate = wxPyBeginAllowThreads();
20666 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
20667
20668 wxPyEndAllowThreads(__tstate);
20669 if (PyErr_Occurred()) SWIG_fail;
20670 }
20671 {
20672 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20673 }
20674 return resultobj;
20675 fail:
20676 return NULL;
20677 }
20678
20679
20680 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
20681 PyObject *resultobj;
20682 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20683 bool result;
20684 PyObject * obj0 = 0 ;
20685 char *kwnames[] = {
20686 (char *) "self", NULL
20687 };
20688
20689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
20690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20692 {
20693 PyThreadState* __tstate = wxPyBeginAllowThreads();
20694 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
20695
20696 wxPyEndAllowThreads(__tstate);
20697 if (PyErr_Occurred()) SWIG_fail;
20698 }
20699 {
20700 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20701 }
20702 return resultobj;
20703 fail:
20704 return NULL;
20705 }
20706
20707
20708 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
20709 PyObject *resultobj;
20710 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20711 wxPrintData *result;
20712 PyObject * obj0 = 0 ;
20713 char *kwnames[] = {
20714 (char *) "self", NULL
20715 };
20716
20717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
20718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20720 {
20721 PyThreadState* __tstate = wxPyBeginAllowThreads();
20722 {
20723 wxPrintData &_result_ref = (arg1)->GetPrintData();
20724 result = (wxPrintData *) &_result_ref;
20725 }
20726
20727 wxPyEndAllowThreads(__tstate);
20728 if (PyErr_Occurred()) SWIG_fail;
20729 }
20730 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
20731 return resultobj;
20732 fail:
20733 return NULL;
20734 }
20735
20736
20737 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
20738 PyObject *resultobj;
20739 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20740 wxPrintData *arg2 = 0 ;
20741 PyObject * obj0 = 0 ;
20742 PyObject * obj1 = 0 ;
20743 char *kwnames[] = {
20744 (char *) "self",(char *) "printData", NULL
20745 };
20746
20747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
20748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20750 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20751 SWIG_POINTER_EXCEPTION | 0)) == -1)
20752 SWIG_fail;
20753 if (arg2 == NULL) {
20754 PyErr_SetString(PyExc_TypeError,"null reference");
20755 SWIG_fail;
20756 }
20757 {
20758 PyThreadState* __tstate = wxPyBeginAllowThreads();
20759 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20760
20761 wxPyEndAllowThreads(__tstate);
20762 if (PyErr_Occurred()) SWIG_fail;
20763 }
20764 Py_INCREF(Py_None); resultobj = Py_None;
20765 return resultobj;
20766 fail:
20767 return NULL;
20768 }
20769
20770
20771 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
20772 PyObject *obj;
20773 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20774 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
20775 Py_INCREF(obj);
20776 return Py_BuildValue((char *)"");
20777 }
20778 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20779 PyObject *resultobj;
20780 wxWindow *arg1 = (wxWindow *) 0 ;
20781 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
20782 wxPrintDialog *result;
20783 PyObject * obj0 = 0 ;
20784 PyObject * obj1 = 0 ;
20785 char *kwnames[] = {
20786 (char *) "parent",(char *) "data", NULL
20787 };
20788
20789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
20790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20792 if (obj1) {
20793 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
20794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20795 }
20796 {
20797 PyThreadState* __tstate = wxPyBeginAllowThreads();
20798 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
20799
20800 wxPyEndAllowThreads(__tstate);
20801 if (PyErr_Occurred()) SWIG_fail;
20802 }
20803 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
20804 return resultobj;
20805 fail:
20806 return NULL;
20807 }
20808
20809
20810 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20811 PyObject *resultobj;
20812 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
20813 wxPrintDialogData *result;
20814 PyObject * obj0 = 0 ;
20815 char *kwnames[] = {
20816 (char *) "self", NULL
20817 };
20818
20819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
20820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
20821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20822 {
20823 PyThreadState* __tstate = wxPyBeginAllowThreads();
20824 {
20825 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
20826 result = (wxPrintDialogData *) &_result_ref;
20827 }
20828
20829 wxPyEndAllowThreads(__tstate);
20830 if (PyErr_Occurred()) SWIG_fail;
20831 }
20832 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
20833 return resultobj;
20834 fail:
20835 return NULL;
20836 }
20837
20838
20839 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
20840 PyObject *resultobj;
20841 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
20842 wxDC *result;
20843 PyObject * obj0 = 0 ;
20844 char *kwnames[] = {
20845 (char *) "self", NULL
20846 };
20847
20848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
20849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
20850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20851 {
20852 PyThreadState* __tstate = wxPyBeginAllowThreads();
20853 result = (wxDC *)(arg1)->GetPrintDC();
20854
20855 wxPyEndAllowThreads(__tstate);
20856 if (PyErr_Occurred()) SWIG_fail;
20857 }
20858 {
20859 resultobj = wxPyMake_wxObject(result);
20860 }
20861 return resultobj;
20862 fail:
20863 return NULL;
20864 }
20865
20866
20867 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
20868 PyObject *resultobj;
20869 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
20870 int result;
20871 PyObject * obj0 = 0 ;
20872 char *kwnames[] = {
20873 (char *) "self", NULL
20874 };
20875
20876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
20877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
20878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20879 {
20880 PyThreadState* __tstate = wxPyBeginAllowThreads();
20881 result = (int)(arg1)->ShowModal();
20882
20883 wxPyEndAllowThreads(__tstate);
20884 if (PyErr_Occurred()) SWIG_fail;
20885 }
20886 resultobj = SWIG_FromInt((int)result);
20887 return resultobj;
20888 fail:
20889 return NULL;
20890 }
20891
20892
20893 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
20894 PyObject *obj;
20895 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20896 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
20897 Py_INCREF(obj);
20898 return Py_BuildValue((char *)"");
20899 }
20900 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
20901 PyObject *resultobj;
20902 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
20903 wxPrinter *result;
20904 PyObject * obj0 = 0 ;
20905 char *kwnames[] = {
20906 (char *) "data", NULL
20907 };
20908
20909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
20910 if (obj0) {
20911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20913 }
20914 {
20915 PyThreadState* __tstate = wxPyBeginAllowThreads();
20916 result = (wxPrinter *)new wxPrinter(arg1);
20917
20918 wxPyEndAllowThreads(__tstate);
20919 if (PyErr_Occurred()) SWIG_fail;
20920 }
20921 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
20922 return resultobj;
20923 fail:
20924 return NULL;
20925 }
20926
20927
20928 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
20929 PyObject *resultobj;
20930 wxPrinter *arg1 = (wxPrinter *) 0 ;
20931 PyObject * obj0 = 0 ;
20932 char *kwnames[] = {
20933 (char *) "self", NULL
20934 };
20935
20936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
20937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20939 {
20940 PyThreadState* __tstate = wxPyBeginAllowThreads();
20941 delete arg1;
20942
20943 wxPyEndAllowThreads(__tstate);
20944 if (PyErr_Occurred()) SWIG_fail;
20945 }
20946 Py_INCREF(Py_None); resultobj = Py_None;
20947 return resultobj;
20948 fail:
20949 return NULL;
20950 }
20951
20952
20953 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
20954 PyObject *resultobj;
20955 wxPrinter *arg1 = (wxPrinter *) 0 ;
20956 wxWindow *arg2 = (wxWindow *) 0 ;
20957 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
20958 PyObject * obj0 = 0 ;
20959 PyObject * obj1 = 0 ;
20960 PyObject * obj2 = 0 ;
20961 char *kwnames[] = {
20962 (char *) "self",(char *) "parent",(char *) "printout", NULL
20963 };
20964
20965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
20966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20968 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20970 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
20971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20972 {
20973 PyThreadState* __tstate = wxPyBeginAllowThreads();
20974 (arg1)->CreateAbortWindow(arg2,arg3);
20975
20976 wxPyEndAllowThreads(__tstate);
20977 if (PyErr_Occurred()) SWIG_fail;
20978 }
20979 Py_INCREF(Py_None); resultobj = Py_None;
20980 return resultobj;
20981 fail:
20982 return NULL;
20983 }
20984
20985
20986 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20987 PyObject *resultobj;
20988 wxPrinter *arg1 = (wxPrinter *) 0 ;
20989 wxPrintDialogData *result;
20990 PyObject * obj0 = 0 ;
20991 char *kwnames[] = {
20992 (char *) "self", NULL
20993 };
20994
20995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
20996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20998 {
20999 PyThreadState* __tstate = wxPyBeginAllowThreads();
21000 {
21001 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21002 result = (wxPrintDialogData *) &_result_ref;
21003 }
21004
21005 wxPyEndAllowThreads(__tstate);
21006 if (PyErr_Occurred()) SWIG_fail;
21007 }
21008 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21009 return resultobj;
21010 fail:
21011 return NULL;
21012 }
21013
21014
21015 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
21016 PyObject *resultobj;
21017 wxPrinter *arg1 = (wxPrinter *) 0 ;
21018 wxWindow *arg2 = (wxWindow *) 0 ;
21019 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21020 int arg4 = (int) True ;
21021 bool result;
21022 PyObject * obj0 = 0 ;
21023 PyObject * obj1 = 0 ;
21024 PyObject * obj2 = 0 ;
21025 PyObject * obj3 = 0 ;
21026 char *kwnames[] = {
21027 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21028 };
21029
21030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21033 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21035 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21037 if (obj3) {
21038 arg4 = (int) SWIG_AsInt(obj3);
21039 if (PyErr_Occurred()) SWIG_fail;
21040 }
21041 {
21042 PyThreadState* __tstate = wxPyBeginAllowThreads();
21043 result = (bool)(arg1)->Print(arg2,arg3,arg4);
21044
21045 wxPyEndAllowThreads(__tstate);
21046 if (PyErr_Occurred()) SWIG_fail;
21047 }
21048 {
21049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21050 }
21051 return resultobj;
21052 fail:
21053 return NULL;
21054 }
21055
21056
21057 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21058 PyObject *resultobj;
21059 wxPrinter *arg1 = (wxPrinter *) 0 ;
21060 wxWindow *arg2 = (wxWindow *) 0 ;
21061 wxDC *result;
21062 PyObject * obj0 = 0 ;
21063 PyObject * obj1 = 0 ;
21064 char *kwnames[] = {
21065 (char *) "self",(char *) "parent", NULL
21066 };
21067
21068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21071 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21073 {
21074 PyThreadState* __tstate = wxPyBeginAllowThreads();
21075 result = (wxDC *)(arg1)->PrintDialog(arg2);
21076
21077 wxPyEndAllowThreads(__tstate);
21078 if (PyErr_Occurred()) SWIG_fail;
21079 }
21080 {
21081 resultobj = wxPyMake_wxObject(result);
21082 }
21083 return resultobj;
21084 fail:
21085 return NULL;
21086 }
21087
21088
21089 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
21090 PyObject *resultobj;
21091 wxPrinter *arg1 = (wxPrinter *) 0 ;
21092 wxWindow *arg2 = (wxWindow *) 0 ;
21093 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21094 wxString *arg4 = 0 ;
21095 bool temp4 = False ;
21096 PyObject * obj0 = 0 ;
21097 PyObject * obj1 = 0 ;
21098 PyObject * obj2 = 0 ;
21099 PyObject * obj3 = 0 ;
21100 char *kwnames[] = {
21101 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21102 };
21103
21104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21107 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21109 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21111 {
21112 arg4 = wxString_in_helper(obj3);
21113 if (arg4 == NULL) SWIG_fail;
21114 temp4 = True;
21115 }
21116 {
21117 PyThreadState* __tstate = wxPyBeginAllowThreads();
21118 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
21119
21120 wxPyEndAllowThreads(__tstate);
21121 if (PyErr_Occurred()) SWIG_fail;
21122 }
21123 Py_INCREF(Py_None); resultobj = Py_None;
21124 {
21125 if (temp4)
21126 delete arg4;
21127 }
21128 return resultobj;
21129 fail:
21130 {
21131 if (temp4)
21132 delete arg4;
21133 }
21134 return NULL;
21135 }
21136
21137
21138 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
21139 PyObject *resultobj;
21140 wxPrinter *arg1 = (wxPrinter *) 0 ;
21141 wxWindow *arg2 = (wxWindow *) 0 ;
21142 bool result;
21143 PyObject * obj0 = 0 ;
21144 PyObject * obj1 = 0 ;
21145 char *kwnames[] = {
21146 (char *) "self",(char *) "parent", NULL
21147 };
21148
21149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
21150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21152 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21154 {
21155 PyThreadState* __tstate = wxPyBeginAllowThreads();
21156 result = (bool)(arg1)->Setup(arg2);
21157
21158 wxPyEndAllowThreads(__tstate);
21159 if (PyErr_Occurred()) SWIG_fail;
21160 }
21161 {
21162 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21163 }
21164 return resultobj;
21165 fail:
21166 return NULL;
21167 }
21168
21169
21170 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
21171 PyObject *resultobj;
21172 wxPrinter *arg1 = (wxPrinter *) 0 ;
21173 bool result;
21174 PyObject * obj0 = 0 ;
21175 char *kwnames[] = {
21176 (char *) "self", NULL
21177 };
21178
21179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
21180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21182 {
21183 PyThreadState* __tstate = wxPyBeginAllowThreads();
21184 result = (bool)(arg1)->GetAbort();
21185
21186 wxPyEndAllowThreads(__tstate);
21187 if (PyErr_Occurred()) SWIG_fail;
21188 }
21189 {
21190 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21191 }
21192 return resultobj;
21193 fail:
21194 return NULL;
21195 }
21196
21197
21198 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
21199 PyObject *resultobj;
21200 int result;
21201 char *kwnames[] = {
21202 NULL
21203 };
21204
21205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
21206 {
21207 PyThreadState* __tstate = wxPyBeginAllowThreads();
21208 result = (int)wxPrinter::GetLastError();
21209
21210 wxPyEndAllowThreads(__tstate);
21211 if (PyErr_Occurred()) SWIG_fail;
21212 }
21213 resultobj = SWIG_FromInt((int)result);
21214 return resultobj;
21215 fail:
21216 return NULL;
21217 }
21218
21219
21220 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
21221 PyObject *obj;
21222 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21223 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
21224 Py_INCREF(obj);
21225 return Py_BuildValue((char *)"");
21226 }
21227 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
21228 PyObject *resultobj;
21229 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
21230 wxString *arg1 = (wxString *) &arg1_defvalue ;
21231 wxPyPrintout *result;
21232 bool temp1 = False ;
21233 PyObject * obj0 = 0 ;
21234 char *kwnames[] = {
21235 (char *) "title", NULL
21236 };
21237
21238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
21239 if (obj0) {
21240 {
21241 arg1 = wxString_in_helper(obj0);
21242 if (arg1 == NULL) SWIG_fail;
21243 temp1 = True;
21244 }
21245 }
21246 {
21247 PyThreadState* __tstate = wxPyBeginAllowThreads();
21248 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
21249
21250 wxPyEndAllowThreads(__tstate);
21251 if (PyErr_Occurred()) SWIG_fail;
21252 }
21253 {
21254 resultobj = wxPyMake_wxObject(result);
21255 }
21256 {
21257 if (temp1)
21258 delete arg1;
21259 }
21260 return resultobj;
21261 fail:
21262 {
21263 if (temp1)
21264 delete arg1;
21265 }
21266 return NULL;
21267 }
21268
21269
21270 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21271 PyObject *resultobj;
21272 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21273 PyObject *arg2 = (PyObject *) 0 ;
21274 PyObject *arg3 = (PyObject *) 0 ;
21275 PyObject * obj0 = 0 ;
21276 PyObject * obj1 = 0 ;
21277 PyObject * obj2 = 0 ;
21278 char *kwnames[] = {
21279 (char *) "self",(char *) "self",(char *) "_class", NULL
21280 };
21281
21282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21285 arg2 = obj1;
21286 arg3 = obj2;
21287 {
21288 PyThreadState* __tstate = wxPyBeginAllowThreads();
21289 (arg1)->_setCallbackInfo(arg2,arg3);
21290
21291 wxPyEndAllowThreads(__tstate);
21292 if (PyErr_Occurred()) SWIG_fail;
21293 }
21294 Py_INCREF(Py_None); resultobj = Py_None;
21295 return resultobj;
21296 fail:
21297 return NULL;
21298 }
21299
21300
21301 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21302 PyObject *resultobj;
21303 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21304 wxString result;
21305 PyObject * obj0 = 0 ;
21306 char *kwnames[] = {
21307 (char *) "self", NULL
21308 };
21309
21310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
21311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21313 {
21314 PyThreadState* __tstate = wxPyBeginAllowThreads();
21315 result = ((wxPyPrintout const *)arg1)->GetTitle();
21316
21317 wxPyEndAllowThreads(__tstate);
21318 if (PyErr_Occurred()) SWIG_fail;
21319 }
21320 {
21321 #if wxUSE_UNICODE
21322 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21323 #else
21324 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21325 #endif
21326 }
21327 return resultobj;
21328 fail:
21329 return NULL;
21330 }
21331
21332
21333 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21334 PyObject *resultobj;
21335 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21336 wxDC *result;
21337 PyObject * obj0 = 0 ;
21338 char *kwnames[] = {
21339 (char *) "self", NULL
21340 };
21341
21342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
21343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21345 {
21346 PyThreadState* __tstate = wxPyBeginAllowThreads();
21347 result = (wxDC *)(arg1)->GetDC();
21348
21349 wxPyEndAllowThreads(__tstate);
21350 if (PyErr_Occurred()) SWIG_fail;
21351 }
21352 {
21353 resultobj = wxPyMake_wxObject(result);
21354 }
21355 return resultobj;
21356 fail:
21357 return NULL;
21358 }
21359
21360
21361 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21362 PyObject *resultobj;
21363 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21364 wxDC *arg2 = (wxDC *) 0 ;
21365 PyObject * obj0 = 0 ;
21366 PyObject * obj1 = 0 ;
21367 char *kwnames[] = {
21368 (char *) "self",(char *) "dc", NULL
21369 };
21370
21371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
21372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21374 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21376 {
21377 PyThreadState* __tstate = wxPyBeginAllowThreads();
21378 (arg1)->SetDC(arg2);
21379
21380 wxPyEndAllowThreads(__tstate);
21381 if (PyErr_Occurred()) SWIG_fail;
21382 }
21383 Py_INCREF(Py_None); resultobj = Py_None;
21384 return resultobj;
21385 fail:
21386 return NULL;
21387 }
21388
21389
21390 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21391 PyObject *resultobj;
21392 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21393 int arg2 ;
21394 int arg3 ;
21395 PyObject * obj0 = 0 ;
21396 PyObject * obj1 = 0 ;
21397 PyObject * obj2 = 0 ;
21398 char *kwnames[] = {
21399 (char *) "self",(char *) "w",(char *) "h", NULL
21400 };
21401
21402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
21403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21405 arg2 = (int) SWIG_AsInt(obj1);
21406 if (PyErr_Occurred()) SWIG_fail;
21407 arg3 = (int) SWIG_AsInt(obj2);
21408 if (PyErr_Occurred()) SWIG_fail;
21409 {
21410 PyThreadState* __tstate = wxPyBeginAllowThreads();
21411 (arg1)->SetPageSizePixels(arg2,arg3);
21412
21413 wxPyEndAllowThreads(__tstate);
21414 if (PyErr_Occurred()) SWIG_fail;
21415 }
21416 Py_INCREF(Py_None); resultobj = Py_None;
21417 return resultobj;
21418 fail:
21419 return NULL;
21420 }
21421
21422
21423 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21424 PyObject *resultobj;
21425 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21426 int *arg2 = (int *) 0 ;
21427 int *arg3 = (int *) 0 ;
21428 int temp2 ;
21429 int temp3 ;
21430 PyObject * obj0 = 0 ;
21431 char *kwnames[] = {
21432 (char *) "self", NULL
21433 };
21434
21435 arg2 = &temp2;
21436 arg3 = &temp3;
21437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
21438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21440 {
21441 PyThreadState* __tstate = wxPyBeginAllowThreads();
21442 (arg1)->GetPageSizePixels(arg2,arg3);
21443
21444 wxPyEndAllowThreads(__tstate);
21445 if (PyErr_Occurred()) SWIG_fail;
21446 }
21447 Py_INCREF(Py_None); resultobj = Py_None;
21448 {
21449 PyObject *o = PyInt_FromLong((long) (*arg2));
21450 resultobj = t_output_helper(resultobj,o);
21451 }
21452 {
21453 PyObject *o = PyInt_FromLong((long) (*arg3));
21454 resultobj = t_output_helper(resultobj,o);
21455 }
21456 return resultobj;
21457 fail:
21458 return NULL;
21459 }
21460
21461
21462 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
21463 PyObject *resultobj;
21464 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21465 int arg2 ;
21466 int arg3 ;
21467 PyObject * obj0 = 0 ;
21468 PyObject * obj1 = 0 ;
21469 PyObject * obj2 = 0 ;
21470 char *kwnames[] = {
21471 (char *) "self",(char *) "w",(char *) "h", NULL
21472 };
21473
21474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
21475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21477 arg2 = (int) SWIG_AsInt(obj1);
21478 if (PyErr_Occurred()) SWIG_fail;
21479 arg3 = (int) SWIG_AsInt(obj2);
21480 if (PyErr_Occurred()) SWIG_fail;
21481 {
21482 PyThreadState* __tstate = wxPyBeginAllowThreads();
21483 (arg1)->SetPageSizeMM(arg2,arg3);
21484
21485 wxPyEndAllowThreads(__tstate);
21486 if (PyErr_Occurred()) SWIG_fail;
21487 }
21488 Py_INCREF(Py_None); resultobj = Py_None;
21489 return resultobj;
21490 fail:
21491 return NULL;
21492 }
21493
21494
21495 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
21496 PyObject *resultobj;
21497 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21498 int *arg2 = (int *) 0 ;
21499 int *arg3 = (int *) 0 ;
21500 int temp2 ;
21501 int temp3 ;
21502 PyObject * obj0 = 0 ;
21503 char *kwnames[] = {
21504 (char *) "self", NULL
21505 };
21506
21507 arg2 = &temp2;
21508 arg3 = &temp3;
21509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
21510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21512 {
21513 PyThreadState* __tstate = wxPyBeginAllowThreads();
21514 (arg1)->GetPageSizeMM(arg2,arg3);
21515
21516 wxPyEndAllowThreads(__tstate);
21517 if (PyErr_Occurred()) SWIG_fail;
21518 }
21519 Py_INCREF(Py_None); resultobj = Py_None;
21520 {
21521 PyObject *o = PyInt_FromLong((long) (*arg2));
21522 resultobj = t_output_helper(resultobj,o);
21523 }
21524 {
21525 PyObject *o = PyInt_FromLong((long) (*arg3));
21526 resultobj = t_output_helper(resultobj,o);
21527 }
21528 return resultobj;
21529 fail:
21530 return NULL;
21531 }
21532
21533
21534 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
21535 PyObject *resultobj;
21536 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21537 int arg2 ;
21538 int arg3 ;
21539 PyObject * obj0 = 0 ;
21540 PyObject * obj1 = 0 ;
21541 PyObject * obj2 = 0 ;
21542 char *kwnames[] = {
21543 (char *) "self",(char *) "x",(char *) "y", NULL
21544 };
21545
21546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
21547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21549 arg2 = (int) SWIG_AsInt(obj1);
21550 if (PyErr_Occurred()) SWIG_fail;
21551 arg3 = (int) SWIG_AsInt(obj2);
21552 if (PyErr_Occurred()) SWIG_fail;
21553 {
21554 PyThreadState* __tstate = wxPyBeginAllowThreads();
21555 (arg1)->SetPPIScreen(arg2,arg3);
21556
21557 wxPyEndAllowThreads(__tstate);
21558 if (PyErr_Occurred()) SWIG_fail;
21559 }
21560 Py_INCREF(Py_None); resultobj = Py_None;
21561 return resultobj;
21562 fail:
21563 return NULL;
21564 }
21565
21566
21567 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
21568 PyObject *resultobj;
21569 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21570 int *arg2 = (int *) 0 ;
21571 int *arg3 = (int *) 0 ;
21572 int temp2 ;
21573 int temp3 ;
21574 PyObject * obj0 = 0 ;
21575 char *kwnames[] = {
21576 (char *) "self", NULL
21577 };
21578
21579 arg2 = &temp2;
21580 arg3 = &temp3;
21581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
21582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21584 {
21585 PyThreadState* __tstate = wxPyBeginAllowThreads();
21586 (arg1)->GetPPIScreen(arg2,arg3);
21587
21588 wxPyEndAllowThreads(__tstate);
21589 if (PyErr_Occurred()) SWIG_fail;
21590 }
21591 Py_INCREF(Py_None); resultobj = Py_None;
21592 {
21593 PyObject *o = PyInt_FromLong((long) (*arg2));
21594 resultobj = t_output_helper(resultobj,o);
21595 }
21596 {
21597 PyObject *o = PyInt_FromLong((long) (*arg3));
21598 resultobj = t_output_helper(resultobj,o);
21599 }
21600 return resultobj;
21601 fail:
21602 return NULL;
21603 }
21604
21605
21606 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
21607 PyObject *resultobj;
21608 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21609 int arg2 ;
21610 int arg3 ;
21611 PyObject * obj0 = 0 ;
21612 PyObject * obj1 = 0 ;
21613 PyObject * obj2 = 0 ;
21614 char *kwnames[] = {
21615 (char *) "self",(char *) "x",(char *) "y", NULL
21616 };
21617
21618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
21619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21621 arg2 = (int) SWIG_AsInt(obj1);
21622 if (PyErr_Occurred()) SWIG_fail;
21623 arg3 = (int) SWIG_AsInt(obj2);
21624 if (PyErr_Occurred()) SWIG_fail;
21625 {
21626 PyThreadState* __tstate = wxPyBeginAllowThreads();
21627 (arg1)->SetPPIPrinter(arg2,arg3);
21628
21629 wxPyEndAllowThreads(__tstate);
21630 if (PyErr_Occurred()) SWIG_fail;
21631 }
21632 Py_INCREF(Py_None); resultobj = Py_None;
21633 return resultobj;
21634 fail:
21635 return NULL;
21636 }
21637
21638
21639 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
21640 PyObject *resultobj;
21641 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21642 int *arg2 = (int *) 0 ;
21643 int *arg3 = (int *) 0 ;
21644 int temp2 ;
21645 int temp3 ;
21646 PyObject * obj0 = 0 ;
21647 char *kwnames[] = {
21648 (char *) "self", NULL
21649 };
21650
21651 arg2 = &temp2;
21652 arg3 = &temp3;
21653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
21654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21656 {
21657 PyThreadState* __tstate = wxPyBeginAllowThreads();
21658 (arg1)->GetPPIPrinter(arg2,arg3);
21659
21660 wxPyEndAllowThreads(__tstate);
21661 if (PyErr_Occurred()) SWIG_fail;
21662 }
21663 Py_INCREF(Py_None); resultobj = Py_None;
21664 {
21665 PyObject *o = PyInt_FromLong((long) (*arg2));
21666 resultobj = t_output_helper(resultobj,o);
21667 }
21668 {
21669 PyObject *o = PyInt_FromLong((long) (*arg3));
21670 resultobj = t_output_helper(resultobj,o);
21671 }
21672 return resultobj;
21673 fail:
21674 return NULL;
21675 }
21676
21677
21678 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21679 PyObject *resultobj;
21680 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21681 bool result;
21682 PyObject * obj0 = 0 ;
21683 char *kwnames[] = {
21684 (char *) "self", NULL
21685 };
21686
21687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
21688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21690 {
21691 PyThreadState* __tstate = wxPyBeginAllowThreads();
21692 result = (bool)(arg1)->IsPreview();
21693
21694 wxPyEndAllowThreads(__tstate);
21695 if (PyErr_Occurred()) SWIG_fail;
21696 }
21697 {
21698 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21699 }
21700 return resultobj;
21701 fail:
21702 return NULL;
21703 }
21704
21705
21706 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21707 PyObject *resultobj;
21708 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21709 bool arg2 ;
21710 PyObject * obj0 = 0 ;
21711 PyObject * obj1 = 0 ;
21712 char *kwnames[] = {
21713 (char *) "self",(char *) "p", NULL
21714 };
21715
21716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
21717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21719 arg2 = (bool) SWIG_AsBool(obj1);
21720 if (PyErr_Occurred()) SWIG_fail;
21721 {
21722 PyThreadState* __tstate = wxPyBeginAllowThreads();
21723 (arg1)->SetIsPreview(arg2);
21724
21725 wxPyEndAllowThreads(__tstate);
21726 if (PyErr_Occurred()) SWIG_fail;
21727 }
21728 Py_INCREF(Py_None); resultobj = Py_None;
21729 return resultobj;
21730 fail:
21731 return NULL;
21732 }
21733
21734
21735 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
21736 PyObject *resultobj;
21737 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21738 int arg2 ;
21739 int arg3 ;
21740 bool result;
21741 PyObject * obj0 = 0 ;
21742 PyObject * obj1 = 0 ;
21743 PyObject * obj2 = 0 ;
21744 char *kwnames[] = {
21745 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
21746 };
21747
21748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
21749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21751 arg2 = (int) SWIG_AsInt(obj1);
21752 if (PyErr_Occurred()) SWIG_fail;
21753 arg3 = (int) SWIG_AsInt(obj2);
21754 if (PyErr_Occurred()) SWIG_fail;
21755 {
21756 PyThreadState* __tstate = wxPyBeginAllowThreads();
21757 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
21758
21759 wxPyEndAllowThreads(__tstate);
21760 if (PyErr_Occurred()) SWIG_fail;
21761 }
21762 {
21763 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21764 }
21765 return resultobj;
21766 fail:
21767 return NULL;
21768 }
21769
21770
21771 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
21772 PyObject *resultobj;
21773 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21774 PyObject * obj0 = 0 ;
21775 char *kwnames[] = {
21776 (char *) "self", NULL
21777 };
21778
21779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
21780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21782 {
21783 PyThreadState* __tstate = wxPyBeginAllowThreads();
21784 (arg1)->base_OnEndDocument();
21785
21786 wxPyEndAllowThreads(__tstate);
21787 if (PyErr_Occurred()) SWIG_fail;
21788 }
21789 Py_INCREF(Py_None); resultobj = Py_None;
21790 return resultobj;
21791 fail:
21792 return NULL;
21793 }
21794
21795
21796 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
21797 PyObject *resultobj;
21798 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21799 PyObject * obj0 = 0 ;
21800 char *kwnames[] = {
21801 (char *) "self", NULL
21802 };
21803
21804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
21805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21807 {
21808 PyThreadState* __tstate = wxPyBeginAllowThreads();
21809 (arg1)->base_OnBeginPrinting();
21810
21811 wxPyEndAllowThreads(__tstate);
21812 if (PyErr_Occurred()) SWIG_fail;
21813 }
21814 Py_INCREF(Py_None); resultobj = Py_None;
21815 return resultobj;
21816 fail:
21817 return NULL;
21818 }
21819
21820
21821 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
21822 PyObject *resultobj;
21823 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21824 PyObject * obj0 = 0 ;
21825 char *kwnames[] = {
21826 (char *) "self", NULL
21827 };
21828
21829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
21830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21832 {
21833 PyThreadState* __tstate = wxPyBeginAllowThreads();
21834 (arg1)->base_OnEndPrinting();
21835
21836 wxPyEndAllowThreads(__tstate);
21837 if (PyErr_Occurred()) SWIG_fail;
21838 }
21839 Py_INCREF(Py_None); resultobj = Py_None;
21840 return resultobj;
21841 fail:
21842 return NULL;
21843 }
21844
21845
21846 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
21847 PyObject *resultobj;
21848 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21849 PyObject * obj0 = 0 ;
21850 char *kwnames[] = {
21851 (char *) "self", NULL
21852 };
21853
21854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
21855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21857 {
21858 PyThreadState* __tstate = wxPyBeginAllowThreads();
21859 (arg1)->base_OnPreparePrinting();
21860
21861 wxPyEndAllowThreads(__tstate);
21862 if (PyErr_Occurred()) SWIG_fail;
21863 }
21864 Py_INCREF(Py_None); resultobj = Py_None;
21865 return resultobj;
21866 fail:
21867 return NULL;
21868 }
21869
21870
21871 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21872 PyObject *resultobj;
21873 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21874 int arg2 ;
21875 bool result;
21876 PyObject * obj0 = 0 ;
21877 PyObject * obj1 = 0 ;
21878 char *kwnames[] = {
21879 (char *) "self",(char *) "page", NULL
21880 };
21881
21882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
21883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21885 arg2 = (int) SWIG_AsInt(obj1);
21886 if (PyErr_Occurred()) SWIG_fail;
21887 {
21888 PyThreadState* __tstate = wxPyBeginAllowThreads();
21889 result = (bool)(arg1)->base_HasPage(arg2);
21890
21891 wxPyEndAllowThreads(__tstate);
21892 if (PyErr_Occurred()) SWIG_fail;
21893 }
21894 {
21895 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21896 }
21897 return resultobj;
21898 fail:
21899 return NULL;
21900 }
21901
21902
21903 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21904 PyObject *resultobj;
21905 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21906 int *arg2 = (int *) 0 ;
21907 int *arg3 = (int *) 0 ;
21908 int *arg4 = (int *) 0 ;
21909 int *arg5 = (int *) 0 ;
21910 int temp2 ;
21911 int temp3 ;
21912 int temp4 ;
21913 int temp5 ;
21914 PyObject * obj0 = 0 ;
21915 char *kwnames[] = {
21916 (char *) "self", NULL
21917 };
21918
21919 arg2 = &temp2;
21920 arg3 = &temp3;
21921 arg4 = &temp4;
21922 arg5 = &temp5;
21923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
21924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21926 {
21927 PyThreadState* __tstate = wxPyBeginAllowThreads();
21928 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
21929
21930 wxPyEndAllowThreads(__tstate);
21931 if (PyErr_Occurred()) SWIG_fail;
21932 }
21933 Py_INCREF(Py_None); resultobj = Py_None;
21934 {
21935 PyObject *o = PyInt_FromLong((long) (*arg2));
21936 resultobj = t_output_helper(resultobj,o);
21937 }
21938 {
21939 PyObject *o = PyInt_FromLong((long) (*arg3));
21940 resultobj = t_output_helper(resultobj,o);
21941 }
21942 {
21943 PyObject *o = PyInt_FromLong((long) (*arg4));
21944 resultobj = t_output_helper(resultobj,o);
21945 }
21946 {
21947 PyObject *o = PyInt_FromLong((long) (*arg5));
21948 resultobj = t_output_helper(resultobj,o);
21949 }
21950 return resultobj;
21951 fail:
21952 return NULL;
21953 }
21954
21955
21956 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
21957 PyObject *obj;
21958 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21959 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
21960 Py_INCREF(obj);
21961 return Py_BuildValue((char *)"");
21962 }
21963 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
21964 PyObject *resultobj;
21965 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21966 wxWindow *arg2 = (wxWindow *) 0 ;
21967 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21968 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21969 wxSize const &arg4_defvalue = wxDefaultSize ;
21970 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21971 long arg5 = (long) 0 ;
21972 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
21973 wxString *arg6 = (wxString *) &arg6_defvalue ;
21974 wxPreviewCanvas *result;
21975 wxPoint temp3 ;
21976 wxSize temp4 ;
21977 bool temp6 = False ;
21978 PyObject * obj0 = 0 ;
21979 PyObject * obj1 = 0 ;
21980 PyObject * obj2 = 0 ;
21981 PyObject * obj3 = 0 ;
21982 PyObject * obj4 = 0 ;
21983 PyObject * obj5 = 0 ;
21984 char *kwnames[] = {
21985 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21986 };
21987
21988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
21989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21991 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21993 if (obj2) {
21994 {
21995 arg3 = &temp3;
21996 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21997 }
21998 }
21999 if (obj3) {
22000 {
22001 arg4 = &temp4;
22002 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22003 }
22004 }
22005 if (obj4) {
22006 arg5 = (long) SWIG_AsLong(obj4);
22007 if (PyErr_Occurred()) SWIG_fail;
22008 }
22009 if (obj5) {
22010 {
22011 arg6 = wxString_in_helper(obj5);
22012 if (arg6 == NULL) SWIG_fail;
22013 temp6 = True;
22014 }
22015 }
22016 {
22017 PyThreadState* __tstate = wxPyBeginAllowThreads();
22018 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22019
22020 wxPyEndAllowThreads(__tstate);
22021 if (PyErr_Occurred()) SWIG_fail;
22022 }
22023 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
22024 {
22025 if (temp6)
22026 delete arg6;
22027 }
22028 return resultobj;
22029 fail:
22030 {
22031 if (temp6)
22032 delete arg6;
22033 }
22034 return NULL;
22035 }
22036
22037
22038 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
22039 PyObject *obj;
22040 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22041 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
22042 Py_INCREF(obj);
22043 return Py_BuildValue((char *)"");
22044 }
22045 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22046 PyObject *resultobj;
22047 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22048 wxFrame *arg2 = (wxFrame *) 0 ;
22049 wxString *arg3 = 0 ;
22050 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22051 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22052 wxSize const &arg5_defvalue = wxDefaultSize ;
22053 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22054 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
22055 wxString const &arg7_defvalue = wxPyFrameNameStr ;
22056 wxString *arg7 = (wxString *) &arg7_defvalue ;
22057 wxPreviewFrame *result;
22058 bool temp3 = False ;
22059 wxPoint temp4 ;
22060 wxSize temp5 ;
22061 bool temp7 = False ;
22062 PyObject * obj0 = 0 ;
22063 PyObject * obj1 = 0 ;
22064 PyObject * obj2 = 0 ;
22065 PyObject * obj3 = 0 ;
22066 PyObject * obj4 = 0 ;
22067 PyObject * obj5 = 0 ;
22068 PyObject * obj6 = 0 ;
22069 char *kwnames[] = {
22070 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22071 };
22072
22073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22076 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22078 {
22079 arg3 = wxString_in_helper(obj2);
22080 if (arg3 == NULL) SWIG_fail;
22081 temp3 = True;
22082 }
22083 if (obj3) {
22084 {
22085 arg4 = &temp4;
22086 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22087 }
22088 }
22089 if (obj4) {
22090 {
22091 arg5 = &temp5;
22092 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22093 }
22094 }
22095 if (obj5) {
22096 arg6 = (long) SWIG_AsLong(obj5);
22097 if (PyErr_Occurred()) SWIG_fail;
22098 }
22099 if (obj6) {
22100 {
22101 arg7 = wxString_in_helper(obj6);
22102 if (arg7 == NULL) SWIG_fail;
22103 temp7 = True;
22104 }
22105 }
22106 {
22107 PyThreadState* __tstate = wxPyBeginAllowThreads();
22108 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22109
22110 wxPyEndAllowThreads(__tstate);
22111 if (PyErr_Occurred()) SWIG_fail;
22112 }
22113 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
22114 {
22115 if (temp3)
22116 delete arg3;
22117 }
22118 {
22119 if (temp7)
22120 delete arg7;
22121 }
22122 return resultobj;
22123 fail:
22124 {
22125 if (temp3)
22126 delete arg3;
22127 }
22128 {
22129 if (temp7)
22130 delete arg7;
22131 }
22132 return NULL;
22133 }
22134
22135
22136 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
22137 PyObject *resultobj;
22138 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22139 PyObject * obj0 = 0 ;
22140 char *kwnames[] = {
22141 (char *) "self", NULL
22142 };
22143
22144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
22145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22147 {
22148 PyThreadState* __tstate = wxPyBeginAllowThreads();
22149 (arg1)->Initialize();
22150
22151 wxPyEndAllowThreads(__tstate);
22152 if (PyErr_Occurred()) SWIG_fail;
22153 }
22154 Py_INCREF(Py_None); resultobj = Py_None;
22155 return resultobj;
22156 fail:
22157 return NULL;
22158 }
22159
22160
22161 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22162 PyObject *resultobj;
22163 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22164 PyObject * obj0 = 0 ;
22165 char *kwnames[] = {
22166 (char *) "self", NULL
22167 };
22168
22169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
22170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22172 {
22173 PyThreadState* __tstate = wxPyBeginAllowThreads();
22174 (arg1)->CreateControlBar();
22175
22176 wxPyEndAllowThreads(__tstate);
22177 if (PyErr_Occurred()) SWIG_fail;
22178 }
22179 Py_INCREF(Py_None); resultobj = Py_None;
22180 return resultobj;
22181 fail:
22182 return NULL;
22183 }
22184
22185
22186 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22187 PyObject *resultobj;
22188 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22189 PyObject * obj0 = 0 ;
22190 char *kwnames[] = {
22191 (char *) "self", NULL
22192 };
22193
22194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
22195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22197 {
22198 PyThreadState* __tstate = wxPyBeginAllowThreads();
22199 (arg1)->CreateCanvas();
22200
22201 wxPyEndAllowThreads(__tstate);
22202 if (PyErr_Occurred()) SWIG_fail;
22203 }
22204 Py_INCREF(Py_None); resultobj = Py_None;
22205 return resultobj;
22206 fail:
22207 return NULL;
22208 }
22209
22210
22211 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22212 PyObject *resultobj;
22213 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22214 wxPreviewControlBar *result;
22215 PyObject * obj0 = 0 ;
22216 char *kwnames[] = {
22217 (char *) "self", NULL
22218 };
22219
22220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
22221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22223 {
22224 PyThreadState* __tstate = wxPyBeginAllowThreads();
22225 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
22226
22227 wxPyEndAllowThreads(__tstate);
22228 if (PyErr_Occurred()) SWIG_fail;
22229 }
22230 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
22231 return resultobj;
22232 fail:
22233 return NULL;
22234 }
22235
22236
22237 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
22238 PyObject *obj;
22239 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22240 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
22241 Py_INCREF(obj);
22242 return Py_BuildValue((char *)"");
22243 }
22244 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22245 PyObject *resultobj;
22246 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22247 long arg2 ;
22248 wxWindow *arg3 = (wxWindow *) 0 ;
22249 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22250 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22251 wxSize const &arg5_defvalue = wxDefaultSize ;
22252 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22253 long arg6 = (long) wxTAB_TRAVERSAL ;
22254 wxString const &arg7_defvalue = wxPyPanelNameStr ;
22255 wxString *arg7 = (wxString *) &arg7_defvalue ;
22256 wxPreviewControlBar *result;
22257 wxPoint temp4 ;
22258 wxSize temp5 ;
22259 bool temp7 = False ;
22260 PyObject * obj0 = 0 ;
22261 PyObject * obj1 = 0 ;
22262 PyObject * obj2 = 0 ;
22263 PyObject * obj3 = 0 ;
22264 PyObject * obj4 = 0 ;
22265 PyObject * obj5 = 0 ;
22266 PyObject * obj6 = 0 ;
22267 char *kwnames[] = {
22268 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22269 };
22270
22271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22274 arg2 = (long) SWIG_AsLong(obj1);
22275 if (PyErr_Occurred()) SWIG_fail;
22276 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
22277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22278 if (obj3) {
22279 {
22280 arg4 = &temp4;
22281 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22282 }
22283 }
22284 if (obj4) {
22285 {
22286 arg5 = &temp5;
22287 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22288 }
22289 }
22290 if (obj5) {
22291 arg6 = (long) SWIG_AsLong(obj5);
22292 if (PyErr_Occurred()) SWIG_fail;
22293 }
22294 if (obj6) {
22295 {
22296 arg7 = wxString_in_helper(obj6);
22297 if (arg7 == NULL) SWIG_fail;
22298 temp7 = True;
22299 }
22300 }
22301 {
22302 PyThreadState* __tstate = wxPyBeginAllowThreads();
22303 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22304
22305 wxPyEndAllowThreads(__tstate);
22306 if (PyErr_Occurred()) SWIG_fail;
22307 }
22308 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
22309 {
22310 if (temp7)
22311 delete arg7;
22312 }
22313 return resultobj;
22314 fail:
22315 {
22316 if (temp7)
22317 delete arg7;
22318 }
22319 return NULL;
22320 }
22321
22322
22323 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22324 PyObject *resultobj;
22325 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22326 int result;
22327 PyObject * obj0 = 0 ;
22328 char *kwnames[] = {
22329 (char *) "self", NULL
22330 };
22331
22332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
22333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22335 {
22336 PyThreadState* __tstate = wxPyBeginAllowThreads();
22337 result = (int)(arg1)->GetZoomControl();
22338
22339 wxPyEndAllowThreads(__tstate);
22340 if (PyErr_Occurred()) SWIG_fail;
22341 }
22342 resultobj = SWIG_FromInt((int)result);
22343 return resultobj;
22344 fail:
22345 return NULL;
22346 }
22347
22348
22349 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22350 PyObject *resultobj;
22351 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22352 int arg2 ;
22353 PyObject * obj0 = 0 ;
22354 PyObject * obj1 = 0 ;
22355 char *kwnames[] = {
22356 (char *) "self",(char *) "zoom", NULL
22357 };
22358
22359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
22360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22362 arg2 = (int) SWIG_AsInt(obj1);
22363 if (PyErr_Occurred()) SWIG_fail;
22364 {
22365 PyThreadState* __tstate = wxPyBeginAllowThreads();
22366 (arg1)->SetZoomControl(arg2);
22367
22368 wxPyEndAllowThreads(__tstate);
22369 if (PyErr_Occurred()) SWIG_fail;
22370 }
22371 Py_INCREF(Py_None); resultobj = Py_None;
22372 return resultobj;
22373 fail:
22374 return NULL;
22375 }
22376
22377
22378 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22379 PyObject *resultobj;
22380 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22381 wxPrintPreview *result;
22382 PyObject * obj0 = 0 ;
22383 char *kwnames[] = {
22384 (char *) "self", NULL
22385 };
22386
22387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
22388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22390 {
22391 PyThreadState* __tstate = wxPyBeginAllowThreads();
22392 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
22393
22394 wxPyEndAllowThreads(__tstate);
22395 if (PyErr_Occurred()) SWIG_fail;
22396 }
22397 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
22398 return resultobj;
22399 fail:
22400 return NULL;
22401 }
22402
22403
22404 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
22405 PyObject *resultobj;
22406 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22407 PyObject * obj0 = 0 ;
22408 char *kwnames[] = {
22409 (char *) "self", NULL
22410 };
22411
22412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
22413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22415 {
22416 PyThreadState* __tstate = wxPyBeginAllowThreads();
22417 (arg1)->OnNext();
22418
22419 wxPyEndAllowThreads(__tstate);
22420 if (PyErr_Occurred()) SWIG_fail;
22421 }
22422 Py_INCREF(Py_None); resultobj = Py_None;
22423 return resultobj;
22424 fail:
22425 return NULL;
22426 }
22427
22428
22429 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
22430 PyObject *resultobj;
22431 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22432 PyObject * obj0 = 0 ;
22433 char *kwnames[] = {
22434 (char *) "self", NULL
22435 };
22436
22437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
22438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22440 {
22441 PyThreadState* __tstate = wxPyBeginAllowThreads();
22442 (arg1)->OnPrevious();
22443
22444 wxPyEndAllowThreads(__tstate);
22445 if (PyErr_Occurred()) SWIG_fail;
22446 }
22447 Py_INCREF(Py_None); resultobj = Py_None;
22448 return resultobj;
22449 fail:
22450 return NULL;
22451 }
22452
22453
22454 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
22455 PyObject *resultobj;
22456 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22457 PyObject * obj0 = 0 ;
22458 char *kwnames[] = {
22459 (char *) "self", NULL
22460 };
22461
22462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
22463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22465 {
22466 PyThreadState* __tstate = wxPyBeginAllowThreads();
22467 (arg1)->OnFirst();
22468
22469 wxPyEndAllowThreads(__tstate);
22470 if (PyErr_Occurred()) SWIG_fail;
22471 }
22472 Py_INCREF(Py_None); resultobj = Py_None;
22473 return resultobj;
22474 fail:
22475 return NULL;
22476 }
22477
22478
22479 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
22480 PyObject *resultobj;
22481 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22482 PyObject * obj0 = 0 ;
22483 char *kwnames[] = {
22484 (char *) "self", NULL
22485 };
22486
22487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
22488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22490 {
22491 PyThreadState* __tstate = wxPyBeginAllowThreads();
22492 (arg1)->OnLast();
22493
22494 wxPyEndAllowThreads(__tstate);
22495 if (PyErr_Occurred()) SWIG_fail;
22496 }
22497 Py_INCREF(Py_None); resultobj = Py_None;
22498 return resultobj;
22499 fail:
22500 return NULL;
22501 }
22502
22503
22504 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
22505 PyObject *resultobj;
22506 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22507 PyObject * obj0 = 0 ;
22508 char *kwnames[] = {
22509 (char *) "self", NULL
22510 };
22511
22512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
22513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22515 {
22516 PyThreadState* __tstate = wxPyBeginAllowThreads();
22517 (arg1)->OnGoto();
22518
22519 wxPyEndAllowThreads(__tstate);
22520 if (PyErr_Occurred()) SWIG_fail;
22521 }
22522 Py_INCREF(Py_None); resultobj = Py_None;
22523 return resultobj;
22524 fail:
22525 return NULL;
22526 }
22527
22528
22529 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
22530 PyObject *obj;
22531 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22532 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
22533 Py_INCREF(obj);
22534 return Py_BuildValue((char *)"");
22535 }
22536 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *self, PyObject *args) {
22537 PyObject *resultobj;
22538 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22539 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22540 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
22541 wxPrintPreview *result;
22542 PyObject * obj0 = 0 ;
22543 PyObject * obj1 = 0 ;
22544 PyObject * obj2 = 0 ;
22545
22546 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
22547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22549 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22551 if (obj2) {
22552 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
22553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22554 }
22555 {
22556 PyThreadState* __tstate = wxPyBeginAllowThreads();
22557 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
22558
22559 wxPyEndAllowThreads(__tstate);
22560 if (PyErr_Occurred()) SWIG_fail;
22561 }
22562 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
22563 return resultobj;
22564 fail:
22565 return NULL;
22566 }
22567
22568
22569 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *self, PyObject *args) {
22570 PyObject *resultobj;
22571 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22572 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22573 wxPrintData *arg3 = (wxPrintData *) 0 ;
22574 wxPrintPreview *result;
22575 PyObject * obj0 = 0 ;
22576 PyObject * obj1 = 0 ;
22577 PyObject * obj2 = 0 ;
22578
22579 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
22580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22582 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22584 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
22585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22586 {
22587 PyThreadState* __tstate = wxPyBeginAllowThreads();
22588 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
22589
22590 wxPyEndAllowThreads(__tstate);
22591 if (PyErr_Occurred()) SWIG_fail;
22592 }
22593 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
22594 return resultobj;
22595 fail:
22596 return NULL;
22597 }
22598
22599
22600 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
22601 int argc;
22602 PyObject *argv[4];
22603 int ii;
22604
22605 argc = PyObject_Length(args);
22606 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
22607 argv[ii] = PyTuple_GetItem(args,ii);
22608 }
22609 if ((argc >= 2) && (argc <= 3)) {
22610 int _v;
22611 {
22612 void *ptr;
22613 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22614 _v = 0;
22615 PyErr_Clear();
22616 } else {
22617 _v = 1;
22618 }
22619 }
22620 if (_v) {
22621 {
22622 void *ptr;
22623 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22624 _v = 0;
22625 PyErr_Clear();
22626 } else {
22627 _v = 1;
22628 }
22629 }
22630 if (_v) {
22631 if (argc <= 2) {
22632 return _wrap_new_PrintPreview__SWIG_0(self,args);
22633 }
22634 {
22635 void *ptr;
22636 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
22637 _v = 0;
22638 PyErr_Clear();
22639 } else {
22640 _v = 1;
22641 }
22642 }
22643 if (_v) {
22644 return _wrap_new_PrintPreview__SWIG_0(self,args);
22645 }
22646 }
22647 }
22648 }
22649 if (argc == 3) {
22650 int _v;
22651 {
22652 void *ptr;
22653 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22654 _v = 0;
22655 PyErr_Clear();
22656 } else {
22657 _v = 1;
22658 }
22659 }
22660 if (_v) {
22661 {
22662 void *ptr;
22663 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22664 _v = 0;
22665 PyErr_Clear();
22666 } else {
22667 _v = 1;
22668 }
22669 }
22670 if (_v) {
22671 {
22672 void *ptr;
22673 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
22674 _v = 0;
22675 PyErr_Clear();
22676 } else {
22677 _v = 1;
22678 }
22679 }
22680 if (_v) {
22681 return _wrap_new_PrintPreview__SWIG_1(self,args);
22682 }
22683 }
22684 }
22685 }
22686
22687 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
22688 return NULL;
22689 }
22690
22691
22692 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22693 PyObject *resultobj;
22694 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22695 int arg2 ;
22696 bool result;
22697 PyObject * obj0 = 0 ;
22698 PyObject * obj1 = 0 ;
22699 char *kwnames[] = {
22700 (char *) "self",(char *) "pageNum", NULL
22701 };
22702
22703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
22704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22706 arg2 = (int) SWIG_AsInt(obj1);
22707 if (PyErr_Occurred()) SWIG_fail;
22708 {
22709 PyThreadState* __tstate = wxPyBeginAllowThreads();
22710 result = (bool)(arg1)->SetCurrentPage(arg2);
22711
22712 wxPyEndAllowThreads(__tstate);
22713 if (PyErr_Occurred()) SWIG_fail;
22714 }
22715 {
22716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22717 }
22718 return resultobj;
22719 fail:
22720 return NULL;
22721 }
22722
22723
22724 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22725 PyObject *resultobj;
22726 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22727 int result;
22728 PyObject * obj0 = 0 ;
22729 char *kwnames[] = {
22730 (char *) "self", NULL
22731 };
22732
22733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
22734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22736 {
22737 PyThreadState* __tstate = wxPyBeginAllowThreads();
22738 result = (int)(arg1)->GetCurrentPage();
22739
22740 wxPyEndAllowThreads(__tstate);
22741 if (PyErr_Occurred()) SWIG_fail;
22742 }
22743 resultobj = SWIG_FromInt((int)result);
22744 return resultobj;
22745 fail:
22746 return NULL;
22747 }
22748
22749
22750 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
22751 PyObject *resultobj;
22752 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22753 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22754 PyObject * obj0 = 0 ;
22755 PyObject * obj1 = 0 ;
22756 char *kwnames[] = {
22757 (char *) "self",(char *) "printout", NULL
22758 };
22759
22760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
22761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22763 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22765 {
22766 PyThreadState* __tstate = wxPyBeginAllowThreads();
22767 (arg1)->SetPrintout(arg2);
22768
22769 wxPyEndAllowThreads(__tstate);
22770 if (PyErr_Occurred()) SWIG_fail;
22771 }
22772 Py_INCREF(Py_None); resultobj = Py_None;
22773 return resultobj;
22774 fail:
22775 return NULL;
22776 }
22777
22778
22779 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
22780 PyObject *resultobj;
22781 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22782 wxPyPrintout *result;
22783 PyObject * obj0 = 0 ;
22784 char *kwnames[] = {
22785 (char *) "self", NULL
22786 };
22787
22788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
22789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22791 {
22792 PyThreadState* __tstate = wxPyBeginAllowThreads();
22793 result = (wxPyPrintout *)(arg1)->GetPrintout();
22794
22795 wxPyEndAllowThreads(__tstate);
22796 if (PyErr_Occurred()) SWIG_fail;
22797 }
22798 {
22799 resultobj = wxPyMake_wxObject(result);
22800 }
22801 return resultobj;
22802 fail:
22803 return NULL;
22804 }
22805
22806
22807 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22808 PyObject *resultobj;
22809 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22810 wxPyPrintout *result;
22811 PyObject * obj0 = 0 ;
22812 char *kwnames[] = {
22813 (char *) "self", NULL
22814 };
22815
22816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
22817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22819 {
22820 PyThreadState* __tstate = wxPyBeginAllowThreads();
22821 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
22822
22823 wxPyEndAllowThreads(__tstate);
22824 if (PyErr_Occurred()) SWIG_fail;
22825 }
22826 {
22827 resultobj = wxPyMake_wxObject(result);
22828 }
22829 return resultobj;
22830 fail:
22831 return NULL;
22832 }
22833
22834
22835 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22836 PyObject *resultobj;
22837 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22838 wxFrame *arg2 = (wxFrame *) 0 ;
22839 PyObject * obj0 = 0 ;
22840 PyObject * obj1 = 0 ;
22841 char *kwnames[] = {
22842 (char *) "self",(char *) "frame", NULL
22843 };
22844
22845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
22846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22848 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22850 {
22851 PyThreadState* __tstate = wxPyBeginAllowThreads();
22852 (arg1)->SetFrame(arg2);
22853
22854 wxPyEndAllowThreads(__tstate);
22855 if (PyErr_Occurred()) SWIG_fail;
22856 }
22857 Py_INCREF(Py_None); resultobj = Py_None;
22858 return resultobj;
22859 fail:
22860 return NULL;
22861 }
22862
22863
22864 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22865 PyObject *resultobj;
22866 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22867 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22868 PyObject * obj0 = 0 ;
22869 PyObject * obj1 = 0 ;
22870 char *kwnames[] = {
22871 (char *) "self",(char *) "canvas", NULL
22872 };
22873
22874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
22875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22877 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22879 {
22880 PyThreadState* __tstate = wxPyBeginAllowThreads();
22881 (arg1)->SetCanvas(arg2);
22882
22883 wxPyEndAllowThreads(__tstate);
22884 if (PyErr_Occurred()) SWIG_fail;
22885 }
22886 Py_INCREF(Py_None); resultobj = Py_None;
22887 return resultobj;
22888 fail:
22889 return NULL;
22890 }
22891
22892
22893 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22894 PyObject *resultobj;
22895 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22896 wxFrame *result;
22897 PyObject * obj0 = 0 ;
22898 char *kwnames[] = {
22899 (char *) "self", NULL
22900 };
22901
22902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
22903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22905 {
22906 PyThreadState* __tstate = wxPyBeginAllowThreads();
22907 result = (wxFrame *)(arg1)->GetFrame();
22908
22909 wxPyEndAllowThreads(__tstate);
22910 if (PyErr_Occurred()) SWIG_fail;
22911 }
22912 {
22913 resultobj = wxPyMake_wxObject(result);
22914 }
22915 return resultobj;
22916 fail:
22917 return NULL;
22918 }
22919
22920
22921 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22922 PyObject *resultobj;
22923 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22924 wxPreviewCanvas *result;
22925 PyObject * obj0 = 0 ;
22926 char *kwnames[] = {
22927 (char *) "self", NULL
22928 };
22929
22930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
22931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22933 {
22934 PyThreadState* __tstate = wxPyBeginAllowThreads();
22935 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
22936
22937 wxPyEndAllowThreads(__tstate);
22938 if (PyErr_Occurred()) SWIG_fail;
22939 }
22940 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
22941 return resultobj;
22942 fail:
22943 return NULL;
22944 }
22945
22946
22947 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22948 PyObject *resultobj;
22949 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22950 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22951 wxDC *arg3 = 0 ;
22952 bool result;
22953 PyObject * obj0 = 0 ;
22954 PyObject * obj1 = 0 ;
22955 PyObject * obj2 = 0 ;
22956 char *kwnames[] = {
22957 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22958 };
22959
22960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22963 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22965 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
22966 SWIG_POINTER_EXCEPTION | 0)) == -1)
22967 SWIG_fail;
22968 if (arg3 == NULL) {
22969 PyErr_SetString(PyExc_TypeError,"null reference");
22970 SWIG_fail;
22971 }
22972 {
22973 PyThreadState* __tstate = wxPyBeginAllowThreads();
22974 result = (bool)(arg1)->PaintPage(arg2,*arg3);
22975
22976 wxPyEndAllowThreads(__tstate);
22977 if (PyErr_Occurred()) SWIG_fail;
22978 }
22979 {
22980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22981 }
22982 return resultobj;
22983 fail:
22984 return NULL;
22985 }
22986
22987
22988 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22989 PyObject *resultobj;
22990 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22991 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22992 wxDC *arg3 = 0 ;
22993 bool result;
22994 PyObject * obj0 = 0 ;
22995 PyObject * obj1 = 0 ;
22996 PyObject * obj2 = 0 ;
22997 char *kwnames[] = {
22998 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22999 };
23000
23001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23004 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23006 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23007 SWIG_POINTER_EXCEPTION | 0)) == -1)
23008 SWIG_fail;
23009 if (arg3 == NULL) {
23010 PyErr_SetString(PyExc_TypeError,"null reference");
23011 SWIG_fail;
23012 }
23013 {
23014 PyThreadState* __tstate = wxPyBeginAllowThreads();
23015 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
23016
23017 wxPyEndAllowThreads(__tstate);
23018 if (PyErr_Occurred()) SWIG_fail;
23019 }
23020 {
23021 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23022 }
23023 return resultobj;
23024 fail:
23025 return NULL;
23026 }
23027
23028
23029 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23030 PyObject *resultobj;
23031 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23032 int arg2 ;
23033 bool result;
23034 PyObject * obj0 = 0 ;
23035 PyObject * obj1 = 0 ;
23036 char *kwnames[] = {
23037 (char *) "self",(char *) "pageNum", NULL
23038 };
23039
23040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23043 arg2 = (int) SWIG_AsInt(obj1);
23044 if (PyErr_Occurred()) SWIG_fail;
23045 {
23046 PyThreadState* __tstate = wxPyBeginAllowThreads();
23047 result = (bool)(arg1)->RenderPage(arg2);
23048
23049 wxPyEndAllowThreads(__tstate);
23050 if (PyErr_Occurred()) SWIG_fail;
23051 }
23052 {
23053 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23054 }
23055 return resultobj;
23056 fail:
23057 return NULL;
23058 }
23059
23060
23061 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
23062 PyObject *resultobj;
23063 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23064 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23065 PyObject * obj0 = 0 ;
23066 PyObject * obj1 = 0 ;
23067 char *kwnames[] = {
23068 (char *) "self",(char *) "canvas", NULL
23069 };
23070
23071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
23072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23074 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23076 {
23077 PyThreadState* __tstate = wxPyBeginAllowThreads();
23078 (arg1)->AdjustScrollbars(arg2);
23079
23080 wxPyEndAllowThreads(__tstate);
23081 if (PyErr_Occurred()) SWIG_fail;
23082 }
23083 Py_INCREF(Py_None); resultobj = Py_None;
23084 return resultobj;
23085 fail:
23086 return NULL;
23087 }
23088
23089
23090 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
23091 PyObject *resultobj;
23092 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23093 wxPrintDialogData *result;
23094 PyObject * obj0 = 0 ;
23095 char *kwnames[] = {
23096 (char *) "self", NULL
23097 };
23098
23099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
23100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23102 {
23103 PyThreadState* __tstate = wxPyBeginAllowThreads();
23104 {
23105 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
23106 result = (wxPrintDialogData *) &_result_ref;
23107 }
23108
23109 wxPyEndAllowThreads(__tstate);
23110 if (PyErr_Occurred()) SWIG_fail;
23111 }
23112 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
23113 return resultobj;
23114 fail:
23115 return NULL;
23116 }
23117
23118
23119 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23120 PyObject *resultobj;
23121 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23122 int arg2 ;
23123 PyObject * obj0 = 0 ;
23124 PyObject * obj1 = 0 ;
23125 char *kwnames[] = {
23126 (char *) "self",(char *) "percent", NULL
23127 };
23128
23129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
23130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23132 arg2 = (int) SWIG_AsInt(obj1);
23133 if (PyErr_Occurred()) SWIG_fail;
23134 {
23135 PyThreadState* __tstate = wxPyBeginAllowThreads();
23136 (arg1)->SetZoom(arg2);
23137
23138 wxPyEndAllowThreads(__tstate);
23139 if (PyErr_Occurred()) SWIG_fail;
23140 }
23141 Py_INCREF(Py_None); resultobj = Py_None;
23142 return resultobj;
23143 fail:
23144 return NULL;
23145 }
23146
23147
23148 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23149 PyObject *resultobj;
23150 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23151 int result;
23152 PyObject * obj0 = 0 ;
23153 char *kwnames[] = {
23154 (char *) "self", NULL
23155 };
23156
23157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
23158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23160 {
23161 PyThreadState* __tstate = wxPyBeginAllowThreads();
23162 result = (int)(arg1)->GetZoom();
23163
23164 wxPyEndAllowThreads(__tstate);
23165 if (PyErr_Occurred()) SWIG_fail;
23166 }
23167 resultobj = SWIG_FromInt((int)result);
23168 return resultobj;
23169 fail:
23170 return NULL;
23171 }
23172
23173
23174 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23175 PyObject *resultobj;
23176 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23177 int result;
23178 PyObject * obj0 = 0 ;
23179 char *kwnames[] = {
23180 (char *) "self", NULL
23181 };
23182
23183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
23184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23186 {
23187 PyThreadState* __tstate = wxPyBeginAllowThreads();
23188 result = (int)(arg1)->GetMaxPage();
23189
23190 wxPyEndAllowThreads(__tstate);
23191 if (PyErr_Occurred()) SWIG_fail;
23192 }
23193 resultobj = SWIG_FromInt((int)result);
23194 return resultobj;
23195 fail:
23196 return NULL;
23197 }
23198
23199
23200 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23201 PyObject *resultobj;
23202 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23203 int result;
23204 PyObject * obj0 = 0 ;
23205 char *kwnames[] = {
23206 (char *) "self", NULL
23207 };
23208
23209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
23210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23212 {
23213 PyThreadState* __tstate = wxPyBeginAllowThreads();
23214 result = (int)(arg1)->GetMinPage();
23215
23216 wxPyEndAllowThreads(__tstate);
23217 if (PyErr_Occurred()) SWIG_fail;
23218 }
23219 resultobj = SWIG_FromInt((int)result);
23220 return resultobj;
23221 fail:
23222 return NULL;
23223 }
23224
23225
23226 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
23227 PyObject *resultobj;
23228 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23229 bool result;
23230 PyObject * obj0 = 0 ;
23231 char *kwnames[] = {
23232 (char *) "self", NULL
23233 };
23234
23235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
23236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23238 {
23239 PyThreadState* __tstate = wxPyBeginAllowThreads();
23240 result = (bool)(arg1)->Ok();
23241
23242 wxPyEndAllowThreads(__tstate);
23243 if (PyErr_Occurred()) SWIG_fail;
23244 }
23245 {
23246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23247 }
23248 return resultobj;
23249 fail:
23250 return NULL;
23251 }
23252
23253
23254 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
23255 PyObject *resultobj;
23256 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23257 bool arg2 ;
23258 PyObject * obj0 = 0 ;
23259 PyObject * obj1 = 0 ;
23260 char *kwnames[] = {
23261 (char *) "self",(char *) "ok", NULL
23262 };
23263
23264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
23265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23267 arg2 = (bool) SWIG_AsBool(obj1);
23268 if (PyErr_Occurred()) SWIG_fail;
23269 {
23270 PyThreadState* __tstate = wxPyBeginAllowThreads();
23271 (arg1)->SetOk(arg2);
23272
23273 wxPyEndAllowThreads(__tstate);
23274 if (PyErr_Occurred()) SWIG_fail;
23275 }
23276 Py_INCREF(Py_None); resultobj = Py_None;
23277 return resultobj;
23278 fail:
23279 return NULL;
23280 }
23281
23282
23283 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
23284 PyObject *resultobj;
23285 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23286 bool arg2 ;
23287 bool result;
23288 PyObject * obj0 = 0 ;
23289 PyObject * obj1 = 0 ;
23290 char *kwnames[] = {
23291 (char *) "self",(char *) "interactive", NULL
23292 };
23293
23294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
23295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23297 arg2 = (bool) SWIG_AsBool(obj1);
23298 if (PyErr_Occurred()) SWIG_fail;
23299 {
23300 PyThreadState* __tstate = wxPyBeginAllowThreads();
23301 result = (bool)(arg1)->Print(arg2);
23302
23303 wxPyEndAllowThreads(__tstate);
23304 if (PyErr_Occurred()) SWIG_fail;
23305 }
23306 {
23307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23308 }
23309 return resultobj;
23310 fail:
23311 return NULL;
23312 }
23313
23314
23315 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
23316 PyObject *resultobj;
23317 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23318 PyObject * obj0 = 0 ;
23319 char *kwnames[] = {
23320 (char *) "self", NULL
23321 };
23322
23323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
23324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23326 {
23327 PyThreadState* __tstate = wxPyBeginAllowThreads();
23328 (arg1)->DetermineScaling();
23329
23330 wxPyEndAllowThreads(__tstate);
23331 if (PyErr_Occurred()) SWIG_fail;
23332 }
23333 Py_INCREF(Py_None); resultobj = Py_None;
23334 return resultobj;
23335 fail:
23336 return NULL;
23337 }
23338
23339
23340 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
23341 PyObject *obj;
23342 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23343 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
23344 Py_INCREF(obj);
23345 return Py_BuildValue((char *)"");
23346 }
23347 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *self, PyObject *args) {
23348 PyObject *resultobj;
23349 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23350 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23351 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23352 wxPyPrintPreview *result;
23353 PyObject * obj0 = 0 ;
23354 PyObject * obj1 = 0 ;
23355 PyObject * obj2 = 0 ;
23356
23357 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23360 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23362 if (obj2) {
23363 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23365 }
23366 {
23367 PyThreadState* __tstate = wxPyBeginAllowThreads();
23368 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23369
23370 wxPyEndAllowThreads(__tstate);
23371 if (PyErr_Occurred()) SWIG_fail;
23372 }
23373 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23374 return resultobj;
23375 fail:
23376 return NULL;
23377 }
23378
23379
23380 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *self, PyObject *args) {
23381 PyObject *resultobj;
23382 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23383 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23384 wxPrintData *arg3 = (wxPrintData *) 0 ;
23385 wxPyPrintPreview *result;
23386 PyObject * obj0 = 0 ;
23387 PyObject * obj1 = 0 ;
23388 PyObject * obj2 = 0 ;
23389
23390 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23393 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23395 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23397 {
23398 PyThreadState* __tstate = wxPyBeginAllowThreads();
23399 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23400
23401 wxPyEndAllowThreads(__tstate);
23402 if (PyErr_Occurred()) SWIG_fail;
23403 }
23404 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23405 return resultobj;
23406 fail:
23407 return NULL;
23408 }
23409
23410
23411 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
23412 int argc;
23413 PyObject *argv[4];
23414 int ii;
23415
23416 argc = PyObject_Length(args);
23417 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23418 argv[ii] = PyTuple_GetItem(args,ii);
23419 }
23420 if ((argc >= 2) && (argc <= 3)) {
23421 int _v;
23422 {
23423 void *ptr;
23424 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23425 _v = 0;
23426 PyErr_Clear();
23427 } else {
23428 _v = 1;
23429 }
23430 }
23431 if (_v) {
23432 {
23433 void *ptr;
23434 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23435 _v = 0;
23436 PyErr_Clear();
23437 } else {
23438 _v = 1;
23439 }
23440 }
23441 if (_v) {
23442 if (argc <= 2) {
23443 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23444 }
23445 {
23446 void *ptr;
23447 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23448 _v = 0;
23449 PyErr_Clear();
23450 } else {
23451 _v = 1;
23452 }
23453 }
23454 if (_v) {
23455 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23456 }
23457 }
23458 }
23459 }
23460 if (argc == 3) {
23461 int _v;
23462 {
23463 void *ptr;
23464 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23465 _v = 0;
23466 PyErr_Clear();
23467 } else {
23468 _v = 1;
23469 }
23470 }
23471 if (_v) {
23472 {
23473 void *ptr;
23474 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23475 _v = 0;
23476 PyErr_Clear();
23477 } else {
23478 _v = 1;
23479 }
23480 }
23481 if (_v) {
23482 {
23483 void *ptr;
23484 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23485 _v = 0;
23486 PyErr_Clear();
23487 } else {
23488 _v = 1;
23489 }
23490 }
23491 if (_v) {
23492 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
23493 }
23494 }
23495 }
23496 }
23497
23498 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
23499 return NULL;
23500 }
23501
23502
23503 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23504 PyObject *resultobj;
23505 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23506 PyObject *arg2 = (PyObject *) 0 ;
23507 PyObject *arg3 = (PyObject *) 0 ;
23508 PyObject * obj0 = 0 ;
23509 PyObject * obj1 = 0 ;
23510 PyObject * obj2 = 0 ;
23511 char *kwnames[] = {
23512 (char *) "self",(char *) "self",(char *) "_class", NULL
23513 };
23514
23515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23518 arg2 = obj1;
23519 arg3 = obj2;
23520 {
23521 PyThreadState* __tstate = wxPyBeginAllowThreads();
23522 (arg1)->_setCallbackInfo(arg2,arg3);
23523
23524 wxPyEndAllowThreads(__tstate);
23525 if (PyErr_Occurred()) SWIG_fail;
23526 }
23527 Py_INCREF(Py_None); resultobj = Py_None;
23528 return resultobj;
23529 fail:
23530 return NULL;
23531 }
23532
23533
23534 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23535 PyObject *resultobj;
23536 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23537 int arg2 ;
23538 bool result;
23539 PyObject * obj0 = 0 ;
23540 PyObject * obj1 = 0 ;
23541 char *kwnames[] = {
23542 (char *) "self",(char *) "pageNum", NULL
23543 };
23544
23545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23548 arg2 = (int) SWIG_AsInt(obj1);
23549 if (PyErr_Occurred()) SWIG_fail;
23550 {
23551 PyThreadState* __tstate = wxPyBeginAllowThreads();
23552 result = (bool)(arg1)->base_SetCurrentPage(arg2);
23553
23554 wxPyEndAllowThreads(__tstate);
23555 if (PyErr_Occurred()) SWIG_fail;
23556 }
23557 {
23558 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23559 }
23560 return resultobj;
23561 fail:
23562 return NULL;
23563 }
23564
23565
23566 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23567 PyObject *resultobj;
23568 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23569 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23570 wxDC *arg3 = 0 ;
23571 bool result;
23572 PyObject * obj0 = 0 ;
23573 PyObject * obj1 = 0 ;
23574 PyObject * obj2 = 0 ;
23575 char *kwnames[] = {
23576 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23577 };
23578
23579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23582 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23584 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23585 SWIG_POINTER_EXCEPTION | 0)) == -1)
23586 SWIG_fail;
23587 if (arg3 == NULL) {
23588 PyErr_SetString(PyExc_TypeError,"null reference");
23589 SWIG_fail;
23590 }
23591 {
23592 PyThreadState* __tstate = wxPyBeginAllowThreads();
23593 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
23594
23595 wxPyEndAllowThreads(__tstate);
23596 if (PyErr_Occurred()) SWIG_fail;
23597 }
23598 {
23599 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23600 }
23601 return resultobj;
23602 fail:
23603 return NULL;
23604 }
23605
23606
23607 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23608 PyObject *resultobj;
23609 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23610 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23611 wxDC *arg3 = 0 ;
23612 bool result;
23613 PyObject * obj0 = 0 ;
23614 PyObject * obj1 = 0 ;
23615 PyObject * obj2 = 0 ;
23616 char *kwnames[] = {
23617 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23618 };
23619
23620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23623 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23625 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23626 SWIG_POINTER_EXCEPTION | 0)) == -1)
23627 SWIG_fail;
23628 if (arg3 == NULL) {
23629 PyErr_SetString(PyExc_TypeError,"null reference");
23630 SWIG_fail;
23631 }
23632 {
23633 PyThreadState* __tstate = wxPyBeginAllowThreads();
23634 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
23635
23636 wxPyEndAllowThreads(__tstate);
23637 if (PyErr_Occurred()) SWIG_fail;
23638 }
23639 {
23640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23641 }
23642 return resultobj;
23643 fail:
23644 return NULL;
23645 }
23646
23647
23648 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23649 PyObject *resultobj;
23650 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23651 int arg2 ;
23652 bool result;
23653 PyObject * obj0 = 0 ;
23654 PyObject * obj1 = 0 ;
23655 char *kwnames[] = {
23656 (char *) "self",(char *) "pageNum", NULL
23657 };
23658
23659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23662 arg2 = (int) SWIG_AsInt(obj1);
23663 if (PyErr_Occurred()) SWIG_fail;
23664 {
23665 PyThreadState* __tstate = wxPyBeginAllowThreads();
23666 result = (bool)(arg1)->base_RenderPage(arg2);
23667
23668 wxPyEndAllowThreads(__tstate);
23669 if (PyErr_Occurred()) SWIG_fail;
23670 }
23671 {
23672 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23673 }
23674 return resultobj;
23675 fail:
23676 return NULL;
23677 }
23678
23679
23680 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23681 PyObject *resultobj;
23682 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23683 int arg2 ;
23684 PyObject * obj0 = 0 ;
23685 PyObject * obj1 = 0 ;
23686 char *kwnames[] = {
23687 (char *) "self",(char *) "percent", NULL
23688 };
23689
23690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
23691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23693 arg2 = (int) SWIG_AsInt(obj1);
23694 if (PyErr_Occurred()) SWIG_fail;
23695 {
23696 PyThreadState* __tstate = wxPyBeginAllowThreads();
23697 (arg1)->base_SetZoom(arg2);
23698
23699 wxPyEndAllowThreads(__tstate);
23700 if (PyErr_Occurred()) SWIG_fail;
23701 }
23702 Py_INCREF(Py_None); resultobj = Py_None;
23703 return resultobj;
23704 fail:
23705 return NULL;
23706 }
23707
23708
23709 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
23710 PyObject *resultobj;
23711 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23712 bool arg2 ;
23713 bool result;
23714 PyObject * obj0 = 0 ;
23715 PyObject * obj1 = 0 ;
23716 char *kwnames[] = {
23717 (char *) "self",(char *) "interactive", NULL
23718 };
23719
23720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
23721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23723 arg2 = (bool) SWIG_AsBool(obj1);
23724 if (PyErr_Occurred()) SWIG_fail;
23725 {
23726 PyThreadState* __tstate = wxPyBeginAllowThreads();
23727 result = (bool)(arg1)->base_Print(arg2);
23728
23729 wxPyEndAllowThreads(__tstate);
23730 if (PyErr_Occurred()) SWIG_fail;
23731 }
23732 {
23733 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23734 }
23735 return resultobj;
23736 fail:
23737 return NULL;
23738 }
23739
23740
23741 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
23742 PyObject *resultobj;
23743 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23744 PyObject * obj0 = 0 ;
23745 char *kwnames[] = {
23746 (char *) "self", NULL
23747 };
23748
23749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
23750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23752 {
23753 PyThreadState* __tstate = wxPyBeginAllowThreads();
23754 (arg1)->base_DetermineScaling();
23755
23756 wxPyEndAllowThreads(__tstate);
23757 if (PyErr_Occurred()) SWIG_fail;
23758 }
23759 Py_INCREF(Py_None); resultobj = Py_None;
23760 return resultobj;
23761 fail:
23762 return NULL;
23763 }
23764
23765
23766 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
23767 PyObject *obj;
23768 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23769 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
23770 Py_INCREF(obj);
23771 return Py_BuildValue((char *)"");
23772 }
23773 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23774 PyObject *resultobj;
23775 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23776 wxFrame *arg2 = (wxFrame *) 0 ;
23777 wxString *arg3 = 0 ;
23778 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23779 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23780 wxSize const &arg5_defvalue = wxDefaultSize ;
23781 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23782 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
23783 wxString const &arg7_defvalue = wxPyFrameNameStr ;
23784 wxString *arg7 = (wxString *) &arg7_defvalue ;
23785 wxPyPreviewFrame *result;
23786 bool temp3 = False ;
23787 wxPoint temp4 ;
23788 wxSize temp5 ;
23789 bool temp7 = False ;
23790 PyObject * obj0 = 0 ;
23791 PyObject * obj1 = 0 ;
23792 PyObject * obj2 = 0 ;
23793 PyObject * obj3 = 0 ;
23794 PyObject * obj4 = 0 ;
23795 PyObject * obj5 = 0 ;
23796 PyObject * obj6 = 0 ;
23797 char *kwnames[] = {
23798 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23799 };
23800
23801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23804 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23806 {
23807 arg3 = wxString_in_helper(obj2);
23808 if (arg3 == NULL) SWIG_fail;
23809 temp3 = True;
23810 }
23811 if (obj3) {
23812 {
23813 arg4 = &temp4;
23814 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23815 }
23816 }
23817 if (obj4) {
23818 {
23819 arg5 = &temp5;
23820 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23821 }
23822 }
23823 if (obj5) {
23824 arg6 = (long) SWIG_AsLong(obj5);
23825 if (PyErr_Occurred()) SWIG_fail;
23826 }
23827 if (obj6) {
23828 {
23829 arg7 = wxString_in_helper(obj6);
23830 if (arg7 == NULL) SWIG_fail;
23831 temp7 = True;
23832 }
23833 }
23834 {
23835 PyThreadState* __tstate = wxPyBeginAllowThreads();
23836 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23837
23838 wxPyEndAllowThreads(__tstate);
23839 if (PyErr_Occurred()) SWIG_fail;
23840 }
23841 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
23842 {
23843 if (temp3)
23844 delete arg3;
23845 }
23846 {
23847 if (temp7)
23848 delete arg7;
23849 }
23850 return resultobj;
23851 fail:
23852 {
23853 if (temp3)
23854 delete arg3;
23855 }
23856 {
23857 if (temp7)
23858 delete arg7;
23859 }
23860 return NULL;
23861 }
23862
23863
23864 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23865 PyObject *resultobj;
23866 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23867 PyObject *arg2 = (PyObject *) 0 ;
23868 PyObject *arg3 = (PyObject *) 0 ;
23869 PyObject * obj0 = 0 ;
23870 PyObject * obj1 = 0 ;
23871 PyObject * obj2 = 0 ;
23872 char *kwnames[] = {
23873 (char *) "self",(char *) "self",(char *) "_class", NULL
23874 };
23875
23876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23879 arg2 = obj1;
23880 arg3 = obj2;
23881 {
23882 PyThreadState* __tstate = wxPyBeginAllowThreads();
23883 (arg1)->_setCallbackInfo(arg2,arg3);
23884
23885 wxPyEndAllowThreads(__tstate);
23886 if (PyErr_Occurred()) SWIG_fail;
23887 }
23888 Py_INCREF(Py_None); resultobj = Py_None;
23889 return resultobj;
23890 fail:
23891 return NULL;
23892 }
23893
23894
23895 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23896 PyObject *resultobj;
23897 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23898 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23899 PyObject * obj0 = 0 ;
23900 PyObject * obj1 = 0 ;
23901 char *kwnames[] = {
23902 (char *) "self",(char *) "canvas", NULL
23903 };
23904
23905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
23906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23908 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23910 {
23911 PyThreadState* __tstate = wxPyBeginAllowThreads();
23912 (arg1)->SetPreviewCanvas(arg2);
23913
23914 wxPyEndAllowThreads(__tstate);
23915 if (PyErr_Occurred()) SWIG_fail;
23916 }
23917 Py_INCREF(Py_None); resultobj = Py_None;
23918 return resultobj;
23919 fail:
23920 return NULL;
23921 }
23922
23923
23924 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
23925 PyObject *resultobj;
23926 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23927 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
23928 PyObject * obj0 = 0 ;
23929 PyObject * obj1 = 0 ;
23930 char *kwnames[] = {
23931 (char *) "self",(char *) "bar", NULL
23932 };
23933
23934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
23935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23937 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
23938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23939 {
23940 PyThreadState* __tstate = wxPyBeginAllowThreads();
23941 (arg1)->SetControlBar(arg2);
23942
23943 wxPyEndAllowThreads(__tstate);
23944 if (PyErr_Occurred()) SWIG_fail;
23945 }
23946 Py_INCREF(Py_None); resultobj = Py_None;
23947 return resultobj;
23948 fail:
23949 return NULL;
23950 }
23951
23952
23953 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
23954 PyObject *resultobj;
23955 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23956 PyObject * obj0 = 0 ;
23957 char *kwnames[] = {
23958 (char *) "self", NULL
23959 };
23960
23961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
23962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23964 {
23965 PyThreadState* __tstate = wxPyBeginAllowThreads();
23966 (arg1)->base_Initialize();
23967
23968 wxPyEndAllowThreads(__tstate);
23969 if (PyErr_Occurred()) SWIG_fail;
23970 }
23971 Py_INCREF(Py_None); resultobj = Py_None;
23972 return resultobj;
23973 fail:
23974 return NULL;
23975 }
23976
23977
23978 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23979 PyObject *resultobj;
23980 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23981 PyObject * obj0 = 0 ;
23982 char *kwnames[] = {
23983 (char *) "self", NULL
23984 };
23985
23986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
23987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23989 {
23990 PyThreadState* __tstate = wxPyBeginAllowThreads();
23991 (arg1)->base_CreateCanvas();
23992
23993 wxPyEndAllowThreads(__tstate);
23994 if (PyErr_Occurred()) SWIG_fail;
23995 }
23996 Py_INCREF(Py_None); resultobj = Py_None;
23997 return resultobj;
23998 fail:
23999 return NULL;
24000 }
24001
24002
24003 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24004 PyObject *resultobj;
24005 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24006 PyObject * obj0 = 0 ;
24007 char *kwnames[] = {
24008 (char *) "self", NULL
24009 };
24010
24011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
24012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24014 {
24015 PyThreadState* __tstate = wxPyBeginAllowThreads();
24016 (arg1)->base_CreateControlBar();
24017
24018 wxPyEndAllowThreads(__tstate);
24019 if (PyErr_Occurred()) SWIG_fail;
24020 }
24021 Py_INCREF(Py_None); resultobj = Py_None;
24022 return resultobj;
24023 fail:
24024 return NULL;
24025 }
24026
24027
24028 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
24029 PyObject *obj;
24030 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24031 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
24032 Py_INCREF(obj);
24033 return Py_BuildValue((char *)"");
24034 }
24035 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24036 PyObject *resultobj;
24037 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24038 long arg2 ;
24039 wxWindow *arg3 = (wxWindow *) 0 ;
24040 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24041 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24042 wxSize const &arg5_defvalue = wxDefaultSize ;
24043 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24044 long arg6 = (long) 0 ;
24045 wxString const &arg7_defvalue = wxPyPanelNameStr ;
24046 wxString *arg7 = (wxString *) &arg7_defvalue ;
24047 wxPyPreviewControlBar *result;
24048 wxPoint temp4 ;
24049 wxSize temp5 ;
24050 bool temp7 = False ;
24051 PyObject * obj0 = 0 ;
24052 PyObject * obj1 = 0 ;
24053 PyObject * obj2 = 0 ;
24054 PyObject * obj3 = 0 ;
24055 PyObject * obj4 = 0 ;
24056 PyObject * obj5 = 0 ;
24057 PyObject * obj6 = 0 ;
24058 char *kwnames[] = {
24059 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24060 };
24061
24062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24065 arg2 = (long) SWIG_AsLong(obj1);
24066 if (PyErr_Occurred()) SWIG_fail;
24067 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
24068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24069 if (obj3) {
24070 {
24071 arg4 = &temp4;
24072 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24073 }
24074 }
24075 if (obj4) {
24076 {
24077 arg5 = &temp5;
24078 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24079 }
24080 }
24081 if (obj5) {
24082 arg6 = (long) SWIG_AsLong(obj5);
24083 if (PyErr_Occurred()) SWIG_fail;
24084 }
24085 if (obj6) {
24086 {
24087 arg7 = wxString_in_helper(obj6);
24088 if (arg7 == NULL) SWIG_fail;
24089 temp7 = True;
24090 }
24091 }
24092 {
24093 PyThreadState* __tstate = wxPyBeginAllowThreads();
24094 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24095
24096 wxPyEndAllowThreads(__tstate);
24097 if (PyErr_Occurred()) SWIG_fail;
24098 }
24099 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
24100 {
24101 if (temp7)
24102 delete arg7;
24103 }
24104 return resultobj;
24105 fail:
24106 {
24107 if (temp7)
24108 delete arg7;
24109 }
24110 return NULL;
24111 }
24112
24113
24114 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24115 PyObject *resultobj;
24116 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24117 PyObject *arg2 = (PyObject *) 0 ;
24118 PyObject *arg3 = (PyObject *) 0 ;
24119 PyObject * obj0 = 0 ;
24120 PyObject * obj1 = 0 ;
24121 PyObject * obj2 = 0 ;
24122 char *kwnames[] = {
24123 (char *) "self",(char *) "self",(char *) "_class", NULL
24124 };
24125
24126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24129 arg2 = obj1;
24130 arg3 = obj2;
24131 {
24132 PyThreadState* __tstate = wxPyBeginAllowThreads();
24133 (arg1)->_setCallbackInfo(arg2,arg3);
24134
24135 wxPyEndAllowThreads(__tstate);
24136 if (PyErr_Occurred()) SWIG_fail;
24137 }
24138 Py_INCREF(Py_None); resultobj = Py_None;
24139 return resultobj;
24140 fail:
24141 return NULL;
24142 }
24143
24144
24145 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
24146 PyObject *resultobj;
24147 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24148 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
24149 PyObject * obj0 = 0 ;
24150 PyObject * obj1 = 0 ;
24151 char *kwnames[] = {
24152 (char *) "self",(char *) "preview", NULL
24153 };
24154
24155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
24156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24158 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
24159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24160 {
24161 PyThreadState* __tstate = wxPyBeginAllowThreads();
24162 (arg1)->SetPrintPreview(arg2);
24163
24164 wxPyEndAllowThreads(__tstate);
24165 if (PyErr_Occurred()) SWIG_fail;
24166 }
24167 Py_INCREF(Py_None); resultobj = Py_None;
24168 return resultobj;
24169 fail:
24170 return NULL;
24171 }
24172
24173
24174 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
24175 PyObject *resultobj;
24176 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24177 PyObject * obj0 = 0 ;
24178 char *kwnames[] = {
24179 (char *) "self", NULL
24180 };
24181
24182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
24183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24185 {
24186 PyThreadState* __tstate = wxPyBeginAllowThreads();
24187 (arg1)->base_CreateButtons();
24188
24189 wxPyEndAllowThreads(__tstate);
24190 if (PyErr_Occurred()) SWIG_fail;
24191 }
24192 Py_INCREF(Py_None); resultobj = Py_None;
24193 return resultobj;
24194 fail:
24195 return NULL;
24196 }
24197
24198
24199 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
24200 PyObject *resultobj;
24201 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24202 int arg2 ;
24203 PyObject * obj0 = 0 ;
24204 PyObject * obj1 = 0 ;
24205 char *kwnames[] = {
24206 (char *) "self",(char *) "zoom", NULL
24207 };
24208
24209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
24210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24212 arg2 = (int) SWIG_AsInt(obj1);
24213 if (PyErr_Occurred()) SWIG_fail;
24214 {
24215 PyThreadState* __tstate = wxPyBeginAllowThreads();
24216 (arg1)->base_SetZoomControl(arg2);
24217
24218 wxPyEndAllowThreads(__tstate);
24219 if (PyErr_Occurred()) SWIG_fail;
24220 }
24221 Py_INCREF(Py_None); resultobj = Py_None;
24222 return resultobj;
24223 fail:
24224 return NULL;
24225 }
24226
24227
24228 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
24229 PyObject *obj;
24230 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24231 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
24232 Py_INCREF(obj);
24233 return Py_BuildValue((char *)"");
24234 }
24235 static PyMethodDef SwigMethods[] = {
24236 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
24237 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
24238 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
24239 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
24240 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
24241 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24242 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24243 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24244 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
24245 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
24246 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24247 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24248 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
24249 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
24250 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
24251 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
24252 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
24253 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
24254 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
24255 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
24256 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
24257 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
24258 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
24259 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24260 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24261 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
24262 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
24263 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
24264 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
24265 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
24266 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
24267 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
24268 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
24269 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
24270 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
24271 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
24272 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
24273 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
24274 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
24275 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
24276 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
24277 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
24278 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
24279 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
24280 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
24281 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
24282 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
24283 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
24284 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
24285 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
24286 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
24287 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24288 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24289 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24290 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24291 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24292 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24293 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
24294 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
24295 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
24296 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
24297 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
24298 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
24299 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
24300 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
24301 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
24302 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
24303 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
24304 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
24305 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
24306 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
24307 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24308 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
24309 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS },
24310 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
24311 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
24312 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
24313 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
24314 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
24315 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
24316 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
24317 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
24318 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
24319 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
24320 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
24321 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
24322 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
24323 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
24324 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
24325 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
24326 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
24327 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24328 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24329 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24330 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
24331 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24332 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24333 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24334 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
24335 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
24336 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
24337 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
24338 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
24339 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
24340 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
24341 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
24342 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
24343 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
24344 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
24345 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
24346 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
24347 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
24348 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
24349 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
24350 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
24351 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS },
24352 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
24353 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
24354 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
24355 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
24356 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
24357 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24358 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24359 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24360 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24361 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24362 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24363 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24364 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24365 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
24366 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
24367 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24368 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24369 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
24370 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
24371 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
24372 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
24373 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
24374 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
24375 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
24376 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
24377 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
24378 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
24379 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
24380 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
24381 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24382 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24383 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24384 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24385 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24386 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24387 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24388 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24389 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24390 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24391 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24392 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24393 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24394 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24395 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
24396 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
24397 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
24398 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
24399 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
24400 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
24401 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
24402 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
24403 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
24404 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
24405 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24406 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24407 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24408 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24409 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
24410 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
24411 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24412 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24413 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
24414 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
24415 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
24416 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
24417 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24418 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24419 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
24420 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
24421 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
24422 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
24423 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
24424 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
24425 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
24426 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24427 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
24428 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
24429 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24430 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
24431 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
24432 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
24433 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
24434 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
24435 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
24436 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
24437 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
24438 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
24439 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
24440 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
24441 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
24442 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
24443 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
24444 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24445 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
24446 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
24447 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
24448 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
24449 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
24450 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
24451 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
24452 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24453 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24454 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24455 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24456 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
24457 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
24458 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
24459 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
24460 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
24461 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
24462 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
24463 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
24464 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
24465 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
24466 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
24467 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
24468 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
24469 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
24470 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
24471 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
24472 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24473 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
24474 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
24475 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
24476 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
24477 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
24478 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
24479 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
24480 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
24481 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
24482 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
24483 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
24484 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
24485 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
24486 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
24487 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
24488 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
24489 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
24490 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
24491 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
24492 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
24493 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
24494 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
24495 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
24496 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
24497 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
24498 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24499 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
24500 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
24501 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
24502 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
24503 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
24504 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
24505 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS },
24506 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
24507 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
24508 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
24509 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
24510 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
24511 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
24512 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
24513 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
24514 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
24515 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
24516 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
24517 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
24518 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
24519 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
24520 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
24521 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
24522 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
24523 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
24524 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
24525 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
24526 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
24527 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
24528 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
24529 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
24530 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
24531 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
24532 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
24533 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
24534 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
24535 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
24536 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
24537 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
24538 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
24539 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
24540 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
24541 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
24542 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
24543 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
24544 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
24545 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
24546 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
24547 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
24548 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
24549 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
24550 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
24551 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
24552 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
24553 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
24554 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
24555 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
24556 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
24557 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
24558 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
24559 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
24560 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
24561 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
24562 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
24563 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
24564 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
24565 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
24566 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
24567 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
24568 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
24569 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
24570 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
24571 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
24572 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
24573 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
24574 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
24575 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
24576 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
24577 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
24578 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
24579 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
24580 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
24581 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
24582 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
24583 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
24584 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
24585 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
24586 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
24587 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
24588 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
24589 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24590 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
24591 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
24592 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
24593 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24594 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
24595 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
24596 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
24597 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
24598 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
24599 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
24600 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
24601 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
24602 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
24603 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
24604 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
24605 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
24606 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
24607 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
24608 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
24609 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
24610 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
24611 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
24612 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
24613 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
24614 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
24615 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
24616 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
24617 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
24618 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
24619 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
24620 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
24621 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
24622 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
24623 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
24624 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
24625 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
24626 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
24627 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
24628 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
24629 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
24630 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
24631 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
24632 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
24633 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
24634 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
24635 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
24636 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS },
24637 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24638 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24639 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24640 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24641 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24642 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24643 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24644 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24645 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24646 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24647 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24648 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24649 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24650 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
24651 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24652 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24653 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24654 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24655 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
24656 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24657 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
24658 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
24659 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
24660 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS },
24661 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24662 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24663 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24664 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24665 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24666 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24667 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24668 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24669 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24670 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24671 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24672 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24673 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24674 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
24675 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24676 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24677 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24678 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24679 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
24680 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24681 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
24682 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
24683 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24684 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24685 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24686 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24687 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24688 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24689 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24690 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24691 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24692 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24693 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24694 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24695 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24696 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24697 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24698 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
24699 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24700 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24701 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24702 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24703 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
24704 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24705 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
24706 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS },
24707 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
24708 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
24709 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
24710 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
24711 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24712 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
24713 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
24714 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
24715 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
24716 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
24717 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
24718 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
24719 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
24720 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
24721 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24722 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
24723 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
24724 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
24725 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
24726 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
24727 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
24728 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
24729 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
24730 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
24731 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
24732 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
24733 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
24734 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
24735 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
24736 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
24737 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
24738 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
24739 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
24740 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
24741 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
24742 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
24743 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
24744 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
24745 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
24746 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
24747 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
24748 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
24749 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
24750 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
24751 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS },
24752 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
24753 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
24754 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
24755 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
24756 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
24757 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
24758 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
24759 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
24760 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
24761 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
24762 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
24763 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
24764 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
24765 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
24766 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
24767 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24768 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24769 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24770 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24771 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
24772 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
24773 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
24774 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
24775 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
24776 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
24777 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24778 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24779 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24780 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24781 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
24782 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
24783 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
24784 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
24785 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
24786 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
24787 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24788 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
24789 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS },
24790 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
24791 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
24792 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
24793 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
24794 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
24795 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
24796 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
24797 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
24798 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
24799 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
24800 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
24801 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
24802 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
24803 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
24804 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
24805 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
24806 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
24807 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
24808 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
24809 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
24810 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
24811 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
24812 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
24813 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
24814 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
24815 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
24816 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
24817 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
24818 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
24819 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
24820 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
24821 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
24822 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
24823 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
24824 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
24825 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
24826 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24827 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
24828 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
24829 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
24830 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
24831 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
24832 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
24833 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
24834 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
24835 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
24836 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
24837 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
24838 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
24839 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
24840 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24841 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
24842 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
24843 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
24844 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
24845 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
24846 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
24847 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
24848 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
24849 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
24850 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
24851 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
24852 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
24853 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
24854 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
24855 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
24856 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
24857 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
24858 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
24859 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
24860 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
24861 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
24862 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
24863 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
24864 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
24865 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
24866 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
24867 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
24868 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
24869 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
24870 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
24871 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
24872 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
24873 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
24874 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
24875 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
24876 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
24877 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
24878 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
24879 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
24880 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS },
24881 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
24882 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
24883 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
24884 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
24885 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
24886 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
24887 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
24888 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
24889 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
24890 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
24891 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
24892 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
24893 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
24894 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
24895 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
24896 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
24897 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
24898 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
24899 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
24900 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
24901 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
24902 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
24903 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
24904 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS },
24905 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24906 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
24907 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
24908 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
24909 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
24910 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
24911 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
24912 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
24913 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
24914 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
24915 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24916 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
24917 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
24918 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
24919 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
24920 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
24921 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
24922 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
24923 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24924 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
24925 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
24926 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
24927 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
24928 { NULL, NULL }
24929 };
24930
24931
24932 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
24933
24934 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
24935 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
24936 }
24937 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
24938 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
24939 }
24940 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
24941 return (void *)((wxEvent *) ((wxMenuEvent *) x));
24942 }
24943 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
24944 return (void *)((wxEvent *) ((wxCloseEvent *) x));
24945 }
24946 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
24947 return (void *)((wxEvent *) ((wxMouseEvent *) x));
24948 }
24949 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
24950 return (void *)((wxEvent *) ((wxEraseEvent *) x));
24951 }
24952 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
24953 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
24954 }
24955 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
24956 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
24957 }
24958 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
24959 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
24960 }
24961 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
24962 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
24963 }
24964 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
24965 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
24966 }
24967 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
24968 return (void *)((wxEvent *) ((wxPyEvent *) x));
24969 }
24970 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
24971 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
24972 }
24973 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
24974 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
24975 }
24976 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
24977 return (void *)((wxEvent *) ((wxIdleEvent *) x));
24978 }
24979 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
24980 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
24981 }
24982 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
24983 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
24984 }
24985 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
24986 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
24987 }
24988 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
24989 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
24990 }
24991 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
24992 return (void *)((wxEvent *) ((wxActivateEvent *) x));
24993 }
24994 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
24995 return (void *)((wxEvent *) ((wxSizeEvent *) x));
24996 }
24997 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
24998 return (void *)((wxEvent *) ((wxMoveEvent *) x));
24999 }
25000 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25001 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25002 }
25003 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25004 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25005 }
25006 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25007 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25008 }
25009 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25010 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25011 }
25012 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25013 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25014 }
25015 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25016 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25017 }
25018 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25019 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25020 }
25021 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25022 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25023 }
25024 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25025 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25026 }
25027 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25028 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25029 }
25030 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
25031 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
25032 }
25033 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
25034 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25035 }
25036 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25037 return (void *)((wxEvent *) ((wxShowEvent *) x));
25038 }
25039 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25040 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25041 }
25042 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25043 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25044 }
25045 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25046 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25047 }
25048 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25049 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25050 }
25051 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25052 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25053 }
25054 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25055 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25056 }
25057 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
25058 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
25059 }
25060 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
25061 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
25062 }
25063 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
25064 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25065 }
25066 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
25067 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25068 }
25069 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
25070 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25071 }
25072 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25073 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25074 }
25075 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25076 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25077 }
25078 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25079 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25080 }
25081 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
25082 return (void *)((wxEvtHandler *) ((wxMenu *) x));
25083 }
25084 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
25085 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25086 }
25087 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
25088 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25089 }
25090 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
25091 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25092 }
25093 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
25094 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25095 }
25096 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
25097 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25098 }
25099 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
25100 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25101 }
25102 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
25103 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25104 }
25105 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
25106 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
25107 }
25108 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
25109 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
25110 }
25111 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
25112 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25113 }
25114 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
25115 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25116 }
25117 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
25118 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25119 }
25120 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
25121 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
25122 }
25123 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
25124 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25125 }
25126 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
25127 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
25128 }
25129 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
25130 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
25131 }
25132 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
25133 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
25134 }
25135 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
25136 return (void *)((wxEvtHandler *) ((wxWindow *) x));
25137 }
25138 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
25139 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25140 }
25141 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
25142 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
25143 }
25144 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
25145 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
25146 }
25147 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
25148 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25149 }
25150 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
25151 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
25152 }
25153 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
25154 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25155 }
25156 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
25157 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25158 }
25159 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
25160 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25161 }
25162 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
25163 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
25164 }
25165 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
25166 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25167 }
25168 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
25169 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
25170 }
25171 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
25172 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25173 }
25174 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
25175 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25176 }
25177 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
25178 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25179 }
25180 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
25181 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25182 }
25183 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
25184 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25185 }
25186 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
25187 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
25188 }
25189 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
25190 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25191 }
25192 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
25193 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25194 }
25195 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
25196 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25197 }
25198 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
25199 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25200 }
25201 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
25202 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25203 }
25204 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
25205 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25206 }
25207 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
25208 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25209 }
25210 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
25211 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25212 }
25213 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
25214 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
25215 }
25216 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
25217 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
25218 }
25219 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
25220 return (void *)((wxFrame *) ((wxProgressDialog *) x));
25221 }
25222 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
25223 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
25224 }
25225 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
25226 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25227 }
25228 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
25229 return (void *)((wxFrame *) ((wxMiniFrame *) x));
25230 }
25231 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
25232 return (void *)((wxFrame *) ((wxSplashScreen *) x));
25233 }
25234 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
25235 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
25236 }
25237 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
25238 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
25239 }
25240 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
25241 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25242 }
25243 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
25244 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25245 }
25246 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
25247 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25248 }
25249 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
25250 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
25251 }
25252 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
25253 return (void *)((wxObject *) ((wxSizerItem *) x));
25254 }
25255 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
25256 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
25257 }
25258 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
25259 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
25260 }
25261 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
25262 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
25263 }
25264 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
25265 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
25266 }
25267 static void *_p_wxSizerTo_p_wxObject(void *x) {
25268 return (void *)((wxObject *) ((wxSizer *) x));
25269 }
25270 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
25271 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
25272 }
25273 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
25274 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
25275 }
25276 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
25277 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25278 }
25279 static void *_p_wxEventTo_p_wxObject(void *x) {
25280 return (void *)((wxObject *) ((wxEvent *) x));
25281 }
25282 static void *_p_wxFontDataTo_p_wxObject(void *x) {
25283 return (void *)((wxObject *) ((wxFontData *) x));
25284 }
25285 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
25286 return (void *)((wxObject *) ((wxPrintData *) x));
25287 }
25288 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
25289 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
25290 }
25291 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
25292 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
25293 }
25294 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
25295 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
25296 }
25297 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
25298 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
25299 }
25300 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
25301 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
25302 }
25303 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
25304 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
25305 }
25306 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
25307 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
25308 }
25309 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
25310 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
25311 }
25312 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
25313 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
25314 }
25315 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
25316 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
25317 }
25318 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
25319 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25320 }
25321 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
25322 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
25323 }
25324 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
25325 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25326 }
25327 static void *_p_wxControlTo_p_wxObject(void *x) {
25328 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
25329 }
25330 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
25331 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
25332 }
25333 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
25334 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25335 }
25336 static void *_p_wxFSFileTo_p_wxObject(void *x) {
25337 return (void *)((wxObject *) ((wxFSFile *) x));
25338 }
25339 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
25340 return (void *)((wxObject *) ((wxFindReplaceData *) x));
25341 }
25342 static void *_p_wxPySizerTo_p_wxObject(void *x) {
25343 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
25344 }
25345 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
25346 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25347 }
25348 static void *_p_wxColourDataTo_p_wxObject(void *x) {
25349 return (void *)((wxObject *) ((wxColourData *) x));
25350 }
25351 static void *_p_wxPyEventTo_p_wxObject(void *x) {
25352 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
25353 }
25354 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
25355 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
25356 }
25357 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
25358 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
25359 }
25360 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
25361 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25362 }
25363 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
25364 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25365 }
25366 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
25367 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25368 }
25369 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
25370 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25371 }
25372 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
25373 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25374 }
25375 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
25376 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25377 }
25378 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
25379 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25380 }
25381 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
25382 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25383 }
25384 static void *_p_wxShowEventTo_p_wxObject(void *x) {
25385 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
25386 }
25387 static void *_p_wxPrinterTo_p_wxObject(void *x) {
25388 return (void *)((wxObject *) ((wxPrinter *) x));
25389 }
25390 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
25391 return (void *)((wxObject *) ((wxMenuItem *) x));
25392 }
25393 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
25394 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
25395 }
25396 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
25397 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
25398 }
25399 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
25400 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
25401 }
25402 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
25403 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
25404 }
25405 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
25406 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
25407 }
25408 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
25409 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
25410 }
25411 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
25412 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
25413 }
25414 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
25415 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
25416 }
25417 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
25418 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
25419 }
25420 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
25421 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
25422 }
25423 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
25424 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
25425 }
25426 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
25427 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
25428 }
25429 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
25430 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
25431 }
25432 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
25433 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
25434 }
25435 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
25436 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
25437 }
25438 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
25439 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
25440 }
25441 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
25442 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
25443 }
25444 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
25445 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
25446 }
25447 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
25448 return (void *)((wxObject *) ((wxImageHandler *) x));
25449 }
25450 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
25451 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
25452 }
25453 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
25454 return (void *)((wxObject *) ((wxEvtHandler *) x));
25455 }
25456 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
25457 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
25458 }
25459 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
25460 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25461 }
25462 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
25463 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25464 }
25465 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
25466 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
25467 }
25468 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
25469 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25470 }
25471 static void *_p_wxImageTo_p_wxObject(void *x) {
25472 return (void *)((wxObject *) ((wxImage *) x));
25473 }
25474 static void *_p_wxFrameTo_p_wxObject(void *x) {
25475 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25476 }
25477 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
25478 return (void *)((wxObject *) ((wxPyPrintout *) x));
25479 }
25480 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
25481 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
25482 }
25483 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
25484 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
25485 }
25486 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
25487 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
25488 }
25489 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
25490 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25491 }
25492 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
25493 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25494 }
25495 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
25496 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
25497 }
25498 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
25499 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
25500 }
25501 static void *_p_wxWindowTo_p_wxObject(void *x) {
25502 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
25503 }
25504 static void *_p_wxMenuTo_p_wxObject(void *x) {
25505 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
25506 }
25507 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
25508 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
25509 }
25510 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
25511 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25512 }
25513 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
25514 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
25515 }
25516 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
25517 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
25518 }
25519 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
25520 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
25521 }
25522 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
25523 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
25524 }
25525 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
25526 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25527 }
25528 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
25529 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
25530 }
25531 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
25532 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25533 }
25534 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
25535 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25536 }
25537 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
25538 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25539 }
25540 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
25541 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
25542 }
25543 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
25544 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25545 }
25546 static void *_p_wxSashEventTo_p_wxObject(void *x) {
25547 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
25548 }
25549 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
25550 return (void *)((wxObject *) ((wxPrintPreview *) x));
25551 }
25552 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
25553 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
25554 }
25555 static void *_p_wxPanelTo_p_wxObject(void *x) {
25556 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
25557 }
25558 static void *_p_wxDialogTo_p_wxObject(void *x) {
25559 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25560 }
25561 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
25562 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25563 }
25564 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
25565 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25566 }
25567 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
25568 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25569 }
25570 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
25571 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25572 }
25573 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
25574 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25575 }
25576 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
25577 return (void *)((wxObject *) ((wxFileSystem *) x));
25578 }
25579 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
25580 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
25581 }
25582 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
25583 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
25584 }
25585 static void *_p_wxPyAppTo_p_wxObject(void *x) {
25586 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
25587 }
25588 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
25589 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
25590 }
25591 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
25592 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
25593 }
25594 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
25595 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
25596 }
25597 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
25598 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
25599 }
25600 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
25601 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
25602 }
25603 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
25604 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25605 }
25606 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
25607 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25608 }
25609 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
25610 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
25611 }
25612 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
25613 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
25614 }
25615 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
25616 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
25617 }
25618 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
25619 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25620 }
25621 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
25622 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
25623 }
25624 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
25625 return (void *)((wxObject *) ((wxPrintDialogData *) x));
25626 }
25627 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
25628 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
25629 }
25630 static void *_p_wxValidatorTo_p_wxObject(void *x) {
25631 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
25632 }
25633 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
25634 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25635 }
25636 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
25637 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
25638 }
25639 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
25640 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25641 }
25642 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
25643 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25644 }
25645 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
25646 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25647 }
25648 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
25649 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
25650 }
25651 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
25652 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
25653 }
25654 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
25655 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
25656 }
25657 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
25658 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
25659 }
25660 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
25661 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
25662 }
25663 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
25664 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
25665 }
25666 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
25667 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
25668 }
25669 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
25670 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
25671 }
25672 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
25673 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
25674 }
25675 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
25676 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
25677 }
25678 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
25679 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
25680 }
25681 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
25682 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
25683 }
25684 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
25685 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
25686 }
25687 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
25688 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
25689 }
25690 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
25691 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
25692 }
25693 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
25694 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
25695 }
25696 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
25697 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
25698 }
25699 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
25700 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
25701 }
25702 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
25703 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
25704 }
25705 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
25706 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
25707 }
25708 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
25709 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25710 }
25711 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
25712 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25713 }
25714 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
25715 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25716 }
25717 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
25718 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
25719 }
25720 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
25721 return (void *)((wxWindow *) ((wxMenuBar *) x));
25722 }
25723 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
25724 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25725 }
25726 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
25727 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25728 }
25729 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
25730 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25731 }
25732 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
25733 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25734 }
25735 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
25736 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25737 }
25738 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
25739 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25740 }
25741 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
25742 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25743 }
25744 static void *_p_wxPanelTo_p_wxWindow(void *x) {
25745 return (void *)((wxWindow *) ((wxPanel *) x));
25746 }
25747 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
25748 return (void *)((wxWindow *) ((wxStatusBar *) x));
25749 }
25750 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
25751 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
25752 }
25753 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
25754 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
25755 }
25756 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
25757 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25758 }
25759 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
25760 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25761 }
25762 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
25763 return (void *)((wxWindow *) ((wxPopupWindow *) x));
25764 }
25765 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
25766 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
25767 }
25768 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
25769 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
25770 }
25771 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
25772 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
25773 }
25774 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
25775 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
25776 }
25777 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
25778 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
25779 }
25780 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
25781 return (void *)((wxWindow *) ((wxSashWindow *) x));
25782 }
25783 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
25784 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25785 }
25786 static void *_p_wxControlTo_p_wxWindow(void *x) {
25787 return (void *)((wxWindow *) ((wxControl *) x));
25788 }
25789 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
25790 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25791 }
25792 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
25793 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25794 }
25795 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
25796 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25797 }
25798 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
25799 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
25800 }
25801 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
25802 return (void *)((wxWindow *) ((wxPyWindow *) x));
25803 }
25804 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
25805 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25806 }
25807 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
25808 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25809 }
25810 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
25811 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25812 }
25813 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
25814 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
25815 }
25816 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
25817 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25818 }
25819 static void *_p_wxFrameTo_p_wxWindow(void *x) {
25820 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
25821 }
25822 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
25823 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25824 }
25825 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
25826 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25827 }
25828 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
25829 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25830 }
25831 static void *_p_wxDialogTo_p_wxWindow(void *x) {
25832 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
25833 }
25834 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
25835 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25836 }
25837 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
25838 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25839 }
25840 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
25841 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25842 }
25843 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
25844 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25845 }
25846 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
25847 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
25848 }
25849 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
25850 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
25851 }
25852 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
25853 return (void *)((wxDialog *) ((wxColourDialog *) x));
25854 }
25855 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
25856 return (void *)((wxDialog *) ((wxDirDialog *) x));
25857 }
25858 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
25859 return (void *)((wxDialog *) ((wxFontDialog *) x));
25860 }
25861 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
25862 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
25863 }
25864 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
25865 return (void *)((wxDialog *) ((wxPrintDialog *) x));
25866 }
25867 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
25868 return (void *)((wxDialog *) ((wxFileDialog *) x));
25869 }
25870 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
25871 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
25872 }
25873 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
25874 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
25875 }
25876 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
25877 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
25878 }
25879 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
25880 return (void *)((wxDialog *) ((wxMessageDialog *) x));
25881 }
25882 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
25883 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
25884 }
25885 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
25886 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
25887 }
25888 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
25889 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
25890 }
25891 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
25892 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25893 }
25894 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
25895 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25896 }
25897 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
25898 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25899 }
25900 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
25901 return (void *)((wxPanel *) ((wxPyPanel *) x));
25902 }
25903 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
25904 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
25905 }
25906 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
25907 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
25908 }
25909 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
25910 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25911 }
25912 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
25913 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
25914 }
25915 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
25916 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
25917 }
25918 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
25919 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
25920 }
25921 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
25922 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
25923 }
25924 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
25925 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
25926 }
25927 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
25928 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25929 }
25930 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
25931 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
25932 }
25933 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
25934 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
25935 }
25936 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
25937 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
25938 }
25939 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
25940 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
25941 }
25942 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
25943 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
25944 }
25945 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
25946 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25947 }
25948 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}};
25949 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}};
25950 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}};
25951 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}};
25952 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}};
25953 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}};
25954 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}};
25955 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}};
25956 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}};
25957 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}};
25958 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}};
25959 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}};
25960 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}};
25961 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}};
25962 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}};
25963 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}};
25964 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}};
25965 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}};
25966 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}};
25967 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}};
25968 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}};
25969 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}};
25970 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}};
25971 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}};
25972 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}};
25973 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}};
25974 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}};
25975 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}};
25976 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}};
25977 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}};
25978 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}};
25979 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}};
25980 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}};
25981 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}};
25982 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}};
25983 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}};
25984 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}};
25985 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}};
25986 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}};
25987 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}};
25988 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}};
25989 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}};
25990 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}};
25991 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}};
25992 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}};
25993 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}};
25994 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}};
25995 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}};
25996 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}};
25997 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}};
25998 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}};
25999 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}};
26000 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}};
26001 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}};
26002 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}};
26003 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}};
26004 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}};
26005 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}};
26006 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}};
26007 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}};
26008 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}};
26009 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}};
26010 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}};
26011 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}};
26012 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}};
26013 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}};
26014 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}};
26015 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}};
26016 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}};
26017 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}};
26018 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}};
26019 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}};
26020 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}};
26021 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}};
26022 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}};
26023 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}};
26024 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}};
26025 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}};
26026 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}};
26027 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}};
26028 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}};
26029 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}};
26030 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}};
26031 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}};
26032 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}};
26033
26034 static swig_type_info *swig_types_initial[] = {
26035 _swigt__p_wxQueryLayoutInfoEvent,
26036 _swigt__p_wxPreviewFrame,
26037 _swigt__p_wxPyPreviewFrame,
26038 _swigt__p_wxPyPanel,
26039 _swigt__p_wxMenu,
26040 _swigt__p_wxPrintData,
26041 _swigt__p_wxFontData,
26042 _swigt__p_wxEvent,
26043 _swigt__p_wxTaskBarIcon,
26044 _swigt__p_wxIconBundle,
26045 _swigt__p_wxLayoutAlgorithm,
26046 _swigt__p_wxFindDialogEvent,
26047 _swigt__p_wxPreviewCanvas,
26048 _swigt__p_wxFont,
26049 _swigt__p_wxSplitterEvent,
26050 _swigt__p_wxRegion,
26051 _swigt__p_wxFindReplaceData,
26052 _swigt__p_int,
26053 _swigt__p_wxSize,
26054 _swigt__p_wxDC,
26055 _swigt__p_wxIcon,
26056 _swigt__p_wxMDIChildFrame,
26057 _swigt__p_wxColourData,
26058 _swigt__p_wxNotifyEvent,
26059 _swigt__p_wxPyWindow,
26060 _swigt__p_wxSplashScreen,
26061 _swigt__p_wxFindReplaceDialog,
26062 _swigt__p_wxProgressDialog,
26063 _swigt__p_wxMessageDialog,
26064 _swigt__p_wxTextEntryDialog,
26065 _swigt__p_wxSingleChoiceDialog,
26066 _swigt__p_wxMultiChoiceDialog,
26067 _swigt__p_wxFileDialog,
26068 _swigt__p_wxPrinter,
26069 _swigt__p_wxArrayInt,
26070 _swigt__p_wxEvtHandler,
26071 _swigt__p_wxCalculateLayoutEvent,
26072 _swigt__p_wxPyHtmlListBox,
26073 _swigt__p_wxPyVListBox,
26074 _swigt__p_wxRect,
26075 _swigt__p_char,
26076 _swigt__p_wxMiniFrame,
26077 _swigt__p_wxFrame,
26078 _swigt__p_wxPyPrintout,
26079 _swigt__p_wxTaskBarIconEvent,
26080 _swigt__p_wxScrollWinEvent,
26081 _swigt__p_wxStatusBar,
26082 _swigt__p_wxMDIParentFrame,
26083 _swigt__p_wxPoint,
26084 _swigt__p_wxObject,
26085 _swigt__p_wxOutputStream,
26086 _swigt__p_unsigned_long,
26087 _swigt__p_wxPyScrolledWindow,
26088 _swigt__p_wxMDIClientWindow,
26089 _swigt__p_wxTipWindow,
26090 _swigt__p_wxSashLayoutWindow,
26091 _swigt__p_wxSplitterWindow,
26092 _swigt__p_wxPyVScrolledWindow,
26093 _swigt__p_wxPyPopupTransientWindow,
26094 _swigt__p_wxPopupWindow,
26095 _swigt__p_wxSashWindow,
26096 _swigt__p_wxTopLevelWindow,
26097 _swigt__p_wxWindow,
26098 _swigt__p_wxScrolledWindow,
26099 _swigt__p_wxSplashScreenWindow,
26100 _swigt__p_wxMenuBar,
26101 _swigt__p_wxPrintPreview,
26102 _swigt__p_wxSashEvent,
26103 _swigt__p_wxString,
26104 _swigt__p_wxPyPrintPreview,
26105 _swigt__p_wxFontDialog,
26106 _swigt__p_wxDirDialog,
26107 _swigt__p_wxColourDialog,
26108 _swigt__p_wxDialog,
26109 _swigt__p_wxPanel,
26110 _swigt__p_wxPageSetupDialog,
26111 _swigt__p_wxPrintDialog,
26112 _swigt__p_wxBitmap,
26113 _swigt__p_wxCommandEvent,
26114 _swigt__p_wxPreviewControlBar,
26115 _swigt__p_wxPyPreviewControlBar,
26116 _swigt__p_wxColour,
26117 _swigt__p_wxToolBar,
26118 _swigt__p_wxPageSetupDialogData,
26119 _swigt__p_wxPrintDialogData,
26120 0
26121 };
26122
26123
26124 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26125
26126 static swig_const_info swig_const_table[] = {
26127 {0}};
26128
26129 #ifdef __cplusplus
26130 }
26131 #endif
26132
26133 #ifdef __cplusplus
26134 extern "C"
26135 #endif
26136 SWIGEXPORT(void) SWIG_init(void) {
26137 static PyObject *SWIG_globals = 0;
26138 static int typeinit = 0;
26139 PyObject *m, *d;
26140 int i;
26141 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
26142 m = Py_InitModule((char *) SWIG_name, SwigMethods);
26143 d = PyModule_GetDict(m);
26144
26145 if (!typeinit) {
26146 for (i = 0; swig_types_initial[i]; i++) {
26147 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
26148 }
26149 typeinit = 1;
26150 }
26151 SWIG_InstallConstants(d,swig_const_table);
26152
26153 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
26154 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
26155 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
26156 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
26157 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
26158 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR));
26159 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR));
26160 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR));
26161 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER));
26162 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION));
26163 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL));
26164 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG));
26165 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT));
26166 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN));
26167 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE));
26168 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT));
26169 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT));
26170 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
26171 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER));
26172 PyDict_SetItemString(d,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH));
26173 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT));
26174 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE));
26175 PyDict_SetItemString(d,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH));
26176 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER));
26177 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME));
26178 PyDict_SetItemString(d,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER));
26179 PyDict_SetItemString(d,"SP_3D", SWIG_FromInt((int)wxSP_3D));
26180 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL));
26181 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL));
26182 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE));
26183 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING));
26184 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN));
26185 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
26186 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
26187 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
26188 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
26189 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
26190 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
26191 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE));
26192 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING));
26193 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN));
26194 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER));
26195 PyDict_SetItemString(d,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER));
26196 PyDict_SetItemString(d,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH));
26197 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER));
26198 PyDict_SetItemString(d,"SW_3D", SWIG_FromInt((int)wxSW_3D));
26199 PyDict_SetItemString(d,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP));
26200 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT));
26201 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM));
26202 PyDict_SetItemString(d,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT));
26203 PyDict_SetItemString(d,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE));
26204 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK));
26205 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE));
26206 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
26207 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL));
26208 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL));
26209 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE));
26210 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP));
26211 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT));
26212 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT));
26213 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM));
26214 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y));
26215 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X));
26216 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH));
26217 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY));
26218 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
26219 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
26220 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
26221
26222 // Map renamed classes back to their common name for OOR
26223 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26224 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26225 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26226
26227 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
26228 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
26229 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
26230 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
26231 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
26232 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
26233 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
26234 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
26235 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
26236 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
26237 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
26238 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
26239 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
26240 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE));
26241 PyDict_SetItemString(d,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN));
26242 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD));
26243 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE));
26244 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG));
26245 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN));
26246 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE));
26247 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD));
26248 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
26249 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
26250 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
26251 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
26252 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
26253 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26254 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26255 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26256 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26257 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26258 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26259 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26260 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26261 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
26262 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
26263 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE));
26264 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW));
26265 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE));
26266 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER));
26267 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM));
26268 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR));
26269 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED));
26270 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR));
26271 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT));
26272 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS));
26273 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT));
26274 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM));
26275 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST));
26276 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST));
26277 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO));
26278 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT));
26279 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE));
26280 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT));
26281 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS));
26282 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT));
26283 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM));
26284 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST));
26285 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST));
26286 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO));
26287
26288 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
26289
26290 }
26291