]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/windows_wrap.cpp
Updates for STCStyleEditor
[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_wxMDIClientWindow swig_types[52]
262 #define SWIGTYPE_p_wxTipWindow swig_types[53]
263 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[54]
264 #define SWIGTYPE_p_wxSplitterWindow swig_types[55]
265 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[56]
266 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[57]
267 #define SWIGTYPE_p_wxPopupWindow swig_types[58]
268 #define SWIGTYPE_p_wxSashWindow swig_types[59]
269 #define SWIGTYPE_p_wxTopLevelWindow swig_types[60]
270 #define SWIGTYPE_p_wxWindow swig_types[61]
271 #define SWIGTYPE_p_wxScrolledWindow swig_types[62]
272 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[63]
273 #define SWIGTYPE_p_wxMenuBar swig_types[64]
274 #define SWIGTYPE_p_wxPrintPreview swig_types[65]
275 #define SWIGTYPE_p_wxSashEvent swig_types[66]
276 #define SWIGTYPE_p_wxString swig_types[67]
277 #define SWIGTYPE_p_wxPyPrintPreview swig_types[68]
278 #define SWIGTYPE_p_wxFontDialog swig_types[69]
279 #define SWIGTYPE_p_wxDirDialog swig_types[70]
280 #define SWIGTYPE_p_wxColourDialog swig_types[71]
281 #define SWIGTYPE_p_wxDialog swig_types[72]
282 #define SWIGTYPE_p_wxPanel swig_types[73]
283 #define SWIGTYPE_p_wxPageSetupDialog swig_types[74]
284 #define SWIGTYPE_p_wxPrintDialog swig_types[75]
285 #define SWIGTYPE_p_wxBitmap swig_types[76]
286 #define SWIGTYPE_p_wxCommandEvent swig_types[77]
287 #define SWIGTYPE_p_wxPreviewControlBar swig_types[78]
288 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[79]
289 #define SWIGTYPE_p_wxColour swig_types[80]
290 #define SWIGTYPE_p_wxToolBar swig_types[81]
291 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[82]
292 #define SWIGTYPE_p_wxPrintDialogData swig_types[83]
293 static swig_type_info *swig_types[85];
294
295 /* -------- TYPES TABLE (END) -------- */
296
297
298 /*-----------------------------------------------
299 @(target):= _windows.so
300 ------------------------------------------------*/
301 #define SWIG_init init_windows
302
303 #define SWIG_name "_windows"
304
305 /* Auxiliar swig macros */
306
307 #ifdef __cplusplus
308 #define SWIGSTATICINLINE(a) static inline a
309 #define SWIGSTATIC(a) static a
310 #define swig_new_array(type, size) (new type[(size)])
311 #define swig_delete_array(cptr) delete[] cptr
312 #define swig_const_cast(type,a) const_cast<type>(a)
313 #define swig_static_cast(type,a) static_cast<type>(a)
314 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
315
316 #ifdef HAVE_NUMERIC_CAST
317 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
318 #else
319 #define swig_numeric_cast(type,a) static_cast<type>(a)
320 #endif
321
322 #else /* C case */
323
324 #define SWIGSTATICINLINE(a) static a
325 #define SWIGSTATIC(a) static a
326 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
327 #define swig_delete_array(cptr) free((char*)cptr)
328 #define swig_const_cast(type,a) (type)(a)
329 #define swig_static_cast(type,a) (type)(a)
330 #define swig_reinterpret_cast(type,a) (type)(a)
331 #define swig_numeric_cast(type,a) (type)(a)
332
333 #endif /* __cplusplus */
334
335
336 #define SWIG_FromSignedChar PyInt_FromLong
337 #define SWIG_FromUnsignedChar PyInt_FromLong
338 #define SWIG_FromShort PyInt_FromLong
339 #define SWIG_FromUnsignedShort PyInt_FromLong
340 #define SWIG_FromInt PyInt_FromLong
341 #define SWIG_FromLong PyInt_FromLong
342 #define SWIG_FromFloat PyFloat_FromDouble
343 #define SWIG_FromDouble PyFloat_FromDouble
344 #define SWIG_FromFloat PyFloat_FromDouble
345 #define SWIG_FromDouble PyFloat_FromDouble
346
347
348 #include "wx/wxPython/wxPython.h"
349 #include "wx/wxPython/pyclasses.h"
350
351
352 static const wxString wxPyEmptyString(wxEmptyString);
353 static const wxString wxPyPanelNameStr(wxPanelNameStr);
354
355
356
357 #include <limits.h>
358
359
360 SWIGSTATICINLINE(long)
361 SWIG_CheckLongInRange(long value, const char* type,
362 long min_value, long max_value)
363 {
364 if (!PyErr_Occurred()) {
365 if (value < min_value) {
366 PyObject *err =
367 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
368 value, type, min_value);
369
370 PyErr_SetObject(PyExc_OverflowError, err);
371 Py_DECREF(err);
372 } else if (value > max_value) {
373 PyObject *err =
374 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
375 value, type, max_value);
376 PyErr_SetObject(PyExc_OverflowError, err);
377 Py_DECREF(err);
378 }
379 }
380 return value;
381 }
382
383
384 SWIGSTATICINLINE(long)
385 SWIG_AsLong(PyObject * obj)
386 {
387 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
388 }
389
390
391 #if INT_MAX != LONG_MAX
392 SWIGSTATICINLINE(int)
393 SWIG_AsInt(PyObject *obj)
394 {
395 return swig_numeric_cast(int,
396 SWIG_CheckLongInRange(SWIG_AsLong(obj),
397 "int", INT_MIN, INT_MAX));
398 }
399 #else
400 #define SWIG_AsInt SWIG_AsLong
401 #endif
402
403
404 SWIGSTATICINLINE(int)
405 SWIG_CheckInt(PyObject* obj)
406 {
407 SWIG_AsInt(obj);
408 if (PyErr_Occurred()) {
409 PyErr_Clear();
410 return 0;
411 } else {
412 return 1;
413 }
414 }
415
416
417 SWIGSTATICINLINE(int)
418 SWIG_CheckLong(PyObject* obj)
419 {
420 SWIG_AsLong(obj);
421 if (PyErr_Occurred()) {
422 PyErr_Clear();
423 return 0;
424 } else {
425 return 1;
426 }
427 }
428
429
430 SWIGSTATICINLINE(bool)
431 SWIG_AsBool(PyObject *obj)
432 {
433 return PyObject_IsTrue(obj) ? true : false;
434 }
435
436
437 SWIGSTATICINLINE(int)
438 SWIG_CheckBool(PyObject* obj)
439 {
440 SWIG_AsBool(obj);
441 if (PyErr_Occurred()) {
442 PyErr_Clear();
443 return 0;
444 } else {
445 return 1;
446 }
447 }
448
449
450 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
451 PyObject* o2;
452 PyObject* o3;
453
454 if (!target) {
455 target = o;
456 } else if (target == Py_None) {
457 Py_DECREF(Py_None);
458 target = o;
459 } else {
460 if (!PyTuple_Check(target)) {
461 o2 = target;
462 target = PyTuple_New(1);
463 PyTuple_SetItem(target, 0, o2);
464 }
465 o3 = PyTuple_New(1);
466 PyTuple_SetItem(o3, 0, o);
467
468 o2 = target;
469 target = PySequence_Concat(o2, o3);
470 Py_DECREF(o2);
471 Py_DECREF(o3);
472 }
473 return target;
474 }
475
476
477 SWIGSTATICINLINE(double)
478 SWIG_AsDouble(PyObject *obj)
479 {
480 double val = (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
481 #if HAVE_LONG_LONG
482 ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
483 #else
484 ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj));
485 #endif
486 if (PyErr_Occurred()) {
487 PyErr_Clear();
488 PyErr_SetString(PyExc_TypeError, "a double is expected");
489 }
490 return val;
491 }
492
493
494 SWIGSTATICINLINE(int)
495 SWIG_CheckDouble(PyObject* obj)
496 {
497 SWIG_AsDouble(obj);
498 if (PyErr_Occurred()) {
499 PyErr_Clear();
500 return 0;
501 } else {
502 return 1;
503 }
504 }
505
506 static const wxString wxPyFrameNameStr(wxFrameNameStr);
507 static const wxString wxPyDialogNameStr(wxDialogNameStr);
508 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
509 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
510 bool wxDialog_IsModalShowing(wxDialog *self){
511
512 return self->m_modalShowing;
513
514
515
516 }
517
518
519 wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
520 wxRect r;
521 self->GetFieldRect(i, r);
522 return r;
523 }
524 static const wxString wxPySplitterNameStr(wxT("splitter"));
525 static const wxString wxPySashNameStr(wxT("sashWindow"));
526 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
527
528 #include <wx/popupwin.h>
529
530
531 class wxPyPopupTransientWindow : public wxPopupTransientWindow
532 {
533 public:
534 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
535 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
536 : wxPopupTransientWindow(parent, style) {}
537
538 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
539 DEC_PYCALLBACK__(OnDismiss);
540 DEC_PYCALLBACK_BOOL_(CanDismiss);
541 PYPRIVATE;
542 };
543
544
545 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
546 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
547 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
548
549
550 #include <wx/tipwin.h>
551
552 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
553 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
554 }
555
556 #include <wx/tipwin.h>
557
558
559 #include <wx/vscroll.h>
560
561
562 class wxPyVScrolledWindow : public wxVScrolledWindow
563 {
564 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
565 public:
566 wxPyVScrolledWindow() : wxVScrolledWindow() {}
567
568 wxPyVScrolledWindow(wxWindow *parent,
569 wxWindowID id = wxID_ANY,
570 const wxPoint& pos = wxDefaultPosition,
571 const wxSize& size = wxDefaultSize,
572 long style = 0,
573 const wxString& name = wxPyPanelNameStr)
574 : wxVScrolledWindow(parent, id, pos, size, style, name)
575 {}
576
577 // Overridable virtuals
578
579 // this function must be overridden in the derived class and it should
580 // return the height of the given line in pixels
581 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
582
583
584 // this function doesn't have to be overridden but it may be useful to do
585 // it if calculating the lines heights is a relatively expensive operation
586 // as it gives the user code a possibility to calculate several of them at
587 // once
588 //
589 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
590 // shouldn't rely on the latter being called for all lines in the interval
591 // specified here. It is also possible that OnGetLineHeight() will be
592 // called for the lines outside of this interval, so this is really just a
593 // hint, not a promise.
594 //
595 // finally note that lineMin is inclusive, while lineMax is exclusive, as
596 // usual
597 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
598
599
600 // when the number of lines changes, we try to estimate the total height
601 // of all lines which is a rather expensive operation in terms of lines
602 // access, so if the user code may estimate the average height
603 // better/faster than we do, it should override this function to implement
604 // its own logic
605 //
606 // this function should return the best guess for the total height it may
607 // make
608 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
609
610
611 // Also expose some other interesting protected methods
612
613
614 // find the index of the line we need to show at the top of the window such
615 // that the last (fully or partially) visible line is the given one
616 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
617 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
618
619 // get the total height of the lines between lineMin (inclusive) and
620 // lineMax (exclusive)
621 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
622 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
623
624
625 PYPRIVATE;
626 };
627
628 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
629
630 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
631 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
632 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
633
634
635 SWIGSTATICINLINE(unsigned long)
636 SWIG_AsUnsignedLong(PyObject * obj)
637 {
638 if (PyLong_Check(obj)) {
639 return PyLong_AsUnsignedLong(obj);
640 } else {
641 long i = PyInt_AsLong(obj);
642 if ( !PyErr_Occurred() && (i < 0)) {
643 PyErr_SetString(PyExc_TypeError, "negative value for unsigned type");
644 }
645 return i;
646 }
647 }
648
649
650 SWIGSTATICINLINE(int)
651 SWIG_CheckUnsignedLong(PyObject* obj)
652 {
653 SWIG_AsUnsignedLong(obj);
654 if (PyErr_Occurred()) {
655 PyErr_Clear();
656 return 0;
657 } else {
658 return 1;
659 }
660 }
661
662
663 SWIGSTATICINLINE(PyObject* )
664 SWIG_FromUnsignedLong(unsigned long value)
665 {
666 return (value > LONG_MAX) ?
667 PyLong_FromUnsignedLong(value)
668 : PyInt_FromLong(swig_numeric_cast(long,value));
669 }
670
671
672 #include <wx/vlbox.h>
673
674 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
675
676 class wxPyVListBox : public wxVListBox
677 {
678 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
679 public:
680 wxPyVListBox() : wxVListBox() {}
681
682 wxPyVListBox(wxWindow *parent,
683 wxWindowID id = wxID_ANY,
684 const wxPoint& pos = wxDefaultPosition,
685 const wxSize& size = wxDefaultSize,
686 long style = 0,
687 const wxString& name = wxPyVListBoxNameStr)
688 : wxVListBox(parent, id, pos, size, style, name)
689 {}
690
691 // Overridable virtuals
692
693 // the derived class must implement this function to actually draw the item
694 // with the given index on the provided DC
695 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
696 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
697
698
699 // the derived class must implement this method to return the height of the
700 // specified item
701 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
702 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
703
704
705 // this method may be used to draw separators between the lines; note that
706 // the rectangle may be modified, typically to deflate it a bit before
707 // passing to OnDrawItem()
708 //
709 // the base class version doesn't do anything
710 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
711 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
712
713
714 // this method is used to draw the items background and, maybe, a border
715 // around it
716 //
717 // the base class version implements a reasonable default behaviour which
718 // consists in drawing the selected item with the standard background
719 // colour and drawing a border around the item if it is either selected or
720 // current
721 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
722 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
723
724
725 PYPRIVATE;
726 };
727
728 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
729
730 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
731 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
732 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
733 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
734
735
736
737 #include <wx/htmllbox.h>
738
739
740 class wxPyHtmlListBox : public wxHtmlListBox
741 {
742 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
743 public:
744 wxPyHtmlListBox() : wxHtmlListBox() {}
745
746 wxPyHtmlListBox(wxWindow *parent,
747 wxWindowID id = wxID_ANY,
748 const wxPoint& pos = wxDefaultPosition,
749 const wxSize& size = wxDefaultSize,
750 long style = 0,
751 const wxString& name = wxPyVListBoxNameStr)
752 : wxHtmlListBox(parent, id, pos, size, style, name)
753 {}
754
755 // Overridable virtuals
756
757 // this method must be implemented in the derived class and should return
758 // the body (i.e. without <html>) of the HTML for the given item
759 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
760
761 // this function may be overridden to decorate HTML returned by OnGetItem()
762 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
763
764 // TODO:
765 // // this method allows to customize the selection appearance: it may be used
766 // // to specify the colour of the text which normally has the given colour
767 // // colFg when it is inside the selection
768 // //
769 // // by default, the original colour is not used at all and all text has the
770 // // same (default for this system) colour inside selection
771 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
772
773 // // this is the same as GetSelectedTextColour() but allows to customize the
774 // // background colour -- this is even more rarely used as you can change it
775 // // globally using SetSelectionBackground()
776 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
777
778
779 PYPRIVATE;
780 };
781
782
783 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
784
785 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
786 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
787
788
789
790
791
792 #ifdef __WXMAC__
793 // implement dummy classes and such for wxMac
794
795 class wxTaskBarIcon : public wxEvtHandler
796 {
797 public:
798 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
799 };
800
801
802 class wxTaskBarIconEvent : public wxEvent
803 {
804 public:
805 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
806 { wxPyRaiseNotImplemented(); }
807 virtual wxEvent* Clone() const { return NULL; }
808 };
809
810 enum {
811 wxEVT_TASKBAR_MOVE = 0,
812 wxEVT_TASKBAR_LEFT_DOWN = 0,
813 wxEVT_TASKBAR_LEFT_UP = 0,
814 wxEVT_TASKBAR_RIGHT_DOWN = 0,
815 wxEVT_TASKBAR_RIGHT_UP = 0,
816 wxEVT_TASKBAR_LEFT_DCLICK = 0,
817 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
818 };
819 #endif
820
821 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
822 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
823 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
824 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
825 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
826 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
827 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
828 wxArrayString arr;
829 self->GetFilenames(arr);
830 return wxArrayString2PyList_helper(arr);
831 }
832 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
833 wxArrayString arr;
834 self->GetPaths(arr);
835 return wxArrayString2PyList_helper(arr);
836 }
837 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
838 return wxArrayInt2PyList_helper(self->GetSelections());
839 }
840 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
841 return new wxSingleChoiceDialog(parent, message, caption,
842 choices, choices_array, NULL, style, pos);
843 }
844
845 #include <wx/mdi.h>
846
847 // C++ version of Python aware wxWindow
848 class wxPyWindow : public wxWindow
849 {
850 DECLARE_DYNAMIC_CLASS(wxPyWindow)
851 public:
852 wxPyWindow() : wxWindow() {}
853 wxPyWindow(wxWindow* parent, const wxWindowID id,
854 const wxPoint& pos = wxDefaultPosition,
855 const wxSize& size = wxDefaultSize,
856 long style = 0,
857 const wxString& name = wxPyPanelNameStr)
858 : wxWindow(parent, id, pos, size, style, name) {}
859
860
861 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
862 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
863 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
864 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
865
866 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
867 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
868 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
869
870 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
871 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
872
873 DEC_PYCALLBACK__(InitDialog);
874 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
875 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
876 DEC_PYCALLBACK_BOOL_(Validate);
877
878 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
879 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
880 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
881
882 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
883 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
884
885 PYPRIVATE;
886 };
887
888 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
889
890 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
891 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
892 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
893 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
894
895 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
896 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
897 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
898
899 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
900 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
901
902 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
903 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
904 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
905 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
906
907 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
908 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
909 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
910
911 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
912 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
913
914
915 // C++ version of Python aware wxPanel
916 class wxPyPanel : public wxPanel
917 {
918 DECLARE_DYNAMIC_CLASS(wxPyPanel)
919 public:
920 wxPyPanel() : wxPanel() {}
921 wxPyPanel(wxWindow* parent, const wxWindowID id,
922 const wxPoint& pos = wxDefaultPosition,
923 const wxSize& size = wxDefaultSize,
924 long style = 0,
925 const wxString& name = wxPyPanelNameStr)
926 : wxPanel(parent, id, pos, size, style, name) {}
927
928
929 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
930 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
931 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
932 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
933
934 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
935 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
936 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
937
938 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
939 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
940
941 DEC_PYCALLBACK__(InitDialog);
942 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
943 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
944 DEC_PYCALLBACK_BOOL_(Validate);
945
946 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
947 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
948 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
949
950 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
951 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
952
953 PYPRIVATE;
954 };
955
956 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
957
958 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
959 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
960 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
961 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
962
963 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
964 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
965 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
966
967 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
968 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
969
970 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
971 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
972 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
973 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
974
975 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
976 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
977 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
978
979 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
980 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
981
982
983
984 #include "wx/wxPython/printfw.h"
985
986
987 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
988 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
989
990
991
992 // Since this one would be tough and ugly to do with the Macros...
993 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
994 bool hadErr = False;
995 bool found;
996
997 wxPyBeginBlockThreads();
998 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
999 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1000 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
1001 PyObject* val;
1002
1003 val = PyTuple_GetItem(result, 0);
1004 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
1005 else hadErr = True;
1006
1007 val = PyTuple_GetItem(result, 1);
1008 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
1009 else hadErr = True;
1010
1011 val = PyTuple_GetItem(result, 2);
1012 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
1013 else hadErr = True;
1014
1015 val = PyTuple_GetItem(result, 3);
1016 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
1017 else hadErr = True;
1018 }
1019 else
1020 hadErr = True;
1021
1022 if (hadErr) {
1023 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1024 PyErr_Print();
1025 }
1026 Py_DECREF(result);
1027 }
1028 wxPyEndBlockThreads();
1029 if (! found)
1030 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1031 }
1032
1033 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1034 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1035 }
1036
1037
1038 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1039 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1040 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1041 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1042 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1043 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1044 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1045
1046
1047
1048
1049
1050 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1051 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1052 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1053
1054
1055 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1056 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1057 bool rval=False; \
1058 bool found; \
1059 wxPyBeginBlockThreads(); \
1060 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1061 PyObject* win = wxPyMake_wxObject(a); \
1062 PyObject* dc = wxPyMake_wxObject(&b); \
1063 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1064 Py_DECREF(win); \
1065 Py_DECREF(dc); \
1066 } \
1067 wxPyEndBlockThreads(); \
1068 if (! found) \
1069 rval = PCLASS::CBNAME(a, b); \
1070 return rval; \
1071 } \
1072 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1073 return PCLASS::CBNAME(a, b); \
1074 }
1075
1076
1077
1078
1079 class wxPyPrintPreview : public wxPrintPreview
1080 {
1081 DECLARE_CLASS(wxPyPrintPreview)
1082 public:
1083 wxPyPrintPreview(wxPyPrintout* printout,
1084 wxPyPrintout* printoutForPrinting,
1085 wxPrintData* data=NULL)
1086 : wxPrintPreview(printout, printoutForPrinting, data)
1087 {}
1088
1089 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1090 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1091 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1092 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1093 DEC_PYCALLBACK_VOID_INT(SetZoom);
1094 DEC_PYCALLBACK_BOOL_BOOL(Print);
1095 DEC_PYCALLBACK_VOID_(DetermineScaling);
1096
1097 PYPRIVATE;
1098 };
1099
1100 // Stupid renamed classes... Fix this in 2.5...
1101 #if defined(__WXMSW__)
1102 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1103 #elif defined(__WXMAC__)
1104 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1105 #else
1106 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1107 #endif
1108
1109 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1110 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1111 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1112 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1113 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1114 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1115 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1116
1117
1118 class wxPyPreviewFrame : public wxPreviewFrame
1119 {
1120 DECLARE_CLASS(wxPyPreviewFrame);
1121 public:
1122 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1123 const wxString& title,
1124 const wxPoint& pos = wxDefaultPosition,
1125 const wxSize& size = wxDefaultSize,
1126 long style = wxDEFAULT_FRAME_STYLE,
1127 const wxString& name = wxPyFrameNameStr)
1128 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1129 {}
1130
1131 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1132 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1133
1134 DEC_PYCALLBACK_VOID_(Initialize);
1135 DEC_PYCALLBACK_VOID_(CreateCanvas);
1136 DEC_PYCALLBACK_VOID_(CreateControlBar);
1137
1138 PYPRIVATE;
1139 };
1140
1141 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1142
1143 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1144 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1145 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1146
1147
1148 class wxPyPreviewControlBar : public wxPreviewControlBar
1149 {
1150 DECLARE_CLASS(wxPyPreviewControlBar);
1151 public:
1152 wxPyPreviewControlBar(wxPrintPreview *preview,
1153 long buttons,
1154 wxWindow *parent,
1155 const wxPoint& pos = wxDefaultPosition,
1156 const wxSize& size = wxDefaultSize,
1157 long style = 0,
1158 const wxString& name = wxPyPanelNameStr)
1159 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1160 {}
1161
1162 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1163
1164 DEC_PYCALLBACK_VOID_(CreateButtons);
1165 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1166
1167 PYPRIVATE;
1168 };
1169
1170 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1171 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1172 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1173
1174 #ifdef __cplusplus
1175 extern "C" {
1176 #endif
1177 static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
1178 PyObject *resultobj;
1179 wxWindow *arg1 = (wxWindow *) 0 ;
1180 int arg2 = (int) (int)-1 ;
1181 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1182 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1183 wxSize const &arg4_defvalue = wxDefaultSize ;
1184 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1185 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1186 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1187 wxString *arg6 = (wxString *) &arg6_defvalue ;
1188 wxPanel *result;
1189 wxPoint temp3 ;
1190 wxSize temp4 ;
1191 bool temp6 = False ;
1192 PyObject * obj0 = 0 ;
1193 PyObject * obj1 = 0 ;
1194 PyObject * obj2 = 0 ;
1195 PyObject * obj3 = 0 ;
1196 PyObject * obj4 = 0 ;
1197 PyObject * obj5 = 0 ;
1198 char *kwnames[] = {
1199 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1200 };
1201
1202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1205 if (obj1) {
1206 arg2 = (int const) SWIG_AsInt(obj1);
1207 if (PyErr_Occurred()) SWIG_fail;
1208 }
1209 if (obj2) {
1210 {
1211 arg3 = &temp3;
1212 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1213 }
1214 }
1215 if (obj3) {
1216 {
1217 arg4 = &temp4;
1218 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1219 }
1220 }
1221 if (obj4) {
1222 arg5 = (long) SWIG_AsLong(obj4);
1223 if (PyErr_Occurred()) SWIG_fail;
1224 }
1225 if (obj5) {
1226 {
1227 arg6 = wxString_in_helper(obj5);
1228 if (arg6 == NULL) SWIG_fail;
1229 temp6 = True;
1230 }
1231 }
1232 {
1233 PyThreadState* __tstate = wxPyBeginAllowThreads();
1234 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1235
1236 wxPyEndAllowThreads(__tstate);
1237 if (PyErr_Occurred()) SWIG_fail;
1238 }
1239 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1240 {
1241 if (temp6)
1242 delete arg6;
1243 }
1244 return resultobj;
1245 fail:
1246 {
1247 if (temp6)
1248 delete arg6;
1249 }
1250 return NULL;
1251 }
1252
1253
1254 static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1255 PyObject *resultobj;
1256 wxPanel *result;
1257 char *kwnames[] = {
1258 NULL
1259 };
1260
1261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1262 {
1263 PyThreadState* __tstate = wxPyBeginAllowThreads();
1264 result = (wxPanel *)new wxPanel();
1265
1266 wxPyEndAllowThreads(__tstate);
1267 if (PyErr_Occurred()) SWIG_fail;
1268 }
1269 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1270 return resultobj;
1271 fail:
1272 return NULL;
1273 }
1274
1275
1276 static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1277 PyObject *resultobj;
1278 wxPanel *arg1 = (wxPanel *) 0 ;
1279 wxWindow *arg2 = (wxWindow *) 0 ;
1280 int arg3 ;
1281 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1282 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1283 wxSize const &arg5_defvalue = wxDefaultSize ;
1284 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1285 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1286 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1287 wxString *arg7 = (wxString *) &arg7_defvalue ;
1288 bool result;
1289 wxPoint temp4 ;
1290 wxSize temp5 ;
1291 bool temp7 = False ;
1292 PyObject * obj0 = 0 ;
1293 PyObject * obj1 = 0 ;
1294 PyObject * obj2 = 0 ;
1295 PyObject * obj3 = 0 ;
1296 PyObject * obj4 = 0 ;
1297 PyObject * obj5 = 0 ;
1298 PyObject * obj6 = 0 ;
1299 char *kwnames[] = {
1300 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1301 };
1302
1303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1306 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1308 arg3 = (int const) SWIG_AsInt(obj2);
1309 if (PyErr_Occurred()) SWIG_fail;
1310 if (obj3) {
1311 {
1312 arg4 = &temp4;
1313 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1314 }
1315 }
1316 if (obj4) {
1317 {
1318 arg5 = &temp5;
1319 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1320 }
1321 }
1322 if (obj5) {
1323 arg6 = (long) SWIG_AsLong(obj5);
1324 if (PyErr_Occurred()) SWIG_fail;
1325 }
1326 if (obj6) {
1327 {
1328 arg7 = wxString_in_helper(obj6);
1329 if (arg7 == NULL) SWIG_fail;
1330 temp7 = True;
1331 }
1332 }
1333 {
1334 PyThreadState* __tstate = wxPyBeginAllowThreads();
1335 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1336
1337 wxPyEndAllowThreads(__tstate);
1338 if (PyErr_Occurred()) SWIG_fail;
1339 }
1340 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1341 {
1342 if (temp7)
1343 delete arg7;
1344 }
1345 return resultobj;
1346 fail:
1347 {
1348 if (temp7)
1349 delete arg7;
1350 }
1351 return NULL;
1352 }
1353
1354
1355 static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1356 PyObject *resultobj;
1357 wxPanel *arg1 = (wxPanel *) 0 ;
1358 PyObject * obj0 = 0 ;
1359 char *kwnames[] = {
1360 (char *) "self", NULL
1361 };
1362
1363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1366 {
1367 PyThreadState* __tstate = wxPyBeginAllowThreads();
1368 (arg1)->InitDialog();
1369
1370 wxPyEndAllowThreads(__tstate);
1371 if (PyErr_Occurred()) SWIG_fail;
1372 }
1373 Py_INCREF(Py_None); resultobj = Py_None;
1374 return resultobj;
1375 fail:
1376 return NULL;
1377 }
1378
1379
1380 static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1381 PyObject *obj;
1382 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1383 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1384 Py_INCREF(obj);
1385 return Py_BuildValue((char *)"");
1386 }
1387 static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1388 PyObject *resultobj;
1389 wxWindow *arg1 = (wxWindow *) 0 ;
1390 int arg2 = (int) (int)-1 ;
1391 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1392 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1393 wxSize const &arg4_defvalue = wxDefaultSize ;
1394 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1395 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1396 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1397 wxString *arg6 = (wxString *) &arg6_defvalue ;
1398 wxScrolledWindow *result;
1399 wxPoint temp3 ;
1400 wxSize temp4 ;
1401 bool temp6 = False ;
1402 PyObject * obj0 = 0 ;
1403 PyObject * obj1 = 0 ;
1404 PyObject * obj2 = 0 ;
1405 PyObject * obj3 = 0 ;
1406 PyObject * obj4 = 0 ;
1407 PyObject * obj5 = 0 ;
1408 char *kwnames[] = {
1409 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1410 };
1411
1412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1415 if (obj1) {
1416 arg2 = (int const) SWIG_AsInt(obj1);
1417 if (PyErr_Occurred()) SWIG_fail;
1418 }
1419 if (obj2) {
1420 {
1421 arg3 = &temp3;
1422 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1423 }
1424 }
1425 if (obj3) {
1426 {
1427 arg4 = &temp4;
1428 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1429 }
1430 }
1431 if (obj4) {
1432 arg5 = (long) SWIG_AsLong(obj4);
1433 if (PyErr_Occurred()) SWIG_fail;
1434 }
1435 if (obj5) {
1436 {
1437 arg6 = wxString_in_helper(obj5);
1438 if (arg6 == NULL) SWIG_fail;
1439 temp6 = True;
1440 }
1441 }
1442 {
1443 PyThreadState* __tstate = wxPyBeginAllowThreads();
1444 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1445
1446 wxPyEndAllowThreads(__tstate);
1447 if (PyErr_Occurred()) SWIG_fail;
1448 }
1449 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1450 {
1451 if (temp6)
1452 delete arg6;
1453 }
1454 return resultobj;
1455 fail:
1456 {
1457 if (temp6)
1458 delete arg6;
1459 }
1460 return NULL;
1461 }
1462
1463
1464 static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1465 PyObject *resultobj;
1466 wxScrolledWindow *result;
1467 char *kwnames[] = {
1468 NULL
1469 };
1470
1471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1472 {
1473 PyThreadState* __tstate = wxPyBeginAllowThreads();
1474 result = (wxScrolledWindow *)new wxScrolledWindow();
1475
1476 wxPyEndAllowThreads(__tstate);
1477 if (PyErr_Occurred()) SWIG_fail;
1478 }
1479 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1480 return resultobj;
1481 fail:
1482 return NULL;
1483 }
1484
1485
1486 static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1487 PyObject *resultobj;
1488 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1489 wxWindow *arg2 = (wxWindow *) 0 ;
1490 int arg3 = (int) (int)-1 ;
1491 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1492 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1493 wxSize const &arg5_defvalue = wxDefaultSize ;
1494 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1495 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1496 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1497 wxString *arg7 = (wxString *) &arg7_defvalue ;
1498 bool result;
1499 wxPoint temp4 ;
1500 wxSize temp5 ;
1501 bool temp7 = False ;
1502 PyObject * obj0 = 0 ;
1503 PyObject * obj1 = 0 ;
1504 PyObject * obj2 = 0 ;
1505 PyObject * obj3 = 0 ;
1506 PyObject * obj4 = 0 ;
1507 PyObject * obj5 = 0 ;
1508 PyObject * obj6 = 0 ;
1509 char *kwnames[] = {
1510 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1511 };
1512
1513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1516 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1518 if (obj2) {
1519 arg3 = (int const) SWIG_AsInt(obj2);
1520 if (PyErr_Occurred()) SWIG_fail;
1521 }
1522 if (obj3) {
1523 {
1524 arg4 = &temp4;
1525 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1526 }
1527 }
1528 if (obj4) {
1529 {
1530 arg5 = &temp5;
1531 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1532 }
1533 }
1534 if (obj5) {
1535 arg6 = (long) SWIG_AsLong(obj5);
1536 if (PyErr_Occurred()) SWIG_fail;
1537 }
1538 if (obj6) {
1539 {
1540 arg7 = wxString_in_helper(obj6);
1541 if (arg7 == NULL) SWIG_fail;
1542 temp7 = True;
1543 }
1544 }
1545 {
1546 PyThreadState* __tstate = wxPyBeginAllowThreads();
1547 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1548
1549 wxPyEndAllowThreads(__tstate);
1550 if (PyErr_Occurred()) SWIG_fail;
1551 }
1552 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1553 {
1554 if (temp7)
1555 delete arg7;
1556 }
1557 return resultobj;
1558 fail:
1559 {
1560 if (temp7)
1561 delete arg7;
1562 }
1563 return NULL;
1564 }
1565
1566
1567 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1568 PyObject *resultobj;
1569 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1570 int arg2 ;
1571 int arg3 ;
1572 int arg4 ;
1573 int arg5 ;
1574 int arg6 = (int) 0 ;
1575 int arg7 = (int) 0 ;
1576 bool arg8 = (bool) False ;
1577 PyObject * obj0 = 0 ;
1578 PyObject * obj1 = 0 ;
1579 PyObject * obj2 = 0 ;
1580 PyObject * obj3 = 0 ;
1581 PyObject * obj4 = 0 ;
1582 PyObject * obj5 = 0 ;
1583 PyObject * obj6 = 0 ;
1584 PyObject * obj7 = 0 ;
1585 char *kwnames[] = {
1586 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1587 };
1588
1589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1592 arg2 = (int) SWIG_AsInt(obj1);
1593 if (PyErr_Occurred()) SWIG_fail;
1594 arg3 = (int) SWIG_AsInt(obj2);
1595 if (PyErr_Occurred()) SWIG_fail;
1596 arg4 = (int) SWIG_AsInt(obj3);
1597 if (PyErr_Occurred()) SWIG_fail;
1598 arg5 = (int) SWIG_AsInt(obj4);
1599 if (PyErr_Occurred()) SWIG_fail;
1600 if (obj5) {
1601 arg6 = (int) SWIG_AsInt(obj5);
1602 if (PyErr_Occurred()) SWIG_fail;
1603 }
1604 if (obj6) {
1605 arg7 = (int) SWIG_AsInt(obj6);
1606 if (PyErr_Occurred()) SWIG_fail;
1607 }
1608 if (obj7) {
1609 arg8 = (bool) SWIG_AsBool(obj7);
1610 if (PyErr_Occurred()) SWIG_fail;
1611 }
1612 {
1613 PyThreadState* __tstate = wxPyBeginAllowThreads();
1614 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1615
1616 wxPyEndAllowThreads(__tstate);
1617 if (PyErr_Occurred()) SWIG_fail;
1618 }
1619 Py_INCREF(Py_None); resultobj = Py_None;
1620 return resultobj;
1621 fail:
1622 return NULL;
1623 }
1624
1625
1626 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1627 PyObject *resultobj;
1628 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1629 int arg2 ;
1630 int arg3 ;
1631 PyObject * obj0 = 0 ;
1632 PyObject * obj1 = 0 ;
1633 PyObject * obj2 = 0 ;
1634 char *kwnames[] = {
1635 (char *) "self",(char *) "x",(char *) "y", NULL
1636 };
1637
1638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1641 arg2 = (int) SWIG_AsInt(obj1);
1642 if (PyErr_Occurred()) SWIG_fail;
1643 arg3 = (int) SWIG_AsInt(obj2);
1644 if (PyErr_Occurred()) SWIG_fail;
1645 {
1646 PyThreadState* __tstate = wxPyBeginAllowThreads();
1647 (arg1)->Scroll(arg2,arg3);
1648
1649 wxPyEndAllowThreads(__tstate);
1650 if (PyErr_Occurred()) SWIG_fail;
1651 }
1652 Py_INCREF(Py_None); resultobj = Py_None;
1653 return resultobj;
1654 fail:
1655 return NULL;
1656 }
1657
1658
1659 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1660 PyObject *resultobj;
1661 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1662 int arg2 ;
1663 int result;
1664 PyObject * obj0 = 0 ;
1665 PyObject * obj1 = 0 ;
1666 char *kwnames[] = {
1667 (char *) "self",(char *) "orient", NULL
1668 };
1669
1670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1673 arg2 = (int) SWIG_AsInt(obj1);
1674 if (PyErr_Occurred()) SWIG_fail;
1675 {
1676 PyThreadState* __tstate = wxPyBeginAllowThreads();
1677 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1678
1679 wxPyEndAllowThreads(__tstate);
1680 if (PyErr_Occurred()) SWIG_fail;
1681 }
1682 resultobj = SWIG_FromInt((int)result);
1683 return resultobj;
1684 fail:
1685 return NULL;
1686 }
1687
1688
1689 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1690 PyObject *resultobj;
1691 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1692 int arg2 ;
1693 int arg3 ;
1694 PyObject * obj0 = 0 ;
1695 PyObject * obj1 = 0 ;
1696 PyObject * obj2 = 0 ;
1697 char *kwnames[] = {
1698 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1699 };
1700
1701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
1702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1704 arg2 = (int) SWIG_AsInt(obj1);
1705 if (PyErr_Occurred()) SWIG_fail;
1706 arg3 = (int) SWIG_AsInt(obj2);
1707 if (PyErr_Occurred()) SWIG_fail;
1708 {
1709 PyThreadState* __tstate = wxPyBeginAllowThreads();
1710 (arg1)->SetScrollPageSize(arg2,arg3);
1711
1712 wxPyEndAllowThreads(__tstate);
1713 if (PyErr_Occurred()) SWIG_fail;
1714 }
1715 Py_INCREF(Py_None); resultobj = Py_None;
1716 return resultobj;
1717 fail:
1718 return NULL;
1719 }
1720
1721
1722 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1723 PyObject *resultobj;
1724 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1725 int arg2 ;
1726 int arg3 ;
1727 PyObject * obj0 = 0 ;
1728 PyObject * obj1 = 0 ;
1729 PyObject * obj2 = 0 ;
1730 char *kwnames[] = {
1731 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1732 };
1733
1734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
1735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1737 arg2 = (int) SWIG_AsInt(obj1);
1738 if (PyErr_Occurred()) SWIG_fail;
1739 arg3 = (int) SWIG_AsInt(obj2);
1740 if (PyErr_Occurred()) SWIG_fail;
1741 {
1742 PyThreadState* __tstate = wxPyBeginAllowThreads();
1743 (arg1)->SetScrollRate(arg2,arg3);
1744
1745 wxPyEndAllowThreads(__tstate);
1746 if (PyErr_Occurred()) SWIG_fail;
1747 }
1748 Py_INCREF(Py_None); resultobj = Py_None;
1749 return resultobj;
1750 fail:
1751 return NULL;
1752 }
1753
1754
1755 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1756 PyObject *resultobj;
1757 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1758 int *arg2 = (int *) 0 ;
1759 int *arg3 = (int *) 0 ;
1760 int temp2 ;
1761 int temp3 ;
1762 PyObject * obj0 = 0 ;
1763 char *kwnames[] = {
1764 (char *) "self", NULL
1765 };
1766
1767 arg2 = &temp2;
1768 arg3 = &temp3;
1769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1772 {
1773 PyThreadState* __tstate = wxPyBeginAllowThreads();
1774 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1775
1776 wxPyEndAllowThreads(__tstate);
1777 if (PyErr_Occurred()) SWIG_fail;
1778 }
1779 Py_INCREF(Py_None); resultobj = Py_None;
1780 {
1781 PyObject *o = PyInt_FromLong((long) (*arg2));
1782 resultobj = t_output_helper(resultobj,o);
1783 }
1784 {
1785 PyObject *o = PyInt_FromLong((long) (*arg3));
1786 resultobj = t_output_helper(resultobj,o);
1787 }
1788 return resultobj;
1789 fail:
1790 return NULL;
1791 }
1792
1793
1794 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1795 PyObject *resultobj;
1796 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1797 bool arg2 ;
1798 bool arg3 ;
1799 PyObject * obj0 = 0 ;
1800 PyObject * obj1 = 0 ;
1801 PyObject * obj2 = 0 ;
1802 char *kwnames[] = {
1803 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1804 };
1805
1806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1809 arg2 = (bool) SWIG_AsBool(obj1);
1810 if (PyErr_Occurred()) SWIG_fail;
1811 arg3 = (bool) SWIG_AsBool(obj2);
1812 if (PyErr_Occurred()) SWIG_fail;
1813 {
1814 PyThreadState* __tstate = wxPyBeginAllowThreads();
1815 (arg1)->EnableScrolling(arg2,arg3);
1816
1817 wxPyEndAllowThreads(__tstate);
1818 if (PyErr_Occurred()) SWIG_fail;
1819 }
1820 Py_INCREF(Py_None); resultobj = Py_None;
1821 return resultobj;
1822 fail:
1823 return NULL;
1824 }
1825
1826
1827 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1828 PyObject *resultobj;
1829 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1830 int *arg2 = (int *) 0 ;
1831 int *arg3 = (int *) 0 ;
1832 int temp2 ;
1833 int temp3 ;
1834 PyObject * obj0 = 0 ;
1835 char *kwnames[] = {
1836 (char *) "self", NULL
1837 };
1838
1839 arg2 = &temp2;
1840 arg3 = &temp3;
1841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1844 {
1845 PyThreadState* __tstate = wxPyBeginAllowThreads();
1846 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1847
1848 wxPyEndAllowThreads(__tstate);
1849 if (PyErr_Occurred()) SWIG_fail;
1850 }
1851 Py_INCREF(Py_None); resultobj = Py_None;
1852 {
1853 PyObject *o = PyInt_FromLong((long) (*arg2));
1854 resultobj = t_output_helper(resultobj,o);
1855 }
1856 {
1857 PyObject *o = PyInt_FromLong((long) (*arg3));
1858 resultobj = t_output_helper(resultobj,o);
1859 }
1860 return resultobj;
1861 fail:
1862 return NULL;
1863 }
1864
1865
1866 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
1867 PyObject *resultobj;
1868 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1869 double arg2 ;
1870 double arg3 ;
1871 PyObject * obj0 = 0 ;
1872 PyObject * obj1 = 0 ;
1873 PyObject * obj2 = 0 ;
1874 char *kwnames[] = {
1875 (char *) "self",(char *) "xs",(char *) "ys", NULL
1876 };
1877
1878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
1879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1881 arg2 = (double) SWIG_AsDouble(obj1);
1882 if (PyErr_Occurred()) SWIG_fail;
1883 arg3 = (double) SWIG_AsDouble(obj2);
1884 if (PyErr_Occurred()) SWIG_fail;
1885 {
1886 PyThreadState* __tstate = wxPyBeginAllowThreads();
1887 (arg1)->SetScale(arg2,arg3);
1888
1889 wxPyEndAllowThreads(__tstate);
1890 if (PyErr_Occurred()) SWIG_fail;
1891 }
1892 Py_INCREF(Py_None); resultobj = Py_None;
1893 return resultobj;
1894 fail:
1895 return NULL;
1896 }
1897
1898
1899 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
1900 PyObject *resultobj;
1901 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1902 double result;
1903 PyObject * obj0 = 0 ;
1904 char *kwnames[] = {
1905 (char *) "self", NULL
1906 };
1907
1908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
1909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1911 {
1912 PyThreadState* __tstate = wxPyBeginAllowThreads();
1913 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
1914
1915 wxPyEndAllowThreads(__tstate);
1916 if (PyErr_Occurred()) SWIG_fail;
1917 }
1918 resultobj = SWIG_FromDouble((double)result);
1919 return resultobj;
1920 fail:
1921 return NULL;
1922 }
1923
1924
1925 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
1926 PyObject *resultobj;
1927 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1928 double result;
1929 PyObject * obj0 = 0 ;
1930 char *kwnames[] = {
1931 (char *) "self", NULL
1932 };
1933
1934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
1935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1937 {
1938 PyThreadState* __tstate = wxPyBeginAllowThreads();
1939 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
1940
1941 wxPyEndAllowThreads(__tstate);
1942 if (PyErr_Occurred()) SWIG_fail;
1943 }
1944 resultobj = SWIG_FromDouble((double)result);
1945 return resultobj;
1946 fail:
1947 return NULL;
1948 }
1949
1950
1951 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1952 PyObject *resultobj;
1953 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1954 wxPoint *arg2 = 0 ;
1955 wxPoint result;
1956 wxPoint temp2 ;
1957 PyObject * obj0 = 0 ;
1958 PyObject * obj1 = 0 ;
1959
1960 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
1961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1963 {
1964 arg2 = &temp2;
1965 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1966 }
1967 {
1968 PyThreadState* __tstate = wxPyBeginAllowThreads();
1969 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
1970
1971 wxPyEndAllowThreads(__tstate);
1972 if (PyErr_Occurred()) SWIG_fail;
1973 }
1974 {
1975 wxPoint * resultptr;
1976 resultptr = new wxPoint((wxPoint &) result);
1977 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
1978 }
1979 return resultobj;
1980 fail:
1981 return NULL;
1982 }
1983
1984
1985 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1986 PyObject *resultobj;
1987 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1988 int arg2 ;
1989 int arg3 ;
1990 int *arg4 = (int *) 0 ;
1991 int *arg5 = (int *) 0 ;
1992 int temp4 ;
1993 int temp5 ;
1994 PyObject * obj0 = 0 ;
1995 PyObject * obj1 = 0 ;
1996 PyObject * obj2 = 0 ;
1997
1998 arg4 = &temp4;
1999 arg5 = &temp5;
2000 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2003 arg2 = (int) SWIG_AsInt(obj1);
2004 if (PyErr_Occurred()) SWIG_fail;
2005 arg3 = (int) SWIG_AsInt(obj2);
2006 if (PyErr_Occurred()) SWIG_fail;
2007 {
2008 PyThreadState* __tstate = wxPyBeginAllowThreads();
2009 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
2010
2011 wxPyEndAllowThreads(__tstate);
2012 if (PyErr_Occurred()) SWIG_fail;
2013 }
2014 Py_INCREF(Py_None); resultobj = Py_None;
2015 {
2016 PyObject *o = PyInt_FromLong((long) (*arg4));
2017 resultobj = t_output_helper(resultobj,o);
2018 }
2019 {
2020 PyObject *o = PyInt_FromLong((long) (*arg5));
2021 resultobj = t_output_helper(resultobj,o);
2022 }
2023 return resultobj;
2024 fail:
2025 return NULL;
2026 }
2027
2028
2029 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2030 int argc;
2031 PyObject *argv[4];
2032 int ii;
2033
2034 argc = PyObject_Length(args);
2035 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2036 argv[ii] = PyTuple_GetItem(args,ii);
2037 }
2038 if (argc == 2) {
2039 int _v;
2040 {
2041 void *ptr;
2042 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2043 _v = 0;
2044 PyErr_Clear();
2045 } else {
2046 _v = 1;
2047 }
2048 }
2049 if (_v) {
2050 {
2051 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2052 }
2053 if (_v) {
2054 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
2055 }
2056 }
2057 }
2058 if (argc == 3) {
2059 int _v;
2060 {
2061 void *ptr;
2062 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2063 _v = 0;
2064 PyErr_Clear();
2065 } else {
2066 _v = 1;
2067 }
2068 }
2069 if (_v) {
2070 _v = SWIG_CheckInt(argv[1]);
2071 if (_v) {
2072 _v = SWIG_CheckInt(argv[2]);
2073 if (_v) {
2074 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2075 }
2076 }
2077 }
2078 }
2079
2080 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2081 return NULL;
2082 }
2083
2084
2085 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2086 PyObject *resultobj;
2087 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2088 wxPoint *arg2 = 0 ;
2089 wxPoint result;
2090 wxPoint temp2 ;
2091 PyObject * obj0 = 0 ;
2092 PyObject * obj1 = 0 ;
2093
2094 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2097 {
2098 arg2 = &temp2;
2099 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2100 }
2101 {
2102 PyThreadState* __tstate = wxPyBeginAllowThreads();
2103 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2104
2105 wxPyEndAllowThreads(__tstate);
2106 if (PyErr_Occurred()) SWIG_fail;
2107 }
2108 {
2109 wxPoint * resultptr;
2110 resultptr = new wxPoint((wxPoint &) result);
2111 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2112 }
2113 return resultobj;
2114 fail:
2115 return NULL;
2116 }
2117
2118
2119 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2120 PyObject *resultobj;
2121 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2122 int arg2 ;
2123 int arg3 ;
2124 int *arg4 = (int *) 0 ;
2125 int *arg5 = (int *) 0 ;
2126 int temp4 ;
2127 int temp5 ;
2128 PyObject * obj0 = 0 ;
2129 PyObject * obj1 = 0 ;
2130 PyObject * obj2 = 0 ;
2131
2132 arg4 = &temp4;
2133 arg5 = &temp5;
2134 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2137 arg2 = (int) SWIG_AsInt(obj1);
2138 if (PyErr_Occurred()) SWIG_fail;
2139 arg3 = (int) SWIG_AsInt(obj2);
2140 if (PyErr_Occurred()) SWIG_fail;
2141 {
2142 PyThreadState* __tstate = wxPyBeginAllowThreads();
2143 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2144
2145 wxPyEndAllowThreads(__tstate);
2146 if (PyErr_Occurred()) SWIG_fail;
2147 }
2148 Py_INCREF(Py_None); resultobj = Py_None;
2149 {
2150 PyObject *o = PyInt_FromLong((long) (*arg4));
2151 resultobj = t_output_helper(resultobj,o);
2152 }
2153 {
2154 PyObject *o = PyInt_FromLong((long) (*arg5));
2155 resultobj = t_output_helper(resultobj,o);
2156 }
2157 return resultobj;
2158 fail:
2159 return NULL;
2160 }
2161
2162
2163 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2164 int argc;
2165 PyObject *argv[4];
2166 int ii;
2167
2168 argc = PyObject_Length(args);
2169 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2170 argv[ii] = PyTuple_GetItem(args,ii);
2171 }
2172 if (argc == 2) {
2173 int _v;
2174 {
2175 void *ptr;
2176 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2177 _v = 0;
2178 PyErr_Clear();
2179 } else {
2180 _v = 1;
2181 }
2182 }
2183 if (_v) {
2184 {
2185 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2186 }
2187 if (_v) {
2188 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2189 }
2190 }
2191 }
2192 if (argc == 3) {
2193 int _v;
2194 {
2195 void *ptr;
2196 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2197 _v = 0;
2198 PyErr_Clear();
2199 } else {
2200 _v = 1;
2201 }
2202 }
2203 if (_v) {
2204 _v = SWIG_CheckInt(argv[1]);
2205 if (_v) {
2206 _v = SWIG_CheckInt(argv[2]);
2207 if (_v) {
2208 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2209 }
2210 }
2211 }
2212 }
2213
2214 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2215 return NULL;
2216 }
2217
2218
2219 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
2220 PyObject *resultobj;
2221 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2222 PyObject * obj0 = 0 ;
2223 char *kwnames[] = {
2224 (char *) "self", NULL
2225 };
2226
2227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2230 {
2231 PyThreadState* __tstate = wxPyBeginAllowThreads();
2232 (arg1)->AdjustScrollbars();
2233
2234 wxPyEndAllowThreads(__tstate);
2235 if (PyErr_Occurred()) SWIG_fail;
2236 }
2237 Py_INCREF(Py_None); resultobj = Py_None;
2238 return resultobj;
2239 fail:
2240 return NULL;
2241 }
2242
2243
2244 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
2245 PyObject *resultobj;
2246 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2247 wxScrollWinEvent *arg2 = 0 ;
2248 int result;
2249 PyObject * obj0 = 0 ;
2250 PyObject * obj1 = 0 ;
2251 char *kwnames[] = {
2252 (char *) "self",(char *) "event", NULL
2253 };
2254
2255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2258 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2259 SWIG_POINTER_EXCEPTION | 0)) == -1)
2260 SWIG_fail;
2261 if (arg2 == NULL) {
2262 PyErr_SetString(PyExc_TypeError,"null reference");
2263 SWIG_fail;
2264 }
2265 {
2266 PyThreadState* __tstate = wxPyBeginAllowThreads();
2267 result = (int)(arg1)->CalcScrollInc(*arg2);
2268
2269 wxPyEndAllowThreads(__tstate);
2270 if (PyErr_Occurred()) SWIG_fail;
2271 }
2272 resultobj = SWIG_FromInt((int)result);
2273 return resultobj;
2274 fail:
2275 return NULL;
2276 }
2277
2278
2279 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2280 PyObject *resultobj;
2281 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2282 wxWindow *arg2 = (wxWindow *) 0 ;
2283 PyObject * obj0 = 0 ;
2284 PyObject * obj1 = 0 ;
2285 char *kwnames[] = {
2286 (char *) "self",(char *) "target", NULL
2287 };
2288
2289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2292 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2294 {
2295 PyThreadState* __tstate = wxPyBeginAllowThreads();
2296 (arg1)->SetTargetWindow(arg2);
2297
2298 wxPyEndAllowThreads(__tstate);
2299 if (PyErr_Occurred()) SWIG_fail;
2300 }
2301 Py_INCREF(Py_None); resultobj = Py_None;
2302 return resultobj;
2303 fail:
2304 return NULL;
2305 }
2306
2307
2308 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2309 PyObject *resultobj;
2310 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2311 wxWindow *result;
2312 PyObject * obj0 = 0 ;
2313 char *kwnames[] = {
2314 (char *) "self", NULL
2315 };
2316
2317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2320 {
2321 PyThreadState* __tstate = wxPyBeginAllowThreads();
2322 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2323
2324 wxPyEndAllowThreads(__tstate);
2325 if (PyErr_Occurred()) SWIG_fail;
2326 }
2327 {
2328 resultobj = wxPyMake_wxObject(result);
2329 }
2330 return resultobj;
2331 fail:
2332 return NULL;
2333 }
2334
2335
2336 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2337 PyObject *obj;
2338 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2339 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2340 Py_INCREF(obj);
2341 return Py_BuildValue((char *)"");
2342 }
2343 static int _wrap_FrameNameStr_set(PyObject *_val) {
2344 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2345 return 1;
2346 }
2347
2348
2349 static PyObject *_wrap_FrameNameStr_get() {
2350 PyObject *pyobj;
2351
2352 {
2353 #if wxUSE_UNICODE
2354 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2355 #else
2356 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2357 #endif
2358 }
2359 return pyobj;
2360 }
2361
2362
2363 static int _wrap_DialogNameStr_set(PyObject *_val) {
2364 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2365 return 1;
2366 }
2367
2368
2369 static PyObject *_wrap_DialogNameStr_get() {
2370 PyObject *pyobj;
2371
2372 {
2373 #if wxUSE_UNICODE
2374 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2375 #else
2376 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2377 #endif
2378 }
2379 return pyobj;
2380 }
2381
2382
2383 static int _wrap_StatusLineNameStr_set(PyObject *_val) {
2384 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2385 return 1;
2386 }
2387
2388
2389 static PyObject *_wrap_StatusLineNameStr_get() {
2390 PyObject *pyobj;
2391
2392 {
2393 #if wxUSE_UNICODE
2394 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2395 #else
2396 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2397 #endif
2398 }
2399 return pyobj;
2400 }
2401
2402
2403 static int _wrap_ToolBarNameStr_set(PyObject *_val) {
2404 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2405 return 1;
2406 }
2407
2408
2409 static PyObject *_wrap_ToolBarNameStr_get() {
2410 PyObject *pyobj;
2411
2412 {
2413 #if wxUSE_UNICODE
2414 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2415 #else
2416 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2417 #endif
2418 }
2419 return pyobj;
2420 }
2421
2422
2423 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2424 PyObject *resultobj;
2425 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2426 bool arg2 = (bool) True ;
2427 PyObject * obj0 = 0 ;
2428 PyObject * obj1 = 0 ;
2429 char *kwnames[] = {
2430 (char *) "self",(char *) "maximize", NULL
2431 };
2432
2433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2436 if (obj1) {
2437 arg2 = (bool) SWIG_AsBool(obj1);
2438 if (PyErr_Occurred()) SWIG_fail;
2439 }
2440 {
2441 PyThreadState* __tstate = wxPyBeginAllowThreads();
2442 (arg1)->Maximize(arg2);
2443
2444 wxPyEndAllowThreads(__tstate);
2445 if (PyErr_Occurred()) SWIG_fail;
2446 }
2447 Py_INCREF(Py_None); resultobj = Py_None;
2448 return resultobj;
2449 fail:
2450 return NULL;
2451 }
2452
2453
2454 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2455 PyObject *resultobj;
2456 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2457 PyObject * obj0 = 0 ;
2458 char *kwnames[] = {
2459 (char *) "self", NULL
2460 };
2461
2462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2465 {
2466 PyThreadState* __tstate = wxPyBeginAllowThreads();
2467 (arg1)->Restore();
2468
2469 wxPyEndAllowThreads(__tstate);
2470 if (PyErr_Occurred()) SWIG_fail;
2471 }
2472 Py_INCREF(Py_None); resultobj = Py_None;
2473 return resultobj;
2474 fail:
2475 return NULL;
2476 }
2477
2478
2479 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2480 PyObject *resultobj;
2481 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2482 bool arg2 = (bool) True ;
2483 PyObject * obj0 = 0 ;
2484 PyObject * obj1 = 0 ;
2485 char *kwnames[] = {
2486 (char *) "self",(char *) "iconize", NULL
2487 };
2488
2489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2492 if (obj1) {
2493 arg2 = (bool) SWIG_AsBool(obj1);
2494 if (PyErr_Occurred()) SWIG_fail;
2495 }
2496 {
2497 PyThreadState* __tstate = wxPyBeginAllowThreads();
2498 (arg1)->Iconize(arg2);
2499
2500 wxPyEndAllowThreads(__tstate);
2501 if (PyErr_Occurred()) SWIG_fail;
2502 }
2503 Py_INCREF(Py_None); resultobj = Py_None;
2504 return resultobj;
2505 fail:
2506 return NULL;
2507 }
2508
2509
2510 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2511 PyObject *resultobj;
2512 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2513 bool result;
2514 PyObject * obj0 = 0 ;
2515 char *kwnames[] = {
2516 (char *) "self", NULL
2517 };
2518
2519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2522 {
2523 PyThreadState* __tstate = wxPyBeginAllowThreads();
2524 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2525
2526 wxPyEndAllowThreads(__tstate);
2527 if (PyErr_Occurred()) SWIG_fail;
2528 }
2529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2530 return resultobj;
2531 fail:
2532 return NULL;
2533 }
2534
2535
2536 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2537 PyObject *resultobj;
2538 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2539 bool result;
2540 PyObject * obj0 = 0 ;
2541 char *kwnames[] = {
2542 (char *) "self", NULL
2543 };
2544
2545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2548 {
2549 PyThreadState* __tstate = wxPyBeginAllowThreads();
2550 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2551
2552 wxPyEndAllowThreads(__tstate);
2553 if (PyErr_Occurred()) SWIG_fail;
2554 }
2555 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2556 return resultobj;
2557 fail:
2558 return NULL;
2559 }
2560
2561
2562 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2563 PyObject *resultobj;
2564 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2565 wxIcon result;
2566 PyObject * obj0 = 0 ;
2567 char *kwnames[] = {
2568 (char *) "self", NULL
2569 };
2570
2571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2574 {
2575 PyThreadState* __tstate = wxPyBeginAllowThreads();
2576 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2577
2578 wxPyEndAllowThreads(__tstate);
2579 if (PyErr_Occurred()) SWIG_fail;
2580 }
2581 {
2582 wxIcon * resultptr;
2583 resultptr = new wxIcon((wxIcon &) result);
2584 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
2585 }
2586 return resultobj;
2587 fail:
2588 return NULL;
2589 }
2590
2591
2592 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2593 PyObject *resultobj;
2594 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2595 wxIcon *arg2 = 0 ;
2596 PyObject * obj0 = 0 ;
2597 PyObject * obj1 = 0 ;
2598 char *kwnames[] = {
2599 (char *) "self",(char *) "icon", NULL
2600 };
2601
2602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2605 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
2606 SWIG_POINTER_EXCEPTION | 0)) == -1)
2607 SWIG_fail;
2608 if (arg2 == NULL) {
2609 PyErr_SetString(PyExc_TypeError,"null reference");
2610 SWIG_fail;
2611 }
2612 {
2613 PyThreadState* __tstate = wxPyBeginAllowThreads();
2614 (arg1)->SetIcon((wxIcon const &)*arg2);
2615
2616 wxPyEndAllowThreads(__tstate);
2617 if (PyErr_Occurred()) SWIG_fail;
2618 }
2619 Py_INCREF(Py_None); resultobj = Py_None;
2620 return resultobj;
2621 fail:
2622 return NULL;
2623 }
2624
2625
2626 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2627 PyObject *resultobj;
2628 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2629 wxIconBundle *arg2 = 0 ;
2630 PyObject * obj0 = 0 ;
2631 PyObject * obj1 = 0 ;
2632 char *kwnames[] = {
2633 (char *) "self",(char *) "icons", NULL
2634 };
2635
2636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2639 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
2640 SWIG_POINTER_EXCEPTION | 0)) == -1)
2641 SWIG_fail;
2642 if (arg2 == NULL) {
2643 PyErr_SetString(PyExc_TypeError,"null reference");
2644 SWIG_fail;
2645 }
2646 {
2647 PyThreadState* __tstate = wxPyBeginAllowThreads();
2648 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2649
2650 wxPyEndAllowThreads(__tstate);
2651 if (PyErr_Occurred()) SWIG_fail;
2652 }
2653 Py_INCREF(Py_None); resultobj = Py_None;
2654 return resultobj;
2655 fail:
2656 return NULL;
2657 }
2658
2659
2660 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2661 PyObject *resultobj;
2662 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2663 bool arg2 ;
2664 long arg3 = (long) wxFULLSCREEN_ALL ;
2665 bool result;
2666 PyObject * obj0 = 0 ;
2667 PyObject * obj1 = 0 ;
2668 PyObject * obj2 = 0 ;
2669 char *kwnames[] = {
2670 (char *) "self",(char *) "show",(char *) "style", NULL
2671 };
2672
2673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2676 arg2 = (bool) SWIG_AsBool(obj1);
2677 if (PyErr_Occurred()) SWIG_fail;
2678 if (obj2) {
2679 arg3 = (long) SWIG_AsLong(obj2);
2680 if (PyErr_Occurred()) SWIG_fail;
2681 }
2682 {
2683 PyThreadState* __tstate = wxPyBeginAllowThreads();
2684 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2685
2686 wxPyEndAllowThreads(__tstate);
2687 if (PyErr_Occurred()) SWIG_fail;
2688 }
2689 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2690 return resultobj;
2691 fail:
2692 return NULL;
2693 }
2694
2695
2696 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2697 PyObject *resultobj;
2698 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2699 bool result;
2700 PyObject * obj0 = 0 ;
2701 char *kwnames[] = {
2702 (char *) "self", NULL
2703 };
2704
2705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2708 {
2709 PyThreadState* __tstate = wxPyBeginAllowThreads();
2710 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2711
2712 wxPyEndAllowThreads(__tstate);
2713 if (PyErr_Occurred()) SWIG_fail;
2714 }
2715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2716 return resultobj;
2717 fail:
2718 return NULL;
2719 }
2720
2721
2722 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2723 PyObject *resultobj;
2724 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2725 wxString *arg2 = 0 ;
2726 bool temp2 = False ;
2727 PyObject * obj0 = 0 ;
2728 PyObject * obj1 = 0 ;
2729 char *kwnames[] = {
2730 (char *) "self",(char *) "title", NULL
2731 };
2732
2733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2736 {
2737 arg2 = wxString_in_helper(obj1);
2738 if (arg2 == NULL) SWIG_fail;
2739 temp2 = True;
2740 }
2741 {
2742 PyThreadState* __tstate = wxPyBeginAllowThreads();
2743 (arg1)->SetTitle((wxString const &)*arg2);
2744
2745 wxPyEndAllowThreads(__tstate);
2746 if (PyErr_Occurred()) SWIG_fail;
2747 }
2748 Py_INCREF(Py_None); resultobj = Py_None;
2749 {
2750 if (temp2)
2751 delete arg2;
2752 }
2753 return resultobj;
2754 fail:
2755 {
2756 if (temp2)
2757 delete arg2;
2758 }
2759 return NULL;
2760 }
2761
2762
2763 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2764 PyObject *resultobj;
2765 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2766 wxString result;
2767 PyObject * obj0 = 0 ;
2768 char *kwnames[] = {
2769 (char *) "self", NULL
2770 };
2771
2772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2775 {
2776 PyThreadState* __tstate = wxPyBeginAllowThreads();
2777 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2778
2779 wxPyEndAllowThreads(__tstate);
2780 if (PyErr_Occurred()) SWIG_fail;
2781 }
2782 {
2783 #if wxUSE_UNICODE
2784 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2785 #else
2786 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2787 #endif
2788 }
2789 return resultobj;
2790 fail:
2791 return NULL;
2792 }
2793
2794
2795 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2796 PyObject *resultobj;
2797 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2798 wxRegion *arg2 = 0 ;
2799 bool result;
2800 PyObject * obj0 = 0 ;
2801 PyObject * obj1 = 0 ;
2802 char *kwnames[] = {
2803 (char *) "self",(char *) "region", NULL
2804 };
2805
2806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2809 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
2810 SWIG_POINTER_EXCEPTION | 0)) == -1)
2811 SWIG_fail;
2812 if (arg2 == NULL) {
2813 PyErr_SetString(PyExc_TypeError,"null reference");
2814 SWIG_fail;
2815 }
2816 {
2817 PyThreadState* __tstate = wxPyBeginAllowThreads();
2818 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2819
2820 wxPyEndAllowThreads(__tstate);
2821 if (PyErr_Occurred()) SWIG_fail;
2822 }
2823 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2824 return resultobj;
2825 fail:
2826 return NULL;
2827 }
2828
2829
2830 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
2831 PyObject *obj;
2832 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2833 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
2834 Py_INCREF(obj);
2835 return Py_BuildValue((char *)"");
2836 }
2837 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
2838 PyObject *resultobj;
2839 wxWindow *arg1 = (wxWindow *) 0 ;
2840 int arg2 ;
2841 wxString *arg3 = 0 ;
2842 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2843 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2844 wxSize const &arg5_defvalue = wxDefaultSize ;
2845 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2846 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
2847 wxString const &arg7_defvalue = wxPyFrameNameStr ;
2848 wxString *arg7 = (wxString *) &arg7_defvalue ;
2849 wxFrame *result;
2850 bool temp3 = False ;
2851 wxPoint temp4 ;
2852 wxSize temp5 ;
2853 bool temp7 = False ;
2854 PyObject * obj0 = 0 ;
2855 PyObject * obj1 = 0 ;
2856 PyObject * obj2 = 0 ;
2857 PyObject * obj3 = 0 ;
2858 PyObject * obj4 = 0 ;
2859 PyObject * obj5 = 0 ;
2860 PyObject * obj6 = 0 ;
2861 char *kwnames[] = {
2862 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2863 };
2864
2865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2868 arg2 = (int const) SWIG_AsInt(obj1);
2869 if (PyErr_Occurred()) SWIG_fail;
2870 {
2871 arg3 = wxString_in_helper(obj2);
2872 if (arg3 == NULL) SWIG_fail;
2873 temp3 = True;
2874 }
2875 if (obj3) {
2876 {
2877 arg4 = &temp4;
2878 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2879 }
2880 }
2881 if (obj4) {
2882 {
2883 arg5 = &temp5;
2884 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2885 }
2886 }
2887 if (obj5) {
2888 arg6 = (long) SWIG_AsLong(obj5);
2889 if (PyErr_Occurred()) SWIG_fail;
2890 }
2891 if (obj6) {
2892 {
2893 arg7 = wxString_in_helper(obj6);
2894 if (arg7 == NULL) SWIG_fail;
2895 temp7 = True;
2896 }
2897 }
2898 {
2899 PyThreadState* __tstate = wxPyBeginAllowThreads();
2900 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2901
2902 wxPyEndAllowThreads(__tstate);
2903 if (PyErr_Occurred()) SWIG_fail;
2904 }
2905 {
2906 resultobj = wxPyMake_wxObject(result);
2907 }
2908 {
2909 if (temp3)
2910 delete arg3;
2911 }
2912 {
2913 if (temp7)
2914 delete arg7;
2915 }
2916 return resultobj;
2917 fail:
2918 {
2919 if (temp3)
2920 delete arg3;
2921 }
2922 {
2923 if (temp7)
2924 delete arg7;
2925 }
2926 return NULL;
2927 }
2928
2929
2930 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
2931 PyObject *resultobj;
2932 wxFrame *result;
2933 char *kwnames[] = {
2934 NULL
2935 };
2936
2937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
2938 {
2939 PyThreadState* __tstate = wxPyBeginAllowThreads();
2940 result = (wxFrame *)new wxFrame();
2941
2942 wxPyEndAllowThreads(__tstate);
2943 if (PyErr_Occurred()) SWIG_fail;
2944 }
2945 {
2946 resultobj = wxPyMake_wxObject(result);
2947 }
2948 return resultobj;
2949 fail:
2950 return NULL;
2951 }
2952
2953
2954 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2955 PyObject *resultobj;
2956 wxFrame *arg1 = (wxFrame *) 0 ;
2957 wxWindow *arg2 = (wxWindow *) 0 ;
2958 int arg3 ;
2959 wxString *arg4 = 0 ;
2960 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2961 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2962 wxSize const &arg6_defvalue = wxDefaultSize ;
2963 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2964 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
2965 wxString const &arg8_defvalue = wxPyFrameNameStr ;
2966 wxString *arg8 = (wxString *) &arg8_defvalue ;
2967 bool result;
2968 bool temp4 = False ;
2969 wxPoint temp5 ;
2970 wxSize temp6 ;
2971 bool temp8 = False ;
2972 PyObject * obj0 = 0 ;
2973 PyObject * obj1 = 0 ;
2974 PyObject * obj2 = 0 ;
2975 PyObject * obj3 = 0 ;
2976 PyObject * obj4 = 0 ;
2977 PyObject * obj5 = 0 ;
2978 PyObject * obj6 = 0 ;
2979 PyObject * obj7 = 0 ;
2980 char *kwnames[] = {
2981 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2982 };
2983
2984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
2986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2987 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2989 arg3 = (int const) SWIG_AsInt(obj2);
2990 if (PyErr_Occurred()) SWIG_fail;
2991 {
2992 arg4 = wxString_in_helper(obj3);
2993 if (arg4 == NULL) SWIG_fail;
2994 temp4 = True;
2995 }
2996 if (obj4) {
2997 {
2998 arg5 = &temp5;
2999 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3000 }
3001 }
3002 if (obj5) {
3003 {
3004 arg6 = &temp6;
3005 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3006 }
3007 }
3008 if (obj6) {
3009 arg7 = (long) SWIG_AsLong(obj6);
3010 if (PyErr_Occurred()) SWIG_fail;
3011 }
3012 if (obj7) {
3013 {
3014 arg8 = wxString_in_helper(obj7);
3015 if (arg8 == NULL) SWIG_fail;
3016 temp8 = True;
3017 }
3018 }
3019 {
3020 PyThreadState* __tstate = wxPyBeginAllowThreads();
3021 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3022
3023 wxPyEndAllowThreads(__tstate);
3024 if (PyErr_Occurred()) SWIG_fail;
3025 }
3026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3027 {
3028 if (temp4)
3029 delete arg4;
3030 }
3031 {
3032 if (temp8)
3033 delete arg8;
3034 }
3035 return resultobj;
3036 fail:
3037 {
3038 if (temp4)
3039 delete arg4;
3040 }
3041 {
3042 if (temp8)
3043 delete arg8;
3044 }
3045 return NULL;
3046 }
3047
3048
3049 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
3050 PyObject *resultobj;
3051 wxFrame *arg1 = (wxFrame *) 0 ;
3052 wxPoint result;
3053 PyObject * obj0 = 0 ;
3054 char *kwnames[] = {
3055 (char *) "self", NULL
3056 };
3057
3058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3061 {
3062 PyThreadState* __tstate = wxPyBeginAllowThreads();
3063 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3064
3065 wxPyEndAllowThreads(__tstate);
3066 if (PyErr_Occurred()) SWIG_fail;
3067 }
3068 {
3069 wxPoint * resultptr;
3070 resultptr = new wxPoint((wxPoint &) result);
3071 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3072 }
3073 return resultobj;
3074 fail:
3075 return NULL;
3076 }
3077
3078
3079 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3080 PyObject *resultobj;
3081 wxFrame *arg1 = (wxFrame *) 0 ;
3082 PyObject * obj0 = 0 ;
3083 char *kwnames[] = {
3084 (char *) "self", NULL
3085 };
3086
3087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3090 {
3091 PyThreadState* __tstate = wxPyBeginAllowThreads();
3092 (arg1)->SendSizeEvent();
3093
3094 wxPyEndAllowThreads(__tstate);
3095 if (PyErr_Occurred()) SWIG_fail;
3096 }
3097 Py_INCREF(Py_None); resultobj = Py_None;
3098 return resultobj;
3099 fail:
3100 return NULL;
3101 }
3102
3103
3104 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3105 PyObject *resultobj;
3106 wxFrame *arg1 = (wxFrame *) 0 ;
3107 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3108 PyObject * obj0 = 0 ;
3109 PyObject * obj1 = 0 ;
3110 char *kwnames[] = {
3111 (char *) "self",(char *) "menubar", NULL
3112 };
3113
3114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3117 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3119 {
3120 PyThreadState* __tstate = wxPyBeginAllowThreads();
3121 (arg1)->SetMenuBar(arg2);
3122
3123 wxPyEndAllowThreads(__tstate);
3124 if (PyErr_Occurred()) SWIG_fail;
3125 }
3126 Py_INCREF(Py_None); resultobj = Py_None;
3127 return resultobj;
3128 fail:
3129 return NULL;
3130 }
3131
3132
3133 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3134 PyObject *resultobj;
3135 wxFrame *arg1 = (wxFrame *) 0 ;
3136 wxMenuBar *result;
3137 PyObject * obj0 = 0 ;
3138 char *kwnames[] = {
3139 (char *) "self", NULL
3140 };
3141
3142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3145 {
3146 PyThreadState* __tstate = wxPyBeginAllowThreads();
3147 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3148
3149 wxPyEndAllowThreads(__tstate);
3150 if (PyErr_Occurred()) SWIG_fail;
3151 }
3152 {
3153 resultobj = wxPyMake_wxObject(result);
3154 }
3155 return resultobj;
3156 fail:
3157 return NULL;
3158 }
3159
3160
3161 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3162 PyObject *resultobj;
3163 wxFrame *arg1 = (wxFrame *) 0 ;
3164 int arg2 ;
3165 bool result;
3166 PyObject * obj0 = 0 ;
3167 PyObject * obj1 = 0 ;
3168 char *kwnames[] = {
3169 (char *) "self",(char *) "winid", NULL
3170 };
3171
3172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3175 arg2 = (int) SWIG_AsInt(obj1);
3176 if (PyErr_Occurred()) SWIG_fail;
3177 {
3178 PyThreadState* __tstate = wxPyBeginAllowThreads();
3179 result = (bool)(arg1)->ProcessCommand(arg2);
3180
3181 wxPyEndAllowThreads(__tstate);
3182 if (PyErr_Occurred()) SWIG_fail;
3183 }
3184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3185 return resultobj;
3186 fail:
3187 return NULL;
3188 }
3189
3190
3191 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3192 PyObject *resultobj;
3193 wxFrame *arg1 = (wxFrame *) 0 ;
3194 int arg2 = (int) 1 ;
3195 long arg3 = (long) wxST_SIZEGRIP ;
3196 int arg4 = (int) 0 ;
3197 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3198 wxString *arg5 = (wxString *) &arg5_defvalue ;
3199 wxStatusBar *result;
3200 bool temp5 = False ;
3201 PyObject * obj0 = 0 ;
3202 PyObject * obj1 = 0 ;
3203 PyObject * obj2 = 0 ;
3204 PyObject * obj3 = 0 ;
3205 PyObject * obj4 = 0 ;
3206 char *kwnames[] = {
3207 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3208 };
3209
3210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3213 if (obj1) {
3214 arg2 = (int) SWIG_AsInt(obj1);
3215 if (PyErr_Occurred()) SWIG_fail;
3216 }
3217 if (obj2) {
3218 arg3 = (long) SWIG_AsLong(obj2);
3219 if (PyErr_Occurred()) SWIG_fail;
3220 }
3221 if (obj3) {
3222 arg4 = (int) SWIG_AsInt(obj3);
3223 if (PyErr_Occurred()) SWIG_fail;
3224 }
3225 if (obj4) {
3226 {
3227 arg5 = wxString_in_helper(obj4);
3228 if (arg5 == NULL) SWIG_fail;
3229 temp5 = True;
3230 }
3231 }
3232 {
3233 PyThreadState* __tstate = wxPyBeginAllowThreads();
3234 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3235
3236 wxPyEndAllowThreads(__tstate);
3237 if (PyErr_Occurred()) SWIG_fail;
3238 }
3239 {
3240 resultobj = wxPyMake_wxObject(result);
3241 }
3242 {
3243 if (temp5)
3244 delete arg5;
3245 }
3246 return resultobj;
3247 fail:
3248 {
3249 if (temp5)
3250 delete arg5;
3251 }
3252 return NULL;
3253 }
3254
3255
3256 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3257 PyObject *resultobj;
3258 wxFrame *arg1 = (wxFrame *) 0 ;
3259 wxStatusBar *result;
3260 PyObject * obj0 = 0 ;
3261 char *kwnames[] = {
3262 (char *) "self", NULL
3263 };
3264
3265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3268 {
3269 PyThreadState* __tstate = wxPyBeginAllowThreads();
3270 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3271
3272 wxPyEndAllowThreads(__tstate);
3273 if (PyErr_Occurred()) SWIG_fail;
3274 }
3275 {
3276 resultobj = wxPyMake_wxObject(result);
3277 }
3278 return resultobj;
3279 fail:
3280 return NULL;
3281 }
3282
3283
3284 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3285 PyObject *resultobj;
3286 wxFrame *arg1 = (wxFrame *) 0 ;
3287 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3288 PyObject * obj0 = 0 ;
3289 PyObject * obj1 = 0 ;
3290 char *kwnames[] = {
3291 (char *) "self",(char *) "statBar", NULL
3292 };
3293
3294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3297 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3299 {
3300 PyThreadState* __tstate = wxPyBeginAllowThreads();
3301 (arg1)->SetStatusBar(arg2);
3302
3303 wxPyEndAllowThreads(__tstate);
3304 if (PyErr_Occurred()) SWIG_fail;
3305 }
3306 Py_INCREF(Py_None); resultobj = Py_None;
3307 return resultobj;
3308 fail:
3309 return NULL;
3310 }
3311
3312
3313 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3314 PyObject *resultobj;
3315 wxFrame *arg1 = (wxFrame *) 0 ;
3316 wxString *arg2 = 0 ;
3317 int arg3 = (int) 0 ;
3318 bool temp2 = False ;
3319 PyObject * obj0 = 0 ;
3320 PyObject * obj1 = 0 ;
3321 PyObject * obj2 = 0 ;
3322 char *kwnames[] = {
3323 (char *) "self",(char *) "text",(char *) "number", NULL
3324 };
3325
3326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3329 {
3330 arg2 = wxString_in_helper(obj1);
3331 if (arg2 == NULL) SWIG_fail;
3332 temp2 = True;
3333 }
3334 if (obj2) {
3335 arg3 = (int) SWIG_AsInt(obj2);
3336 if (PyErr_Occurred()) SWIG_fail;
3337 }
3338 {
3339 PyThreadState* __tstate = wxPyBeginAllowThreads();
3340 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3341
3342 wxPyEndAllowThreads(__tstate);
3343 if (PyErr_Occurred()) SWIG_fail;
3344 }
3345 Py_INCREF(Py_None); resultobj = Py_None;
3346 {
3347 if (temp2)
3348 delete arg2;
3349 }
3350 return resultobj;
3351 fail:
3352 {
3353 if (temp2)
3354 delete arg2;
3355 }
3356 return NULL;
3357 }
3358
3359
3360 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3361 PyObject *resultobj;
3362 wxFrame *arg1 = (wxFrame *) 0 ;
3363 int arg2 ;
3364 int *arg3 = (int *) 0 ;
3365 PyObject * obj0 = 0 ;
3366 PyObject * obj1 = 0 ;
3367 char *kwnames[] = {
3368 (char *) "self",(char *) "widths", NULL
3369 };
3370
3371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3374 {
3375 arg2 = PyList_Size(obj1);
3376 arg3 = int_LIST_helper(obj1);
3377 if (arg3 == NULL) SWIG_fail;
3378 }
3379 {
3380 PyThreadState* __tstate = wxPyBeginAllowThreads();
3381 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3382
3383 wxPyEndAllowThreads(__tstate);
3384 if (PyErr_Occurred()) SWIG_fail;
3385 }
3386 Py_INCREF(Py_None); resultobj = Py_None;
3387 {
3388 if (arg3) delete [] arg3;
3389 }
3390 return resultobj;
3391 fail:
3392 {
3393 if (arg3) delete [] arg3;
3394 }
3395 return NULL;
3396 }
3397
3398
3399 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3400 PyObject *resultobj;
3401 wxFrame *arg1 = (wxFrame *) 0 ;
3402 wxString *arg2 = 0 ;
3403 int arg3 = (int) 0 ;
3404 bool temp2 = False ;
3405 PyObject * obj0 = 0 ;
3406 PyObject * obj1 = 0 ;
3407 PyObject * obj2 = 0 ;
3408 char *kwnames[] = {
3409 (char *) "self",(char *) "text",(char *) "number", NULL
3410 };
3411
3412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3415 {
3416 arg2 = wxString_in_helper(obj1);
3417 if (arg2 == NULL) SWIG_fail;
3418 temp2 = True;
3419 }
3420 if (obj2) {
3421 arg3 = (int) SWIG_AsInt(obj2);
3422 if (PyErr_Occurred()) SWIG_fail;
3423 }
3424 {
3425 PyThreadState* __tstate = wxPyBeginAllowThreads();
3426 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3427
3428 wxPyEndAllowThreads(__tstate);
3429 if (PyErr_Occurred()) SWIG_fail;
3430 }
3431 Py_INCREF(Py_None); resultobj = Py_None;
3432 {
3433 if (temp2)
3434 delete arg2;
3435 }
3436 return resultobj;
3437 fail:
3438 {
3439 if (temp2)
3440 delete arg2;
3441 }
3442 return NULL;
3443 }
3444
3445
3446 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3447 PyObject *resultobj;
3448 wxFrame *arg1 = (wxFrame *) 0 ;
3449 int arg2 = (int) 0 ;
3450 PyObject * obj0 = 0 ;
3451 PyObject * obj1 = 0 ;
3452 char *kwnames[] = {
3453 (char *) "self",(char *) "number", NULL
3454 };
3455
3456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3459 if (obj1) {
3460 arg2 = (int) SWIG_AsInt(obj1);
3461 if (PyErr_Occurred()) SWIG_fail;
3462 }
3463 {
3464 PyThreadState* __tstate = wxPyBeginAllowThreads();
3465 (arg1)->PopStatusText(arg2);
3466
3467 wxPyEndAllowThreads(__tstate);
3468 if (PyErr_Occurred()) SWIG_fail;
3469 }
3470 Py_INCREF(Py_None); resultobj = Py_None;
3471 return resultobj;
3472 fail:
3473 return NULL;
3474 }
3475
3476
3477 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3478 PyObject *resultobj;
3479 wxFrame *arg1 = (wxFrame *) 0 ;
3480 int arg2 ;
3481 PyObject * obj0 = 0 ;
3482 PyObject * obj1 = 0 ;
3483 char *kwnames[] = {
3484 (char *) "self",(char *) "n", NULL
3485 };
3486
3487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
3488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3490 arg2 = (int) SWIG_AsInt(obj1);
3491 if (PyErr_Occurred()) SWIG_fail;
3492 {
3493 PyThreadState* __tstate = wxPyBeginAllowThreads();
3494 (arg1)->SetStatusBarPane(arg2);
3495
3496 wxPyEndAllowThreads(__tstate);
3497 if (PyErr_Occurred()) SWIG_fail;
3498 }
3499 Py_INCREF(Py_None); resultobj = Py_None;
3500 return resultobj;
3501 fail:
3502 return NULL;
3503 }
3504
3505
3506 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3507 PyObject *resultobj;
3508 wxFrame *arg1 = (wxFrame *) 0 ;
3509 int result;
3510 PyObject * obj0 = 0 ;
3511 char *kwnames[] = {
3512 (char *) "self", NULL
3513 };
3514
3515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3518 {
3519 PyThreadState* __tstate = wxPyBeginAllowThreads();
3520 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3521
3522 wxPyEndAllowThreads(__tstate);
3523 if (PyErr_Occurred()) SWIG_fail;
3524 }
3525 resultobj = SWIG_FromInt((int)result);
3526 return resultobj;
3527 fail:
3528 return NULL;
3529 }
3530
3531
3532 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3533 PyObject *resultobj;
3534 wxFrame *arg1 = (wxFrame *) 0 ;
3535 long arg2 = (long) -1 ;
3536 int arg3 = (int) -1 ;
3537 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3538 wxString *arg4 = (wxString *) &arg4_defvalue ;
3539 wxToolBar *result;
3540 bool temp4 = False ;
3541 PyObject * obj0 = 0 ;
3542 PyObject * obj1 = 0 ;
3543 PyObject * obj2 = 0 ;
3544 PyObject * obj3 = 0 ;
3545 char *kwnames[] = {
3546 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3547 };
3548
3549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3552 if (obj1) {
3553 arg2 = (long) SWIG_AsLong(obj1);
3554 if (PyErr_Occurred()) SWIG_fail;
3555 }
3556 if (obj2) {
3557 arg3 = (int) SWIG_AsInt(obj2);
3558 if (PyErr_Occurred()) SWIG_fail;
3559 }
3560 if (obj3) {
3561 {
3562 arg4 = wxString_in_helper(obj3);
3563 if (arg4 == NULL) SWIG_fail;
3564 temp4 = True;
3565 }
3566 }
3567 {
3568 PyThreadState* __tstate = wxPyBeginAllowThreads();
3569 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3570
3571 wxPyEndAllowThreads(__tstate);
3572 if (PyErr_Occurred()) SWIG_fail;
3573 }
3574 {
3575 resultobj = wxPyMake_wxObject(result);
3576 }
3577 {
3578 if (temp4)
3579 delete arg4;
3580 }
3581 return resultobj;
3582 fail:
3583 {
3584 if (temp4)
3585 delete arg4;
3586 }
3587 return NULL;
3588 }
3589
3590
3591 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3592 PyObject *resultobj;
3593 wxFrame *arg1 = (wxFrame *) 0 ;
3594 wxToolBar *result;
3595 PyObject * obj0 = 0 ;
3596 char *kwnames[] = {
3597 (char *) "self", NULL
3598 };
3599
3600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3603 {
3604 PyThreadState* __tstate = wxPyBeginAllowThreads();
3605 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3606
3607 wxPyEndAllowThreads(__tstate);
3608 if (PyErr_Occurred()) SWIG_fail;
3609 }
3610 {
3611 resultobj = wxPyMake_wxObject(result);
3612 }
3613 return resultobj;
3614 fail:
3615 return NULL;
3616 }
3617
3618
3619 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3620 PyObject *resultobj;
3621 wxFrame *arg1 = (wxFrame *) 0 ;
3622 wxToolBar *arg2 = (wxToolBar *) 0 ;
3623 PyObject * obj0 = 0 ;
3624 PyObject * obj1 = 0 ;
3625 char *kwnames[] = {
3626 (char *) "self",(char *) "toolbar", NULL
3627 };
3628
3629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3632 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
3633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3634 {
3635 PyThreadState* __tstate = wxPyBeginAllowThreads();
3636 (arg1)->SetToolBar(arg2);
3637
3638 wxPyEndAllowThreads(__tstate);
3639 if (PyErr_Occurred()) SWIG_fail;
3640 }
3641 Py_INCREF(Py_None); resultobj = Py_None;
3642 return resultobj;
3643 fail:
3644 return NULL;
3645 }
3646
3647
3648 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3649 PyObject *resultobj;
3650 wxFrame *arg1 = (wxFrame *) 0 ;
3651 wxString *arg2 = 0 ;
3652 bool arg3 ;
3653 bool temp2 = False ;
3654 PyObject * obj0 = 0 ;
3655 PyObject * obj1 = 0 ;
3656 PyObject * obj2 = 0 ;
3657 char *kwnames[] = {
3658 (char *) "self",(char *) "text",(char *) "show", NULL
3659 };
3660
3661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3664 {
3665 arg2 = wxString_in_helper(obj1);
3666 if (arg2 == NULL) SWIG_fail;
3667 temp2 = True;
3668 }
3669 arg3 = (bool) SWIG_AsBool(obj2);
3670 if (PyErr_Occurred()) SWIG_fail;
3671 {
3672 PyThreadState* __tstate = wxPyBeginAllowThreads();
3673 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3674
3675 wxPyEndAllowThreads(__tstate);
3676 if (PyErr_Occurred()) SWIG_fail;
3677 }
3678 Py_INCREF(Py_None); resultobj = Py_None;
3679 {
3680 if (temp2)
3681 delete arg2;
3682 }
3683 return resultobj;
3684 fail:
3685 {
3686 if (temp2)
3687 delete arg2;
3688 }
3689 return NULL;
3690 }
3691
3692
3693 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3694 PyObject *resultobj;
3695 wxFrame *arg1 = (wxFrame *) 0 ;
3696 wxMenu *arg2 = (wxMenu *) NULL ;
3697 PyObject * obj0 = 0 ;
3698 PyObject * obj1 = 0 ;
3699 char *kwnames[] = {
3700 (char *) "self",(char *) "menu", NULL
3701 };
3702
3703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3706 if (obj1) {
3707 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
3708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3709 }
3710 {
3711 PyThreadState* __tstate = wxPyBeginAllowThreads();
3712 (arg1)->DoMenuUpdates(arg2);
3713
3714 wxPyEndAllowThreads(__tstate);
3715 if (PyErr_Occurred()) SWIG_fail;
3716 }
3717 Py_INCREF(Py_None); resultobj = Py_None;
3718 return resultobj;
3719 fail:
3720 return NULL;
3721 }
3722
3723
3724 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3725 PyObject *obj;
3726 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3727 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3728 Py_INCREF(obj);
3729 return Py_BuildValue((char *)"");
3730 }
3731 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3732 PyObject *resultobj;
3733 wxWindow *arg1 = (wxWindow *) 0 ;
3734 int arg2 ;
3735 wxString *arg3 = 0 ;
3736 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3737 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3738 wxSize const &arg5_defvalue = wxDefaultSize ;
3739 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3740 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3741 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3742 wxString *arg7 = (wxString *) &arg7_defvalue ;
3743 wxDialog *result;
3744 bool temp3 = False ;
3745 wxPoint temp4 ;
3746 wxSize temp5 ;
3747 bool temp7 = False ;
3748 PyObject * obj0 = 0 ;
3749 PyObject * obj1 = 0 ;
3750 PyObject * obj2 = 0 ;
3751 PyObject * obj3 = 0 ;
3752 PyObject * obj4 = 0 ;
3753 PyObject * obj5 = 0 ;
3754 PyObject * obj6 = 0 ;
3755 char *kwnames[] = {
3756 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3757 };
3758
3759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3762 arg2 = (int const) SWIG_AsInt(obj1);
3763 if (PyErr_Occurred()) SWIG_fail;
3764 {
3765 arg3 = wxString_in_helper(obj2);
3766 if (arg3 == NULL) SWIG_fail;
3767 temp3 = True;
3768 }
3769 if (obj3) {
3770 {
3771 arg4 = &temp4;
3772 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3773 }
3774 }
3775 if (obj4) {
3776 {
3777 arg5 = &temp5;
3778 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3779 }
3780 }
3781 if (obj5) {
3782 arg6 = (long) SWIG_AsLong(obj5);
3783 if (PyErr_Occurred()) SWIG_fail;
3784 }
3785 if (obj6) {
3786 {
3787 arg7 = wxString_in_helper(obj6);
3788 if (arg7 == NULL) SWIG_fail;
3789 temp7 = True;
3790 }
3791 }
3792 {
3793 PyThreadState* __tstate = wxPyBeginAllowThreads();
3794 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3795
3796 wxPyEndAllowThreads(__tstate);
3797 if (PyErr_Occurred()) SWIG_fail;
3798 }
3799 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
3800 {
3801 if (temp3)
3802 delete arg3;
3803 }
3804 {
3805 if (temp7)
3806 delete arg7;
3807 }
3808 return resultobj;
3809 fail:
3810 {
3811 if (temp3)
3812 delete arg3;
3813 }
3814 {
3815 if (temp7)
3816 delete arg7;
3817 }
3818 return NULL;
3819 }
3820
3821
3822 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3823 PyObject *resultobj;
3824 wxDialog *result;
3825 char *kwnames[] = {
3826 NULL
3827 };
3828
3829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
3830 {
3831 PyThreadState* __tstate = wxPyBeginAllowThreads();
3832 result = (wxDialog *)new wxDialog();
3833
3834 wxPyEndAllowThreads(__tstate);
3835 if (PyErr_Occurred()) SWIG_fail;
3836 }
3837 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
3838 return resultobj;
3839 fail:
3840 return NULL;
3841 }
3842
3843
3844 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3845 PyObject *resultobj;
3846 wxDialog *arg1 = (wxDialog *) 0 ;
3847 wxWindow *arg2 = (wxWindow *) 0 ;
3848 int arg3 ;
3849 wxString *arg4 = 0 ;
3850 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3851 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3852 wxSize const &arg6_defvalue = wxDefaultSize ;
3853 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3854 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
3855 wxString const &arg8_defvalue = wxPyDialogNameStr ;
3856 wxString *arg8 = (wxString *) &arg8_defvalue ;
3857 bool result;
3858 bool temp4 = False ;
3859 wxPoint temp5 ;
3860 wxSize temp6 ;
3861 bool temp8 = False ;
3862 PyObject * obj0 = 0 ;
3863 PyObject * obj1 = 0 ;
3864 PyObject * obj2 = 0 ;
3865 PyObject * obj3 = 0 ;
3866 PyObject * obj4 = 0 ;
3867 PyObject * obj5 = 0 ;
3868 PyObject * obj6 = 0 ;
3869 PyObject * obj7 = 0 ;
3870 char *kwnames[] = {
3871 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3872 };
3873
3874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
3876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3877 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3879 arg3 = (int const) SWIG_AsInt(obj2);
3880 if (PyErr_Occurred()) SWIG_fail;
3881 {
3882 arg4 = wxString_in_helper(obj3);
3883 if (arg4 == NULL) SWIG_fail;
3884 temp4 = True;
3885 }
3886 if (obj4) {
3887 {
3888 arg5 = &temp5;
3889 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3890 }
3891 }
3892 if (obj5) {
3893 {
3894 arg6 = &temp6;
3895 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3896 }
3897 }
3898 if (obj6) {
3899 arg7 = (long) SWIG_AsLong(obj6);
3900 if (PyErr_Occurred()) SWIG_fail;
3901 }
3902 if (obj7) {
3903 {
3904 arg8 = wxString_in_helper(obj7);
3905 if (arg8 == NULL) SWIG_fail;
3906 temp8 = True;
3907 }
3908 }
3909 {
3910 PyThreadState* __tstate = wxPyBeginAllowThreads();
3911 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3912
3913 wxPyEndAllowThreads(__tstate);
3914 if (PyErr_Occurred()) SWIG_fail;
3915 }
3916 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3917 {
3918 if (temp4)
3919 delete arg4;
3920 }
3921 {
3922 if (temp8)
3923 delete arg8;
3924 }
3925 return resultobj;
3926 fail:
3927 {
3928 if (temp4)
3929 delete arg4;
3930 }
3931 {
3932 if (temp8)
3933 delete arg8;
3934 }
3935 return NULL;
3936 }
3937
3938
3939 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3940 PyObject *resultobj;
3941 wxDialog *arg1 = (wxDialog *) 0 ;
3942 int arg2 ;
3943 PyObject * obj0 = 0 ;
3944 PyObject * obj1 = 0 ;
3945 char *kwnames[] = {
3946 (char *) "self",(char *) "returnCode", NULL
3947 };
3948
3949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
3950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
3951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3952 arg2 = (int) SWIG_AsInt(obj1);
3953 if (PyErr_Occurred()) SWIG_fail;
3954 {
3955 PyThreadState* __tstate = wxPyBeginAllowThreads();
3956 (arg1)->SetReturnCode(arg2);
3957
3958 wxPyEndAllowThreads(__tstate);
3959 if (PyErr_Occurred()) SWIG_fail;
3960 }
3961 Py_INCREF(Py_None); resultobj = Py_None;
3962 return resultobj;
3963 fail:
3964 return NULL;
3965 }
3966
3967
3968 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3969 PyObject *resultobj;
3970 wxDialog *arg1 = (wxDialog *) 0 ;
3971 int result;
3972 PyObject * obj0 = 0 ;
3973 char *kwnames[] = {
3974 (char *) "self", NULL
3975 };
3976
3977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
3978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
3979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3980 {
3981 PyThreadState* __tstate = wxPyBeginAllowThreads();
3982 result = (int)((wxDialog const *)arg1)->GetReturnCode();
3983
3984 wxPyEndAllowThreads(__tstate);
3985 if (PyErr_Occurred()) SWIG_fail;
3986 }
3987 resultobj = SWIG_FromInt((int)result);
3988 return resultobj;
3989 fail:
3990 return NULL;
3991 }
3992
3993
3994 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3995 PyObject *resultobj;
3996 wxDialog *arg1 = (wxDialog *) 0 ;
3997 wxString *arg2 = 0 ;
3998 wxSizer *result;
3999 bool temp2 = False ;
4000 PyObject * obj0 = 0 ;
4001 PyObject * obj1 = 0 ;
4002 char *kwnames[] = {
4003 (char *) "self",(char *) "message", NULL
4004 };
4005
4006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4009 {
4010 arg2 = wxString_in_helper(obj1);
4011 if (arg2 == NULL) SWIG_fail;
4012 temp2 = True;
4013 }
4014 {
4015 PyThreadState* __tstate = wxPyBeginAllowThreads();
4016 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4017
4018 wxPyEndAllowThreads(__tstate);
4019 if (PyErr_Occurred()) SWIG_fail;
4020 }
4021 {
4022 resultobj = wxPyMake_wxSizer(result);
4023 }
4024 {
4025 if (temp2)
4026 delete arg2;
4027 }
4028 return resultobj;
4029 fail:
4030 {
4031 if (temp2)
4032 delete arg2;
4033 }
4034 return NULL;
4035 }
4036
4037
4038 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4039 PyObject *resultobj;
4040 wxDialog *arg1 = (wxDialog *) 0 ;
4041 long arg2 ;
4042 wxSizer *result;
4043 PyObject * obj0 = 0 ;
4044 PyObject * obj1 = 0 ;
4045 char *kwnames[] = {
4046 (char *) "self",(char *) "flags", NULL
4047 };
4048
4049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4052 arg2 = (long) SWIG_AsLong(obj1);
4053 if (PyErr_Occurred()) SWIG_fail;
4054 {
4055 PyThreadState* __tstate = wxPyBeginAllowThreads();
4056 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4057
4058 wxPyEndAllowThreads(__tstate);
4059 if (PyErr_Occurred()) SWIG_fail;
4060 }
4061 {
4062 resultobj = wxPyMake_wxSizer(result);
4063 }
4064 return resultobj;
4065 fail:
4066 return NULL;
4067 }
4068
4069
4070 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4071 PyObject *resultobj;
4072 wxDialog *arg1 = (wxDialog *) 0 ;
4073 bool result;
4074 PyObject * obj0 = 0 ;
4075 char *kwnames[] = {
4076 (char *) "self", NULL
4077 };
4078
4079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4082 {
4083 PyThreadState* __tstate = wxPyBeginAllowThreads();
4084 result = (bool)((wxDialog const *)arg1)->IsModal();
4085
4086 wxPyEndAllowThreads(__tstate);
4087 if (PyErr_Occurred()) SWIG_fail;
4088 }
4089 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4090 return resultobj;
4091 fail:
4092 return NULL;
4093 }
4094
4095
4096 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4097 PyObject *resultobj;
4098 wxDialog *arg1 = (wxDialog *) 0 ;
4099 int result;
4100 PyObject * obj0 = 0 ;
4101 char *kwnames[] = {
4102 (char *) "self", NULL
4103 };
4104
4105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4108 {
4109 PyThreadState* __tstate = wxPyBeginAllowThreads();
4110 result = (int)(arg1)->ShowModal();
4111
4112 wxPyEndAllowThreads(__tstate);
4113 if (PyErr_Occurred()) SWIG_fail;
4114 }
4115 resultobj = SWIG_FromInt((int)result);
4116 return resultobj;
4117 fail:
4118 return NULL;
4119 }
4120
4121
4122 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4123 PyObject *resultobj;
4124 wxDialog *arg1 = (wxDialog *) 0 ;
4125 int arg2 ;
4126 PyObject * obj0 = 0 ;
4127 PyObject * obj1 = 0 ;
4128 char *kwnames[] = {
4129 (char *) "self",(char *) "retCode", NULL
4130 };
4131
4132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4135 arg2 = (int) SWIG_AsInt(obj1);
4136 if (PyErr_Occurred()) SWIG_fail;
4137 {
4138 PyThreadState* __tstate = wxPyBeginAllowThreads();
4139 (arg1)->EndModal(arg2);
4140
4141 wxPyEndAllowThreads(__tstate);
4142 if (PyErr_Occurred()) SWIG_fail;
4143 }
4144 Py_INCREF(Py_None); resultobj = Py_None;
4145 return resultobj;
4146 fail:
4147 return NULL;
4148 }
4149
4150
4151 static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) {
4152 PyObject *resultobj;
4153 wxDialog *arg1 = (wxDialog *) 0 ;
4154 bool result;
4155 PyObject * obj0 = 0 ;
4156 char *kwnames[] = {
4157 (char *) "self", NULL
4158 };
4159
4160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
4161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4163 {
4164 PyThreadState* __tstate = wxPyBeginAllowThreads();
4165 result = (bool)wxDialog_IsModalShowing(arg1);
4166
4167 wxPyEndAllowThreads(__tstate);
4168 if (PyErr_Occurred()) SWIG_fail;
4169 }
4170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4171 return resultobj;
4172 fail:
4173 return NULL;
4174 }
4175
4176
4177 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
4178 PyObject *obj;
4179 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4180 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4181 Py_INCREF(obj);
4182 return Py_BuildValue((char *)"");
4183 }
4184 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4185 PyObject *resultobj;
4186 wxWindow *arg1 = (wxWindow *) 0 ;
4187 int arg2 ;
4188 wxString *arg3 = 0 ;
4189 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4190 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4191 wxSize const &arg5_defvalue = wxDefaultSize ;
4192 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4193 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4194 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4195 wxString *arg7 = (wxString *) &arg7_defvalue ;
4196 wxMiniFrame *result;
4197 bool temp3 = False ;
4198 wxPoint temp4 ;
4199 wxSize temp5 ;
4200 bool temp7 = False ;
4201 PyObject * obj0 = 0 ;
4202 PyObject * obj1 = 0 ;
4203 PyObject * obj2 = 0 ;
4204 PyObject * obj3 = 0 ;
4205 PyObject * obj4 = 0 ;
4206 PyObject * obj5 = 0 ;
4207 PyObject * obj6 = 0 ;
4208 char *kwnames[] = {
4209 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4210 };
4211
4212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4215 arg2 = (int const) SWIG_AsInt(obj1);
4216 if (PyErr_Occurred()) SWIG_fail;
4217 {
4218 arg3 = wxString_in_helper(obj2);
4219 if (arg3 == NULL) SWIG_fail;
4220 temp3 = True;
4221 }
4222 if (obj3) {
4223 {
4224 arg4 = &temp4;
4225 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4226 }
4227 }
4228 if (obj4) {
4229 {
4230 arg5 = &temp5;
4231 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4232 }
4233 }
4234 if (obj5) {
4235 arg6 = (long) SWIG_AsLong(obj5);
4236 if (PyErr_Occurred()) SWIG_fail;
4237 }
4238 if (obj6) {
4239 {
4240 arg7 = wxString_in_helper(obj6);
4241 if (arg7 == NULL) SWIG_fail;
4242 temp7 = True;
4243 }
4244 }
4245 {
4246 PyThreadState* __tstate = wxPyBeginAllowThreads();
4247 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4248
4249 wxPyEndAllowThreads(__tstate);
4250 if (PyErr_Occurred()) SWIG_fail;
4251 }
4252 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4253 {
4254 if (temp3)
4255 delete arg3;
4256 }
4257 {
4258 if (temp7)
4259 delete arg7;
4260 }
4261 return resultobj;
4262 fail:
4263 {
4264 if (temp3)
4265 delete arg3;
4266 }
4267 {
4268 if (temp7)
4269 delete arg7;
4270 }
4271 return NULL;
4272 }
4273
4274
4275 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4276 PyObject *resultobj;
4277 wxMiniFrame *result;
4278 char *kwnames[] = {
4279 NULL
4280 };
4281
4282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4283 {
4284 PyThreadState* __tstate = wxPyBeginAllowThreads();
4285 result = (wxMiniFrame *)new wxMiniFrame();
4286
4287 wxPyEndAllowThreads(__tstate);
4288 if (PyErr_Occurred()) SWIG_fail;
4289 }
4290 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4291 return resultobj;
4292 fail:
4293 return NULL;
4294 }
4295
4296
4297 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4298 PyObject *resultobj;
4299 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4300 wxWindow *arg2 = (wxWindow *) 0 ;
4301 int arg3 ;
4302 wxString *arg4 = 0 ;
4303 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4304 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4305 wxSize const &arg6_defvalue = wxDefaultSize ;
4306 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4307 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4308 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4309 wxString *arg8 = (wxString *) &arg8_defvalue ;
4310 bool result;
4311 bool temp4 = False ;
4312 wxPoint temp5 ;
4313 wxSize temp6 ;
4314 bool temp8 = 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 PyObject * obj7 = 0 ;
4323 char *kwnames[] = {
4324 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4325 };
4326
4327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4330 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4332 arg3 = (int const) SWIG_AsInt(obj2);
4333 if (PyErr_Occurred()) SWIG_fail;
4334 {
4335 arg4 = wxString_in_helper(obj3);
4336 if (arg4 == NULL) SWIG_fail;
4337 temp4 = True;
4338 }
4339 if (obj4) {
4340 {
4341 arg5 = &temp5;
4342 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4343 }
4344 }
4345 if (obj5) {
4346 {
4347 arg6 = &temp6;
4348 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4349 }
4350 }
4351 if (obj6) {
4352 arg7 = (long) SWIG_AsLong(obj6);
4353 if (PyErr_Occurred()) SWIG_fail;
4354 }
4355 if (obj7) {
4356 {
4357 arg8 = wxString_in_helper(obj7);
4358 if (arg8 == NULL) SWIG_fail;
4359 temp8 = True;
4360 }
4361 }
4362 {
4363 PyThreadState* __tstate = wxPyBeginAllowThreads();
4364 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4365
4366 wxPyEndAllowThreads(__tstate);
4367 if (PyErr_Occurred()) SWIG_fail;
4368 }
4369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4370 {
4371 if (temp4)
4372 delete arg4;
4373 }
4374 {
4375 if (temp8)
4376 delete arg8;
4377 }
4378 return resultobj;
4379 fail:
4380 {
4381 if (temp4)
4382 delete arg4;
4383 }
4384 {
4385 if (temp8)
4386 delete arg8;
4387 }
4388 return NULL;
4389 }
4390
4391
4392 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4393 PyObject *obj;
4394 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4395 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4396 Py_INCREF(obj);
4397 return Py_BuildValue((char *)"");
4398 }
4399 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4400 PyObject *resultobj;
4401 wxBitmap *arg1 = 0 ;
4402 wxWindow *arg2 = (wxWindow *) 0 ;
4403 int arg3 ;
4404 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4405 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4406 wxSize const &arg5_defvalue = wxDefaultSize ;
4407 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4408 long arg6 = (long) wxNO_BORDER ;
4409 wxSplashScreenWindow *result;
4410 wxPoint temp4 ;
4411 wxSize temp5 ;
4412 PyObject * obj0 = 0 ;
4413 PyObject * obj1 = 0 ;
4414 PyObject * obj2 = 0 ;
4415 PyObject * obj3 = 0 ;
4416 PyObject * obj4 = 0 ;
4417 PyObject * obj5 = 0 ;
4418 char *kwnames[] = {
4419 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4420 };
4421
4422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4424 SWIG_POINTER_EXCEPTION | 0)) == -1)
4425 SWIG_fail;
4426 if (arg1 == NULL) {
4427 PyErr_SetString(PyExc_TypeError,"null reference");
4428 SWIG_fail;
4429 }
4430 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4432 arg3 = (int) SWIG_AsInt(obj2);
4433 if (PyErr_Occurred()) SWIG_fail;
4434 if (obj3) {
4435 {
4436 arg4 = &temp4;
4437 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4438 }
4439 }
4440 if (obj4) {
4441 {
4442 arg5 = &temp5;
4443 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4444 }
4445 }
4446 if (obj5) {
4447 arg6 = (long) SWIG_AsLong(obj5);
4448 if (PyErr_Occurred()) SWIG_fail;
4449 }
4450 {
4451 PyThreadState* __tstate = wxPyBeginAllowThreads();
4452 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4453
4454 wxPyEndAllowThreads(__tstate);
4455 if (PyErr_Occurred()) SWIG_fail;
4456 }
4457 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
4458 return resultobj;
4459 fail:
4460 return NULL;
4461 }
4462
4463
4464 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4465 PyObject *resultobj;
4466 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4467 wxBitmap *arg2 = 0 ;
4468 PyObject * obj0 = 0 ;
4469 PyObject * obj1 = 0 ;
4470 char *kwnames[] = {
4471 (char *) "self",(char *) "bitmap", NULL
4472 };
4473
4474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4477 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4478 SWIG_POINTER_EXCEPTION | 0)) == -1)
4479 SWIG_fail;
4480 if (arg2 == NULL) {
4481 PyErr_SetString(PyExc_TypeError,"null reference");
4482 SWIG_fail;
4483 }
4484 {
4485 PyThreadState* __tstate = wxPyBeginAllowThreads();
4486 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4487
4488 wxPyEndAllowThreads(__tstate);
4489 if (PyErr_Occurred()) SWIG_fail;
4490 }
4491 Py_INCREF(Py_None); resultobj = Py_None;
4492 return resultobj;
4493 fail:
4494 return NULL;
4495 }
4496
4497
4498 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4499 PyObject *resultobj;
4500 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4501 wxBitmap *result;
4502 PyObject * obj0 = 0 ;
4503 char *kwnames[] = {
4504 (char *) "self", NULL
4505 };
4506
4507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4510 {
4511 PyThreadState* __tstate = wxPyBeginAllowThreads();
4512 {
4513 wxBitmap &_result_ref = (arg1)->GetBitmap();
4514 result = (wxBitmap *) &_result_ref;
4515 }
4516
4517 wxPyEndAllowThreads(__tstate);
4518 if (PyErr_Occurred()) SWIG_fail;
4519 }
4520 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 0);
4521 return resultobj;
4522 fail:
4523 return NULL;
4524 }
4525
4526
4527 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4528 PyObject *obj;
4529 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4530 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4531 Py_INCREF(obj);
4532 return Py_BuildValue((char *)"");
4533 }
4534 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4535 PyObject *resultobj;
4536 wxBitmap *arg1 = 0 ;
4537 long arg2 ;
4538 int arg3 ;
4539 wxWindow *arg4 = (wxWindow *) 0 ;
4540 int arg5 ;
4541 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4542 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4543 wxSize const &arg7_defvalue = wxDefaultSize ;
4544 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4545 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4546 wxSplashScreen *result;
4547 wxPoint temp6 ;
4548 wxSize temp7 ;
4549 PyObject * obj0 = 0 ;
4550 PyObject * obj1 = 0 ;
4551 PyObject * obj2 = 0 ;
4552 PyObject * obj3 = 0 ;
4553 PyObject * obj4 = 0 ;
4554 PyObject * obj5 = 0 ;
4555 PyObject * obj6 = 0 ;
4556 PyObject * obj7 = 0 ;
4557 char *kwnames[] = {
4558 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4559 };
4560
4561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4563 SWIG_POINTER_EXCEPTION | 0)) == -1)
4564 SWIG_fail;
4565 if (arg1 == NULL) {
4566 PyErr_SetString(PyExc_TypeError,"null reference");
4567 SWIG_fail;
4568 }
4569 arg2 = (long) SWIG_AsLong(obj1);
4570 if (PyErr_Occurred()) SWIG_fail;
4571 arg3 = (int) SWIG_AsInt(obj2);
4572 if (PyErr_Occurred()) SWIG_fail;
4573 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
4574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4575 arg5 = (int) SWIG_AsInt(obj4);
4576 if (PyErr_Occurred()) SWIG_fail;
4577 if (obj5) {
4578 {
4579 arg6 = &temp6;
4580 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4581 }
4582 }
4583 if (obj6) {
4584 {
4585 arg7 = &temp7;
4586 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4587 }
4588 }
4589 if (obj7) {
4590 arg8 = (long) SWIG_AsLong(obj7);
4591 if (PyErr_Occurred()) SWIG_fail;
4592 }
4593 {
4594 PyThreadState* __tstate = wxPyBeginAllowThreads();
4595 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4596
4597 wxPyEndAllowThreads(__tstate);
4598 if (PyErr_Occurred()) SWIG_fail;
4599 }
4600 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
4601 return resultobj;
4602 fail:
4603 return NULL;
4604 }
4605
4606
4607 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4608 PyObject *resultobj;
4609 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4610 long result;
4611 PyObject * obj0 = 0 ;
4612 char *kwnames[] = {
4613 (char *) "self", NULL
4614 };
4615
4616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4619 {
4620 PyThreadState* __tstate = wxPyBeginAllowThreads();
4621 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4622
4623 wxPyEndAllowThreads(__tstate);
4624 if (PyErr_Occurred()) SWIG_fail;
4625 }
4626 resultobj = SWIG_FromLong((long)result);
4627 return resultobj;
4628 fail:
4629 return NULL;
4630 }
4631
4632
4633 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4634 PyObject *resultobj;
4635 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4636 wxSplashScreenWindow *result;
4637 PyObject * obj0 = 0 ;
4638 char *kwnames[] = {
4639 (char *) "self", NULL
4640 };
4641
4642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4645 {
4646 PyThreadState* __tstate = wxPyBeginAllowThreads();
4647 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4648
4649 wxPyEndAllowThreads(__tstate);
4650 if (PyErr_Occurred()) SWIG_fail;
4651 }
4652 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
4653 return resultobj;
4654 fail:
4655 return NULL;
4656 }
4657
4658
4659 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4660 PyObject *resultobj;
4661 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4662 int result;
4663 PyObject * obj0 = 0 ;
4664 char *kwnames[] = {
4665 (char *) "self", NULL
4666 };
4667
4668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4671 {
4672 PyThreadState* __tstate = wxPyBeginAllowThreads();
4673 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4674
4675 wxPyEndAllowThreads(__tstate);
4676 if (PyErr_Occurred()) SWIG_fail;
4677 }
4678 resultobj = SWIG_FromInt((int)result);
4679 return resultobj;
4680 fail:
4681 return NULL;
4682 }
4683
4684
4685 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4686 PyObject *obj;
4687 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4688 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4689 Py_INCREF(obj);
4690 return Py_BuildValue((char *)"");
4691 }
4692 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4693 PyObject *resultobj;
4694 wxWindow *arg1 = (wxWindow *) 0 ;
4695 int arg2 = (int) -1 ;
4696 long arg3 = (long) wxST_SIZEGRIP ;
4697 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4698 wxString *arg4 = (wxString *) &arg4_defvalue ;
4699 wxStatusBar *result;
4700 bool temp4 = False ;
4701 PyObject * obj0 = 0 ;
4702 PyObject * obj1 = 0 ;
4703 PyObject * obj2 = 0 ;
4704 PyObject * obj3 = 0 ;
4705 char *kwnames[] = {
4706 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4707 };
4708
4709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4712 if (obj1) {
4713 arg2 = (int) SWIG_AsInt(obj1);
4714 if (PyErr_Occurred()) SWIG_fail;
4715 }
4716 if (obj2) {
4717 arg3 = (long) SWIG_AsLong(obj2);
4718 if (PyErr_Occurred()) SWIG_fail;
4719 }
4720 if (obj3) {
4721 {
4722 arg4 = wxString_in_helper(obj3);
4723 if (arg4 == NULL) SWIG_fail;
4724 temp4 = True;
4725 }
4726 }
4727 {
4728 PyThreadState* __tstate = wxPyBeginAllowThreads();
4729 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4730
4731 wxPyEndAllowThreads(__tstate);
4732 if (PyErr_Occurred()) SWIG_fail;
4733 }
4734 {
4735 resultobj = wxPyMake_wxObject(result);
4736 }
4737 {
4738 if (temp4)
4739 delete arg4;
4740 }
4741 return resultobj;
4742 fail:
4743 {
4744 if (temp4)
4745 delete arg4;
4746 }
4747 return NULL;
4748 }
4749
4750
4751 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4752 PyObject *resultobj;
4753 wxStatusBar *result;
4754 char *kwnames[] = {
4755 NULL
4756 };
4757
4758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4759 {
4760 PyThreadState* __tstate = wxPyBeginAllowThreads();
4761 result = (wxStatusBar *)new wxStatusBar();
4762
4763 wxPyEndAllowThreads(__tstate);
4764 if (PyErr_Occurred()) SWIG_fail;
4765 }
4766 {
4767 resultobj = wxPyMake_wxObject(result);
4768 }
4769 return resultobj;
4770 fail:
4771 return NULL;
4772 }
4773
4774
4775 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4776 PyObject *resultobj;
4777 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4778 wxWindow *arg2 = (wxWindow *) 0 ;
4779 int arg3 ;
4780 long arg4 = (long) wxST_SIZEGRIP ;
4781 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4782 wxString *arg5 = (wxString *) &arg5_defvalue ;
4783 bool result;
4784 bool temp5 = False ;
4785 PyObject * obj0 = 0 ;
4786 PyObject * obj1 = 0 ;
4787 PyObject * obj2 = 0 ;
4788 PyObject * obj3 = 0 ;
4789 PyObject * obj4 = 0 ;
4790 char *kwnames[] = {
4791 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4792 };
4793
4794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4797 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4799 arg3 = (int) SWIG_AsInt(obj2);
4800 if (PyErr_Occurred()) SWIG_fail;
4801 if (obj3) {
4802 arg4 = (long) SWIG_AsLong(obj3);
4803 if (PyErr_Occurred()) SWIG_fail;
4804 }
4805 if (obj4) {
4806 {
4807 arg5 = wxString_in_helper(obj4);
4808 if (arg5 == NULL) SWIG_fail;
4809 temp5 = True;
4810 }
4811 }
4812 {
4813 PyThreadState* __tstate = wxPyBeginAllowThreads();
4814 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4815
4816 wxPyEndAllowThreads(__tstate);
4817 if (PyErr_Occurred()) SWIG_fail;
4818 }
4819 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4820 {
4821 if (temp5)
4822 delete arg5;
4823 }
4824 return resultobj;
4825 fail:
4826 {
4827 if (temp5)
4828 delete arg5;
4829 }
4830 return NULL;
4831 }
4832
4833
4834 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4835 PyObject *resultobj;
4836 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4837 int arg2 = (int) 1 ;
4838 PyObject * obj0 = 0 ;
4839 PyObject * obj1 = 0 ;
4840 char *kwnames[] = {
4841 (char *) "self",(char *) "number", NULL
4842 };
4843
4844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
4845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4847 if (obj1) {
4848 arg2 = (int) SWIG_AsInt(obj1);
4849 if (PyErr_Occurred()) SWIG_fail;
4850 }
4851 {
4852 PyThreadState* __tstate = wxPyBeginAllowThreads();
4853 (arg1)->SetFieldsCount(arg2);
4854
4855 wxPyEndAllowThreads(__tstate);
4856 if (PyErr_Occurred()) SWIG_fail;
4857 }
4858 Py_INCREF(Py_None); resultobj = Py_None;
4859 return resultobj;
4860 fail:
4861 return NULL;
4862 }
4863
4864
4865 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4866 PyObject *resultobj;
4867 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4868 int result;
4869 PyObject * obj0 = 0 ;
4870 char *kwnames[] = {
4871 (char *) "self", NULL
4872 };
4873
4874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
4875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4877 {
4878 PyThreadState* __tstate = wxPyBeginAllowThreads();
4879 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
4880
4881 wxPyEndAllowThreads(__tstate);
4882 if (PyErr_Occurred()) SWIG_fail;
4883 }
4884 resultobj = SWIG_FromInt((int)result);
4885 return resultobj;
4886 fail:
4887 return NULL;
4888 }
4889
4890
4891 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4892 PyObject *resultobj;
4893 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4894 wxString *arg2 = 0 ;
4895 int arg3 = (int) 0 ;
4896 bool temp2 = False ;
4897 PyObject * obj0 = 0 ;
4898 PyObject * obj1 = 0 ;
4899 PyObject * obj2 = 0 ;
4900 char *kwnames[] = {
4901 (char *) "self",(char *) "text",(char *) "number", NULL
4902 };
4903
4904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
4905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4907 {
4908 arg2 = wxString_in_helper(obj1);
4909 if (arg2 == NULL) SWIG_fail;
4910 temp2 = True;
4911 }
4912 if (obj2) {
4913 arg3 = (int) SWIG_AsInt(obj2);
4914 if (PyErr_Occurred()) SWIG_fail;
4915 }
4916 {
4917 PyThreadState* __tstate = wxPyBeginAllowThreads();
4918 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
4919
4920 wxPyEndAllowThreads(__tstate);
4921 if (PyErr_Occurred()) SWIG_fail;
4922 }
4923 Py_INCREF(Py_None); resultobj = Py_None;
4924 {
4925 if (temp2)
4926 delete arg2;
4927 }
4928 return resultobj;
4929 fail:
4930 {
4931 if (temp2)
4932 delete arg2;
4933 }
4934 return NULL;
4935 }
4936
4937
4938 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4939 PyObject *resultobj;
4940 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4941 int arg2 = (int) 0 ;
4942 wxString result;
4943 PyObject * obj0 = 0 ;
4944 PyObject * obj1 = 0 ;
4945 char *kwnames[] = {
4946 (char *) "self",(char *) "number", NULL
4947 };
4948
4949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
4950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4952 if (obj1) {
4953 arg2 = (int) SWIG_AsInt(obj1);
4954 if (PyErr_Occurred()) SWIG_fail;
4955 }
4956 {
4957 PyThreadState* __tstate = wxPyBeginAllowThreads();
4958 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
4959
4960 wxPyEndAllowThreads(__tstate);
4961 if (PyErr_Occurred()) SWIG_fail;
4962 }
4963 {
4964 #if wxUSE_UNICODE
4965 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4966 #else
4967 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4968 #endif
4969 }
4970 return resultobj;
4971 fail:
4972 return NULL;
4973 }
4974
4975
4976 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4977 PyObject *resultobj;
4978 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4979 wxString *arg2 = 0 ;
4980 int arg3 = (int) 0 ;
4981 bool temp2 = False ;
4982 PyObject * obj0 = 0 ;
4983 PyObject * obj1 = 0 ;
4984 PyObject * obj2 = 0 ;
4985 char *kwnames[] = {
4986 (char *) "self",(char *) "text",(char *) "number", NULL
4987 };
4988
4989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
4990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4992 {
4993 arg2 = wxString_in_helper(obj1);
4994 if (arg2 == NULL) SWIG_fail;
4995 temp2 = True;
4996 }
4997 if (obj2) {
4998 arg3 = (int) SWIG_AsInt(obj2);
4999 if (PyErr_Occurred()) SWIG_fail;
5000 }
5001 {
5002 PyThreadState* __tstate = wxPyBeginAllowThreads();
5003 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5004
5005 wxPyEndAllowThreads(__tstate);
5006 if (PyErr_Occurred()) SWIG_fail;
5007 }
5008 Py_INCREF(Py_None); resultobj = Py_None;
5009 {
5010 if (temp2)
5011 delete arg2;
5012 }
5013 return resultobj;
5014 fail:
5015 {
5016 if (temp2)
5017 delete arg2;
5018 }
5019 return NULL;
5020 }
5021
5022
5023 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5024 PyObject *resultobj;
5025 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5026 int arg2 = (int) 0 ;
5027 PyObject * obj0 = 0 ;
5028 PyObject * obj1 = 0 ;
5029 char *kwnames[] = {
5030 (char *) "self",(char *) "number", NULL
5031 };
5032
5033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5036 if (obj1) {
5037 arg2 = (int) SWIG_AsInt(obj1);
5038 if (PyErr_Occurred()) SWIG_fail;
5039 }
5040 {
5041 PyThreadState* __tstate = wxPyBeginAllowThreads();
5042 (arg1)->PopStatusText(arg2);
5043
5044 wxPyEndAllowThreads(__tstate);
5045 if (PyErr_Occurred()) SWIG_fail;
5046 }
5047 Py_INCREF(Py_None); resultobj = Py_None;
5048 return resultobj;
5049 fail:
5050 return NULL;
5051 }
5052
5053
5054 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
5055 PyObject *resultobj;
5056 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5057 int arg2 ;
5058 int *arg3 = (int *) 0 ;
5059 PyObject * obj0 = 0 ;
5060 PyObject * obj1 = 0 ;
5061 char *kwnames[] = {
5062 (char *) "self",(char *) "widths", NULL
5063 };
5064
5065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5068 {
5069 arg2 = PyList_Size(obj1);
5070 arg3 = int_LIST_helper(obj1);
5071 if (arg3 == NULL) SWIG_fail;
5072 }
5073 {
5074 PyThreadState* __tstate = wxPyBeginAllowThreads();
5075 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5076
5077 wxPyEndAllowThreads(__tstate);
5078 if (PyErr_Occurred()) SWIG_fail;
5079 }
5080 Py_INCREF(Py_None); resultobj = Py_None;
5081 {
5082 if (arg3) delete [] arg3;
5083 }
5084 return resultobj;
5085 fail:
5086 {
5087 if (arg3) delete [] arg3;
5088 }
5089 return NULL;
5090 }
5091
5092
5093 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5094 PyObject *resultobj;
5095 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5096 int arg2 ;
5097 wxRect result;
5098 PyObject * obj0 = 0 ;
5099 PyObject * obj1 = 0 ;
5100 char *kwnames[] = {
5101 (char *) "self",(char *) "i", NULL
5102 };
5103
5104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5107 arg2 = (int) SWIG_AsInt(obj1);
5108 if (PyErr_Occurred()) SWIG_fail;
5109 {
5110 PyThreadState* __tstate = wxPyBeginAllowThreads();
5111 result = wxStatusBar_GetFieldRect(arg1,arg2);
5112
5113 wxPyEndAllowThreads(__tstate);
5114 if (PyErr_Occurred()) SWIG_fail;
5115 }
5116 {
5117 wxRect * resultptr;
5118 resultptr = new wxRect((wxRect &) result);
5119 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5120 }
5121 return resultobj;
5122 fail:
5123 return NULL;
5124 }
5125
5126
5127 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5128 PyObject *resultobj;
5129 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5130 int arg2 ;
5131 PyObject * obj0 = 0 ;
5132 PyObject * obj1 = 0 ;
5133 char *kwnames[] = {
5134 (char *) "self",(char *) "height", NULL
5135 };
5136
5137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5140 arg2 = (int) SWIG_AsInt(obj1);
5141 if (PyErr_Occurred()) SWIG_fail;
5142 {
5143 PyThreadState* __tstate = wxPyBeginAllowThreads();
5144 (arg1)->SetMinHeight(arg2);
5145
5146 wxPyEndAllowThreads(__tstate);
5147 if (PyErr_Occurred()) SWIG_fail;
5148 }
5149 Py_INCREF(Py_None); resultobj = Py_None;
5150 return resultobj;
5151 fail:
5152 return NULL;
5153 }
5154
5155
5156 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
5157 PyObject *resultobj;
5158 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5159 int result;
5160 PyObject * obj0 = 0 ;
5161 char *kwnames[] = {
5162 (char *) "self", NULL
5163 };
5164
5165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5168 {
5169 PyThreadState* __tstate = wxPyBeginAllowThreads();
5170 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5171
5172 wxPyEndAllowThreads(__tstate);
5173 if (PyErr_Occurred()) SWIG_fail;
5174 }
5175 resultobj = SWIG_FromInt((int)result);
5176 return resultobj;
5177 fail:
5178 return NULL;
5179 }
5180
5181
5182 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
5183 PyObject *resultobj;
5184 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5185 int result;
5186 PyObject * obj0 = 0 ;
5187 char *kwnames[] = {
5188 (char *) "self", NULL
5189 };
5190
5191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5194 {
5195 PyThreadState* __tstate = wxPyBeginAllowThreads();
5196 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5197
5198 wxPyEndAllowThreads(__tstate);
5199 if (PyErr_Occurred()) SWIG_fail;
5200 }
5201 resultobj = SWIG_FromInt((int)result);
5202 return resultobj;
5203 fail:
5204 return NULL;
5205 }
5206
5207
5208 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
5209 PyObject *obj;
5210 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5211 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5212 Py_INCREF(obj);
5213 return Py_BuildValue((char *)"");
5214 }
5215 static int _wrap_SplitterNameStr_set(PyObject *_val) {
5216 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5217 return 1;
5218 }
5219
5220
5221 static PyObject *_wrap_SplitterNameStr_get() {
5222 PyObject *pyobj;
5223
5224 {
5225 #if wxUSE_UNICODE
5226 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5227 #else
5228 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5229 #endif
5230 }
5231 return pyobj;
5232 }
5233
5234
5235 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5236 PyObject *resultobj;
5237 wxWindow *arg1 = (wxWindow *) 0 ;
5238 int arg2 ;
5239 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5240 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5241 wxSize const &arg4_defvalue = wxDefaultSize ;
5242 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5243 long arg5 = (long) wxSP_3D ;
5244 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5245 wxString *arg6 = (wxString *) &arg6_defvalue ;
5246 wxSplitterWindow *result;
5247 wxPoint temp3 ;
5248 wxSize temp4 ;
5249 bool temp6 = False ;
5250 PyObject * obj0 = 0 ;
5251 PyObject * obj1 = 0 ;
5252 PyObject * obj2 = 0 ;
5253 PyObject * obj3 = 0 ;
5254 PyObject * obj4 = 0 ;
5255 PyObject * obj5 = 0 ;
5256 char *kwnames[] = {
5257 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5258 };
5259
5260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5263 arg2 = (int) SWIG_AsInt(obj1);
5264 if (PyErr_Occurred()) SWIG_fail;
5265 if (obj2) {
5266 {
5267 arg3 = &temp3;
5268 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5269 }
5270 }
5271 if (obj3) {
5272 {
5273 arg4 = &temp4;
5274 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5275 }
5276 }
5277 if (obj4) {
5278 arg5 = (long) SWIG_AsLong(obj4);
5279 if (PyErr_Occurred()) SWIG_fail;
5280 }
5281 if (obj5) {
5282 {
5283 arg6 = wxString_in_helper(obj5);
5284 if (arg6 == NULL) SWIG_fail;
5285 temp6 = True;
5286 }
5287 }
5288 {
5289 PyThreadState* __tstate = wxPyBeginAllowThreads();
5290 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5291
5292 wxPyEndAllowThreads(__tstate);
5293 if (PyErr_Occurred()) SWIG_fail;
5294 }
5295 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5296 {
5297 if (temp6)
5298 delete arg6;
5299 }
5300 return resultobj;
5301 fail:
5302 {
5303 if (temp6)
5304 delete arg6;
5305 }
5306 return NULL;
5307 }
5308
5309
5310 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5311 PyObject *resultobj;
5312 wxSplitterWindow *result;
5313 char *kwnames[] = {
5314 NULL
5315 };
5316
5317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5318 {
5319 PyThreadState* __tstate = wxPyBeginAllowThreads();
5320 result = (wxSplitterWindow *)new wxSplitterWindow();
5321
5322 wxPyEndAllowThreads(__tstate);
5323 if (PyErr_Occurred()) SWIG_fail;
5324 }
5325 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5326 return resultobj;
5327 fail:
5328 return NULL;
5329 }
5330
5331
5332 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5333 PyObject *resultobj;
5334 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5335 wxWindow *arg2 = (wxWindow *) 0 ;
5336 int arg3 ;
5337 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5338 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5339 wxSize const &arg5_defvalue = wxDefaultSize ;
5340 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5341 long arg6 = (long) wxSP_3D ;
5342 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5343 wxString *arg7 = (wxString *) &arg7_defvalue ;
5344 bool result;
5345 wxPoint temp4 ;
5346 wxSize temp5 ;
5347 bool temp7 = False ;
5348 PyObject * obj0 = 0 ;
5349 PyObject * obj1 = 0 ;
5350 PyObject * obj2 = 0 ;
5351 PyObject * obj3 = 0 ;
5352 PyObject * obj4 = 0 ;
5353 PyObject * obj5 = 0 ;
5354 PyObject * obj6 = 0 ;
5355 char *kwnames[] = {
5356 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5357 };
5358
5359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5362 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5364 arg3 = (int) SWIG_AsInt(obj2);
5365 if (PyErr_Occurred()) SWIG_fail;
5366 if (obj3) {
5367 {
5368 arg4 = &temp4;
5369 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5370 }
5371 }
5372 if (obj4) {
5373 {
5374 arg5 = &temp5;
5375 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5376 }
5377 }
5378 if (obj5) {
5379 arg6 = (long) SWIG_AsLong(obj5);
5380 if (PyErr_Occurred()) SWIG_fail;
5381 }
5382 if (obj6) {
5383 {
5384 arg7 = wxString_in_helper(obj6);
5385 if (arg7 == NULL) SWIG_fail;
5386 temp7 = True;
5387 }
5388 }
5389 {
5390 PyThreadState* __tstate = wxPyBeginAllowThreads();
5391 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5392
5393 wxPyEndAllowThreads(__tstate);
5394 if (PyErr_Occurred()) SWIG_fail;
5395 }
5396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5397 {
5398 if (temp7)
5399 delete arg7;
5400 }
5401 return resultobj;
5402 fail:
5403 {
5404 if (temp7)
5405 delete arg7;
5406 }
5407 return NULL;
5408 }
5409
5410
5411 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5412 PyObject *resultobj;
5413 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5414 wxWindow *result;
5415 PyObject * obj0 = 0 ;
5416 char *kwnames[] = {
5417 (char *) "self", NULL
5418 };
5419
5420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5423 {
5424 PyThreadState* __tstate = wxPyBeginAllowThreads();
5425 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5426
5427 wxPyEndAllowThreads(__tstate);
5428 if (PyErr_Occurred()) SWIG_fail;
5429 }
5430 {
5431 resultobj = wxPyMake_wxObject(result);
5432 }
5433 return resultobj;
5434 fail:
5435 return NULL;
5436 }
5437
5438
5439 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5440 PyObject *resultobj;
5441 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5442 wxWindow *result;
5443 PyObject * obj0 = 0 ;
5444 char *kwnames[] = {
5445 (char *) "self", NULL
5446 };
5447
5448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5451 {
5452 PyThreadState* __tstate = wxPyBeginAllowThreads();
5453 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5454
5455 wxPyEndAllowThreads(__tstate);
5456 if (PyErr_Occurred()) SWIG_fail;
5457 }
5458 {
5459 resultobj = wxPyMake_wxObject(result);
5460 }
5461 return resultobj;
5462 fail:
5463 return NULL;
5464 }
5465
5466
5467 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5468 PyObject *resultobj;
5469 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5470 int arg2 ;
5471 PyObject * obj0 = 0 ;
5472 PyObject * obj1 = 0 ;
5473 char *kwnames[] = {
5474 (char *) "self",(char *) "mode", NULL
5475 };
5476
5477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
5478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5480 arg2 = (int) SWIG_AsInt(obj1);
5481 if (PyErr_Occurred()) SWIG_fail;
5482 {
5483 PyThreadState* __tstate = wxPyBeginAllowThreads();
5484 (arg1)->SetSplitMode(arg2);
5485
5486 wxPyEndAllowThreads(__tstate);
5487 if (PyErr_Occurred()) SWIG_fail;
5488 }
5489 Py_INCREF(Py_None); resultobj = Py_None;
5490 return resultobj;
5491 fail:
5492 return NULL;
5493 }
5494
5495
5496 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5497 PyObject *resultobj;
5498 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5499 int result;
5500 PyObject * obj0 = 0 ;
5501 char *kwnames[] = {
5502 (char *) "self", NULL
5503 };
5504
5505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5508 {
5509 PyThreadState* __tstate = wxPyBeginAllowThreads();
5510 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5511
5512 wxPyEndAllowThreads(__tstate);
5513 if (PyErr_Occurred()) SWIG_fail;
5514 }
5515 resultobj = SWIG_FromInt((int)result);
5516 return resultobj;
5517 fail:
5518 return NULL;
5519 }
5520
5521
5522 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5523 PyObject *resultobj;
5524 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5525 wxWindow *arg2 = (wxWindow *) 0 ;
5526 PyObject * obj0 = 0 ;
5527 PyObject * obj1 = 0 ;
5528 char *kwnames[] = {
5529 (char *) "self",(char *) "window", NULL
5530 };
5531
5532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5535 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5537 {
5538 PyThreadState* __tstate = wxPyBeginAllowThreads();
5539 (arg1)->Initialize(arg2);
5540
5541 wxPyEndAllowThreads(__tstate);
5542 if (PyErr_Occurred()) SWIG_fail;
5543 }
5544 Py_INCREF(Py_None); resultobj = Py_None;
5545 return resultobj;
5546 fail:
5547 return NULL;
5548 }
5549
5550
5551 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
5552 PyObject *resultobj;
5553 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5554 wxWindow *arg2 = (wxWindow *) 0 ;
5555 wxWindow *arg3 = (wxWindow *) 0 ;
5556 int arg4 = (int) 0 ;
5557 bool result;
5558 PyObject * obj0 = 0 ;
5559 PyObject * obj1 = 0 ;
5560 PyObject * obj2 = 0 ;
5561 PyObject * obj3 = 0 ;
5562 char *kwnames[] = {
5563 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5564 };
5565
5566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5569 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5571 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5573 if (obj3) {
5574 arg4 = (int) SWIG_AsInt(obj3);
5575 if (PyErr_Occurred()) SWIG_fail;
5576 }
5577 {
5578 PyThreadState* __tstate = wxPyBeginAllowThreads();
5579 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5580
5581 wxPyEndAllowThreads(__tstate);
5582 if (PyErr_Occurred()) SWIG_fail;
5583 }
5584 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5585 return resultobj;
5586 fail:
5587 return NULL;
5588 }
5589
5590
5591 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5592 PyObject *resultobj;
5593 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5594 wxWindow *arg2 = (wxWindow *) 0 ;
5595 wxWindow *arg3 = (wxWindow *) 0 ;
5596 int arg4 = (int) 0 ;
5597 bool result;
5598 PyObject * obj0 = 0 ;
5599 PyObject * obj1 = 0 ;
5600 PyObject * obj2 = 0 ;
5601 PyObject * obj3 = 0 ;
5602 char *kwnames[] = {
5603 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5604 };
5605
5606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5609 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5611 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5613 if (obj3) {
5614 arg4 = (int) SWIG_AsInt(obj3);
5615 if (PyErr_Occurred()) SWIG_fail;
5616 }
5617 {
5618 PyThreadState* __tstate = wxPyBeginAllowThreads();
5619 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5620
5621 wxPyEndAllowThreads(__tstate);
5622 if (PyErr_Occurred()) SWIG_fail;
5623 }
5624 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5625 return resultobj;
5626 fail:
5627 return NULL;
5628 }
5629
5630
5631 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5632 PyObject *resultobj;
5633 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5634 wxWindow *arg2 = (wxWindow *) NULL ;
5635 bool result;
5636 PyObject * obj0 = 0 ;
5637 PyObject * obj1 = 0 ;
5638 char *kwnames[] = {
5639 (char *) "self",(char *) "toRemove", NULL
5640 };
5641
5642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5645 if (obj1) {
5646 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5648 }
5649 {
5650 PyThreadState* __tstate = wxPyBeginAllowThreads();
5651 result = (bool)(arg1)->Unsplit(arg2);
5652
5653 wxPyEndAllowThreads(__tstate);
5654 if (PyErr_Occurred()) SWIG_fail;
5655 }
5656 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5657 return resultobj;
5658 fail:
5659 return NULL;
5660 }
5661
5662
5663 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5664 PyObject *resultobj;
5665 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5666 wxWindow *arg2 = (wxWindow *) 0 ;
5667 wxWindow *arg3 = (wxWindow *) 0 ;
5668 bool result;
5669 PyObject * obj0 = 0 ;
5670 PyObject * obj1 = 0 ;
5671 PyObject * obj2 = 0 ;
5672 char *kwnames[] = {
5673 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5674 };
5675
5676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5679 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5681 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5683 {
5684 PyThreadState* __tstate = wxPyBeginAllowThreads();
5685 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5686
5687 wxPyEndAllowThreads(__tstate);
5688 if (PyErr_Occurred()) SWIG_fail;
5689 }
5690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5691 return resultobj;
5692 fail:
5693 return NULL;
5694 }
5695
5696
5697 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5698 PyObject *resultobj;
5699 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5700 bool result;
5701 PyObject * obj0 = 0 ;
5702 char *kwnames[] = {
5703 (char *) "self", NULL
5704 };
5705
5706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5709 {
5710 PyThreadState* __tstate = wxPyBeginAllowThreads();
5711 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5712
5713 wxPyEndAllowThreads(__tstate);
5714 if (PyErr_Occurred()) SWIG_fail;
5715 }
5716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5717 return resultobj;
5718 fail:
5719 return NULL;
5720 }
5721
5722
5723 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5724 PyObject *resultobj;
5725 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5726 int arg2 ;
5727 PyObject * obj0 = 0 ;
5728 PyObject * obj1 = 0 ;
5729 char *kwnames[] = {
5730 (char *) "self",(char *) "width", NULL
5731 };
5732
5733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
5734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5736 arg2 = (int) SWIG_AsInt(obj1);
5737 if (PyErr_Occurred()) SWIG_fail;
5738 {
5739 PyThreadState* __tstate = wxPyBeginAllowThreads();
5740 (arg1)->SetSashSize(arg2);
5741
5742 wxPyEndAllowThreads(__tstate);
5743 if (PyErr_Occurred()) SWIG_fail;
5744 }
5745 Py_INCREF(Py_None); resultobj = Py_None;
5746 return resultobj;
5747 fail:
5748 return NULL;
5749 }
5750
5751
5752 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5753 PyObject *resultobj;
5754 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5755 int arg2 ;
5756 PyObject * obj0 = 0 ;
5757 PyObject * obj1 = 0 ;
5758 char *kwnames[] = {
5759 (char *) "self",(char *) "width", NULL
5760 };
5761
5762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
5763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5765 arg2 = (int) SWIG_AsInt(obj1);
5766 if (PyErr_Occurred()) SWIG_fail;
5767 {
5768 PyThreadState* __tstate = wxPyBeginAllowThreads();
5769 (arg1)->SetBorderSize(arg2);
5770
5771 wxPyEndAllowThreads(__tstate);
5772 if (PyErr_Occurred()) SWIG_fail;
5773 }
5774 Py_INCREF(Py_None); resultobj = Py_None;
5775 return resultobj;
5776 fail:
5777 return NULL;
5778 }
5779
5780
5781 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5782 PyObject *resultobj;
5783 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5784 int result;
5785 PyObject * obj0 = 0 ;
5786 char *kwnames[] = {
5787 (char *) "self", NULL
5788 };
5789
5790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
5791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5793 {
5794 PyThreadState* __tstate = wxPyBeginAllowThreads();
5795 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
5796
5797 wxPyEndAllowThreads(__tstate);
5798 if (PyErr_Occurred()) SWIG_fail;
5799 }
5800 resultobj = SWIG_FromInt((int)result);
5801 return resultobj;
5802 fail:
5803 return NULL;
5804 }
5805
5806
5807 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5808 PyObject *resultobj;
5809 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5810 int result;
5811 PyObject * obj0 = 0 ;
5812 char *kwnames[] = {
5813 (char *) "self", NULL
5814 };
5815
5816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
5817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5819 {
5820 PyThreadState* __tstate = wxPyBeginAllowThreads();
5821 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
5822
5823 wxPyEndAllowThreads(__tstate);
5824 if (PyErr_Occurred()) SWIG_fail;
5825 }
5826 resultobj = SWIG_FromInt((int)result);
5827 return resultobj;
5828 fail:
5829 return NULL;
5830 }
5831
5832
5833 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5834 PyObject *resultobj;
5835 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5836 int arg2 ;
5837 bool arg3 = (bool) True ;
5838 PyObject * obj0 = 0 ;
5839 PyObject * obj1 = 0 ;
5840 PyObject * obj2 = 0 ;
5841 char *kwnames[] = {
5842 (char *) "self",(char *) "position",(char *) "redraw", NULL
5843 };
5844
5845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
5846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5848 arg2 = (int) SWIG_AsInt(obj1);
5849 if (PyErr_Occurred()) SWIG_fail;
5850 if (obj2) {
5851 arg3 = (bool) SWIG_AsBool(obj2);
5852 if (PyErr_Occurred()) SWIG_fail;
5853 }
5854 {
5855 PyThreadState* __tstate = wxPyBeginAllowThreads();
5856 (arg1)->SetSashPosition(arg2,arg3);
5857
5858 wxPyEndAllowThreads(__tstate);
5859 if (PyErr_Occurred()) SWIG_fail;
5860 }
5861 Py_INCREF(Py_None); resultobj = Py_None;
5862 return resultobj;
5863 fail:
5864 return NULL;
5865 }
5866
5867
5868 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5869 PyObject *resultobj;
5870 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5871 int result;
5872 PyObject * obj0 = 0 ;
5873 char *kwnames[] = {
5874 (char *) "self", NULL
5875 };
5876
5877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
5878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5880 {
5881 PyThreadState* __tstate = wxPyBeginAllowThreads();
5882 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
5883
5884 wxPyEndAllowThreads(__tstate);
5885 if (PyErr_Occurred()) SWIG_fail;
5886 }
5887 resultobj = SWIG_FromInt((int)result);
5888 return resultobj;
5889 fail:
5890 return NULL;
5891 }
5892
5893
5894 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5895 PyObject *resultobj;
5896 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5897 int arg2 ;
5898 PyObject * obj0 = 0 ;
5899 PyObject * obj1 = 0 ;
5900 char *kwnames[] = {
5901 (char *) "self",(char *) "min", NULL
5902 };
5903
5904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
5905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5907 arg2 = (int) SWIG_AsInt(obj1);
5908 if (PyErr_Occurred()) SWIG_fail;
5909 {
5910 PyThreadState* __tstate = wxPyBeginAllowThreads();
5911 (arg1)->SetMinimumPaneSize(arg2);
5912
5913 wxPyEndAllowThreads(__tstate);
5914 if (PyErr_Occurred()) SWIG_fail;
5915 }
5916 Py_INCREF(Py_None); resultobj = Py_None;
5917 return resultobj;
5918 fail:
5919 return NULL;
5920 }
5921
5922
5923 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5924 PyObject *resultobj;
5925 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5926 int result;
5927 PyObject * obj0 = 0 ;
5928 char *kwnames[] = {
5929 (char *) "self", NULL
5930 };
5931
5932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
5933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5935 {
5936 PyThreadState* __tstate = wxPyBeginAllowThreads();
5937 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
5938
5939 wxPyEndAllowThreads(__tstate);
5940 if (PyErr_Occurred()) SWIG_fail;
5941 }
5942 resultobj = SWIG_FromInt((int)result);
5943 return resultobj;
5944 fail:
5945 return NULL;
5946 }
5947
5948
5949 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5950 PyObject *resultobj;
5951 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5952 int arg2 ;
5953 int arg3 ;
5954 int arg4 = (int) 5 ;
5955 bool result;
5956 PyObject * obj0 = 0 ;
5957 PyObject * obj1 = 0 ;
5958 PyObject * obj2 = 0 ;
5959 PyObject * obj3 = 0 ;
5960 char *kwnames[] = {
5961 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5962 };
5963
5964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5967 arg2 = (int) SWIG_AsInt(obj1);
5968 if (PyErr_Occurred()) SWIG_fail;
5969 arg3 = (int) SWIG_AsInt(obj2);
5970 if (PyErr_Occurred()) SWIG_fail;
5971 if (obj3) {
5972 arg4 = (int) SWIG_AsInt(obj3);
5973 if (PyErr_Occurred()) SWIG_fail;
5974 }
5975 {
5976 PyThreadState* __tstate = wxPyBeginAllowThreads();
5977 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
5978
5979 wxPyEndAllowThreads(__tstate);
5980 if (PyErr_Occurred()) SWIG_fail;
5981 }
5982 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5983 return resultobj;
5984 fail:
5985 return NULL;
5986 }
5987
5988
5989 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
5990 PyObject *resultobj;
5991 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5992 PyObject * obj0 = 0 ;
5993 char *kwnames[] = {
5994 (char *) "self", NULL
5995 };
5996
5997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
5998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6000 {
6001 PyThreadState* __tstate = wxPyBeginAllowThreads();
6002 (arg1)->SizeWindows();
6003
6004 wxPyEndAllowThreads(__tstate);
6005 if (PyErr_Occurred()) SWIG_fail;
6006 }
6007 Py_INCREF(Py_None); resultobj = Py_None;
6008 return resultobj;
6009 fail:
6010 return NULL;
6011 }
6012
6013
6014 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6015 PyObject *resultobj;
6016 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6017 bool arg2 ;
6018 PyObject * obj0 = 0 ;
6019 PyObject * obj1 = 0 ;
6020 char *kwnames[] = {
6021 (char *) "self",(char *) "needUpdating", NULL
6022 };
6023
6024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6027 arg2 = (bool) SWIG_AsBool(obj1);
6028 if (PyErr_Occurred()) SWIG_fail;
6029 {
6030 PyThreadState* __tstate = wxPyBeginAllowThreads();
6031 (arg1)->SetNeedUpdating(arg2);
6032
6033 wxPyEndAllowThreads(__tstate);
6034 if (PyErr_Occurred()) SWIG_fail;
6035 }
6036 Py_INCREF(Py_None); resultobj = Py_None;
6037 return resultobj;
6038 fail:
6039 return NULL;
6040 }
6041
6042
6043 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6044 PyObject *resultobj;
6045 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6046 bool result;
6047 PyObject * obj0 = 0 ;
6048 char *kwnames[] = {
6049 (char *) "self", NULL
6050 };
6051
6052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6055 {
6056 PyThreadState* __tstate = wxPyBeginAllowThreads();
6057 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6058
6059 wxPyEndAllowThreads(__tstate);
6060 if (PyErr_Occurred()) SWIG_fail;
6061 }
6062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6063 return resultobj;
6064 fail:
6065 return NULL;
6066 }
6067
6068
6069 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
6070 PyObject *obj;
6071 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6072 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6073 Py_INCREF(obj);
6074 return Py_BuildValue((char *)"");
6075 }
6076 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6077 PyObject *resultobj;
6078 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6079 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6080 wxSplitterEvent *result;
6081 PyObject * obj0 = 0 ;
6082 PyObject * obj1 = 0 ;
6083 char *kwnames[] = {
6084 (char *) "type",(char *) "splitter", NULL
6085 };
6086
6087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6088 if (obj0) {
6089 arg1 = (wxEventType) SWIG_AsInt(obj0);
6090 if (PyErr_Occurred()) SWIG_fail;
6091 }
6092 if (obj1) {
6093 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6095 }
6096 {
6097 PyThreadState* __tstate = wxPyBeginAllowThreads();
6098 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6099
6100 wxPyEndAllowThreads(__tstate);
6101 if (PyErr_Occurred()) SWIG_fail;
6102 }
6103 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6104 return resultobj;
6105 fail:
6106 return NULL;
6107 }
6108
6109
6110 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6111 PyObject *resultobj;
6112 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6113 int arg2 ;
6114 PyObject * obj0 = 0 ;
6115 PyObject * obj1 = 0 ;
6116 char *kwnames[] = {
6117 (char *) "self",(char *) "pos", NULL
6118 };
6119
6120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6123 arg2 = (int) SWIG_AsInt(obj1);
6124 if (PyErr_Occurred()) SWIG_fail;
6125 {
6126 PyThreadState* __tstate = wxPyBeginAllowThreads();
6127 (arg1)->SetSashPosition(arg2);
6128
6129 wxPyEndAllowThreads(__tstate);
6130 if (PyErr_Occurred()) SWIG_fail;
6131 }
6132 Py_INCREF(Py_None); resultobj = Py_None;
6133 return resultobj;
6134 fail:
6135 return NULL;
6136 }
6137
6138
6139 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6140 PyObject *resultobj;
6141 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6142 int result;
6143 PyObject * obj0 = 0 ;
6144 char *kwnames[] = {
6145 (char *) "self", NULL
6146 };
6147
6148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6151 {
6152 PyThreadState* __tstate = wxPyBeginAllowThreads();
6153 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6154
6155 wxPyEndAllowThreads(__tstate);
6156 if (PyErr_Occurred()) SWIG_fail;
6157 }
6158 resultobj = SWIG_FromInt((int)result);
6159 return resultobj;
6160 fail:
6161 return NULL;
6162 }
6163
6164
6165 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
6166 PyObject *resultobj;
6167 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6168 wxWindow *result;
6169 PyObject * obj0 = 0 ;
6170 char *kwnames[] = {
6171 (char *) "self", NULL
6172 };
6173
6174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6177 {
6178 PyThreadState* __tstate = wxPyBeginAllowThreads();
6179 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6180
6181 wxPyEndAllowThreads(__tstate);
6182 if (PyErr_Occurred()) SWIG_fail;
6183 }
6184 {
6185 resultobj = wxPyMake_wxObject(result);
6186 }
6187 return resultobj;
6188 fail:
6189 return NULL;
6190 }
6191
6192
6193 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
6194 PyObject *resultobj;
6195 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6196 int result;
6197 PyObject * obj0 = 0 ;
6198 char *kwnames[] = {
6199 (char *) "self", NULL
6200 };
6201
6202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6205 {
6206 PyThreadState* __tstate = wxPyBeginAllowThreads();
6207 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6208
6209 wxPyEndAllowThreads(__tstate);
6210 if (PyErr_Occurred()) SWIG_fail;
6211 }
6212 resultobj = SWIG_FromInt((int)result);
6213 return resultobj;
6214 fail:
6215 return NULL;
6216 }
6217
6218
6219 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
6220 PyObject *resultobj;
6221 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6222 int result;
6223 PyObject * obj0 = 0 ;
6224 char *kwnames[] = {
6225 (char *) "self", NULL
6226 };
6227
6228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6231 {
6232 PyThreadState* __tstate = wxPyBeginAllowThreads();
6233 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6234
6235 wxPyEndAllowThreads(__tstate);
6236 if (PyErr_Occurred()) SWIG_fail;
6237 }
6238 resultobj = SWIG_FromInt((int)result);
6239 return resultobj;
6240 fail:
6241 return NULL;
6242 }
6243
6244
6245 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
6246 PyObject *obj;
6247 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6248 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6249 Py_INCREF(obj);
6250 return Py_BuildValue((char *)"");
6251 }
6252 static int _wrap_SashNameStr_set(PyObject *_val) {
6253 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6254 return 1;
6255 }
6256
6257
6258 static PyObject *_wrap_SashNameStr_get() {
6259 PyObject *pyobj;
6260
6261 {
6262 #if wxUSE_UNICODE
6263 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6264 #else
6265 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6266 #endif
6267 }
6268 return pyobj;
6269 }
6270
6271
6272 static int _wrap_SashLayoutNameStr_set(PyObject *_val) {
6273 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6274 return 1;
6275 }
6276
6277
6278 static PyObject *_wrap_SashLayoutNameStr_get() {
6279 PyObject *pyobj;
6280
6281 {
6282 #if wxUSE_UNICODE
6283 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6284 #else
6285 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6286 #endif
6287 }
6288 return pyobj;
6289 }
6290
6291
6292 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6293 PyObject *resultobj;
6294 wxWindow *arg1 = (wxWindow *) 0 ;
6295 int arg2 ;
6296 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6297 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6298 wxSize const &arg4_defvalue = wxDefaultSize ;
6299 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6300 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6301 wxString const &arg6_defvalue = wxPySashNameStr ;
6302 wxString *arg6 = (wxString *) &arg6_defvalue ;
6303 wxSashWindow *result;
6304 wxPoint temp3 ;
6305 wxSize temp4 ;
6306 bool temp6 = False ;
6307 PyObject * obj0 = 0 ;
6308 PyObject * obj1 = 0 ;
6309 PyObject * obj2 = 0 ;
6310 PyObject * obj3 = 0 ;
6311 PyObject * obj4 = 0 ;
6312 PyObject * obj5 = 0 ;
6313 char *kwnames[] = {
6314 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6315 };
6316
6317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6320 arg2 = (int) SWIG_AsInt(obj1);
6321 if (PyErr_Occurred()) SWIG_fail;
6322 if (obj2) {
6323 {
6324 arg3 = &temp3;
6325 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6326 }
6327 }
6328 if (obj3) {
6329 {
6330 arg4 = &temp4;
6331 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6332 }
6333 }
6334 if (obj4) {
6335 arg5 = (long) SWIG_AsLong(obj4);
6336 if (PyErr_Occurred()) SWIG_fail;
6337 }
6338 if (obj5) {
6339 {
6340 arg6 = wxString_in_helper(obj5);
6341 if (arg6 == NULL) SWIG_fail;
6342 temp6 = True;
6343 }
6344 }
6345 {
6346 PyThreadState* __tstate = wxPyBeginAllowThreads();
6347 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6348
6349 wxPyEndAllowThreads(__tstate);
6350 if (PyErr_Occurred()) SWIG_fail;
6351 }
6352 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6353 {
6354 if (temp6)
6355 delete arg6;
6356 }
6357 return resultobj;
6358 fail:
6359 {
6360 if (temp6)
6361 delete arg6;
6362 }
6363 return NULL;
6364 }
6365
6366
6367 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6368 PyObject *resultobj;
6369 wxSashWindow *result;
6370 char *kwnames[] = {
6371 NULL
6372 };
6373
6374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6375 {
6376 PyThreadState* __tstate = wxPyBeginAllowThreads();
6377 result = (wxSashWindow *)new wxSashWindow();
6378
6379 wxPyEndAllowThreads(__tstate);
6380 if (PyErr_Occurred()) SWIG_fail;
6381 }
6382 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6383 return resultobj;
6384 fail:
6385 return NULL;
6386 }
6387
6388
6389 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6390 PyObject *resultobj;
6391 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6392 wxWindow *arg2 = (wxWindow *) 0 ;
6393 int arg3 ;
6394 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6395 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6396 wxSize const &arg5_defvalue = wxDefaultSize ;
6397 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6398 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6399 wxString const &arg7_defvalue = wxPySashNameStr ;
6400 wxString *arg7 = (wxString *) &arg7_defvalue ;
6401 bool result;
6402 wxPoint temp4 ;
6403 wxSize temp5 ;
6404 bool temp7 = False ;
6405 PyObject * obj0 = 0 ;
6406 PyObject * obj1 = 0 ;
6407 PyObject * obj2 = 0 ;
6408 PyObject * obj3 = 0 ;
6409 PyObject * obj4 = 0 ;
6410 PyObject * obj5 = 0 ;
6411 PyObject * obj6 = 0 ;
6412 char *kwnames[] = {
6413 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6414 };
6415
6416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6419 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6421 arg3 = (int) SWIG_AsInt(obj2);
6422 if (PyErr_Occurred()) SWIG_fail;
6423 if (obj3) {
6424 {
6425 arg4 = &temp4;
6426 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6427 }
6428 }
6429 if (obj4) {
6430 {
6431 arg5 = &temp5;
6432 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6433 }
6434 }
6435 if (obj5) {
6436 arg6 = (long) SWIG_AsLong(obj5);
6437 if (PyErr_Occurred()) SWIG_fail;
6438 }
6439 if (obj6) {
6440 {
6441 arg7 = wxString_in_helper(obj6);
6442 if (arg7 == NULL) SWIG_fail;
6443 temp7 = True;
6444 }
6445 }
6446 {
6447 PyThreadState* __tstate = wxPyBeginAllowThreads();
6448 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6449
6450 wxPyEndAllowThreads(__tstate);
6451 if (PyErr_Occurred()) SWIG_fail;
6452 }
6453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6454 {
6455 if (temp7)
6456 delete arg7;
6457 }
6458 return resultobj;
6459 fail:
6460 {
6461 if (temp7)
6462 delete arg7;
6463 }
6464 return NULL;
6465 }
6466
6467
6468 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6469 PyObject *resultobj;
6470 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6471 int arg2 ;
6472 bool arg3 ;
6473 PyObject * obj0 = 0 ;
6474 PyObject * obj1 = 0 ;
6475 PyObject * obj2 = 0 ;
6476 char *kwnames[] = {
6477 (char *) "self",(char *) "edge",(char *) "sash", NULL
6478 };
6479
6480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
6481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6483 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6484 if (PyErr_Occurred()) SWIG_fail;
6485 arg3 = (bool) SWIG_AsBool(obj2);
6486 if (PyErr_Occurred()) SWIG_fail;
6487 {
6488 PyThreadState* __tstate = wxPyBeginAllowThreads();
6489 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6490
6491 wxPyEndAllowThreads(__tstate);
6492 if (PyErr_Occurred()) SWIG_fail;
6493 }
6494 Py_INCREF(Py_None); resultobj = Py_None;
6495 return resultobj;
6496 fail:
6497 return NULL;
6498 }
6499
6500
6501 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6502 PyObject *resultobj;
6503 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6504 int arg2 ;
6505 bool result;
6506 PyObject * obj0 = 0 ;
6507 PyObject * obj1 = 0 ;
6508 char *kwnames[] = {
6509 (char *) "self",(char *) "edge", NULL
6510 };
6511
6512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
6513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6515 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6516 if (PyErr_Occurred()) SWIG_fail;
6517 {
6518 PyThreadState* __tstate = wxPyBeginAllowThreads();
6519 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
6520
6521 wxPyEndAllowThreads(__tstate);
6522 if (PyErr_Occurred()) SWIG_fail;
6523 }
6524 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6525 return resultobj;
6526 fail:
6527 return NULL;
6528 }
6529
6530
6531 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6532 PyObject *resultobj;
6533 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6534 int arg2 ;
6535 bool arg3 ;
6536 PyObject * obj0 = 0 ;
6537 PyObject * obj1 = 0 ;
6538 PyObject * obj2 = 0 ;
6539 char *kwnames[] = {
6540 (char *) "self",(char *) "edge",(char *) "border", NULL
6541 };
6542
6543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
6544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6546 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6547 if (PyErr_Occurred()) SWIG_fail;
6548 arg3 = (bool) SWIG_AsBool(obj2);
6549 if (PyErr_Occurred()) SWIG_fail;
6550 {
6551 PyThreadState* __tstate = wxPyBeginAllowThreads();
6552 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
6553
6554 wxPyEndAllowThreads(__tstate);
6555 if (PyErr_Occurred()) SWIG_fail;
6556 }
6557 Py_INCREF(Py_None); resultobj = Py_None;
6558 return resultobj;
6559 fail:
6560 return NULL;
6561 }
6562
6563
6564 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6565 PyObject *resultobj;
6566 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6567 int arg2 ;
6568 bool result;
6569 PyObject * obj0 = 0 ;
6570 PyObject * obj1 = 0 ;
6571 char *kwnames[] = {
6572 (char *) "self",(char *) "edge", NULL
6573 };
6574
6575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
6576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6578 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6579 if (PyErr_Occurred()) SWIG_fail;
6580 {
6581 PyThreadState* __tstate = wxPyBeginAllowThreads();
6582 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
6583
6584 wxPyEndAllowThreads(__tstate);
6585 if (PyErr_Occurred()) SWIG_fail;
6586 }
6587 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6588 return resultobj;
6589 fail:
6590 return NULL;
6591 }
6592
6593
6594 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
6595 PyObject *resultobj;
6596 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6597 int arg2 ;
6598 int result;
6599 PyObject * obj0 = 0 ;
6600 PyObject * obj1 = 0 ;
6601 char *kwnames[] = {
6602 (char *) "self",(char *) "edge", NULL
6603 };
6604
6605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
6606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6608 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6609 if (PyErr_Occurred()) SWIG_fail;
6610 {
6611 PyThreadState* __tstate = wxPyBeginAllowThreads();
6612 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
6613
6614 wxPyEndAllowThreads(__tstate);
6615 if (PyErr_Occurred()) SWIG_fail;
6616 }
6617 resultobj = SWIG_FromInt((int)result);
6618 return resultobj;
6619 fail:
6620 return NULL;
6621 }
6622
6623
6624 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6625 PyObject *resultobj;
6626 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6627 int arg2 ;
6628 PyObject * obj0 = 0 ;
6629 PyObject * obj1 = 0 ;
6630 char *kwnames[] = {
6631 (char *) "self",(char *) "width", NULL
6632 };
6633
6634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
6635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6637 arg2 = (int) SWIG_AsInt(obj1);
6638 if (PyErr_Occurred()) SWIG_fail;
6639 {
6640 PyThreadState* __tstate = wxPyBeginAllowThreads();
6641 (arg1)->SetDefaultBorderSize(arg2);
6642
6643 wxPyEndAllowThreads(__tstate);
6644 if (PyErr_Occurred()) SWIG_fail;
6645 }
6646 Py_INCREF(Py_None); resultobj = Py_None;
6647 return resultobj;
6648 fail:
6649 return NULL;
6650 }
6651
6652
6653 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6654 PyObject *resultobj;
6655 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6656 int result;
6657 PyObject * obj0 = 0 ;
6658 char *kwnames[] = {
6659 (char *) "self", NULL
6660 };
6661
6662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
6663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6665 {
6666 PyThreadState* __tstate = wxPyBeginAllowThreads();
6667 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
6668
6669 wxPyEndAllowThreads(__tstate);
6670 if (PyErr_Occurred()) SWIG_fail;
6671 }
6672 resultobj = SWIG_FromInt((int)result);
6673 return resultobj;
6674 fail:
6675 return NULL;
6676 }
6677
6678
6679 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6680 PyObject *resultobj;
6681 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6682 int arg2 ;
6683 PyObject * obj0 = 0 ;
6684 PyObject * obj1 = 0 ;
6685 char *kwnames[] = {
6686 (char *) "self",(char *) "width", NULL
6687 };
6688
6689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
6690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6692 arg2 = (int) SWIG_AsInt(obj1);
6693 if (PyErr_Occurred()) SWIG_fail;
6694 {
6695 PyThreadState* __tstate = wxPyBeginAllowThreads();
6696 (arg1)->SetExtraBorderSize(arg2);
6697
6698 wxPyEndAllowThreads(__tstate);
6699 if (PyErr_Occurred()) SWIG_fail;
6700 }
6701 Py_INCREF(Py_None); resultobj = Py_None;
6702 return resultobj;
6703 fail:
6704 return NULL;
6705 }
6706
6707
6708 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6709 PyObject *resultobj;
6710 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6711 int result;
6712 PyObject * obj0 = 0 ;
6713 char *kwnames[] = {
6714 (char *) "self", NULL
6715 };
6716
6717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
6718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6720 {
6721 PyThreadState* __tstate = wxPyBeginAllowThreads();
6722 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
6723
6724 wxPyEndAllowThreads(__tstate);
6725 if (PyErr_Occurred()) SWIG_fail;
6726 }
6727 resultobj = SWIG_FromInt((int)result);
6728 return resultobj;
6729 fail:
6730 return NULL;
6731 }
6732
6733
6734 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6735 PyObject *resultobj;
6736 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6737 int arg2 ;
6738 PyObject * obj0 = 0 ;
6739 PyObject * obj1 = 0 ;
6740 char *kwnames[] = {
6741 (char *) "self",(char *) "min", NULL
6742 };
6743
6744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
6745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6747 arg2 = (int) SWIG_AsInt(obj1);
6748 if (PyErr_Occurred()) SWIG_fail;
6749 {
6750 PyThreadState* __tstate = wxPyBeginAllowThreads();
6751 (arg1)->SetMinimumSizeX(arg2);
6752
6753 wxPyEndAllowThreads(__tstate);
6754 if (PyErr_Occurred()) SWIG_fail;
6755 }
6756 Py_INCREF(Py_None); resultobj = Py_None;
6757 return resultobj;
6758 fail:
6759 return NULL;
6760 }
6761
6762
6763 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6764 PyObject *resultobj;
6765 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6766 int arg2 ;
6767 PyObject * obj0 = 0 ;
6768 PyObject * obj1 = 0 ;
6769 char *kwnames[] = {
6770 (char *) "self",(char *) "min", NULL
6771 };
6772
6773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",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 = (int) SWIG_AsInt(obj1);
6777 if (PyErr_Occurred()) SWIG_fail;
6778 {
6779 PyThreadState* __tstate = wxPyBeginAllowThreads();
6780 (arg1)->SetMinimumSizeY(arg2);
6781
6782 wxPyEndAllowThreads(__tstate);
6783 if (PyErr_Occurred()) SWIG_fail;
6784 }
6785 Py_INCREF(Py_None); resultobj = Py_None;
6786 return resultobj;
6787 fail:
6788 return NULL;
6789 }
6790
6791
6792 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6793 PyObject *resultobj;
6794 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6795 int result;
6796 PyObject * obj0 = 0 ;
6797 char *kwnames[] = {
6798 (char *) "self", NULL
6799 };
6800
6801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
6802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6804 {
6805 PyThreadState* __tstate = wxPyBeginAllowThreads();
6806 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
6807
6808 wxPyEndAllowThreads(__tstate);
6809 if (PyErr_Occurred()) SWIG_fail;
6810 }
6811 resultobj = SWIG_FromInt((int)result);
6812 return resultobj;
6813 fail:
6814 return NULL;
6815 }
6816
6817
6818 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6819 PyObject *resultobj;
6820 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6821 int result;
6822 PyObject * obj0 = 0 ;
6823 char *kwnames[] = {
6824 (char *) "self", NULL
6825 };
6826
6827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
6828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6830 {
6831 PyThreadState* __tstate = wxPyBeginAllowThreads();
6832 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
6833
6834 wxPyEndAllowThreads(__tstate);
6835 if (PyErr_Occurred()) SWIG_fail;
6836 }
6837 resultobj = SWIG_FromInt((int)result);
6838 return resultobj;
6839 fail:
6840 return NULL;
6841 }
6842
6843
6844 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6845 PyObject *resultobj;
6846 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6847 int arg2 ;
6848 PyObject * obj0 = 0 ;
6849 PyObject * obj1 = 0 ;
6850 char *kwnames[] = {
6851 (char *) "self",(char *) "max", NULL
6852 };
6853
6854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
6855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6857 arg2 = (int) SWIG_AsInt(obj1);
6858 if (PyErr_Occurred()) SWIG_fail;
6859 {
6860 PyThreadState* __tstate = wxPyBeginAllowThreads();
6861 (arg1)->SetMaximumSizeX(arg2);
6862
6863 wxPyEndAllowThreads(__tstate);
6864 if (PyErr_Occurred()) SWIG_fail;
6865 }
6866 Py_INCREF(Py_None); resultobj = Py_None;
6867 return resultobj;
6868 fail:
6869 return NULL;
6870 }
6871
6872
6873 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6874 PyObject *resultobj;
6875 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6876 int arg2 ;
6877 PyObject * obj0 = 0 ;
6878 PyObject * obj1 = 0 ;
6879 char *kwnames[] = {
6880 (char *) "self",(char *) "max", NULL
6881 };
6882
6883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
6884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6886 arg2 = (int) SWIG_AsInt(obj1);
6887 if (PyErr_Occurred()) SWIG_fail;
6888 {
6889 PyThreadState* __tstate = wxPyBeginAllowThreads();
6890 (arg1)->SetMaximumSizeY(arg2);
6891
6892 wxPyEndAllowThreads(__tstate);
6893 if (PyErr_Occurred()) SWIG_fail;
6894 }
6895 Py_INCREF(Py_None); resultobj = Py_None;
6896 return resultobj;
6897 fail:
6898 return NULL;
6899 }
6900
6901
6902 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6903 PyObject *resultobj;
6904 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6905 int result;
6906 PyObject * obj0 = 0 ;
6907 char *kwnames[] = {
6908 (char *) "self", NULL
6909 };
6910
6911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
6912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6914 {
6915 PyThreadState* __tstate = wxPyBeginAllowThreads();
6916 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
6917
6918 wxPyEndAllowThreads(__tstate);
6919 if (PyErr_Occurred()) SWIG_fail;
6920 }
6921 resultobj = SWIG_FromInt((int)result);
6922 return resultobj;
6923 fail:
6924 return NULL;
6925 }
6926
6927
6928 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6929 PyObject *resultobj;
6930 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6931 int result;
6932 PyObject * obj0 = 0 ;
6933 char *kwnames[] = {
6934 (char *) "self", NULL
6935 };
6936
6937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
6938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6940 {
6941 PyThreadState* __tstate = wxPyBeginAllowThreads();
6942 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
6943
6944 wxPyEndAllowThreads(__tstate);
6945 if (PyErr_Occurred()) SWIG_fail;
6946 }
6947 resultobj = SWIG_FromInt((int)result);
6948 return resultobj;
6949 fail:
6950 return NULL;
6951 }
6952
6953
6954 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6955 PyObject *resultobj;
6956 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6957 int arg2 ;
6958 int arg3 ;
6959 int arg4 = (int) 2 ;
6960 int result;
6961 PyObject * obj0 = 0 ;
6962 PyObject * obj1 = 0 ;
6963 PyObject * obj2 = 0 ;
6964 PyObject * obj3 = 0 ;
6965 char *kwnames[] = {
6966 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6967 };
6968
6969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6972 arg2 = (int) SWIG_AsInt(obj1);
6973 if (PyErr_Occurred()) SWIG_fail;
6974 arg3 = (int) SWIG_AsInt(obj2);
6975 if (PyErr_Occurred()) SWIG_fail;
6976 if (obj3) {
6977 arg4 = (int) SWIG_AsInt(obj3);
6978 if (PyErr_Occurred()) SWIG_fail;
6979 }
6980 {
6981 PyThreadState* __tstate = wxPyBeginAllowThreads();
6982 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
6983
6984 wxPyEndAllowThreads(__tstate);
6985 if (PyErr_Occurred()) SWIG_fail;
6986 }
6987 resultobj = SWIG_FromInt((int)result);
6988 return resultobj;
6989 fail:
6990 return NULL;
6991 }
6992
6993
6994 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6995 PyObject *resultobj;
6996 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6997 PyObject * obj0 = 0 ;
6998 char *kwnames[] = {
6999 (char *) "self", NULL
7000 };
7001
7002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7005 {
7006 PyThreadState* __tstate = wxPyBeginAllowThreads();
7007 (arg1)->SizeWindows();
7008
7009 wxPyEndAllowThreads(__tstate);
7010 if (PyErr_Occurred()) SWIG_fail;
7011 }
7012 Py_INCREF(Py_None); resultobj = Py_None;
7013 return resultobj;
7014 fail:
7015 return NULL;
7016 }
7017
7018
7019 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
7020 PyObject *obj;
7021 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7022 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7023 Py_INCREF(obj);
7024 return Py_BuildValue((char *)"");
7025 }
7026 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7027 PyObject *resultobj;
7028 int arg1 = (int) 0 ;
7029 int arg2 = (int) wxSASH_NONE ;
7030 wxSashEvent *result;
7031 PyObject * obj0 = 0 ;
7032 PyObject * obj1 = 0 ;
7033 char *kwnames[] = {
7034 (char *) "id",(char *) "edge", NULL
7035 };
7036
7037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7038 if (obj0) {
7039 arg1 = (int) SWIG_AsInt(obj0);
7040 if (PyErr_Occurred()) SWIG_fail;
7041 }
7042 if (obj1) {
7043 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7044 if (PyErr_Occurred()) SWIG_fail;
7045 }
7046 {
7047 PyThreadState* __tstate = wxPyBeginAllowThreads();
7048 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7049
7050 wxPyEndAllowThreads(__tstate);
7051 if (PyErr_Occurred()) SWIG_fail;
7052 }
7053 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7054 return resultobj;
7055 fail:
7056 return NULL;
7057 }
7058
7059
7060 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7061 PyObject *resultobj;
7062 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7063 int arg2 ;
7064 PyObject * obj0 = 0 ;
7065 PyObject * obj1 = 0 ;
7066 char *kwnames[] = {
7067 (char *) "self",(char *) "edge", NULL
7068 };
7069
7070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7073 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7074 if (PyErr_Occurred()) SWIG_fail;
7075 {
7076 PyThreadState* __tstate = wxPyBeginAllowThreads();
7077 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7078
7079 wxPyEndAllowThreads(__tstate);
7080 if (PyErr_Occurred()) SWIG_fail;
7081 }
7082 Py_INCREF(Py_None); resultobj = Py_None;
7083 return resultobj;
7084 fail:
7085 return NULL;
7086 }
7087
7088
7089 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7090 PyObject *resultobj;
7091 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7092 int result;
7093 PyObject * obj0 = 0 ;
7094 char *kwnames[] = {
7095 (char *) "self", NULL
7096 };
7097
7098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7101 {
7102 PyThreadState* __tstate = wxPyBeginAllowThreads();
7103 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7104
7105 wxPyEndAllowThreads(__tstate);
7106 if (PyErr_Occurred()) SWIG_fail;
7107 }
7108 resultobj = SWIG_FromInt((int)result);
7109 return resultobj;
7110 fail:
7111 return NULL;
7112 }
7113
7114
7115 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7116 PyObject *resultobj;
7117 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7118 wxRect *arg2 = 0 ;
7119 wxRect temp2 ;
7120 PyObject * obj0 = 0 ;
7121 PyObject * obj1 = 0 ;
7122 char *kwnames[] = {
7123 (char *) "self",(char *) "rect", NULL
7124 };
7125
7126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7129 {
7130 arg2 = &temp2;
7131 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7132 }
7133 {
7134 PyThreadState* __tstate = wxPyBeginAllowThreads();
7135 (arg1)->SetDragRect((wxRect const &)*arg2);
7136
7137 wxPyEndAllowThreads(__tstate);
7138 if (PyErr_Occurred()) SWIG_fail;
7139 }
7140 Py_INCREF(Py_None); resultobj = Py_None;
7141 return resultobj;
7142 fail:
7143 return NULL;
7144 }
7145
7146
7147 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7148 PyObject *resultobj;
7149 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7150 wxRect result;
7151 PyObject * obj0 = 0 ;
7152 char *kwnames[] = {
7153 (char *) "self", NULL
7154 };
7155
7156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7159 {
7160 PyThreadState* __tstate = wxPyBeginAllowThreads();
7161 result = ((wxSashEvent const *)arg1)->GetDragRect();
7162
7163 wxPyEndAllowThreads(__tstate);
7164 if (PyErr_Occurred()) SWIG_fail;
7165 }
7166 {
7167 wxRect * resultptr;
7168 resultptr = new wxRect((wxRect &) result);
7169 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7170 }
7171 return resultobj;
7172 fail:
7173 return NULL;
7174 }
7175
7176
7177 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7178 PyObject *resultobj;
7179 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7180 int arg2 ;
7181 PyObject * obj0 = 0 ;
7182 PyObject * obj1 = 0 ;
7183 char *kwnames[] = {
7184 (char *) "self",(char *) "status", NULL
7185 };
7186
7187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7190 arg2 = (wxSashDragStatus) SWIG_AsInt(obj1);
7191 if (PyErr_Occurred()) SWIG_fail;
7192 {
7193 PyThreadState* __tstate = wxPyBeginAllowThreads();
7194 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7195
7196 wxPyEndAllowThreads(__tstate);
7197 if (PyErr_Occurred()) SWIG_fail;
7198 }
7199 Py_INCREF(Py_None); resultobj = Py_None;
7200 return resultobj;
7201 fail:
7202 return NULL;
7203 }
7204
7205
7206 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7207 PyObject *resultobj;
7208 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7209 int result;
7210 PyObject * obj0 = 0 ;
7211 char *kwnames[] = {
7212 (char *) "self", NULL
7213 };
7214
7215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7218 {
7219 PyThreadState* __tstate = wxPyBeginAllowThreads();
7220 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7221
7222 wxPyEndAllowThreads(__tstate);
7223 if (PyErr_Occurred()) SWIG_fail;
7224 }
7225 resultobj = SWIG_FromInt((int)result);
7226 return resultobj;
7227 fail:
7228 return NULL;
7229 }
7230
7231
7232 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
7233 PyObject *obj;
7234 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7235 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7236 Py_INCREF(obj);
7237 return Py_BuildValue((char *)"");
7238 }
7239 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7240 PyObject *resultobj;
7241 int arg1 = (int) 0 ;
7242 wxQueryLayoutInfoEvent *result;
7243 PyObject * obj0 = 0 ;
7244 char *kwnames[] = {
7245 (char *) "id", NULL
7246 };
7247
7248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7249 if (obj0) {
7250 arg1 = (int) SWIG_AsInt(obj0);
7251 if (PyErr_Occurred()) SWIG_fail;
7252 }
7253 {
7254 PyThreadState* __tstate = wxPyBeginAllowThreads();
7255 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7256
7257 wxPyEndAllowThreads(__tstate);
7258 if (PyErr_Occurred()) SWIG_fail;
7259 }
7260 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7261 return resultobj;
7262 fail:
7263 return NULL;
7264 }
7265
7266
7267 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7268 PyObject *resultobj;
7269 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7270 int arg2 ;
7271 PyObject * obj0 = 0 ;
7272 PyObject * obj1 = 0 ;
7273 char *kwnames[] = {
7274 (char *) "self",(char *) "length", NULL
7275 };
7276
7277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
7278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7280 arg2 = (int) SWIG_AsInt(obj1);
7281 if (PyErr_Occurred()) SWIG_fail;
7282 {
7283 PyThreadState* __tstate = wxPyBeginAllowThreads();
7284 (arg1)->SetRequestedLength(arg2);
7285
7286 wxPyEndAllowThreads(__tstate);
7287 if (PyErr_Occurred()) SWIG_fail;
7288 }
7289 Py_INCREF(Py_None); resultobj = Py_None;
7290 return resultobj;
7291 fail:
7292 return NULL;
7293 }
7294
7295
7296 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7297 PyObject *resultobj;
7298 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7299 int result;
7300 PyObject * obj0 = 0 ;
7301 char *kwnames[] = {
7302 (char *) "self", NULL
7303 };
7304
7305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
7306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7308 {
7309 PyThreadState* __tstate = wxPyBeginAllowThreads();
7310 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7311
7312 wxPyEndAllowThreads(__tstate);
7313 if (PyErr_Occurred()) SWIG_fail;
7314 }
7315 resultobj = SWIG_FromInt((int)result);
7316 return resultobj;
7317 fail:
7318 return NULL;
7319 }
7320
7321
7322 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7323 PyObject *resultobj;
7324 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7325 int arg2 ;
7326 PyObject * obj0 = 0 ;
7327 PyObject * obj1 = 0 ;
7328 char *kwnames[] = {
7329 (char *) "self",(char *) "flags", NULL
7330 };
7331
7332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7335 arg2 = (int) SWIG_AsInt(obj1);
7336 if (PyErr_Occurred()) SWIG_fail;
7337 {
7338 PyThreadState* __tstate = wxPyBeginAllowThreads();
7339 (arg1)->SetFlags(arg2);
7340
7341 wxPyEndAllowThreads(__tstate);
7342 if (PyErr_Occurred()) SWIG_fail;
7343 }
7344 Py_INCREF(Py_None); resultobj = Py_None;
7345 return resultobj;
7346 fail:
7347 return NULL;
7348 }
7349
7350
7351 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7352 PyObject *resultobj;
7353 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7354 int result;
7355 PyObject * obj0 = 0 ;
7356 char *kwnames[] = {
7357 (char *) "self", NULL
7358 };
7359
7360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
7361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7363 {
7364 PyThreadState* __tstate = wxPyBeginAllowThreads();
7365 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
7366
7367 wxPyEndAllowThreads(__tstate);
7368 if (PyErr_Occurred()) SWIG_fail;
7369 }
7370 resultobj = SWIG_FromInt((int)result);
7371 return resultobj;
7372 fail:
7373 return NULL;
7374 }
7375
7376
7377 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7378 PyObject *resultobj;
7379 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7380 wxSize *arg2 = 0 ;
7381 wxSize temp2 ;
7382 PyObject * obj0 = 0 ;
7383 PyObject * obj1 = 0 ;
7384 char *kwnames[] = {
7385 (char *) "self",(char *) "size", NULL
7386 };
7387
7388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
7389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7391 {
7392 arg2 = &temp2;
7393 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7394 }
7395 {
7396 PyThreadState* __tstate = wxPyBeginAllowThreads();
7397 (arg1)->SetSize((wxSize const &)*arg2);
7398
7399 wxPyEndAllowThreads(__tstate);
7400 if (PyErr_Occurred()) SWIG_fail;
7401 }
7402 Py_INCREF(Py_None); resultobj = Py_None;
7403 return resultobj;
7404 fail:
7405 return NULL;
7406 }
7407
7408
7409 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7410 PyObject *resultobj;
7411 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7412 wxSize result;
7413 PyObject * obj0 = 0 ;
7414 char *kwnames[] = {
7415 (char *) "self", NULL
7416 };
7417
7418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
7419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7421 {
7422 PyThreadState* __tstate = wxPyBeginAllowThreads();
7423 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
7424
7425 wxPyEndAllowThreads(__tstate);
7426 if (PyErr_Occurred()) SWIG_fail;
7427 }
7428 {
7429 wxSize * resultptr;
7430 resultptr = new wxSize((wxSize &) result);
7431 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
7432 }
7433 return resultobj;
7434 fail:
7435 return NULL;
7436 }
7437
7438
7439 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7440 PyObject *resultobj;
7441 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7442 int arg2 ;
7443 PyObject * obj0 = 0 ;
7444 PyObject * obj1 = 0 ;
7445 char *kwnames[] = {
7446 (char *) "self",(char *) "orient", NULL
7447 };
7448
7449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
7450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7452 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
7453 if (PyErr_Occurred()) SWIG_fail;
7454 {
7455 PyThreadState* __tstate = wxPyBeginAllowThreads();
7456 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7457
7458 wxPyEndAllowThreads(__tstate);
7459 if (PyErr_Occurred()) SWIG_fail;
7460 }
7461 Py_INCREF(Py_None); resultobj = Py_None;
7462 return resultobj;
7463 fail:
7464 return NULL;
7465 }
7466
7467
7468 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7469 PyObject *resultobj;
7470 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7471 int result;
7472 PyObject * obj0 = 0 ;
7473 char *kwnames[] = {
7474 (char *) "self", NULL
7475 };
7476
7477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
7478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7480 {
7481 PyThreadState* __tstate = wxPyBeginAllowThreads();
7482 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
7483
7484 wxPyEndAllowThreads(__tstate);
7485 if (PyErr_Occurred()) SWIG_fail;
7486 }
7487 resultobj = SWIG_FromInt((int)result);
7488 return resultobj;
7489 fail:
7490 return NULL;
7491 }
7492
7493
7494 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7495 PyObject *resultobj;
7496 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7497 int arg2 ;
7498 PyObject * obj0 = 0 ;
7499 PyObject * obj1 = 0 ;
7500 char *kwnames[] = {
7501 (char *) "self",(char *) "align", NULL
7502 };
7503
7504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7507 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
7508 if (PyErr_Occurred()) SWIG_fail;
7509 {
7510 PyThreadState* __tstate = wxPyBeginAllowThreads();
7511 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7512
7513 wxPyEndAllowThreads(__tstate);
7514 if (PyErr_Occurred()) SWIG_fail;
7515 }
7516 Py_INCREF(Py_None); resultobj = Py_None;
7517 return resultobj;
7518 fail:
7519 return NULL;
7520 }
7521
7522
7523 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7524 PyObject *resultobj;
7525 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7526 int result;
7527 PyObject * obj0 = 0 ;
7528 char *kwnames[] = {
7529 (char *) "self", NULL
7530 };
7531
7532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
7533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7535 {
7536 PyThreadState* __tstate = wxPyBeginAllowThreads();
7537 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
7538
7539 wxPyEndAllowThreads(__tstate);
7540 if (PyErr_Occurred()) SWIG_fail;
7541 }
7542 resultobj = SWIG_FromInt((int)result);
7543 return resultobj;
7544 fail:
7545 return NULL;
7546 }
7547
7548
7549 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
7550 PyObject *obj;
7551 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7552 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
7553 Py_INCREF(obj);
7554 return Py_BuildValue((char *)"");
7555 }
7556 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7557 PyObject *resultobj;
7558 int arg1 = (int) 0 ;
7559 wxCalculateLayoutEvent *result;
7560 PyObject * obj0 = 0 ;
7561 char *kwnames[] = {
7562 (char *) "id", NULL
7563 };
7564
7565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
7566 if (obj0) {
7567 arg1 = (int) SWIG_AsInt(obj0);
7568 if (PyErr_Occurred()) SWIG_fail;
7569 }
7570 {
7571 PyThreadState* __tstate = wxPyBeginAllowThreads();
7572 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
7573
7574 wxPyEndAllowThreads(__tstate);
7575 if (PyErr_Occurred()) SWIG_fail;
7576 }
7577 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
7578 return resultobj;
7579 fail:
7580 return NULL;
7581 }
7582
7583
7584 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7585 PyObject *resultobj;
7586 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7587 int arg2 ;
7588 PyObject * obj0 = 0 ;
7589 PyObject * obj1 = 0 ;
7590 char *kwnames[] = {
7591 (char *) "self",(char *) "flags", NULL
7592 };
7593
7594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7597 arg2 = (int) SWIG_AsInt(obj1);
7598 if (PyErr_Occurred()) SWIG_fail;
7599 {
7600 PyThreadState* __tstate = wxPyBeginAllowThreads();
7601 (arg1)->SetFlags(arg2);
7602
7603 wxPyEndAllowThreads(__tstate);
7604 if (PyErr_Occurred()) SWIG_fail;
7605 }
7606 Py_INCREF(Py_None); resultobj = Py_None;
7607 return resultobj;
7608 fail:
7609 return NULL;
7610 }
7611
7612
7613 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7614 PyObject *resultobj;
7615 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7616 int result;
7617 PyObject * obj0 = 0 ;
7618 char *kwnames[] = {
7619 (char *) "self", NULL
7620 };
7621
7622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
7623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7625 {
7626 PyThreadState* __tstate = wxPyBeginAllowThreads();
7627 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
7628
7629 wxPyEndAllowThreads(__tstate);
7630 if (PyErr_Occurred()) SWIG_fail;
7631 }
7632 resultobj = SWIG_FromInt((int)result);
7633 return resultobj;
7634 fail:
7635 return NULL;
7636 }
7637
7638
7639 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7640 PyObject *resultobj;
7641 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7642 wxRect *arg2 = 0 ;
7643 wxRect temp2 ;
7644 PyObject * obj0 = 0 ;
7645 PyObject * obj1 = 0 ;
7646 char *kwnames[] = {
7647 (char *) "self",(char *) "rect", NULL
7648 };
7649
7650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
7651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7653 {
7654 arg2 = &temp2;
7655 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7656 }
7657 {
7658 PyThreadState* __tstate = wxPyBeginAllowThreads();
7659 (arg1)->SetRect((wxRect const &)*arg2);
7660
7661 wxPyEndAllowThreads(__tstate);
7662 if (PyErr_Occurred()) SWIG_fail;
7663 }
7664 Py_INCREF(Py_None); resultobj = Py_None;
7665 return resultobj;
7666 fail:
7667 return NULL;
7668 }
7669
7670
7671 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7672 PyObject *resultobj;
7673 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7674 wxRect result;
7675 PyObject * obj0 = 0 ;
7676 char *kwnames[] = {
7677 (char *) "self", NULL
7678 };
7679
7680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
7681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7683 {
7684 PyThreadState* __tstate = wxPyBeginAllowThreads();
7685 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
7686
7687 wxPyEndAllowThreads(__tstate);
7688 if (PyErr_Occurred()) SWIG_fail;
7689 }
7690 {
7691 wxRect * resultptr;
7692 resultptr = new wxRect((wxRect &) result);
7693 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7694 }
7695 return resultobj;
7696 fail:
7697 return NULL;
7698 }
7699
7700
7701 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
7702 PyObject *obj;
7703 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7704 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
7705 Py_INCREF(obj);
7706 return Py_BuildValue((char *)"");
7707 }
7708 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7709 PyObject *resultobj;
7710 wxWindow *arg1 = (wxWindow *) 0 ;
7711 int arg2 ;
7712 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7713 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7714 wxSize const &arg4_defvalue = wxDefaultSize ;
7715 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7716 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7717 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
7718 wxString *arg6 = (wxString *) &arg6_defvalue ;
7719 wxSashLayoutWindow *result;
7720 wxPoint temp3 ;
7721 wxSize temp4 ;
7722 bool temp6 = False ;
7723 PyObject * obj0 = 0 ;
7724 PyObject * obj1 = 0 ;
7725 PyObject * obj2 = 0 ;
7726 PyObject * obj3 = 0 ;
7727 PyObject * obj4 = 0 ;
7728 PyObject * obj5 = 0 ;
7729 char *kwnames[] = {
7730 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7731 };
7732
7733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7736 arg2 = (int) SWIG_AsInt(obj1);
7737 if (PyErr_Occurred()) SWIG_fail;
7738 if (obj2) {
7739 {
7740 arg3 = &temp3;
7741 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7742 }
7743 }
7744 if (obj3) {
7745 {
7746 arg4 = &temp4;
7747 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7748 }
7749 }
7750 if (obj4) {
7751 arg5 = (long) SWIG_AsLong(obj4);
7752 if (PyErr_Occurred()) SWIG_fail;
7753 }
7754 if (obj5) {
7755 {
7756 arg6 = wxString_in_helper(obj5);
7757 if (arg6 == NULL) SWIG_fail;
7758 temp6 = True;
7759 }
7760 }
7761 {
7762 PyThreadState* __tstate = wxPyBeginAllowThreads();
7763 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7764
7765 wxPyEndAllowThreads(__tstate);
7766 if (PyErr_Occurred()) SWIG_fail;
7767 }
7768 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
7769 {
7770 if (temp6)
7771 delete arg6;
7772 }
7773 return resultobj;
7774 fail:
7775 {
7776 if (temp6)
7777 delete arg6;
7778 }
7779 return NULL;
7780 }
7781
7782
7783 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7784 PyObject *resultobj;
7785 wxSashLayoutWindow *result;
7786 char *kwnames[] = {
7787 NULL
7788 };
7789
7790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
7791 {
7792 PyThreadState* __tstate = wxPyBeginAllowThreads();
7793 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
7794
7795 wxPyEndAllowThreads(__tstate);
7796 if (PyErr_Occurred()) SWIG_fail;
7797 }
7798 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
7799 return resultobj;
7800 fail:
7801 return NULL;
7802 }
7803
7804
7805 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7806 PyObject *resultobj;
7807 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7808 wxWindow *arg2 = (wxWindow *) 0 ;
7809 int arg3 ;
7810 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7811 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7812 wxSize const &arg5_defvalue = wxDefaultSize ;
7813 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7814 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7815 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
7816 wxString *arg7 = (wxString *) &arg7_defvalue ;
7817 bool result;
7818 wxPoint temp4 ;
7819 wxSize temp5 ;
7820 bool temp7 = False ;
7821 PyObject * obj0 = 0 ;
7822 PyObject * obj1 = 0 ;
7823 PyObject * obj2 = 0 ;
7824 PyObject * obj3 = 0 ;
7825 PyObject * obj4 = 0 ;
7826 PyObject * obj5 = 0 ;
7827 PyObject * obj6 = 0 ;
7828 char *kwnames[] = {
7829 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7830 };
7831
7832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
7834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7835 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7837 arg3 = (int) SWIG_AsInt(obj2);
7838 if (PyErr_Occurred()) SWIG_fail;
7839 if (obj3) {
7840 {
7841 arg4 = &temp4;
7842 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7843 }
7844 }
7845 if (obj4) {
7846 {
7847 arg5 = &temp5;
7848 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7849 }
7850 }
7851 if (obj5) {
7852 arg6 = (long) SWIG_AsLong(obj5);
7853 if (PyErr_Occurred()) SWIG_fail;
7854 }
7855 if (obj6) {
7856 {
7857 arg7 = wxString_in_helper(obj6);
7858 if (arg7 == NULL) SWIG_fail;
7859 temp7 = True;
7860 }
7861 }
7862 {
7863 PyThreadState* __tstate = wxPyBeginAllowThreads();
7864 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7865
7866 wxPyEndAllowThreads(__tstate);
7867 if (PyErr_Occurred()) SWIG_fail;
7868 }
7869 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7870 {
7871 if (temp7)
7872 delete arg7;
7873 }
7874 return resultobj;
7875 fail:
7876 {
7877 if (temp7)
7878 delete arg7;
7879 }
7880 return NULL;
7881 }
7882
7883
7884 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7885 PyObject *resultobj;
7886 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7887 int result;
7888 PyObject * obj0 = 0 ;
7889 char *kwnames[] = {
7890 (char *) "self", NULL
7891 };
7892
7893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
7894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
7895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7896 {
7897 PyThreadState* __tstate = wxPyBeginAllowThreads();
7898 result = (int)(arg1)->GetAlignment();
7899
7900 wxPyEndAllowThreads(__tstate);
7901 if (PyErr_Occurred()) SWIG_fail;
7902 }
7903 resultobj = SWIG_FromInt((int)result);
7904 return resultobj;
7905 fail:
7906 return NULL;
7907 }
7908
7909
7910 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7911 PyObject *resultobj;
7912 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7913 int result;
7914 PyObject * obj0 = 0 ;
7915 char *kwnames[] = {
7916 (char *) "self", NULL
7917 };
7918
7919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
7920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
7921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7922 {
7923 PyThreadState* __tstate = wxPyBeginAllowThreads();
7924 result = (int)(arg1)->GetOrientation();
7925
7926 wxPyEndAllowThreads(__tstate);
7927 if (PyErr_Occurred()) SWIG_fail;
7928 }
7929 resultobj = SWIG_FromInt((int)result);
7930 return resultobj;
7931 fail:
7932 return NULL;
7933 }
7934
7935
7936 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7937 PyObject *resultobj;
7938 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7939 int arg2 ;
7940 PyObject * obj0 = 0 ;
7941 PyObject * obj1 = 0 ;
7942 char *kwnames[] = {
7943 (char *) "self",(char *) "alignment", NULL
7944 };
7945
7946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
7948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7949 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
7950 if (PyErr_Occurred()) SWIG_fail;
7951 {
7952 PyThreadState* __tstate = wxPyBeginAllowThreads();
7953 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7954
7955 wxPyEndAllowThreads(__tstate);
7956 if (PyErr_Occurred()) SWIG_fail;
7957 }
7958 Py_INCREF(Py_None); resultobj = Py_None;
7959 return resultobj;
7960 fail:
7961 return NULL;
7962 }
7963
7964
7965 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7966 PyObject *resultobj;
7967 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7968 wxSize *arg2 = 0 ;
7969 wxSize temp2 ;
7970 PyObject * obj0 = 0 ;
7971 PyObject * obj1 = 0 ;
7972 char *kwnames[] = {
7973 (char *) "self",(char *) "size", NULL
7974 };
7975
7976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
7977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
7978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7979 {
7980 arg2 = &temp2;
7981 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7982 }
7983 {
7984 PyThreadState* __tstate = wxPyBeginAllowThreads();
7985 (arg1)->SetDefaultSize((wxSize const &)*arg2);
7986
7987 wxPyEndAllowThreads(__tstate);
7988 if (PyErr_Occurred()) SWIG_fail;
7989 }
7990 Py_INCREF(Py_None); resultobj = Py_None;
7991 return resultobj;
7992 fail:
7993 return NULL;
7994 }
7995
7996
7997 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7998 PyObject *resultobj;
7999 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8000 int arg2 ;
8001 PyObject * obj0 = 0 ;
8002 PyObject * obj1 = 0 ;
8003 char *kwnames[] = {
8004 (char *) "self",(char *) "orientation", NULL
8005 };
8006
8007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8010 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
8011 if (PyErr_Occurred()) SWIG_fail;
8012 {
8013 PyThreadState* __tstate = wxPyBeginAllowThreads();
8014 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8015
8016 wxPyEndAllowThreads(__tstate);
8017 if (PyErr_Occurred()) SWIG_fail;
8018 }
8019 Py_INCREF(Py_None); resultobj = Py_None;
8020 return resultobj;
8021 fail:
8022 return NULL;
8023 }
8024
8025
8026 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
8027 PyObject *obj;
8028 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8029 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8030 Py_INCREF(obj);
8031 return Py_BuildValue((char *)"");
8032 }
8033 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8034 PyObject *resultobj;
8035 wxLayoutAlgorithm *result;
8036 char *kwnames[] = {
8037 NULL
8038 };
8039
8040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8041 {
8042 PyThreadState* __tstate = wxPyBeginAllowThreads();
8043 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8044
8045 wxPyEndAllowThreads(__tstate);
8046 if (PyErr_Occurred()) SWIG_fail;
8047 }
8048 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8049 return resultobj;
8050 fail:
8051 return NULL;
8052 }
8053
8054
8055 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8056 PyObject *resultobj;
8057 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8058 PyObject * obj0 = 0 ;
8059 char *kwnames[] = {
8060 (char *) "self", NULL
8061 };
8062
8063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8066 {
8067 PyThreadState* __tstate = wxPyBeginAllowThreads();
8068 delete arg1;
8069
8070 wxPyEndAllowThreads(__tstate);
8071 if (PyErr_Occurred()) SWIG_fail;
8072 }
8073 Py_INCREF(Py_None); resultobj = Py_None;
8074 return resultobj;
8075 fail:
8076 return NULL;
8077 }
8078
8079
8080 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8081 PyObject *resultobj;
8082 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8083 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8084 wxRect *arg3 = (wxRect *) NULL ;
8085 bool result;
8086 PyObject * obj0 = 0 ;
8087 PyObject * obj1 = 0 ;
8088 PyObject * obj2 = 0 ;
8089 char *kwnames[] = {
8090 (char *) "self",(char *) "frame",(char *) "rect", NULL
8091 };
8092
8093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8096 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8098 if (obj2) {
8099 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8101 }
8102 {
8103 PyThreadState* __tstate = wxPyBeginAllowThreads();
8104 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8105
8106 wxPyEndAllowThreads(__tstate);
8107 if (PyErr_Occurred()) SWIG_fail;
8108 }
8109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8110 return resultobj;
8111 fail:
8112 return NULL;
8113 }
8114
8115
8116 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8117 PyObject *resultobj;
8118 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8119 wxFrame *arg2 = (wxFrame *) 0 ;
8120 wxWindow *arg3 = (wxWindow *) NULL ;
8121 bool result;
8122 PyObject * obj0 = 0 ;
8123 PyObject * obj1 = 0 ;
8124 PyObject * obj2 = 0 ;
8125 char *kwnames[] = {
8126 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8127 };
8128
8129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8132 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8134 if (obj2) {
8135 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8137 }
8138 {
8139 PyThreadState* __tstate = wxPyBeginAllowThreads();
8140 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8141
8142 wxPyEndAllowThreads(__tstate);
8143 if (PyErr_Occurred()) SWIG_fail;
8144 }
8145 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8146 return resultobj;
8147 fail:
8148 return NULL;
8149 }
8150
8151
8152 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8153 PyObject *resultobj;
8154 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8155 wxWindow *arg2 = (wxWindow *) 0 ;
8156 wxWindow *arg3 = (wxWindow *) NULL ;
8157 bool result;
8158 PyObject * obj0 = 0 ;
8159 PyObject * obj1 = 0 ;
8160 PyObject * obj2 = 0 ;
8161 char *kwnames[] = {
8162 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8163 };
8164
8165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8168 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8170 if (obj2) {
8171 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8173 }
8174 {
8175 PyThreadState* __tstate = wxPyBeginAllowThreads();
8176 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8177
8178 wxPyEndAllowThreads(__tstate);
8179 if (PyErr_Occurred()) SWIG_fail;
8180 }
8181 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8182 return resultobj;
8183 fail:
8184 return NULL;
8185 }
8186
8187
8188 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
8189 PyObject *obj;
8190 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8191 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8192 Py_INCREF(obj);
8193 return Py_BuildValue((char *)"");
8194 }
8195 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8196 PyObject *resultobj;
8197 wxWindow *arg1 = (wxWindow *) 0 ;
8198 int arg2 = (int) wxBORDER_NONE ;
8199 wxPopupWindow *result;
8200 PyObject * obj0 = 0 ;
8201 PyObject * obj1 = 0 ;
8202 char *kwnames[] = {
8203 (char *) "parent",(char *) "flags", NULL
8204 };
8205
8206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8209 if (obj1) {
8210 arg2 = (int) SWIG_AsInt(obj1);
8211 if (PyErr_Occurred()) SWIG_fail;
8212 }
8213 {
8214 PyThreadState* __tstate = wxPyBeginAllowThreads();
8215 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8216
8217 wxPyEndAllowThreads(__tstate);
8218 if (PyErr_Occurred()) SWIG_fail;
8219 }
8220 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8221 return resultobj;
8222 fail:
8223 return NULL;
8224 }
8225
8226
8227 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8228 PyObject *resultobj;
8229 wxPopupWindow *result;
8230 char *kwnames[] = {
8231 NULL
8232 };
8233
8234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8235 {
8236 PyThreadState* __tstate = wxPyBeginAllowThreads();
8237 result = (wxPopupWindow *)new wxPopupWindow();
8238
8239 wxPyEndAllowThreads(__tstate);
8240 if (PyErr_Occurred()) SWIG_fail;
8241 }
8242 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8243 return resultobj;
8244 fail:
8245 return NULL;
8246 }
8247
8248
8249 static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8250 PyObject *resultobj;
8251 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8252 wxWindow *arg2 = (wxWindow *) 0 ;
8253 int arg3 = (int) wxBORDER_NONE ;
8254 bool result;
8255 PyObject * obj0 = 0 ;
8256 PyObject * obj1 = 0 ;
8257 PyObject * obj2 = 0 ;
8258 char *kwnames[] = {
8259 (char *) "self",(char *) "parent",(char *) "flags", NULL
8260 };
8261
8262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
8263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8265 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8267 if (obj2) {
8268 arg3 = (int) SWIG_AsInt(obj2);
8269 if (PyErr_Occurred()) SWIG_fail;
8270 }
8271 {
8272 PyThreadState* __tstate = wxPyBeginAllowThreads();
8273 result = (bool)(arg1)->Create(arg2,arg3);
8274
8275 wxPyEndAllowThreads(__tstate);
8276 if (PyErr_Occurred()) SWIG_fail;
8277 }
8278 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8279 return resultobj;
8280 fail:
8281 return NULL;
8282 }
8283
8284
8285 static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
8286 PyObject *resultobj;
8287 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8288 wxPoint *arg2 = 0 ;
8289 wxSize *arg3 = 0 ;
8290 wxPoint temp2 ;
8291 wxSize temp3 ;
8292 PyObject * obj0 = 0 ;
8293 PyObject * obj1 = 0 ;
8294 PyObject * obj2 = 0 ;
8295 char *kwnames[] = {
8296 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8297 };
8298
8299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
8300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8302 {
8303 arg2 = &temp2;
8304 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8305 }
8306 {
8307 arg3 = &temp3;
8308 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
8309 }
8310 {
8311 PyThreadState* __tstate = wxPyBeginAllowThreads();
8312 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
8313
8314 wxPyEndAllowThreads(__tstate);
8315 if (PyErr_Occurred()) SWIG_fail;
8316 }
8317 Py_INCREF(Py_None); resultobj = Py_None;
8318 return resultobj;
8319 fail:
8320 return NULL;
8321 }
8322
8323
8324 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
8325 PyObject *obj;
8326 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8327 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
8328 Py_INCREF(obj);
8329 return Py_BuildValue((char *)"");
8330 }
8331 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8332 PyObject *resultobj;
8333 wxWindow *arg1 = (wxWindow *) 0 ;
8334 int arg2 = (int) wxBORDER_NONE ;
8335 wxPyPopupTransientWindow *result;
8336 PyObject * obj0 = 0 ;
8337 PyObject * obj1 = 0 ;
8338 char *kwnames[] = {
8339 (char *) "parent",(char *) "style", NULL
8340 };
8341
8342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
8343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8345 if (obj1) {
8346 arg2 = (int) SWIG_AsInt(obj1);
8347 if (PyErr_Occurred()) SWIG_fail;
8348 }
8349 {
8350 PyThreadState* __tstate = wxPyBeginAllowThreads();
8351 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
8352
8353 wxPyEndAllowThreads(__tstate);
8354 if (PyErr_Occurred()) SWIG_fail;
8355 }
8356 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8357 return resultobj;
8358 fail:
8359 return NULL;
8360 }
8361
8362
8363 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8364 PyObject *resultobj;
8365 wxPyPopupTransientWindow *result;
8366 char *kwnames[] = {
8367 NULL
8368 };
8369
8370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
8371 {
8372 PyThreadState* __tstate = wxPyBeginAllowThreads();
8373 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
8374
8375 wxPyEndAllowThreads(__tstate);
8376 if (PyErr_Occurred()) SWIG_fail;
8377 }
8378 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8379 return resultobj;
8380 fail:
8381 return NULL;
8382 }
8383
8384
8385 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8386 PyObject *resultobj;
8387 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8388 PyObject *arg2 = (PyObject *) 0 ;
8389 PyObject *arg3 = (PyObject *) 0 ;
8390 PyObject * obj0 = 0 ;
8391 PyObject * obj1 = 0 ;
8392 PyObject * obj2 = 0 ;
8393 char *kwnames[] = {
8394 (char *) "self",(char *) "self",(char *) "_class", NULL
8395 };
8396
8397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8400 arg2 = obj1;
8401 arg3 = obj2;
8402 {
8403 PyThreadState* __tstate = wxPyBeginAllowThreads();
8404 (arg1)->_setCallbackInfo(arg2,arg3);
8405
8406 wxPyEndAllowThreads(__tstate);
8407 if (PyErr_Occurred()) SWIG_fail;
8408 }
8409 Py_INCREF(Py_None); resultobj = Py_None;
8410 return resultobj;
8411 fail:
8412 return NULL;
8413 }
8414
8415
8416 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
8417 PyObject *resultobj;
8418 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8419 wxWindow *arg2 = (wxWindow *) NULL ;
8420 PyObject * obj0 = 0 ;
8421 PyObject * obj1 = 0 ;
8422 char *kwnames[] = {
8423 (char *) "self",(char *) "focus", NULL
8424 };
8425
8426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
8427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8429 if (obj1) {
8430 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8432 }
8433 {
8434 PyThreadState* __tstate = wxPyBeginAllowThreads();
8435 (arg1)->Popup(arg2);
8436
8437 wxPyEndAllowThreads(__tstate);
8438 if (PyErr_Occurred()) SWIG_fail;
8439 }
8440 Py_INCREF(Py_None); resultobj = Py_None;
8441 return resultobj;
8442 fail:
8443 return NULL;
8444 }
8445
8446
8447 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
8448 PyObject *resultobj;
8449 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8450 PyObject * obj0 = 0 ;
8451 char *kwnames[] = {
8452 (char *) "self", NULL
8453 };
8454
8455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
8456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8458 {
8459 PyThreadState* __tstate = wxPyBeginAllowThreads();
8460 (arg1)->Dismiss();
8461
8462 wxPyEndAllowThreads(__tstate);
8463 if (PyErr_Occurred()) SWIG_fail;
8464 }
8465 Py_INCREF(Py_None); resultobj = Py_None;
8466 return resultobj;
8467 fail:
8468 return NULL;
8469 }
8470
8471
8472 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
8473 PyObject *obj;
8474 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8475 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
8476 Py_INCREF(obj);
8477 return Py_BuildValue((char *)"");
8478 }
8479 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8480 PyObject *resultobj;
8481 wxWindow *arg1 = (wxWindow *) 0 ;
8482 wxString *arg2 = 0 ;
8483 int arg3 = (int) 100 ;
8484 wxRect *arg4 = (wxRect *) NULL ;
8485 wxTipWindow *result;
8486 bool temp2 = False ;
8487 PyObject * obj0 = 0 ;
8488 PyObject * obj1 = 0 ;
8489 PyObject * obj2 = 0 ;
8490 PyObject * obj3 = 0 ;
8491 char *kwnames[] = {
8492 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8493 };
8494
8495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8498 {
8499 arg2 = wxString_in_helper(obj1);
8500 if (arg2 == NULL) SWIG_fail;
8501 temp2 = True;
8502 }
8503 if (obj2) {
8504 arg3 = (int) SWIG_AsInt(obj2);
8505 if (PyErr_Occurred()) SWIG_fail;
8506 }
8507 if (obj3) {
8508 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
8509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8510 }
8511 {
8512 PyThreadState* __tstate = wxPyBeginAllowThreads();
8513 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
8514
8515 wxPyEndAllowThreads(__tstate);
8516 if (PyErr_Occurred()) SWIG_fail;
8517 }
8518 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
8519 {
8520 if (temp2)
8521 delete arg2;
8522 }
8523 return resultobj;
8524 fail:
8525 {
8526 if (temp2)
8527 delete arg2;
8528 }
8529 return NULL;
8530 }
8531
8532
8533 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8534 PyObject *resultobj;
8535 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8536 wxRect *arg2 = 0 ;
8537 wxRect temp2 ;
8538 PyObject * obj0 = 0 ;
8539 PyObject * obj1 = 0 ;
8540 char *kwnames[] = {
8541 (char *) "self",(char *) "rectBound", NULL
8542 };
8543
8544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
8545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8547 {
8548 arg2 = &temp2;
8549 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8550 }
8551 {
8552 PyThreadState* __tstate = wxPyBeginAllowThreads();
8553 (arg1)->SetBoundingRect((wxRect const &)*arg2);
8554
8555 wxPyEndAllowThreads(__tstate);
8556 if (PyErr_Occurred()) SWIG_fail;
8557 }
8558 Py_INCREF(Py_None); resultobj = Py_None;
8559 return resultobj;
8560 fail:
8561 return NULL;
8562 }
8563
8564
8565 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
8566 PyObject *resultobj;
8567 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8568 PyObject * obj0 = 0 ;
8569 char *kwnames[] = {
8570 (char *) "self", NULL
8571 };
8572
8573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
8574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8576 {
8577 PyThreadState* __tstate = wxPyBeginAllowThreads();
8578 (arg1)->Close();
8579
8580 wxPyEndAllowThreads(__tstate);
8581 if (PyErr_Occurred()) SWIG_fail;
8582 }
8583 Py_INCREF(Py_None); resultobj = Py_None;
8584 return resultobj;
8585 fail:
8586 return NULL;
8587 }
8588
8589
8590 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
8591 PyObject *obj;
8592 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8593 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
8594 Py_INCREF(obj);
8595 return Py_BuildValue((char *)"");
8596 }
8597 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8598 PyObject *resultobj;
8599 wxWindow *arg1 = (wxWindow *) 0 ;
8600 int arg2 = (int) wxID_ANY ;
8601 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8602 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8603 wxSize const &arg4_defvalue = wxDefaultSize ;
8604 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8605 long arg5 = (long) 0 ;
8606 wxString const &arg6_defvalue = wxPyPanelNameStr ;
8607 wxString *arg6 = (wxString *) &arg6_defvalue ;
8608 wxPyVScrolledWindow *result;
8609 wxPoint temp3 ;
8610 wxSize temp4 ;
8611 bool temp6 = False ;
8612 PyObject * obj0 = 0 ;
8613 PyObject * obj1 = 0 ;
8614 PyObject * obj2 = 0 ;
8615 PyObject * obj3 = 0 ;
8616 PyObject * obj4 = 0 ;
8617 PyObject * obj5 = 0 ;
8618 char *kwnames[] = {
8619 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8620 };
8621
8622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8625 if (obj1) {
8626 arg2 = (int) SWIG_AsInt(obj1);
8627 if (PyErr_Occurred()) SWIG_fail;
8628 }
8629 if (obj2) {
8630 {
8631 arg3 = &temp3;
8632 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8633 }
8634 }
8635 if (obj3) {
8636 {
8637 arg4 = &temp4;
8638 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8639 }
8640 }
8641 if (obj4) {
8642 arg5 = (long) SWIG_AsLong(obj4);
8643 if (PyErr_Occurred()) SWIG_fail;
8644 }
8645 if (obj5) {
8646 {
8647 arg6 = wxString_in_helper(obj5);
8648 if (arg6 == NULL) SWIG_fail;
8649 temp6 = True;
8650 }
8651 }
8652 {
8653 PyThreadState* __tstate = wxPyBeginAllowThreads();
8654 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8655
8656 wxPyEndAllowThreads(__tstate);
8657 if (PyErr_Occurred()) SWIG_fail;
8658 }
8659 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
8660 {
8661 if (temp6)
8662 delete arg6;
8663 }
8664 return resultobj;
8665 fail:
8666 {
8667 if (temp6)
8668 delete arg6;
8669 }
8670 return NULL;
8671 }
8672
8673
8674 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8675 PyObject *resultobj;
8676 wxPyVScrolledWindow *result;
8677 char *kwnames[] = {
8678 NULL
8679 };
8680
8681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
8682 {
8683 PyThreadState* __tstate = wxPyBeginAllowThreads();
8684 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
8685
8686 wxPyEndAllowThreads(__tstate);
8687 if (PyErr_Occurred()) SWIG_fail;
8688 }
8689 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
8690 return resultobj;
8691 fail:
8692 return NULL;
8693 }
8694
8695
8696 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8697 PyObject *resultobj;
8698 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8699 PyObject *arg2 = (PyObject *) 0 ;
8700 PyObject *arg3 = (PyObject *) 0 ;
8701 PyObject * obj0 = 0 ;
8702 PyObject * obj1 = 0 ;
8703 PyObject * obj2 = 0 ;
8704 char *kwnames[] = {
8705 (char *) "self",(char *) "self",(char *) "_class", NULL
8706 };
8707
8708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8711 arg2 = obj1;
8712 arg3 = obj2;
8713 {
8714 PyThreadState* __tstate = wxPyBeginAllowThreads();
8715 (arg1)->_setCallbackInfo(arg2,arg3);
8716
8717 wxPyEndAllowThreads(__tstate);
8718 if (PyErr_Occurred()) SWIG_fail;
8719 }
8720 Py_INCREF(Py_None); resultobj = Py_None;
8721 return resultobj;
8722 fail:
8723 return NULL;
8724 }
8725
8726
8727 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8728 PyObject *resultobj;
8729 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8730 wxWindow *arg2 = (wxWindow *) 0 ;
8731 int arg3 = (int) wxID_ANY ;
8732 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8733 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8734 wxSize const &arg5_defvalue = wxDefaultSize ;
8735 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8736 long arg6 = (long) 0 ;
8737 wxString const &arg7_defvalue = wxPyPanelNameStr ;
8738 wxString *arg7 = (wxString *) &arg7_defvalue ;
8739 bool result;
8740 wxPoint temp4 ;
8741 wxSize temp5 ;
8742 bool temp7 = False ;
8743 PyObject * obj0 = 0 ;
8744 PyObject * obj1 = 0 ;
8745 PyObject * obj2 = 0 ;
8746 PyObject * obj3 = 0 ;
8747 PyObject * obj4 = 0 ;
8748 PyObject * obj5 = 0 ;
8749 PyObject * obj6 = 0 ;
8750 char *kwnames[] = {
8751 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8752 };
8753
8754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8757 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8759 if (obj2) {
8760 arg3 = (int) SWIG_AsInt(obj2);
8761 if (PyErr_Occurred()) SWIG_fail;
8762 }
8763 if (obj3) {
8764 {
8765 arg4 = &temp4;
8766 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8767 }
8768 }
8769 if (obj4) {
8770 {
8771 arg5 = &temp5;
8772 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8773 }
8774 }
8775 if (obj5) {
8776 arg6 = (long) SWIG_AsLong(obj5);
8777 if (PyErr_Occurred()) SWIG_fail;
8778 }
8779 if (obj6) {
8780 {
8781 arg7 = wxString_in_helper(obj6);
8782 if (arg7 == NULL) SWIG_fail;
8783 temp7 = True;
8784 }
8785 }
8786 {
8787 PyThreadState* __tstate = wxPyBeginAllowThreads();
8788 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8789
8790 wxPyEndAllowThreads(__tstate);
8791 if (PyErr_Occurred()) SWIG_fail;
8792 }
8793 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8794 {
8795 if (temp7)
8796 delete arg7;
8797 }
8798 return resultobj;
8799 fail:
8800 {
8801 if (temp7)
8802 delete arg7;
8803 }
8804 return NULL;
8805 }
8806
8807
8808 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8809 PyObject *resultobj;
8810 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8811 size_t arg2 ;
8812 PyObject * obj0 = 0 ;
8813 PyObject * obj1 = 0 ;
8814 char *kwnames[] = {
8815 (char *) "self",(char *) "count", NULL
8816 };
8817
8818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
8819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8821 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
8822 if (PyErr_Occurred()) SWIG_fail;
8823 {
8824 PyThreadState* __tstate = wxPyBeginAllowThreads();
8825 (arg1)->SetLineCount(arg2);
8826
8827 wxPyEndAllowThreads(__tstate);
8828 if (PyErr_Occurred()) SWIG_fail;
8829 }
8830 Py_INCREF(Py_None); resultobj = Py_None;
8831 return resultobj;
8832 fail:
8833 return NULL;
8834 }
8835
8836
8837 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8838 PyObject *resultobj;
8839 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8840 size_t arg2 ;
8841 bool result;
8842 PyObject * obj0 = 0 ;
8843 PyObject * obj1 = 0 ;
8844 char *kwnames[] = {
8845 (char *) "self",(char *) "line", NULL
8846 };
8847
8848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
8849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8851 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
8852 if (PyErr_Occurred()) SWIG_fail;
8853 {
8854 PyThreadState* __tstate = wxPyBeginAllowThreads();
8855 result = (bool)(arg1)->ScrollToLine(arg2);
8856
8857 wxPyEndAllowThreads(__tstate);
8858 if (PyErr_Occurred()) SWIG_fail;
8859 }
8860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8861 return resultobj;
8862 fail:
8863 return NULL;
8864 }
8865
8866
8867 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8868 PyObject *resultobj;
8869 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8870 int arg2 ;
8871 bool result;
8872 PyObject * obj0 = 0 ;
8873 PyObject * obj1 = 0 ;
8874 char *kwnames[] = {
8875 (char *) "self",(char *) "lines", NULL
8876 };
8877
8878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
8879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8881 arg2 = (int) SWIG_AsInt(obj1);
8882 if (PyErr_Occurred()) SWIG_fail;
8883 {
8884 PyThreadState* __tstate = wxPyBeginAllowThreads();
8885 result = (bool)(arg1)->ScrollLines(arg2);
8886
8887 wxPyEndAllowThreads(__tstate);
8888 if (PyErr_Occurred()) SWIG_fail;
8889 }
8890 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8891 return resultobj;
8892 fail:
8893 return NULL;
8894 }
8895
8896
8897 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
8898 PyObject *resultobj;
8899 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8900 int arg2 ;
8901 bool result;
8902 PyObject * obj0 = 0 ;
8903 PyObject * obj1 = 0 ;
8904 char *kwnames[] = {
8905 (char *) "self",(char *) "pages", NULL
8906 };
8907
8908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
8909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8911 arg2 = (int) SWIG_AsInt(obj1);
8912 if (PyErr_Occurred()) SWIG_fail;
8913 {
8914 PyThreadState* __tstate = wxPyBeginAllowThreads();
8915 result = (bool)(arg1)->ScrollPages(arg2);
8916
8917 wxPyEndAllowThreads(__tstate);
8918 if (PyErr_Occurred()) SWIG_fail;
8919 }
8920 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8921 return resultobj;
8922 fail:
8923 return NULL;
8924 }
8925
8926
8927 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8928 PyObject *resultobj;
8929 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8930 size_t arg2 ;
8931 PyObject * obj0 = 0 ;
8932 PyObject * obj1 = 0 ;
8933 char *kwnames[] = {
8934 (char *) "self",(char *) "line", NULL
8935 };
8936
8937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
8938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8940 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
8941 if (PyErr_Occurred()) SWIG_fail;
8942 {
8943 PyThreadState* __tstate = wxPyBeginAllowThreads();
8944 (arg1)->RefreshLine(arg2);
8945
8946 wxPyEndAllowThreads(__tstate);
8947 if (PyErr_Occurred()) SWIG_fail;
8948 }
8949 Py_INCREF(Py_None); resultobj = Py_None;
8950 return resultobj;
8951 fail:
8952 return NULL;
8953 }
8954
8955
8956 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8957 PyObject *resultobj;
8958 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8959 size_t arg2 ;
8960 size_t arg3 ;
8961 PyObject * obj0 = 0 ;
8962 PyObject * obj1 = 0 ;
8963 PyObject * obj2 = 0 ;
8964 char *kwnames[] = {
8965 (char *) "self",(char *) "from",(char *) "to", NULL
8966 };
8967
8968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
8969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8971 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
8972 if (PyErr_Occurred()) SWIG_fail;
8973 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
8974 if (PyErr_Occurred()) SWIG_fail;
8975 {
8976 PyThreadState* __tstate = wxPyBeginAllowThreads();
8977 (arg1)->RefreshLines(arg2,arg3);
8978
8979 wxPyEndAllowThreads(__tstate);
8980 if (PyErr_Occurred()) SWIG_fail;
8981 }
8982 Py_INCREF(Py_None); resultobj = Py_None;
8983 return resultobj;
8984 fail:
8985 return NULL;
8986 }
8987
8988
8989 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
8990 PyObject *resultobj;
8991 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8992 int arg2 ;
8993 int arg3 ;
8994 int result;
8995 PyObject * obj0 = 0 ;
8996 PyObject * obj1 = 0 ;
8997 PyObject * obj2 = 0 ;
8998 char *kwnames[] = {
8999 (char *) "self",(char *) "x",(char *) "y", NULL
9000 };
9001
9002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail;
9003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9005 arg2 = (int) SWIG_AsInt(obj1);
9006 if (PyErr_Occurred()) SWIG_fail;
9007 arg3 = (int) SWIG_AsInt(obj2);
9008 if (PyErr_Occurred()) SWIG_fail;
9009 {
9010 PyThreadState* __tstate = wxPyBeginAllowThreads();
9011 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9012
9013 wxPyEndAllowThreads(__tstate);
9014 if (PyErr_Occurred()) SWIG_fail;
9015 }
9016 resultobj = SWIG_FromInt((int)result);
9017 return resultobj;
9018 fail:
9019 return NULL;
9020 }
9021
9022
9023 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9024 PyObject *resultobj;
9025 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9026 wxPoint *arg2 = 0 ;
9027 int result;
9028 wxPoint temp2 ;
9029 PyObject * obj0 = 0 ;
9030 PyObject * obj1 = 0 ;
9031 char *kwnames[] = {
9032 (char *) "self",(char *) "pt", NULL
9033 };
9034
9035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9038 {
9039 arg2 = &temp2;
9040 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9041 }
9042 {
9043 PyThreadState* __tstate = wxPyBeginAllowThreads();
9044 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9045
9046 wxPyEndAllowThreads(__tstate);
9047 if (PyErr_Occurred()) SWIG_fail;
9048 }
9049 resultobj = SWIG_FromInt((int)result);
9050 return resultobj;
9051 fail:
9052 return NULL;
9053 }
9054
9055
9056 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9057 PyObject *resultobj;
9058 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9059 PyObject * obj0 = 0 ;
9060 char *kwnames[] = {
9061 (char *) "self", NULL
9062 };
9063
9064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9067 {
9068 PyThreadState* __tstate = wxPyBeginAllowThreads();
9069 (arg1)->RefreshAll();
9070
9071 wxPyEndAllowThreads(__tstate);
9072 if (PyErr_Occurred()) SWIG_fail;
9073 }
9074 Py_INCREF(Py_None); resultobj = Py_None;
9075 return resultobj;
9076 fail:
9077 return NULL;
9078 }
9079
9080
9081 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9082 PyObject *resultobj;
9083 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9084 size_t result;
9085 PyObject * obj0 = 0 ;
9086 char *kwnames[] = {
9087 (char *) "self", NULL
9088 };
9089
9090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9093 {
9094 PyThreadState* __tstate = wxPyBeginAllowThreads();
9095 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9096
9097 wxPyEndAllowThreads(__tstate);
9098 if (PyErr_Occurred()) SWIG_fail;
9099 }
9100 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9101 return resultobj;
9102 fail:
9103 return NULL;
9104 }
9105
9106
9107 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9108 PyObject *resultobj;
9109 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9110 size_t result;
9111 PyObject * obj0 = 0 ;
9112 char *kwnames[] = {
9113 (char *) "self", NULL
9114 };
9115
9116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9119 {
9120 PyThreadState* __tstate = wxPyBeginAllowThreads();
9121 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9122
9123 wxPyEndAllowThreads(__tstate);
9124 if (PyErr_Occurred()) SWIG_fail;
9125 }
9126 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9127 return resultobj;
9128 fail:
9129 return NULL;
9130 }
9131
9132
9133 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9134 PyObject *resultobj;
9135 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9136 size_t result;
9137 PyObject * obj0 = 0 ;
9138 char *kwnames[] = {
9139 (char *) "self", NULL
9140 };
9141
9142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9145 {
9146 PyThreadState* __tstate = wxPyBeginAllowThreads();
9147 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9148
9149 wxPyEndAllowThreads(__tstate);
9150 if (PyErr_Occurred()) SWIG_fail;
9151 }
9152 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9153 return resultobj;
9154 fail:
9155 return NULL;
9156 }
9157
9158
9159 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9160 PyObject *resultobj;
9161 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9162 size_t arg2 ;
9163 bool result;
9164 PyObject * obj0 = 0 ;
9165 PyObject * obj1 = 0 ;
9166 char *kwnames[] = {
9167 (char *) "self",(char *) "line", NULL
9168 };
9169
9170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9173 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9174 if (PyErr_Occurred()) SWIG_fail;
9175 {
9176 PyThreadState* __tstate = wxPyBeginAllowThreads();
9177 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9178
9179 wxPyEndAllowThreads(__tstate);
9180 if (PyErr_Occurred()) SWIG_fail;
9181 }
9182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9183 return resultobj;
9184 fail:
9185 return NULL;
9186 }
9187
9188
9189 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
9190 PyObject *obj;
9191 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9192 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9193 Py_INCREF(obj);
9194 return Py_BuildValue((char *)"");
9195 }
9196 static int _wrap_VListBoxNameStr_set(PyObject *_val) {
9197 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9198 return 1;
9199 }
9200
9201
9202 static PyObject *_wrap_VListBoxNameStr_get() {
9203 PyObject *pyobj;
9204
9205 {
9206 #if wxUSE_UNICODE
9207 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9208 #else
9209 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9210 #endif
9211 }
9212 return pyobj;
9213 }
9214
9215
9216 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9217 PyObject *resultobj;
9218 wxWindow *arg1 = (wxWindow *) 0 ;
9219 int arg2 = (int) wxID_ANY ;
9220 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9221 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9222 wxSize const &arg4_defvalue = wxDefaultSize ;
9223 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9224 long arg5 = (long) 0 ;
9225 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9226 wxString *arg6 = (wxString *) &arg6_defvalue ;
9227 wxPyVListBox *result;
9228 wxPoint temp3 ;
9229 wxSize temp4 ;
9230 bool temp6 = False ;
9231 PyObject * obj0 = 0 ;
9232 PyObject * obj1 = 0 ;
9233 PyObject * obj2 = 0 ;
9234 PyObject * obj3 = 0 ;
9235 PyObject * obj4 = 0 ;
9236 PyObject * obj5 = 0 ;
9237 char *kwnames[] = {
9238 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9239 };
9240
9241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9244 if (obj1) {
9245 arg2 = (int) SWIG_AsInt(obj1);
9246 if (PyErr_Occurred()) SWIG_fail;
9247 }
9248 if (obj2) {
9249 {
9250 arg3 = &temp3;
9251 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9252 }
9253 }
9254 if (obj3) {
9255 {
9256 arg4 = &temp4;
9257 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9258 }
9259 }
9260 if (obj4) {
9261 arg5 = (long) SWIG_AsLong(obj4);
9262 if (PyErr_Occurred()) SWIG_fail;
9263 }
9264 if (obj5) {
9265 {
9266 arg6 = wxString_in_helper(obj5);
9267 if (arg6 == NULL) SWIG_fail;
9268 temp6 = True;
9269 }
9270 }
9271 {
9272 PyThreadState* __tstate = wxPyBeginAllowThreads();
9273 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9274
9275 wxPyEndAllowThreads(__tstate);
9276 if (PyErr_Occurred()) SWIG_fail;
9277 }
9278 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9279 {
9280 if (temp6)
9281 delete arg6;
9282 }
9283 return resultobj;
9284 fail:
9285 {
9286 if (temp6)
9287 delete arg6;
9288 }
9289 return NULL;
9290 }
9291
9292
9293 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9294 PyObject *resultobj;
9295 wxPyVListBox *result;
9296 char *kwnames[] = {
9297 NULL
9298 };
9299
9300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9301 {
9302 PyThreadState* __tstate = wxPyBeginAllowThreads();
9303 result = (wxPyVListBox *)new wxPyVListBox();
9304
9305 wxPyEndAllowThreads(__tstate);
9306 if (PyErr_Occurred()) SWIG_fail;
9307 }
9308 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9309 return resultobj;
9310 fail:
9311 return NULL;
9312 }
9313
9314
9315 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9316 PyObject *resultobj;
9317 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9318 PyObject *arg2 = (PyObject *) 0 ;
9319 PyObject *arg3 = (PyObject *) 0 ;
9320 PyObject * obj0 = 0 ;
9321 PyObject * obj1 = 0 ;
9322 PyObject * obj2 = 0 ;
9323 char *kwnames[] = {
9324 (char *) "self",(char *) "self",(char *) "_class", NULL
9325 };
9326
9327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9330 arg2 = obj1;
9331 arg3 = obj2;
9332 {
9333 PyThreadState* __tstate = wxPyBeginAllowThreads();
9334 (arg1)->_setCallbackInfo(arg2,arg3);
9335
9336 wxPyEndAllowThreads(__tstate);
9337 if (PyErr_Occurred()) SWIG_fail;
9338 }
9339 Py_INCREF(Py_None); resultobj = Py_None;
9340 return resultobj;
9341 fail:
9342 return NULL;
9343 }
9344
9345
9346 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9347 PyObject *resultobj;
9348 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9349 wxWindow *arg2 = (wxWindow *) 0 ;
9350 int arg3 = (int) wxID_ANY ;
9351 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9352 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9353 wxSize const &arg5_defvalue = wxDefaultSize ;
9354 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9355 long arg6 = (long) 0 ;
9356 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9357 wxString *arg7 = (wxString *) &arg7_defvalue ;
9358 bool result;
9359 wxPoint temp4 ;
9360 wxSize temp5 ;
9361 bool temp7 = False ;
9362 PyObject * obj0 = 0 ;
9363 PyObject * obj1 = 0 ;
9364 PyObject * obj2 = 0 ;
9365 PyObject * obj3 = 0 ;
9366 PyObject * obj4 = 0 ;
9367 PyObject * obj5 = 0 ;
9368 PyObject * obj6 = 0 ;
9369 char *kwnames[] = {
9370 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9371 };
9372
9373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9376 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9378 if (obj2) {
9379 arg3 = (int) SWIG_AsInt(obj2);
9380 if (PyErr_Occurred()) SWIG_fail;
9381 }
9382 if (obj3) {
9383 {
9384 arg4 = &temp4;
9385 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9386 }
9387 }
9388 if (obj4) {
9389 {
9390 arg5 = &temp5;
9391 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9392 }
9393 }
9394 if (obj5) {
9395 arg6 = (long) SWIG_AsLong(obj5);
9396 if (PyErr_Occurred()) SWIG_fail;
9397 }
9398 if (obj6) {
9399 {
9400 arg7 = wxString_in_helper(obj6);
9401 if (arg7 == NULL) SWIG_fail;
9402 temp7 = True;
9403 }
9404 }
9405 {
9406 PyThreadState* __tstate = wxPyBeginAllowThreads();
9407 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9408
9409 wxPyEndAllowThreads(__tstate);
9410 if (PyErr_Occurred()) SWIG_fail;
9411 }
9412 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9413 {
9414 if (temp7)
9415 delete arg7;
9416 }
9417 return resultobj;
9418 fail:
9419 {
9420 if (temp7)
9421 delete arg7;
9422 }
9423 return NULL;
9424 }
9425
9426
9427 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9428 PyObject *resultobj;
9429 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9430 size_t result;
9431 PyObject * obj0 = 0 ;
9432 char *kwnames[] = {
9433 (char *) "self", NULL
9434 };
9435
9436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
9437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9439 {
9440 PyThreadState* __tstate = wxPyBeginAllowThreads();
9441 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
9442
9443 wxPyEndAllowThreads(__tstate);
9444 if (PyErr_Occurred()) SWIG_fail;
9445 }
9446 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9447 return resultobj;
9448 fail:
9449 return NULL;
9450 }
9451
9452
9453 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9454 PyObject *resultobj;
9455 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9456 bool result;
9457 PyObject * obj0 = 0 ;
9458 char *kwnames[] = {
9459 (char *) "self", NULL
9460 };
9461
9462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
9463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9465 {
9466 PyThreadState* __tstate = wxPyBeginAllowThreads();
9467 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
9468
9469 wxPyEndAllowThreads(__tstate);
9470 if (PyErr_Occurred()) SWIG_fail;
9471 }
9472 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9473 return resultobj;
9474 fail:
9475 return NULL;
9476 }
9477
9478
9479 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9480 PyObject *resultobj;
9481 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9482 int result;
9483 PyObject * obj0 = 0 ;
9484 char *kwnames[] = {
9485 (char *) "self", NULL
9486 };
9487
9488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
9489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9491 {
9492 PyThreadState* __tstate = wxPyBeginAllowThreads();
9493 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
9494
9495 wxPyEndAllowThreads(__tstate);
9496 if (PyErr_Occurred()) SWIG_fail;
9497 }
9498 resultobj = SWIG_FromInt((int)result);
9499 return resultobj;
9500 fail:
9501 return NULL;
9502 }
9503
9504
9505 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
9506 PyObject *resultobj;
9507 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9508 size_t arg2 ;
9509 bool result;
9510 PyObject * obj0 = 0 ;
9511 PyObject * obj1 = 0 ;
9512 char *kwnames[] = {
9513 (char *) "self",(char *) "item", NULL
9514 };
9515
9516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
9517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9519 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9520 if (PyErr_Occurred()) SWIG_fail;
9521 {
9522 PyThreadState* __tstate = wxPyBeginAllowThreads();
9523 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
9524
9525 wxPyEndAllowThreads(__tstate);
9526 if (PyErr_Occurred()) SWIG_fail;
9527 }
9528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9529 return resultobj;
9530 fail:
9531 return NULL;
9532 }
9533
9534
9535 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9536 PyObject *resultobj;
9537 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9538 size_t arg2 ;
9539 bool result;
9540 PyObject * obj0 = 0 ;
9541 PyObject * obj1 = 0 ;
9542 char *kwnames[] = {
9543 (char *) "self",(char *) "item", NULL
9544 };
9545
9546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
9547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9549 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9550 if (PyErr_Occurred()) SWIG_fail;
9551 {
9552 PyThreadState* __tstate = wxPyBeginAllowThreads();
9553 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
9554
9555 wxPyEndAllowThreads(__tstate);
9556 if (PyErr_Occurred()) SWIG_fail;
9557 }
9558 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9559 return resultobj;
9560 fail:
9561 return NULL;
9562 }
9563
9564
9565 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9566 PyObject *resultobj;
9567 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9568 size_t result;
9569 PyObject * obj0 = 0 ;
9570 char *kwnames[] = {
9571 (char *) "self", NULL
9572 };
9573
9574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
9575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9577 {
9578 PyThreadState* __tstate = wxPyBeginAllowThreads();
9579 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
9580
9581 wxPyEndAllowThreads(__tstate);
9582 if (PyErr_Occurred()) SWIG_fail;
9583 }
9584 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9585 return resultobj;
9586 fail:
9587 return NULL;
9588 }
9589
9590
9591 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9592 PyObject *resultobj;
9593 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9594 unsigned long *arg2 = 0 ;
9595 int result;
9596 PyObject * obj0 = 0 ;
9597 PyObject * obj1 = 0 ;
9598 char *kwnames[] = {
9599 (char *) "self",(char *) "cookie", NULL
9600 };
9601
9602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
9603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9605 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9606 SWIG_POINTER_EXCEPTION | 0)) == -1)
9607 SWIG_fail;
9608 if (arg2 == NULL) {
9609 PyErr_SetString(PyExc_TypeError,"null reference");
9610 SWIG_fail;
9611 }
9612 {
9613 PyThreadState* __tstate = wxPyBeginAllowThreads();
9614 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
9615
9616 wxPyEndAllowThreads(__tstate);
9617 if (PyErr_Occurred()) SWIG_fail;
9618 }
9619 resultobj = SWIG_FromInt((int)result);
9620 return resultobj;
9621 fail:
9622 return NULL;
9623 }
9624
9625
9626 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9627 PyObject *resultobj;
9628 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9629 unsigned long *arg2 = 0 ;
9630 int result;
9631 PyObject * obj0 = 0 ;
9632 PyObject * obj1 = 0 ;
9633 char *kwnames[] = {
9634 (char *) "self",(char *) "cookie", NULL
9635 };
9636
9637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
9638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9640 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9641 SWIG_POINTER_EXCEPTION | 0)) == -1)
9642 SWIG_fail;
9643 if (arg2 == NULL) {
9644 PyErr_SetString(PyExc_TypeError,"null reference");
9645 SWIG_fail;
9646 }
9647 {
9648 PyThreadState* __tstate = wxPyBeginAllowThreads();
9649 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
9650
9651 wxPyEndAllowThreads(__tstate);
9652 if (PyErr_Occurred()) SWIG_fail;
9653 }
9654 resultobj = SWIG_FromInt((int)result);
9655 return resultobj;
9656 fail:
9657 return NULL;
9658 }
9659
9660
9661 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9662 PyObject *resultobj;
9663 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9664 wxPoint result;
9665 PyObject * obj0 = 0 ;
9666 char *kwnames[] = {
9667 (char *) "self", NULL
9668 };
9669
9670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
9671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9673 {
9674 PyThreadState* __tstate = wxPyBeginAllowThreads();
9675 result = ((wxPyVListBox const *)arg1)->GetMargins();
9676
9677 wxPyEndAllowThreads(__tstate);
9678 if (PyErr_Occurred()) SWIG_fail;
9679 }
9680 {
9681 wxPoint * resultptr;
9682 resultptr = new wxPoint((wxPoint &) result);
9683 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
9684 }
9685 return resultobj;
9686 fail:
9687 return NULL;
9688 }
9689
9690
9691 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9692 PyObject *resultobj;
9693 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9694 wxColour *result;
9695 PyObject * obj0 = 0 ;
9696 char *kwnames[] = {
9697 (char *) "self", NULL
9698 };
9699
9700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
9701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9703 {
9704 PyThreadState* __tstate = wxPyBeginAllowThreads();
9705 {
9706 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
9707 result = (wxColour *) &_result_ref;
9708 }
9709
9710 wxPyEndAllowThreads(__tstate);
9711 if (PyErr_Occurred()) SWIG_fail;
9712 }
9713 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9714 return resultobj;
9715 fail:
9716 return NULL;
9717 }
9718
9719
9720 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9721 PyObject *resultobj;
9722 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9723 size_t arg2 ;
9724 PyObject * obj0 = 0 ;
9725 PyObject * obj1 = 0 ;
9726 char *kwnames[] = {
9727 (char *) "self",(char *) "count", NULL
9728 };
9729
9730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9733 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9734 if (PyErr_Occurred()) SWIG_fail;
9735 {
9736 PyThreadState* __tstate = wxPyBeginAllowThreads();
9737 (arg1)->SetItemCount(arg2);
9738
9739 wxPyEndAllowThreads(__tstate);
9740 if (PyErr_Occurred()) SWIG_fail;
9741 }
9742 Py_INCREF(Py_None); resultobj = Py_None;
9743 return resultobj;
9744 fail:
9745 return NULL;
9746 }
9747
9748
9749 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
9750 PyObject *resultobj;
9751 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9752 PyObject * obj0 = 0 ;
9753 char *kwnames[] = {
9754 (char *) "self", NULL
9755 };
9756
9757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
9758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9760 {
9761 PyThreadState* __tstate = wxPyBeginAllowThreads();
9762 (arg1)->Clear();
9763
9764 wxPyEndAllowThreads(__tstate);
9765 if (PyErr_Occurred()) SWIG_fail;
9766 }
9767 Py_INCREF(Py_None); resultobj = Py_None;
9768 return resultobj;
9769 fail:
9770 return NULL;
9771 }
9772
9773
9774 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9775 PyObject *resultobj;
9776 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9777 int arg2 ;
9778 PyObject * obj0 = 0 ;
9779 PyObject * obj1 = 0 ;
9780 char *kwnames[] = {
9781 (char *) "self",(char *) "selection", NULL
9782 };
9783
9784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
9785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9787 arg2 = (int) SWIG_AsInt(obj1);
9788 if (PyErr_Occurred()) SWIG_fail;
9789 {
9790 PyThreadState* __tstate = wxPyBeginAllowThreads();
9791 (arg1)->SetSelection(arg2);
9792
9793 wxPyEndAllowThreads(__tstate);
9794 if (PyErr_Occurred()) SWIG_fail;
9795 }
9796 Py_INCREF(Py_None); resultobj = Py_None;
9797 return resultobj;
9798 fail:
9799 return NULL;
9800 }
9801
9802
9803 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
9804 PyObject *resultobj;
9805 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9806 size_t arg2 ;
9807 bool arg3 = (bool) True ;
9808 bool result;
9809 PyObject * obj0 = 0 ;
9810 PyObject * obj1 = 0 ;
9811 PyObject * obj2 = 0 ;
9812 char *kwnames[] = {
9813 (char *) "self",(char *) "item",(char *) "select", NULL
9814 };
9815
9816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
9817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9819 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9820 if (PyErr_Occurred()) SWIG_fail;
9821 if (obj2) {
9822 arg3 = (bool) SWIG_AsBool(obj2);
9823 if (PyErr_Occurred()) SWIG_fail;
9824 }
9825 {
9826 PyThreadState* __tstate = wxPyBeginAllowThreads();
9827 result = (bool)(arg1)->Select(arg2,arg3);
9828
9829 wxPyEndAllowThreads(__tstate);
9830 if (PyErr_Occurred()) SWIG_fail;
9831 }
9832 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9833 return resultobj;
9834 fail:
9835 return NULL;
9836 }
9837
9838
9839 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9840 PyObject *resultobj;
9841 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9842 size_t arg2 ;
9843 size_t arg3 ;
9844 bool result;
9845 PyObject * obj0 = 0 ;
9846 PyObject * obj1 = 0 ;
9847 PyObject * obj2 = 0 ;
9848 char *kwnames[] = {
9849 (char *) "self",(char *) "from",(char *) "to", NULL
9850 };
9851
9852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
9853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9855 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9856 if (PyErr_Occurred()) SWIG_fail;
9857 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9858 if (PyErr_Occurred()) SWIG_fail;
9859 {
9860 PyThreadState* __tstate = wxPyBeginAllowThreads();
9861 result = (bool)(arg1)->SelectRange(arg2,arg3);
9862
9863 wxPyEndAllowThreads(__tstate);
9864 if (PyErr_Occurred()) SWIG_fail;
9865 }
9866 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9867 return resultobj;
9868 fail:
9869 return NULL;
9870 }
9871
9872
9873 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
9874 PyObject *resultobj;
9875 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9876 size_t arg2 ;
9877 PyObject * obj0 = 0 ;
9878 PyObject * obj1 = 0 ;
9879 char *kwnames[] = {
9880 (char *) "self",(char *) "item", NULL
9881 };
9882
9883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
9884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9886 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9887 if (PyErr_Occurred()) SWIG_fail;
9888 {
9889 PyThreadState* __tstate = wxPyBeginAllowThreads();
9890 (arg1)->Toggle(arg2);
9891
9892 wxPyEndAllowThreads(__tstate);
9893 if (PyErr_Occurred()) SWIG_fail;
9894 }
9895 Py_INCREF(Py_None); resultobj = Py_None;
9896 return resultobj;
9897 fail:
9898 return NULL;
9899 }
9900
9901
9902 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9903 PyObject *resultobj;
9904 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9905 bool result;
9906 PyObject * obj0 = 0 ;
9907 char *kwnames[] = {
9908 (char *) "self", NULL
9909 };
9910
9911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
9912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9914 {
9915 PyThreadState* __tstate = wxPyBeginAllowThreads();
9916 result = (bool)(arg1)->SelectAll();
9917
9918 wxPyEndAllowThreads(__tstate);
9919 if (PyErr_Occurred()) SWIG_fail;
9920 }
9921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9922 return resultobj;
9923 fail:
9924 return NULL;
9925 }
9926
9927
9928 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9929 PyObject *resultobj;
9930 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9931 bool result;
9932 PyObject * obj0 = 0 ;
9933 char *kwnames[] = {
9934 (char *) "self", NULL
9935 };
9936
9937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
9938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9940 {
9941 PyThreadState* __tstate = wxPyBeginAllowThreads();
9942 result = (bool)(arg1)->DeselectAll();
9943
9944 wxPyEndAllowThreads(__tstate);
9945 if (PyErr_Occurred()) SWIG_fail;
9946 }
9947 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9948 return resultobj;
9949 fail:
9950 return NULL;
9951 }
9952
9953
9954 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9955 PyObject *resultobj;
9956 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9957 wxPoint *arg2 = 0 ;
9958 wxPoint temp2 ;
9959 PyObject * obj0 = 0 ;
9960 PyObject * obj1 = 0 ;
9961 char *kwnames[] = {
9962 (char *) "self",(char *) "pt", NULL
9963 };
9964
9965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
9966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9968 {
9969 arg2 = &temp2;
9970 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9971 }
9972 {
9973 PyThreadState* __tstate = wxPyBeginAllowThreads();
9974 (arg1)->SetMargins((wxPoint const &)*arg2);
9975
9976 wxPyEndAllowThreads(__tstate);
9977 if (PyErr_Occurred()) SWIG_fail;
9978 }
9979 Py_INCREF(Py_None); resultobj = Py_None;
9980 return resultobj;
9981 fail:
9982 return NULL;
9983 }
9984
9985
9986 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
9987 PyObject *resultobj;
9988 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9989 int arg2 ;
9990 int arg3 ;
9991 PyObject * obj0 = 0 ;
9992 PyObject * obj1 = 0 ;
9993 PyObject * obj2 = 0 ;
9994 char *kwnames[] = {
9995 (char *) "self",(char *) "x",(char *) "y", NULL
9996 };
9997
9998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
9999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10001 arg2 = (int) SWIG_AsInt(obj1);
10002 if (PyErr_Occurred()) SWIG_fail;
10003 arg3 = (int) SWIG_AsInt(obj2);
10004 if (PyErr_Occurred()) SWIG_fail;
10005 {
10006 PyThreadState* __tstate = wxPyBeginAllowThreads();
10007 (arg1)->SetMargins(arg2,arg3);
10008
10009 wxPyEndAllowThreads(__tstate);
10010 if (PyErr_Occurred()) SWIG_fail;
10011 }
10012 Py_INCREF(Py_None); resultobj = Py_None;
10013 return resultobj;
10014 fail:
10015 return NULL;
10016 }
10017
10018
10019 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10020 PyObject *resultobj;
10021 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10022 wxColour *arg2 = 0 ;
10023 wxColour temp2 ;
10024 PyObject * obj0 = 0 ;
10025 PyObject * obj1 = 0 ;
10026 char *kwnames[] = {
10027 (char *) "self",(char *) "col", NULL
10028 };
10029
10030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10033 {
10034 arg2 = &temp2;
10035 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10036 }
10037 {
10038 PyThreadState* __tstate = wxPyBeginAllowThreads();
10039 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10040
10041 wxPyEndAllowThreads(__tstate);
10042 if (PyErr_Occurred()) SWIG_fail;
10043 }
10044 Py_INCREF(Py_None); resultobj = Py_None;
10045 return resultobj;
10046 fail:
10047 return NULL;
10048 }
10049
10050
10051 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
10052 PyObject *obj;
10053 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10054 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10055 Py_INCREF(obj);
10056 return Py_BuildValue((char *)"");
10057 }
10058 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10059 PyObject *resultobj;
10060 wxWindow *arg1 = (wxWindow *) 0 ;
10061 int arg2 = (int) wxID_ANY ;
10062 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10063 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10064 wxSize const &arg4_defvalue = wxDefaultSize ;
10065 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10066 long arg5 = (long) 0 ;
10067 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10068 wxString *arg6 = (wxString *) &arg6_defvalue ;
10069 wxPyHtmlListBox *result;
10070 wxPoint temp3 ;
10071 wxSize temp4 ;
10072 bool temp6 = False ;
10073 PyObject * obj0 = 0 ;
10074 PyObject * obj1 = 0 ;
10075 PyObject * obj2 = 0 ;
10076 PyObject * obj3 = 0 ;
10077 PyObject * obj4 = 0 ;
10078 PyObject * obj5 = 0 ;
10079 char *kwnames[] = {
10080 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10081 };
10082
10083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10086 if (obj1) {
10087 arg2 = (int) SWIG_AsInt(obj1);
10088 if (PyErr_Occurred()) SWIG_fail;
10089 }
10090 if (obj2) {
10091 {
10092 arg3 = &temp3;
10093 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10094 }
10095 }
10096 if (obj3) {
10097 {
10098 arg4 = &temp4;
10099 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10100 }
10101 }
10102 if (obj4) {
10103 arg5 = (long) SWIG_AsLong(obj4);
10104 if (PyErr_Occurred()) SWIG_fail;
10105 }
10106 if (obj5) {
10107 {
10108 arg6 = wxString_in_helper(obj5);
10109 if (arg6 == NULL) SWIG_fail;
10110 temp6 = True;
10111 }
10112 }
10113 {
10114 PyThreadState* __tstate = wxPyBeginAllowThreads();
10115 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10116
10117 wxPyEndAllowThreads(__tstate);
10118 if (PyErr_Occurred()) SWIG_fail;
10119 }
10120 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10121 {
10122 if (temp6)
10123 delete arg6;
10124 }
10125 return resultobj;
10126 fail:
10127 {
10128 if (temp6)
10129 delete arg6;
10130 }
10131 return NULL;
10132 }
10133
10134
10135 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10136 PyObject *resultobj;
10137 wxPyHtmlListBox *result;
10138 char *kwnames[] = {
10139 NULL
10140 };
10141
10142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10143 {
10144 PyThreadState* __tstate = wxPyBeginAllowThreads();
10145 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10146
10147 wxPyEndAllowThreads(__tstate);
10148 if (PyErr_Occurred()) SWIG_fail;
10149 }
10150 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10151 return resultobj;
10152 fail:
10153 return NULL;
10154 }
10155
10156
10157 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10158 PyObject *resultobj;
10159 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10160 PyObject *arg2 = (PyObject *) 0 ;
10161 PyObject *arg3 = (PyObject *) 0 ;
10162 PyObject * obj0 = 0 ;
10163 PyObject * obj1 = 0 ;
10164 PyObject * obj2 = 0 ;
10165 char *kwnames[] = {
10166 (char *) "self",(char *) "self",(char *) "_class", NULL
10167 };
10168
10169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10172 arg2 = obj1;
10173 arg3 = obj2;
10174 {
10175 PyThreadState* __tstate = wxPyBeginAllowThreads();
10176 (arg1)->_setCallbackInfo(arg2,arg3);
10177
10178 wxPyEndAllowThreads(__tstate);
10179 if (PyErr_Occurred()) SWIG_fail;
10180 }
10181 Py_INCREF(Py_None); resultobj = Py_None;
10182 return resultobj;
10183 fail:
10184 return NULL;
10185 }
10186
10187
10188 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10189 PyObject *resultobj;
10190 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10191 wxWindow *arg2 = (wxWindow *) 0 ;
10192 int arg3 = (int) wxID_ANY ;
10193 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10194 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10195 wxSize const &arg5_defvalue = wxDefaultSize ;
10196 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10197 long arg6 = (long) 0 ;
10198 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10199 wxString *arg7 = (wxString *) &arg7_defvalue ;
10200 bool result;
10201 wxPoint temp4 ;
10202 wxSize temp5 ;
10203 bool temp7 = False ;
10204 PyObject * obj0 = 0 ;
10205 PyObject * obj1 = 0 ;
10206 PyObject * obj2 = 0 ;
10207 PyObject * obj3 = 0 ;
10208 PyObject * obj4 = 0 ;
10209 PyObject * obj5 = 0 ;
10210 PyObject * obj6 = 0 ;
10211 char *kwnames[] = {
10212 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10213 };
10214
10215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10218 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10220 if (obj2) {
10221 arg3 = (int) SWIG_AsInt(obj2);
10222 if (PyErr_Occurred()) SWIG_fail;
10223 }
10224 if (obj3) {
10225 {
10226 arg4 = &temp4;
10227 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10228 }
10229 }
10230 if (obj4) {
10231 {
10232 arg5 = &temp5;
10233 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10234 }
10235 }
10236 if (obj5) {
10237 arg6 = (long) SWIG_AsLong(obj5);
10238 if (PyErr_Occurred()) SWIG_fail;
10239 }
10240 if (obj6) {
10241 {
10242 arg7 = wxString_in_helper(obj6);
10243 if (arg7 == NULL) SWIG_fail;
10244 temp7 = True;
10245 }
10246 }
10247 {
10248 PyThreadState* __tstate = wxPyBeginAllowThreads();
10249 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10250
10251 wxPyEndAllowThreads(__tstate);
10252 if (PyErr_Occurred()) SWIG_fail;
10253 }
10254 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10255 {
10256 if (temp7)
10257 delete arg7;
10258 }
10259 return resultobj;
10260 fail:
10261 {
10262 if (temp7)
10263 delete arg7;
10264 }
10265 return NULL;
10266 }
10267
10268
10269 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10270 PyObject *resultobj;
10271 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10272 PyObject * obj0 = 0 ;
10273 char *kwnames[] = {
10274 (char *) "self", NULL
10275 };
10276
10277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10280 {
10281 PyThreadState* __tstate = wxPyBeginAllowThreads();
10282 (arg1)->RefreshAll();
10283
10284 wxPyEndAllowThreads(__tstate);
10285 if (PyErr_Occurred()) SWIG_fail;
10286 }
10287 Py_INCREF(Py_None); resultobj = Py_None;
10288 return resultobj;
10289 fail:
10290 return NULL;
10291 }
10292
10293
10294 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10295 PyObject *resultobj;
10296 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10297 size_t arg2 ;
10298 PyObject * obj0 = 0 ;
10299 PyObject * obj1 = 0 ;
10300 char *kwnames[] = {
10301 (char *) "self",(char *) "count", NULL
10302 };
10303
10304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10307 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10308 if (PyErr_Occurred()) SWIG_fail;
10309 {
10310 PyThreadState* __tstate = wxPyBeginAllowThreads();
10311 (arg1)->SetItemCount(arg2);
10312
10313 wxPyEndAllowThreads(__tstate);
10314 if (PyErr_Occurred()) SWIG_fail;
10315 }
10316 Py_INCREF(Py_None); resultobj = Py_None;
10317 return resultobj;
10318 fail:
10319 return NULL;
10320 }
10321
10322
10323 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
10324 PyObject *obj;
10325 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10326 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
10327 Py_INCREF(obj);
10328 return Py_BuildValue((char *)"");
10329 }
10330 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10331 PyObject *resultobj;
10332 wxTaskBarIcon *result;
10333 char *kwnames[] = {
10334 NULL
10335 };
10336
10337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
10338 {
10339 PyThreadState* __tstate = wxPyBeginAllowThreads();
10340 result = (wxTaskBarIcon *)new wxTaskBarIcon();
10341
10342 wxPyEndAllowThreads(__tstate);
10343 if (PyErr_Occurred()) SWIG_fail;
10344 }
10345 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
10346 return resultobj;
10347 fail:
10348 return NULL;
10349 }
10350
10351
10352 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10353 PyObject *resultobj;
10354 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10355 PyObject * obj0 = 0 ;
10356 char *kwnames[] = {
10357 (char *) "self", NULL
10358 };
10359
10360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
10361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10363 {
10364 PyThreadState* __tstate = wxPyBeginAllowThreads();
10365 delete arg1;
10366
10367 wxPyEndAllowThreads(__tstate);
10368 if (PyErr_Occurred()) SWIG_fail;
10369 }
10370 Py_INCREF(Py_None); resultobj = Py_None;
10371 return resultobj;
10372 fail:
10373 return NULL;
10374 }
10375
10376
10377 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
10378 PyObject *resultobj;
10379 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10380 bool result;
10381 PyObject * obj0 = 0 ;
10382 char *kwnames[] = {
10383 (char *) "self", NULL
10384 };
10385
10386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
10387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10389 {
10390 PyThreadState* __tstate = wxPyBeginAllowThreads();
10391 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
10392
10393 wxPyEndAllowThreads(__tstate);
10394 if (PyErr_Occurred()) SWIG_fail;
10395 }
10396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10397 return resultobj;
10398 fail:
10399 return NULL;
10400 }
10401
10402
10403 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
10404 PyObject *resultobj;
10405 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10406 bool result;
10407 PyObject * obj0 = 0 ;
10408 char *kwnames[] = {
10409 (char *) "self", NULL
10410 };
10411
10412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
10413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10415 {
10416 PyThreadState* __tstate = wxPyBeginAllowThreads();
10417 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
10418
10419 wxPyEndAllowThreads(__tstate);
10420 if (PyErr_Occurred()) SWIG_fail;
10421 }
10422 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10423 return resultobj;
10424 fail:
10425 return NULL;
10426 }
10427
10428
10429 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10430 PyObject *resultobj;
10431 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10432 wxIcon *arg2 = 0 ;
10433 wxString const &arg3_defvalue = wxPyEmptyString ;
10434 wxString *arg3 = (wxString *) &arg3_defvalue ;
10435 bool result;
10436 bool temp3 = False ;
10437 PyObject * obj0 = 0 ;
10438 PyObject * obj1 = 0 ;
10439 PyObject * obj2 = 0 ;
10440 char *kwnames[] = {
10441 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10442 };
10443
10444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
10445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10447 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
10448 SWIG_POINTER_EXCEPTION | 0)) == -1)
10449 SWIG_fail;
10450 if (arg2 == NULL) {
10451 PyErr_SetString(PyExc_TypeError,"null reference");
10452 SWIG_fail;
10453 }
10454 if (obj2) {
10455 {
10456 arg3 = wxString_in_helper(obj2);
10457 if (arg3 == NULL) SWIG_fail;
10458 temp3 = True;
10459 }
10460 }
10461 {
10462 PyThreadState* __tstate = wxPyBeginAllowThreads();
10463 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
10464
10465 wxPyEndAllowThreads(__tstate);
10466 if (PyErr_Occurred()) SWIG_fail;
10467 }
10468 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10469 {
10470 if (temp3)
10471 delete arg3;
10472 }
10473 return resultobj;
10474 fail:
10475 {
10476 if (temp3)
10477 delete arg3;
10478 }
10479 return NULL;
10480 }
10481
10482
10483 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10484 PyObject *resultobj;
10485 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10486 bool result;
10487 PyObject * obj0 = 0 ;
10488 char *kwnames[] = {
10489 (char *) "self", NULL
10490 };
10491
10492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
10493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10495 {
10496 PyThreadState* __tstate = wxPyBeginAllowThreads();
10497 result = (bool)(arg1)->RemoveIcon();
10498
10499 wxPyEndAllowThreads(__tstate);
10500 if (PyErr_Occurred()) SWIG_fail;
10501 }
10502 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10503 return resultobj;
10504 fail:
10505 return NULL;
10506 }
10507
10508
10509 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10510 PyObject *resultobj;
10511 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10512 wxMenu *arg2 = (wxMenu *) 0 ;
10513 bool result;
10514 PyObject * obj0 = 0 ;
10515 PyObject * obj1 = 0 ;
10516 char *kwnames[] = {
10517 (char *) "self",(char *) "menu", NULL
10518 };
10519
10520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
10521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10523 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
10524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10525 {
10526 PyThreadState* __tstate = wxPyBeginAllowThreads();
10527 result = (bool)(arg1)->PopupMenu(arg2);
10528
10529 wxPyEndAllowThreads(__tstate);
10530 if (PyErr_Occurred()) SWIG_fail;
10531 }
10532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10533 return resultobj;
10534 fail:
10535 return NULL;
10536 }
10537
10538
10539 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
10540 PyObject *obj;
10541 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10542 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
10543 Py_INCREF(obj);
10544 return Py_BuildValue((char *)"");
10545 }
10546 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10547 PyObject *resultobj;
10548 wxEventType arg1 ;
10549 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
10550 wxTaskBarIconEvent *result;
10551 PyObject * obj0 = 0 ;
10552 PyObject * obj1 = 0 ;
10553 char *kwnames[] = {
10554 (char *) "evtType",(char *) "tbIcon", NULL
10555 };
10556
10557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
10558 arg1 = (wxEventType) SWIG_AsInt(obj0);
10559 if (PyErr_Occurred()) SWIG_fail;
10560 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
10561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10562 {
10563 PyThreadState* __tstate = wxPyBeginAllowThreads();
10564 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
10565
10566 wxPyEndAllowThreads(__tstate);
10567 if (PyErr_Occurred()) SWIG_fail;
10568 }
10569 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
10570 return resultobj;
10571 fail:
10572 return NULL;
10573 }
10574
10575
10576 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
10577 PyObject *obj;
10578 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10579 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
10580 Py_INCREF(obj);
10581 return Py_BuildValue((char *)"");
10582 }
10583 static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
10584 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
10585 return 1;
10586 }
10587
10588
10589 static PyObject *_wrap_FileSelectorPromptStr_get() {
10590 PyObject *pyobj;
10591
10592 {
10593 #if wxUSE_UNICODE
10594 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10595 #else
10596 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10597 #endif
10598 }
10599 return pyobj;
10600 }
10601
10602
10603 static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
10604 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
10605 return 1;
10606 }
10607
10608
10609 static PyObject *_wrap_DirSelectorPromptStr_get() {
10610 PyObject *pyobj;
10611
10612 {
10613 #if wxUSE_UNICODE
10614 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10615 #else
10616 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10617 #endif
10618 }
10619 return pyobj;
10620 }
10621
10622
10623 static int _wrap_DirDialogNameStr_set(PyObject *_val) {
10624 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
10625 return 1;
10626 }
10627
10628
10629 static PyObject *_wrap_DirDialogNameStr_get() {
10630 PyObject *pyobj;
10631
10632 {
10633 #if wxUSE_UNICODE
10634 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10635 #else
10636 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10637 #endif
10638 }
10639 return pyobj;
10640 }
10641
10642
10643 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
10644 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
10645 return 1;
10646 }
10647
10648
10649 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
10650 PyObject *pyobj;
10651
10652 {
10653 #if wxUSE_UNICODE
10654 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10655 #else
10656 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10657 #endif
10658 }
10659 return pyobj;
10660 }
10661
10662
10663 static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) {
10664 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
10665 return 1;
10666 }
10667
10668
10669 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
10670 PyObject *pyobj;
10671
10672 {
10673 #if wxUSE_UNICODE
10674 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10675 #else
10676 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10677 #endif
10678 }
10679 return pyobj;
10680 }
10681
10682
10683 static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) {
10684 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
10685 return 1;
10686 }
10687
10688
10689 static PyObject *_wrap_MessageBoxCaptionStr_get() {
10690 PyObject *pyobj;
10691
10692 {
10693 #if wxUSE_UNICODE
10694 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10695 #else
10696 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10697 #endif
10698 }
10699 return pyobj;
10700 }
10701
10702
10703 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10704 PyObject *resultobj;
10705 wxColourData *result;
10706 char *kwnames[] = {
10707 NULL
10708 };
10709
10710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
10711 {
10712 PyThreadState* __tstate = wxPyBeginAllowThreads();
10713 result = (wxColourData *)new wxColourData();
10714
10715 wxPyEndAllowThreads(__tstate);
10716 if (PyErr_Occurred()) SWIG_fail;
10717 }
10718 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
10719 return resultobj;
10720 fail:
10721 return NULL;
10722 }
10723
10724
10725 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10726 PyObject *resultobj;
10727 wxColourData *arg1 = (wxColourData *) 0 ;
10728 PyObject * obj0 = 0 ;
10729 char *kwnames[] = {
10730 (char *) "self", NULL
10731 };
10732
10733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
10734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10736 {
10737 PyThreadState* __tstate = wxPyBeginAllowThreads();
10738 delete arg1;
10739
10740 wxPyEndAllowThreads(__tstate);
10741 if (PyErr_Occurred()) SWIG_fail;
10742 }
10743 Py_INCREF(Py_None); resultobj = Py_None;
10744 return resultobj;
10745 fail:
10746 return NULL;
10747 }
10748
10749
10750 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
10751 PyObject *resultobj;
10752 wxColourData *arg1 = (wxColourData *) 0 ;
10753 bool result;
10754 PyObject * obj0 = 0 ;
10755 char *kwnames[] = {
10756 (char *) "self", NULL
10757 };
10758
10759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
10760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10762 {
10763 PyThreadState* __tstate = wxPyBeginAllowThreads();
10764 result = (bool)(arg1)->GetChooseFull();
10765
10766 wxPyEndAllowThreads(__tstate);
10767 if (PyErr_Occurred()) SWIG_fail;
10768 }
10769 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10770 return resultobj;
10771 fail:
10772 return NULL;
10773 }
10774
10775
10776 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10777 PyObject *resultobj;
10778 wxColourData *arg1 = (wxColourData *) 0 ;
10779 wxColour result;
10780 PyObject * obj0 = 0 ;
10781 char *kwnames[] = {
10782 (char *) "self", NULL
10783 };
10784
10785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
10786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10788 {
10789 PyThreadState* __tstate = wxPyBeginAllowThreads();
10790 result = (arg1)->GetColour();
10791
10792 wxPyEndAllowThreads(__tstate);
10793 if (PyErr_Occurred()) SWIG_fail;
10794 }
10795 {
10796 wxColour * resultptr;
10797 resultptr = new wxColour((wxColour &) result);
10798 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
10799 }
10800 return resultobj;
10801 fail:
10802 return NULL;
10803 }
10804
10805
10806 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10807 PyObject *resultobj;
10808 wxColourData *arg1 = (wxColourData *) 0 ;
10809 int arg2 ;
10810 wxColour result;
10811 PyObject * obj0 = 0 ;
10812 PyObject * obj1 = 0 ;
10813 char *kwnames[] = {
10814 (char *) "self",(char *) "i", NULL
10815 };
10816
10817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
10818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10820 arg2 = (int) SWIG_AsInt(obj1);
10821 if (PyErr_Occurred()) SWIG_fail;
10822 {
10823 PyThreadState* __tstate = wxPyBeginAllowThreads();
10824 result = (arg1)->GetCustomColour(arg2);
10825
10826 wxPyEndAllowThreads(__tstate);
10827 if (PyErr_Occurred()) SWIG_fail;
10828 }
10829 {
10830 wxColour * resultptr;
10831 resultptr = new wxColour((wxColour &) result);
10832 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
10833 }
10834 return resultobj;
10835 fail:
10836 return NULL;
10837 }
10838
10839
10840 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
10841 PyObject *resultobj;
10842 wxColourData *arg1 = (wxColourData *) 0 ;
10843 int arg2 ;
10844 PyObject * obj0 = 0 ;
10845 PyObject * obj1 = 0 ;
10846 char *kwnames[] = {
10847 (char *) "self",(char *) "flag", NULL
10848 };
10849
10850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
10851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10853 arg2 = (int) SWIG_AsInt(obj1);
10854 if (PyErr_Occurred()) SWIG_fail;
10855 {
10856 PyThreadState* __tstate = wxPyBeginAllowThreads();
10857 (arg1)->SetChooseFull(arg2);
10858
10859 wxPyEndAllowThreads(__tstate);
10860 if (PyErr_Occurred()) SWIG_fail;
10861 }
10862 Py_INCREF(Py_None); resultobj = Py_None;
10863 return resultobj;
10864 fail:
10865 return NULL;
10866 }
10867
10868
10869 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10870 PyObject *resultobj;
10871 wxColourData *arg1 = (wxColourData *) 0 ;
10872 wxColour *arg2 = 0 ;
10873 wxColour temp2 ;
10874 PyObject * obj0 = 0 ;
10875 PyObject * obj1 = 0 ;
10876 char *kwnames[] = {
10877 (char *) "self",(char *) "colour", NULL
10878 };
10879
10880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
10881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10883 {
10884 arg2 = &temp2;
10885 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10886 }
10887 {
10888 PyThreadState* __tstate = wxPyBeginAllowThreads();
10889 (arg1)->SetColour((wxColour const &)*arg2);
10890
10891 wxPyEndAllowThreads(__tstate);
10892 if (PyErr_Occurred()) SWIG_fail;
10893 }
10894 Py_INCREF(Py_None); resultobj = Py_None;
10895 return resultobj;
10896 fail:
10897 return NULL;
10898 }
10899
10900
10901 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10902 PyObject *resultobj;
10903 wxColourData *arg1 = (wxColourData *) 0 ;
10904 int arg2 ;
10905 wxColour *arg3 = 0 ;
10906 wxColour temp3 ;
10907 PyObject * obj0 = 0 ;
10908 PyObject * obj1 = 0 ;
10909 PyObject * obj2 = 0 ;
10910 char *kwnames[] = {
10911 (char *) "self",(char *) "i",(char *) "colour", NULL
10912 };
10913
10914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
10915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10917 arg2 = (int) SWIG_AsInt(obj1);
10918 if (PyErr_Occurred()) SWIG_fail;
10919 {
10920 arg3 = &temp3;
10921 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
10922 }
10923 {
10924 PyThreadState* __tstate = wxPyBeginAllowThreads();
10925 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
10926
10927 wxPyEndAllowThreads(__tstate);
10928 if (PyErr_Occurred()) SWIG_fail;
10929 }
10930 Py_INCREF(Py_None); resultobj = Py_None;
10931 return resultobj;
10932 fail:
10933 return NULL;
10934 }
10935
10936
10937 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
10938 PyObject *obj;
10939 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10940 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
10941 Py_INCREF(obj);
10942 return Py_BuildValue((char *)"");
10943 }
10944 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10945 PyObject *resultobj;
10946 wxWindow *arg1 = (wxWindow *) 0 ;
10947 wxColourData *arg2 = (wxColourData *) NULL ;
10948 wxColourDialog *result;
10949 PyObject * obj0 = 0 ;
10950 PyObject * obj1 = 0 ;
10951 char *kwnames[] = {
10952 (char *) "parent",(char *) "data", NULL
10953 };
10954
10955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
10956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10958 if (obj1) {
10959 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
10960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10961 }
10962 {
10963 PyThreadState* __tstate = wxPyBeginAllowThreads();
10964 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
10965
10966 wxPyEndAllowThreads(__tstate);
10967 if (PyErr_Occurred()) SWIG_fail;
10968 }
10969 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
10970 return resultobj;
10971 fail:
10972 return NULL;
10973 }
10974
10975
10976 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10977 PyObject *resultobj;
10978 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
10979 wxColourData *result;
10980 PyObject * obj0 = 0 ;
10981 char *kwnames[] = {
10982 (char *) "self", NULL
10983 };
10984
10985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
10986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
10987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10988 {
10989 PyThreadState* __tstate = wxPyBeginAllowThreads();
10990 {
10991 wxColourData &_result_ref = (arg1)->GetColourData();
10992 result = (wxColourData *) &_result_ref;
10993 }
10994
10995 wxPyEndAllowThreads(__tstate);
10996 if (PyErr_Occurred()) SWIG_fail;
10997 }
10998 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
10999 return resultobj;
11000 fail:
11001 return NULL;
11002 }
11003
11004
11005 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
11006 PyObject *obj;
11007 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11008 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11009 Py_INCREF(obj);
11010 return Py_BuildValue((char *)"");
11011 }
11012 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11013 PyObject *resultobj;
11014 wxWindow *arg1 = (wxWindow *) 0 ;
11015 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11016 wxString *arg2 = (wxString *) &arg2_defvalue ;
11017 wxString const &arg3_defvalue = wxPyEmptyString ;
11018 wxString *arg3 = (wxString *) &arg3_defvalue ;
11019 long arg4 = (long) 0 ;
11020 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11021 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11022 wxSize const &arg6_defvalue = wxDefaultSize ;
11023 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11024 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11025 wxString *arg7 = (wxString *) &arg7_defvalue ;
11026 wxDirDialog *result;
11027 bool temp2 = False ;
11028 bool temp3 = False ;
11029 wxPoint temp5 ;
11030 wxSize temp6 ;
11031 bool temp7 = False ;
11032 PyObject * obj0 = 0 ;
11033 PyObject * obj1 = 0 ;
11034 PyObject * obj2 = 0 ;
11035 PyObject * obj3 = 0 ;
11036 PyObject * obj4 = 0 ;
11037 PyObject * obj5 = 0 ;
11038 PyObject * obj6 = 0 ;
11039 char *kwnames[] = {
11040 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11041 };
11042
11043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11046 if (obj1) {
11047 {
11048 arg2 = wxString_in_helper(obj1);
11049 if (arg2 == NULL) SWIG_fail;
11050 temp2 = True;
11051 }
11052 }
11053 if (obj2) {
11054 {
11055 arg3 = wxString_in_helper(obj2);
11056 if (arg3 == NULL) SWIG_fail;
11057 temp3 = True;
11058 }
11059 }
11060 if (obj3) {
11061 arg4 = (long) SWIG_AsLong(obj3);
11062 if (PyErr_Occurred()) SWIG_fail;
11063 }
11064 if (obj4) {
11065 {
11066 arg5 = &temp5;
11067 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11068 }
11069 }
11070 if (obj5) {
11071 {
11072 arg6 = &temp6;
11073 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11074 }
11075 }
11076 if (obj6) {
11077 {
11078 arg7 = wxString_in_helper(obj6);
11079 if (arg7 == NULL) SWIG_fail;
11080 temp7 = True;
11081 }
11082 }
11083 {
11084 PyThreadState* __tstate = wxPyBeginAllowThreads();
11085 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11086
11087 wxPyEndAllowThreads(__tstate);
11088 if (PyErr_Occurred()) SWIG_fail;
11089 }
11090 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
11091 {
11092 if (temp2)
11093 delete arg2;
11094 }
11095 {
11096 if (temp3)
11097 delete arg3;
11098 }
11099 {
11100 if (temp7)
11101 delete arg7;
11102 }
11103 return resultobj;
11104 fail:
11105 {
11106 if (temp2)
11107 delete arg2;
11108 }
11109 {
11110 if (temp3)
11111 delete arg3;
11112 }
11113 {
11114 if (temp7)
11115 delete arg7;
11116 }
11117 return NULL;
11118 }
11119
11120
11121 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11122 PyObject *resultobj;
11123 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11124 wxString result;
11125 PyObject * obj0 = 0 ;
11126 char *kwnames[] = {
11127 (char *) "self", NULL
11128 };
11129
11130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
11131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11133 {
11134 PyThreadState* __tstate = wxPyBeginAllowThreads();
11135 result = (arg1)->GetPath();
11136
11137 wxPyEndAllowThreads(__tstate);
11138 if (PyErr_Occurred()) SWIG_fail;
11139 }
11140 {
11141 #if wxUSE_UNICODE
11142 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11143 #else
11144 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11145 #endif
11146 }
11147 return resultobj;
11148 fail:
11149 return NULL;
11150 }
11151
11152
11153 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11154 PyObject *resultobj;
11155 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11156 wxString result;
11157 PyObject * obj0 = 0 ;
11158 char *kwnames[] = {
11159 (char *) "self", NULL
11160 };
11161
11162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
11163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11165 {
11166 PyThreadState* __tstate = wxPyBeginAllowThreads();
11167 result = (arg1)->GetMessage();
11168
11169 wxPyEndAllowThreads(__tstate);
11170 if (PyErr_Occurred()) SWIG_fail;
11171 }
11172 {
11173 #if wxUSE_UNICODE
11174 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11175 #else
11176 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11177 #endif
11178 }
11179 return resultobj;
11180 fail:
11181 return NULL;
11182 }
11183
11184
11185 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11186 PyObject *resultobj;
11187 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11188 long result;
11189 PyObject * obj0 = 0 ;
11190 char *kwnames[] = {
11191 (char *) "self", NULL
11192 };
11193
11194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
11195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11197 {
11198 PyThreadState* __tstate = wxPyBeginAllowThreads();
11199 result = (long)(arg1)->GetStyle();
11200
11201 wxPyEndAllowThreads(__tstate);
11202 if (PyErr_Occurred()) SWIG_fail;
11203 }
11204 resultobj = SWIG_FromLong((long)result);
11205 return resultobj;
11206 fail:
11207 return NULL;
11208 }
11209
11210
11211 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11212 PyObject *resultobj;
11213 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11214 wxString *arg2 = 0 ;
11215 bool temp2 = False ;
11216 PyObject * obj0 = 0 ;
11217 PyObject * obj1 = 0 ;
11218 char *kwnames[] = {
11219 (char *) "self",(char *) "message", NULL
11220 };
11221
11222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11225 {
11226 arg2 = wxString_in_helper(obj1);
11227 if (arg2 == NULL) SWIG_fail;
11228 temp2 = True;
11229 }
11230 {
11231 PyThreadState* __tstate = wxPyBeginAllowThreads();
11232 (arg1)->SetMessage((wxString const &)*arg2);
11233
11234 wxPyEndAllowThreads(__tstate);
11235 if (PyErr_Occurred()) SWIG_fail;
11236 }
11237 Py_INCREF(Py_None); resultobj = Py_None;
11238 {
11239 if (temp2)
11240 delete arg2;
11241 }
11242 return resultobj;
11243 fail:
11244 {
11245 if (temp2)
11246 delete arg2;
11247 }
11248 return NULL;
11249 }
11250
11251
11252 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11253 PyObject *resultobj;
11254 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11255 wxString *arg2 = 0 ;
11256 bool temp2 = False ;
11257 PyObject * obj0 = 0 ;
11258 PyObject * obj1 = 0 ;
11259 char *kwnames[] = {
11260 (char *) "self",(char *) "path", NULL
11261 };
11262
11263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11266 {
11267 arg2 = wxString_in_helper(obj1);
11268 if (arg2 == NULL) SWIG_fail;
11269 temp2 = True;
11270 }
11271 {
11272 PyThreadState* __tstate = wxPyBeginAllowThreads();
11273 (arg1)->SetPath((wxString const &)*arg2);
11274
11275 wxPyEndAllowThreads(__tstate);
11276 if (PyErr_Occurred()) SWIG_fail;
11277 }
11278 Py_INCREF(Py_None); resultobj = Py_None;
11279 {
11280 if (temp2)
11281 delete arg2;
11282 }
11283 return resultobj;
11284 fail:
11285 {
11286 if (temp2)
11287 delete arg2;
11288 }
11289 return NULL;
11290 }
11291
11292
11293 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
11294 PyObject *obj;
11295 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11296 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
11297 Py_INCREF(obj);
11298 return Py_BuildValue((char *)"");
11299 }
11300 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11301 PyObject *resultobj;
11302 wxWindow *arg1 = (wxWindow *) 0 ;
11303 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
11304 wxString *arg2 = (wxString *) &arg2_defvalue ;
11305 wxString const &arg3_defvalue = wxPyEmptyString ;
11306 wxString *arg3 = (wxString *) &arg3_defvalue ;
11307 wxString const &arg4_defvalue = wxPyEmptyString ;
11308 wxString *arg4 = (wxString *) &arg4_defvalue ;
11309 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
11310 wxString *arg5 = (wxString *) &arg5_defvalue ;
11311 long arg6 = (long) 0 ;
11312 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11313 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11314 wxFileDialog *result;
11315 bool temp2 = False ;
11316 bool temp3 = False ;
11317 bool temp4 = False ;
11318 bool temp5 = False ;
11319 wxPoint temp7 ;
11320 PyObject * obj0 = 0 ;
11321 PyObject * obj1 = 0 ;
11322 PyObject * obj2 = 0 ;
11323 PyObject * obj3 = 0 ;
11324 PyObject * obj4 = 0 ;
11325 PyObject * obj5 = 0 ;
11326 PyObject * obj6 = 0 ;
11327 char *kwnames[] = {
11328 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11329 };
11330
11331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11334 if (obj1) {
11335 {
11336 arg2 = wxString_in_helper(obj1);
11337 if (arg2 == NULL) SWIG_fail;
11338 temp2 = True;
11339 }
11340 }
11341 if (obj2) {
11342 {
11343 arg3 = wxString_in_helper(obj2);
11344 if (arg3 == NULL) SWIG_fail;
11345 temp3 = True;
11346 }
11347 }
11348 if (obj3) {
11349 {
11350 arg4 = wxString_in_helper(obj3);
11351 if (arg4 == NULL) SWIG_fail;
11352 temp4 = True;
11353 }
11354 }
11355 if (obj4) {
11356 {
11357 arg5 = wxString_in_helper(obj4);
11358 if (arg5 == NULL) SWIG_fail;
11359 temp5 = True;
11360 }
11361 }
11362 if (obj5) {
11363 arg6 = (long) SWIG_AsLong(obj5);
11364 if (PyErr_Occurred()) SWIG_fail;
11365 }
11366 if (obj6) {
11367 {
11368 arg7 = &temp7;
11369 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11370 }
11371 }
11372 {
11373 PyThreadState* __tstate = wxPyBeginAllowThreads();
11374 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
11375
11376 wxPyEndAllowThreads(__tstate);
11377 if (PyErr_Occurred()) SWIG_fail;
11378 }
11379 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
11380 {
11381 if (temp2)
11382 delete arg2;
11383 }
11384 {
11385 if (temp3)
11386 delete arg3;
11387 }
11388 {
11389 if (temp4)
11390 delete arg4;
11391 }
11392 {
11393 if (temp5)
11394 delete arg5;
11395 }
11396 return resultobj;
11397 fail:
11398 {
11399 if (temp2)
11400 delete arg2;
11401 }
11402 {
11403 if (temp3)
11404 delete arg3;
11405 }
11406 {
11407 if (temp4)
11408 delete arg4;
11409 }
11410 {
11411 if (temp5)
11412 delete arg5;
11413 }
11414 return NULL;
11415 }
11416
11417
11418 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11419 PyObject *resultobj;
11420 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11421 wxString *arg2 = 0 ;
11422 bool temp2 = False ;
11423 PyObject * obj0 = 0 ;
11424 PyObject * obj1 = 0 ;
11425 char *kwnames[] = {
11426 (char *) "self",(char *) "message", NULL
11427 };
11428
11429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11432 {
11433 arg2 = wxString_in_helper(obj1);
11434 if (arg2 == NULL) SWIG_fail;
11435 temp2 = True;
11436 }
11437 {
11438 PyThreadState* __tstate = wxPyBeginAllowThreads();
11439 (arg1)->SetMessage((wxString const &)*arg2);
11440
11441 wxPyEndAllowThreads(__tstate);
11442 if (PyErr_Occurred()) SWIG_fail;
11443 }
11444 Py_INCREF(Py_None); resultobj = Py_None;
11445 {
11446 if (temp2)
11447 delete arg2;
11448 }
11449 return resultobj;
11450 fail:
11451 {
11452 if (temp2)
11453 delete arg2;
11454 }
11455 return NULL;
11456 }
11457
11458
11459 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11460 PyObject *resultobj;
11461 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11462 wxString *arg2 = 0 ;
11463 bool temp2 = False ;
11464 PyObject * obj0 = 0 ;
11465 PyObject * obj1 = 0 ;
11466 char *kwnames[] = {
11467 (char *) "self",(char *) "path", NULL
11468 };
11469
11470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11473 {
11474 arg2 = wxString_in_helper(obj1);
11475 if (arg2 == NULL) SWIG_fail;
11476 temp2 = True;
11477 }
11478 {
11479 PyThreadState* __tstate = wxPyBeginAllowThreads();
11480 (arg1)->SetPath((wxString const &)*arg2);
11481
11482 wxPyEndAllowThreads(__tstate);
11483 if (PyErr_Occurred()) SWIG_fail;
11484 }
11485 Py_INCREF(Py_None); resultobj = Py_None;
11486 {
11487 if (temp2)
11488 delete arg2;
11489 }
11490 return resultobj;
11491 fail:
11492 {
11493 if (temp2)
11494 delete arg2;
11495 }
11496 return NULL;
11497 }
11498
11499
11500 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11501 PyObject *resultobj;
11502 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11503 wxString *arg2 = 0 ;
11504 bool temp2 = False ;
11505 PyObject * obj0 = 0 ;
11506 PyObject * obj1 = 0 ;
11507 char *kwnames[] = {
11508 (char *) "self",(char *) "dir", NULL
11509 };
11510
11511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
11512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11514 {
11515 arg2 = wxString_in_helper(obj1);
11516 if (arg2 == NULL) SWIG_fail;
11517 temp2 = True;
11518 }
11519 {
11520 PyThreadState* __tstate = wxPyBeginAllowThreads();
11521 (arg1)->SetDirectory((wxString const &)*arg2);
11522
11523 wxPyEndAllowThreads(__tstate);
11524 if (PyErr_Occurred()) SWIG_fail;
11525 }
11526 Py_INCREF(Py_None); resultobj = Py_None;
11527 {
11528 if (temp2)
11529 delete arg2;
11530 }
11531 return resultobj;
11532 fail:
11533 {
11534 if (temp2)
11535 delete arg2;
11536 }
11537 return NULL;
11538 }
11539
11540
11541 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11542 PyObject *resultobj;
11543 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11544 wxString *arg2 = 0 ;
11545 bool temp2 = False ;
11546 PyObject * obj0 = 0 ;
11547 PyObject * obj1 = 0 ;
11548 char *kwnames[] = {
11549 (char *) "self",(char *) "name", NULL
11550 };
11551
11552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
11553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11555 {
11556 arg2 = wxString_in_helper(obj1);
11557 if (arg2 == NULL) SWIG_fail;
11558 temp2 = True;
11559 }
11560 {
11561 PyThreadState* __tstate = wxPyBeginAllowThreads();
11562 (arg1)->SetFilename((wxString const &)*arg2);
11563
11564 wxPyEndAllowThreads(__tstate);
11565 if (PyErr_Occurred()) SWIG_fail;
11566 }
11567 Py_INCREF(Py_None); resultobj = Py_None;
11568 {
11569 if (temp2)
11570 delete arg2;
11571 }
11572 return resultobj;
11573 fail:
11574 {
11575 if (temp2)
11576 delete arg2;
11577 }
11578 return NULL;
11579 }
11580
11581
11582 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11583 PyObject *resultobj;
11584 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11585 wxString *arg2 = 0 ;
11586 bool temp2 = False ;
11587 PyObject * obj0 = 0 ;
11588 PyObject * obj1 = 0 ;
11589 char *kwnames[] = {
11590 (char *) "self",(char *) "wildCard", NULL
11591 };
11592
11593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
11594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11596 {
11597 arg2 = wxString_in_helper(obj1);
11598 if (arg2 == NULL) SWIG_fail;
11599 temp2 = True;
11600 }
11601 {
11602 PyThreadState* __tstate = wxPyBeginAllowThreads();
11603 (arg1)->SetWildcard((wxString const &)*arg2);
11604
11605 wxPyEndAllowThreads(__tstate);
11606 if (PyErr_Occurred()) SWIG_fail;
11607 }
11608 Py_INCREF(Py_None); resultobj = Py_None;
11609 {
11610 if (temp2)
11611 delete arg2;
11612 }
11613 return resultobj;
11614 fail:
11615 {
11616 if (temp2)
11617 delete arg2;
11618 }
11619 return NULL;
11620 }
11621
11622
11623 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11624 PyObject *resultobj;
11625 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11626 long arg2 ;
11627 PyObject * obj0 = 0 ;
11628 PyObject * obj1 = 0 ;
11629 char *kwnames[] = {
11630 (char *) "self",(char *) "style", NULL
11631 };
11632
11633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
11634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11636 arg2 = (long) SWIG_AsLong(obj1);
11637 if (PyErr_Occurred()) SWIG_fail;
11638 {
11639 PyThreadState* __tstate = wxPyBeginAllowThreads();
11640 (arg1)->SetStyle(arg2);
11641
11642 wxPyEndAllowThreads(__tstate);
11643 if (PyErr_Occurred()) SWIG_fail;
11644 }
11645 Py_INCREF(Py_None); resultobj = Py_None;
11646 return resultobj;
11647 fail:
11648 return NULL;
11649 }
11650
11651
11652 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11653 PyObject *resultobj;
11654 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11655 int arg2 ;
11656 PyObject * obj0 = 0 ;
11657 PyObject * obj1 = 0 ;
11658 char *kwnames[] = {
11659 (char *) "self",(char *) "filterIndex", NULL
11660 };
11661
11662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
11663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11665 arg2 = (int) SWIG_AsInt(obj1);
11666 if (PyErr_Occurred()) SWIG_fail;
11667 {
11668 PyThreadState* __tstate = wxPyBeginAllowThreads();
11669 (arg1)->SetFilterIndex(arg2);
11670
11671 wxPyEndAllowThreads(__tstate);
11672 if (PyErr_Occurred()) SWIG_fail;
11673 }
11674 Py_INCREF(Py_None); resultobj = Py_None;
11675 return resultobj;
11676 fail:
11677 return NULL;
11678 }
11679
11680
11681 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11682 PyObject *resultobj;
11683 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11684 wxString result;
11685 PyObject * obj0 = 0 ;
11686 char *kwnames[] = {
11687 (char *) "self", NULL
11688 };
11689
11690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
11691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11693 {
11694 PyThreadState* __tstate = wxPyBeginAllowThreads();
11695 result = ((wxFileDialog const *)arg1)->GetMessage();
11696
11697 wxPyEndAllowThreads(__tstate);
11698 if (PyErr_Occurred()) SWIG_fail;
11699 }
11700 {
11701 #if wxUSE_UNICODE
11702 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11703 #else
11704 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11705 #endif
11706 }
11707 return resultobj;
11708 fail:
11709 return NULL;
11710 }
11711
11712
11713 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11714 PyObject *resultobj;
11715 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11716 wxString result;
11717 PyObject * obj0 = 0 ;
11718 char *kwnames[] = {
11719 (char *) "self", NULL
11720 };
11721
11722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
11723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11725 {
11726 PyThreadState* __tstate = wxPyBeginAllowThreads();
11727 result = ((wxFileDialog const *)arg1)->GetPath();
11728
11729 wxPyEndAllowThreads(__tstate);
11730 if (PyErr_Occurred()) SWIG_fail;
11731 }
11732 {
11733 #if wxUSE_UNICODE
11734 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11735 #else
11736 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11737 #endif
11738 }
11739 return resultobj;
11740 fail:
11741 return NULL;
11742 }
11743
11744
11745 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11746 PyObject *resultobj;
11747 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11748 wxString result;
11749 PyObject * obj0 = 0 ;
11750 char *kwnames[] = {
11751 (char *) "self", NULL
11752 };
11753
11754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
11755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11757 {
11758 PyThreadState* __tstate = wxPyBeginAllowThreads();
11759 result = ((wxFileDialog const *)arg1)->GetDirectory();
11760
11761 wxPyEndAllowThreads(__tstate);
11762 if (PyErr_Occurred()) SWIG_fail;
11763 }
11764 {
11765 #if wxUSE_UNICODE
11766 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11767 #else
11768 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11769 #endif
11770 }
11771 return resultobj;
11772 fail:
11773 return NULL;
11774 }
11775
11776
11777 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11778 PyObject *resultobj;
11779 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11780 wxString result;
11781 PyObject * obj0 = 0 ;
11782 char *kwnames[] = {
11783 (char *) "self", NULL
11784 };
11785
11786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
11787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11789 {
11790 PyThreadState* __tstate = wxPyBeginAllowThreads();
11791 result = ((wxFileDialog const *)arg1)->GetFilename();
11792
11793 wxPyEndAllowThreads(__tstate);
11794 if (PyErr_Occurred()) SWIG_fail;
11795 }
11796 {
11797 #if wxUSE_UNICODE
11798 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11799 #else
11800 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11801 #endif
11802 }
11803 return resultobj;
11804 fail:
11805 return NULL;
11806 }
11807
11808
11809 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11810 PyObject *resultobj;
11811 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11812 wxString result;
11813 PyObject * obj0 = 0 ;
11814 char *kwnames[] = {
11815 (char *) "self", NULL
11816 };
11817
11818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
11819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11821 {
11822 PyThreadState* __tstate = wxPyBeginAllowThreads();
11823 result = ((wxFileDialog const *)arg1)->GetWildcard();
11824
11825 wxPyEndAllowThreads(__tstate);
11826 if (PyErr_Occurred()) SWIG_fail;
11827 }
11828 {
11829 #if wxUSE_UNICODE
11830 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11831 #else
11832 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11833 #endif
11834 }
11835 return resultobj;
11836 fail:
11837 return NULL;
11838 }
11839
11840
11841 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11842 PyObject *resultobj;
11843 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11844 long result;
11845 PyObject * obj0 = 0 ;
11846 char *kwnames[] = {
11847 (char *) "self", NULL
11848 };
11849
11850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
11851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11853 {
11854 PyThreadState* __tstate = wxPyBeginAllowThreads();
11855 result = (long)((wxFileDialog const *)arg1)->GetStyle();
11856
11857 wxPyEndAllowThreads(__tstate);
11858 if (PyErr_Occurred()) SWIG_fail;
11859 }
11860 resultobj = SWIG_FromLong((long)result);
11861 return resultobj;
11862 fail:
11863 return NULL;
11864 }
11865
11866
11867 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11868 PyObject *resultobj;
11869 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11870 int result;
11871 PyObject * obj0 = 0 ;
11872 char *kwnames[] = {
11873 (char *) "self", NULL
11874 };
11875
11876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
11877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11879 {
11880 PyThreadState* __tstate = wxPyBeginAllowThreads();
11881 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
11882
11883 wxPyEndAllowThreads(__tstate);
11884 if (PyErr_Occurred()) SWIG_fail;
11885 }
11886 resultobj = SWIG_FromInt((int)result);
11887 return resultobj;
11888 fail:
11889 return NULL;
11890 }
11891
11892
11893 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
11894 PyObject *resultobj;
11895 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11896 PyObject *result;
11897 PyObject * obj0 = 0 ;
11898 char *kwnames[] = {
11899 (char *) "self", NULL
11900 };
11901
11902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
11903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11905 {
11906 PyThreadState* __tstate = wxPyBeginAllowThreads();
11907 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
11908
11909 wxPyEndAllowThreads(__tstate);
11910 if (PyErr_Occurred()) SWIG_fail;
11911 }
11912 resultobj = result;
11913 return resultobj;
11914 fail:
11915 return NULL;
11916 }
11917
11918
11919 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
11920 PyObject *resultobj;
11921 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11922 PyObject *result;
11923 PyObject * obj0 = 0 ;
11924 char *kwnames[] = {
11925 (char *) "self", NULL
11926 };
11927
11928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
11929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11931 {
11932 PyThreadState* __tstate = wxPyBeginAllowThreads();
11933 result = (PyObject *)wxFileDialog_GetPaths(arg1);
11934
11935 wxPyEndAllowThreads(__tstate);
11936 if (PyErr_Occurred()) SWIG_fail;
11937 }
11938 resultobj = result;
11939 return resultobj;
11940 fail:
11941 return NULL;
11942 }
11943
11944
11945 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
11946 PyObject *obj;
11947 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11948 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
11949 Py_INCREF(obj);
11950 return Py_BuildValue((char *)"");
11951 }
11952 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11953 PyObject *resultobj;
11954 wxWindow *arg1 = (wxWindow *) 0 ;
11955 wxString *arg2 = 0 ;
11956 wxString *arg3 = 0 ;
11957 int arg4 = (int) 0 ;
11958 wxString *arg5 = (wxString *) 0 ;
11959 long arg6 = (long) wxCHOICEDLG_STYLE ;
11960 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11961 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11962 wxMultiChoiceDialog *result;
11963 bool temp2 = False ;
11964 bool temp3 = False ;
11965 wxPoint temp6 ;
11966 PyObject * obj0 = 0 ;
11967 PyObject * obj1 = 0 ;
11968 PyObject * obj2 = 0 ;
11969 PyObject * obj3 = 0 ;
11970 PyObject * obj4 = 0 ;
11971 PyObject * obj5 = 0 ;
11972 char *kwnames[] = {
11973 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11974 };
11975
11976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11979 {
11980 arg2 = wxString_in_helper(obj1);
11981 if (arg2 == NULL) SWIG_fail;
11982 temp2 = True;
11983 }
11984 {
11985 arg3 = wxString_in_helper(obj2);
11986 if (arg3 == NULL) SWIG_fail;
11987 temp3 = True;
11988 }
11989 if (obj3) {
11990 {
11991 arg4 = PyList_Size(obj3);
11992 arg5 = wxString_LIST_helper(obj3);
11993 if (arg5 == NULL) SWIG_fail;
11994 }
11995 }
11996 if (obj4) {
11997 arg6 = (long) SWIG_AsLong(obj4);
11998 if (PyErr_Occurred()) SWIG_fail;
11999 }
12000 if (obj5) {
12001 {
12002 arg7 = &temp6;
12003 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12004 }
12005 }
12006 {
12007 PyThreadState* __tstate = wxPyBeginAllowThreads();
12008 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12009
12010 wxPyEndAllowThreads(__tstate);
12011 if (PyErr_Occurred()) SWIG_fail;
12012 }
12013 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12014 {
12015 if (temp2)
12016 delete arg2;
12017 }
12018 {
12019 if (temp3)
12020 delete arg3;
12021 }
12022 {
12023 if (arg5) delete [] arg5;
12024 }
12025 return resultobj;
12026 fail:
12027 {
12028 if (temp2)
12029 delete arg2;
12030 }
12031 {
12032 if (temp3)
12033 delete arg3;
12034 }
12035 {
12036 if (arg5) delete [] arg5;
12037 }
12038 return NULL;
12039 }
12040
12041
12042 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12043 PyObject *resultobj;
12044 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12045 wxArrayInt *arg2 = 0 ;
12046 bool temp2 = False ;
12047 PyObject * obj0 = 0 ;
12048 PyObject * obj1 = 0 ;
12049 char *kwnames[] = {
12050 (char *) "self",(char *) "selections", NULL
12051 };
12052
12053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12056 {
12057 if (! PySequence_Check(obj1)) {
12058 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12059 SWIG_fail;
12060 }
12061 arg2 = new wxArrayInt;
12062 temp2 = True;
12063 int i, len=PySequence_Length(obj1);
12064 for (i=0; i<len; i++) {
12065 PyObject* item = PySequence_GetItem(obj1, i);
12066 PyObject* number = PyNumber_Int(item);
12067 arg2->Add(PyInt_AS_LONG(number));
12068 Py_DECREF(item);
12069 Py_DECREF(number);
12070 }
12071 }
12072 {
12073 PyThreadState* __tstate = wxPyBeginAllowThreads();
12074 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12075
12076 wxPyEndAllowThreads(__tstate);
12077 if (PyErr_Occurred()) SWIG_fail;
12078 }
12079 Py_INCREF(Py_None); resultobj = Py_None;
12080 {
12081 if (temp2) delete arg2;
12082 }
12083 return resultobj;
12084 fail:
12085 {
12086 if (temp2) delete arg2;
12087 }
12088 return NULL;
12089 }
12090
12091
12092 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12093 PyObject *resultobj;
12094 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12095 PyObject *result;
12096 PyObject * obj0 = 0 ;
12097 char *kwnames[] = {
12098 (char *) "self", NULL
12099 };
12100
12101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12104 {
12105 PyThreadState* __tstate = wxPyBeginAllowThreads();
12106 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12107
12108 wxPyEndAllowThreads(__tstate);
12109 if (PyErr_Occurred()) SWIG_fail;
12110 }
12111 resultobj = result;
12112 return resultobj;
12113 fail:
12114 return NULL;
12115 }
12116
12117
12118 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12119 PyObject *obj;
12120 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12121 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12122 Py_INCREF(obj);
12123 return Py_BuildValue((char *)"");
12124 }
12125 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12126 PyObject *resultobj;
12127 wxWindow *arg1 = (wxWindow *) 0 ;
12128 wxString *arg2 = 0 ;
12129 wxString *arg3 = 0 ;
12130 int arg4 ;
12131 wxString *arg5 = (wxString *) 0 ;
12132 long arg6 = (long) wxCHOICEDLG_STYLE ;
12133 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12134 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12135 wxSingleChoiceDialog *result;
12136 bool temp2 = False ;
12137 bool temp3 = False ;
12138 wxPoint temp6 ;
12139 PyObject * obj0 = 0 ;
12140 PyObject * obj1 = 0 ;
12141 PyObject * obj2 = 0 ;
12142 PyObject * obj3 = 0 ;
12143 PyObject * obj4 = 0 ;
12144 PyObject * obj5 = 0 ;
12145 char *kwnames[] = {
12146 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12147 };
12148
12149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12152 {
12153 arg2 = wxString_in_helper(obj1);
12154 if (arg2 == NULL) SWIG_fail;
12155 temp2 = True;
12156 }
12157 {
12158 arg3 = wxString_in_helper(obj2);
12159 if (arg3 == NULL) SWIG_fail;
12160 temp3 = True;
12161 }
12162 {
12163 arg4 = PyList_Size(obj3);
12164 arg5 = wxString_LIST_helper(obj3);
12165 if (arg5 == NULL) SWIG_fail;
12166 }
12167 if (obj4) {
12168 arg6 = (long) SWIG_AsLong(obj4);
12169 if (PyErr_Occurred()) SWIG_fail;
12170 }
12171 if (obj5) {
12172 {
12173 arg7 = &temp6;
12174 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12175 }
12176 }
12177 {
12178 PyThreadState* __tstate = wxPyBeginAllowThreads();
12179 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12180
12181 wxPyEndAllowThreads(__tstate);
12182 if (PyErr_Occurred()) SWIG_fail;
12183 }
12184 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
12185 {
12186 if (temp2)
12187 delete arg2;
12188 }
12189 {
12190 if (temp3)
12191 delete arg3;
12192 }
12193 {
12194 if (arg5) delete [] arg5;
12195 }
12196 return resultobj;
12197 fail:
12198 {
12199 if (temp2)
12200 delete arg2;
12201 }
12202 {
12203 if (temp3)
12204 delete arg3;
12205 }
12206 {
12207 if (arg5) delete [] arg5;
12208 }
12209 return NULL;
12210 }
12211
12212
12213 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12214 PyObject *resultobj;
12215 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12216 int result;
12217 PyObject * obj0 = 0 ;
12218 char *kwnames[] = {
12219 (char *) "self", NULL
12220 };
12221
12222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
12223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12225 {
12226 PyThreadState* __tstate = wxPyBeginAllowThreads();
12227 result = (int)(arg1)->GetSelection();
12228
12229 wxPyEndAllowThreads(__tstate);
12230 if (PyErr_Occurred()) SWIG_fail;
12231 }
12232 resultobj = SWIG_FromInt((int)result);
12233 return resultobj;
12234 fail:
12235 return NULL;
12236 }
12237
12238
12239 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12240 PyObject *resultobj;
12241 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12242 wxString result;
12243 PyObject * obj0 = 0 ;
12244 char *kwnames[] = {
12245 (char *) "self", NULL
12246 };
12247
12248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
12249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12251 {
12252 PyThreadState* __tstate = wxPyBeginAllowThreads();
12253 result = (arg1)->GetStringSelection();
12254
12255 wxPyEndAllowThreads(__tstate);
12256 if (PyErr_Occurred()) SWIG_fail;
12257 }
12258 {
12259 #if wxUSE_UNICODE
12260 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12261 #else
12262 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12263 #endif
12264 }
12265 return resultobj;
12266 fail:
12267 return NULL;
12268 }
12269
12270
12271 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12272 PyObject *resultobj;
12273 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12274 int arg2 ;
12275 PyObject * obj0 = 0 ;
12276 PyObject * obj1 = 0 ;
12277 char *kwnames[] = {
12278 (char *) "self",(char *) "sel", NULL
12279 };
12280
12281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12284 arg2 = (int) SWIG_AsInt(obj1);
12285 if (PyErr_Occurred()) SWIG_fail;
12286 {
12287 PyThreadState* __tstate = wxPyBeginAllowThreads();
12288 (arg1)->SetSelection(arg2);
12289
12290 wxPyEndAllowThreads(__tstate);
12291 if (PyErr_Occurred()) SWIG_fail;
12292 }
12293 Py_INCREF(Py_None); resultobj = Py_None;
12294 return resultobj;
12295 fail:
12296 return NULL;
12297 }
12298
12299
12300 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12301 PyObject *obj;
12302 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12303 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
12304 Py_INCREF(obj);
12305 return Py_BuildValue((char *)"");
12306 }
12307 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12308 PyObject *resultobj;
12309 wxWindow *arg1 = (wxWindow *) 0 ;
12310 wxString *arg2 = 0 ;
12311 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
12312 wxString *arg3 = (wxString *) &arg3_defvalue ;
12313 wxString const &arg4_defvalue = wxPyEmptyString ;
12314 wxString *arg4 = (wxString *) &arg4_defvalue ;
12315 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
12316 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12317 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12318 wxTextEntryDialog *result;
12319 bool temp2 = False ;
12320 bool temp3 = False ;
12321 bool temp4 = False ;
12322 wxPoint temp6 ;
12323 PyObject * obj0 = 0 ;
12324 PyObject * obj1 = 0 ;
12325 PyObject * obj2 = 0 ;
12326 PyObject * obj3 = 0 ;
12327 PyObject * obj4 = 0 ;
12328 PyObject * obj5 = 0 ;
12329 char *kwnames[] = {
12330 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12331 };
12332
12333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12336 {
12337 arg2 = wxString_in_helper(obj1);
12338 if (arg2 == NULL) SWIG_fail;
12339 temp2 = True;
12340 }
12341 if (obj2) {
12342 {
12343 arg3 = wxString_in_helper(obj2);
12344 if (arg3 == NULL) SWIG_fail;
12345 temp3 = True;
12346 }
12347 }
12348 if (obj3) {
12349 {
12350 arg4 = wxString_in_helper(obj3);
12351 if (arg4 == NULL) SWIG_fail;
12352 temp4 = True;
12353 }
12354 }
12355 if (obj4) {
12356 arg5 = (long) SWIG_AsLong(obj4);
12357 if (PyErr_Occurred()) SWIG_fail;
12358 }
12359 if (obj5) {
12360 {
12361 arg6 = &temp6;
12362 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12363 }
12364 }
12365 {
12366 PyThreadState* __tstate = wxPyBeginAllowThreads();
12367 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
12368
12369 wxPyEndAllowThreads(__tstate);
12370 if (PyErr_Occurred()) SWIG_fail;
12371 }
12372 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
12373 {
12374 if (temp2)
12375 delete arg2;
12376 }
12377 {
12378 if (temp3)
12379 delete arg3;
12380 }
12381 {
12382 if (temp4)
12383 delete arg4;
12384 }
12385 return resultobj;
12386 fail:
12387 {
12388 if (temp2)
12389 delete arg2;
12390 }
12391 {
12392 if (temp3)
12393 delete arg3;
12394 }
12395 {
12396 if (temp4)
12397 delete arg4;
12398 }
12399 return NULL;
12400 }
12401
12402
12403 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12404 PyObject *resultobj;
12405 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12406 wxString result;
12407 PyObject * obj0 = 0 ;
12408 char *kwnames[] = {
12409 (char *) "self", NULL
12410 };
12411
12412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
12413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12415 {
12416 PyThreadState* __tstate = wxPyBeginAllowThreads();
12417 result = (arg1)->GetValue();
12418
12419 wxPyEndAllowThreads(__tstate);
12420 if (PyErr_Occurred()) SWIG_fail;
12421 }
12422 {
12423 #if wxUSE_UNICODE
12424 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12425 #else
12426 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12427 #endif
12428 }
12429 return resultobj;
12430 fail:
12431 return NULL;
12432 }
12433
12434
12435 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12436 PyObject *resultobj;
12437 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12438 wxString *arg2 = 0 ;
12439 bool temp2 = False ;
12440 PyObject * obj0 = 0 ;
12441 PyObject * obj1 = 0 ;
12442 char *kwnames[] = {
12443 (char *) "self",(char *) "value", NULL
12444 };
12445
12446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
12447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12449 {
12450 arg2 = wxString_in_helper(obj1);
12451 if (arg2 == NULL) SWIG_fail;
12452 temp2 = True;
12453 }
12454 {
12455 PyThreadState* __tstate = wxPyBeginAllowThreads();
12456 (arg1)->SetValue((wxString const &)*arg2);
12457
12458 wxPyEndAllowThreads(__tstate);
12459 if (PyErr_Occurred()) SWIG_fail;
12460 }
12461 Py_INCREF(Py_None); resultobj = Py_None;
12462 {
12463 if (temp2)
12464 delete arg2;
12465 }
12466 return resultobj;
12467 fail:
12468 {
12469 if (temp2)
12470 delete arg2;
12471 }
12472 return NULL;
12473 }
12474
12475
12476 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
12477 PyObject *obj;
12478 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12479 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
12480 Py_INCREF(obj);
12481 return Py_BuildValue((char *)"");
12482 }
12483 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12484 PyObject *resultobj;
12485 wxFontData *result;
12486 char *kwnames[] = {
12487 NULL
12488 };
12489
12490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
12491 {
12492 PyThreadState* __tstate = wxPyBeginAllowThreads();
12493 result = (wxFontData *)new wxFontData();
12494
12495 wxPyEndAllowThreads(__tstate);
12496 if (PyErr_Occurred()) SWIG_fail;
12497 }
12498 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
12499 return resultobj;
12500 fail:
12501 return NULL;
12502 }
12503
12504
12505 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12506 PyObject *resultobj;
12507 wxFontData *arg1 = (wxFontData *) 0 ;
12508 PyObject * obj0 = 0 ;
12509 char *kwnames[] = {
12510 (char *) "self", NULL
12511 };
12512
12513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
12514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12516 {
12517 PyThreadState* __tstate = wxPyBeginAllowThreads();
12518 delete arg1;
12519
12520 wxPyEndAllowThreads(__tstate);
12521 if (PyErr_Occurred()) SWIG_fail;
12522 }
12523 Py_INCREF(Py_None); resultobj = Py_None;
12524 return resultobj;
12525 fail:
12526 return NULL;
12527 }
12528
12529
12530 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12531 PyObject *resultobj;
12532 wxFontData *arg1 = (wxFontData *) 0 ;
12533 bool arg2 ;
12534 PyObject * obj0 = 0 ;
12535 PyObject * obj1 = 0 ;
12536 char *kwnames[] = {
12537 (char *) "self",(char *) "enable", NULL
12538 };
12539
12540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
12541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12543 arg2 = (bool) SWIG_AsBool(obj1);
12544 if (PyErr_Occurred()) SWIG_fail;
12545 {
12546 PyThreadState* __tstate = wxPyBeginAllowThreads();
12547 (arg1)->EnableEffects(arg2);
12548
12549 wxPyEndAllowThreads(__tstate);
12550 if (PyErr_Occurred()) SWIG_fail;
12551 }
12552 Py_INCREF(Py_None); resultobj = Py_None;
12553 return resultobj;
12554 fail:
12555 return NULL;
12556 }
12557
12558
12559 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12560 PyObject *resultobj;
12561 wxFontData *arg1 = (wxFontData *) 0 ;
12562 bool result;
12563 PyObject * obj0 = 0 ;
12564 char *kwnames[] = {
12565 (char *) "self", NULL
12566 };
12567
12568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
12569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12571 {
12572 PyThreadState* __tstate = wxPyBeginAllowThreads();
12573 result = (bool)(arg1)->GetAllowSymbols();
12574
12575 wxPyEndAllowThreads(__tstate);
12576 if (PyErr_Occurred()) SWIG_fail;
12577 }
12578 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12579 return resultobj;
12580 fail:
12581 return NULL;
12582 }
12583
12584
12585 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12586 PyObject *resultobj;
12587 wxFontData *arg1 = (wxFontData *) 0 ;
12588 wxColour result;
12589 PyObject * obj0 = 0 ;
12590 char *kwnames[] = {
12591 (char *) "self", NULL
12592 };
12593
12594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
12595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12597 {
12598 PyThreadState* __tstate = wxPyBeginAllowThreads();
12599 result = (arg1)->GetColour();
12600
12601 wxPyEndAllowThreads(__tstate);
12602 if (PyErr_Occurred()) SWIG_fail;
12603 }
12604 {
12605 wxColour * resultptr;
12606 resultptr = new wxColour((wxColour &) result);
12607 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
12608 }
12609 return resultobj;
12610 fail:
12611 return NULL;
12612 }
12613
12614
12615 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12616 PyObject *resultobj;
12617 wxFontData *arg1 = (wxFontData *) 0 ;
12618 wxFont result;
12619 PyObject * obj0 = 0 ;
12620 char *kwnames[] = {
12621 (char *) "self", NULL
12622 };
12623
12624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
12625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12627 {
12628 PyThreadState* __tstate = wxPyBeginAllowThreads();
12629 result = (arg1)->GetChosenFont();
12630
12631 wxPyEndAllowThreads(__tstate);
12632 if (PyErr_Occurred()) SWIG_fail;
12633 }
12634 {
12635 wxFont * resultptr;
12636 resultptr = new wxFont((wxFont &) result);
12637 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
12638 }
12639 return resultobj;
12640 fail:
12641 return NULL;
12642 }
12643
12644
12645 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12646 PyObject *resultobj;
12647 wxFontData *arg1 = (wxFontData *) 0 ;
12648 bool result;
12649 PyObject * obj0 = 0 ;
12650 char *kwnames[] = {
12651 (char *) "self", NULL
12652 };
12653
12654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
12655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12657 {
12658 PyThreadState* __tstate = wxPyBeginAllowThreads();
12659 result = (bool)(arg1)->GetEnableEffects();
12660
12661 wxPyEndAllowThreads(__tstate);
12662 if (PyErr_Occurred()) SWIG_fail;
12663 }
12664 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12665 return resultobj;
12666 fail:
12667 return NULL;
12668 }
12669
12670
12671 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12672 PyObject *resultobj;
12673 wxFontData *arg1 = (wxFontData *) 0 ;
12674 wxFont result;
12675 PyObject * obj0 = 0 ;
12676 char *kwnames[] = {
12677 (char *) "self", NULL
12678 };
12679
12680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
12681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12683 {
12684 PyThreadState* __tstate = wxPyBeginAllowThreads();
12685 result = (arg1)->GetInitialFont();
12686
12687 wxPyEndAllowThreads(__tstate);
12688 if (PyErr_Occurred()) SWIG_fail;
12689 }
12690 {
12691 wxFont * resultptr;
12692 resultptr = new wxFont((wxFont &) result);
12693 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
12694 }
12695 return resultobj;
12696 fail:
12697 return NULL;
12698 }
12699
12700
12701 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12702 PyObject *resultobj;
12703 wxFontData *arg1 = (wxFontData *) 0 ;
12704 bool result;
12705 PyObject * obj0 = 0 ;
12706 char *kwnames[] = {
12707 (char *) "self", NULL
12708 };
12709
12710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
12711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12713 {
12714 PyThreadState* __tstate = wxPyBeginAllowThreads();
12715 result = (bool)(arg1)->GetShowHelp();
12716
12717 wxPyEndAllowThreads(__tstate);
12718 if (PyErr_Occurred()) SWIG_fail;
12719 }
12720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12721 return resultobj;
12722 fail:
12723 return NULL;
12724 }
12725
12726
12727 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12728 PyObject *resultobj;
12729 wxFontData *arg1 = (wxFontData *) 0 ;
12730 bool arg2 ;
12731 PyObject * obj0 = 0 ;
12732 PyObject * obj1 = 0 ;
12733 char *kwnames[] = {
12734 (char *) "self",(char *) "allowSymbols", NULL
12735 };
12736
12737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
12738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12740 arg2 = (bool) SWIG_AsBool(obj1);
12741 if (PyErr_Occurred()) SWIG_fail;
12742 {
12743 PyThreadState* __tstate = wxPyBeginAllowThreads();
12744 (arg1)->SetAllowSymbols(arg2);
12745
12746 wxPyEndAllowThreads(__tstate);
12747 if (PyErr_Occurred()) SWIG_fail;
12748 }
12749 Py_INCREF(Py_None); resultobj = Py_None;
12750 return resultobj;
12751 fail:
12752 return NULL;
12753 }
12754
12755
12756 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12757 PyObject *resultobj;
12758 wxFontData *arg1 = (wxFontData *) 0 ;
12759 wxFont *arg2 = 0 ;
12760 PyObject * obj0 = 0 ;
12761 PyObject * obj1 = 0 ;
12762 char *kwnames[] = {
12763 (char *) "self",(char *) "font", NULL
12764 };
12765
12766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
12767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12769 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
12770 SWIG_POINTER_EXCEPTION | 0)) == -1)
12771 SWIG_fail;
12772 if (arg2 == NULL) {
12773 PyErr_SetString(PyExc_TypeError,"null reference");
12774 SWIG_fail;
12775 }
12776 {
12777 PyThreadState* __tstate = wxPyBeginAllowThreads();
12778 (arg1)->SetChosenFont((wxFont const &)*arg2);
12779
12780 wxPyEndAllowThreads(__tstate);
12781 if (PyErr_Occurred()) SWIG_fail;
12782 }
12783 Py_INCREF(Py_None); resultobj = Py_None;
12784 return resultobj;
12785 fail:
12786 return NULL;
12787 }
12788
12789
12790 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12791 PyObject *resultobj;
12792 wxFontData *arg1 = (wxFontData *) 0 ;
12793 wxColour *arg2 = 0 ;
12794 wxColour temp2 ;
12795 PyObject * obj0 = 0 ;
12796 PyObject * obj1 = 0 ;
12797 char *kwnames[] = {
12798 (char *) "self",(char *) "colour", NULL
12799 };
12800
12801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
12802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12804 {
12805 arg2 = &temp2;
12806 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12807 }
12808 {
12809 PyThreadState* __tstate = wxPyBeginAllowThreads();
12810 (arg1)->SetColour((wxColour const &)*arg2);
12811
12812 wxPyEndAllowThreads(__tstate);
12813 if (PyErr_Occurred()) SWIG_fail;
12814 }
12815 Py_INCREF(Py_None); resultobj = Py_None;
12816 return resultobj;
12817 fail:
12818 return NULL;
12819 }
12820
12821
12822 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12823 PyObject *resultobj;
12824 wxFontData *arg1 = (wxFontData *) 0 ;
12825 wxFont *arg2 = 0 ;
12826 PyObject * obj0 = 0 ;
12827 PyObject * obj1 = 0 ;
12828 char *kwnames[] = {
12829 (char *) "self",(char *) "font", NULL
12830 };
12831
12832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
12833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12835 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
12836 SWIG_POINTER_EXCEPTION | 0)) == -1)
12837 SWIG_fail;
12838 if (arg2 == NULL) {
12839 PyErr_SetString(PyExc_TypeError,"null reference");
12840 SWIG_fail;
12841 }
12842 {
12843 PyThreadState* __tstate = wxPyBeginAllowThreads();
12844 (arg1)->SetInitialFont((wxFont const &)*arg2);
12845
12846 wxPyEndAllowThreads(__tstate);
12847 if (PyErr_Occurred()) SWIG_fail;
12848 }
12849 Py_INCREF(Py_None); resultobj = Py_None;
12850 return resultobj;
12851 fail:
12852 return NULL;
12853 }
12854
12855
12856 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
12857 PyObject *resultobj;
12858 wxFontData *arg1 = (wxFontData *) 0 ;
12859 int arg2 ;
12860 int arg3 ;
12861 PyObject * obj0 = 0 ;
12862 PyObject * obj1 = 0 ;
12863 PyObject * obj2 = 0 ;
12864 char *kwnames[] = {
12865 (char *) "self",(char *) "min",(char *) "max", NULL
12866 };
12867
12868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12871 arg2 = (int) SWIG_AsInt(obj1);
12872 if (PyErr_Occurred()) SWIG_fail;
12873 arg3 = (int) SWIG_AsInt(obj2);
12874 if (PyErr_Occurred()) SWIG_fail;
12875 {
12876 PyThreadState* __tstate = wxPyBeginAllowThreads();
12877 (arg1)->SetRange(arg2,arg3);
12878
12879 wxPyEndAllowThreads(__tstate);
12880 if (PyErr_Occurred()) SWIG_fail;
12881 }
12882 Py_INCREF(Py_None); resultobj = Py_None;
12883 return resultobj;
12884 fail:
12885 return NULL;
12886 }
12887
12888
12889 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12890 PyObject *resultobj;
12891 wxFontData *arg1 = (wxFontData *) 0 ;
12892 bool arg2 ;
12893 PyObject * obj0 = 0 ;
12894 PyObject * obj1 = 0 ;
12895 char *kwnames[] = {
12896 (char *) "self",(char *) "showHelp", NULL
12897 };
12898
12899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
12900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12902 arg2 = (bool) SWIG_AsBool(obj1);
12903 if (PyErr_Occurred()) SWIG_fail;
12904 {
12905 PyThreadState* __tstate = wxPyBeginAllowThreads();
12906 (arg1)->SetShowHelp(arg2);
12907
12908 wxPyEndAllowThreads(__tstate);
12909 if (PyErr_Occurred()) SWIG_fail;
12910 }
12911 Py_INCREF(Py_None); resultobj = Py_None;
12912 return resultobj;
12913 fail:
12914 return NULL;
12915 }
12916
12917
12918 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
12919 PyObject *obj;
12920 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12921 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
12922 Py_INCREF(obj);
12923 return Py_BuildValue((char *)"");
12924 }
12925 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12926 PyObject *resultobj;
12927 wxWindow *arg1 = (wxWindow *) 0 ;
12928 wxFontData *arg2 = 0 ;
12929 wxFontDialog *result;
12930 PyObject * obj0 = 0 ;
12931 PyObject * obj1 = 0 ;
12932 char *kwnames[] = {
12933 (char *) "parent",(char *) "data", NULL
12934 };
12935
12936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
12937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12939 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
12940 SWIG_POINTER_EXCEPTION | 0)) == -1)
12941 SWIG_fail;
12942 if (arg2 == NULL) {
12943 PyErr_SetString(PyExc_TypeError,"null reference");
12944 SWIG_fail;
12945 }
12946 {
12947 PyThreadState* __tstate = wxPyBeginAllowThreads();
12948 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
12949
12950 wxPyEndAllowThreads(__tstate);
12951 if (PyErr_Occurred()) SWIG_fail;
12952 }
12953 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
12954 return resultobj;
12955 fail:
12956 return NULL;
12957 }
12958
12959
12960 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12961 PyObject *resultobj;
12962 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
12963 wxFontData *result;
12964 PyObject * obj0 = 0 ;
12965 char *kwnames[] = {
12966 (char *) "self", NULL
12967 };
12968
12969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
12970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
12971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12972 {
12973 PyThreadState* __tstate = wxPyBeginAllowThreads();
12974 {
12975 wxFontData &_result_ref = (arg1)->GetFontData();
12976 result = (wxFontData *) &_result_ref;
12977 }
12978
12979 wxPyEndAllowThreads(__tstate);
12980 if (PyErr_Occurred()) SWIG_fail;
12981 }
12982 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
12983 return resultobj;
12984 fail:
12985 return NULL;
12986 }
12987
12988
12989 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
12990 PyObject *obj;
12991 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12992 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
12993 Py_INCREF(obj);
12994 return Py_BuildValue((char *)"");
12995 }
12996 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12997 PyObject *resultobj;
12998 wxWindow *arg1 = (wxWindow *) 0 ;
12999 wxString *arg2 = 0 ;
13000 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13001 wxString *arg3 = (wxString *) &arg3_defvalue ;
13002 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13003 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13004 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13005 wxMessageDialog *result;
13006 bool temp2 = False ;
13007 bool temp3 = False ;
13008 wxPoint temp5 ;
13009 PyObject * obj0 = 0 ;
13010 PyObject * obj1 = 0 ;
13011 PyObject * obj2 = 0 ;
13012 PyObject * obj3 = 0 ;
13013 PyObject * obj4 = 0 ;
13014 char *kwnames[] = {
13015 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13016 };
13017
13018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13021 {
13022 arg2 = wxString_in_helper(obj1);
13023 if (arg2 == NULL) SWIG_fail;
13024 temp2 = True;
13025 }
13026 if (obj2) {
13027 {
13028 arg3 = wxString_in_helper(obj2);
13029 if (arg3 == NULL) SWIG_fail;
13030 temp3 = True;
13031 }
13032 }
13033 if (obj3) {
13034 arg4 = (long) SWIG_AsLong(obj3);
13035 if (PyErr_Occurred()) SWIG_fail;
13036 }
13037 if (obj4) {
13038 {
13039 arg5 = &temp5;
13040 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13041 }
13042 }
13043 {
13044 PyThreadState* __tstate = wxPyBeginAllowThreads();
13045 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13046
13047 wxPyEndAllowThreads(__tstate);
13048 if (PyErr_Occurred()) SWIG_fail;
13049 }
13050 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
13051 {
13052 if (temp2)
13053 delete arg2;
13054 }
13055 {
13056 if (temp3)
13057 delete arg3;
13058 }
13059 return resultobj;
13060 fail:
13061 {
13062 if (temp2)
13063 delete arg2;
13064 }
13065 {
13066 if (temp3)
13067 delete arg3;
13068 }
13069 return NULL;
13070 }
13071
13072
13073 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
13074 PyObject *obj;
13075 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13076 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13077 Py_INCREF(obj);
13078 return Py_BuildValue((char *)"");
13079 }
13080 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13081 PyObject *resultobj;
13082 wxString *arg1 = 0 ;
13083 wxString *arg2 = 0 ;
13084 int arg3 = (int) 100 ;
13085 wxWindow *arg4 = (wxWindow *) NULL ;
13086 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13087 wxProgressDialog *result;
13088 bool temp1 = False ;
13089 bool temp2 = False ;
13090 PyObject * obj0 = 0 ;
13091 PyObject * obj1 = 0 ;
13092 PyObject * obj2 = 0 ;
13093 PyObject * obj3 = 0 ;
13094 PyObject * obj4 = 0 ;
13095 char *kwnames[] = {
13096 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13097 };
13098
13099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13100 {
13101 arg1 = wxString_in_helper(obj0);
13102 if (arg1 == NULL) SWIG_fail;
13103 temp1 = True;
13104 }
13105 {
13106 arg2 = wxString_in_helper(obj1);
13107 if (arg2 == NULL) SWIG_fail;
13108 temp2 = True;
13109 }
13110 if (obj2) {
13111 arg3 = (int) SWIG_AsInt(obj2);
13112 if (PyErr_Occurred()) SWIG_fail;
13113 }
13114 if (obj3) {
13115 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
13116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13117 }
13118 if (obj4) {
13119 arg5 = (int) SWIG_AsInt(obj4);
13120 if (PyErr_Occurred()) SWIG_fail;
13121 }
13122 {
13123 PyThreadState* __tstate = wxPyBeginAllowThreads();
13124 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13125
13126 wxPyEndAllowThreads(__tstate);
13127 if (PyErr_Occurred()) SWIG_fail;
13128 }
13129 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
13130 {
13131 if (temp1)
13132 delete arg1;
13133 }
13134 {
13135 if (temp2)
13136 delete arg2;
13137 }
13138 return resultobj;
13139 fail:
13140 {
13141 if (temp1)
13142 delete arg1;
13143 }
13144 {
13145 if (temp2)
13146 delete arg2;
13147 }
13148 return NULL;
13149 }
13150
13151
13152 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
13153 PyObject *resultobj;
13154 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13155 int arg2 ;
13156 wxString const &arg3_defvalue = wxPyEmptyString ;
13157 wxString *arg3 = (wxString *) &arg3_defvalue ;
13158 bool result;
13159 bool temp3 = False ;
13160 PyObject * obj0 = 0 ;
13161 PyObject * obj1 = 0 ;
13162 PyObject * obj2 = 0 ;
13163 char *kwnames[] = {
13164 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13165 };
13166
13167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13170 arg2 = (int) SWIG_AsInt(obj1);
13171 if (PyErr_Occurred()) SWIG_fail;
13172 if (obj2) {
13173 {
13174 arg3 = wxString_in_helper(obj2);
13175 if (arg3 == NULL) SWIG_fail;
13176 temp3 = True;
13177 }
13178 }
13179 {
13180 PyThreadState* __tstate = wxPyBeginAllowThreads();
13181 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13182
13183 wxPyEndAllowThreads(__tstate);
13184 if (PyErr_Occurred()) SWIG_fail;
13185 }
13186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13187 {
13188 if (temp3)
13189 delete arg3;
13190 }
13191 return resultobj;
13192 fail:
13193 {
13194 if (temp3)
13195 delete arg3;
13196 }
13197 return NULL;
13198 }
13199
13200
13201 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
13202 PyObject *resultobj;
13203 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13204 PyObject * obj0 = 0 ;
13205 char *kwnames[] = {
13206 (char *) "self", NULL
13207 };
13208
13209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
13210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13212 {
13213 PyThreadState* __tstate = wxPyBeginAllowThreads();
13214 (arg1)->Resume();
13215
13216 wxPyEndAllowThreads(__tstate);
13217 if (PyErr_Occurred()) SWIG_fail;
13218 }
13219 Py_INCREF(Py_None); resultobj = Py_None;
13220 return resultobj;
13221 fail:
13222 return NULL;
13223 }
13224
13225
13226 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
13227 PyObject *obj;
13228 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13229 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
13230 Py_INCREF(obj);
13231 return Py_BuildValue((char *)"");
13232 }
13233 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13234 PyObject *resultobj;
13235 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13236 int arg2 = (int) 0 ;
13237 wxFindDialogEvent *result;
13238 PyObject * obj0 = 0 ;
13239 PyObject * obj1 = 0 ;
13240 char *kwnames[] = {
13241 (char *) "commandType",(char *) "id", NULL
13242 };
13243
13244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
13245 if (obj0) {
13246 arg1 = (wxEventType) SWIG_AsInt(obj0);
13247 if (PyErr_Occurred()) SWIG_fail;
13248 }
13249 if (obj1) {
13250 arg2 = (int) SWIG_AsInt(obj1);
13251 if (PyErr_Occurred()) SWIG_fail;
13252 }
13253 {
13254 PyThreadState* __tstate = wxPyBeginAllowThreads();
13255 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
13256
13257 wxPyEndAllowThreads(__tstate);
13258 if (PyErr_Occurred()) SWIG_fail;
13259 }
13260 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
13261 return resultobj;
13262 fail:
13263 return NULL;
13264 }
13265
13266
13267 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13268 PyObject *resultobj;
13269 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13270 int result;
13271 PyObject * obj0 = 0 ;
13272 char *kwnames[] = {
13273 (char *) "self", NULL
13274 };
13275
13276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
13277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13279 {
13280 PyThreadState* __tstate = wxPyBeginAllowThreads();
13281 result = (int)(arg1)->GetFlags();
13282
13283 wxPyEndAllowThreads(__tstate);
13284 if (PyErr_Occurred()) SWIG_fail;
13285 }
13286 resultobj = SWIG_FromInt((int)result);
13287 return resultobj;
13288 fail:
13289 return NULL;
13290 }
13291
13292
13293 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13294 PyObject *resultobj;
13295 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13296 wxString *result;
13297 PyObject * obj0 = 0 ;
13298 char *kwnames[] = {
13299 (char *) "self", NULL
13300 };
13301
13302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
13303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13305 {
13306 PyThreadState* __tstate = wxPyBeginAllowThreads();
13307 {
13308 wxString const &_result_ref = (arg1)->GetFindString();
13309 result = (wxString *) &_result_ref;
13310 }
13311
13312 wxPyEndAllowThreads(__tstate);
13313 if (PyErr_Occurred()) SWIG_fail;
13314 }
13315 {
13316 #if wxUSE_UNICODE
13317 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13318 #else
13319 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13320 #endif
13321 }
13322 return resultobj;
13323 fail:
13324 return NULL;
13325 }
13326
13327
13328 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13329 PyObject *resultobj;
13330 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13331 wxString *result;
13332 PyObject * obj0 = 0 ;
13333 char *kwnames[] = {
13334 (char *) "self", NULL
13335 };
13336
13337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
13338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13340 {
13341 PyThreadState* __tstate = wxPyBeginAllowThreads();
13342 {
13343 wxString const &_result_ref = (arg1)->GetReplaceString();
13344 result = (wxString *) &_result_ref;
13345 }
13346
13347 wxPyEndAllowThreads(__tstate);
13348 if (PyErr_Occurred()) SWIG_fail;
13349 }
13350 {
13351 #if wxUSE_UNICODE
13352 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13353 #else
13354 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13355 #endif
13356 }
13357 return resultobj;
13358 fail:
13359 return NULL;
13360 }
13361
13362
13363 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13364 PyObject *resultobj;
13365 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13366 wxFindReplaceDialog *result;
13367 PyObject * obj0 = 0 ;
13368 char *kwnames[] = {
13369 (char *) "self", NULL
13370 };
13371
13372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
13373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13375 {
13376 PyThreadState* __tstate = wxPyBeginAllowThreads();
13377 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
13378
13379 wxPyEndAllowThreads(__tstate);
13380 if (PyErr_Occurred()) SWIG_fail;
13381 }
13382 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
13383 return resultobj;
13384 fail:
13385 return NULL;
13386 }
13387
13388
13389 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13390 PyObject *resultobj;
13391 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13392 int arg2 ;
13393 PyObject * obj0 = 0 ;
13394 PyObject * obj1 = 0 ;
13395 char *kwnames[] = {
13396 (char *) "self",(char *) "flags", NULL
13397 };
13398
13399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13402 arg2 = (int) SWIG_AsInt(obj1);
13403 if (PyErr_Occurred()) SWIG_fail;
13404 {
13405 PyThreadState* __tstate = wxPyBeginAllowThreads();
13406 (arg1)->SetFlags(arg2);
13407
13408 wxPyEndAllowThreads(__tstate);
13409 if (PyErr_Occurred()) SWIG_fail;
13410 }
13411 Py_INCREF(Py_None); resultobj = Py_None;
13412 return resultobj;
13413 fail:
13414 return NULL;
13415 }
13416
13417
13418 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13419 PyObject *resultobj;
13420 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13421 wxString *arg2 = 0 ;
13422 bool temp2 = False ;
13423 PyObject * obj0 = 0 ;
13424 PyObject * obj1 = 0 ;
13425 char *kwnames[] = {
13426 (char *) "self",(char *) "str", NULL
13427 };
13428
13429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13432 {
13433 arg2 = wxString_in_helper(obj1);
13434 if (arg2 == NULL) SWIG_fail;
13435 temp2 = True;
13436 }
13437 {
13438 PyThreadState* __tstate = wxPyBeginAllowThreads();
13439 (arg1)->SetFindString((wxString const &)*arg2);
13440
13441 wxPyEndAllowThreads(__tstate);
13442 if (PyErr_Occurred()) SWIG_fail;
13443 }
13444 Py_INCREF(Py_None); resultobj = Py_None;
13445 {
13446 if (temp2)
13447 delete arg2;
13448 }
13449 return resultobj;
13450 fail:
13451 {
13452 if (temp2)
13453 delete arg2;
13454 }
13455 return NULL;
13456 }
13457
13458
13459 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13460 PyObject *resultobj;
13461 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13462 wxString *arg2 = 0 ;
13463 bool temp2 = False ;
13464 PyObject * obj0 = 0 ;
13465 PyObject * obj1 = 0 ;
13466 char *kwnames[] = {
13467 (char *) "self",(char *) "str", NULL
13468 };
13469
13470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13473 {
13474 arg2 = wxString_in_helper(obj1);
13475 if (arg2 == NULL) SWIG_fail;
13476 temp2 = True;
13477 }
13478 {
13479 PyThreadState* __tstate = wxPyBeginAllowThreads();
13480 (arg1)->SetReplaceString((wxString const &)*arg2);
13481
13482 wxPyEndAllowThreads(__tstate);
13483 if (PyErr_Occurred()) SWIG_fail;
13484 }
13485 Py_INCREF(Py_None); resultobj = Py_None;
13486 {
13487 if (temp2)
13488 delete arg2;
13489 }
13490 return resultobj;
13491 fail:
13492 {
13493 if (temp2)
13494 delete arg2;
13495 }
13496 return NULL;
13497 }
13498
13499
13500 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
13501 PyObject *obj;
13502 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13503 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
13504 Py_INCREF(obj);
13505 return Py_BuildValue((char *)"");
13506 }
13507 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13508 PyObject *resultobj;
13509 int arg1 = (int) 0 ;
13510 wxFindReplaceData *result;
13511 PyObject * obj0 = 0 ;
13512 char *kwnames[] = {
13513 (char *) "flags", NULL
13514 };
13515
13516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
13517 if (obj0) {
13518 arg1 = (int) SWIG_AsInt(obj0);
13519 if (PyErr_Occurred()) SWIG_fail;
13520 }
13521 {
13522 PyThreadState* __tstate = wxPyBeginAllowThreads();
13523 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
13524
13525 wxPyEndAllowThreads(__tstate);
13526 if (PyErr_Occurred()) SWIG_fail;
13527 }
13528 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
13529 return resultobj;
13530 fail:
13531 return NULL;
13532 }
13533
13534
13535 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13536 PyObject *resultobj;
13537 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13538 PyObject * obj0 = 0 ;
13539 char *kwnames[] = {
13540 (char *) "self", NULL
13541 };
13542
13543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
13544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13546 {
13547 PyThreadState* __tstate = wxPyBeginAllowThreads();
13548 delete arg1;
13549
13550 wxPyEndAllowThreads(__tstate);
13551 if (PyErr_Occurred()) SWIG_fail;
13552 }
13553 Py_INCREF(Py_None); resultobj = Py_None;
13554 return resultobj;
13555 fail:
13556 return NULL;
13557 }
13558
13559
13560 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13561 PyObject *resultobj;
13562 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13563 wxString *result;
13564 PyObject * obj0 = 0 ;
13565 char *kwnames[] = {
13566 (char *) "self", NULL
13567 };
13568
13569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
13570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13572 {
13573 PyThreadState* __tstate = wxPyBeginAllowThreads();
13574 {
13575 wxString const &_result_ref = (arg1)->GetFindString();
13576 result = (wxString *) &_result_ref;
13577 }
13578
13579 wxPyEndAllowThreads(__tstate);
13580 if (PyErr_Occurred()) SWIG_fail;
13581 }
13582 {
13583 #if wxUSE_UNICODE
13584 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13585 #else
13586 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13587 #endif
13588 }
13589 return resultobj;
13590 fail:
13591 return NULL;
13592 }
13593
13594
13595 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13596 PyObject *resultobj;
13597 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13598 wxString *result;
13599 PyObject * obj0 = 0 ;
13600 char *kwnames[] = {
13601 (char *) "self", NULL
13602 };
13603
13604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
13605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13607 {
13608 PyThreadState* __tstate = wxPyBeginAllowThreads();
13609 {
13610 wxString const &_result_ref = (arg1)->GetReplaceString();
13611 result = (wxString *) &_result_ref;
13612 }
13613
13614 wxPyEndAllowThreads(__tstate);
13615 if (PyErr_Occurred()) SWIG_fail;
13616 }
13617 {
13618 #if wxUSE_UNICODE
13619 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13620 #else
13621 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13622 #endif
13623 }
13624 return resultobj;
13625 fail:
13626 return NULL;
13627 }
13628
13629
13630 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13631 PyObject *resultobj;
13632 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13633 int result;
13634 PyObject * obj0 = 0 ;
13635 char *kwnames[] = {
13636 (char *) "self", NULL
13637 };
13638
13639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
13640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13642 {
13643 PyThreadState* __tstate = wxPyBeginAllowThreads();
13644 result = (int)(arg1)->GetFlags();
13645
13646 wxPyEndAllowThreads(__tstate);
13647 if (PyErr_Occurred()) SWIG_fail;
13648 }
13649 resultobj = SWIG_FromInt((int)result);
13650 return resultobj;
13651 fail:
13652 return NULL;
13653 }
13654
13655
13656 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13657 PyObject *resultobj;
13658 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13659 int arg2 ;
13660 PyObject * obj0 = 0 ;
13661 PyObject * obj1 = 0 ;
13662 char *kwnames[] = {
13663 (char *) "self",(char *) "flags", NULL
13664 };
13665
13666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13669 arg2 = (int) SWIG_AsInt(obj1);
13670 if (PyErr_Occurred()) SWIG_fail;
13671 {
13672 PyThreadState* __tstate = wxPyBeginAllowThreads();
13673 (arg1)->SetFlags(arg2);
13674
13675 wxPyEndAllowThreads(__tstate);
13676 if (PyErr_Occurred()) SWIG_fail;
13677 }
13678 Py_INCREF(Py_None); resultobj = Py_None;
13679 return resultobj;
13680 fail:
13681 return NULL;
13682 }
13683
13684
13685 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13686 PyObject *resultobj;
13687 wxFindReplaceData *arg1 = (wxFindReplaceData *) 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:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
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)->SetFindString((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 *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13727 PyObject *resultobj;
13728 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13729 wxString *arg2 = 0 ;
13730 bool temp2 = False ;
13731 PyObject * obj0 = 0 ;
13732 PyObject * obj1 = 0 ;
13733 char *kwnames[] = {
13734 (char *) "self",(char *) "str", NULL
13735 };
13736
13737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13740 {
13741 arg2 = wxString_in_helper(obj1);
13742 if (arg2 == NULL) SWIG_fail;
13743 temp2 = True;
13744 }
13745 {
13746 PyThreadState* __tstate = wxPyBeginAllowThreads();
13747 (arg1)->SetReplaceString((wxString const &)*arg2);
13748
13749 wxPyEndAllowThreads(__tstate);
13750 if (PyErr_Occurred()) SWIG_fail;
13751 }
13752 Py_INCREF(Py_None); resultobj = Py_None;
13753 {
13754 if (temp2)
13755 delete arg2;
13756 }
13757 return resultobj;
13758 fail:
13759 {
13760 if (temp2)
13761 delete arg2;
13762 }
13763 return NULL;
13764 }
13765
13766
13767 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
13768 PyObject *obj;
13769 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13770 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
13771 Py_INCREF(obj);
13772 return Py_BuildValue((char *)"");
13773 }
13774 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13775 PyObject *resultobj;
13776 wxWindow *arg1 = (wxWindow *) 0 ;
13777 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
13778 wxString *arg3 = 0 ;
13779 int arg4 = (int) 0 ;
13780 wxFindReplaceDialog *result;
13781 bool temp3 = False ;
13782 PyObject * obj0 = 0 ;
13783 PyObject * obj1 = 0 ;
13784 PyObject * obj2 = 0 ;
13785 PyObject * obj3 = 0 ;
13786 char *kwnames[] = {
13787 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13788 };
13789
13790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13793 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
13794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13795 {
13796 arg3 = wxString_in_helper(obj2);
13797 if (arg3 == NULL) SWIG_fail;
13798 temp3 = True;
13799 }
13800 if (obj3) {
13801 arg4 = (int) SWIG_AsInt(obj3);
13802 if (PyErr_Occurred()) SWIG_fail;
13803 }
13804 {
13805 PyThreadState* __tstate = wxPyBeginAllowThreads();
13806 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
13807
13808 wxPyEndAllowThreads(__tstate);
13809 if (PyErr_Occurred()) SWIG_fail;
13810 }
13811 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
13812 {
13813 if (temp3)
13814 delete arg3;
13815 }
13816 return resultobj;
13817 fail:
13818 {
13819 if (temp3)
13820 delete arg3;
13821 }
13822 return NULL;
13823 }
13824
13825
13826 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13827 PyObject *resultobj;
13828 wxFindReplaceDialog *result;
13829 char *kwnames[] = {
13830 NULL
13831 };
13832
13833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
13834 {
13835 PyThreadState* __tstate = wxPyBeginAllowThreads();
13836 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
13837
13838 wxPyEndAllowThreads(__tstate);
13839 if (PyErr_Occurred()) SWIG_fail;
13840 }
13841 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
13842 return resultobj;
13843 fail:
13844 return NULL;
13845 }
13846
13847
13848 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13849 PyObject *resultobj;
13850 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13851 wxWindow *arg2 = (wxWindow *) 0 ;
13852 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
13853 wxString *arg4 = 0 ;
13854 int arg5 = (int) 0 ;
13855 bool result;
13856 bool temp4 = False ;
13857 PyObject * obj0 = 0 ;
13858 PyObject * obj1 = 0 ;
13859 PyObject * obj2 = 0 ;
13860 PyObject * obj3 = 0 ;
13861 PyObject * obj4 = 0 ;
13862 char *kwnames[] = {
13863 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13864 };
13865
13866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
13868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13869 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13871 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
13872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13873 {
13874 arg4 = wxString_in_helper(obj3);
13875 if (arg4 == NULL) SWIG_fail;
13876 temp4 = True;
13877 }
13878 if (obj4) {
13879 arg5 = (int) SWIG_AsInt(obj4);
13880 if (PyErr_Occurred()) SWIG_fail;
13881 }
13882 {
13883 PyThreadState* __tstate = wxPyBeginAllowThreads();
13884 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
13885
13886 wxPyEndAllowThreads(__tstate);
13887 if (PyErr_Occurred()) SWIG_fail;
13888 }
13889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13890 {
13891 if (temp4)
13892 delete arg4;
13893 }
13894 return resultobj;
13895 fail:
13896 {
13897 if (temp4)
13898 delete arg4;
13899 }
13900 return NULL;
13901 }
13902
13903
13904 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
13905 PyObject *resultobj;
13906 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13907 wxFindReplaceData *result;
13908 PyObject * obj0 = 0 ;
13909 char *kwnames[] = {
13910 (char *) "self", NULL
13911 };
13912
13913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
13914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
13915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13916 {
13917 PyThreadState* __tstate = wxPyBeginAllowThreads();
13918 result = (wxFindReplaceData *)(arg1)->GetData();
13919
13920 wxPyEndAllowThreads(__tstate);
13921 if (PyErr_Occurred()) SWIG_fail;
13922 }
13923 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
13924 return resultobj;
13925 fail:
13926 return NULL;
13927 }
13928
13929
13930 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
13931 PyObject *resultobj;
13932 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13933 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
13934 PyObject * obj0 = 0 ;
13935 PyObject * obj1 = 0 ;
13936 char *kwnames[] = {
13937 (char *) "self",(char *) "data", NULL
13938 };
13939
13940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
13941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
13942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13943 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
13944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13945 {
13946 PyThreadState* __tstate = wxPyBeginAllowThreads();
13947 (arg1)->SetData(arg2);
13948
13949 wxPyEndAllowThreads(__tstate);
13950 if (PyErr_Occurred()) SWIG_fail;
13951 }
13952 Py_INCREF(Py_None); resultobj = Py_None;
13953 return resultobj;
13954 fail:
13955 return NULL;
13956 }
13957
13958
13959 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
13960 PyObject *obj;
13961 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13962 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
13963 Py_INCREF(obj);
13964 return Py_BuildValue((char *)"");
13965 }
13966 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13967 PyObject *resultobj;
13968 wxWindow *arg1 = (wxWindow *) 0 ;
13969 int arg2 ;
13970 wxString *arg3 = 0 ;
13971 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13972 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13973 wxSize const &arg5_defvalue = wxDefaultSize ;
13974 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13975 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
13976 wxString const &arg7_defvalue = wxPyFrameNameStr ;
13977 wxString *arg7 = (wxString *) &arg7_defvalue ;
13978 wxMDIParentFrame *result;
13979 bool temp3 = False ;
13980 wxPoint temp4 ;
13981 wxSize temp5 ;
13982 bool temp7 = False ;
13983 PyObject * obj0 = 0 ;
13984 PyObject * obj1 = 0 ;
13985 PyObject * obj2 = 0 ;
13986 PyObject * obj3 = 0 ;
13987 PyObject * obj4 = 0 ;
13988 PyObject * obj5 = 0 ;
13989 PyObject * obj6 = 0 ;
13990 char *kwnames[] = {
13991 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13992 };
13993
13994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13997 arg2 = (int const) SWIG_AsInt(obj1);
13998 if (PyErr_Occurred()) SWIG_fail;
13999 {
14000 arg3 = wxString_in_helper(obj2);
14001 if (arg3 == NULL) SWIG_fail;
14002 temp3 = True;
14003 }
14004 if (obj3) {
14005 {
14006 arg4 = &temp4;
14007 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14008 }
14009 }
14010 if (obj4) {
14011 {
14012 arg5 = &temp5;
14013 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14014 }
14015 }
14016 if (obj5) {
14017 arg6 = (long) SWIG_AsLong(obj5);
14018 if (PyErr_Occurred()) SWIG_fail;
14019 }
14020 if (obj6) {
14021 {
14022 arg7 = wxString_in_helper(obj6);
14023 if (arg7 == NULL) SWIG_fail;
14024 temp7 = True;
14025 }
14026 }
14027 {
14028 PyThreadState* __tstate = wxPyBeginAllowThreads();
14029 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14030
14031 wxPyEndAllowThreads(__tstate);
14032 if (PyErr_Occurred()) SWIG_fail;
14033 }
14034 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14035 {
14036 if (temp3)
14037 delete arg3;
14038 }
14039 {
14040 if (temp7)
14041 delete arg7;
14042 }
14043 return resultobj;
14044 fail:
14045 {
14046 if (temp3)
14047 delete arg3;
14048 }
14049 {
14050 if (temp7)
14051 delete arg7;
14052 }
14053 return NULL;
14054 }
14055
14056
14057 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14058 PyObject *resultobj;
14059 wxMDIParentFrame *result;
14060 char *kwnames[] = {
14061 NULL
14062 };
14063
14064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14065 {
14066 PyThreadState* __tstate = wxPyBeginAllowThreads();
14067 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14068
14069 wxPyEndAllowThreads(__tstate);
14070 if (PyErr_Occurred()) SWIG_fail;
14071 }
14072 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14073 return resultobj;
14074 fail:
14075 return NULL;
14076 }
14077
14078
14079 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14080 PyObject *resultobj;
14081 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14082 wxWindow *arg2 = (wxWindow *) 0 ;
14083 int arg3 ;
14084 wxString *arg4 = 0 ;
14085 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14086 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14087 wxSize const &arg6_defvalue = wxDefaultSize ;
14088 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14089 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14090 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14091 wxString *arg8 = (wxString *) &arg8_defvalue ;
14092 bool result;
14093 bool temp4 = False ;
14094 wxPoint temp5 ;
14095 wxSize temp6 ;
14096 bool temp8 = False ;
14097 PyObject * obj0 = 0 ;
14098 PyObject * obj1 = 0 ;
14099 PyObject * obj2 = 0 ;
14100 PyObject * obj3 = 0 ;
14101 PyObject * obj4 = 0 ;
14102 PyObject * obj5 = 0 ;
14103 PyObject * obj6 = 0 ;
14104 PyObject * obj7 = 0 ;
14105 char *kwnames[] = {
14106 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14107 };
14108
14109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14112 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14114 arg3 = (int const) SWIG_AsInt(obj2);
14115 if (PyErr_Occurred()) SWIG_fail;
14116 {
14117 arg4 = wxString_in_helper(obj3);
14118 if (arg4 == NULL) SWIG_fail;
14119 temp4 = True;
14120 }
14121 if (obj4) {
14122 {
14123 arg5 = &temp5;
14124 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14125 }
14126 }
14127 if (obj5) {
14128 {
14129 arg6 = &temp6;
14130 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14131 }
14132 }
14133 if (obj6) {
14134 arg7 = (long) SWIG_AsLong(obj6);
14135 if (PyErr_Occurred()) SWIG_fail;
14136 }
14137 if (obj7) {
14138 {
14139 arg8 = wxString_in_helper(obj7);
14140 if (arg8 == NULL) SWIG_fail;
14141 temp8 = True;
14142 }
14143 }
14144 {
14145 PyThreadState* __tstate = wxPyBeginAllowThreads();
14146 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14147
14148 wxPyEndAllowThreads(__tstate);
14149 if (PyErr_Occurred()) SWIG_fail;
14150 }
14151 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14152 {
14153 if (temp4)
14154 delete arg4;
14155 }
14156 {
14157 if (temp8)
14158 delete arg8;
14159 }
14160 return resultobj;
14161 fail:
14162 {
14163 if (temp4)
14164 delete arg4;
14165 }
14166 {
14167 if (temp8)
14168 delete arg8;
14169 }
14170 return NULL;
14171 }
14172
14173
14174 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
14175 PyObject *resultobj;
14176 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14177 PyObject * obj0 = 0 ;
14178 char *kwnames[] = {
14179 (char *) "self", NULL
14180 };
14181
14182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
14183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14185 {
14186 PyThreadState* __tstate = wxPyBeginAllowThreads();
14187 (arg1)->ActivateNext();
14188
14189 wxPyEndAllowThreads(__tstate);
14190 if (PyErr_Occurred()) SWIG_fail;
14191 }
14192 Py_INCREF(Py_None); resultobj = Py_None;
14193 return resultobj;
14194 fail:
14195 return NULL;
14196 }
14197
14198
14199 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
14200 PyObject *resultobj;
14201 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14202 PyObject * obj0 = 0 ;
14203 char *kwnames[] = {
14204 (char *) "self", NULL
14205 };
14206
14207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
14208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14210 {
14211 PyThreadState* __tstate = wxPyBeginAllowThreads();
14212 (arg1)->ActivatePrevious();
14213
14214 wxPyEndAllowThreads(__tstate);
14215 if (PyErr_Occurred()) SWIG_fail;
14216 }
14217 Py_INCREF(Py_None); resultobj = Py_None;
14218 return resultobj;
14219 fail:
14220 return NULL;
14221 }
14222
14223
14224 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
14225 PyObject *resultobj;
14226 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14227 PyObject * obj0 = 0 ;
14228 char *kwnames[] = {
14229 (char *) "self", NULL
14230 };
14231
14232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
14233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14235 {
14236 PyThreadState* __tstate = wxPyBeginAllowThreads();
14237 (arg1)->ArrangeIcons();
14238
14239 wxPyEndAllowThreads(__tstate);
14240 if (PyErr_Occurred()) SWIG_fail;
14241 }
14242 Py_INCREF(Py_None); resultobj = Py_None;
14243 return resultobj;
14244 fail:
14245 return NULL;
14246 }
14247
14248
14249 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
14250 PyObject *resultobj;
14251 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14252 PyObject * obj0 = 0 ;
14253 char *kwnames[] = {
14254 (char *) "self", NULL
14255 };
14256
14257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
14258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14260 {
14261 PyThreadState* __tstate = wxPyBeginAllowThreads();
14262 (arg1)->Cascade();
14263
14264 wxPyEndAllowThreads(__tstate);
14265 if (PyErr_Occurred()) SWIG_fail;
14266 }
14267 Py_INCREF(Py_None); resultobj = Py_None;
14268 return resultobj;
14269 fail:
14270 return NULL;
14271 }
14272
14273
14274 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14275 PyObject *resultobj;
14276 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14277 wxMDIChildFrame *result;
14278 PyObject * obj0 = 0 ;
14279 char *kwnames[] = {
14280 (char *) "self", NULL
14281 };
14282
14283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
14284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14286 {
14287 PyThreadState* __tstate = wxPyBeginAllowThreads();
14288 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
14289
14290 wxPyEndAllowThreads(__tstate);
14291 if (PyErr_Occurred()) SWIG_fail;
14292 }
14293 {
14294 resultobj = wxPyMake_wxObject(result);
14295 }
14296 return resultobj;
14297 fail:
14298 return NULL;
14299 }
14300
14301
14302 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14303 PyObject *resultobj;
14304 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14305 wxMDIClientWindow *result;
14306 PyObject * obj0 = 0 ;
14307 char *kwnames[] = {
14308 (char *) "self", NULL
14309 };
14310
14311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
14312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14314 {
14315 PyThreadState* __tstate = wxPyBeginAllowThreads();
14316 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
14317
14318 wxPyEndAllowThreads(__tstate);
14319 if (PyErr_Occurred()) SWIG_fail;
14320 }
14321 {
14322 resultobj = wxPyMake_wxObject(result);
14323 }
14324 return resultobj;
14325 fail:
14326 return NULL;
14327 }
14328
14329
14330 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14331 PyObject *resultobj;
14332 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14333 wxWindow *result;
14334 PyObject * obj0 = 0 ;
14335 char *kwnames[] = {
14336 (char *) "self", NULL
14337 };
14338
14339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
14340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14342 {
14343 PyThreadState* __tstate = wxPyBeginAllowThreads();
14344 result = (wxWindow *)(arg1)->GetToolBar();
14345
14346 wxPyEndAllowThreads(__tstate);
14347 if (PyErr_Occurred()) SWIG_fail;
14348 }
14349 {
14350 resultobj = wxPyMake_wxObject(result);
14351 }
14352 return resultobj;
14353 fail:
14354 return NULL;
14355 }
14356
14357
14358 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
14359 PyObject *resultobj;
14360 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14361 PyObject * obj0 = 0 ;
14362 char *kwnames[] = {
14363 (char *) "self", NULL
14364 };
14365
14366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
14367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14369 {
14370 PyThreadState* __tstate = wxPyBeginAllowThreads();
14371 (arg1)->Tile();
14372
14373 wxPyEndAllowThreads(__tstate);
14374 if (PyErr_Occurred()) SWIG_fail;
14375 }
14376 Py_INCREF(Py_None); resultobj = Py_None;
14377 return resultobj;
14378 fail:
14379 return NULL;
14380 }
14381
14382
14383 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
14384 PyObject *obj;
14385 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14386 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
14387 Py_INCREF(obj);
14388 return Py_BuildValue((char *)"");
14389 }
14390 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14391 PyObject *resultobj;
14392 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14393 int arg2 ;
14394 wxString *arg3 = 0 ;
14395 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14396 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14397 wxSize const &arg5_defvalue = wxDefaultSize ;
14398 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14399 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
14400 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14401 wxString *arg7 = (wxString *) &arg7_defvalue ;
14402 wxMDIChildFrame *result;
14403 bool temp3 = False ;
14404 wxPoint temp4 ;
14405 wxSize temp5 ;
14406 bool temp7 = False ;
14407 PyObject * obj0 = 0 ;
14408 PyObject * obj1 = 0 ;
14409 PyObject * obj2 = 0 ;
14410 PyObject * obj3 = 0 ;
14411 PyObject * obj4 = 0 ;
14412 PyObject * obj5 = 0 ;
14413 PyObject * obj6 = 0 ;
14414 char *kwnames[] = {
14415 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14416 };
14417
14418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14421 arg2 = (int const) SWIG_AsInt(obj1);
14422 if (PyErr_Occurred()) SWIG_fail;
14423 {
14424 arg3 = wxString_in_helper(obj2);
14425 if (arg3 == NULL) SWIG_fail;
14426 temp3 = True;
14427 }
14428 if (obj3) {
14429 {
14430 arg4 = &temp4;
14431 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14432 }
14433 }
14434 if (obj4) {
14435 {
14436 arg5 = &temp5;
14437 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14438 }
14439 }
14440 if (obj5) {
14441 arg6 = (long) SWIG_AsLong(obj5);
14442 if (PyErr_Occurred()) SWIG_fail;
14443 }
14444 if (obj6) {
14445 {
14446 arg7 = wxString_in_helper(obj6);
14447 if (arg7 == NULL) SWIG_fail;
14448 temp7 = True;
14449 }
14450 }
14451 {
14452 PyThreadState* __tstate = wxPyBeginAllowThreads();
14453 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14454
14455 wxPyEndAllowThreads(__tstate);
14456 if (PyErr_Occurred()) SWIG_fail;
14457 }
14458 {
14459 resultobj = wxPyMake_wxObject(result);
14460 }
14461 {
14462 if (temp3)
14463 delete arg3;
14464 }
14465 {
14466 if (temp7)
14467 delete arg7;
14468 }
14469 return resultobj;
14470 fail:
14471 {
14472 if (temp3)
14473 delete arg3;
14474 }
14475 {
14476 if (temp7)
14477 delete arg7;
14478 }
14479 return NULL;
14480 }
14481
14482
14483 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14484 PyObject *resultobj;
14485 wxMDIChildFrame *result;
14486 char *kwnames[] = {
14487 NULL
14488 };
14489
14490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
14491 {
14492 PyThreadState* __tstate = wxPyBeginAllowThreads();
14493 result = (wxMDIChildFrame *)new wxMDIChildFrame();
14494
14495 wxPyEndAllowThreads(__tstate);
14496 if (PyErr_Occurred()) SWIG_fail;
14497 }
14498 {
14499 resultobj = wxPyMake_wxObject(result);
14500 }
14501 return resultobj;
14502 fail:
14503 return NULL;
14504 }
14505
14506
14507 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14508 PyObject *resultobj;
14509 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14510 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14511 int arg3 ;
14512 wxString *arg4 = 0 ;
14513 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14514 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14515 wxSize const &arg6_defvalue = wxDefaultSize ;
14516 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14517 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
14518 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14519 wxString *arg8 = (wxString *) &arg8_defvalue ;
14520 bool result;
14521 bool temp4 = False ;
14522 wxPoint temp5 ;
14523 wxSize temp6 ;
14524 bool temp8 = False ;
14525 PyObject * obj0 = 0 ;
14526 PyObject * obj1 = 0 ;
14527 PyObject * obj2 = 0 ;
14528 PyObject * obj3 = 0 ;
14529 PyObject * obj4 = 0 ;
14530 PyObject * obj5 = 0 ;
14531 PyObject * obj6 = 0 ;
14532 PyObject * obj7 = 0 ;
14533 char *kwnames[] = {
14534 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14535 };
14536
14537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14540 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
14541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14542 arg3 = (int const) SWIG_AsInt(obj2);
14543 if (PyErr_Occurred()) SWIG_fail;
14544 {
14545 arg4 = wxString_in_helper(obj3);
14546 if (arg4 == NULL) SWIG_fail;
14547 temp4 = True;
14548 }
14549 if (obj4) {
14550 {
14551 arg5 = &temp5;
14552 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14553 }
14554 }
14555 if (obj5) {
14556 {
14557 arg6 = &temp6;
14558 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14559 }
14560 }
14561 if (obj6) {
14562 arg7 = (long) SWIG_AsLong(obj6);
14563 if (PyErr_Occurred()) SWIG_fail;
14564 }
14565 if (obj7) {
14566 {
14567 arg8 = wxString_in_helper(obj7);
14568 if (arg8 == NULL) SWIG_fail;
14569 temp8 = True;
14570 }
14571 }
14572 {
14573 PyThreadState* __tstate = wxPyBeginAllowThreads();
14574 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14575
14576 wxPyEndAllowThreads(__tstate);
14577 if (PyErr_Occurred()) SWIG_fail;
14578 }
14579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14580 {
14581 if (temp4)
14582 delete arg4;
14583 }
14584 {
14585 if (temp8)
14586 delete arg8;
14587 }
14588 return resultobj;
14589 fail:
14590 {
14591 if (temp4)
14592 delete arg4;
14593 }
14594 {
14595 if (temp8)
14596 delete arg8;
14597 }
14598 return NULL;
14599 }
14600
14601
14602 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
14603 PyObject *resultobj;
14604 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14605 PyObject * obj0 = 0 ;
14606 char *kwnames[] = {
14607 (char *) "self", NULL
14608 };
14609
14610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
14611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14613 {
14614 PyThreadState* __tstate = wxPyBeginAllowThreads();
14615 (arg1)->Activate();
14616
14617 wxPyEndAllowThreads(__tstate);
14618 if (PyErr_Occurred()) SWIG_fail;
14619 }
14620 Py_INCREF(Py_None); resultobj = Py_None;
14621 return resultobj;
14622 fail:
14623 return NULL;
14624 }
14625
14626
14627 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
14628 PyObject *resultobj;
14629 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14630 bool arg2 ;
14631 PyObject * obj0 = 0 ;
14632 PyObject * obj1 = 0 ;
14633 char *kwnames[] = {
14634 (char *) "self",(char *) "maximize", NULL
14635 };
14636
14637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
14638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14640 arg2 = (bool) SWIG_AsBool(obj1);
14641 if (PyErr_Occurred()) SWIG_fail;
14642 {
14643 PyThreadState* __tstate = wxPyBeginAllowThreads();
14644 (arg1)->Maximize(arg2);
14645
14646 wxPyEndAllowThreads(__tstate);
14647 if (PyErr_Occurred()) SWIG_fail;
14648 }
14649 Py_INCREF(Py_None); resultobj = Py_None;
14650 return resultobj;
14651 fail:
14652 return NULL;
14653 }
14654
14655
14656 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
14657 PyObject *resultobj;
14658 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14659 PyObject * obj0 = 0 ;
14660 char *kwnames[] = {
14661 (char *) "self", NULL
14662 };
14663
14664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
14665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14667 {
14668 PyThreadState* __tstate = wxPyBeginAllowThreads();
14669 (arg1)->Restore();
14670
14671 wxPyEndAllowThreads(__tstate);
14672 if (PyErr_Occurred()) SWIG_fail;
14673 }
14674 Py_INCREF(Py_None); resultobj = Py_None;
14675 return resultobj;
14676 fail:
14677 return NULL;
14678 }
14679
14680
14681 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
14682 PyObject *obj;
14683 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14684 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
14685 Py_INCREF(obj);
14686 return Py_BuildValue((char *)"");
14687 }
14688 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14689 PyObject *resultobj;
14690 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14691 long arg2 = (long) 0 ;
14692 wxMDIClientWindow *result;
14693 PyObject * obj0 = 0 ;
14694 PyObject * obj1 = 0 ;
14695 char *kwnames[] = {
14696 (char *) "parent",(char *) "style", NULL
14697 };
14698
14699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
14700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14702 if (obj1) {
14703 arg2 = (long) SWIG_AsLong(obj1);
14704 if (PyErr_Occurred()) SWIG_fail;
14705 }
14706 {
14707 PyThreadState* __tstate = wxPyBeginAllowThreads();
14708 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
14709
14710 wxPyEndAllowThreads(__tstate);
14711 if (PyErr_Occurred()) SWIG_fail;
14712 }
14713 {
14714 resultobj = wxPyMake_wxObject(result);
14715 }
14716 return resultobj;
14717 fail:
14718 return NULL;
14719 }
14720
14721
14722 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14723 PyObject *resultobj;
14724 wxMDIClientWindow *result;
14725 char *kwnames[] = {
14726 NULL
14727 };
14728
14729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
14730 {
14731 PyThreadState* __tstate = wxPyBeginAllowThreads();
14732 result = (wxMDIClientWindow *)new wxMDIClientWindow();
14733
14734 wxPyEndAllowThreads(__tstate);
14735 if (PyErr_Occurred()) SWIG_fail;
14736 }
14737 {
14738 resultobj = wxPyMake_wxObject(result);
14739 }
14740 return resultobj;
14741 fail:
14742 return NULL;
14743 }
14744
14745
14746 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14747 PyObject *resultobj;
14748 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
14749 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14750 long arg3 = (long) 0 ;
14751 bool result;
14752 PyObject * obj0 = 0 ;
14753 PyObject * obj1 = 0 ;
14754 PyObject * obj2 = 0 ;
14755 char *kwnames[] = {
14756 (char *) "self",(char *) "parent",(char *) "style", NULL
14757 };
14758
14759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
14760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
14761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14762 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
14763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14764 if (obj2) {
14765 arg3 = (long) SWIG_AsLong(obj2);
14766 if (PyErr_Occurred()) SWIG_fail;
14767 }
14768 {
14769 PyThreadState* __tstate = wxPyBeginAllowThreads();
14770 result = (bool)(arg1)->Create(arg2,arg3);
14771
14772 wxPyEndAllowThreads(__tstate);
14773 if (PyErr_Occurred()) SWIG_fail;
14774 }
14775 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14776 return resultobj;
14777 fail:
14778 return NULL;
14779 }
14780
14781
14782 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
14783 PyObject *obj;
14784 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14785 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
14786 Py_INCREF(obj);
14787 return Py_BuildValue((char *)"");
14788 }
14789 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14790 PyObject *resultobj;
14791 wxWindow *arg1 = (wxWindow *) 0 ;
14792 int arg2 ;
14793 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14794 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14795 wxSize const &arg4_defvalue = wxDefaultSize ;
14796 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14797 long arg5 = (long) 0 ;
14798 wxString const &arg6_defvalue = wxPyPanelNameStr ;
14799 wxString *arg6 = (wxString *) &arg6_defvalue ;
14800 wxPyWindow *result;
14801 wxPoint temp3 ;
14802 wxSize temp4 ;
14803 bool temp6 = False ;
14804 PyObject * obj0 = 0 ;
14805 PyObject * obj1 = 0 ;
14806 PyObject * obj2 = 0 ;
14807 PyObject * obj3 = 0 ;
14808 PyObject * obj4 = 0 ;
14809 PyObject * obj5 = 0 ;
14810 char *kwnames[] = {
14811 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14812 };
14813
14814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14817 arg2 = (int const) SWIG_AsInt(obj1);
14818 if (PyErr_Occurred()) SWIG_fail;
14819 if (obj2) {
14820 {
14821 arg3 = &temp3;
14822 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14823 }
14824 }
14825 if (obj3) {
14826 {
14827 arg4 = &temp4;
14828 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14829 }
14830 }
14831 if (obj4) {
14832 arg5 = (long) SWIG_AsLong(obj4);
14833 if (PyErr_Occurred()) SWIG_fail;
14834 }
14835 if (obj5) {
14836 {
14837 arg6 = wxString_in_helper(obj5);
14838 if (arg6 == NULL) SWIG_fail;
14839 temp6 = True;
14840 }
14841 }
14842 {
14843 PyThreadState* __tstate = wxPyBeginAllowThreads();
14844 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14845
14846 wxPyEndAllowThreads(__tstate);
14847 if (PyErr_Occurred()) SWIG_fail;
14848 }
14849 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
14850 {
14851 if (temp6)
14852 delete arg6;
14853 }
14854 return resultobj;
14855 fail:
14856 {
14857 if (temp6)
14858 delete arg6;
14859 }
14860 return NULL;
14861 }
14862
14863
14864 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14865 PyObject *resultobj;
14866 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14867 PyObject *arg2 = (PyObject *) 0 ;
14868 PyObject *arg3 = (PyObject *) 0 ;
14869 PyObject * obj0 = 0 ;
14870 PyObject * obj1 = 0 ;
14871 PyObject * obj2 = 0 ;
14872 char *kwnames[] = {
14873 (char *) "self",(char *) "self",(char *) "_class", NULL
14874 };
14875
14876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
14878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14879 arg2 = obj1;
14880 arg3 = obj2;
14881 {
14882 PyThreadState* __tstate = wxPyBeginAllowThreads();
14883 (arg1)->_setCallbackInfo(arg2,arg3);
14884
14885 wxPyEndAllowThreads(__tstate);
14886 if (PyErr_Occurred()) SWIG_fail;
14887 }
14888 Py_INCREF(Py_None); resultobj = Py_None;
14889 return resultobj;
14890 fail:
14891 return NULL;
14892 }
14893
14894
14895 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14896 PyObject *resultobj;
14897 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14898 int arg2 ;
14899 int arg3 ;
14900 int arg4 ;
14901 int arg5 ;
14902 PyObject * obj0 = 0 ;
14903 PyObject * obj1 = 0 ;
14904 PyObject * obj2 = 0 ;
14905 PyObject * obj3 = 0 ;
14906 PyObject * obj4 = 0 ;
14907 char *kwnames[] = {
14908 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14909 };
14910
14911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
14913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14914 arg2 = (int) SWIG_AsInt(obj1);
14915 if (PyErr_Occurred()) SWIG_fail;
14916 arg3 = (int) SWIG_AsInt(obj2);
14917 if (PyErr_Occurred()) SWIG_fail;
14918 arg4 = (int) SWIG_AsInt(obj3);
14919 if (PyErr_Occurred()) SWIG_fail;
14920 arg5 = (int) SWIG_AsInt(obj4);
14921 if (PyErr_Occurred()) SWIG_fail;
14922 {
14923 PyThreadState* __tstate = wxPyBeginAllowThreads();
14924 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
14925
14926 wxPyEndAllowThreads(__tstate);
14927 if (PyErr_Occurred()) SWIG_fail;
14928 }
14929 Py_INCREF(Py_None); resultobj = Py_None;
14930 return resultobj;
14931 fail:
14932 return NULL;
14933 }
14934
14935
14936 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14937 PyObject *resultobj;
14938 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14939 int arg2 ;
14940 int arg3 ;
14941 int arg4 ;
14942 int arg5 ;
14943 int arg6 = (int) wxSIZE_AUTO ;
14944 PyObject * obj0 = 0 ;
14945 PyObject * obj1 = 0 ;
14946 PyObject * obj2 = 0 ;
14947 PyObject * obj3 = 0 ;
14948 PyObject * obj4 = 0 ;
14949 PyObject * obj5 = 0 ;
14950 char *kwnames[] = {
14951 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14952 };
14953
14954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
14956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14957 arg2 = (int) SWIG_AsInt(obj1);
14958 if (PyErr_Occurred()) SWIG_fail;
14959 arg3 = (int) SWIG_AsInt(obj2);
14960 if (PyErr_Occurred()) SWIG_fail;
14961 arg4 = (int) SWIG_AsInt(obj3);
14962 if (PyErr_Occurred()) SWIG_fail;
14963 arg5 = (int) SWIG_AsInt(obj4);
14964 if (PyErr_Occurred()) SWIG_fail;
14965 if (obj5) {
14966 arg6 = (int) SWIG_AsInt(obj5);
14967 if (PyErr_Occurred()) SWIG_fail;
14968 }
14969 {
14970 PyThreadState* __tstate = wxPyBeginAllowThreads();
14971 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
14972
14973 wxPyEndAllowThreads(__tstate);
14974 if (PyErr_Occurred()) SWIG_fail;
14975 }
14976 Py_INCREF(Py_None); resultobj = Py_None;
14977 return resultobj;
14978 fail:
14979 return NULL;
14980 }
14981
14982
14983 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14984 PyObject *resultobj;
14985 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14986 int arg2 ;
14987 int arg3 ;
14988 PyObject * obj0 = 0 ;
14989 PyObject * obj1 = 0 ;
14990 PyObject * obj2 = 0 ;
14991 char *kwnames[] = {
14992 (char *) "self",(char *) "width",(char *) "height", NULL
14993 };
14994
14995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
14996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
14997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14998 arg2 = (int) SWIG_AsInt(obj1);
14999 if (PyErr_Occurred()) SWIG_fail;
15000 arg3 = (int) SWIG_AsInt(obj2);
15001 if (PyErr_Occurred()) SWIG_fail;
15002 {
15003 PyThreadState* __tstate = wxPyBeginAllowThreads();
15004 (arg1)->base_DoSetClientSize(arg2,arg3);
15005
15006 wxPyEndAllowThreads(__tstate);
15007 if (PyErr_Occurred()) SWIG_fail;
15008 }
15009 Py_INCREF(Py_None); resultobj = Py_None;
15010 return resultobj;
15011 fail:
15012 return NULL;
15013 }
15014
15015
15016 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15017 PyObject *resultobj;
15018 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15019 int arg2 ;
15020 int arg3 ;
15021 PyObject * obj0 = 0 ;
15022 PyObject * obj1 = 0 ;
15023 PyObject * obj2 = 0 ;
15024 char *kwnames[] = {
15025 (char *) "self",(char *) "x",(char *) "y", NULL
15026 };
15027
15028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15031 arg2 = (int) SWIG_AsInt(obj1);
15032 if (PyErr_Occurred()) SWIG_fail;
15033 arg3 = (int) SWIG_AsInt(obj2);
15034 if (PyErr_Occurred()) SWIG_fail;
15035 {
15036 PyThreadState* __tstate = wxPyBeginAllowThreads();
15037 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15038
15039 wxPyEndAllowThreads(__tstate);
15040 if (PyErr_Occurred()) SWIG_fail;
15041 }
15042 Py_INCREF(Py_None); resultobj = Py_None;
15043 return resultobj;
15044 fail:
15045 return NULL;
15046 }
15047
15048
15049 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15050 PyObject *resultobj;
15051 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15052 int *arg2 = (int *) 0 ;
15053 int *arg3 = (int *) 0 ;
15054 int temp2 ;
15055 int temp3 ;
15056 PyObject * obj0 = 0 ;
15057 char *kwnames[] = {
15058 (char *) "self", NULL
15059 };
15060
15061 arg2 = &temp2;
15062 arg3 = &temp3;
15063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15066 {
15067 PyThreadState* __tstate = wxPyBeginAllowThreads();
15068 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15069
15070 wxPyEndAllowThreads(__tstate);
15071 if (PyErr_Occurred()) SWIG_fail;
15072 }
15073 Py_INCREF(Py_None); resultobj = Py_None;
15074 {
15075 PyObject *o = PyInt_FromLong((long) (*arg2));
15076 resultobj = t_output_helper(resultobj,o);
15077 }
15078 {
15079 PyObject *o = PyInt_FromLong((long) (*arg3));
15080 resultobj = t_output_helper(resultobj,o);
15081 }
15082 return resultobj;
15083 fail:
15084 return NULL;
15085 }
15086
15087
15088 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15089 PyObject *resultobj;
15090 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15091 int *arg2 = (int *) 0 ;
15092 int *arg3 = (int *) 0 ;
15093 int temp2 ;
15094 int temp3 ;
15095 PyObject * obj0 = 0 ;
15096 char *kwnames[] = {
15097 (char *) "self", NULL
15098 };
15099
15100 arg2 = &temp2;
15101 arg3 = &temp3;
15102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15105 {
15106 PyThreadState* __tstate = wxPyBeginAllowThreads();
15107 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
15108
15109 wxPyEndAllowThreads(__tstate);
15110 if (PyErr_Occurred()) SWIG_fail;
15111 }
15112 Py_INCREF(Py_None); resultobj = Py_None;
15113 {
15114 PyObject *o = PyInt_FromLong((long) (*arg2));
15115 resultobj = t_output_helper(resultobj,o);
15116 }
15117 {
15118 PyObject *o = PyInt_FromLong((long) (*arg3));
15119 resultobj = t_output_helper(resultobj,o);
15120 }
15121 return resultobj;
15122 fail:
15123 return NULL;
15124 }
15125
15126
15127 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15128 PyObject *resultobj;
15129 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15130 int *arg2 = (int *) 0 ;
15131 int *arg3 = (int *) 0 ;
15132 int temp2 ;
15133 int temp3 ;
15134 PyObject * obj0 = 0 ;
15135 char *kwnames[] = {
15136 (char *) "self", NULL
15137 };
15138
15139 arg2 = &temp2;
15140 arg3 = &temp3;
15141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
15142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15144 {
15145 PyThreadState* __tstate = wxPyBeginAllowThreads();
15146 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
15147
15148 wxPyEndAllowThreads(__tstate);
15149 if (PyErr_Occurred()) SWIG_fail;
15150 }
15151 Py_INCREF(Py_None); resultobj = Py_None;
15152 {
15153 PyObject *o = PyInt_FromLong((long) (*arg2));
15154 resultobj = t_output_helper(resultobj,o);
15155 }
15156 {
15157 PyObject *o = PyInt_FromLong((long) (*arg3));
15158 resultobj = t_output_helper(resultobj,o);
15159 }
15160 return resultobj;
15161 fail:
15162 return NULL;
15163 }
15164
15165
15166 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15167 PyObject *resultobj;
15168 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15169 wxSize result;
15170 PyObject * obj0 = 0 ;
15171 char *kwnames[] = {
15172 (char *) "self", NULL
15173 };
15174
15175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15178 {
15179 PyThreadState* __tstate = wxPyBeginAllowThreads();
15180 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
15181
15182 wxPyEndAllowThreads(__tstate);
15183 if (PyErr_Occurred()) SWIG_fail;
15184 }
15185 {
15186 wxSize * resultptr;
15187 resultptr = new wxSize((wxSize &) result);
15188 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15189 }
15190 return resultobj;
15191 fail:
15192 return NULL;
15193 }
15194
15195
15196 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15197 PyObject *resultobj;
15198 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15199 wxSize result;
15200 PyObject * obj0 = 0 ;
15201 char *kwnames[] = {
15202 (char *) "self", NULL
15203 };
15204
15205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15208 {
15209 PyThreadState* __tstate = wxPyBeginAllowThreads();
15210 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
15211
15212 wxPyEndAllowThreads(__tstate);
15213 if (PyErr_Occurred()) SWIG_fail;
15214 }
15215 {
15216 wxSize * resultptr;
15217 resultptr = new wxSize((wxSize &) result);
15218 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15219 }
15220 return resultobj;
15221 fail:
15222 return NULL;
15223 }
15224
15225
15226 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
15227 PyObject *resultobj;
15228 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15229 PyObject * obj0 = 0 ;
15230 char *kwnames[] = {
15231 (char *) "self", NULL
15232 };
15233
15234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
15235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15237 {
15238 PyThreadState* __tstate = wxPyBeginAllowThreads();
15239 (arg1)->base_InitDialog();
15240
15241 wxPyEndAllowThreads(__tstate);
15242 if (PyErr_Occurred()) SWIG_fail;
15243 }
15244 Py_INCREF(Py_None); resultobj = Py_None;
15245 return resultobj;
15246 fail:
15247 return NULL;
15248 }
15249
15250
15251 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15252 PyObject *resultobj;
15253 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15254 bool result;
15255 PyObject * obj0 = 0 ;
15256 char *kwnames[] = {
15257 (char *) "self", NULL
15258 };
15259
15260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15263 {
15264 PyThreadState* __tstate = wxPyBeginAllowThreads();
15265 result = (bool)(arg1)->base_TransferDataToWindow();
15266
15267 wxPyEndAllowThreads(__tstate);
15268 if (PyErr_Occurred()) SWIG_fail;
15269 }
15270 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15271 return resultobj;
15272 fail:
15273 return NULL;
15274 }
15275
15276
15277 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15278 PyObject *resultobj;
15279 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15280 bool result;
15281 PyObject * obj0 = 0 ;
15282 char *kwnames[] = {
15283 (char *) "self", NULL
15284 };
15285
15286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15289 {
15290 PyThreadState* __tstate = wxPyBeginAllowThreads();
15291 result = (bool)(arg1)->base_TransferDataFromWindow();
15292
15293 wxPyEndAllowThreads(__tstate);
15294 if (PyErr_Occurred()) SWIG_fail;
15295 }
15296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15297 return resultobj;
15298 fail:
15299 return NULL;
15300 }
15301
15302
15303 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
15304 PyObject *resultobj;
15305 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15306 bool result;
15307 PyObject * obj0 = 0 ;
15308 char *kwnames[] = {
15309 (char *) "self", NULL
15310 };
15311
15312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
15313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15315 {
15316 PyThreadState* __tstate = wxPyBeginAllowThreads();
15317 result = (bool)(arg1)->base_Validate();
15318
15319 wxPyEndAllowThreads(__tstate);
15320 if (PyErr_Occurred()) SWIG_fail;
15321 }
15322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15323 return resultobj;
15324 fail:
15325 return NULL;
15326 }
15327
15328
15329 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
15330 PyObject *resultobj;
15331 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15332 bool result;
15333 PyObject * obj0 = 0 ;
15334 char *kwnames[] = {
15335 (char *) "self", NULL
15336 };
15337
15338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15341 {
15342 PyThreadState* __tstate = wxPyBeginAllowThreads();
15343 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
15344
15345 wxPyEndAllowThreads(__tstate);
15346 if (PyErr_Occurred()) SWIG_fail;
15347 }
15348 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15349 return resultobj;
15350 fail:
15351 return NULL;
15352 }
15353
15354
15355 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
15356 PyObject *resultobj;
15357 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15358 bool result;
15359 PyObject * obj0 = 0 ;
15360 char *kwnames[] = {
15361 (char *) "self", NULL
15362 };
15363
15364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15367 {
15368 PyThreadState* __tstate = wxPyBeginAllowThreads();
15369 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
15370
15371 wxPyEndAllowThreads(__tstate);
15372 if (PyErr_Occurred()) SWIG_fail;
15373 }
15374 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15375 return resultobj;
15376 fail:
15377 return NULL;
15378 }
15379
15380
15381 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15382 PyObject *resultobj;
15383 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15384 wxSize result;
15385 PyObject * obj0 = 0 ;
15386 char *kwnames[] = {
15387 (char *) "self", NULL
15388 };
15389
15390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
15391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15393 {
15394 PyThreadState* __tstate = wxPyBeginAllowThreads();
15395 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
15396
15397 wxPyEndAllowThreads(__tstate);
15398 if (PyErr_Occurred()) SWIG_fail;
15399 }
15400 {
15401 wxSize * resultptr;
15402 resultptr = new wxSize((wxSize &) result);
15403 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15404 }
15405 return resultobj;
15406 fail:
15407 return NULL;
15408 }
15409
15410
15411 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15412 PyObject *resultobj;
15413 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15414 wxWindow *arg2 = (wxWindow *) 0 ;
15415 PyObject * obj0 = 0 ;
15416 PyObject * obj1 = 0 ;
15417 char *kwnames[] = {
15418 (char *) "self",(char *) "child", NULL
15419 };
15420
15421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15424 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15426 {
15427 PyThreadState* __tstate = wxPyBeginAllowThreads();
15428 (arg1)->base_AddChild(arg2);
15429
15430 wxPyEndAllowThreads(__tstate);
15431 if (PyErr_Occurred()) SWIG_fail;
15432 }
15433 Py_INCREF(Py_None); resultobj = Py_None;
15434 return resultobj;
15435 fail:
15436 return NULL;
15437 }
15438
15439
15440 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15441 PyObject *resultobj;
15442 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15443 wxWindow *arg2 = (wxWindow *) 0 ;
15444 PyObject * obj0 = 0 ;
15445 PyObject * obj1 = 0 ;
15446 char *kwnames[] = {
15447 (char *) "self",(char *) "child", NULL
15448 };
15449
15450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15453 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15455 {
15456 PyThreadState* __tstate = wxPyBeginAllowThreads();
15457 (arg1)->base_RemoveChild(arg2);
15458
15459 wxPyEndAllowThreads(__tstate);
15460 if (PyErr_Occurred()) SWIG_fail;
15461 }
15462 Py_INCREF(Py_None); resultobj = Py_None;
15463 return resultobj;
15464 fail:
15465 return NULL;
15466 }
15467
15468
15469 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
15470 PyObject *obj;
15471 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15472 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
15473 Py_INCREF(obj);
15474 return Py_BuildValue((char *)"");
15475 }
15476 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
15477 PyObject *resultobj;
15478 wxWindow *arg1 = (wxWindow *) 0 ;
15479 int arg2 ;
15480 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15481 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15482 wxSize const &arg4_defvalue = wxDefaultSize ;
15483 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15484 long arg5 = (long) 0 ;
15485 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15486 wxString *arg6 = (wxString *) &arg6_defvalue ;
15487 wxPyPanel *result;
15488 wxPoint temp3 ;
15489 wxSize temp4 ;
15490 bool temp6 = False ;
15491 PyObject * obj0 = 0 ;
15492 PyObject * obj1 = 0 ;
15493 PyObject * obj2 = 0 ;
15494 PyObject * obj3 = 0 ;
15495 PyObject * obj4 = 0 ;
15496 PyObject * obj5 = 0 ;
15497 char *kwnames[] = {
15498 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15499 };
15500
15501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15504 arg2 = (int const) SWIG_AsInt(obj1);
15505 if (PyErr_Occurred()) SWIG_fail;
15506 if (obj2) {
15507 {
15508 arg3 = &temp3;
15509 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15510 }
15511 }
15512 if (obj3) {
15513 {
15514 arg4 = &temp4;
15515 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15516 }
15517 }
15518 if (obj4) {
15519 arg5 = (long) SWIG_AsLong(obj4);
15520 if (PyErr_Occurred()) SWIG_fail;
15521 }
15522 if (obj5) {
15523 {
15524 arg6 = wxString_in_helper(obj5);
15525 if (arg6 == NULL) SWIG_fail;
15526 temp6 = True;
15527 }
15528 }
15529 {
15530 PyThreadState* __tstate = wxPyBeginAllowThreads();
15531 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15532
15533 wxPyEndAllowThreads(__tstate);
15534 if (PyErr_Occurred()) SWIG_fail;
15535 }
15536 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
15537 {
15538 if (temp6)
15539 delete arg6;
15540 }
15541 return resultobj;
15542 fail:
15543 {
15544 if (temp6)
15545 delete arg6;
15546 }
15547 return NULL;
15548 }
15549
15550
15551 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15552 PyObject *resultobj;
15553 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15554 PyObject *arg2 = (PyObject *) 0 ;
15555 PyObject *arg3 = (PyObject *) 0 ;
15556 PyObject * obj0 = 0 ;
15557 PyObject * obj1 = 0 ;
15558 PyObject * obj2 = 0 ;
15559 char *kwnames[] = {
15560 (char *) "self",(char *) "self",(char *) "_class", NULL
15561 };
15562
15563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15566 arg2 = obj1;
15567 arg3 = obj2;
15568 {
15569 PyThreadState* __tstate = wxPyBeginAllowThreads();
15570 (arg1)->_setCallbackInfo(arg2,arg3);
15571
15572 wxPyEndAllowThreads(__tstate);
15573 if (PyErr_Occurred()) SWIG_fail;
15574 }
15575 Py_INCREF(Py_None); resultobj = Py_None;
15576 return resultobj;
15577 fail:
15578 return NULL;
15579 }
15580
15581
15582 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15583 PyObject *resultobj;
15584 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15585 int arg2 ;
15586 int arg3 ;
15587 int arg4 ;
15588 int arg5 ;
15589 PyObject * obj0 = 0 ;
15590 PyObject * obj1 = 0 ;
15591 PyObject * obj2 = 0 ;
15592 PyObject * obj3 = 0 ;
15593 PyObject * obj4 = 0 ;
15594 char *kwnames[] = {
15595 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15596 };
15597
15598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15601 arg2 = (int) SWIG_AsInt(obj1);
15602 if (PyErr_Occurred()) SWIG_fail;
15603 arg3 = (int) SWIG_AsInt(obj2);
15604 if (PyErr_Occurred()) SWIG_fail;
15605 arg4 = (int) SWIG_AsInt(obj3);
15606 if (PyErr_Occurred()) SWIG_fail;
15607 arg5 = (int) SWIG_AsInt(obj4);
15608 if (PyErr_Occurred()) SWIG_fail;
15609 {
15610 PyThreadState* __tstate = wxPyBeginAllowThreads();
15611 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15612
15613 wxPyEndAllowThreads(__tstate);
15614 if (PyErr_Occurred()) SWIG_fail;
15615 }
15616 Py_INCREF(Py_None); resultobj = Py_None;
15617 return resultobj;
15618 fail:
15619 return NULL;
15620 }
15621
15622
15623 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15624 PyObject *resultobj;
15625 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15626 int arg2 ;
15627 int arg3 ;
15628 int arg4 ;
15629 int arg5 ;
15630 int arg6 = (int) wxSIZE_AUTO ;
15631 PyObject * obj0 = 0 ;
15632 PyObject * obj1 = 0 ;
15633 PyObject * obj2 = 0 ;
15634 PyObject * obj3 = 0 ;
15635 PyObject * obj4 = 0 ;
15636 PyObject * obj5 = 0 ;
15637 char *kwnames[] = {
15638 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15639 };
15640
15641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15644 arg2 = (int) SWIG_AsInt(obj1);
15645 if (PyErr_Occurred()) SWIG_fail;
15646 arg3 = (int) SWIG_AsInt(obj2);
15647 if (PyErr_Occurred()) SWIG_fail;
15648 arg4 = (int) SWIG_AsInt(obj3);
15649 if (PyErr_Occurred()) SWIG_fail;
15650 arg5 = (int) SWIG_AsInt(obj4);
15651 if (PyErr_Occurred()) SWIG_fail;
15652 if (obj5) {
15653 arg6 = (int) SWIG_AsInt(obj5);
15654 if (PyErr_Occurred()) SWIG_fail;
15655 }
15656 {
15657 PyThreadState* __tstate = wxPyBeginAllowThreads();
15658 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15659
15660 wxPyEndAllowThreads(__tstate);
15661 if (PyErr_Occurred()) SWIG_fail;
15662 }
15663 Py_INCREF(Py_None); resultobj = Py_None;
15664 return resultobj;
15665 fail:
15666 return NULL;
15667 }
15668
15669
15670 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15671 PyObject *resultobj;
15672 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15673 int arg2 ;
15674 int arg3 ;
15675 PyObject * obj0 = 0 ;
15676 PyObject * obj1 = 0 ;
15677 PyObject * obj2 = 0 ;
15678 char *kwnames[] = {
15679 (char *) "self",(char *) "width",(char *) "height", NULL
15680 };
15681
15682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15685 arg2 = (int) SWIG_AsInt(obj1);
15686 if (PyErr_Occurred()) SWIG_fail;
15687 arg3 = (int) SWIG_AsInt(obj2);
15688 if (PyErr_Occurred()) SWIG_fail;
15689 {
15690 PyThreadState* __tstate = wxPyBeginAllowThreads();
15691 (arg1)->base_DoSetClientSize(arg2,arg3);
15692
15693 wxPyEndAllowThreads(__tstate);
15694 if (PyErr_Occurred()) SWIG_fail;
15695 }
15696 Py_INCREF(Py_None); resultobj = Py_None;
15697 return resultobj;
15698 fail:
15699 return NULL;
15700 }
15701
15702
15703 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15704 PyObject *resultobj;
15705 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15706 int arg2 ;
15707 int arg3 ;
15708 PyObject * obj0 = 0 ;
15709 PyObject * obj1 = 0 ;
15710 PyObject * obj2 = 0 ;
15711 char *kwnames[] = {
15712 (char *) "self",(char *) "x",(char *) "y", NULL
15713 };
15714
15715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15718 arg2 = (int) SWIG_AsInt(obj1);
15719 if (PyErr_Occurred()) SWIG_fail;
15720 arg3 = (int) SWIG_AsInt(obj2);
15721 if (PyErr_Occurred()) SWIG_fail;
15722 {
15723 PyThreadState* __tstate = wxPyBeginAllowThreads();
15724 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15725
15726 wxPyEndAllowThreads(__tstate);
15727 if (PyErr_Occurred()) SWIG_fail;
15728 }
15729 Py_INCREF(Py_None); resultobj = Py_None;
15730 return resultobj;
15731 fail:
15732 return NULL;
15733 }
15734
15735
15736 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15737 PyObject *resultobj;
15738 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15739 int *arg2 = (int *) 0 ;
15740 int *arg3 = (int *) 0 ;
15741 int temp2 ;
15742 int temp3 ;
15743 PyObject * obj0 = 0 ;
15744 char *kwnames[] = {
15745 (char *) "self", NULL
15746 };
15747
15748 arg2 = &temp2;
15749 arg3 = &temp3;
15750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
15751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15753 {
15754 PyThreadState* __tstate = wxPyBeginAllowThreads();
15755 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
15756
15757 wxPyEndAllowThreads(__tstate);
15758 if (PyErr_Occurred()) SWIG_fail;
15759 }
15760 Py_INCREF(Py_None); resultobj = Py_None;
15761 {
15762 PyObject *o = PyInt_FromLong((long) (*arg2));
15763 resultobj = t_output_helper(resultobj,o);
15764 }
15765 {
15766 PyObject *o = PyInt_FromLong((long) (*arg3));
15767 resultobj = t_output_helper(resultobj,o);
15768 }
15769 return resultobj;
15770 fail:
15771 return NULL;
15772 }
15773
15774
15775 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15776 PyObject *resultobj;
15777 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15778 int *arg2 = (int *) 0 ;
15779 int *arg3 = (int *) 0 ;
15780 int temp2 ;
15781 int temp3 ;
15782 PyObject * obj0 = 0 ;
15783 char *kwnames[] = {
15784 (char *) "self", NULL
15785 };
15786
15787 arg2 = &temp2;
15788 arg3 = &temp3;
15789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15792 {
15793 PyThreadState* __tstate = wxPyBeginAllowThreads();
15794 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
15795
15796 wxPyEndAllowThreads(__tstate);
15797 if (PyErr_Occurred()) SWIG_fail;
15798 }
15799 Py_INCREF(Py_None); resultobj = Py_None;
15800 {
15801 PyObject *o = PyInt_FromLong((long) (*arg2));
15802 resultobj = t_output_helper(resultobj,o);
15803 }
15804 {
15805 PyObject *o = PyInt_FromLong((long) (*arg3));
15806 resultobj = t_output_helper(resultobj,o);
15807 }
15808 return resultobj;
15809 fail:
15810 return NULL;
15811 }
15812
15813
15814 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15815 PyObject *resultobj;
15816 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15817 int *arg2 = (int *) 0 ;
15818 int *arg3 = (int *) 0 ;
15819 int temp2 ;
15820 int temp3 ;
15821 PyObject * obj0 = 0 ;
15822 char *kwnames[] = {
15823 (char *) "self", NULL
15824 };
15825
15826 arg2 = &temp2;
15827 arg3 = &temp3;
15828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
15829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15831 {
15832 PyThreadState* __tstate = wxPyBeginAllowThreads();
15833 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
15834
15835 wxPyEndAllowThreads(__tstate);
15836 if (PyErr_Occurred()) SWIG_fail;
15837 }
15838 Py_INCREF(Py_None); resultobj = Py_None;
15839 {
15840 PyObject *o = PyInt_FromLong((long) (*arg2));
15841 resultobj = t_output_helper(resultobj,o);
15842 }
15843 {
15844 PyObject *o = PyInt_FromLong((long) (*arg3));
15845 resultobj = t_output_helper(resultobj,o);
15846 }
15847 return resultobj;
15848 fail:
15849 return NULL;
15850 }
15851
15852
15853 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15854 PyObject *resultobj;
15855 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15856 wxSize result;
15857 PyObject * obj0 = 0 ;
15858 char *kwnames[] = {
15859 (char *) "self", NULL
15860 };
15861
15862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15865 {
15866 PyThreadState* __tstate = wxPyBeginAllowThreads();
15867 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
15868
15869 wxPyEndAllowThreads(__tstate);
15870 if (PyErr_Occurred()) SWIG_fail;
15871 }
15872 {
15873 wxSize * resultptr;
15874 resultptr = new wxSize((wxSize &) result);
15875 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15876 }
15877 return resultobj;
15878 fail:
15879 return NULL;
15880 }
15881
15882
15883 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15884 PyObject *resultobj;
15885 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15886 wxSize result;
15887 PyObject * obj0 = 0 ;
15888 char *kwnames[] = {
15889 (char *) "self", NULL
15890 };
15891
15892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15895 {
15896 PyThreadState* __tstate = wxPyBeginAllowThreads();
15897 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
15898
15899 wxPyEndAllowThreads(__tstate);
15900 if (PyErr_Occurred()) SWIG_fail;
15901 }
15902 {
15903 wxSize * resultptr;
15904 resultptr = new wxSize((wxSize &) result);
15905 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15906 }
15907 return resultobj;
15908 fail:
15909 return NULL;
15910 }
15911
15912
15913 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
15914 PyObject *resultobj;
15915 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15916 PyObject * obj0 = 0 ;
15917 char *kwnames[] = {
15918 (char *) "self", NULL
15919 };
15920
15921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
15922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15924 {
15925 PyThreadState* __tstate = wxPyBeginAllowThreads();
15926 (arg1)->base_InitDialog();
15927
15928 wxPyEndAllowThreads(__tstate);
15929 if (PyErr_Occurred()) SWIG_fail;
15930 }
15931 Py_INCREF(Py_None); resultobj = Py_None;
15932 return resultobj;
15933 fail:
15934 return NULL;
15935 }
15936
15937
15938 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15939 PyObject *resultobj;
15940 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15941 bool result;
15942 PyObject * obj0 = 0 ;
15943 char *kwnames[] = {
15944 (char *) "self", NULL
15945 };
15946
15947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15950 {
15951 PyThreadState* __tstate = wxPyBeginAllowThreads();
15952 result = (bool)(arg1)->base_TransferDataToWindow();
15953
15954 wxPyEndAllowThreads(__tstate);
15955 if (PyErr_Occurred()) SWIG_fail;
15956 }
15957 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15958 return resultobj;
15959 fail:
15960 return NULL;
15961 }
15962
15963
15964 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15965 PyObject *resultobj;
15966 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15967 bool result;
15968 PyObject * obj0 = 0 ;
15969 char *kwnames[] = {
15970 (char *) "self", NULL
15971 };
15972
15973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15976 {
15977 PyThreadState* __tstate = wxPyBeginAllowThreads();
15978 result = (bool)(arg1)->base_TransferDataFromWindow();
15979
15980 wxPyEndAllowThreads(__tstate);
15981 if (PyErr_Occurred()) SWIG_fail;
15982 }
15983 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15984 return resultobj;
15985 fail:
15986 return NULL;
15987 }
15988
15989
15990 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
15991 PyObject *resultobj;
15992 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15993 bool result;
15994 PyObject * obj0 = 0 ;
15995 char *kwnames[] = {
15996 (char *) "self", NULL
15997 };
15998
15999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
16000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16002 {
16003 PyThreadState* __tstate = wxPyBeginAllowThreads();
16004 result = (bool)(arg1)->base_Validate();
16005
16006 wxPyEndAllowThreads(__tstate);
16007 if (PyErr_Occurred()) SWIG_fail;
16008 }
16009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16010 return resultobj;
16011 fail:
16012 return NULL;
16013 }
16014
16015
16016 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16017 PyObject *resultobj;
16018 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16019 bool result;
16020 PyObject * obj0 = 0 ;
16021 char *kwnames[] = {
16022 (char *) "self", NULL
16023 };
16024
16025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16028 {
16029 PyThreadState* __tstate = wxPyBeginAllowThreads();
16030 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
16031
16032 wxPyEndAllowThreads(__tstate);
16033 if (PyErr_Occurred()) SWIG_fail;
16034 }
16035 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16036 return resultobj;
16037 fail:
16038 return NULL;
16039 }
16040
16041
16042 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
16043 PyObject *resultobj;
16044 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16045 bool result;
16046 PyObject * obj0 = 0 ;
16047 char *kwnames[] = {
16048 (char *) "self", NULL
16049 };
16050
16051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16054 {
16055 PyThreadState* __tstate = wxPyBeginAllowThreads();
16056 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
16057
16058 wxPyEndAllowThreads(__tstate);
16059 if (PyErr_Occurred()) SWIG_fail;
16060 }
16061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16062 return resultobj;
16063 fail:
16064 return NULL;
16065 }
16066
16067
16068 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16069 PyObject *resultobj;
16070 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16071 wxSize result;
16072 PyObject * obj0 = 0 ;
16073 char *kwnames[] = {
16074 (char *) "self", NULL
16075 };
16076
16077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
16078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16080 {
16081 PyThreadState* __tstate = wxPyBeginAllowThreads();
16082 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
16083
16084 wxPyEndAllowThreads(__tstate);
16085 if (PyErr_Occurred()) SWIG_fail;
16086 }
16087 {
16088 wxSize * resultptr;
16089 resultptr = new wxSize((wxSize &) result);
16090 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16091 }
16092 return resultobj;
16093 fail:
16094 return NULL;
16095 }
16096
16097
16098 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16099 PyObject *resultobj;
16100 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16101 wxWindow *arg2 = (wxWindow *) 0 ;
16102 PyObject * obj0 = 0 ;
16103 PyObject * obj1 = 0 ;
16104 char *kwnames[] = {
16105 (char *) "self",(char *) "child", NULL
16106 };
16107
16108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16111 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16113 {
16114 PyThreadState* __tstate = wxPyBeginAllowThreads();
16115 (arg1)->base_AddChild(arg2);
16116
16117 wxPyEndAllowThreads(__tstate);
16118 if (PyErr_Occurred()) SWIG_fail;
16119 }
16120 Py_INCREF(Py_None); resultobj = Py_None;
16121 return resultobj;
16122 fail:
16123 return NULL;
16124 }
16125
16126
16127 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16128 PyObject *resultobj;
16129 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16130 wxWindow *arg2 = (wxWindow *) 0 ;
16131 PyObject * obj0 = 0 ;
16132 PyObject * obj1 = 0 ;
16133 char *kwnames[] = {
16134 (char *) "self",(char *) "child", NULL
16135 };
16136
16137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16140 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16142 {
16143 PyThreadState* __tstate = wxPyBeginAllowThreads();
16144 (arg1)->base_RemoveChild(arg2);
16145
16146 wxPyEndAllowThreads(__tstate);
16147 if (PyErr_Occurred()) SWIG_fail;
16148 }
16149 Py_INCREF(Py_None); resultobj = Py_None;
16150 return resultobj;
16151 fail:
16152 return NULL;
16153 }
16154
16155
16156 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
16157 PyObject *obj;
16158 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16159 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
16160 Py_INCREF(obj);
16161 return Py_BuildValue((char *)"");
16162 }
16163 static int _wrap_PrintoutTitleStr_set(PyObject *_val) {
16164 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
16165 return 1;
16166 }
16167
16168
16169 static PyObject *_wrap_PrintoutTitleStr_get() {
16170 PyObject *pyobj;
16171
16172 {
16173 #if wxUSE_UNICODE
16174 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
16175 #else
16176 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
16177 #endif
16178 }
16179 return pyobj;
16180 }
16181
16182
16183 static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) {
16184 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
16185 return 1;
16186 }
16187
16188
16189 static PyObject *_wrap_PreviewCanvasNameStr_get() {
16190 PyObject *pyobj;
16191
16192 {
16193 #if wxUSE_UNICODE
16194 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
16195 #else
16196 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
16197 #endif
16198 }
16199 return pyobj;
16200 }
16201
16202
16203 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16204 PyObject *resultobj;
16205 wxPrintData *result;
16206 char *kwnames[] = {
16207 NULL
16208 };
16209
16210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
16211 {
16212 PyThreadState* __tstate = wxPyBeginAllowThreads();
16213 result = (wxPrintData *)new wxPrintData();
16214
16215 wxPyEndAllowThreads(__tstate);
16216 if (PyErr_Occurred()) SWIG_fail;
16217 }
16218 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
16219 return resultobj;
16220 fail:
16221 return NULL;
16222 }
16223
16224
16225 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16226 PyObject *resultobj;
16227 wxPrintData *arg1 = (wxPrintData *) 0 ;
16228 PyObject * obj0 = 0 ;
16229 char *kwnames[] = {
16230 (char *) "self", NULL
16231 };
16232
16233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
16234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16236 {
16237 PyThreadState* __tstate = wxPyBeginAllowThreads();
16238 delete arg1;
16239
16240 wxPyEndAllowThreads(__tstate);
16241 if (PyErr_Occurred()) SWIG_fail;
16242 }
16243 Py_INCREF(Py_None); resultobj = Py_None;
16244 return resultobj;
16245 fail:
16246 return NULL;
16247 }
16248
16249
16250 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
16251 PyObject *resultobj;
16252 wxPrintData *arg1 = (wxPrintData *) 0 ;
16253 int result;
16254 PyObject * obj0 = 0 ;
16255 char *kwnames[] = {
16256 (char *) "self", NULL
16257 };
16258
16259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
16260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16262 {
16263 PyThreadState* __tstate = wxPyBeginAllowThreads();
16264 result = (int)(arg1)->GetNoCopies();
16265
16266 wxPyEndAllowThreads(__tstate);
16267 if (PyErr_Occurred()) SWIG_fail;
16268 }
16269 resultobj = SWIG_FromInt((int)result);
16270 return resultobj;
16271 fail:
16272 return NULL;
16273 }
16274
16275
16276 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
16277 PyObject *resultobj;
16278 wxPrintData *arg1 = (wxPrintData *) 0 ;
16279 bool result;
16280 PyObject * obj0 = 0 ;
16281 char *kwnames[] = {
16282 (char *) "self", NULL
16283 };
16284
16285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
16286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16288 {
16289 PyThreadState* __tstate = wxPyBeginAllowThreads();
16290 result = (bool)(arg1)->GetCollate();
16291
16292 wxPyEndAllowThreads(__tstate);
16293 if (PyErr_Occurred()) SWIG_fail;
16294 }
16295 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16296 return resultobj;
16297 fail:
16298 return NULL;
16299 }
16300
16301
16302 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16303 PyObject *resultobj;
16304 wxPrintData *arg1 = (wxPrintData *) 0 ;
16305 int result;
16306 PyObject * obj0 = 0 ;
16307 char *kwnames[] = {
16308 (char *) "self", NULL
16309 };
16310
16311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
16312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16314 {
16315 PyThreadState* __tstate = wxPyBeginAllowThreads();
16316 result = (int)(arg1)->GetOrientation();
16317
16318 wxPyEndAllowThreads(__tstate);
16319 if (PyErr_Occurred()) SWIG_fail;
16320 }
16321 resultobj = SWIG_FromInt((int)result);
16322 return resultobj;
16323 fail:
16324 return NULL;
16325 }
16326
16327
16328 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
16329 PyObject *resultobj;
16330 wxPrintData *arg1 = (wxPrintData *) 0 ;
16331 bool result;
16332 PyObject * obj0 = 0 ;
16333 char *kwnames[] = {
16334 (char *) "self", NULL
16335 };
16336
16337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
16338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16340 {
16341 PyThreadState* __tstate = wxPyBeginAllowThreads();
16342 result = (bool)(arg1)->Ok();
16343
16344 wxPyEndAllowThreads(__tstate);
16345 if (PyErr_Occurred()) SWIG_fail;
16346 }
16347 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16348 return resultobj;
16349 fail:
16350 return NULL;
16351 }
16352
16353
16354 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
16355 PyObject *resultobj;
16356 wxPrintData *arg1 = (wxPrintData *) 0 ;
16357 wxString *result;
16358 PyObject * obj0 = 0 ;
16359 char *kwnames[] = {
16360 (char *) "self", NULL
16361 };
16362
16363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
16364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16366 {
16367 PyThreadState* __tstate = wxPyBeginAllowThreads();
16368 {
16369 wxString const &_result_ref = (arg1)->GetPrinterName();
16370 result = (wxString *) &_result_ref;
16371 }
16372
16373 wxPyEndAllowThreads(__tstate);
16374 if (PyErr_Occurred()) SWIG_fail;
16375 }
16376 {
16377 #if wxUSE_UNICODE
16378 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16379 #else
16380 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16381 #endif
16382 }
16383 return resultobj;
16384 fail:
16385 return NULL;
16386 }
16387
16388
16389 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16390 PyObject *resultobj;
16391 wxPrintData *arg1 = (wxPrintData *) 0 ;
16392 bool result;
16393 PyObject * obj0 = 0 ;
16394 char *kwnames[] = {
16395 (char *) "self", NULL
16396 };
16397
16398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
16399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16401 {
16402 PyThreadState* __tstate = wxPyBeginAllowThreads();
16403 result = (bool)(arg1)->GetColour();
16404
16405 wxPyEndAllowThreads(__tstate);
16406 if (PyErr_Occurred()) SWIG_fail;
16407 }
16408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16409 return resultobj;
16410 fail:
16411 return NULL;
16412 }
16413
16414
16415 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
16416 PyObject *resultobj;
16417 wxPrintData *arg1 = (wxPrintData *) 0 ;
16418 int result;
16419 PyObject * obj0 = 0 ;
16420 char *kwnames[] = {
16421 (char *) "self", NULL
16422 };
16423
16424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
16425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16427 {
16428 PyThreadState* __tstate = wxPyBeginAllowThreads();
16429 result = (int)(arg1)->GetDuplex();
16430
16431 wxPyEndAllowThreads(__tstate);
16432 if (PyErr_Occurred()) SWIG_fail;
16433 }
16434 resultobj = SWIG_FromInt((int)result);
16435 return resultobj;
16436 fail:
16437 return NULL;
16438 }
16439
16440
16441 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16442 PyObject *resultobj;
16443 wxPrintData *arg1 = (wxPrintData *) 0 ;
16444 int result;
16445 PyObject * obj0 = 0 ;
16446 char *kwnames[] = {
16447 (char *) "self", NULL
16448 };
16449
16450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
16451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16453 {
16454 PyThreadState* __tstate = wxPyBeginAllowThreads();
16455 result = (int)(arg1)->GetPaperId();
16456
16457 wxPyEndAllowThreads(__tstate);
16458 if (PyErr_Occurred()) SWIG_fail;
16459 }
16460 resultobj = SWIG_FromInt((int)result);
16461 return resultobj;
16462 fail:
16463 return NULL;
16464 }
16465
16466
16467 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16468 PyObject *resultobj;
16469 wxPrintData *arg1 = (wxPrintData *) 0 ;
16470 wxSize *result;
16471 PyObject * obj0 = 0 ;
16472 char *kwnames[] = {
16473 (char *) "self", NULL
16474 };
16475
16476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
16477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16479 {
16480 PyThreadState* __tstate = wxPyBeginAllowThreads();
16481 {
16482 wxSize const &_result_ref = (arg1)->GetPaperSize();
16483 result = (wxSize *) &_result_ref;
16484 }
16485
16486 wxPyEndAllowThreads(__tstate);
16487 if (PyErr_Occurred()) SWIG_fail;
16488 }
16489 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
16490 return resultobj;
16491 fail:
16492 return NULL;
16493 }
16494
16495
16496 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
16497 PyObject *resultobj;
16498 wxPrintData *arg1 = (wxPrintData *) 0 ;
16499 int result;
16500 PyObject * obj0 = 0 ;
16501 char *kwnames[] = {
16502 (char *) "self", NULL
16503 };
16504
16505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
16506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16508 {
16509 PyThreadState* __tstate = wxPyBeginAllowThreads();
16510 result = (int)(arg1)->GetQuality();
16511
16512 wxPyEndAllowThreads(__tstate);
16513 if (PyErr_Occurred()) SWIG_fail;
16514 }
16515 resultobj = SWIG_FromInt((int)result);
16516 return resultobj;
16517 fail:
16518 return NULL;
16519 }
16520
16521
16522 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
16523 PyObject *resultobj;
16524 wxPrintData *arg1 = (wxPrintData *) 0 ;
16525 int arg2 ;
16526 PyObject * obj0 = 0 ;
16527 PyObject * obj1 = 0 ;
16528 char *kwnames[] = {
16529 (char *) "self",(char *) "v", NULL
16530 };
16531
16532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
16533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16535 arg2 = (int) SWIG_AsInt(obj1);
16536 if (PyErr_Occurred()) SWIG_fail;
16537 {
16538 PyThreadState* __tstate = wxPyBeginAllowThreads();
16539 (arg1)->SetNoCopies(arg2);
16540
16541 wxPyEndAllowThreads(__tstate);
16542 if (PyErr_Occurred()) SWIG_fail;
16543 }
16544 Py_INCREF(Py_None); resultobj = Py_None;
16545 return resultobj;
16546 fail:
16547 return NULL;
16548 }
16549
16550
16551 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
16552 PyObject *resultobj;
16553 wxPrintData *arg1 = (wxPrintData *) 0 ;
16554 bool arg2 ;
16555 PyObject * obj0 = 0 ;
16556 PyObject * obj1 = 0 ;
16557 char *kwnames[] = {
16558 (char *) "self",(char *) "flag", NULL
16559 };
16560
16561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
16562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16564 arg2 = (bool) SWIG_AsBool(obj1);
16565 if (PyErr_Occurred()) SWIG_fail;
16566 {
16567 PyThreadState* __tstate = wxPyBeginAllowThreads();
16568 (arg1)->SetCollate(arg2);
16569
16570 wxPyEndAllowThreads(__tstate);
16571 if (PyErr_Occurred()) SWIG_fail;
16572 }
16573 Py_INCREF(Py_None); resultobj = Py_None;
16574 return resultobj;
16575 fail:
16576 return NULL;
16577 }
16578
16579
16580 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16581 PyObject *resultobj;
16582 wxPrintData *arg1 = (wxPrintData *) 0 ;
16583 int arg2 ;
16584 PyObject * obj0 = 0 ;
16585 PyObject * obj1 = 0 ;
16586 char *kwnames[] = {
16587 (char *) "self",(char *) "orient", NULL
16588 };
16589
16590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
16591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16593 arg2 = (int) SWIG_AsInt(obj1);
16594 if (PyErr_Occurred()) SWIG_fail;
16595 {
16596 PyThreadState* __tstate = wxPyBeginAllowThreads();
16597 (arg1)->SetOrientation(arg2);
16598
16599 wxPyEndAllowThreads(__tstate);
16600 if (PyErr_Occurred()) SWIG_fail;
16601 }
16602 Py_INCREF(Py_None); resultobj = Py_None;
16603 return resultobj;
16604 fail:
16605 return NULL;
16606 }
16607
16608
16609 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
16610 PyObject *resultobj;
16611 wxPrintData *arg1 = (wxPrintData *) 0 ;
16612 wxString *arg2 = 0 ;
16613 bool temp2 = False ;
16614 PyObject * obj0 = 0 ;
16615 PyObject * obj1 = 0 ;
16616 char *kwnames[] = {
16617 (char *) "self",(char *) "name", NULL
16618 };
16619
16620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
16621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16623 {
16624 arg2 = wxString_in_helper(obj1);
16625 if (arg2 == NULL) SWIG_fail;
16626 temp2 = True;
16627 }
16628 {
16629 PyThreadState* __tstate = wxPyBeginAllowThreads();
16630 (arg1)->SetPrinterName((wxString const &)*arg2);
16631
16632 wxPyEndAllowThreads(__tstate);
16633 if (PyErr_Occurred()) SWIG_fail;
16634 }
16635 Py_INCREF(Py_None); resultobj = Py_None;
16636 {
16637 if (temp2)
16638 delete arg2;
16639 }
16640 return resultobj;
16641 fail:
16642 {
16643 if (temp2)
16644 delete arg2;
16645 }
16646 return NULL;
16647 }
16648
16649
16650 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16651 PyObject *resultobj;
16652 wxPrintData *arg1 = (wxPrintData *) 0 ;
16653 bool arg2 ;
16654 PyObject * obj0 = 0 ;
16655 PyObject * obj1 = 0 ;
16656 char *kwnames[] = {
16657 (char *) "self",(char *) "colour", NULL
16658 };
16659
16660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
16661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16663 arg2 = (bool) SWIG_AsBool(obj1);
16664 if (PyErr_Occurred()) SWIG_fail;
16665 {
16666 PyThreadState* __tstate = wxPyBeginAllowThreads();
16667 (arg1)->SetColour(arg2);
16668
16669 wxPyEndAllowThreads(__tstate);
16670 if (PyErr_Occurred()) SWIG_fail;
16671 }
16672 Py_INCREF(Py_None); resultobj = Py_None;
16673 return resultobj;
16674 fail:
16675 return NULL;
16676 }
16677
16678
16679 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
16680 PyObject *resultobj;
16681 wxPrintData *arg1 = (wxPrintData *) 0 ;
16682 int arg2 ;
16683 PyObject * obj0 = 0 ;
16684 PyObject * obj1 = 0 ;
16685 char *kwnames[] = {
16686 (char *) "self",(char *) "duplex", NULL
16687 };
16688
16689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
16690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16692 arg2 = (wxDuplexMode) SWIG_AsInt(obj1);
16693 if (PyErr_Occurred()) SWIG_fail;
16694 {
16695 PyThreadState* __tstate = wxPyBeginAllowThreads();
16696 (arg1)->SetDuplex((wxDuplexMode )arg2);
16697
16698 wxPyEndAllowThreads(__tstate);
16699 if (PyErr_Occurred()) SWIG_fail;
16700 }
16701 Py_INCREF(Py_None); resultobj = Py_None;
16702 return resultobj;
16703 fail:
16704 return NULL;
16705 }
16706
16707
16708 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16709 PyObject *resultobj;
16710 wxPrintData *arg1 = (wxPrintData *) 0 ;
16711 int arg2 ;
16712 PyObject * obj0 = 0 ;
16713 PyObject * obj1 = 0 ;
16714 char *kwnames[] = {
16715 (char *) "self",(char *) "sizeId", NULL
16716 };
16717
16718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
16719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16721 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
16722 if (PyErr_Occurred()) SWIG_fail;
16723 {
16724 PyThreadState* __tstate = wxPyBeginAllowThreads();
16725 (arg1)->SetPaperId((wxPaperSize )arg2);
16726
16727 wxPyEndAllowThreads(__tstate);
16728 if (PyErr_Occurred()) SWIG_fail;
16729 }
16730 Py_INCREF(Py_None); resultobj = Py_None;
16731 return resultobj;
16732 fail:
16733 return NULL;
16734 }
16735
16736
16737 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16738 PyObject *resultobj;
16739 wxPrintData *arg1 = (wxPrintData *) 0 ;
16740 wxSize *arg2 = 0 ;
16741 wxSize temp2 ;
16742 PyObject * obj0 = 0 ;
16743 PyObject * obj1 = 0 ;
16744 char *kwnames[] = {
16745 (char *) "self",(char *) "sz", NULL
16746 };
16747
16748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
16749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16751 {
16752 arg2 = &temp2;
16753 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16754 }
16755 {
16756 PyThreadState* __tstate = wxPyBeginAllowThreads();
16757 (arg1)->SetPaperSize((wxSize const &)*arg2);
16758
16759 wxPyEndAllowThreads(__tstate);
16760 if (PyErr_Occurred()) SWIG_fail;
16761 }
16762 Py_INCREF(Py_None); resultobj = Py_None;
16763 return resultobj;
16764 fail:
16765 return NULL;
16766 }
16767
16768
16769 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
16770 PyObject *resultobj;
16771 wxPrintData *arg1 = (wxPrintData *) 0 ;
16772 int arg2 ;
16773 PyObject * obj0 = 0 ;
16774 PyObject * obj1 = 0 ;
16775 char *kwnames[] = {
16776 (char *) "self",(char *) "quality", NULL
16777 };
16778
16779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
16780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16782 arg2 = (int) SWIG_AsInt(obj1);
16783 if (PyErr_Occurred()) SWIG_fail;
16784 {
16785 PyThreadState* __tstate = wxPyBeginAllowThreads();
16786 (arg1)->SetQuality(arg2);
16787
16788 wxPyEndAllowThreads(__tstate);
16789 if (PyErr_Occurred()) SWIG_fail;
16790 }
16791 Py_INCREF(Py_None); resultobj = Py_None;
16792 return resultobj;
16793 fail:
16794 return NULL;
16795 }
16796
16797
16798 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
16799 PyObject *resultobj;
16800 wxPrintData *arg1 = (wxPrintData *) 0 ;
16801 wxString *result;
16802 PyObject * obj0 = 0 ;
16803 char *kwnames[] = {
16804 (char *) "self", NULL
16805 };
16806
16807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
16808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16810 {
16811 PyThreadState* __tstate = wxPyBeginAllowThreads();
16812 {
16813 wxString const &_result_ref = (arg1)->GetPrinterCommand();
16814 result = (wxString *) &_result_ref;
16815 }
16816
16817 wxPyEndAllowThreads(__tstate);
16818 if (PyErr_Occurred()) SWIG_fail;
16819 }
16820 {
16821 #if wxUSE_UNICODE
16822 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16823 #else
16824 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16825 #endif
16826 }
16827 return resultobj;
16828 fail:
16829 return NULL;
16830 }
16831
16832
16833 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
16834 PyObject *resultobj;
16835 wxPrintData *arg1 = (wxPrintData *) 0 ;
16836 wxString *result;
16837 PyObject * obj0 = 0 ;
16838 char *kwnames[] = {
16839 (char *) "self", NULL
16840 };
16841
16842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
16843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16845 {
16846 PyThreadState* __tstate = wxPyBeginAllowThreads();
16847 {
16848 wxString const &_result_ref = (arg1)->GetPrinterOptions();
16849 result = (wxString *) &_result_ref;
16850 }
16851
16852 wxPyEndAllowThreads(__tstate);
16853 if (PyErr_Occurred()) SWIG_fail;
16854 }
16855 {
16856 #if wxUSE_UNICODE
16857 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16858 #else
16859 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16860 #endif
16861 }
16862 return resultobj;
16863 fail:
16864 return NULL;
16865 }
16866
16867
16868 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
16869 PyObject *resultobj;
16870 wxPrintData *arg1 = (wxPrintData *) 0 ;
16871 wxString *result;
16872 PyObject * obj0 = 0 ;
16873 char *kwnames[] = {
16874 (char *) "self", NULL
16875 };
16876
16877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
16878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16880 {
16881 PyThreadState* __tstate = wxPyBeginAllowThreads();
16882 {
16883 wxString const &_result_ref = (arg1)->GetPreviewCommand();
16884 result = (wxString *) &_result_ref;
16885 }
16886
16887 wxPyEndAllowThreads(__tstate);
16888 if (PyErr_Occurred()) SWIG_fail;
16889 }
16890 {
16891 #if wxUSE_UNICODE
16892 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16893 #else
16894 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16895 #endif
16896 }
16897 return resultobj;
16898 fail:
16899 return NULL;
16900 }
16901
16902
16903 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
16904 PyObject *resultobj;
16905 wxPrintData *arg1 = (wxPrintData *) 0 ;
16906 wxString *result;
16907 PyObject * obj0 = 0 ;
16908 char *kwnames[] = {
16909 (char *) "self", NULL
16910 };
16911
16912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
16913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16915 {
16916 PyThreadState* __tstate = wxPyBeginAllowThreads();
16917 {
16918 wxString const &_result_ref = (arg1)->GetFilename();
16919 result = (wxString *) &_result_ref;
16920 }
16921
16922 wxPyEndAllowThreads(__tstate);
16923 if (PyErr_Occurred()) SWIG_fail;
16924 }
16925 {
16926 #if wxUSE_UNICODE
16927 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16928 #else
16929 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16930 #endif
16931 }
16932 return resultobj;
16933 fail:
16934 return NULL;
16935 }
16936
16937
16938 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
16939 PyObject *resultobj;
16940 wxPrintData *arg1 = (wxPrintData *) 0 ;
16941 wxString *result;
16942 PyObject * obj0 = 0 ;
16943 char *kwnames[] = {
16944 (char *) "self", NULL
16945 };
16946
16947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
16948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16950 {
16951 PyThreadState* __tstate = wxPyBeginAllowThreads();
16952 {
16953 wxString const &_result_ref = (arg1)->GetFontMetricPath();
16954 result = (wxString *) &_result_ref;
16955 }
16956
16957 wxPyEndAllowThreads(__tstate);
16958 if (PyErr_Occurred()) SWIG_fail;
16959 }
16960 {
16961 #if wxUSE_UNICODE
16962 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16963 #else
16964 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16965 #endif
16966 }
16967 return resultobj;
16968 fail:
16969 return NULL;
16970 }
16971
16972
16973 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
16974 PyObject *resultobj;
16975 wxPrintData *arg1 = (wxPrintData *) 0 ;
16976 double result;
16977 PyObject * obj0 = 0 ;
16978 char *kwnames[] = {
16979 (char *) "self", NULL
16980 };
16981
16982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
16983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16985 {
16986 PyThreadState* __tstate = wxPyBeginAllowThreads();
16987 result = (double)(arg1)->GetPrinterScaleX();
16988
16989 wxPyEndAllowThreads(__tstate);
16990 if (PyErr_Occurred()) SWIG_fail;
16991 }
16992 resultobj = SWIG_FromDouble((double)result);
16993 return resultobj;
16994 fail:
16995 return NULL;
16996 }
16997
16998
16999 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
17000 PyObject *resultobj;
17001 wxPrintData *arg1 = (wxPrintData *) 0 ;
17002 double result;
17003 PyObject * obj0 = 0 ;
17004 char *kwnames[] = {
17005 (char *) "self", NULL
17006 };
17007
17008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
17009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17011 {
17012 PyThreadState* __tstate = wxPyBeginAllowThreads();
17013 result = (double)(arg1)->GetPrinterScaleY();
17014
17015 wxPyEndAllowThreads(__tstate);
17016 if (PyErr_Occurred()) SWIG_fail;
17017 }
17018 resultobj = SWIG_FromDouble((double)result);
17019 return resultobj;
17020 fail:
17021 return NULL;
17022 }
17023
17024
17025 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
17026 PyObject *resultobj;
17027 wxPrintData *arg1 = (wxPrintData *) 0 ;
17028 long result;
17029 PyObject * obj0 = 0 ;
17030 char *kwnames[] = {
17031 (char *) "self", NULL
17032 };
17033
17034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
17035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17037 {
17038 PyThreadState* __tstate = wxPyBeginAllowThreads();
17039 result = (long)(arg1)->GetPrinterTranslateX();
17040
17041 wxPyEndAllowThreads(__tstate);
17042 if (PyErr_Occurred()) SWIG_fail;
17043 }
17044 resultobj = SWIG_FromLong((long)result);
17045 return resultobj;
17046 fail:
17047 return NULL;
17048 }
17049
17050
17051 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
17052 PyObject *resultobj;
17053 wxPrintData *arg1 = (wxPrintData *) 0 ;
17054 long result;
17055 PyObject * obj0 = 0 ;
17056 char *kwnames[] = {
17057 (char *) "self", NULL
17058 };
17059
17060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
17061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17063 {
17064 PyThreadState* __tstate = wxPyBeginAllowThreads();
17065 result = (long)(arg1)->GetPrinterTranslateY();
17066
17067 wxPyEndAllowThreads(__tstate);
17068 if (PyErr_Occurred()) SWIG_fail;
17069 }
17070 resultobj = SWIG_FromLong((long)result);
17071 return resultobj;
17072 fail:
17073 return NULL;
17074 }
17075
17076
17077 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
17078 PyObject *resultobj;
17079 wxPrintData *arg1 = (wxPrintData *) 0 ;
17080 int result;
17081 PyObject * obj0 = 0 ;
17082 char *kwnames[] = {
17083 (char *) "self", NULL
17084 };
17085
17086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
17087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17089 {
17090 PyThreadState* __tstate = wxPyBeginAllowThreads();
17091 result = (int)(arg1)->GetPrintMode();
17092
17093 wxPyEndAllowThreads(__tstate);
17094 if (PyErr_Occurred()) SWIG_fail;
17095 }
17096 resultobj = SWIG_FromInt((int)result);
17097 return resultobj;
17098 fail:
17099 return NULL;
17100 }
17101
17102
17103 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
17104 PyObject *resultobj;
17105 wxPrintData *arg1 = (wxPrintData *) 0 ;
17106 wxString *arg2 = 0 ;
17107 bool temp2 = False ;
17108 PyObject * obj0 = 0 ;
17109 PyObject * obj1 = 0 ;
17110 char *kwnames[] = {
17111 (char *) "self",(char *) "command", NULL
17112 };
17113
17114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
17115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17117 {
17118 arg2 = wxString_in_helper(obj1);
17119 if (arg2 == NULL) SWIG_fail;
17120 temp2 = True;
17121 }
17122 {
17123 PyThreadState* __tstate = wxPyBeginAllowThreads();
17124 (arg1)->SetPrinterCommand((wxString const &)*arg2);
17125
17126 wxPyEndAllowThreads(__tstate);
17127 if (PyErr_Occurred()) SWIG_fail;
17128 }
17129 Py_INCREF(Py_None); resultobj = Py_None;
17130 {
17131 if (temp2)
17132 delete arg2;
17133 }
17134 return resultobj;
17135 fail:
17136 {
17137 if (temp2)
17138 delete arg2;
17139 }
17140 return NULL;
17141 }
17142
17143
17144 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
17145 PyObject *resultobj;
17146 wxPrintData *arg1 = (wxPrintData *) 0 ;
17147 wxString *arg2 = 0 ;
17148 bool temp2 = False ;
17149 PyObject * obj0 = 0 ;
17150 PyObject * obj1 = 0 ;
17151 char *kwnames[] = {
17152 (char *) "self",(char *) "options", NULL
17153 };
17154
17155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
17156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17158 {
17159 arg2 = wxString_in_helper(obj1);
17160 if (arg2 == NULL) SWIG_fail;
17161 temp2 = True;
17162 }
17163 {
17164 PyThreadState* __tstate = wxPyBeginAllowThreads();
17165 (arg1)->SetPrinterOptions((wxString const &)*arg2);
17166
17167 wxPyEndAllowThreads(__tstate);
17168 if (PyErr_Occurred()) SWIG_fail;
17169 }
17170 Py_INCREF(Py_None); resultobj = Py_None;
17171 {
17172 if (temp2)
17173 delete arg2;
17174 }
17175 return resultobj;
17176 fail:
17177 {
17178 if (temp2)
17179 delete arg2;
17180 }
17181 return NULL;
17182 }
17183
17184
17185 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
17186 PyObject *resultobj;
17187 wxPrintData *arg1 = (wxPrintData *) 0 ;
17188 wxString *arg2 = 0 ;
17189 bool temp2 = False ;
17190 PyObject * obj0 = 0 ;
17191 PyObject * obj1 = 0 ;
17192 char *kwnames[] = {
17193 (char *) "self",(char *) "command", NULL
17194 };
17195
17196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
17197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17199 {
17200 arg2 = wxString_in_helper(obj1);
17201 if (arg2 == NULL) SWIG_fail;
17202 temp2 = True;
17203 }
17204 {
17205 PyThreadState* __tstate = wxPyBeginAllowThreads();
17206 (arg1)->SetPreviewCommand((wxString const &)*arg2);
17207
17208 wxPyEndAllowThreads(__tstate);
17209 if (PyErr_Occurred()) SWIG_fail;
17210 }
17211 Py_INCREF(Py_None); resultobj = Py_None;
17212 {
17213 if (temp2)
17214 delete arg2;
17215 }
17216 return resultobj;
17217 fail:
17218 {
17219 if (temp2)
17220 delete arg2;
17221 }
17222 return NULL;
17223 }
17224
17225
17226 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
17227 PyObject *resultobj;
17228 wxPrintData *arg1 = (wxPrintData *) 0 ;
17229 wxString *arg2 = 0 ;
17230 bool temp2 = False ;
17231 PyObject * obj0 = 0 ;
17232 PyObject * obj1 = 0 ;
17233 char *kwnames[] = {
17234 (char *) "self",(char *) "filename", NULL
17235 };
17236
17237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
17238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17240 {
17241 arg2 = wxString_in_helper(obj1);
17242 if (arg2 == NULL) SWIG_fail;
17243 temp2 = True;
17244 }
17245 {
17246 PyThreadState* __tstate = wxPyBeginAllowThreads();
17247 (arg1)->SetFilename((wxString const &)*arg2);
17248
17249 wxPyEndAllowThreads(__tstate);
17250 if (PyErr_Occurred()) SWIG_fail;
17251 }
17252 Py_INCREF(Py_None); resultobj = Py_None;
17253 {
17254 if (temp2)
17255 delete arg2;
17256 }
17257 return resultobj;
17258 fail:
17259 {
17260 if (temp2)
17261 delete arg2;
17262 }
17263 return NULL;
17264 }
17265
17266
17267 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
17268 PyObject *resultobj;
17269 wxPrintData *arg1 = (wxPrintData *) 0 ;
17270 wxString *arg2 = 0 ;
17271 bool temp2 = False ;
17272 PyObject * obj0 = 0 ;
17273 PyObject * obj1 = 0 ;
17274 char *kwnames[] = {
17275 (char *) "self",(char *) "path", NULL
17276 };
17277
17278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
17279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17281 {
17282 arg2 = wxString_in_helper(obj1);
17283 if (arg2 == NULL) SWIG_fail;
17284 temp2 = True;
17285 }
17286 {
17287 PyThreadState* __tstate = wxPyBeginAllowThreads();
17288 (arg1)->SetFontMetricPath((wxString const &)*arg2);
17289
17290 wxPyEndAllowThreads(__tstate);
17291 if (PyErr_Occurred()) SWIG_fail;
17292 }
17293 Py_INCREF(Py_None); resultobj = Py_None;
17294 {
17295 if (temp2)
17296 delete arg2;
17297 }
17298 return resultobj;
17299 fail:
17300 {
17301 if (temp2)
17302 delete arg2;
17303 }
17304 return NULL;
17305 }
17306
17307
17308 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
17309 PyObject *resultobj;
17310 wxPrintData *arg1 = (wxPrintData *) 0 ;
17311 double arg2 ;
17312 PyObject * obj0 = 0 ;
17313 PyObject * obj1 = 0 ;
17314 char *kwnames[] = {
17315 (char *) "self",(char *) "x", NULL
17316 };
17317
17318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
17319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17321 arg2 = (double) SWIG_AsDouble(obj1);
17322 if (PyErr_Occurred()) SWIG_fail;
17323 {
17324 PyThreadState* __tstate = wxPyBeginAllowThreads();
17325 (arg1)->SetPrinterScaleX(arg2);
17326
17327 wxPyEndAllowThreads(__tstate);
17328 if (PyErr_Occurred()) SWIG_fail;
17329 }
17330 Py_INCREF(Py_None); resultobj = Py_None;
17331 return resultobj;
17332 fail:
17333 return NULL;
17334 }
17335
17336
17337 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
17338 PyObject *resultobj;
17339 wxPrintData *arg1 = (wxPrintData *) 0 ;
17340 double arg2 ;
17341 PyObject * obj0 = 0 ;
17342 PyObject * obj1 = 0 ;
17343 char *kwnames[] = {
17344 (char *) "self",(char *) "y", NULL
17345 };
17346
17347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
17348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17350 arg2 = (double) SWIG_AsDouble(obj1);
17351 if (PyErr_Occurred()) SWIG_fail;
17352 {
17353 PyThreadState* __tstate = wxPyBeginAllowThreads();
17354 (arg1)->SetPrinterScaleY(arg2);
17355
17356 wxPyEndAllowThreads(__tstate);
17357 if (PyErr_Occurred()) SWIG_fail;
17358 }
17359 Py_INCREF(Py_None); resultobj = Py_None;
17360 return resultobj;
17361 fail:
17362 return NULL;
17363 }
17364
17365
17366 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
17367 PyObject *resultobj;
17368 wxPrintData *arg1 = (wxPrintData *) 0 ;
17369 double arg2 ;
17370 double arg3 ;
17371 PyObject * obj0 = 0 ;
17372 PyObject * obj1 = 0 ;
17373 PyObject * obj2 = 0 ;
17374 char *kwnames[] = {
17375 (char *) "self",(char *) "x",(char *) "y", NULL
17376 };
17377
17378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
17379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17381 arg2 = (double) SWIG_AsDouble(obj1);
17382 if (PyErr_Occurred()) SWIG_fail;
17383 arg3 = (double) SWIG_AsDouble(obj2);
17384 if (PyErr_Occurred()) SWIG_fail;
17385 {
17386 PyThreadState* __tstate = wxPyBeginAllowThreads();
17387 (arg1)->SetPrinterScaling(arg2,arg3);
17388
17389 wxPyEndAllowThreads(__tstate);
17390 if (PyErr_Occurred()) SWIG_fail;
17391 }
17392 Py_INCREF(Py_None); resultobj = Py_None;
17393 return resultobj;
17394 fail:
17395 return NULL;
17396 }
17397
17398
17399 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
17400 PyObject *resultobj;
17401 wxPrintData *arg1 = (wxPrintData *) 0 ;
17402 long arg2 ;
17403 PyObject * obj0 = 0 ;
17404 PyObject * obj1 = 0 ;
17405 char *kwnames[] = {
17406 (char *) "self",(char *) "x", NULL
17407 };
17408
17409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
17410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17412 arg2 = (long) SWIG_AsLong(obj1);
17413 if (PyErr_Occurred()) SWIG_fail;
17414 {
17415 PyThreadState* __tstate = wxPyBeginAllowThreads();
17416 (arg1)->SetPrinterTranslateX(arg2);
17417
17418 wxPyEndAllowThreads(__tstate);
17419 if (PyErr_Occurred()) SWIG_fail;
17420 }
17421 Py_INCREF(Py_None); resultobj = Py_None;
17422 return resultobj;
17423 fail:
17424 return NULL;
17425 }
17426
17427
17428 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
17429 PyObject *resultobj;
17430 wxPrintData *arg1 = (wxPrintData *) 0 ;
17431 long arg2 ;
17432 PyObject * obj0 = 0 ;
17433 PyObject * obj1 = 0 ;
17434 char *kwnames[] = {
17435 (char *) "self",(char *) "y", NULL
17436 };
17437
17438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
17439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17441 arg2 = (long) SWIG_AsLong(obj1);
17442 if (PyErr_Occurred()) SWIG_fail;
17443 {
17444 PyThreadState* __tstate = wxPyBeginAllowThreads();
17445 (arg1)->SetPrinterTranslateY(arg2);
17446
17447 wxPyEndAllowThreads(__tstate);
17448 if (PyErr_Occurred()) SWIG_fail;
17449 }
17450 Py_INCREF(Py_None); resultobj = Py_None;
17451 return resultobj;
17452 fail:
17453 return NULL;
17454 }
17455
17456
17457 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
17458 PyObject *resultobj;
17459 wxPrintData *arg1 = (wxPrintData *) 0 ;
17460 long arg2 ;
17461 long arg3 ;
17462 PyObject * obj0 = 0 ;
17463 PyObject * obj1 = 0 ;
17464 PyObject * obj2 = 0 ;
17465 char *kwnames[] = {
17466 (char *) "self",(char *) "x",(char *) "y", NULL
17467 };
17468
17469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
17470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17472 arg2 = (long) SWIG_AsLong(obj1);
17473 if (PyErr_Occurred()) SWIG_fail;
17474 arg3 = (long) SWIG_AsLong(obj2);
17475 if (PyErr_Occurred()) SWIG_fail;
17476 {
17477 PyThreadState* __tstate = wxPyBeginAllowThreads();
17478 (arg1)->SetPrinterTranslation(arg2,arg3);
17479
17480 wxPyEndAllowThreads(__tstate);
17481 if (PyErr_Occurred()) SWIG_fail;
17482 }
17483 Py_INCREF(Py_None); resultobj = Py_None;
17484 return resultobj;
17485 fail:
17486 return NULL;
17487 }
17488
17489
17490 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
17491 PyObject *resultobj;
17492 wxPrintData *arg1 = (wxPrintData *) 0 ;
17493 int arg2 ;
17494 PyObject * obj0 = 0 ;
17495 PyObject * obj1 = 0 ;
17496 char *kwnames[] = {
17497 (char *) "self",(char *) "printMode", NULL
17498 };
17499
17500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
17501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17503 arg2 = (wxPrintMode) SWIG_AsInt(obj1);
17504 if (PyErr_Occurred()) SWIG_fail;
17505 {
17506 PyThreadState* __tstate = wxPyBeginAllowThreads();
17507 (arg1)->SetPrintMode((wxPrintMode )arg2);
17508
17509 wxPyEndAllowThreads(__tstate);
17510 if (PyErr_Occurred()) SWIG_fail;
17511 }
17512 Py_INCREF(Py_None); resultobj = Py_None;
17513 return resultobj;
17514 fail:
17515 return NULL;
17516 }
17517
17518
17519 static PyObject *_wrap_PrintData_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
17520 PyObject *resultobj;
17521 wxPrintData *arg1 = (wxPrintData *) 0 ;
17522 wxOutputStream *result;
17523 PyObject * obj0 = 0 ;
17524 char *kwnames[] = {
17525 (char *) "self", NULL
17526 };
17527
17528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
17529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17531 {
17532 PyThreadState* __tstate = wxPyBeginAllowThreads();
17533 result = (wxOutputStream *)(arg1)->GetOutputStream();
17534
17535 wxPyEndAllowThreads(__tstate);
17536 if (PyErr_Occurred()) SWIG_fail;
17537 }
17538 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
17539 return resultobj;
17540 fail:
17541 return NULL;
17542 }
17543
17544
17545 static PyObject *_wrap_PrintData_SetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
17546 PyObject *resultobj;
17547 wxPrintData *arg1 = (wxPrintData *) 0 ;
17548 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
17549 PyObject * obj0 = 0 ;
17550 PyObject * obj1 = 0 ;
17551 char *kwnames[] = {
17552 (char *) "self",(char *) "outputstream", NULL
17553 };
17554
17555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
17556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17558 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
17559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17560 {
17561 PyThreadState* __tstate = wxPyBeginAllowThreads();
17562 (arg1)->SetOutputStream(arg2);
17563
17564 wxPyEndAllowThreads(__tstate);
17565 if (PyErr_Occurred()) SWIG_fail;
17566 }
17567 Py_INCREF(Py_None); resultobj = Py_None;
17568 return resultobj;
17569 fail:
17570 return NULL;
17571 }
17572
17573
17574 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
17575 PyObject *obj;
17576 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17577 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
17578 Py_INCREF(obj);
17579 return Py_BuildValue((char *)"");
17580 }
17581 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17582 PyObject *resultobj;
17583 wxPageSetupDialogData *result;
17584 char *kwnames[] = {
17585 NULL
17586 };
17587
17588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
17589 {
17590 PyThreadState* __tstate = wxPyBeginAllowThreads();
17591 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
17592
17593 wxPyEndAllowThreads(__tstate);
17594 if (PyErr_Occurred()) SWIG_fail;
17595 }
17596 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
17597 return resultobj;
17598 fail:
17599 return NULL;
17600 }
17601
17602
17603 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17604 PyObject *resultobj;
17605 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17606 PyObject * obj0 = 0 ;
17607 char *kwnames[] = {
17608 (char *) "self", NULL
17609 };
17610
17611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
17612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17614 {
17615 PyThreadState* __tstate = wxPyBeginAllowThreads();
17616 delete arg1;
17617
17618 wxPyEndAllowThreads(__tstate);
17619 if (PyErr_Occurred()) SWIG_fail;
17620 }
17621 Py_INCREF(Py_None); resultobj = Py_None;
17622 return resultobj;
17623 fail:
17624 return NULL;
17625 }
17626
17627
17628 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17629 PyObject *resultobj;
17630 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17631 bool arg2 ;
17632 PyObject * obj0 = 0 ;
17633 PyObject * obj1 = 0 ;
17634 char *kwnames[] = {
17635 (char *) "self",(char *) "flag", NULL
17636 };
17637
17638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
17639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17641 arg2 = (bool) SWIG_AsBool(obj1);
17642 if (PyErr_Occurred()) SWIG_fail;
17643 {
17644 PyThreadState* __tstate = wxPyBeginAllowThreads();
17645 (arg1)->EnableHelp(arg2);
17646
17647 wxPyEndAllowThreads(__tstate);
17648 if (PyErr_Occurred()) SWIG_fail;
17649 }
17650 Py_INCREF(Py_None); resultobj = Py_None;
17651 return resultobj;
17652 fail:
17653 return NULL;
17654 }
17655
17656
17657 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17658 PyObject *resultobj;
17659 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17660 bool arg2 ;
17661 PyObject * obj0 = 0 ;
17662 PyObject * obj1 = 0 ;
17663 char *kwnames[] = {
17664 (char *) "self",(char *) "flag", NULL
17665 };
17666
17667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
17668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17670 arg2 = (bool) SWIG_AsBool(obj1);
17671 if (PyErr_Occurred()) SWIG_fail;
17672 {
17673 PyThreadState* __tstate = wxPyBeginAllowThreads();
17674 (arg1)->EnableMargins(arg2);
17675
17676 wxPyEndAllowThreads(__tstate);
17677 if (PyErr_Occurred()) SWIG_fail;
17678 }
17679 Py_INCREF(Py_None); resultobj = Py_None;
17680 return resultobj;
17681 fail:
17682 return NULL;
17683 }
17684
17685
17686 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17687 PyObject *resultobj;
17688 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17689 bool arg2 ;
17690 PyObject * obj0 = 0 ;
17691 PyObject * obj1 = 0 ;
17692 char *kwnames[] = {
17693 (char *) "self",(char *) "flag", NULL
17694 };
17695
17696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
17697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17699 arg2 = (bool) SWIG_AsBool(obj1);
17700 if (PyErr_Occurred()) SWIG_fail;
17701 {
17702 PyThreadState* __tstate = wxPyBeginAllowThreads();
17703 (arg1)->EnableOrientation(arg2);
17704
17705 wxPyEndAllowThreads(__tstate);
17706 if (PyErr_Occurred()) SWIG_fail;
17707 }
17708 Py_INCREF(Py_None); resultobj = Py_None;
17709 return resultobj;
17710 fail:
17711 return NULL;
17712 }
17713
17714
17715 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
17716 PyObject *resultobj;
17717 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17718 bool arg2 ;
17719 PyObject * obj0 = 0 ;
17720 PyObject * obj1 = 0 ;
17721 char *kwnames[] = {
17722 (char *) "self",(char *) "flag", NULL
17723 };
17724
17725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
17726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17728 arg2 = (bool) SWIG_AsBool(obj1);
17729 if (PyErr_Occurred()) SWIG_fail;
17730 {
17731 PyThreadState* __tstate = wxPyBeginAllowThreads();
17732 (arg1)->EnablePaper(arg2);
17733
17734 wxPyEndAllowThreads(__tstate);
17735 if (PyErr_Occurred()) SWIG_fail;
17736 }
17737 Py_INCREF(Py_None); resultobj = Py_None;
17738 return resultobj;
17739 fail:
17740 return NULL;
17741 }
17742
17743
17744 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
17745 PyObject *resultobj;
17746 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17747 bool arg2 ;
17748 PyObject * obj0 = 0 ;
17749 PyObject * obj1 = 0 ;
17750 char *kwnames[] = {
17751 (char *) "self",(char *) "flag", NULL
17752 };
17753
17754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
17755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17757 arg2 = (bool) SWIG_AsBool(obj1);
17758 if (PyErr_Occurred()) SWIG_fail;
17759 {
17760 PyThreadState* __tstate = wxPyBeginAllowThreads();
17761 (arg1)->EnablePrinter(arg2);
17762
17763 wxPyEndAllowThreads(__tstate);
17764 if (PyErr_Occurred()) SWIG_fail;
17765 }
17766 Py_INCREF(Py_None); resultobj = Py_None;
17767 return resultobj;
17768 fail:
17769 return NULL;
17770 }
17771
17772
17773 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17774 PyObject *resultobj;
17775 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17776 bool result;
17777 PyObject * obj0 = 0 ;
17778 char *kwnames[] = {
17779 (char *) "self", NULL
17780 };
17781
17782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
17783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17785 {
17786 PyThreadState* __tstate = wxPyBeginAllowThreads();
17787 result = (bool)(arg1)->GetDefaultMinMargins();
17788
17789 wxPyEndAllowThreads(__tstate);
17790 if (PyErr_Occurred()) SWIG_fail;
17791 }
17792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17793 return resultobj;
17794 fail:
17795 return NULL;
17796 }
17797
17798
17799 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17800 PyObject *resultobj;
17801 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17802 bool result;
17803 PyObject * obj0 = 0 ;
17804 char *kwnames[] = {
17805 (char *) "self", NULL
17806 };
17807
17808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
17809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17811 {
17812 PyThreadState* __tstate = wxPyBeginAllowThreads();
17813 result = (bool)(arg1)->GetEnableMargins();
17814
17815 wxPyEndAllowThreads(__tstate);
17816 if (PyErr_Occurred()) SWIG_fail;
17817 }
17818 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17819 return resultobj;
17820 fail:
17821 return NULL;
17822 }
17823
17824
17825 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17826 PyObject *resultobj;
17827 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17828 bool result;
17829 PyObject * obj0 = 0 ;
17830 char *kwnames[] = {
17831 (char *) "self", NULL
17832 };
17833
17834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
17835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17837 {
17838 PyThreadState* __tstate = wxPyBeginAllowThreads();
17839 result = (bool)(arg1)->GetEnableOrientation();
17840
17841 wxPyEndAllowThreads(__tstate);
17842 if (PyErr_Occurred()) SWIG_fail;
17843 }
17844 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17845 return resultobj;
17846 fail:
17847 return NULL;
17848 }
17849
17850
17851 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
17852 PyObject *resultobj;
17853 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17854 bool result;
17855 PyObject * obj0 = 0 ;
17856 char *kwnames[] = {
17857 (char *) "self", NULL
17858 };
17859
17860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
17861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17863 {
17864 PyThreadState* __tstate = wxPyBeginAllowThreads();
17865 result = (bool)(arg1)->GetEnablePaper();
17866
17867 wxPyEndAllowThreads(__tstate);
17868 if (PyErr_Occurred()) SWIG_fail;
17869 }
17870 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17871 return resultobj;
17872 fail:
17873 return NULL;
17874 }
17875
17876
17877 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
17878 PyObject *resultobj;
17879 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17880 bool result;
17881 PyObject * obj0 = 0 ;
17882 char *kwnames[] = {
17883 (char *) "self", NULL
17884 };
17885
17886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
17887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17889 {
17890 PyThreadState* __tstate = wxPyBeginAllowThreads();
17891 result = (bool)(arg1)->GetEnablePrinter();
17892
17893 wxPyEndAllowThreads(__tstate);
17894 if (PyErr_Occurred()) SWIG_fail;
17895 }
17896 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17897 return resultobj;
17898 fail:
17899 return NULL;
17900 }
17901
17902
17903 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17904 PyObject *resultobj;
17905 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17906 bool result;
17907 PyObject * obj0 = 0 ;
17908 char *kwnames[] = {
17909 (char *) "self", NULL
17910 };
17911
17912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
17913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17915 {
17916 PyThreadState* __tstate = wxPyBeginAllowThreads();
17917 result = (bool)(arg1)->GetEnableHelp();
17918
17919 wxPyEndAllowThreads(__tstate);
17920 if (PyErr_Occurred()) SWIG_fail;
17921 }
17922 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17923 return resultobj;
17924 fail:
17925 return NULL;
17926 }
17927
17928
17929 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17930 PyObject *resultobj;
17931 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17932 bool result;
17933 PyObject * obj0 = 0 ;
17934 char *kwnames[] = {
17935 (char *) "self", NULL
17936 };
17937
17938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
17939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17941 {
17942 PyThreadState* __tstate = wxPyBeginAllowThreads();
17943 result = (bool)(arg1)->GetDefaultInfo();
17944
17945 wxPyEndAllowThreads(__tstate);
17946 if (PyErr_Occurred()) SWIG_fail;
17947 }
17948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17949 return resultobj;
17950 fail:
17951 return NULL;
17952 }
17953
17954
17955 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
17956 PyObject *resultobj;
17957 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17958 wxPoint result;
17959 PyObject * obj0 = 0 ;
17960 char *kwnames[] = {
17961 (char *) "self", NULL
17962 };
17963
17964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
17965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17967 {
17968 PyThreadState* __tstate = wxPyBeginAllowThreads();
17969 result = (arg1)->GetMarginTopLeft();
17970
17971 wxPyEndAllowThreads(__tstate);
17972 if (PyErr_Occurred()) SWIG_fail;
17973 }
17974 {
17975 wxPoint * resultptr;
17976 resultptr = new wxPoint((wxPoint &) result);
17977 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
17978 }
17979 return resultobj;
17980 fail:
17981 return NULL;
17982 }
17983
17984
17985 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
17986 PyObject *resultobj;
17987 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17988 wxPoint result;
17989 PyObject * obj0 = 0 ;
17990 char *kwnames[] = {
17991 (char *) "self", NULL
17992 };
17993
17994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
17995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17997 {
17998 PyThreadState* __tstate = wxPyBeginAllowThreads();
17999 result = (arg1)->GetMarginBottomRight();
18000
18001 wxPyEndAllowThreads(__tstate);
18002 if (PyErr_Occurred()) SWIG_fail;
18003 }
18004 {
18005 wxPoint * resultptr;
18006 resultptr = new wxPoint((wxPoint &) result);
18007 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
18008 }
18009 return resultobj;
18010 fail:
18011 return NULL;
18012 }
18013
18014
18015 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18016 PyObject *resultobj;
18017 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18018 wxPoint result;
18019 PyObject * obj0 = 0 ;
18020 char *kwnames[] = {
18021 (char *) "self", NULL
18022 };
18023
18024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
18025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18027 {
18028 PyThreadState* __tstate = wxPyBeginAllowThreads();
18029 result = (arg1)->GetMinMarginTopLeft();
18030
18031 wxPyEndAllowThreads(__tstate);
18032 if (PyErr_Occurred()) SWIG_fail;
18033 }
18034 {
18035 wxPoint * resultptr;
18036 resultptr = new wxPoint((wxPoint &) result);
18037 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
18038 }
18039 return resultobj;
18040 fail:
18041 return NULL;
18042 }
18043
18044
18045 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18046 PyObject *resultobj;
18047 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18048 wxPoint result;
18049 PyObject * obj0 = 0 ;
18050 char *kwnames[] = {
18051 (char *) "self", NULL
18052 };
18053
18054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
18055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18057 {
18058 PyThreadState* __tstate = wxPyBeginAllowThreads();
18059 result = (arg1)->GetMinMarginBottomRight();
18060
18061 wxPyEndAllowThreads(__tstate);
18062 if (PyErr_Occurred()) SWIG_fail;
18063 }
18064 {
18065 wxPoint * resultptr;
18066 resultptr = new wxPoint((wxPoint &) result);
18067 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
18068 }
18069 return resultobj;
18070 fail:
18071 return NULL;
18072 }
18073
18074
18075 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18076 PyObject *resultobj;
18077 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18078 int result;
18079 PyObject * obj0 = 0 ;
18080 char *kwnames[] = {
18081 (char *) "self", NULL
18082 };
18083
18084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
18085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18087 {
18088 PyThreadState* __tstate = wxPyBeginAllowThreads();
18089 result = (int)(arg1)->GetPaperId();
18090
18091 wxPyEndAllowThreads(__tstate);
18092 if (PyErr_Occurred()) SWIG_fail;
18093 }
18094 resultobj = SWIG_FromInt((int)result);
18095 return resultobj;
18096 fail:
18097 return NULL;
18098 }
18099
18100
18101 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18102 PyObject *resultobj;
18103 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18104 wxSize result;
18105 PyObject * obj0 = 0 ;
18106 char *kwnames[] = {
18107 (char *) "self", NULL
18108 };
18109
18110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
18111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18113 {
18114 PyThreadState* __tstate = wxPyBeginAllowThreads();
18115 result = (arg1)->GetPaperSize();
18116
18117 wxPyEndAllowThreads(__tstate);
18118 if (PyErr_Occurred()) SWIG_fail;
18119 }
18120 {
18121 wxSize * resultptr;
18122 resultptr = new wxSize((wxSize &) result);
18123 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18124 }
18125 return resultobj;
18126 fail:
18127 return NULL;
18128 }
18129
18130
18131 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
18132 PyObject *resultobj;
18133 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18134 wxPrintData *result;
18135 PyObject * obj0 = 0 ;
18136 char *kwnames[] = {
18137 (char *) "self", NULL
18138 };
18139
18140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
18141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18143 {
18144 PyThreadState* __tstate = wxPyBeginAllowThreads();
18145 {
18146 wxPrintData &_result_ref = (arg1)->GetPrintData();
18147 result = (wxPrintData *) &_result_ref;
18148 }
18149
18150 wxPyEndAllowThreads(__tstate);
18151 if (PyErr_Occurred()) SWIG_fail;
18152 }
18153 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
18154 return resultobj;
18155 fail:
18156 return NULL;
18157 }
18158
18159
18160 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
18161 PyObject *resultobj;
18162 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18163 bool result;
18164 PyObject * obj0 = 0 ;
18165 char *kwnames[] = {
18166 (char *) "self", NULL
18167 };
18168
18169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
18170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18172 {
18173 PyThreadState* __tstate = wxPyBeginAllowThreads();
18174 result = (bool)(arg1)->Ok();
18175
18176 wxPyEndAllowThreads(__tstate);
18177 if (PyErr_Occurred()) SWIG_fail;
18178 }
18179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18180 return resultobj;
18181 fail:
18182 return NULL;
18183 }
18184
18185
18186 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18187 PyObject *resultobj;
18188 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18189 bool arg2 ;
18190 PyObject * obj0 = 0 ;
18191 PyObject * obj1 = 0 ;
18192 char *kwnames[] = {
18193 (char *) "self",(char *) "flag", NULL
18194 };
18195
18196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
18197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18199 arg2 = (bool) SWIG_AsBool(obj1);
18200 if (PyErr_Occurred()) SWIG_fail;
18201 {
18202 PyThreadState* __tstate = wxPyBeginAllowThreads();
18203 (arg1)->SetDefaultInfo(arg2);
18204
18205 wxPyEndAllowThreads(__tstate);
18206 if (PyErr_Occurred()) SWIG_fail;
18207 }
18208 Py_INCREF(Py_None); resultobj = Py_None;
18209 return resultobj;
18210 fail:
18211 return NULL;
18212 }
18213
18214
18215 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
18216 PyObject *resultobj;
18217 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18218 bool arg2 ;
18219 PyObject * obj0 = 0 ;
18220 PyObject * obj1 = 0 ;
18221 char *kwnames[] = {
18222 (char *) "self",(char *) "flag", NULL
18223 };
18224
18225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
18226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18228 arg2 = (bool) SWIG_AsBool(obj1);
18229 if (PyErr_Occurred()) SWIG_fail;
18230 {
18231 PyThreadState* __tstate = wxPyBeginAllowThreads();
18232 (arg1)->SetDefaultMinMargins(arg2);
18233
18234 wxPyEndAllowThreads(__tstate);
18235 if (PyErr_Occurred()) SWIG_fail;
18236 }
18237 Py_INCREF(Py_None); resultobj = Py_None;
18238 return resultobj;
18239 fail:
18240 return NULL;
18241 }
18242
18243
18244 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18245 PyObject *resultobj;
18246 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18247 wxPoint *arg2 = 0 ;
18248 wxPoint temp2 ;
18249 PyObject * obj0 = 0 ;
18250 PyObject * obj1 = 0 ;
18251 char *kwnames[] = {
18252 (char *) "self",(char *) "pt", NULL
18253 };
18254
18255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
18256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18258 {
18259 arg2 = &temp2;
18260 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18261 }
18262 {
18263 PyThreadState* __tstate = wxPyBeginAllowThreads();
18264 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
18265
18266 wxPyEndAllowThreads(__tstate);
18267 if (PyErr_Occurred()) SWIG_fail;
18268 }
18269 Py_INCREF(Py_None); resultobj = Py_None;
18270 return resultobj;
18271 fail:
18272 return NULL;
18273 }
18274
18275
18276 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18277 PyObject *resultobj;
18278 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18279 wxPoint *arg2 = 0 ;
18280 wxPoint temp2 ;
18281 PyObject * obj0 = 0 ;
18282 PyObject * obj1 = 0 ;
18283 char *kwnames[] = {
18284 (char *) "self",(char *) "pt", NULL
18285 };
18286
18287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
18288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18290 {
18291 arg2 = &temp2;
18292 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18293 }
18294 {
18295 PyThreadState* __tstate = wxPyBeginAllowThreads();
18296 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
18297
18298 wxPyEndAllowThreads(__tstate);
18299 if (PyErr_Occurred()) SWIG_fail;
18300 }
18301 Py_INCREF(Py_None); resultobj = Py_None;
18302 return resultobj;
18303 fail:
18304 return NULL;
18305 }
18306
18307
18308 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18309 PyObject *resultobj;
18310 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18311 wxPoint *arg2 = 0 ;
18312 wxPoint temp2 ;
18313 PyObject * obj0 = 0 ;
18314 PyObject * obj1 = 0 ;
18315 char *kwnames[] = {
18316 (char *) "self",(char *) "pt", NULL
18317 };
18318
18319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
18320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18322 {
18323 arg2 = &temp2;
18324 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18325 }
18326 {
18327 PyThreadState* __tstate = wxPyBeginAllowThreads();
18328 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
18329
18330 wxPyEndAllowThreads(__tstate);
18331 if (PyErr_Occurred()) SWIG_fail;
18332 }
18333 Py_INCREF(Py_None); resultobj = Py_None;
18334 return resultobj;
18335 fail:
18336 return NULL;
18337 }
18338
18339
18340 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18341 PyObject *resultobj;
18342 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18343 wxPoint *arg2 = 0 ;
18344 wxPoint temp2 ;
18345 PyObject * obj0 = 0 ;
18346 PyObject * obj1 = 0 ;
18347 char *kwnames[] = {
18348 (char *) "self",(char *) "pt", NULL
18349 };
18350
18351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
18352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18354 {
18355 arg2 = &temp2;
18356 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18357 }
18358 {
18359 PyThreadState* __tstate = wxPyBeginAllowThreads();
18360 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
18361
18362 wxPyEndAllowThreads(__tstate);
18363 if (PyErr_Occurred()) SWIG_fail;
18364 }
18365 Py_INCREF(Py_None); resultobj = Py_None;
18366 return resultobj;
18367 fail:
18368 return NULL;
18369 }
18370
18371
18372 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18373 PyObject *resultobj;
18374 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18375 int arg2 ;
18376 PyObject * obj0 = 0 ;
18377 PyObject * obj1 = 0 ;
18378 char *kwnames[] = {
18379 (char *) "self",(char *) "id", NULL
18380 };
18381
18382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
18383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18385 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
18386 if (PyErr_Occurred()) SWIG_fail;
18387 {
18388 PyThreadState* __tstate = wxPyBeginAllowThreads();
18389 (arg1)->SetPaperId((wxPaperSize )arg2);
18390
18391 wxPyEndAllowThreads(__tstate);
18392 if (PyErr_Occurred()) SWIG_fail;
18393 }
18394 Py_INCREF(Py_None); resultobj = Py_None;
18395 return resultobj;
18396 fail:
18397 return NULL;
18398 }
18399
18400
18401 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18402 PyObject *resultobj;
18403 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18404 wxSize *arg2 = 0 ;
18405 wxSize temp2 ;
18406 PyObject * obj0 = 0 ;
18407 PyObject * obj1 = 0 ;
18408 char *kwnames[] = {
18409 (char *) "self",(char *) "size", NULL
18410 };
18411
18412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
18413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18415 {
18416 arg2 = &temp2;
18417 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18418 }
18419 {
18420 PyThreadState* __tstate = wxPyBeginAllowThreads();
18421 (arg1)->SetPaperSize((wxSize const &)*arg2);
18422
18423 wxPyEndAllowThreads(__tstate);
18424 if (PyErr_Occurred()) SWIG_fail;
18425 }
18426 Py_INCREF(Py_None); resultobj = Py_None;
18427 return resultobj;
18428 fail:
18429 return NULL;
18430 }
18431
18432
18433 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
18434 PyObject *resultobj;
18435 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18436 wxPrintData *arg2 = 0 ;
18437 PyObject * obj0 = 0 ;
18438 PyObject * obj1 = 0 ;
18439 char *kwnames[] = {
18440 (char *) "self",(char *) "printData", NULL
18441 };
18442
18443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
18444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18446 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
18447 SWIG_POINTER_EXCEPTION | 0)) == -1)
18448 SWIG_fail;
18449 if (arg2 == NULL) {
18450 PyErr_SetString(PyExc_TypeError,"null reference");
18451 SWIG_fail;
18452 }
18453 {
18454 PyThreadState* __tstate = wxPyBeginAllowThreads();
18455 (arg1)->SetPrintData((wxPrintData const &)*arg2);
18456
18457 wxPyEndAllowThreads(__tstate);
18458 if (PyErr_Occurred()) SWIG_fail;
18459 }
18460 Py_INCREF(Py_None); resultobj = Py_None;
18461 return resultobj;
18462 fail:
18463 return NULL;
18464 }
18465
18466
18467 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
18468 PyObject *obj;
18469 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18470 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
18471 Py_INCREF(obj);
18472 return Py_BuildValue((char *)"");
18473 }
18474 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
18475 PyObject *resultobj;
18476 wxWindow *arg1 = (wxWindow *) 0 ;
18477 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
18478 wxPageSetupDialog *result;
18479 PyObject * obj0 = 0 ;
18480 PyObject * obj1 = 0 ;
18481 char *kwnames[] = {
18482 (char *) "parent",(char *) "data", NULL
18483 };
18484
18485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
18486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18488 if (obj1) {
18489 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
18490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18491 }
18492 {
18493 PyThreadState* __tstate = wxPyBeginAllowThreads();
18494 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
18495
18496 wxPyEndAllowThreads(__tstate);
18497 if (PyErr_Occurred()) SWIG_fail;
18498 }
18499 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
18500 return resultobj;
18501 fail:
18502 return NULL;
18503 }
18504
18505
18506 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
18507 PyObject *resultobj;
18508 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
18509 wxPageSetupDialogData *result;
18510 PyObject * obj0 = 0 ;
18511 char *kwnames[] = {
18512 (char *) "self", NULL
18513 };
18514
18515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
18516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
18517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18518 {
18519 PyThreadState* __tstate = wxPyBeginAllowThreads();
18520 {
18521 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
18522 result = (wxPageSetupDialogData *) &_result_ref;
18523 }
18524
18525 wxPyEndAllowThreads(__tstate);
18526 if (PyErr_Occurred()) SWIG_fail;
18527 }
18528 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
18529 return resultobj;
18530 fail:
18531 return NULL;
18532 }
18533
18534
18535 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
18536 PyObject *resultobj;
18537 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
18538 int result;
18539 PyObject * obj0 = 0 ;
18540 char *kwnames[] = {
18541 (char *) "self", NULL
18542 };
18543
18544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
18545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
18546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18547 {
18548 PyThreadState* __tstate = wxPyBeginAllowThreads();
18549 result = (int)(arg1)->ShowModal();
18550
18551 wxPyEndAllowThreads(__tstate);
18552 if (PyErr_Occurred()) SWIG_fail;
18553 }
18554 resultobj = SWIG_FromInt((int)result);
18555 return resultobj;
18556 fail:
18557 return NULL;
18558 }
18559
18560
18561 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
18562 PyObject *obj;
18563 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18564 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
18565 Py_INCREF(obj);
18566 return Py_BuildValue((char *)"");
18567 }
18568 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18569 PyObject *resultobj;
18570 wxPrintDialogData *result;
18571 char *kwnames[] = {
18572 NULL
18573 };
18574
18575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintDialogData",kwnames)) goto fail;
18576 {
18577 PyThreadState* __tstate = wxPyBeginAllowThreads();
18578 result = (wxPrintDialogData *)new wxPrintDialogData();
18579
18580 wxPyEndAllowThreads(__tstate);
18581 if (PyErr_Occurred()) SWIG_fail;
18582 }
18583 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
18584 return resultobj;
18585 fail:
18586 return NULL;
18587 }
18588
18589
18590 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18591 PyObject *resultobj;
18592 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18593 PyObject * obj0 = 0 ;
18594 char *kwnames[] = {
18595 (char *) "self", NULL
18596 };
18597
18598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
18599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18601 {
18602 PyThreadState* __tstate = wxPyBeginAllowThreads();
18603 delete arg1;
18604
18605 wxPyEndAllowThreads(__tstate);
18606 if (PyErr_Occurred()) SWIG_fail;
18607 }
18608 Py_INCREF(Py_None); resultobj = Py_None;
18609 return resultobj;
18610 fail:
18611 return NULL;
18612 }
18613
18614
18615 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18616 PyObject *resultobj;
18617 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18618 int result;
18619 PyObject * obj0 = 0 ;
18620 char *kwnames[] = {
18621 (char *) "self", NULL
18622 };
18623
18624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
18625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18627 {
18628 PyThreadState* __tstate = wxPyBeginAllowThreads();
18629 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
18630
18631 wxPyEndAllowThreads(__tstate);
18632 if (PyErr_Occurred()) SWIG_fail;
18633 }
18634 resultobj = SWIG_FromInt((int)result);
18635 return resultobj;
18636 fail:
18637 return NULL;
18638 }
18639
18640
18641 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18642 PyObject *resultobj;
18643 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18644 int result;
18645 PyObject * obj0 = 0 ;
18646 char *kwnames[] = {
18647 (char *) "self", NULL
18648 };
18649
18650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
18651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18653 {
18654 PyThreadState* __tstate = wxPyBeginAllowThreads();
18655 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
18656
18657 wxPyEndAllowThreads(__tstate);
18658 if (PyErr_Occurred()) SWIG_fail;
18659 }
18660 resultobj = SWIG_FromInt((int)result);
18661 return resultobj;
18662 fail:
18663 return NULL;
18664 }
18665
18666
18667 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18668 PyObject *resultobj;
18669 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18670 int result;
18671 PyObject * obj0 = 0 ;
18672 char *kwnames[] = {
18673 (char *) "self", NULL
18674 };
18675
18676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
18677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18679 {
18680 PyThreadState* __tstate = wxPyBeginAllowThreads();
18681 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
18682
18683 wxPyEndAllowThreads(__tstate);
18684 if (PyErr_Occurred()) SWIG_fail;
18685 }
18686 resultobj = SWIG_FromInt((int)result);
18687 return resultobj;
18688 fail:
18689 return NULL;
18690 }
18691
18692
18693 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18694 PyObject *resultobj;
18695 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18696 int result;
18697 PyObject * obj0 = 0 ;
18698 char *kwnames[] = {
18699 (char *) "self", NULL
18700 };
18701
18702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
18703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18705 {
18706 PyThreadState* __tstate = wxPyBeginAllowThreads();
18707 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
18708
18709 wxPyEndAllowThreads(__tstate);
18710 if (PyErr_Occurred()) SWIG_fail;
18711 }
18712 resultobj = SWIG_FromInt((int)result);
18713 return resultobj;
18714 fail:
18715 return NULL;
18716 }
18717
18718
18719 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
18720 PyObject *resultobj;
18721 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18722 int result;
18723 PyObject * obj0 = 0 ;
18724 char *kwnames[] = {
18725 (char *) "self", NULL
18726 };
18727
18728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
18729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18731 {
18732 PyThreadState* __tstate = wxPyBeginAllowThreads();
18733 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
18734
18735 wxPyEndAllowThreads(__tstate);
18736 if (PyErr_Occurred()) SWIG_fail;
18737 }
18738 resultobj = SWIG_FromInt((int)result);
18739 return resultobj;
18740 fail:
18741 return NULL;
18742 }
18743
18744
18745 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
18746 PyObject *resultobj;
18747 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18748 bool result;
18749 PyObject * obj0 = 0 ;
18750 char *kwnames[] = {
18751 (char *) "self", NULL
18752 };
18753
18754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
18755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18757 {
18758 PyThreadState* __tstate = wxPyBeginAllowThreads();
18759 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
18760
18761 wxPyEndAllowThreads(__tstate);
18762 if (PyErr_Occurred()) SWIG_fail;
18763 }
18764 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18765 return resultobj;
18766 fail:
18767 return NULL;
18768 }
18769
18770
18771 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
18772 PyObject *resultobj;
18773 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18774 bool result;
18775 PyObject * obj0 = 0 ;
18776 char *kwnames[] = {
18777 (char *) "self", NULL
18778 };
18779
18780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
18781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18783 {
18784 PyThreadState* __tstate = wxPyBeginAllowThreads();
18785 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
18786
18787 wxPyEndAllowThreads(__tstate);
18788 if (PyErr_Occurred()) SWIG_fail;
18789 }
18790 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18791 return resultobj;
18792 fail:
18793 return NULL;
18794 }
18795
18796
18797 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
18798 PyObject *resultobj;
18799 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18800 bool result;
18801 PyObject * obj0 = 0 ;
18802 char *kwnames[] = {
18803 (char *) "self", NULL
18804 };
18805
18806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
18807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18809 {
18810 PyThreadState* __tstate = wxPyBeginAllowThreads();
18811 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
18812
18813 wxPyEndAllowThreads(__tstate);
18814 if (PyErr_Occurred()) SWIG_fail;
18815 }
18816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18817 return resultobj;
18818 fail:
18819 return NULL;
18820 }
18821
18822
18823 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
18824 PyObject *resultobj;
18825 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18826 bool result;
18827 PyObject * obj0 = 0 ;
18828 char *kwnames[] = {
18829 (char *) "self", NULL
18830 };
18831
18832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
18833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18835 {
18836 PyThreadState* __tstate = wxPyBeginAllowThreads();
18837 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
18838
18839 wxPyEndAllowThreads(__tstate);
18840 if (PyErr_Occurred()) SWIG_fail;
18841 }
18842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18843 return resultobj;
18844 fail:
18845 return NULL;
18846 }
18847
18848
18849 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
18850 PyObject *resultobj;
18851 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18852 bool result;
18853 PyObject * obj0 = 0 ;
18854 char *kwnames[] = {
18855 (char *) "self", NULL
18856 };
18857
18858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
18859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18861 {
18862 PyThreadState* __tstate = wxPyBeginAllowThreads();
18863 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
18864
18865 wxPyEndAllowThreads(__tstate);
18866 if (PyErr_Occurred()) SWIG_fail;
18867 }
18868 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18869 return resultobj;
18870 fail:
18871 return NULL;
18872 }
18873
18874
18875 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18876 PyObject *resultobj;
18877 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18878 int arg2 ;
18879 PyObject * obj0 = 0 ;
18880 PyObject * obj1 = 0 ;
18881 char *kwnames[] = {
18882 (char *) "self",(char *) "v", NULL
18883 };
18884
18885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
18886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18888 arg2 = (int) SWIG_AsInt(obj1);
18889 if (PyErr_Occurred()) SWIG_fail;
18890 {
18891 PyThreadState* __tstate = wxPyBeginAllowThreads();
18892 (arg1)->SetFromPage(arg2);
18893
18894 wxPyEndAllowThreads(__tstate);
18895 if (PyErr_Occurred()) SWIG_fail;
18896 }
18897 Py_INCREF(Py_None); resultobj = Py_None;
18898 return resultobj;
18899 fail:
18900 return NULL;
18901 }
18902
18903
18904 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18905 PyObject *resultobj;
18906 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18907 int arg2 ;
18908 PyObject * obj0 = 0 ;
18909 PyObject * obj1 = 0 ;
18910 char *kwnames[] = {
18911 (char *) "self",(char *) "v", NULL
18912 };
18913
18914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
18915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18917 arg2 = (int) SWIG_AsInt(obj1);
18918 if (PyErr_Occurred()) SWIG_fail;
18919 {
18920 PyThreadState* __tstate = wxPyBeginAllowThreads();
18921 (arg1)->SetToPage(arg2);
18922
18923 wxPyEndAllowThreads(__tstate);
18924 if (PyErr_Occurred()) SWIG_fail;
18925 }
18926 Py_INCREF(Py_None); resultobj = Py_None;
18927 return resultobj;
18928 fail:
18929 return NULL;
18930 }
18931
18932
18933 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18934 PyObject *resultobj;
18935 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18936 int arg2 ;
18937 PyObject * obj0 = 0 ;
18938 PyObject * obj1 = 0 ;
18939 char *kwnames[] = {
18940 (char *) "self",(char *) "v", NULL
18941 };
18942
18943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
18944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18946 arg2 = (int) SWIG_AsInt(obj1);
18947 if (PyErr_Occurred()) SWIG_fail;
18948 {
18949 PyThreadState* __tstate = wxPyBeginAllowThreads();
18950 (arg1)->SetMinPage(arg2);
18951
18952 wxPyEndAllowThreads(__tstate);
18953 if (PyErr_Occurred()) SWIG_fail;
18954 }
18955 Py_INCREF(Py_None); resultobj = Py_None;
18956 return resultobj;
18957 fail:
18958 return NULL;
18959 }
18960
18961
18962 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18963 PyObject *resultobj;
18964 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18965 int arg2 ;
18966 PyObject * obj0 = 0 ;
18967 PyObject * obj1 = 0 ;
18968 char *kwnames[] = {
18969 (char *) "self",(char *) "v", NULL
18970 };
18971
18972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
18973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18975 arg2 = (int) SWIG_AsInt(obj1);
18976 if (PyErr_Occurred()) SWIG_fail;
18977 {
18978 PyThreadState* __tstate = wxPyBeginAllowThreads();
18979 (arg1)->SetMaxPage(arg2);
18980
18981 wxPyEndAllowThreads(__tstate);
18982 if (PyErr_Occurred()) SWIG_fail;
18983 }
18984 Py_INCREF(Py_None); resultobj = Py_None;
18985 return resultobj;
18986 fail:
18987 return NULL;
18988 }
18989
18990
18991 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
18992 PyObject *resultobj;
18993 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18994 int arg2 ;
18995 PyObject * obj0 = 0 ;
18996 PyObject * obj1 = 0 ;
18997 char *kwnames[] = {
18998 (char *) "self",(char *) "v", NULL
18999 };
19000
19001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
19002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19004 arg2 = (int) SWIG_AsInt(obj1);
19005 if (PyErr_Occurred()) SWIG_fail;
19006 {
19007 PyThreadState* __tstate = wxPyBeginAllowThreads();
19008 (arg1)->SetNoCopies(arg2);
19009
19010 wxPyEndAllowThreads(__tstate);
19011 if (PyErr_Occurred()) SWIG_fail;
19012 }
19013 Py_INCREF(Py_None); resultobj = Py_None;
19014 return resultobj;
19015 fail:
19016 return NULL;
19017 }
19018
19019
19020 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
19021 PyObject *resultobj;
19022 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19023 bool arg2 ;
19024 PyObject * obj0 = 0 ;
19025 PyObject * obj1 = 0 ;
19026 char *kwnames[] = {
19027 (char *) "self",(char *) "flag", NULL
19028 };
19029
19030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
19031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19033 arg2 = (bool) SWIG_AsBool(obj1);
19034 if (PyErr_Occurred()) SWIG_fail;
19035 {
19036 PyThreadState* __tstate = wxPyBeginAllowThreads();
19037 (arg1)->SetAllPages(arg2);
19038
19039 wxPyEndAllowThreads(__tstate);
19040 if (PyErr_Occurred()) SWIG_fail;
19041 }
19042 Py_INCREF(Py_None); resultobj = Py_None;
19043 return resultobj;
19044 fail:
19045 return NULL;
19046 }
19047
19048
19049 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
19050 PyObject *resultobj;
19051 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19052 bool arg2 ;
19053 PyObject * obj0 = 0 ;
19054 PyObject * obj1 = 0 ;
19055 char *kwnames[] = {
19056 (char *) "self",(char *) "flag", NULL
19057 };
19058
19059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
19060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19062 arg2 = (bool) SWIG_AsBool(obj1);
19063 if (PyErr_Occurred()) SWIG_fail;
19064 {
19065 PyThreadState* __tstate = wxPyBeginAllowThreads();
19066 (arg1)->SetSelection(arg2);
19067
19068 wxPyEndAllowThreads(__tstate);
19069 if (PyErr_Occurred()) SWIG_fail;
19070 }
19071 Py_INCREF(Py_None); resultobj = Py_None;
19072 return resultobj;
19073 fail:
19074 return NULL;
19075 }
19076
19077
19078 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
19079 PyObject *resultobj;
19080 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19081 bool arg2 ;
19082 PyObject * obj0 = 0 ;
19083 PyObject * obj1 = 0 ;
19084 char *kwnames[] = {
19085 (char *) "self",(char *) "flag", NULL
19086 };
19087
19088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
19089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19091 arg2 = (bool) SWIG_AsBool(obj1);
19092 if (PyErr_Occurred()) SWIG_fail;
19093 {
19094 PyThreadState* __tstate = wxPyBeginAllowThreads();
19095 (arg1)->SetCollate(arg2);
19096
19097 wxPyEndAllowThreads(__tstate);
19098 if (PyErr_Occurred()) SWIG_fail;
19099 }
19100 Py_INCREF(Py_None); resultobj = Py_None;
19101 return resultobj;
19102 fail:
19103 return NULL;
19104 }
19105
19106
19107 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
19108 PyObject *resultobj;
19109 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19110 bool arg2 ;
19111 PyObject * obj0 = 0 ;
19112 PyObject * obj1 = 0 ;
19113 char *kwnames[] = {
19114 (char *) "self",(char *) "flag", NULL
19115 };
19116
19117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
19118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19120 arg2 = (bool) SWIG_AsBool(obj1);
19121 if (PyErr_Occurred()) SWIG_fail;
19122 {
19123 PyThreadState* __tstate = wxPyBeginAllowThreads();
19124 (arg1)->SetPrintToFile(arg2);
19125
19126 wxPyEndAllowThreads(__tstate);
19127 if (PyErr_Occurred()) SWIG_fail;
19128 }
19129 Py_INCREF(Py_None); resultobj = Py_None;
19130 return resultobj;
19131 fail:
19132 return NULL;
19133 }
19134
19135
19136 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19137 PyObject *resultobj;
19138 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19139 bool arg2 ;
19140 PyObject * obj0 = 0 ;
19141 PyObject * obj1 = 0 ;
19142 char *kwnames[] = {
19143 (char *) "self",(char *) "flag", NULL
19144 };
19145
19146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
19147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19149 arg2 = (bool) SWIG_AsBool(obj1);
19150 if (PyErr_Occurred()) SWIG_fail;
19151 {
19152 PyThreadState* __tstate = wxPyBeginAllowThreads();
19153 (arg1)->SetSetupDialog(arg2);
19154
19155 wxPyEndAllowThreads(__tstate);
19156 if (PyErr_Occurred()) SWIG_fail;
19157 }
19158 Py_INCREF(Py_None); resultobj = Py_None;
19159 return resultobj;
19160 fail:
19161 return NULL;
19162 }
19163
19164
19165 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
19166 PyObject *resultobj;
19167 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19168 bool arg2 ;
19169 PyObject * obj0 = 0 ;
19170 PyObject * obj1 = 0 ;
19171 char *kwnames[] = {
19172 (char *) "self",(char *) "flag", NULL
19173 };
19174
19175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
19176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19178 arg2 = (bool) SWIG_AsBool(obj1);
19179 if (PyErr_Occurred()) SWIG_fail;
19180 {
19181 PyThreadState* __tstate = wxPyBeginAllowThreads();
19182 (arg1)->EnablePrintToFile(arg2);
19183
19184 wxPyEndAllowThreads(__tstate);
19185 if (PyErr_Occurred()) SWIG_fail;
19186 }
19187 Py_INCREF(Py_None); resultobj = Py_None;
19188 return resultobj;
19189 fail:
19190 return NULL;
19191 }
19192
19193
19194 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
19195 PyObject *resultobj;
19196 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19197 bool arg2 ;
19198 PyObject * obj0 = 0 ;
19199 PyObject * obj1 = 0 ;
19200 char *kwnames[] = {
19201 (char *) "self",(char *) "flag", NULL
19202 };
19203
19204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
19205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19207 arg2 = (bool) SWIG_AsBool(obj1);
19208 if (PyErr_Occurred()) SWIG_fail;
19209 {
19210 PyThreadState* __tstate = wxPyBeginAllowThreads();
19211 (arg1)->EnableSelection(arg2);
19212
19213 wxPyEndAllowThreads(__tstate);
19214 if (PyErr_Occurred()) SWIG_fail;
19215 }
19216 Py_INCREF(Py_None); resultobj = Py_None;
19217 return resultobj;
19218 fail:
19219 return NULL;
19220 }
19221
19222
19223 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
19224 PyObject *resultobj;
19225 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19226 bool arg2 ;
19227 PyObject * obj0 = 0 ;
19228 PyObject * obj1 = 0 ;
19229 char *kwnames[] = {
19230 (char *) "self",(char *) "flag", NULL
19231 };
19232
19233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
19234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19236 arg2 = (bool) SWIG_AsBool(obj1);
19237 if (PyErr_Occurred()) SWIG_fail;
19238 {
19239 PyThreadState* __tstate = wxPyBeginAllowThreads();
19240 (arg1)->EnablePageNumbers(arg2);
19241
19242 wxPyEndAllowThreads(__tstate);
19243 if (PyErr_Occurred()) SWIG_fail;
19244 }
19245 Py_INCREF(Py_None); resultobj = Py_None;
19246 return resultobj;
19247 fail:
19248 return NULL;
19249 }
19250
19251
19252 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19253 PyObject *resultobj;
19254 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19255 bool arg2 ;
19256 PyObject * obj0 = 0 ;
19257 PyObject * obj1 = 0 ;
19258 char *kwnames[] = {
19259 (char *) "self",(char *) "flag", NULL
19260 };
19261
19262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
19263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19265 arg2 = (bool) SWIG_AsBool(obj1);
19266 if (PyErr_Occurred()) SWIG_fail;
19267 {
19268 PyThreadState* __tstate = wxPyBeginAllowThreads();
19269 (arg1)->EnableHelp(arg2);
19270
19271 wxPyEndAllowThreads(__tstate);
19272 if (PyErr_Occurred()) SWIG_fail;
19273 }
19274 Py_INCREF(Py_None); resultobj = Py_None;
19275 return resultobj;
19276 fail:
19277 return NULL;
19278 }
19279
19280
19281 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
19282 PyObject *resultobj;
19283 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19284 bool result;
19285 PyObject * obj0 = 0 ;
19286 char *kwnames[] = {
19287 (char *) "self", NULL
19288 };
19289
19290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
19291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19293 {
19294 PyThreadState* __tstate = wxPyBeginAllowThreads();
19295 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
19296
19297 wxPyEndAllowThreads(__tstate);
19298 if (PyErr_Occurred()) SWIG_fail;
19299 }
19300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19301 return resultobj;
19302 fail:
19303 return NULL;
19304 }
19305
19306
19307 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
19308 PyObject *resultobj;
19309 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19310 bool result;
19311 PyObject * obj0 = 0 ;
19312 char *kwnames[] = {
19313 (char *) "self", NULL
19314 };
19315
19316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
19317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19319 {
19320 PyThreadState* __tstate = wxPyBeginAllowThreads();
19321 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
19322
19323 wxPyEndAllowThreads(__tstate);
19324 if (PyErr_Occurred()) SWIG_fail;
19325 }
19326 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19327 return resultobj;
19328 fail:
19329 return NULL;
19330 }
19331
19332
19333 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
19334 PyObject *resultobj;
19335 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19336 bool result;
19337 PyObject * obj0 = 0 ;
19338 char *kwnames[] = {
19339 (char *) "self", NULL
19340 };
19341
19342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
19343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19345 {
19346 PyThreadState* __tstate = wxPyBeginAllowThreads();
19347 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
19348
19349 wxPyEndAllowThreads(__tstate);
19350 if (PyErr_Occurred()) SWIG_fail;
19351 }
19352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19353 return resultobj;
19354 fail:
19355 return NULL;
19356 }
19357
19358
19359 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19360 PyObject *resultobj;
19361 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19362 bool result;
19363 PyObject * obj0 = 0 ;
19364 char *kwnames[] = {
19365 (char *) "self", NULL
19366 };
19367
19368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
19369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19371 {
19372 PyThreadState* __tstate = wxPyBeginAllowThreads();
19373 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
19374
19375 wxPyEndAllowThreads(__tstate);
19376 if (PyErr_Occurred()) SWIG_fail;
19377 }
19378 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19379 return resultobj;
19380 fail:
19381 return NULL;
19382 }
19383
19384
19385 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19386 PyObject *resultobj;
19387 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19388 bool result;
19389 PyObject * obj0 = 0 ;
19390 char *kwnames[] = {
19391 (char *) "self", NULL
19392 };
19393
19394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
19395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19397 {
19398 PyThreadState* __tstate = wxPyBeginAllowThreads();
19399 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
19400
19401 wxPyEndAllowThreads(__tstate);
19402 if (PyErr_Occurred()) SWIG_fail;
19403 }
19404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19405 return resultobj;
19406 fail:
19407 return NULL;
19408 }
19409
19410
19411 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19412 PyObject *resultobj;
19413 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19414 wxPrintData *result;
19415 PyObject * obj0 = 0 ;
19416 char *kwnames[] = {
19417 (char *) "self", NULL
19418 };
19419
19420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
19421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19423 {
19424 PyThreadState* __tstate = wxPyBeginAllowThreads();
19425 {
19426 wxPrintData &_result_ref = (arg1)->GetPrintData();
19427 result = (wxPrintData *) &_result_ref;
19428 }
19429
19430 wxPyEndAllowThreads(__tstate);
19431 if (PyErr_Occurred()) SWIG_fail;
19432 }
19433 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
19434 return resultobj;
19435 fail:
19436 return NULL;
19437 }
19438
19439
19440 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19441 PyObject *resultobj;
19442 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19443 wxPrintData *arg2 = 0 ;
19444 PyObject * obj0 = 0 ;
19445 PyObject * obj1 = 0 ;
19446 char *kwnames[] = {
19447 (char *) "self",(char *) "printData", NULL
19448 };
19449
19450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
19451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19453 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
19454 SWIG_POINTER_EXCEPTION | 0)) == -1)
19455 SWIG_fail;
19456 if (arg2 == NULL) {
19457 PyErr_SetString(PyExc_TypeError,"null reference");
19458 SWIG_fail;
19459 }
19460 {
19461 PyThreadState* __tstate = wxPyBeginAllowThreads();
19462 (arg1)->SetPrintData((wxPrintData const &)*arg2);
19463
19464 wxPyEndAllowThreads(__tstate);
19465 if (PyErr_Occurred()) SWIG_fail;
19466 }
19467 Py_INCREF(Py_None); resultobj = Py_None;
19468 return resultobj;
19469 fail:
19470 return NULL;
19471 }
19472
19473
19474 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
19475 PyObject *obj;
19476 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19477 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
19478 Py_INCREF(obj);
19479 return Py_BuildValue((char *)"");
19480 }
19481 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19482 PyObject *resultobj;
19483 wxWindow *arg1 = (wxWindow *) 0 ;
19484 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
19485 wxPrintDialog *result;
19486 PyObject * obj0 = 0 ;
19487 PyObject * obj1 = 0 ;
19488 char *kwnames[] = {
19489 (char *) "parent",(char *) "data", NULL
19490 };
19491
19492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
19493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19495 if (obj1) {
19496 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
19497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19498 }
19499 {
19500 PyThreadState* __tstate = wxPyBeginAllowThreads();
19501 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
19502
19503 wxPyEndAllowThreads(__tstate);
19504 if (PyErr_Occurred()) SWIG_fail;
19505 }
19506 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
19507 return resultobj;
19508 fail:
19509 return NULL;
19510 }
19511
19512
19513 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19514 PyObject *resultobj;
19515 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
19516 wxPrintDialogData *result;
19517 PyObject * obj0 = 0 ;
19518 char *kwnames[] = {
19519 (char *) "self", NULL
19520 };
19521
19522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
19523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
19524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19525 {
19526 PyThreadState* __tstate = wxPyBeginAllowThreads();
19527 {
19528 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
19529 result = (wxPrintDialogData *) &_result_ref;
19530 }
19531
19532 wxPyEndAllowThreads(__tstate);
19533 if (PyErr_Occurred()) SWIG_fail;
19534 }
19535 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
19536 return resultobj;
19537 fail:
19538 return NULL;
19539 }
19540
19541
19542 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
19543 PyObject *resultobj;
19544 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
19545 wxDC *result;
19546 PyObject * obj0 = 0 ;
19547 char *kwnames[] = {
19548 (char *) "self", NULL
19549 };
19550
19551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
19552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
19553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19554 {
19555 PyThreadState* __tstate = wxPyBeginAllowThreads();
19556 result = (wxDC *)(arg1)->GetPrintDC();
19557
19558 wxPyEndAllowThreads(__tstate);
19559 if (PyErr_Occurred()) SWIG_fail;
19560 }
19561 {
19562 resultobj = wxPyMake_wxObject(result);
19563 }
19564 return resultobj;
19565 fail:
19566 return NULL;
19567 }
19568
19569
19570 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
19571 PyObject *resultobj;
19572 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
19573 int result;
19574 PyObject * obj0 = 0 ;
19575 char *kwnames[] = {
19576 (char *) "self", NULL
19577 };
19578
19579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
19580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
19581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19582 {
19583 PyThreadState* __tstate = wxPyBeginAllowThreads();
19584 result = (int)(arg1)->ShowModal();
19585
19586 wxPyEndAllowThreads(__tstate);
19587 if (PyErr_Occurred()) SWIG_fail;
19588 }
19589 resultobj = SWIG_FromInt((int)result);
19590 return resultobj;
19591 fail:
19592 return NULL;
19593 }
19594
19595
19596 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
19597 PyObject *obj;
19598 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19599 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
19600 Py_INCREF(obj);
19601 return Py_BuildValue((char *)"");
19602 }
19603 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
19604 PyObject *resultobj;
19605 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
19606 wxPrinter *result;
19607 PyObject * obj0 = 0 ;
19608 char *kwnames[] = {
19609 (char *) "data", NULL
19610 };
19611
19612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
19613 if (obj0) {
19614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19616 }
19617 {
19618 PyThreadState* __tstate = wxPyBeginAllowThreads();
19619 result = (wxPrinter *)new wxPrinter(arg1);
19620
19621 wxPyEndAllowThreads(__tstate);
19622 if (PyErr_Occurred()) SWIG_fail;
19623 }
19624 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
19625 return resultobj;
19626 fail:
19627 return NULL;
19628 }
19629
19630
19631 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
19632 PyObject *resultobj;
19633 wxPrinter *arg1 = (wxPrinter *) 0 ;
19634 PyObject * obj0 = 0 ;
19635 char *kwnames[] = {
19636 (char *) "self", NULL
19637 };
19638
19639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
19640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
19641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19642 {
19643 PyThreadState* __tstate = wxPyBeginAllowThreads();
19644 delete arg1;
19645
19646 wxPyEndAllowThreads(__tstate);
19647 if (PyErr_Occurred()) SWIG_fail;
19648 }
19649 Py_INCREF(Py_None); resultobj = Py_None;
19650 return resultobj;
19651 fail:
19652 return NULL;
19653 }
19654
19655
19656 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19657 PyObject *resultobj;
19658 wxPrinter *arg1 = (wxPrinter *) 0 ;
19659 wxWindow *arg2 = (wxWindow *) 0 ;
19660 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
19661 PyObject * obj0 = 0 ;
19662 PyObject * obj1 = 0 ;
19663 PyObject * obj2 = 0 ;
19664 char *kwnames[] = {
19665 (char *) "self",(char *) "parent",(char *) "printout", NULL
19666 };
19667
19668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
19669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
19670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19671 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
19672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19673 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
19674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19675 {
19676 PyThreadState* __tstate = wxPyBeginAllowThreads();
19677 (arg1)->CreateAbortWindow(arg2,arg3);
19678
19679 wxPyEndAllowThreads(__tstate);
19680 if (PyErr_Occurred()) SWIG_fail;
19681 }
19682 Py_INCREF(Py_None); resultobj = Py_None;
19683 return resultobj;
19684 fail:
19685 return NULL;
19686 }
19687
19688
19689 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19690 PyObject *resultobj;
19691 wxPrinter *arg1 = (wxPrinter *) 0 ;
19692 wxPrintDialogData *result;
19693 PyObject * obj0 = 0 ;
19694 char *kwnames[] = {
19695 (char *) "self", NULL
19696 };
19697
19698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
19699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
19700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19701 {
19702 PyThreadState* __tstate = wxPyBeginAllowThreads();
19703 {
19704 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
19705 result = (wxPrintDialogData *) &_result_ref;
19706 }
19707
19708 wxPyEndAllowThreads(__tstate);
19709 if (PyErr_Occurred()) SWIG_fail;
19710 }
19711 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
19712 return resultobj;
19713 fail:
19714 return NULL;
19715 }
19716
19717
19718 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
19719 PyObject *resultobj;
19720 wxPrinter *arg1 = (wxPrinter *) 0 ;
19721 wxWindow *arg2 = (wxWindow *) 0 ;
19722 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
19723 int arg4 = (int) True ;
19724 bool result;
19725 PyObject * obj0 = 0 ;
19726 PyObject * obj1 = 0 ;
19727 PyObject * obj2 = 0 ;
19728 PyObject * obj3 = 0 ;
19729 char *kwnames[] = {
19730 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
19731 };
19732
19733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
19734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
19735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19736 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
19737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19738 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
19739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19740 if (obj3) {
19741 arg4 = (int) SWIG_AsInt(obj3);
19742 if (PyErr_Occurred()) SWIG_fail;
19743 }
19744 {
19745 PyThreadState* __tstate = wxPyBeginAllowThreads();
19746 result = (bool)(arg1)->Print(arg2,arg3,arg4);
19747
19748 wxPyEndAllowThreads(__tstate);
19749 if (PyErr_Occurred()) SWIG_fail;
19750 }
19751 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19752 return resultobj;
19753 fail:
19754 return NULL;
19755 }
19756
19757
19758 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19759 PyObject *resultobj;
19760 wxPrinter *arg1 = (wxPrinter *) 0 ;
19761 wxWindow *arg2 = (wxWindow *) 0 ;
19762 wxDC *result;
19763 PyObject * obj0 = 0 ;
19764 PyObject * obj1 = 0 ;
19765 char *kwnames[] = {
19766 (char *) "self",(char *) "parent", NULL
19767 };
19768
19769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
19770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
19771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19772 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
19773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19774 {
19775 PyThreadState* __tstate = wxPyBeginAllowThreads();
19776 result = (wxDC *)(arg1)->PrintDialog(arg2);
19777
19778 wxPyEndAllowThreads(__tstate);
19779 if (PyErr_Occurred()) SWIG_fail;
19780 }
19781 {
19782 resultobj = wxPyMake_wxObject(result);
19783 }
19784 return resultobj;
19785 fail:
19786 return NULL;
19787 }
19788
19789
19790 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
19791 PyObject *resultobj;
19792 wxPrinter *arg1 = (wxPrinter *) 0 ;
19793 wxWindow *arg2 = (wxWindow *) 0 ;
19794 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
19795 wxString *arg4 = 0 ;
19796 bool temp4 = False ;
19797 PyObject * obj0 = 0 ;
19798 PyObject * obj1 = 0 ;
19799 PyObject * obj2 = 0 ;
19800 PyObject * obj3 = 0 ;
19801 char *kwnames[] = {
19802 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
19803 };
19804
19805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
19806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
19807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19808 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
19809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19810 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
19811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19812 {
19813 arg4 = wxString_in_helper(obj3);
19814 if (arg4 == NULL) SWIG_fail;
19815 temp4 = True;
19816 }
19817 {
19818 PyThreadState* __tstate = wxPyBeginAllowThreads();
19819 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
19820
19821 wxPyEndAllowThreads(__tstate);
19822 if (PyErr_Occurred()) SWIG_fail;
19823 }
19824 Py_INCREF(Py_None); resultobj = Py_None;
19825 {
19826 if (temp4)
19827 delete arg4;
19828 }
19829 return resultobj;
19830 fail:
19831 {
19832 if (temp4)
19833 delete arg4;
19834 }
19835 return NULL;
19836 }
19837
19838
19839 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
19840 PyObject *resultobj;
19841 wxPrinter *arg1 = (wxPrinter *) 0 ;
19842 wxWindow *arg2 = (wxWindow *) 0 ;
19843 bool result;
19844 PyObject * obj0 = 0 ;
19845 PyObject * obj1 = 0 ;
19846 char *kwnames[] = {
19847 (char *) "self",(char *) "parent", NULL
19848 };
19849
19850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
19851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
19852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19853 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
19854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19855 {
19856 PyThreadState* __tstate = wxPyBeginAllowThreads();
19857 result = (bool)(arg1)->Setup(arg2);
19858
19859 wxPyEndAllowThreads(__tstate);
19860 if (PyErr_Occurred()) SWIG_fail;
19861 }
19862 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19863 return resultobj;
19864 fail:
19865 return NULL;
19866 }
19867
19868
19869 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
19870 PyObject *resultobj;
19871 wxPrinter *arg1 = (wxPrinter *) 0 ;
19872 bool result;
19873 PyObject * obj0 = 0 ;
19874 char *kwnames[] = {
19875 (char *) "self", NULL
19876 };
19877
19878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
19879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
19880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19881 {
19882 PyThreadState* __tstate = wxPyBeginAllowThreads();
19883 result = (bool)(arg1)->GetAbort();
19884
19885 wxPyEndAllowThreads(__tstate);
19886 if (PyErr_Occurred()) SWIG_fail;
19887 }
19888 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19889 return resultobj;
19890 fail:
19891 return NULL;
19892 }
19893
19894
19895 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
19896 PyObject *resultobj;
19897 int result;
19898 char *kwnames[] = {
19899 NULL
19900 };
19901
19902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
19903 {
19904 PyThreadState* __tstate = wxPyBeginAllowThreads();
19905 result = (int)wxPrinter::GetLastError();
19906
19907 wxPyEndAllowThreads(__tstate);
19908 if (PyErr_Occurred()) SWIG_fail;
19909 }
19910 resultobj = SWIG_FromInt((int)result);
19911 return resultobj;
19912 fail:
19913 return NULL;
19914 }
19915
19916
19917 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
19918 PyObject *obj;
19919 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19920 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
19921 Py_INCREF(obj);
19922 return Py_BuildValue((char *)"");
19923 }
19924 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
19925 PyObject *resultobj;
19926 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
19927 wxString *arg1 = (wxString *) &arg1_defvalue ;
19928 wxPyPrintout *result;
19929 bool temp1 = False ;
19930 PyObject * obj0 = 0 ;
19931 char *kwnames[] = {
19932 (char *) "title", NULL
19933 };
19934
19935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
19936 if (obj0) {
19937 {
19938 arg1 = wxString_in_helper(obj0);
19939 if (arg1 == NULL) SWIG_fail;
19940 temp1 = True;
19941 }
19942 }
19943 {
19944 PyThreadState* __tstate = wxPyBeginAllowThreads();
19945 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
19946
19947 wxPyEndAllowThreads(__tstate);
19948 if (PyErr_Occurred()) SWIG_fail;
19949 }
19950 {
19951 resultobj = wxPyMake_wxObject(result);
19952 }
19953 {
19954 if (temp1)
19955 delete arg1;
19956 }
19957 return resultobj;
19958 fail:
19959 {
19960 if (temp1)
19961 delete arg1;
19962 }
19963 return NULL;
19964 }
19965
19966
19967 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19968 PyObject *resultobj;
19969 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19970 PyObject *arg2 = (PyObject *) 0 ;
19971 PyObject *arg3 = (PyObject *) 0 ;
19972 PyObject * obj0 = 0 ;
19973 PyObject * obj1 = 0 ;
19974 PyObject * obj2 = 0 ;
19975 char *kwnames[] = {
19976 (char *) "self",(char *) "self",(char *) "_class", NULL
19977 };
19978
19979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
19981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19982 arg2 = obj1;
19983 arg3 = obj2;
19984 {
19985 PyThreadState* __tstate = wxPyBeginAllowThreads();
19986 (arg1)->_setCallbackInfo(arg2,arg3);
19987
19988 wxPyEndAllowThreads(__tstate);
19989 if (PyErr_Occurred()) SWIG_fail;
19990 }
19991 Py_INCREF(Py_None); resultobj = Py_None;
19992 return resultobj;
19993 fail:
19994 return NULL;
19995 }
19996
19997
19998 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
19999 PyObject *resultobj;
20000 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20001 wxString result;
20002 PyObject * obj0 = 0 ;
20003 char *kwnames[] = {
20004 (char *) "self", NULL
20005 };
20006
20007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
20008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20010 {
20011 PyThreadState* __tstate = wxPyBeginAllowThreads();
20012 result = ((wxPyPrintout const *)arg1)->GetTitle();
20013
20014 wxPyEndAllowThreads(__tstate);
20015 if (PyErr_Occurred()) SWIG_fail;
20016 }
20017 {
20018 #if wxUSE_UNICODE
20019 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20020 #else
20021 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20022 #endif
20023 }
20024 return resultobj;
20025 fail:
20026 return NULL;
20027 }
20028
20029
20030 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
20031 PyObject *resultobj;
20032 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20033 wxDC *result;
20034 PyObject * obj0 = 0 ;
20035 char *kwnames[] = {
20036 (char *) "self", NULL
20037 };
20038
20039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
20040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20042 {
20043 PyThreadState* __tstate = wxPyBeginAllowThreads();
20044 result = (wxDC *)(arg1)->GetDC();
20045
20046 wxPyEndAllowThreads(__tstate);
20047 if (PyErr_Occurred()) SWIG_fail;
20048 }
20049 {
20050 resultobj = wxPyMake_wxObject(result);
20051 }
20052 return resultobj;
20053 fail:
20054 return NULL;
20055 }
20056
20057
20058 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
20059 PyObject *resultobj;
20060 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20061 wxDC *arg2 = (wxDC *) 0 ;
20062 PyObject * obj0 = 0 ;
20063 PyObject * obj1 = 0 ;
20064 char *kwnames[] = {
20065 (char *) "self",(char *) "dc", NULL
20066 };
20067
20068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
20069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20071 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
20072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20073 {
20074 PyThreadState* __tstate = wxPyBeginAllowThreads();
20075 (arg1)->SetDC(arg2);
20076
20077 wxPyEndAllowThreads(__tstate);
20078 if (PyErr_Occurred()) SWIG_fail;
20079 }
20080 Py_INCREF(Py_None); resultobj = Py_None;
20081 return resultobj;
20082 fail:
20083 return NULL;
20084 }
20085
20086
20087 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
20088 PyObject *resultobj;
20089 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20090 int arg2 ;
20091 int arg3 ;
20092 PyObject * obj0 = 0 ;
20093 PyObject * obj1 = 0 ;
20094 PyObject * obj2 = 0 ;
20095 char *kwnames[] = {
20096 (char *) "self",(char *) "w",(char *) "h", NULL
20097 };
20098
20099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
20100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20102 arg2 = (int) SWIG_AsInt(obj1);
20103 if (PyErr_Occurred()) SWIG_fail;
20104 arg3 = (int) SWIG_AsInt(obj2);
20105 if (PyErr_Occurred()) SWIG_fail;
20106 {
20107 PyThreadState* __tstate = wxPyBeginAllowThreads();
20108 (arg1)->SetPageSizePixels(arg2,arg3);
20109
20110 wxPyEndAllowThreads(__tstate);
20111 if (PyErr_Occurred()) SWIG_fail;
20112 }
20113 Py_INCREF(Py_None); resultobj = Py_None;
20114 return resultobj;
20115 fail:
20116 return NULL;
20117 }
20118
20119
20120 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
20121 PyObject *resultobj;
20122 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20123 int *arg2 = (int *) 0 ;
20124 int *arg3 = (int *) 0 ;
20125 int temp2 ;
20126 int temp3 ;
20127 PyObject * obj0 = 0 ;
20128 char *kwnames[] = {
20129 (char *) "self", NULL
20130 };
20131
20132 arg2 = &temp2;
20133 arg3 = &temp3;
20134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
20135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20137 {
20138 PyThreadState* __tstate = wxPyBeginAllowThreads();
20139 (arg1)->GetPageSizePixels(arg2,arg3);
20140
20141 wxPyEndAllowThreads(__tstate);
20142 if (PyErr_Occurred()) SWIG_fail;
20143 }
20144 Py_INCREF(Py_None); resultobj = Py_None;
20145 {
20146 PyObject *o = PyInt_FromLong((long) (*arg2));
20147 resultobj = t_output_helper(resultobj,o);
20148 }
20149 {
20150 PyObject *o = PyInt_FromLong((long) (*arg3));
20151 resultobj = t_output_helper(resultobj,o);
20152 }
20153 return resultobj;
20154 fail:
20155 return NULL;
20156 }
20157
20158
20159 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
20160 PyObject *resultobj;
20161 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20162 int arg2 ;
20163 int arg3 ;
20164 PyObject * obj0 = 0 ;
20165 PyObject * obj1 = 0 ;
20166 PyObject * obj2 = 0 ;
20167 char *kwnames[] = {
20168 (char *) "self",(char *) "w",(char *) "h", NULL
20169 };
20170
20171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
20172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20174 arg2 = (int) SWIG_AsInt(obj1);
20175 if (PyErr_Occurred()) SWIG_fail;
20176 arg3 = (int) SWIG_AsInt(obj2);
20177 if (PyErr_Occurred()) SWIG_fail;
20178 {
20179 PyThreadState* __tstate = wxPyBeginAllowThreads();
20180 (arg1)->SetPageSizeMM(arg2,arg3);
20181
20182 wxPyEndAllowThreads(__tstate);
20183 if (PyErr_Occurred()) SWIG_fail;
20184 }
20185 Py_INCREF(Py_None); resultobj = Py_None;
20186 return resultobj;
20187 fail:
20188 return NULL;
20189 }
20190
20191
20192 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
20193 PyObject *resultobj;
20194 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20195 int *arg2 = (int *) 0 ;
20196 int *arg3 = (int *) 0 ;
20197 int temp2 ;
20198 int temp3 ;
20199 PyObject * obj0 = 0 ;
20200 char *kwnames[] = {
20201 (char *) "self", NULL
20202 };
20203
20204 arg2 = &temp2;
20205 arg3 = &temp3;
20206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
20207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20209 {
20210 PyThreadState* __tstate = wxPyBeginAllowThreads();
20211 (arg1)->GetPageSizeMM(arg2,arg3);
20212
20213 wxPyEndAllowThreads(__tstate);
20214 if (PyErr_Occurred()) SWIG_fail;
20215 }
20216 Py_INCREF(Py_None); resultobj = Py_None;
20217 {
20218 PyObject *o = PyInt_FromLong((long) (*arg2));
20219 resultobj = t_output_helper(resultobj,o);
20220 }
20221 {
20222 PyObject *o = PyInt_FromLong((long) (*arg3));
20223 resultobj = t_output_helper(resultobj,o);
20224 }
20225 return resultobj;
20226 fail:
20227 return NULL;
20228 }
20229
20230
20231 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
20232 PyObject *resultobj;
20233 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20234 int arg2 ;
20235 int arg3 ;
20236 PyObject * obj0 = 0 ;
20237 PyObject * obj1 = 0 ;
20238 PyObject * obj2 = 0 ;
20239 char *kwnames[] = {
20240 (char *) "self",(char *) "x",(char *) "y", NULL
20241 };
20242
20243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
20244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20246 arg2 = (int) SWIG_AsInt(obj1);
20247 if (PyErr_Occurred()) SWIG_fail;
20248 arg3 = (int) SWIG_AsInt(obj2);
20249 if (PyErr_Occurred()) SWIG_fail;
20250 {
20251 PyThreadState* __tstate = wxPyBeginAllowThreads();
20252 (arg1)->SetPPIScreen(arg2,arg3);
20253
20254 wxPyEndAllowThreads(__tstate);
20255 if (PyErr_Occurred()) SWIG_fail;
20256 }
20257 Py_INCREF(Py_None); resultobj = Py_None;
20258 return resultobj;
20259 fail:
20260 return NULL;
20261 }
20262
20263
20264 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
20265 PyObject *resultobj;
20266 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20267 int *arg2 = (int *) 0 ;
20268 int *arg3 = (int *) 0 ;
20269 int temp2 ;
20270 int temp3 ;
20271 PyObject * obj0 = 0 ;
20272 char *kwnames[] = {
20273 (char *) "self", NULL
20274 };
20275
20276 arg2 = &temp2;
20277 arg3 = &temp3;
20278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
20279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20281 {
20282 PyThreadState* __tstate = wxPyBeginAllowThreads();
20283 (arg1)->GetPPIScreen(arg2,arg3);
20284
20285 wxPyEndAllowThreads(__tstate);
20286 if (PyErr_Occurred()) SWIG_fail;
20287 }
20288 Py_INCREF(Py_None); resultobj = Py_None;
20289 {
20290 PyObject *o = PyInt_FromLong((long) (*arg2));
20291 resultobj = t_output_helper(resultobj,o);
20292 }
20293 {
20294 PyObject *o = PyInt_FromLong((long) (*arg3));
20295 resultobj = t_output_helper(resultobj,o);
20296 }
20297 return resultobj;
20298 fail:
20299 return NULL;
20300 }
20301
20302
20303 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
20304 PyObject *resultobj;
20305 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20306 int arg2 ;
20307 int arg3 ;
20308 PyObject * obj0 = 0 ;
20309 PyObject * obj1 = 0 ;
20310 PyObject * obj2 = 0 ;
20311 char *kwnames[] = {
20312 (char *) "self",(char *) "x",(char *) "y", NULL
20313 };
20314
20315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
20316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20318 arg2 = (int) SWIG_AsInt(obj1);
20319 if (PyErr_Occurred()) SWIG_fail;
20320 arg3 = (int) SWIG_AsInt(obj2);
20321 if (PyErr_Occurred()) SWIG_fail;
20322 {
20323 PyThreadState* __tstate = wxPyBeginAllowThreads();
20324 (arg1)->SetPPIPrinter(arg2,arg3);
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_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
20337 PyObject *resultobj;
20338 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20339 int *arg2 = (int *) 0 ;
20340 int *arg3 = (int *) 0 ;
20341 int temp2 ;
20342 int temp3 ;
20343 PyObject * obj0 = 0 ;
20344 char *kwnames[] = {
20345 (char *) "self", NULL
20346 };
20347
20348 arg2 = &temp2;
20349 arg3 = &temp3;
20350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
20351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20353 {
20354 PyThreadState* __tstate = wxPyBeginAllowThreads();
20355 (arg1)->GetPPIPrinter(arg2,arg3);
20356
20357 wxPyEndAllowThreads(__tstate);
20358 if (PyErr_Occurred()) SWIG_fail;
20359 }
20360 Py_INCREF(Py_None); resultobj = Py_None;
20361 {
20362 PyObject *o = PyInt_FromLong((long) (*arg2));
20363 resultobj = t_output_helper(resultobj,o);
20364 }
20365 {
20366 PyObject *o = PyInt_FromLong((long) (*arg3));
20367 resultobj = t_output_helper(resultobj,o);
20368 }
20369 return resultobj;
20370 fail:
20371 return NULL;
20372 }
20373
20374
20375 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20376 PyObject *resultobj;
20377 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20378 bool result;
20379 PyObject * obj0 = 0 ;
20380 char *kwnames[] = {
20381 (char *) "self", NULL
20382 };
20383
20384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
20385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20387 {
20388 PyThreadState* __tstate = wxPyBeginAllowThreads();
20389 result = (bool)(arg1)->IsPreview();
20390
20391 wxPyEndAllowThreads(__tstate);
20392 if (PyErr_Occurred()) SWIG_fail;
20393 }
20394 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20395 return resultobj;
20396 fail:
20397 return NULL;
20398 }
20399
20400
20401 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20402 PyObject *resultobj;
20403 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20404 bool arg2 ;
20405 PyObject * obj0 = 0 ;
20406 PyObject * obj1 = 0 ;
20407 char *kwnames[] = {
20408 (char *) "self",(char *) "p", NULL
20409 };
20410
20411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
20412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20414 arg2 = (bool) SWIG_AsBool(obj1);
20415 if (PyErr_Occurred()) SWIG_fail;
20416 {
20417 PyThreadState* __tstate = wxPyBeginAllowThreads();
20418 (arg1)->SetIsPreview(arg2);
20419
20420 wxPyEndAllowThreads(__tstate);
20421 if (PyErr_Occurred()) SWIG_fail;
20422 }
20423 Py_INCREF(Py_None); resultobj = Py_None;
20424 return resultobj;
20425 fail:
20426 return NULL;
20427 }
20428
20429
20430 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
20431 PyObject *resultobj;
20432 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20433 int arg2 ;
20434 int arg3 ;
20435 bool result;
20436 PyObject * obj0 = 0 ;
20437 PyObject * obj1 = 0 ;
20438 PyObject * obj2 = 0 ;
20439 char *kwnames[] = {
20440 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
20441 };
20442
20443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
20444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20446 arg2 = (int) SWIG_AsInt(obj1);
20447 if (PyErr_Occurred()) SWIG_fail;
20448 arg3 = (int) SWIG_AsInt(obj2);
20449 if (PyErr_Occurred()) SWIG_fail;
20450 {
20451 PyThreadState* __tstate = wxPyBeginAllowThreads();
20452 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
20453
20454 wxPyEndAllowThreads(__tstate);
20455 if (PyErr_Occurred()) SWIG_fail;
20456 }
20457 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20458 return resultobj;
20459 fail:
20460 return NULL;
20461 }
20462
20463
20464 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
20465 PyObject *resultobj;
20466 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20467 PyObject * obj0 = 0 ;
20468 char *kwnames[] = {
20469 (char *) "self", NULL
20470 };
20471
20472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
20473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20475 {
20476 PyThreadState* __tstate = wxPyBeginAllowThreads();
20477 (arg1)->base_OnEndDocument();
20478
20479 wxPyEndAllowThreads(__tstate);
20480 if (PyErr_Occurred()) SWIG_fail;
20481 }
20482 Py_INCREF(Py_None); resultobj = Py_None;
20483 return resultobj;
20484 fail:
20485 return NULL;
20486 }
20487
20488
20489 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
20490 PyObject *resultobj;
20491 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20492 PyObject * obj0 = 0 ;
20493 char *kwnames[] = {
20494 (char *) "self", NULL
20495 };
20496
20497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
20498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20500 {
20501 PyThreadState* __tstate = wxPyBeginAllowThreads();
20502 (arg1)->base_OnBeginPrinting();
20503
20504 wxPyEndAllowThreads(__tstate);
20505 if (PyErr_Occurred()) SWIG_fail;
20506 }
20507 Py_INCREF(Py_None); resultobj = Py_None;
20508 return resultobj;
20509 fail:
20510 return NULL;
20511 }
20512
20513
20514 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
20515 PyObject *resultobj;
20516 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20517 PyObject * obj0 = 0 ;
20518 char *kwnames[] = {
20519 (char *) "self", NULL
20520 };
20521
20522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
20523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20525 {
20526 PyThreadState* __tstate = wxPyBeginAllowThreads();
20527 (arg1)->base_OnEndPrinting();
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_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
20540 PyObject *resultobj;
20541 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20542 PyObject * obj0 = 0 ;
20543 char *kwnames[] = {
20544 (char *) "self", NULL
20545 };
20546
20547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
20548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20550 {
20551 PyThreadState* __tstate = wxPyBeginAllowThreads();
20552 (arg1)->base_OnPreparePrinting();
20553
20554 wxPyEndAllowThreads(__tstate);
20555 if (PyErr_Occurred()) SWIG_fail;
20556 }
20557 Py_INCREF(Py_None); resultobj = Py_None;
20558 return resultobj;
20559 fail:
20560 return NULL;
20561 }
20562
20563
20564 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20565 PyObject *resultobj;
20566 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20567 int arg2 ;
20568 bool result;
20569 PyObject * obj0 = 0 ;
20570 PyObject * obj1 = 0 ;
20571 char *kwnames[] = {
20572 (char *) "self",(char *) "page", NULL
20573 };
20574
20575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
20576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20578 arg2 = (int) SWIG_AsInt(obj1);
20579 if (PyErr_Occurred()) SWIG_fail;
20580 {
20581 PyThreadState* __tstate = wxPyBeginAllowThreads();
20582 result = (bool)(arg1)->base_HasPage(arg2);
20583
20584 wxPyEndAllowThreads(__tstate);
20585 if (PyErr_Occurred()) SWIG_fail;
20586 }
20587 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20588 return resultobj;
20589 fail:
20590 return NULL;
20591 }
20592
20593
20594 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20595 PyObject *resultobj;
20596 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20597 int *arg2 = (int *) 0 ;
20598 int *arg3 = (int *) 0 ;
20599 int *arg4 = (int *) 0 ;
20600 int *arg5 = (int *) 0 ;
20601 int temp2 ;
20602 int temp3 ;
20603 int temp4 ;
20604 int temp5 ;
20605 PyObject * obj0 = 0 ;
20606 char *kwnames[] = {
20607 (char *) "self", NULL
20608 };
20609
20610 arg2 = &temp2;
20611 arg3 = &temp3;
20612 arg4 = &temp4;
20613 arg5 = &temp5;
20614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
20615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20617 {
20618 PyThreadState* __tstate = wxPyBeginAllowThreads();
20619 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
20620
20621 wxPyEndAllowThreads(__tstate);
20622 if (PyErr_Occurred()) SWIG_fail;
20623 }
20624 Py_INCREF(Py_None); resultobj = Py_None;
20625 {
20626 PyObject *o = PyInt_FromLong((long) (*arg2));
20627 resultobj = t_output_helper(resultobj,o);
20628 }
20629 {
20630 PyObject *o = PyInt_FromLong((long) (*arg3));
20631 resultobj = t_output_helper(resultobj,o);
20632 }
20633 {
20634 PyObject *o = PyInt_FromLong((long) (*arg4));
20635 resultobj = t_output_helper(resultobj,o);
20636 }
20637 {
20638 PyObject *o = PyInt_FromLong((long) (*arg5));
20639 resultobj = t_output_helper(resultobj,o);
20640 }
20641 return resultobj;
20642 fail:
20643 return NULL;
20644 }
20645
20646
20647 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
20648 PyObject *obj;
20649 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20650 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
20651 Py_INCREF(obj);
20652 return Py_BuildValue((char *)"");
20653 }
20654 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20655 PyObject *resultobj;
20656 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20657 wxWindow *arg2 = (wxWindow *) 0 ;
20658 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20659 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20660 wxSize const &arg4_defvalue = wxDefaultSize ;
20661 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20662 long arg5 = (long) 0 ;
20663 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
20664 wxString *arg6 = (wxString *) &arg6_defvalue ;
20665 wxPreviewCanvas *result;
20666 wxPoint temp3 ;
20667 wxSize temp4 ;
20668 bool temp6 = False ;
20669 PyObject * obj0 = 0 ;
20670 PyObject * obj1 = 0 ;
20671 PyObject * obj2 = 0 ;
20672 PyObject * obj3 = 0 ;
20673 PyObject * obj4 = 0 ;
20674 PyObject * obj5 = 0 ;
20675 char *kwnames[] = {
20676 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20677 };
20678
20679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
20680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
20681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20682 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20684 if (obj2) {
20685 {
20686 arg3 = &temp3;
20687 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20688 }
20689 }
20690 if (obj3) {
20691 {
20692 arg4 = &temp4;
20693 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20694 }
20695 }
20696 if (obj4) {
20697 arg5 = (long) SWIG_AsLong(obj4);
20698 if (PyErr_Occurred()) SWIG_fail;
20699 }
20700 if (obj5) {
20701 {
20702 arg6 = wxString_in_helper(obj5);
20703 if (arg6 == NULL) SWIG_fail;
20704 temp6 = True;
20705 }
20706 }
20707 {
20708 PyThreadState* __tstate = wxPyBeginAllowThreads();
20709 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20710
20711 wxPyEndAllowThreads(__tstate);
20712 if (PyErr_Occurred()) SWIG_fail;
20713 }
20714 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
20715 {
20716 if (temp6)
20717 delete arg6;
20718 }
20719 return resultobj;
20720 fail:
20721 {
20722 if (temp6)
20723 delete arg6;
20724 }
20725 return NULL;
20726 }
20727
20728
20729 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
20730 PyObject *obj;
20731 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20732 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
20733 Py_INCREF(obj);
20734 return Py_BuildValue((char *)"");
20735 }
20736 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
20737 PyObject *resultobj;
20738 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20739 wxFrame *arg2 = (wxFrame *) 0 ;
20740 wxString *arg3 = 0 ;
20741 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20742 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20743 wxSize const &arg5_defvalue = wxDefaultSize ;
20744 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20745 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20746 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20747 wxString *arg7 = (wxString *) &arg7_defvalue ;
20748 wxPreviewFrame *result;
20749 bool temp3 = False ;
20750 wxPoint temp4 ;
20751 wxSize temp5 ;
20752 bool temp7 = False ;
20753 PyObject * obj0 = 0 ;
20754 PyObject * obj1 = 0 ;
20755 PyObject * obj2 = 0 ;
20756 PyObject * obj3 = 0 ;
20757 PyObject * obj4 = 0 ;
20758 PyObject * obj5 = 0 ;
20759 PyObject * obj6 = 0 ;
20760 char *kwnames[] = {
20761 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20762 };
20763
20764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
20765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
20766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20767 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
20768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20769 {
20770 arg3 = wxString_in_helper(obj2);
20771 if (arg3 == NULL) SWIG_fail;
20772 temp3 = True;
20773 }
20774 if (obj3) {
20775 {
20776 arg4 = &temp4;
20777 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20778 }
20779 }
20780 if (obj4) {
20781 {
20782 arg5 = &temp5;
20783 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20784 }
20785 }
20786 if (obj5) {
20787 arg6 = (long) SWIG_AsLong(obj5);
20788 if (PyErr_Occurred()) SWIG_fail;
20789 }
20790 if (obj6) {
20791 {
20792 arg7 = wxString_in_helper(obj6);
20793 if (arg7 == NULL) SWIG_fail;
20794 temp7 = True;
20795 }
20796 }
20797 {
20798 PyThreadState* __tstate = wxPyBeginAllowThreads();
20799 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20800
20801 wxPyEndAllowThreads(__tstate);
20802 if (PyErr_Occurred()) SWIG_fail;
20803 }
20804 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
20805 {
20806 if (temp3)
20807 delete arg3;
20808 }
20809 {
20810 if (temp7)
20811 delete arg7;
20812 }
20813 return resultobj;
20814 fail:
20815 {
20816 if (temp3)
20817 delete arg3;
20818 }
20819 {
20820 if (temp7)
20821 delete arg7;
20822 }
20823 return NULL;
20824 }
20825
20826
20827 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
20828 PyObject *resultobj;
20829 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
20830 PyObject * obj0 = 0 ;
20831 char *kwnames[] = {
20832 (char *) "self", NULL
20833 };
20834
20835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
20836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
20837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20838 {
20839 PyThreadState* __tstate = wxPyBeginAllowThreads();
20840 (arg1)->Initialize();
20841
20842 wxPyEndAllowThreads(__tstate);
20843 if (PyErr_Occurred()) SWIG_fail;
20844 }
20845 Py_INCREF(Py_None); resultobj = Py_None;
20846 return resultobj;
20847 fail:
20848 return NULL;
20849 }
20850
20851
20852 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20853 PyObject *resultobj;
20854 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
20855 PyObject * obj0 = 0 ;
20856 char *kwnames[] = {
20857 (char *) "self", NULL
20858 };
20859
20860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
20861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
20862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20863 {
20864 PyThreadState* __tstate = wxPyBeginAllowThreads();
20865 (arg1)->CreateControlBar();
20866
20867 wxPyEndAllowThreads(__tstate);
20868 if (PyErr_Occurred()) SWIG_fail;
20869 }
20870 Py_INCREF(Py_None); resultobj = Py_None;
20871 return resultobj;
20872 fail:
20873 return NULL;
20874 }
20875
20876
20877 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20878 PyObject *resultobj;
20879 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
20880 PyObject * obj0 = 0 ;
20881 char *kwnames[] = {
20882 (char *) "self", NULL
20883 };
20884
20885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
20886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
20887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20888 {
20889 PyThreadState* __tstate = wxPyBeginAllowThreads();
20890 (arg1)->CreateCanvas();
20891
20892 wxPyEndAllowThreads(__tstate);
20893 if (PyErr_Occurred()) SWIG_fail;
20894 }
20895 Py_INCREF(Py_None); resultobj = Py_None;
20896 return resultobj;
20897 fail:
20898 return NULL;
20899 }
20900
20901
20902 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20903 PyObject *resultobj;
20904 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
20905 wxPreviewControlBar *result;
20906 PyObject * obj0 = 0 ;
20907 char *kwnames[] = {
20908 (char *) "self", NULL
20909 };
20910
20911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
20912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
20913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20914 {
20915 PyThreadState* __tstate = wxPyBeginAllowThreads();
20916 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
20917
20918 wxPyEndAllowThreads(__tstate);
20919 if (PyErr_Occurred()) SWIG_fail;
20920 }
20921 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
20922 return resultobj;
20923 fail:
20924 return NULL;
20925 }
20926
20927
20928 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
20929 PyObject *obj;
20930 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20931 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
20932 Py_INCREF(obj);
20933 return Py_BuildValue((char *)"");
20934 }
20935 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20936 PyObject *resultobj;
20937 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20938 long arg2 ;
20939 wxWindow *arg3 = (wxWindow *) 0 ;
20940 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20941 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20942 wxSize const &arg5_defvalue = wxDefaultSize ;
20943 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20944 long arg6 = (long) wxTAB_TRAVERSAL ;
20945 wxString const &arg7_defvalue = wxPyPanelNameStr ;
20946 wxString *arg7 = (wxString *) &arg7_defvalue ;
20947 wxPreviewControlBar *result;
20948 wxPoint temp4 ;
20949 wxSize temp5 ;
20950 bool temp7 = False ;
20951 PyObject * obj0 = 0 ;
20952 PyObject * obj1 = 0 ;
20953 PyObject * obj2 = 0 ;
20954 PyObject * obj3 = 0 ;
20955 PyObject * obj4 = 0 ;
20956 PyObject * obj5 = 0 ;
20957 PyObject * obj6 = 0 ;
20958 char *kwnames[] = {
20959 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20960 };
20961
20962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
20963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
20964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20965 arg2 = (long) SWIG_AsLong(obj1);
20966 if (PyErr_Occurred()) SWIG_fail;
20967 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
20968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20969 if (obj3) {
20970 {
20971 arg4 = &temp4;
20972 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20973 }
20974 }
20975 if (obj4) {
20976 {
20977 arg5 = &temp5;
20978 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20979 }
20980 }
20981 if (obj5) {
20982 arg6 = (long) SWIG_AsLong(obj5);
20983 if (PyErr_Occurred()) SWIG_fail;
20984 }
20985 if (obj6) {
20986 {
20987 arg7 = wxString_in_helper(obj6);
20988 if (arg7 == NULL) SWIG_fail;
20989 temp7 = True;
20990 }
20991 }
20992 {
20993 PyThreadState* __tstate = wxPyBeginAllowThreads();
20994 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20995
20996 wxPyEndAllowThreads(__tstate);
20997 if (PyErr_Occurred()) SWIG_fail;
20998 }
20999 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
21000 {
21001 if (temp7)
21002 delete arg7;
21003 }
21004 return resultobj;
21005 fail:
21006 {
21007 if (temp7)
21008 delete arg7;
21009 }
21010 return NULL;
21011 }
21012
21013
21014 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
21015 PyObject *resultobj;
21016 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21017 int result;
21018 PyObject * obj0 = 0 ;
21019 char *kwnames[] = {
21020 (char *) "self", NULL
21021 };
21022
21023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
21024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
21025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21026 {
21027 PyThreadState* __tstate = wxPyBeginAllowThreads();
21028 result = (int)(arg1)->GetZoomControl();
21029
21030 wxPyEndAllowThreads(__tstate);
21031 if (PyErr_Occurred()) SWIG_fail;
21032 }
21033 resultobj = SWIG_FromInt((int)result);
21034 return resultobj;
21035 fail:
21036 return NULL;
21037 }
21038
21039
21040 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
21041 PyObject *resultobj;
21042 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21043 int arg2 ;
21044 PyObject * obj0 = 0 ;
21045 PyObject * obj1 = 0 ;
21046 char *kwnames[] = {
21047 (char *) "self",(char *) "zoom", NULL
21048 };
21049
21050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
21051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
21052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21053 arg2 = (int) SWIG_AsInt(obj1);
21054 if (PyErr_Occurred()) SWIG_fail;
21055 {
21056 PyThreadState* __tstate = wxPyBeginAllowThreads();
21057 (arg1)->SetZoomControl(arg2);
21058
21059 wxPyEndAllowThreads(__tstate);
21060 if (PyErr_Occurred()) SWIG_fail;
21061 }
21062 Py_INCREF(Py_None); resultobj = Py_None;
21063 return resultobj;
21064 fail:
21065 return NULL;
21066 }
21067
21068
21069 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21070 PyObject *resultobj;
21071 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21072 wxPrintPreview *result;
21073 PyObject * obj0 = 0 ;
21074 char *kwnames[] = {
21075 (char *) "self", NULL
21076 };
21077
21078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
21079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
21080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21081 {
21082 PyThreadState* __tstate = wxPyBeginAllowThreads();
21083 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
21084
21085 wxPyEndAllowThreads(__tstate);
21086 if (PyErr_Occurred()) SWIG_fail;
21087 }
21088 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
21089 return resultobj;
21090 fail:
21091 return NULL;
21092 }
21093
21094
21095 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
21096 PyObject *resultobj;
21097 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21098 PyObject * obj0 = 0 ;
21099 char *kwnames[] = {
21100 (char *) "self", NULL
21101 };
21102
21103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
21104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
21105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21106 {
21107 PyThreadState* __tstate = wxPyBeginAllowThreads();
21108 (arg1)->OnNext();
21109
21110 wxPyEndAllowThreads(__tstate);
21111 if (PyErr_Occurred()) SWIG_fail;
21112 }
21113 Py_INCREF(Py_None); resultobj = Py_None;
21114 return resultobj;
21115 fail:
21116 return NULL;
21117 }
21118
21119
21120 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
21121 PyObject *resultobj;
21122 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21123 PyObject * obj0 = 0 ;
21124 char *kwnames[] = {
21125 (char *) "self", NULL
21126 };
21127
21128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
21129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
21130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21131 {
21132 PyThreadState* __tstate = wxPyBeginAllowThreads();
21133 (arg1)->OnPrevious();
21134
21135 wxPyEndAllowThreads(__tstate);
21136 if (PyErr_Occurred()) SWIG_fail;
21137 }
21138 Py_INCREF(Py_None); resultobj = Py_None;
21139 return resultobj;
21140 fail:
21141 return NULL;
21142 }
21143
21144
21145 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
21146 PyObject *resultobj;
21147 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21148 PyObject * obj0 = 0 ;
21149 char *kwnames[] = {
21150 (char *) "self", NULL
21151 };
21152
21153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
21154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
21155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21156 {
21157 PyThreadState* __tstate = wxPyBeginAllowThreads();
21158 (arg1)->OnFirst();
21159
21160 wxPyEndAllowThreads(__tstate);
21161 if (PyErr_Occurred()) SWIG_fail;
21162 }
21163 Py_INCREF(Py_None); resultobj = Py_None;
21164 return resultobj;
21165 fail:
21166 return NULL;
21167 }
21168
21169
21170 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
21171 PyObject *resultobj;
21172 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21173 PyObject * obj0 = 0 ;
21174 char *kwnames[] = {
21175 (char *) "self", NULL
21176 };
21177
21178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
21179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
21180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21181 {
21182 PyThreadState* __tstate = wxPyBeginAllowThreads();
21183 (arg1)->OnLast();
21184
21185 wxPyEndAllowThreads(__tstate);
21186 if (PyErr_Occurred()) SWIG_fail;
21187 }
21188 Py_INCREF(Py_None); resultobj = Py_None;
21189 return resultobj;
21190 fail:
21191 return NULL;
21192 }
21193
21194
21195 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
21196 PyObject *resultobj;
21197 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21198 PyObject * obj0 = 0 ;
21199 char *kwnames[] = {
21200 (char *) "self", NULL
21201 };
21202
21203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
21204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
21205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21206 {
21207 PyThreadState* __tstate = wxPyBeginAllowThreads();
21208 (arg1)->OnGoto();
21209
21210 wxPyEndAllowThreads(__tstate);
21211 if (PyErr_Occurred()) SWIG_fail;
21212 }
21213 Py_INCREF(Py_None); resultobj = Py_None;
21214 return resultobj;
21215 fail:
21216 return NULL;
21217 }
21218
21219
21220 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
21221 PyObject *obj;
21222 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21223 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
21224 Py_INCREF(obj);
21225 return Py_BuildValue((char *)"");
21226 }
21227 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21228 PyObject *resultobj;
21229 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21230 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
21231 wxPrintData *arg3 = (wxPrintData *) NULL ;
21232 wxPrintPreview *result;
21233 PyObject * obj0 = 0 ;
21234 PyObject * obj1 = 0 ;
21235 PyObject * obj2 = 0 ;
21236 char *kwnames[] = {
21237 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
21238 };
21239
21240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
21241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21243 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
21244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21245 if (obj2) {
21246 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
21247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21248 }
21249 {
21250 PyThreadState* __tstate = wxPyBeginAllowThreads();
21251 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
21252
21253 wxPyEndAllowThreads(__tstate);
21254 if (PyErr_Occurred()) SWIG_fail;
21255 }
21256 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
21257 return resultobj;
21258 fail:
21259 return NULL;
21260 }
21261
21262
21263 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21264 PyObject *resultobj;
21265 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21266 int arg2 ;
21267 bool result;
21268 PyObject * obj0 = 0 ;
21269 PyObject * obj1 = 0 ;
21270 char *kwnames[] = {
21271 (char *) "self",(char *) "pageNum", NULL
21272 };
21273
21274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
21275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21277 arg2 = (int) SWIG_AsInt(obj1);
21278 if (PyErr_Occurred()) SWIG_fail;
21279 {
21280 PyThreadState* __tstate = wxPyBeginAllowThreads();
21281 result = (bool)(arg1)->SetCurrentPage(arg2);
21282
21283 wxPyEndAllowThreads(__tstate);
21284 if (PyErr_Occurred()) SWIG_fail;
21285 }
21286 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21287 return resultobj;
21288 fail:
21289 return NULL;
21290 }
21291
21292
21293 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21294 PyObject *resultobj;
21295 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21296 int result;
21297 PyObject * obj0 = 0 ;
21298 char *kwnames[] = {
21299 (char *) "self", NULL
21300 };
21301
21302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
21303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21305 {
21306 PyThreadState* __tstate = wxPyBeginAllowThreads();
21307 result = (int)(arg1)->GetCurrentPage();
21308
21309 wxPyEndAllowThreads(__tstate);
21310 if (PyErr_Occurred()) SWIG_fail;
21311 }
21312 resultobj = SWIG_FromInt((int)result);
21313 return resultobj;
21314 fail:
21315 return NULL;
21316 }
21317
21318
21319 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
21320 PyObject *resultobj;
21321 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21322 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
21323 PyObject * obj0 = 0 ;
21324 PyObject * obj1 = 0 ;
21325 char *kwnames[] = {
21326 (char *) "self",(char *) "printout", NULL
21327 };
21328
21329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
21330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21332 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
21333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21334 {
21335 PyThreadState* __tstate = wxPyBeginAllowThreads();
21336 (arg1)->SetPrintout(arg2);
21337
21338 wxPyEndAllowThreads(__tstate);
21339 if (PyErr_Occurred()) SWIG_fail;
21340 }
21341 Py_INCREF(Py_None); resultobj = Py_None;
21342 return resultobj;
21343 fail:
21344 return NULL;
21345 }
21346
21347
21348 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
21349 PyObject *resultobj;
21350 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21351 wxPyPrintout *result;
21352 PyObject * obj0 = 0 ;
21353 char *kwnames[] = {
21354 (char *) "self", NULL
21355 };
21356
21357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
21358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21360 {
21361 PyThreadState* __tstate = wxPyBeginAllowThreads();
21362 result = (wxPyPrintout *)(arg1)->GetPrintout();
21363
21364 wxPyEndAllowThreads(__tstate);
21365 if (PyErr_Occurred()) SWIG_fail;
21366 }
21367 {
21368 resultobj = wxPyMake_wxObject(result);
21369 }
21370 return resultobj;
21371 fail:
21372 return NULL;
21373 }
21374
21375
21376 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
21377 PyObject *resultobj;
21378 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21379 wxPyPrintout *result;
21380 PyObject * obj0 = 0 ;
21381 char *kwnames[] = {
21382 (char *) "self", NULL
21383 };
21384
21385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
21386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21388 {
21389 PyThreadState* __tstate = wxPyBeginAllowThreads();
21390 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
21391
21392 wxPyEndAllowThreads(__tstate);
21393 if (PyErr_Occurred()) SWIG_fail;
21394 }
21395 {
21396 resultobj = wxPyMake_wxObject(result);
21397 }
21398 return resultobj;
21399 fail:
21400 return NULL;
21401 }
21402
21403
21404 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
21405 PyObject *resultobj;
21406 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21407 wxFrame *arg2 = (wxFrame *) 0 ;
21408 PyObject * obj0 = 0 ;
21409 PyObject * obj1 = 0 ;
21410 char *kwnames[] = {
21411 (char *) "self",(char *) "frame", NULL
21412 };
21413
21414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
21415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21417 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
21418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21419 {
21420 PyThreadState* __tstate = wxPyBeginAllowThreads();
21421 (arg1)->SetFrame(arg2);
21422
21423 wxPyEndAllowThreads(__tstate);
21424 if (PyErr_Occurred()) SWIG_fail;
21425 }
21426 Py_INCREF(Py_None); resultobj = Py_None;
21427 return resultobj;
21428 fail:
21429 return NULL;
21430 }
21431
21432
21433 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
21434 PyObject *resultobj;
21435 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21436 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21437 PyObject * obj0 = 0 ;
21438 PyObject * obj1 = 0 ;
21439 char *kwnames[] = {
21440 (char *) "self",(char *) "canvas", NULL
21441 };
21442
21443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
21444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21446 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
21447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21448 {
21449 PyThreadState* __tstate = wxPyBeginAllowThreads();
21450 (arg1)->SetCanvas(arg2);
21451
21452 wxPyEndAllowThreads(__tstate);
21453 if (PyErr_Occurred()) SWIG_fail;
21454 }
21455 Py_INCREF(Py_None); resultobj = Py_None;
21456 return resultobj;
21457 fail:
21458 return NULL;
21459 }
21460
21461
21462 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
21463 PyObject *resultobj;
21464 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21465 wxFrame *result;
21466 PyObject * obj0 = 0 ;
21467 char *kwnames[] = {
21468 (char *) "self", NULL
21469 };
21470
21471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
21472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21474 {
21475 PyThreadState* __tstate = wxPyBeginAllowThreads();
21476 result = (wxFrame *)(arg1)->GetFrame();
21477
21478 wxPyEndAllowThreads(__tstate);
21479 if (PyErr_Occurred()) SWIG_fail;
21480 }
21481 {
21482 resultobj = wxPyMake_wxObject(result);
21483 }
21484 return resultobj;
21485 fail:
21486 return NULL;
21487 }
21488
21489
21490 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
21491 PyObject *resultobj;
21492 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21493 wxPreviewCanvas *result;
21494 PyObject * obj0 = 0 ;
21495 char *kwnames[] = {
21496 (char *) "self", NULL
21497 };
21498
21499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
21500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21502 {
21503 PyThreadState* __tstate = wxPyBeginAllowThreads();
21504 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
21505
21506 wxPyEndAllowThreads(__tstate);
21507 if (PyErr_Occurred()) SWIG_fail;
21508 }
21509 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
21510 return resultobj;
21511 fail:
21512 return NULL;
21513 }
21514
21515
21516 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21517 PyObject *resultobj;
21518 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21519 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21520 wxDC *arg3 = 0 ;
21521 bool result;
21522 PyObject * obj0 = 0 ;
21523 PyObject * obj1 = 0 ;
21524 PyObject * obj2 = 0 ;
21525 char *kwnames[] = {
21526 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21527 };
21528
21529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
21530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21532 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
21533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21534 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
21535 SWIG_POINTER_EXCEPTION | 0)) == -1)
21536 SWIG_fail;
21537 if (arg3 == NULL) {
21538 PyErr_SetString(PyExc_TypeError,"null reference");
21539 SWIG_fail;
21540 }
21541 {
21542 PyThreadState* __tstate = wxPyBeginAllowThreads();
21543 result = (bool)(arg1)->PaintPage(arg2,*arg3);
21544
21545 wxPyEndAllowThreads(__tstate);
21546 if (PyErr_Occurred()) SWIG_fail;
21547 }
21548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21549 return resultobj;
21550 fail:
21551 return NULL;
21552 }
21553
21554
21555 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21556 PyObject *resultobj;
21557 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21558 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21559 wxDC *arg3 = 0 ;
21560 bool result;
21561 PyObject * obj0 = 0 ;
21562 PyObject * obj1 = 0 ;
21563 PyObject * obj2 = 0 ;
21564 char *kwnames[] = {
21565 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21566 };
21567
21568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
21569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21571 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
21572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21573 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
21574 SWIG_POINTER_EXCEPTION | 0)) == -1)
21575 SWIG_fail;
21576 if (arg3 == NULL) {
21577 PyErr_SetString(PyExc_TypeError,"null reference");
21578 SWIG_fail;
21579 }
21580 {
21581 PyThreadState* __tstate = wxPyBeginAllowThreads();
21582 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
21583
21584 wxPyEndAllowThreads(__tstate);
21585 if (PyErr_Occurred()) SWIG_fail;
21586 }
21587 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21588 return resultobj;
21589 fail:
21590 return NULL;
21591 }
21592
21593
21594 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21595 PyObject *resultobj;
21596 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21597 int arg2 ;
21598 bool result;
21599 PyObject * obj0 = 0 ;
21600 PyObject * obj1 = 0 ;
21601 char *kwnames[] = {
21602 (char *) "self",(char *) "pageNum", NULL
21603 };
21604
21605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
21606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21608 arg2 = (int) SWIG_AsInt(obj1);
21609 if (PyErr_Occurred()) SWIG_fail;
21610 {
21611 PyThreadState* __tstate = wxPyBeginAllowThreads();
21612 result = (bool)(arg1)->RenderPage(arg2);
21613
21614 wxPyEndAllowThreads(__tstate);
21615 if (PyErr_Occurred()) SWIG_fail;
21616 }
21617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21618 return resultobj;
21619 fail:
21620 return NULL;
21621 }
21622
21623
21624 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
21625 PyObject *resultobj;
21626 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21627 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21628 PyObject * obj0 = 0 ;
21629 PyObject * obj1 = 0 ;
21630 char *kwnames[] = {
21631 (char *) "self",(char *) "canvas", NULL
21632 };
21633
21634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
21635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21637 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
21638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21639 {
21640 PyThreadState* __tstate = wxPyBeginAllowThreads();
21641 (arg1)->AdjustScrollbars(arg2);
21642
21643 wxPyEndAllowThreads(__tstate);
21644 if (PyErr_Occurred()) SWIG_fail;
21645 }
21646 Py_INCREF(Py_None); resultobj = Py_None;
21647 return resultobj;
21648 fail:
21649 return NULL;
21650 }
21651
21652
21653 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
21654 PyObject *resultobj;
21655 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21656 wxPrintDialogData *result;
21657 PyObject * obj0 = 0 ;
21658 char *kwnames[] = {
21659 (char *) "self", NULL
21660 };
21661
21662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
21663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21665 {
21666 PyThreadState* __tstate = wxPyBeginAllowThreads();
21667 {
21668 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21669 result = (wxPrintDialogData *) &_result_ref;
21670 }
21671
21672 wxPyEndAllowThreads(__tstate);
21673 if (PyErr_Occurred()) SWIG_fail;
21674 }
21675 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21676 return resultobj;
21677 fail:
21678 return NULL;
21679 }
21680
21681
21682 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
21683 PyObject *resultobj;
21684 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21685 int arg2 ;
21686 PyObject * obj0 = 0 ;
21687 PyObject * obj1 = 0 ;
21688 char *kwnames[] = {
21689 (char *) "self",(char *) "percent", NULL
21690 };
21691
21692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
21693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21695 arg2 = (int) SWIG_AsInt(obj1);
21696 if (PyErr_Occurred()) SWIG_fail;
21697 {
21698 PyThreadState* __tstate = wxPyBeginAllowThreads();
21699 (arg1)->SetZoom(arg2);
21700
21701 wxPyEndAllowThreads(__tstate);
21702 if (PyErr_Occurred()) SWIG_fail;
21703 }
21704 Py_INCREF(Py_None); resultobj = Py_None;
21705 return resultobj;
21706 fail:
21707 return NULL;
21708 }
21709
21710
21711 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
21712 PyObject *resultobj;
21713 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21714 int result;
21715 PyObject * obj0 = 0 ;
21716 char *kwnames[] = {
21717 (char *) "self", NULL
21718 };
21719
21720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
21721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21723 {
21724 PyThreadState* __tstate = wxPyBeginAllowThreads();
21725 result = (int)(arg1)->GetZoom();
21726
21727 wxPyEndAllowThreads(__tstate);
21728 if (PyErr_Occurred()) SWIG_fail;
21729 }
21730 resultobj = SWIG_FromInt((int)result);
21731 return resultobj;
21732 fail:
21733 return NULL;
21734 }
21735
21736
21737 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21738 PyObject *resultobj;
21739 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21740 int result;
21741 PyObject * obj0 = 0 ;
21742 char *kwnames[] = {
21743 (char *) "self", NULL
21744 };
21745
21746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
21747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21749 {
21750 PyThreadState* __tstate = wxPyBeginAllowThreads();
21751 result = (int)(arg1)->GetMaxPage();
21752
21753 wxPyEndAllowThreads(__tstate);
21754 if (PyErr_Occurred()) SWIG_fail;
21755 }
21756 resultobj = SWIG_FromInt((int)result);
21757 return resultobj;
21758 fail:
21759 return NULL;
21760 }
21761
21762
21763 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21764 PyObject *resultobj;
21765 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21766 int result;
21767 PyObject * obj0 = 0 ;
21768 char *kwnames[] = {
21769 (char *) "self", NULL
21770 };
21771
21772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
21773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21775 {
21776 PyThreadState* __tstate = wxPyBeginAllowThreads();
21777 result = (int)(arg1)->GetMinPage();
21778
21779 wxPyEndAllowThreads(__tstate);
21780 if (PyErr_Occurred()) SWIG_fail;
21781 }
21782 resultobj = SWIG_FromInt((int)result);
21783 return resultobj;
21784 fail:
21785 return NULL;
21786 }
21787
21788
21789 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
21790 PyObject *resultobj;
21791 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21792 bool result;
21793 PyObject * obj0 = 0 ;
21794 char *kwnames[] = {
21795 (char *) "self", NULL
21796 };
21797
21798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
21799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21801 {
21802 PyThreadState* __tstate = wxPyBeginAllowThreads();
21803 result = (bool)(arg1)->Ok();
21804
21805 wxPyEndAllowThreads(__tstate);
21806 if (PyErr_Occurred()) SWIG_fail;
21807 }
21808 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21809 return resultobj;
21810 fail:
21811 return NULL;
21812 }
21813
21814
21815 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
21816 PyObject *resultobj;
21817 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21818 bool arg2 ;
21819 PyObject * obj0 = 0 ;
21820 PyObject * obj1 = 0 ;
21821 char *kwnames[] = {
21822 (char *) "self",(char *) "ok", NULL
21823 };
21824
21825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
21826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21828 arg2 = (bool) SWIG_AsBool(obj1);
21829 if (PyErr_Occurred()) SWIG_fail;
21830 {
21831 PyThreadState* __tstate = wxPyBeginAllowThreads();
21832 (arg1)->SetOk(arg2);
21833
21834 wxPyEndAllowThreads(__tstate);
21835 if (PyErr_Occurred()) SWIG_fail;
21836 }
21837 Py_INCREF(Py_None); resultobj = Py_None;
21838 return resultobj;
21839 fail:
21840 return NULL;
21841 }
21842
21843
21844 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
21845 PyObject *resultobj;
21846 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21847 bool arg2 ;
21848 bool result;
21849 PyObject * obj0 = 0 ;
21850 PyObject * obj1 = 0 ;
21851 char *kwnames[] = {
21852 (char *) "self",(char *) "interactive", NULL
21853 };
21854
21855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
21856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21858 arg2 = (bool) SWIG_AsBool(obj1);
21859 if (PyErr_Occurred()) SWIG_fail;
21860 {
21861 PyThreadState* __tstate = wxPyBeginAllowThreads();
21862 result = (bool)(arg1)->Print(arg2);
21863
21864 wxPyEndAllowThreads(__tstate);
21865 if (PyErr_Occurred()) SWIG_fail;
21866 }
21867 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21868 return resultobj;
21869 fail:
21870 return NULL;
21871 }
21872
21873
21874 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
21875 PyObject *resultobj;
21876 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21877 PyObject * obj0 = 0 ;
21878 char *kwnames[] = {
21879 (char *) "self", NULL
21880 };
21881
21882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
21883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21885 {
21886 PyThreadState* __tstate = wxPyBeginAllowThreads();
21887 (arg1)->DetermineScaling();
21888
21889 wxPyEndAllowThreads(__tstate);
21890 if (PyErr_Occurred()) SWIG_fail;
21891 }
21892 Py_INCREF(Py_None); resultobj = Py_None;
21893 return resultobj;
21894 fail:
21895 return NULL;
21896 }
21897
21898
21899 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
21900 PyObject *obj;
21901 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21902 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
21903 Py_INCREF(obj);
21904 return Py_BuildValue((char *)"");
21905 }
21906 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21907 PyObject *resultobj;
21908 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21909 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
21910 wxPrintData *arg3 = (wxPrintData *) NULL ;
21911 wxPyPrintPreview *result;
21912 PyObject * obj0 = 0 ;
21913 PyObject * obj1 = 0 ;
21914 PyObject * obj2 = 0 ;
21915 char *kwnames[] = {
21916 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
21917 };
21918
21919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PyPrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
21920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21922 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
21923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21924 if (obj2) {
21925 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
21926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21927 }
21928 {
21929 PyThreadState* __tstate = wxPyBeginAllowThreads();
21930 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
21931
21932 wxPyEndAllowThreads(__tstate);
21933 if (PyErr_Occurred()) SWIG_fail;
21934 }
21935 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
21936 return resultobj;
21937 fail:
21938 return NULL;
21939 }
21940
21941
21942 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21943 PyObject *resultobj;
21944 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
21945 PyObject *arg2 = (PyObject *) 0 ;
21946 PyObject *arg3 = (PyObject *) 0 ;
21947 PyObject * obj0 = 0 ;
21948 PyObject * obj1 = 0 ;
21949 PyObject * obj2 = 0 ;
21950 char *kwnames[] = {
21951 (char *) "self",(char *) "self",(char *) "_class", NULL
21952 };
21953
21954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
21956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21957 arg2 = obj1;
21958 arg3 = obj2;
21959 {
21960 PyThreadState* __tstate = wxPyBeginAllowThreads();
21961 (arg1)->_setCallbackInfo(arg2,arg3);
21962
21963 wxPyEndAllowThreads(__tstate);
21964 if (PyErr_Occurred()) SWIG_fail;
21965 }
21966 Py_INCREF(Py_None); resultobj = Py_None;
21967 return resultobj;
21968 fail:
21969 return NULL;
21970 }
21971
21972
21973 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21974 PyObject *resultobj;
21975 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
21976 int arg2 ;
21977 bool result;
21978 PyObject * obj0 = 0 ;
21979 PyObject * obj1 = 0 ;
21980 char *kwnames[] = {
21981 (char *) "self",(char *) "pageNum", NULL
21982 };
21983
21984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
21985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
21986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21987 arg2 = (int) SWIG_AsInt(obj1);
21988 if (PyErr_Occurred()) SWIG_fail;
21989 {
21990 PyThreadState* __tstate = wxPyBeginAllowThreads();
21991 result = (bool)(arg1)->base_SetCurrentPage(arg2);
21992
21993 wxPyEndAllowThreads(__tstate);
21994 if (PyErr_Occurred()) SWIG_fail;
21995 }
21996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21997 return resultobj;
21998 fail:
21999 return NULL;
22000 }
22001
22002
22003 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22004 PyObject *resultobj;
22005 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22006 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22007 wxDC *arg3 = 0 ;
22008 bool result;
22009 PyObject * obj0 = 0 ;
22010 PyObject * obj1 = 0 ;
22011 PyObject * obj2 = 0 ;
22012 char *kwnames[] = {
22013 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22014 };
22015
22016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
22018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22019 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22021 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
22022 SWIG_POINTER_EXCEPTION | 0)) == -1)
22023 SWIG_fail;
22024 if (arg3 == NULL) {
22025 PyErr_SetString(PyExc_TypeError,"null reference");
22026 SWIG_fail;
22027 }
22028 {
22029 PyThreadState* __tstate = wxPyBeginAllowThreads();
22030 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
22031
22032 wxPyEndAllowThreads(__tstate);
22033 if (PyErr_Occurred()) SWIG_fail;
22034 }
22035 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22036 return resultobj;
22037 fail:
22038 return NULL;
22039 }
22040
22041
22042 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22043 PyObject *resultobj;
22044 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22045 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22046 wxDC *arg3 = 0 ;
22047 bool result;
22048 PyObject * obj0 = 0 ;
22049 PyObject * obj1 = 0 ;
22050 PyObject * obj2 = 0 ;
22051 char *kwnames[] = {
22052 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22053 };
22054
22055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
22057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22058 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22060 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
22061 SWIG_POINTER_EXCEPTION | 0)) == -1)
22062 SWIG_fail;
22063 if (arg3 == NULL) {
22064 PyErr_SetString(PyExc_TypeError,"null reference");
22065 SWIG_fail;
22066 }
22067 {
22068 PyThreadState* __tstate = wxPyBeginAllowThreads();
22069 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
22070
22071 wxPyEndAllowThreads(__tstate);
22072 if (PyErr_Occurred()) SWIG_fail;
22073 }
22074 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22075 return resultobj;
22076 fail:
22077 return NULL;
22078 }
22079
22080
22081 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22082 PyObject *resultobj;
22083 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22084 int arg2 ;
22085 bool result;
22086 PyObject * obj0 = 0 ;
22087 PyObject * obj1 = 0 ;
22088 char *kwnames[] = {
22089 (char *) "self",(char *) "pageNum", NULL
22090 };
22091
22092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
22093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
22094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22095 arg2 = (int) SWIG_AsInt(obj1);
22096 if (PyErr_Occurred()) SWIG_fail;
22097 {
22098 PyThreadState* __tstate = wxPyBeginAllowThreads();
22099 result = (bool)(arg1)->base_RenderPage(arg2);
22100
22101 wxPyEndAllowThreads(__tstate);
22102 if (PyErr_Occurred()) SWIG_fail;
22103 }
22104 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22105 return resultobj;
22106 fail:
22107 return NULL;
22108 }
22109
22110
22111 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
22112 PyObject *resultobj;
22113 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22114 int arg2 ;
22115 PyObject * obj0 = 0 ;
22116 PyObject * obj1 = 0 ;
22117 char *kwnames[] = {
22118 (char *) "self",(char *) "percent", NULL
22119 };
22120
22121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
22122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
22123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22124 arg2 = (int) SWIG_AsInt(obj1);
22125 if (PyErr_Occurred()) SWIG_fail;
22126 {
22127 PyThreadState* __tstate = wxPyBeginAllowThreads();
22128 (arg1)->base_SetZoom(arg2);
22129
22130 wxPyEndAllowThreads(__tstate);
22131 if (PyErr_Occurred()) SWIG_fail;
22132 }
22133 Py_INCREF(Py_None); resultobj = Py_None;
22134 return resultobj;
22135 fail:
22136 return NULL;
22137 }
22138
22139
22140 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
22141 PyObject *resultobj;
22142 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22143 bool arg2 ;
22144 bool result;
22145 PyObject * obj0 = 0 ;
22146 PyObject * obj1 = 0 ;
22147 char *kwnames[] = {
22148 (char *) "self",(char *) "interactive", NULL
22149 };
22150
22151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
22152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
22153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22154 arg2 = (bool) SWIG_AsBool(obj1);
22155 if (PyErr_Occurred()) SWIG_fail;
22156 {
22157 PyThreadState* __tstate = wxPyBeginAllowThreads();
22158 result = (bool)(arg1)->base_Print(arg2);
22159
22160 wxPyEndAllowThreads(__tstate);
22161 if (PyErr_Occurred()) SWIG_fail;
22162 }
22163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22164 return resultobj;
22165 fail:
22166 return NULL;
22167 }
22168
22169
22170 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
22171 PyObject *resultobj;
22172 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22173 PyObject * obj0 = 0 ;
22174 char *kwnames[] = {
22175 (char *) "self", NULL
22176 };
22177
22178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
22179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
22180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22181 {
22182 PyThreadState* __tstate = wxPyBeginAllowThreads();
22183 (arg1)->base_DetermineScaling();
22184
22185 wxPyEndAllowThreads(__tstate);
22186 if (PyErr_Occurred()) SWIG_fail;
22187 }
22188 Py_INCREF(Py_None); resultobj = Py_None;
22189 return resultobj;
22190 fail:
22191 return NULL;
22192 }
22193
22194
22195 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
22196 PyObject *obj;
22197 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22198 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
22199 Py_INCREF(obj);
22200 return Py_BuildValue((char *)"");
22201 }
22202 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22203 PyObject *resultobj;
22204 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22205 wxFrame *arg2 = (wxFrame *) 0 ;
22206 wxString *arg3 = 0 ;
22207 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22208 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22209 wxSize const &arg5_defvalue = wxDefaultSize ;
22210 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22211 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
22212 wxString const &arg7_defvalue = wxPyFrameNameStr ;
22213 wxString *arg7 = (wxString *) &arg7_defvalue ;
22214 wxPyPreviewFrame *result;
22215 bool temp3 = False ;
22216 wxPoint temp4 ;
22217 wxSize temp5 ;
22218 bool temp7 = False ;
22219 PyObject * obj0 = 0 ;
22220 PyObject * obj1 = 0 ;
22221 PyObject * obj2 = 0 ;
22222 PyObject * obj3 = 0 ;
22223 PyObject * obj4 = 0 ;
22224 PyObject * obj5 = 0 ;
22225 PyObject * obj6 = 0 ;
22226 char *kwnames[] = {
22227 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22228 };
22229
22230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22233 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22235 {
22236 arg3 = wxString_in_helper(obj2);
22237 if (arg3 == NULL) SWIG_fail;
22238 temp3 = True;
22239 }
22240 if (obj3) {
22241 {
22242 arg4 = &temp4;
22243 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22244 }
22245 }
22246 if (obj4) {
22247 {
22248 arg5 = &temp5;
22249 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22250 }
22251 }
22252 if (obj5) {
22253 arg6 = (long) SWIG_AsLong(obj5);
22254 if (PyErr_Occurred()) SWIG_fail;
22255 }
22256 if (obj6) {
22257 {
22258 arg7 = wxString_in_helper(obj6);
22259 if (arg7 == NULL) SWIG_fail;
22260 temp7 = True;
22261 }
22262 }
22263 {
22264 PyThreadState* __tstate = wxPyBeginAllowThreads();
22265 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22266
22267 wxPyEndAllowThreads(__tstate);
22268 if (PyErr_Occurred()) SWIG_fail;
22269 }
22270 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
22271 {
22272 if (temp3)
22273 delete arg3;
22274 }
22275 {
22276 if (temp7)
22277 delete arg7;
22278 }
22279 return resultobj;
22280 fail:
22281 {
22282 if (temp3)
22283 delete arg3;
22284 }
22285 {
22286 if (temp7)
22287 delete arg7;
22288 }
22289 return NULL;
22290 }
22291
22292
22293 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22294 PyObject *resultobj;
22295 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22296 PyObject *arg2 = (PyObject *) 0 ;
22297 PyObject *arg3 = (PyObject *) 0 ;
22298 PyObject * obj0 = 0 ;
22299 PyObject * obj1 = 0 ;
22300 PyObject * obj2 = 0 ;
22301 char *kwnames[] = {
22302 (char *) "self",(char *) "self",(char *) "_class", NULL
22303 };
22304
22305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
22307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22308 arg2 = obj1;
22309 arg3 = obj2;
22310 {
22311 PyThreadState* __tstate = wxPyBeginAllowThreads();
22312 (arg1)->_setCallbackInfo(arg2,arg3);
22313
22314 wxPyEndAllowThreads(__tstate);
22315 if (PyErr_Occurred()) SWIG_fail;
22316 }
22317 Py_INCREF(Py_None); resultobj = Py_None;
22318 return resultobj;
22319 fail:
22320 return NULL;
22321 }
22322
22323
22324 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22325 PyObject *resultobj;
22326 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22327 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22328 PyObject * obj0 = 0 ;
22329 PyObject * obj1 = 0 ;
22330 char *kwnames[] = {
22331 (char *) "self",(char *) "canvas", NULL
22332 };
22333
22334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
22335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
22336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22337 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22339 {
22340 PyThreadState* __tstate = wxPyBeginAllowThreads();
22341 (arg1)->SetPreviewCanvas(arg2);
22342
22343 wxPyEndAllowThreads(__tstate);
22344 if (PyErr_Occurred()) SWIG_fail;
22345 }
22346 Py_INCREF(Py_None); resultobj = Py_None;
22347 return resultobj;
22348 fail:
22349 return NULL;
22350 }
22351
22352
22353 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22354 PyObject *resultobj;
22355 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22356 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
22357 PyObject * obj0 = 0 ;
22358 PyObject * obj1 = 0 ;
22359 char *kwnames[] = {
22360 (char *) "self",(char *) "bar", NULL
22361 };
22362
22363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
22364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
22365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22366 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
22367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22368 {
22369 PyThreadState* __tstate = wxPyBeginAllowThreads();
22370 (arg1)->SetControlBar(arg2);
22371
22372 wxPyEndAllowThreads(__tstate);
22373 if (PyErr_Occurred()) SWIG_fail;
22374 }
22375 Py_INCREF(Py_None); resultobj = Py_None;
22376 return resultobj;
22377 fail:
22378 return NULL;
22379 }
22380
22381
22382 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
22383 PyObject *resultobj;
22384 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22385 PyObject * obj0 = 0 ;
22386 char *kwnames[] = {
22387 (char *) "self", NULL
22388 };
22389
22390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
22391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
22392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22393 {
22394 PyThreadState* __tstate = wxPyBeginAllowThreads();
22395 (arg1)->base_Initialize();
22396
22397 wxPyEndAllowThreads(__tstate);
22398 if (PyErr_Occurred()) SWIG_fail;
22399 }
22400 Py_INCREF(Py_None); resultobj = Py_None;
22401 return resultobj;
22402 fail:
22403 return NULL;
22404 }
22405
22406
22407 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22408 PyObject *resultobj;
22409 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22410 PyObject * obj0 = 0 ;
22411 char *kwnames[] = {
22412 (char *) "self", NULL
22413 };
22414
22415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
22416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
22417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22418 {
22419 PyThreadState* __tstate = wxPyBeginAllowThreads();
22420 (arg1)->base_CreateCanvas();
22421
22422 wxPyEndAllowThreads(__tstate);
22423 if (PyErr_Occurred()) SWIG_fail;
22424 }
22425 Py_INCREF(Py_None); resultobj = Py_None;
22426 return resultobj;
22427 fail:
22428 return NULL;
22429 }
22430
22431
22432 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22433 PyObject *resultobj;
22434 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22435 PyObject * obj0 = 0 ;
22436 char *kwnames[] = {
22437 (char *) "self", NULL
22438 };
22439
22440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
22441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
22442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22443 {
22444 PyThreadState* __tstate = wxPyBeginAllowThreads();
22445 (arg1)->base_CreateControlBar();
22446
22447 wxPyEndAllowThreads(__tstate);
22448 if (PyErr_Occurred()) SWIG_fail;
22449 }
22450 Py_INCREF(Py_None); resultobj = Py_None;
22451 return resultobj;
22452 fail:
22453 return NULL;
22454 }
22455
22456
22457 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
22458 PyObject *obj;
22459 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22460 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
22461 Py_INCREF(obj);
22462 return Py_BuildValue((char *)"");
22463 }
22464 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22465 PyObject *resultobj;
22466 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22467 long arg2 ;
22468 wxWindow *arg3 = (wxWindow *) 0 ;
22469 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22470 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22471 wxSize const &arg5_defvalue = wxDefaultSize ;
22472 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22473 long arg6 = (long) 0 ;
22474 wxString const &arg7_defvalue = wxPyPanelNameStr ;
22475 wxString *arg7 = (wxString *) &arg7_defvalue ;
22476 wxPyPreviewControlBar *result;
22477 wxPoint temp4 ;
22478 wxSize temp5 ;
22479 bool temp7 = False ;
22480 PyObject * obj0 = 0 ;
22481 PyObject * obj1 = 0 ;
22482 PyObject * obj2 = 0 ;
22483 PyObject * obj3 = 0 ;
22484 PyObject * obj4 = 0 ;
22485 PyObject * obj5 = 0 ;
22486 PyObject * obj6 = 0 ;
22487 char *kwnames[] = {
22488 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22489 };
22490
22491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22494 arg2 = (long) SWIG_AsLong(obj1);
22495 if (PyErr_Occurred()) SWIG_fail;
22496 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
22497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22498 if (obj3) {
22499 {
22500 arg4 = &temp4;
22501 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22502 }
22503 }
22504 if (obj4) {
22505 {
22506 arg5 = &temp5;
22507 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22508 }
22509 }
22510 if (obj5) {
22511 arg6 = (long) SWIG_AsLong(obj5);
22512 if (PyErr_Occurred()) SWIG_fail;
22513 }
22514 if (obj6) {
22515 {
22516 arg7 = wxString_in_helper(obj6);
22517 if (arg7 == NULL) SWIG_fail;
22518 temp7 = True;
22519 }
22520 }
22521 {
22522 PyThreadState* __tstate = wxPyBeginAllowThreads();
22523 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22524
22525 wxPyEndAllowThreads(__tstate);
22526 if (PyErr_Occurred()) SWIG_fail;
22527 }
22528 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
22529 {
22530 if (temp7)
22531 delete arg7;
22532 }
22533 return resultobj;
22534 fail:
22535 {
22536 if (temp7)
22537 delete arg7;
22538 }
22539 return NULL;
22540 }
22541
22542
22543 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22544 PyObject *resultobj;
22545 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
22546 PyObject *arg2 = (PyObject *) 0 ;
22547 PyObject *arg3 = (PyObject *) 0 ;
22548 PyObject * obj0 = 0 ;
22549 PyObject * obj1 = 0 ;
22550 PyObject * obj2 = 0 ;
22551 char *kwnames[] = {
22552 (char *) "self",(char *) "self",(char *) "_class", NULL
22553 };
22554
22555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
22557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22558 arg2 = obj1;
22559 arg3 = obj2;
22560 {
22561 PyThreadState* __tstate = wxPyBeginAllowThreads();
22562 (arg1)->_setCallbackInfo(arg2,arg3);
22563
22564 wxPyEndAllowThreads(__tstate);
22565 if (PyErr_Occurred()) SWIG_fail;
22566 }
22567 Py_INCREF(Py_None); resultobj = Py_None;
22568 return resultobj;
22569 fail:
22570 return NULL;
22571 }
22572
22573
22574 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22575 PyObject *resultobj;
22576 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
22577 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
22578 PyObject * obj0 = 0 ;
22579 PyObject * obj1 = 0 ;
22580 char *kwnames[] = {
22581 (char *) "self",(char *) "preview", NULL
22582 };
22583
22584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
22585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
22586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22587 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
22588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22589 {
22590 PyThreadState* __tstate = wxPyBeginAllowThreads();
22591 (arg1)->SetPrintPreview(arg2);
22592
22593 wxPyEndAllowThreads(__tstate);
22594 if (PyErr_Occurred()) SWIG_fail;
22595 }
22596 Py_INCREF(Py_None); resultobj = Py_None;
22597 return resultobj;
22598 fail:
22599 return NULL;
22600 }
22601
22602
22603 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
22604 PyObject *resultobj;
22605 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
22606 PyObject * obj0 = 0 ;
22607 char *kwnames[] = {
22608 (char *) "self", NULL
22609 };
22610
22611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
22612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
22613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22614 {
22615 PyThreadState* __tstate = wxPyBeginAllowThreads();
22616 (arg1)->base_CreateButtons();
22617
22618 wxPyEndAllowThreads(__tstate);
22619 if (PyErr_Occurred()) SWIG_fail;
22620 }
22621 Py_INCREF(Py_None); resultobj = Py_None;
22622 return resultobj;
22623 fail:
22624 return NULL;
22625 }
22626
22627
22628 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22629 PyObject *resultobj;
22630 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
22631 int arg2 ;
22632 PyObject * obj0 = 0 ;
22633 PyObject * obj1 = 0 ;
22634 char *kwnames[] = {
22635 (char *) "self",(char *) "zoom", NULL
22636 };
22637
22638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
22639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
22640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22641 arg2 = (int) SWIG_AsInt(obj1);
22642 if (PyErr_Occurred()) SWIG_fail;
22643 {
22644 PyThreadState* __tstate = wxPyBeginAllowThreads();
22645 (arg1)->base_SetZoomControl(arg2);
22646
22647 wxPyEndAllowThreads(__tstate);
22648 if (PyErr_Occurred()) SWIG_fail;
22649 }
22650 Py_INCREF(Py_None); resultobj = Py_None;
22651 return resultobj;
22652 fail:
22653 return NULL;
22654 }
22655
22656
22657 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
22658 PyObject *obj;
22659 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22660 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
22661 Py_INCREF(obj);
22662 return Py_BuildValue((char *)"");
22663 }
22664 static PyMethodDef SwigMethods[] = {
22665 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
22666 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
22667 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
22668 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
22669 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
22670 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
22671 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
22672 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
22673 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
22674 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
22675 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
22676 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
22677 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
22678 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
22679 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
22680 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
22681 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
22682 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
22683 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
22684 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
22685 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
22686 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
22687 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
22688 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
22689 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
22690 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
22691 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
22692 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
22693 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
22694 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
22695 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
22696 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
22697 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
22698 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
22699 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
22700 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
22701 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
22702 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
22703 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
22704 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
22705 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
22706 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
22707 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
22708 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
22709 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
22710 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
22711 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
22712 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
22713 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
22714 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
22715 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
22716 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
22717 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
22718 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
22719 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
22720 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
22721 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
22722 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
22723 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
22724 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
22725 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
22726 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
22727 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
22728 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
22729 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
22730 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
22731 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
22732 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
22733 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
22734 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
22735 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
22736 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
22737 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
22738 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS },
22739 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
22740 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
22741 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
22742 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
22743 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
22744 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
22745 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
22746 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
22747 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
22748 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
22749 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
22750 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
22751 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
22752 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
22753 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
22754 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
22755 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
22756 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
22757 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
22758 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
22759 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
22760 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
22761 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
22762 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
22763 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
22764 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
22765 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
22766 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
22767 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
22768 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
22769 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
22770 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
22771 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
22772 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
22773 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
22774 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
22775 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
22776 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
22777 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
22778 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
22779 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
22780 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
22781 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
22782 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
22783 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
22784 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
22785 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
22786 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
22787 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
22788 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
22789 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
22790 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
22791 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
22792 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
22793 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
22794 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
22795 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
22796 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
22797 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
22798 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
22799 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
22800 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
22801 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
22802 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
22803 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
22804 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
22805 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
22806 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
22807 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
22808 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
22809 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
22810 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
22811 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
22812 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
22813 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
22814 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
22815 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
22816 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
22817 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
22818 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
22819 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
22820 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
22821 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
22822 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
22823 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
22824 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
22825 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
22826 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
22827 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
22828 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
22829 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
22830 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
22831 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
22832 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
22833 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
22834 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
22835 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
22836 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
22837 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
22838 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
22839 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
22840 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
22841 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
22842 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
22843 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
22844 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
22845 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
22846 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
22847 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
22848 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
22849 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
22850 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
22851 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
22852 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
22853 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
22854 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
22855 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
22856 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
22857 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
22858 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
22859 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
22860 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
22861 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
22862 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
22863 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
22864 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
22865 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
22866 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
22867 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
22868 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
22869 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
22870 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
22871 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
22872 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
22873 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
22874 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
22875 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
22876 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
22877 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
22878 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
22879 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
22880 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
22881 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
22882 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
22883 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
22884 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
22885 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
22886 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
22887 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
22888 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
22889 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
22890 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
22891 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
22892 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
22893 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
22894 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
22895 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
22896 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
22897 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
22898 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
22899 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
22900 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
22901 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
22902 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
22903 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
22904 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
22905 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
22906 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
22907 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
22908 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
22909 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
22910 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
22911 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
22912 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
22913 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
22914 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
22915 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
22916 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
22917 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
22918 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
22919 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
22920 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
22921 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
22922 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
22923 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
22924 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
22925 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
22926 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
22927 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
22928 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
22929 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
22930 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
22931 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
22932 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
22933 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS },
22934 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
22935 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
22936 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
22937 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
22938 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
22939 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
22940 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
22941 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
22942 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
22943 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
22944 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
22945 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
22946 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
22947 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
22948 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
22949 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
22950 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
22951 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
22952 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
22953 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
22954 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
22955 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
22956 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
22957 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
22958 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
22959 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
22960 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
22961 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
22962 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
22963 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
22964 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
22965 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
22966 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
22967 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
22968 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
22969 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
22970 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
22971 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
22972 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
22973 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
22974 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
22975 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
22976 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
22977 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
22978 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
22979 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
22980 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
22981 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
22982 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
22983 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
22984 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
22985 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
22986 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
22987 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
22988 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
22989 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
22990 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
22991 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
22992 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
22993 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
22994 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
22995 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
22996 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
22997 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
22998 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
22999 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
23000 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
23001 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
23002 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
23003 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
23004 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
23005 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
23006 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
23007 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
23008 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
23009 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
23010 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
23011 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
23012 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
23013 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
23014 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
23015 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
23016 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
23017 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
23018 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
23019 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
23020 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
23021 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
23022 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
23023 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
23024 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
23025 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
23026 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
23027 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
23028 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
23029 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
23030 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
23031 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
23032 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
23033 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
23034 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
23035 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
23036 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
23037 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
23038 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
23039 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
23040 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
23041 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
23042 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
23043 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
23044 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
23045 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
23046 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
23047 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
23048 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
23049 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
23050 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
23051 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
23052 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
23053 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
23054 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
23055 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
23056 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
23057 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
23058 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
23059 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
23060 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
23061 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
23062 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
23063 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
23064 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23065 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
23066 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
23067 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
23068 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
23069 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
23070 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
23071 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
23072 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
23073 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
23074 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
23075 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
23076 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
23077 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
23078 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
23079 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
23080 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
23081 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
23082 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
23083 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
23084 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
23085 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23086 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
23087 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
23088 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
23089 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
23090 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
23091 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
23092 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
23093 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
23094 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
23095 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
23096 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
23097 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
23098 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
23099 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
23100 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
23101 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
23102 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
23103 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
23104 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
23105 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
23106 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
23107 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
23108 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
23109 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
23110 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
23111 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
23112 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
23113 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
23114 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
23115 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
23116 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
23117 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
23118 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
23119 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
23120 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
23121 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
23122 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
23123 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
23124 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
23125 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
23126 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
23127 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
23128 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
23129 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
23130 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
23131 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
23132 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
23133 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
23134 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
23135 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
23136 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
23137 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
23138 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
23139 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
23140 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
23141 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
23142 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
23143 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
23144 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
23145 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
23146 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
23147 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
23148 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
23149 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS },
23150 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
23151 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
23152 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
23153 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
23154 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
23155 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
23156 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
23157 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
23158 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
23159 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
23160 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
23161 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
23162 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
23163 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
23164 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
23165 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
23166 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
23167 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
23168 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
23169 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
23170 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
23171 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
23172 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
23173 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
23174 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
23175 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
23176 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
23177 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
23178 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
23179 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
23180 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
23181 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
23182 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
23183 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
23184 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
23185 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
23186 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
23187 { (char *)"new_PrintDialogData", (PyCFunction) _wrap_new_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
23188 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
23189 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
23190 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
23191 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
23192 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
23193 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
23194 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
23195 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
23196 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
23197 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
23198 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
23199 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
23200 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
23201 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
23202 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
23203 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
23204 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
23205 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
23206 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
23207 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
23208 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
23209 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
23210 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
23211 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
23212 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
23213 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
23214 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
23215 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
23216 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
23217 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
23218 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
23219 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
23220 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
23221 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
23222 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
23223 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
23224 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
23225 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
23226 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
23227 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
23228 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
23229 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
23230 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
23231 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
23232 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
23233 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
23234 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
23235 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
23236 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
23237 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
23238 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23239 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
23240 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
23241 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
23242 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
23243 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
23244 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
23245 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
23246 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
23247 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
23248 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
23249 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
23250 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
23251 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
23252 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
23253 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
23254 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
23255 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
23256 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
23257 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
23258 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
23259 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
23260 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
23261 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
23262 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
23263 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
23264 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
23265 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
23266 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
23267 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
23268 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
23269 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
23270 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
23271 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
23272 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
23273 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
23274 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
23275 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
23276 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
23277 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
23278 { (char *)"new_PrintPreview", (PyCFunction) _wrap_new_PrintPreview, METH_VARARGS | METH_KEYWORDS },
23279 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
23280 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
23281 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
23282 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
23283 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
23284 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
23285 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
23286 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
23287 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
23288 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
23289 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
23290 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
23291 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
23292 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
23293 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
23294 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
23295 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
23296 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
23297 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
23298 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
23299 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
23300 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
23301 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
23302 { (char *)"new_PyPrintPreview", (PyCFunction) _wrap_new_PyPrintPreview, METH_VARARGS | METH_KEYWORDS },
23303 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23304 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
23305 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
23306 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
23307 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
23308 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
23309 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
23310 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
23311 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
23312 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
23313 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23314 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
23315 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
23316 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
23317 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
23318 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
23319 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
23320 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
23321 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23322 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
23323 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
23324 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
23325 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
23326 { NULL, NULL }
23327 };
23328
23329
23330 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
23331
23332 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
23333 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23334 }
23335 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
23336 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
23337 }
23338 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
23339 return (void *)((wxEvent *) ((wxMenuEvent *) x));
23340 }
23341 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
23342 return (void *)((wxEvent *) ((wxCloseEvent *) x));
23343 }
23344 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
23345 return (void *)((wxEvent *) ((wxMouseEvent *) x));
23346 }
23347 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
23348 return (void *)((wxEvent *) ((wxEraseEvent *) x));
23349 }
23350 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
23351 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
23352 }
23353 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
23354 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
23355 }
23356 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
23357 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
23358 }
23359 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
23360 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
23361 }
23362 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
23363 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
23364 }
23365 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
23366 return (void *)((wxEvent *) ((wxPyEvent *) x));
23367 }
23368 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
23369 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
23370 }
23371 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
23372 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
23373 }
23374 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
23375 return (void *)((wxEvent *) ((wxIdleEvent *) x));
23376 }
23377 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
23378 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
23379 }
23380 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
23381 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
23382 }
23383 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
23384 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
23385 }
23386 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
23387 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
23388 }
23389 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
23390 return (void *)((wxEvent *) ((wxActivateEvent *) x));
23391 }
23392 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
23393 return (void *)((wxEvent *) ((wxSizeEvent *) x));
23394 }
23395 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
23396 return (void *)((wxEvent *) ((wxMoveEvent *) x));
23397 }
23398 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
23399 return (void *)((wxEvent *) ((wxPaintEvent *) x));
23400 }
23401 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
23402 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
23403 }
23404 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
23405 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
23406 }
23407 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
23408 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
23409 }
23410 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
23411 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
23412 }
23413 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
23414 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
23415 }
23416 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
23417 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
23418 }
23419 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
23420 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
23421 }
23422 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
23423 return (void *)((wxEvent *) ((wxFocusEvent *) x));
23424 }
23425 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
23426 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
23427 }
23428 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
23429 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
23430 }
23431 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
23432 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
23433 }
23434 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
23435 return (void *)((wxEvent *) ((wxShowEvent *) x));
23436 }
23437 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
23438 return (void *)((wxEvent *) ((wxCommandEvent *) x));
23439 }
23440 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
23441 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
23442 }
23443 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
23444 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
23445 }
23446 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
23447 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
23448 }
23449 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
23450 return (void *)((wxEvent *) ((wxKeyEvent *) x));
23451 }
23452 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
23453 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
23454 }
23455 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
23456 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
23457 }
23458 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
23459 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
23460 }
23461 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
23462 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
23463 }
23464 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
23465 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
23466 }
23467 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
23468 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
23469 }
23470 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
23471 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
23472 }
23473 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
23474 return (void *)((wxEvtHandler *) ((wxValidator *) x));
23475 }
23476 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
23477 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
23478 }
23479 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
23480 return (void *)((wxEvtHandler *) ((wxMenu *) x));
23481 }
23482 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
23483 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
23484 }
23485 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
23486 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
23487 }
23488 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
23489 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
23490 }
23491 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
23492 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
23493 }
23494 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
23495 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
23496 }
23497 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
23498 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
23499 }
23500 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
23501 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
23502 }
23503 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
23504 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
23505 }
23506 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
23507 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
23508 }
23509 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
23510 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
23511 }
23512 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
23513 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
23514 }
23515 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
23516 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
23517 }
23518 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
23519 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
23520 }
23521 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
23522 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
23523 }
23524 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
23525 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
23526 }
23527 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
23528 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
23529 }
23530 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
23531 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
23532 }
23533 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
23534 return (void *)((wxEvtHandler *) ((wxWindow *) x));
23535 }
23536 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
23537 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
23538 }
23539 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
23540 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
23541 }
23542 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
23543 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
23544 }
23545 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
23546 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
23547 }
23548 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
23549 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
23550 }
23551 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
23552 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23553 }
23554 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
23555 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
23556 }
23557 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
23558 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
23559 }
23560 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
23561 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
23562 }
23563 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
23564 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
23565 }
23566 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
23567 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
23568 }
23569 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
23570 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
23571 }
23572 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
23573 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
23574 }
23575 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
23576 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
23577 }
23578 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
23579 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
23580 }
23581 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
23582 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
23583 }
23584 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
23585 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
23586 }
23587 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
23588 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
23589 }
23590 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
23591 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
23592 }
23593 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
23594 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
23595 }
23596 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
23597 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
23598 }
23599 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
23600 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
23601 }
23602 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
23603 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
23604 }
23605 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
23606 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
23607 }
23608 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
23609 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
23610 }
23611 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
23612 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
23613 }
23614 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
23615 return (void *)((wxFrame *) ((wxProgressDialog *) x));
23616 }
23617 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
23618 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
23619 }
23620 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
23621 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23622 }
23623 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
23624 return (void *)((wxFrame *) ((wxMiniFrame *) x));
23625 }
23626 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
23627 return (void *)((wxFrame *) ((wxSplashScreen *) x));
23628 }
23629 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
23630 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
23631 }
23632 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
23633 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
23634 }
23635 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
23636 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
23637 }
23638 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
23639 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
23640 }
23641 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
23642 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23643 }
23644 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
23645 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
23646 }
23647 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
23648 return (void *)((wxObject *) ((wxSizerItem *) x));
23649 }
23650 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
23651 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
23652 }
23653 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
23654 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
23655 }
23656 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
23657 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
23658 }
23659 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
23660 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
23661 }
23662 static void *_p_wxSizerTo_p_wxObject(void *x) {
23663 return (void *)((wxObject *) ((wxSizer *) x));
23664 }
23665 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
23666 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
23667 }
23668 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
23669 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
23670 }
23671 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
23672 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
23673 }
23674 static void *_p_wxEventTo_p_wxObject(void *x) {
23675 return (void *)((wxObject *) ((wxEvent *) x));
23676 }
23677 static void *_p_wxFontDataTo_p_wxObject(void *x) {
23678 return (void *)((wxObject *) ((wxFontData *) x));
23679 }
23680 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
23681 return (void *)((wxObject *) ((wxPrintData *) x));
23682 }
23683 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
23684 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
23685 }
23686 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
23687 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
23688 }
23689 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
23690 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
23691 }
23692 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
23693 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
23694 }
23695 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
23696 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
23697 }
23698 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
23699 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
23700 }
23701 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
23702 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
23703 }
23704 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
23705 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
23706 }
23707 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
23708 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
23709 }
23710 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
23711 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
23712 }
23713 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
23714 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
23715 }
23716 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
23717 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
23718 }
23719 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
23720 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
23721 }
23722 static void *_p_wxControlTo_p_wxObject(void *x) {
23723 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
23724 }
23725 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
23726 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
23727 }
23728 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
23729 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
23730 }
23731 static void *_p_wxFSFileTo_p_wxObject(void *x) {
23732 return (void *)((wxObject *) ((wxFSFile *) x));
23733 }
23734 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
23735 return (void *)((wxObject *) ((wxFindReplaceData *) x));
23736 }
23737 static void *_p_wxPySizerTo_p_wxObject(void *x) {
23738 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
23739 }
23740 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
23741 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
23742 }
23743 static void *_p_wxColourDataTo_p_wxObject(void *x) {
23744 return (void *)((wxObject *) ((wxColourData *) x));
23745 }
23746 static void *_p_wxPyEventTo_p_wxObject(void *x) {
23747 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
23748 }
23749 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
23750 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
23751 }
23752 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
23753 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
23754 }
23755 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
23756 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
23757 }
23758 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
23759 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
23760 }
23761 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
23762 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
23763 }
23764 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
23765 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
23766 }
23767 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
23768 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
23769 }
23770 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
23771 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
23772 }
23773 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
23774 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
23775 }
23776 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
23777 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
23778 }
23779 static void *_p_wxShowEventTo_p_wxObject(void *x) {
23780 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
23781 }
23782 static void *_p_wxPrinterTo_p_wxObject(void *x) {
23783 return (void *)((wxObject *) ((wxPrinter *) x));
23784 }
23785 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
23786 return (void *)((wxObject *) ((wxMenuItem *) x));
23787 }
23788 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
23789 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
23790 }
23791 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
23792 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
23793 }
23794 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
23795 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
23796 }
23797 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
23798 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
23799 }
23800 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
23801 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
23802 }
23803 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
23804 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
23805 }
23806 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
23807 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
23808 }
23809 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
23810 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
23811 }
23812 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
23813 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
23814 }
23815 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
23816 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
23817 }
23818 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
23819 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
23820 }
23821 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
23822 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
23823 }
23824 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
23825 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
23826 }
23827 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
23828 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
23829 }
23830 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
23831 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
23832 }
23833 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
23834 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
23835 }
23836 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
23837 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
23838 }
23839 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
23840 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
23841 }
23842 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
23843 return (void *)((wxObject *) ((wxImageHandler *) x));
23844 }
23845 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
23846 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
23847 }
23848 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
23849 return (void *)((wxObject *) ((wxEvtHandler *) x));
23850 }
23851 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
23852 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
23853 }
23854 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
23855 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
23856 }
23857 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
23858 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
23859 }
23860 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
23861 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
23862 }
23863 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
23864 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
23865 }
23866 static void *_p_wxImageTo_p_wxObject(void *x) {
23867 return (void *)((wxObject *) ((wxImage *) x));
23868 }
23869 static void *_p_wxFrameTo_p_wxObject(void *x) {
23870 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
23871 }
23872 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
23873 return (void *)((wxObject *) ((wxPyPrintout *) x));
23874 }
23875 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
23876 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
23877 }
23878 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
23879 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
23880 }
23881 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
23882 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
23883 }
23884 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
23885 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
23886 }
23887 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
23888 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
23889 }
23890 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
23891 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
23892 }
23893 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
23894 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
23895 }
23896 static void *_p_wxWindowTo_p_wxObject(void *x) {
23897 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
23898 }
23899 static void *_p_wxMenuTo_p_wxObject(void *x) {
23900 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
23901 }
23902 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
23903 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
23904 }
23905 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
23906 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
23907 }
23908 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
23909 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
23910 }
23911 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
23912 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
23913 }
23914 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
23915 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
23916 }
23917 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
23918 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
23919 }
23920 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
23921 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
23922 }
23923 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
23924 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
23925 }
23926 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
23927 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
23928 }
23929 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
23930 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
23931 }
23932 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
23933 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
23934 }
23935 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
23936 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
23937 }
23938 static void *_p_wxSashEventTo_p_wxObject(void *x) {
23939 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
23940 }
23941 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
23942 return (void *)((wxObject *) ((wxPrintPreview *) x));
23943 }
23944 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
23945 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
23946 }
23947 static void *_p_wxPanelTo_p_wxObject(void *x) {
23948 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
23949 }
23950 static void *_p_wxDialogTo_p_wxObject(void *x) {
23951 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
23952 }
23953 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
23954 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
23955 }
23956 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
23957 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
23958 }
23959 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
23960 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
23961 }
23962 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
23963 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
23964 }
23965 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
23966 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
23967 }
23968 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
23969 return (void *)((wxObject *) ((wxFileSystem *) x));
23970 }
23971 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
23972 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
23973 }
23974 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
23975 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
23976 }
23977 static void *_p_wxPyAppTo_p_wxObject(void *x) {
23978 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
23979 }
23980 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
23981 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
23982 }
23983 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
23984 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
23985 }
23986 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
23987 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
23988 }
23989 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
23990 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
23991 }
23992 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
23993 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
23994 }
23995 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
23996 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
23997 }
23998 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
23999 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
24000 }
24001 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
24002 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
24003 }
24004 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
24005 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
24006 }
24007 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
24008 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
24009 }
24010 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
24011 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
24012 }
24013 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
24014 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
24015 }
24016 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
24017 return (void *)((wxObject *) ((wxPrintDialogData *) x));
24018 }
24019 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
24020 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
24021 }
24022 static void *_p_wxValidatorTo_p_wxObject(void *x) {
24023 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
24024 }
24025 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
24026 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
24027 }
24028 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
24029 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
24030 }
24031 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
24032 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
24033 }
24034 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
24035 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
24036 }
24037 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
24038 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
24039 }
24040 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
24041 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
24042 }
24043 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
24044 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
24045 }
24046 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
24047 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
24048 }
24049 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
24050 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
24051 }
24052 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
24053 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
24054 }
24055 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
24056 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
24057 }
24058 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
24059 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
24060 }
24061 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
24062 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
24063 }
24064 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
24065 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
24066 }
24067 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
24068 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
24069 }
24070 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
24071 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
24072 }
24073 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
24074 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
24075 }
24076 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
24077 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
24078 }
24079 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
24080 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
24081 }
24082 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
24083 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
24084 }
24085 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
24086 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
24087 }
24088 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
24089 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
24090 }
24091 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
24092 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
24093 }
24094 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
24095 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
24096 }
24097 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
24098 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
24099 }
24100 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
24101 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
24102 }
24103 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
24104 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
24105 }
24106 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
24107 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
24108 }
24109 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
24110 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
24111 }
24112 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
24113 return (void *)((wxWindow *) ((wxMenuBar *) x));
24114 }
24115 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
24116 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
24117 }
24118 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
24119 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
24120 }
24121 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
24122 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
24123 }
24124 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
24125 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
24126 }
24127 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
24128 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
24129 }
24130 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
24131 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
24132 }
24133 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
24134 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
24135 }
24136 static void *_p_wxPanelTo_p_wxWindow(void *x) {
24137 return (void *)((wxWindow *) ((wxPanel *) x));
24138 }
24139 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
24140 return (void *)((wxWindow *) ((wxStatusBar *) x));
24141 }
24142 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
24143 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
24144 }
24145 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
24146 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
24147 }
24148 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
24149 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
24150 }
24151 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
24152 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
24153 }
24154 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
24155 return (void *)((wxWindow *) ((wxPopupWindow *) x));
24156 }
24157 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
24158 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
24159 }
24160 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
24161 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
24162 }
24163 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
24164 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
24165 }
24166 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
24167 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
24168 }
24169 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
24170 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
24171 }
24172 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
24173 return (void *)((wxWindow *) ((wxSashWindow *) x));
24174 }
24175 static void *_p_wxControlTo_p_wxWindow(void *x) {
24176 return (void *)((wxWindow *) ((wxControl *) x));
24177 }
24178 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
24179 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
24180 }
24181 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
24182 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
24183 }
24184 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
24185 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
24186 }
24187 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
24188 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
24189 }
24190 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
24191 return (void *)((wxWindow *) ((wxPyWindow *) x));
24192 }
24193 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
24194 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
24195 }
24196 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
24197 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
24198 }
24199 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
24200 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
24201 }
24202 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
24203 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
24204 }
24205 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
24206 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
24207 }
24208 static void *_p_wxFrameTo_p_wxWindow(void *x) {
24209 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
24210 }
24211 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
24212 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
24213 }
24214 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
24215 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
24216 }
24217 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
24218 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
24219 }
24220 static void *_p_wxDialogTo_p_wxWindow(void *x) {
24221 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
24222 }
24223 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
24224 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
24225 }
24226 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
24227 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
24228 }
24229 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
24230 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
24231 }
24232 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
24233 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
24234 }
24235 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
24236 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
24237 }
24238 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
24239 return (void *)((wxDialog *) ((wxColourDialog *) x));
24240 }
24241 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
24242 return (void *)((wxDialog *) ((wxDirDialog *) x));
24243 }
24244 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
24245 return (void *)((wxDialog *) ((wxFontDialog *) x));
24246 }
24247 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
24248 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
24249 }
24250 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
24251 return (void *)((wxDialog *) ((wxPrintDialog *) x));
24252 }
24253 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
24254 return (void *)((wxDialog *) ((wxFileDialog *) x));
24255 }
24256 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
24257 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
24258 }
24259 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
24260 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
24261 }
24262 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
24263 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
24264 }
24265 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
24266 return (void *)((wxDialog *) ((wxMessageDialog *) x));
24267 }
24268 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
24269 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
24270 }
24271 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
24272 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
24273 }
24274 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
24275 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
24276 }
24277 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
24278 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
24279 }
24280 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
24281 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
24282 }
24283 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
24284 return (void *)((wxPanel *) ((wxPyPanel *) x));
24285 }
24286 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
24287 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
24288 }
24289 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
24290 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
24291 }
24292 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
24293 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
24294 }
24295 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
24296 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
24297 }
24298 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
24299 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
24300 }
24301 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
24302 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
24303 }
24304 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
24305 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
24306 }
24307 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
24308 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
24309 }
24310 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
24311 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
24312 }
24313 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
24314 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
24315 }
24316 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
24317 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
24318 }
24319 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
24320 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
24321 }
24322 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
24323 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
24324 }
24325 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
24326 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
24327 }
24328 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
24329 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
24330 }
24331 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}};
24332 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}};
24333 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}};
24334 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}};
24335 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}};
24336 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}};
24337 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}};
24338 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}};
24339 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}};
24340 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}};
24341 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}};
24342 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}};
24343 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}};
24344 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}};
24345 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}};
24346 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}};
24347 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}};
24348 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}};
24349 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}};
24350 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}};
24351 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}};
24352 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}};
24353 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}};
24354 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}};
24355 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}};
24356 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}};
24357 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}};
24358 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}};
24359 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}};
24360 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}};
24361 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}};
24362 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}};
24363 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}};
24364 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}};
24365 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}};
24366 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_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_wxColourDialog", _p_wxColourDialogTo_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_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}};
24367 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}};
24368 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}};
24369 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}};
24370 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}};
24371 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}};
24372 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}};
24373 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}};
24374 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}};
24375 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}};
24376 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}};
24377 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}};
24378 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}};
24379 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}};
24380 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_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}};
24381 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}};
24382 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}};
24383 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}};
24384 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}};
24385 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}};
24386 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}};
24387 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}};
24388 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}};
24389 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}};
24390 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}};
24391 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}};
24392 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_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_wxDialog", _p_wxDialogTo_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_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}};
24393 static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24394 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}};
24395 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}};
24396 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}};
24397 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}};
24398 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}};
24399 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}};
24400 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}};
24401 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}};
24402 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}};
24403 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}};
24404 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_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}};
24405 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}};
24406 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}};
24407 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}};
24408 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}};
24409 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}};
24410 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}};
24411 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}};
24412 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}};
24413 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}};
24414 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}};
24415
24416 static swig_type_info *swig_types_initial[] = {
24417 _swigt__p_wxQueryLayoutInfoEvent,
24418 _swigt__p_wxPreviewFrame,
24419 _swigt__p_wxPyPreviewFrame,
24420 _swigt__p_wxPyPanel,
24421 _swigt__p_wxMenu,
24422 _swigt__p_wxPrintData,
24423 _swigt__p_wxFontData,
24424 _swigt__p_wxEvent,
24425 _swigt__p_wxTaskBarIcon,
24426 _swigt__p_wxIconBundle,
24427 _swigt__p_wxLayoutAlgorithm,
24428 _swigt__p_wxFindDialogEvent,
24429 _swigt__p_wxPreviewCanvas,
24430 _swigt__p_wxFont,
24431 _swigt__p_wxSplitterEvent,
24432 _swigt__p_wxRegion,
24433 _swigt__p_wxFindReplaceData,
24434 _swigt__p_int,
24435 _swigt__p_wxSize,
24436 _swigt__p_wxDC,
24437 _swigt__p_wxIcon,
24438 _swigt__p_wxMDIChildFrame,
24439 _swigt__p_wxColourData,
24440 _swigt__p_wxNotifyEvent,
24441 _swigt__p_wxPyWindow,
24442 _swigt__p_wxSplashScreen,
24443 _swigt__p_wxFindReplaceDialog,
24444 _swigt__p_wxProgressDialog,
24445 _swigt__p_wxMessageDialog,
24446 _swigt__p_wxTextEntryDialog,
24447 _swigt__p_wxSingleChoiceDialog,
24448 _swigt__p_wxMultiChoiceDialog,
24449 _swigt__p_wxFileDialog,
24450 _swigt__p_wxPrinter,
24451 _swigt__p_wxArrayInt,
24452 _swigt__p_wxEvtHandler,
24453 _swigt__p_wxCalculateLayoutEvent,
24454 _swigt__p_wxPyHtmlListBox,
24455 _swigt__p_wxPyVListBox,
24456 _swigt__p_wxRect,
24457 _swigt__p_char,
24458 _swigt__p_wxMiniFrame,
24459 _swigt__p_wxFrame,
24460 _swigt__p_wxPyPrintout,
24461 _swigt__p_wxTaskBarIconEvent,
24462 _swigt__p_wxScrollWinEvent,
24463 _swigt__p_wxStatusBar,
24464 _swigt__p_wxMDIParentFrame,
24465 _swigt__p_wxPoint,
24466 _swigt__p_wxObject,
24467 _swigt__p_wxOutputStream,
24468 _swigt__p_unsigned_long,
24469 _swigt__p_wxMDIClientWindow,
24470 _swigt__p_wxTipWindow,
24471 _swigt__p_wxSashLayoutWindow,
24472 _swigt__p_wxSplitterWindow,
24473 _swigt__p_wxPyVScrolledWindow,
24474 _swigt__p_wxPyPopupTransientWindow,
24475 _swigt__p_wxPopupWindow,
24476 _swigt__p_wxSashWindow,
24477 _swigt__p_wxTopLevelWindow,
24478 _swigt__p_wxWindow,
24479 _swigt__p_wxScrolledWindow,
24480 _swigt__p_wxSplashScreenWindow,
24481 _swigt__p_wxMenuBar,
24482 _swigt__p_wxPrintPreview,
24483 _swigt__p_wxSashEvent,
24484 _swigt__p_wxString,
24485 _swigt__p_wxPyPrintPreview,
24486 _swigt__p_wxFontDialog,
24487 _swigt__p_wxDirDialog,
24488 _swigt__p_wxColourDialog,
24489 _swigt__p_wxDialog,
24490 _swigt__p_wxPanel,
24491 _swigt__p_wxPageSetupDialog,
24492 _swigt__p_wxPrintDialog,
24493 _swigt__p_wxBitmap,
24494 _swigt__p_wxCommandEvent,
24495 _swigt__p_wxPreviewControlBar,
24496 _swigt__p_wxPyPreviewControlBar,
24497 _swigt__p_wxColour,
24498 _swigt__p_wxToolBar,
24499 _swigt__p_wxPageSetupDialogData,
24500 _swigt__p_wxPrintDialogData,
24501 0
24502 };
24503
24504
24505 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
24506
24507 static swig_const_info swig_const_table[] = {
24508 {0}};
24509
24510 #ifdef __cplusplus
24511 }
24512 #endif
24513
24514 #ifdef __cplusplus
24515 extern "C"
24516 #endif
24517 SWIGEXPORT(void) SWIG_init(void) {
24518 static PyObject *SWIG_globals = 0;
24519 static int typeinit = 0;
24520 PyObject *m, *d;
24521 int i;
24522 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
24523 m = Py_InitModule((char *) SWIG_name, SwigMethods);
24524 d = PyModule_GetDict(m);
24525
24526 if (!typeinit) {
24527 for (i = 0; swig_types_initial[i]; i++) {
24528 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
24529 }
24530 typeinit = 1;
24531 }
24532 SWIG_InstallConstants(d,swig_const_table);
24533
24534 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
24535 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
24536 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
24537 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
24538 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
24539 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR));
24540 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR));
24541 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR));
24542 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER));
24543 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION));
24544 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL));
24545 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG));
24546 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT));
24547 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN));
24548 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE));
24549 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT));
24550 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT));
24551 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
24552 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER));
24553 PyDict_SetItemString(d,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH));
24554 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT));
24555 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE));
24556 PyDict_SetItemString(d,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH));
24557 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER));
24558 PyDict_SetItemString(d,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER));
24559 PyDict_SetItemString(d,"SP_3D", SWIG_FromInt((int)wxSP_3D));
24560 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL));
24561 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL));
24562 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE));
24563 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING));
24564 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN));
24565 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
24566 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
24567 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
24568 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
24569 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
24570 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
24571 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE));
24572 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING));
24573 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN));
24574 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER));
24575 PyDict_SetItemString(d,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER));
24576 PyDict_SetItemString(d,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH));
24577 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER));
24578 PyDict_SetItemString(d,"SW_3D", SWIG_FromInt((int)wxSW_3D));
24579 PyDict_SetItemString(d,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP));
24580 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT));
24581 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM));
24582 PyDict_SetItemString(d,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT));
24583 PyDict_SetItemString(d,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE));
24584 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK));
24585 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE));
24586 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
24587 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL));
24588 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL));
24589 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE));
24590 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP));
24591 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT));
24592 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT));
24593 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM));
24594 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y));
24595 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X));
24596 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH));
24597 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY));
24598 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
24599 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
24600 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
24601
24602 // Map renamed classes back to their common name for OOR
24603 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
24604 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
24605 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
24606
24607 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
24608 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
24609 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
24610 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
24611 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
24612 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
24613 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
24614 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
24615 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
24616 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
24617 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
24618 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
24619 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
24620 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE));
24621 PyDict_SetItemString(d,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN));
24622 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD));
24623 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE));
24624 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG));
24625 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN));
24626 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE));
24627 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD));
24628 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
24629 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
24630 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
24631 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
24632 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
24633 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
24634 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
24635 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
24636 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
24637 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
24638 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
24639 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
24640 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
24641 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
24642 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
24643 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE));
24644 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW));
24645 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE));
24646 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER));
24647 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM));
24648 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR));
24649 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED));
24650 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR));
24651 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT));
24652 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS));
24653 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT));
24654 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM));
24655 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST));
24656 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST));
24657 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO));
24658 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT));
24659 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE));
24660 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT));
24661 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS));
24662 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT));
24663 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM));
24664 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST));
24665 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST));
24666 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO));
24667
24668 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
24669
24670 }
24671