]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/windows_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / mac / windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #endif
125
126 /***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
136 #include "Python.h"
137
138 #ifdef __cplusplus
139 extern "C" {
140 #endif
141
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
147
148 /* Flags for pointer conversion */
149
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
152
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
155
156 /* Constant information structure */
157 typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164 } swig_const_info;
165
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
186 typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198 /* Contract support */
199
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
202 #ifdef __cplusplus
203 }
204 #endif
205
206
207 /* -------- TYPES TABLE (BEGIN) -------- */
208
209 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
210 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
211 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
212 #define SWIGTYPE_p_wxPyPanel swig_types[3]
213 #define SWIGTYPE_p_wxMenu swig_types[4]
214 #define SWIGTYPE_p_wxPrintData swig_types[5]
215 #define SWIGTYPE_p_wxFontData swig_types[6]
216 #define SWIGTYPE_p_wxEvent swig_types[7]
217 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
218 #define SWIGTYPE_p_wxIconBundle swig_types[9]
219 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
220 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
221 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
224 #define SWIGTYPE_p_wxRegion swig_types[15]
225 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
226 #define SWIGTYPE_p_int swig_types[17]
227 #define SWIGTYPE_p_wxSize swig_types[18]
228 #define SWIGTYPE_p_wxDC swig_types[19]
229 #define SWIGTYPE_p_wxIcon swig_types[20]
230 #define SWIGTYPE_p_wxMDIChildFrame swig_types[21]
231 #define SWIGTYPE_p_wxColourData swig_types[22]
232 #define SWIGTYPE_p_wxNotifyEvent swig_types[23]
233 #define SWIGTYPE_p_wxPyWindow swig_types[24]
234 #define SWIGTYPE_p_wxSplashScreen swig_types[25]
235 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[26]
236 #define SWIGTYPE_p_wxProgressDialog swig_types[27]
237 #define SWIGTYPE_p_wxMessageDialog swig_types[28]
238 #define SWIGTYPE_p_wxTextEntryDialog swig_types[29]
239 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30]
240 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31]
241 #define SWIGTYPE_p_wxFileDialog swig_types[32]
242 #define SWIGTYPE_p_wxPrinter swig_types[33]
243 #define SWIGTYPE_p_wxArrayInt swig_types[34]
244 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
245 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36]
246 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[37]
247 #define SWIGTYPE_p_wxPyVListBox swig_types[38]
248 #define SWIGTYPE_p_wxRect swig_types[39]
249 #define SWIGTYPE_p_char swig_types[40]
250 #define SWIGTYPE_p_wxMiniFrame swig_types[41]
251 #define SWIGTYPE_p_wxFrame swig_types[42]
252 #define SWIGTYPE_p_wxPyPrintout swig_types[43]
253 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[44]
254 #define SWIGTYPE_p_wxScrollWinEvent swig_types[45]
255 #define SWIGTYPE_p_wxStatusBar swig_types[46]
256 #define SWIGTYPE_p_wxMDIParentFrame swig_types[47]
257 #define SWIGTYPE_p_wxPoint swig_types[48]
258 #define SWIGTYPE_p_wxObject swig_types[49]
259 #define SWIGTYPE_p_wxOutputStream swig_types[50]
260 #define SWIGTYPE_p_unsigned_long swig_types[51]
261 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[52]
262 #define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
263 #define SWIGTYPE_p_wxTipWindow swig_types[54]
264 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[55]
265 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[56]
266 #define SWIGTYPE_p_wxSplitterWindow swig_types[57]
267 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[58]
268 #define SWIGTYPE_p_wxPopupWindow swig_types[59]
269 #define SWIGTYPE_p_wxSashWindow swig_types[60]
270 #define SWIGTYPE_p_wxTopLevelWindow swig_types[61]
271 #define SWIGTYPE_p_wxWindow swig_types[62]
272 #define SWIGTYPE_p_wxScrolledWindow swig_types[63]
273 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[64]
274 #define SWIGTYPE_p_wxMenuBar swig_types[65]
275 #define SWIGTYPE_p_wxPrintPreview swig_types[66]
276 #define SWIGTYPE_p_wxSashEvent swig_types[67]
277 #define SWIGTYPE_p_wxString swig_types[68]
278 #define SWIGTYPE_p_wxPyPrintPreview swig_types[69]
279 #define SWIGTYPE_p_wxFontDialog swig_types[70]
280 #define SWIGTYPE_p_wxDirDialog swig_types[71]
281 #define SWIGTYPE_p_wxColourDialog swig_types[72]
282 #define SWIGTYPE_p_wxDialog swig_types[73]
283 #define SWIGTYPE_p_wxPanel swig_types[74]
284 #define SWIGTYPE_p_wxPageSetupDialog swig_types[75]
285 #define SWIGTYPE_p_wxPrintDialog swig_types[76]
286 #define SWIGTYPE_p_wxBitmap swig_types[77]
287 #define SWIGTYPE_p_wxCommandEvent swig_types[78]
288 #define SWIGTYPE_p_wxPreviewControlBar swig_types[79]
289 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[80]
290 #define SWIGTYPE_p_wxColour swig_types[81]
291 #define SWIGTYPE_p_wxToolBar swig_types[82]
292 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[83]
293 #define SWIGTYPE_p_wxPrintDialogData swig_types[84]
294 static swig_type_info *swig_types[86];
295
296 /* -------- TYPES TABLE (END) -------- */
297
298
299 /*-----------------------------------------------
300 @(target):= _windows.so
301 ------------------------------------------------*/
302 #define SWIG_init init_windows
303
304 #define SWIG_name "_windows"
305
306 /* Auxiliar swig macros */
307
308 #ifdef __cplusplus
309 #define SWIGSTATICINLINE(a) static inline a
310 #define SWIGSTATIC(a) static a
311 #define swig_new_array(type, size) (new type[(size)])
312 #define swig_delete_array(cptr) delete[] cptr
313 #define swig_const_cast(type,a) const_cast<type>(a)
314 #define swig_static_cast(type,a) static_cast<type>(a)
315 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
316
317 #ifdef HAVE_NUMERIC_CAST
318 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
319 #else
320 #define swig_numeric_cast(type,a) static_cast<type>(a)
321 #endif
322
323 #else /* C case */
324
325 #define SWIGSTATICINLINE(a) static a
326 #define SWIGSTATIC(a) static a
327 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
328 #define swig_delete_array(cptr) free((char*)cptr)
329 #define swig_const_cast(type,a) (type)(a)
330 #define swig_static_cast(type,a) (type)(a)
331 #define swig_reinterpret_cast(type,a) (type)(a)
332 #define swig_numeric_cast(type,a) (type)(a)
333
334 #endif /* __cplusplus */
335
336
337 #define SWIG_FromSignedChar PyInt_FromLong
338 #define SWIG_FromUnsignedChar PyInt_FromLong
339 #define SWIG_FromShort PyInt_FromLong
340 #define SWIG_FromUnsignedShort PyInt_FromLong
341 #define SWIG_FromInt PyInt_FromLong
342 #define SWIG_FromLong PyInt_FromLong
343 #define SWIG_FromFloat PyFloat_FromDouble
344 #define SWIG_FromDouble PyFloat_FromDouble
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
347
348
349 #include "wx/wxPython/wxPython.h"
350 #include "wx/wxPython/pyclasses.h"
351
352
353 static const wxString wxPyEmptyString(wxEmptyString);
354 static const wxString wxPyPanelNameStr(wxPanelNameStr);
355
356
357
358 #include <limits.h>
359
360
361 SWIGSTATICINLINE(long)
362 SWIG_CheckLongInRange(long value, const char* type,
363 long min_value, long max_value)
364 {
365 if (!PyErr_Occurred()) {
366 if (value < min_value) {
367 PyObject *err =
368 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
369 value, type, min_value);
370
371 PyErr_SetObject(PyExc_OverflowError, err);
372 Py_DECREF(err);
373 } else if (value > max_value) {
374 PyObject *err =
375 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
376 value, type, max_value);
377 PyErr_SetObject(PyExc_OverflowError, err);
378 Py_DECREF(err);
379 }
380 }
381 return value;
382 }
383
384
385 SWIGSTATICINLINE(long)
386 SWIG_AsLong(PyObject * obj)
387 {
388 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
389 }
390
391
392 #if INT_MAX != LONG_MAX
393 SWIGSTATICINLINE(int)
394 SWIG_AsInt(PyObject *obj)
395 {
396 return swig_numeric_cast(int,
397 SWIG_CheckLongInRange(SWIG_AsLong(obj),
398 "int", INT_MIN, INT_MAX));
399 }
400 #else
401 #define SWIG_AsInt SWIG_AsLong
402 #endif
403
404
405 SWIGSTATICINLINE(int)
406 SWIG_CheckInt(PyObject* obj)
407 {
408 SWIG_AsInt(obj);
409 if (PyErr_Occurred()) {
410 PyErr_Clear();
411 return 0;
412 } else {
413 return 1;
414 }
415 }
416
417
418 SWIGSTATICINLINE(int)
419 SWIG_CheckLong(PyObject* obj)
420 {
421 SWIG_AsLong(obj);
422 if (PyErr_Occurred()) {
423 PyErr_Clear();
424 return 0;
425 } else {
426 return 1;
427 }
428 }
429
430
431 SWIGSTATICINLINE(bool)
432 SWIG_AsBool(PyObject *obj)
433 {
434 return PyObject_IsTrue(obj) ? true : false;
435 }
436
437
438 SWIGSTATICINLINE(int)
439 SWIG_CheckBool(PyObject* obj)
440 {
441 SWIG_AsBool(obj);
442 if (PyErr_Occurred()) {
443 PyErr_Clear();
444 return 0;
445 } else {
446 return 1;
447 }
448 }
449
450
451 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
452 PyObject* o2;
453 PyObject* o3;
454
455 if (!target) {
456 target = o;
457 } else if (target == Py_None) {
458 Py_DECREF(Py_None);
459 target = o;
460 } else {
461 if (!PyTuple_Check(target)) {
462 o2 = target;
463 target = PyTuple_New(1);
464 PyTuple_SetItem(target, 0, o2);
465 }
466 o3 = PyTuple_New(1);
467 PyTuple_SetItem(o3, 0, o);
468
469 o2 = target;
470 target = PySequence_Concat(o2, o3);
471 Py_DECREF(o2);
472 Py_DECREF(o3);
473 }
474 return target;
475 }
476
477
478 SWIGSTATICINLINE(double)
479 SWIG_AsDouble(PyObject *obj)
480 {
481 double val = (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
482 #if HAVE_LONG_LONG
483 ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
484 #else
485 ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj));
486 #endif
487 if (PyErr_Occurred()) {
488 PyErr_Clear();
489 PyErr_SetString(PyExc_TypeError, "a double is expected");
490 }
491 return val;
492 }
493
494
495 SWIGSTATICINLINE(int)
496 SWIG_CheckDouble(PyObject* obj)
497 {
498 SWIG_AsDouble(obj);
499 if (PyErr_Occurred()) {
500 PyErr_Clear();
501 return 0;
502 } else {
503 return 1;
504 }
505 }
506
507 static const wxString wxPyFrameNameStr(wxFrameNameStr);
508 static const wxString wxPyDialogNameStr(wxDialogNameStr);
509 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
510 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
511 bool wxDialog_IsModalShowing(wxDialog *self){
512
513
514
515 return self->IsModalShowing();
516
517 }
518
519
520 wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
521 wxRect r;
522 self->GetFieldRect(i, r);
523 return r;
524 }
525 static const wxString wxPySplitterNameStr(wxT("splitter"));
526 static const wxString wxPySashNameStr(wxT("sashWindow"));
527 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
528
529 #include <wx/popupwin.h>
530
531
532 class wxPopupWindow : public wxWindow {
533 public:
534 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
535 wxPopupWindow() { wxPyRaiseNotImplemented(); }
536 };
537
538 class wxPyPopupTransientWindow : public wxPopupWindow
539 {
540 public:
541 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
542 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
543 };
544
545
546 #include <wx/tipwin.h>
547
548 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
549 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
550 }
551
552 #include <wx/tipwin.h>
553
554
555 #include <wx/vscroll.h>
556
557
558 class wxPyVScrolledWindow : public wxVScrolledWindow
559 {
560 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
561 public:
562 wxPyVScrolledWindow() : wxVScrolledWindow() {}
563
564 wxPyVScrolledWindow(wxWindow *parent,
565 wxWindowID id = wxID_ANY,
566 const wxPoint& pos = wxDefaultPosition,
567 const wxSize& size = wxDefaultSize,
568 long style = 0,
569 const wxString& name = wxPyPanelNameStr)
570 : wxVScrolledWindow(parent, id, pos, size, style, name)
571 {}
572
573 // Overridable virtuals
574
575 // this function must be overridden in the derived class and it should
576 // return the height of the given line in pixels
577 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
578
579
580 // this function doesn't have to be overridden but it may be useful to do
581 // it if calculating the lines heights is a relatively expensive operation
582 // as it gives the user code a possibility to calculate several of them at
583 // once
584 //
585 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
586 // shouldn't rely on the latter being called for all lines in the interval
587 // specified here. It is also possible that OnGetLineHeight() will be
588 // called for the lines outside of this interval, so this is really just a
589 // hint, not a promise.
590 //
591 // finally note that lineMin is inclusive, while lineMax is exclusive, as
592 // usual
593 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
594
595
596 // when the number of lines changes, we try to estimate the total height
597 // of all lines which is a rather expensive operation in terms of lines
598 // access, so if the user code may estimate the average height
599 // better/faster than we do, it should override this function to implement
600 // its own logic
601 //
602 // this function should return the best guess for the total height it may
603 // make
604 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
605
606
607 // Also expose some other interesting protected methods
608
609
610 // find the index of the line we need to show at the top of the window such
611 // that the last (fully or partially) visible line is the given one
612 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
613 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
614
615 // get the total height of the lines between lineMin (inclusive) and
616 // lineMax (exclusive)
617 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
618 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
619
620
621 PYPRIVATE;
622 };
623
624 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
625
626 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
627 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
628 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
629
630
631 SWIGSTATICINLINE(unsigned long)
632 SWIG_AsUnsignedLong(PyObject * obj)
633 {
634 if (PyLong_Check(obj)) {
635 return PyLong_AsUnsignedLong(obj);
636 } else {
637 long i = PyInt_AsLong(obj);
638 if ( !PyErr_Occurred() && (i < 0)) {
639 PyErr_SetString(PyExc_TypeError, "negative value for unsigned type");
640 }
641 return i;
642 }
643 }
644
645
646 SWIGSTATICINLINE(int)
647 SWIG_CheckUnsignedLong(PyObject* obj)
648 {
649 SWIG_AsUnsignedLong(obj);
650 if (PyErr_Occurred()) {
651 PyErr_Clear();
652 return 0;
653 } else {
654 return 1;
655 }
656 }
657
658
659 SWIGSTATICINLINE(PyObject* )
660 SWIG_FromUnsignedLong(unsigned long value)
661 {
662 return (value > LONG_MAX) ?
663 PyLong_FromUnsignedLong(value)
664 : PyInt_FromLong(swig_numeric_cast(long,value));
665 }
666
667
668 #include <wx/vlbox.h>
669
670 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
671
672 class wxPyVListBox : public wxVListBox
673 {
674 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
675 public:
676 wxPyVListBox() : wxVListBox() {}
677
678 wxPyVListBox(wxWindow *parent,
679 wxWindowID id = wxID_ANY,
680 const wxPoint& pos = wxDefaultPosition,
681 const wxSize& size = wxDefaultSize,
682 long style = 0,
683 const wxString& name = wxPyVListBoxNameStr)
684 : wxVListBox(parent, id, pos, size, style, name)
685 {}
686
687 // Overridable virtuals
688
689 // the derived class must implement this function to actually draw the item
690 // with the given index on the provided DC
691 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
692 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
693
694
695 // the derived class must implement this method to return the height of the
696 // specified item
697 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
698 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
699
700
701 // this method may be used to draw separators between the lines; note that
702 // the rectangle may be modified, typically to deflate it a bit before
703 // passing to OnDrawItem()
704 //
705 // the base class version doesn't do anything
706 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
707 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
708
709
710 // this method is used to draw the items background and, maybe, a border
711 // around it
712 //
713 // the base class version implements a reasonable default behaviour which
714 // consists in drawing the selected item with the standard background
715 // colour and drawing a border around the item if it is either selected or
716 // current
717 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
718 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
719
720
721 PYPRIVATE;
722 };
723
724 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
725
726 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
727 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
728 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
729 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
730
731
732
733 #include <wx/htmllbox.h>
734
735
736 class wxPyHtmlListBox : public wxHtmlListBox
737 {
738 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
739 public:
740 wxPyHtmlListBox() : wxHtmlListBox() {}
741
742 wxPyHtmlListBox(wxWindow *parent,
743 wxWindowID id = wxID_ANY,
744 const wxPoint& pos = wxDefaultPosition,
745 const wxSize& size = wxDefaultSize,
746 long style = 0,
747 const wxString& name = wxPyVListBoxNameStr)
748 : wxHtmlListBox(parent, id, pos, size, style, name)
749 {}
750
751 // Overridable virtuals
752
753 // this method must be implemented in the derived class and should return
754 // the body (i.e. without <html>) of the HTML for the given item
755 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
756
757 // this function may be overridden to decorate HTML returned by OnGetItem()
758 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
759
760 // TODO:
761 // // this method allows to customize the selection appearance: it may be used
762 // // to specify the colour of the text which normally has the given colour
763 // // colFg when it is inside the selection
764 // //
765 // // by default, the original colour is not used at all and all text has the
766 // // same (default for this system) colour inside selection
767 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
768
769 // // this is the same as GetSelectedTextColour() but allows to customize the
770 // // background colour -- this is even more rarely used as you can change it
771 // // globally using SetSelectionBackground()
772 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
773
774
775 PYPRIVATE;
776 };
777
778
779 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
780
781 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
782 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
783
784
785
786
787
788 #ifdef __WXMAC__
789 // implement dummy classes and such for wxMac
790
791 class wxTaskBarIcon : public wxEvtHandler
792 {
793 public:
794 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
795 };
796
797
798 class wxTaskBarIconEvent : public wxEvent
799 {
800 public:
801 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
802 { wxPyRaiseNotImplemented(); }
803 virtual wxEvent* Clone() const { return NULL; }
804 };
805
806 enum {
807 wxEVT_TASKBAR_MOVE = 0,
808 wxEVT_TASKBAR_LEFT_DOWN = 0,
809 wxEVT_TASKBAR_LEFT_UP = 0,
810 wxEVT_TASKBAR_RIGHT_DOWN = 0,
811 wxEVT_TASKBAR_RIGHT_UP = 0,
812 wxEVT_TASKBAR_LEFT_DCLICK = 0,
813 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
814 };
815 #endif
816
817 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
818 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
819 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
820 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
821 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
822 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
823 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
824 wxArrayString arr;
825 self->GetFilenames(arr);
826 return wxArrayString2PyList_helper(arr);
827 }
828 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
829 wxArrayString arr;
830 self->GetPaths(arr);
831 return wxArrayString2PyList_helper(arr);
832 }
833 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
834 return wxArrayInt2PyList_helper(self->GetSelections());
835 }
836 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
837 return new wxSingleChoiceDialog(parent, message, caption,
838 choices, choices_array, NULL, style, pos);
839 }
840
841 #include <wx/mdi.h>
842
843 // C++ version of Python aware wxWindow
844 class wxPyWindow : public wxWindow
845 {
846 DECLARE_DYNAMIC_CLASS(wxPyWindow)
847 public:
848 wxPyWindow() : wxWindow() {}
849 wxPyWindow(wxWindow* parent, const wxWindowID id,
850 const wxPoint& pos = wxDefaultPosition,
851 const wxSize& size = wxDefaultSize,
852 long style = 0,
853 const wxString& name = wxPyPanelNameStr)
854 : wxWindow(parent, id, pos, size, style, name) {}
855
856
857 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
858 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
859 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
860 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
861
862 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
863 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
864 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
865
866 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
867 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
868
869 DEC_PYCALLBACK__(InitDialog);
870 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
871 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
872 DEC_PYCALLBACK_BOOL_(Validate);
873
874 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
875 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
876 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
877
878 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
879 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
880
881 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
882 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
883
884 PYPRIVATE;
885 };
886
887 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
888
889 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
890 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
891 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
892 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
893
894 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
895 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
896 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
897
898 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
899 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
900
901 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
902 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
903 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
904 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
905
906 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
907 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
908 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
909
910 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
911 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
912
913 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, ShouldInheritColours);
914 IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
915
916
917 // C++ version of Python aware wxPanel
918 class wxPyPanel : public wxPanel
919 {
920 DECLARE_DYNAMIC_CLASS(wxPyPanel)
921 public:
922 wxPyPanel() : wxPanel() {}
923 wxPyPanel(wxWindow* parent, const wxWindowID id,
924 const wxPoint& pos = wxDefaultPosition,
925 const wxSize& size = wxDefaultSize,
926 long style = 0,
927 const wxString& name = wxPyPanelNameStr)
928 : wxPanel(parent, id, pos, size, style, name) {}
929
930
931 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
932 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
933 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
934 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
935
936 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
937 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
938 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
939
940 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
941 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
942
943 DEC_PYCALLBACK__(InitDialog);
944 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
945 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
946 DEC_PYCALLBACK_BOOL_(Validate);
947
948 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
949 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
950 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
951
952 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
953 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
954
955 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
956 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
957
958 PYPRIVATE;
959 };
960
961 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
962
963 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
964 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
965 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
966 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
967
968 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
969 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
970 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
971
972 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
973 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
974
975 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
976 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
977 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
978 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
979
980 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
981 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
982 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
983
984 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
985 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
986
987 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, ShouldInheritColours);
988 IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
989
990 // C++ version of Python aware wxScrolledWindow
991 class wxPyScrolledWindow : public wxScrolledWindow
992 {
993 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
994 public:
995 wxPyScrolledWindow() : wxScrolledWindow() {}
996 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
997 const wxPoint& pos = wxDefaultPosition,
998 const wxSize& size = wxDefaultSize,
999 long style = 0,
1000 const wxString& name = wxPyPanelNameStr)
1001 : wxScrolledWindow(parent, id, pos, size, style, name) {}
1002
1003
1004 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1005 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1006 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1007 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1008
1009 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1010 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1011 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1012
1013 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1014 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1015
1016 DEC_PYCALLBACK__(InitDialog);
1017 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1018 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1019 DEC_PYCALLBACK_BOOL_(Validate);
1020
1021 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1022 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1023 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1024
1025 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1026 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1027
1028 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
1029 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1030
1031 PYPRIVATE;
1032 };
1033
1034 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
1035
1036 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
1037 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
1038 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
1039 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
1040
1041 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
1042 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
1043 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
1044
1045 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
1046 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
1047
1048 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
1049 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
1050 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
1051 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
1052
1053 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
1054 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
1055 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
1056
1057 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
1058 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
1059
1060 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
1061 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
1062
1063
1064 #include "wx/wxPython/printfw.h"
1065
1066
1067 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
1068 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1069
1070
1071
1072 // Since this one would be tough and ugly to do with the Macros...
1073 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1074 bool hadErr = False;
1075 bool found;
1076
1077 bool blocked = wxPyBeginBlockThreads();
1078 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
1079 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1080 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
1081 PyObject* val;
1082
1083 val = PyTuple_GetItem(result, 0);
1084 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
1085 else hadErr = True;
1086
1087 val = PyTuple_GetItem(result, 1);
1088 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
1089 else hadErr = True;
1090
1091 val = PyTuple_GetItem(result, 2);
1092 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
1093 else hadErr = True;
1094
1095 val = PyTuple_GetItem(result, 3);
1096 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
1097 else hadErr = True;
1098 }
1099 else
1100 hadErr = True;
1101
1102 if (hadErr) {
1103 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1104 PyErr_Print();
1105 }
1106 Py_DECREF(result);
1107 }
1108 wxPyEndBlockThreads(blocked);
1109 if (! found)
1110 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1111 }
1112
1113 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1114 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1115 }
1116
1117
1118 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1119 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1120 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1121 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1122 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1123 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1124 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1125
1126
1127
1128
1129
1130 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1131 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1132 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1133
1134
1135 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1136 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1137 bool rval=False; \
1138 bool found; \
1139 bool blocked = wxPyBeginBlockThreads(); \
1140 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1141 PyObject* win = wxPyMake_wxObject(a); \
1142 PyObject* dc = wxPyMake_wxObject(&b); \
1143 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1144 Py_DECREF(win); \
1145 Py_DECREF(dc); \
1146 } \
1147 wxPyEndBlockThreads(blocked); \
1148 if (! found) \
1149 rval = PCLASS::CBNAME(a, b); \
1150 return rval; \
1151 } \
1152 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1153 return PCLASS::CBNAME(a, b); \
1154 }
1155
1156
1157
1158
1159 class wxPyPrintPreview : public wxPrintPreview
1160 {
1161 DECLARE_CLASS(wxPyPrintPreview)
1162 public:
1163 wxPyPrintPreview(wxPyPrintout* printout,
1164 wxPyPrintout* printoutForPrinting,
1165 wxPrintDialogData* data=NULL)
1166 : wxPrintPreview(printout, printoutForPrinting, data)
1167 {}
1168 wxPyPrintPreview(wxPyPrintout* printout,
1169 wxPyPrintout* printoutForPrinting,
1170 wxPrintData* data=NULL)
1171 : wxPrintPreview(printout, printoutForPrinting, data)
1172 {}
1173
1174 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1175 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1176 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1177 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1178 DEC_PYCALLBACK_VOID_INT(SetZoom);
1179 DEC_PYCALLBACK_BOOL_BOOL(Print);
1180 DEC_PYCALLBACK_VOID_(DetermineScaling);
1181
1182 PYPRIVATE;
1183 };
1184
1185 // Stupid renamed classes... Fix this in 2.5...
1186 #if defined(__WXMSW__)
1187 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1188 #elif defined(__WXMAC__)
1189 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1190 #else
1191 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1192 #endif
1193
1194 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1195 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1196 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1197 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1198 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1199 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1200 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1201
1202
1203 class wxPyPreviewFrame : public wxPreviewFrame
1204 {
1205 DECLARE_CLASS(wxPyPreviewFrame);
1206 public:
1207 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1208 const wxString& title,
1209 const wxPoint& pos = wxDefaultPosition,
1210 const wxSize& size = wxDefaultSize,
1211 long style = wxDEFAULT_FRAME_STYLE,
1212 const wxString& name = wxPyFrameNameStr)
1213 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1214 {}
1215
1216 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1217 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1218
1219 DEC_PYCALLBACK_VOID_(Initialize);
1220 DEC_PYCALLBACK_VOID_(CreateCanvas);
1221 DEC_PYCALLBACK_VOID_(CreateControlBar);
1222
1223 PYPRIVATE;
1224 };
1225
1226 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1227
1228 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1229 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1230 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1231
1232
1233 class wxPyPreviewControlBar : public wxPreviewControlBar
1234 {
1235 DECLARE_CLASS(wxPyPreviewControlBar);
1236 public:
1237 wxPyPreviewControlBar(wxPrintPreview *preview,
1238 long buttons,
1239 wxWindow *parent,
1240 const wxPoint& pos = wxDefaultPosition,
1241 const wxSize& size = wxDefaultSize,
1242 long style = 0,
1243 const wxString& name = wxPyPanelNameStr)
1244 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1245 {}
1246
1247 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1248
1249 DEC_PYCALLBACK_VOID_(CreateButtons);
1250 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1251
1252 PYPRIVATE;
1253 };
1254
1255 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1256 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1257 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1258
1259 #ifdef __cplusplus
1260 extern "C" {
1261 #endif
1262 static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) {
1263 PyObject *resultobj;
1264 wxWindow *arg1 = (wxWindow *) 0 ;
1265 int arg2 = (int) (int)-1 ;
1266 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1267 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1268 wxSize const &arg4_defvalue = wxDefaultSize ;
1269 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1270 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1271 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1272 wxString *arg6 = (wxString *) &arg6_defvalue ;
1273 wxPanel *result;
1274 wxPoint temp3 ;
1275 wxSize temp4 ;
1276 bool temp6 = False ;
1277 PyObject * obj0 = 0 ;
1278 PyObject * obj1 = 0 ;
1279 PyObject * obj2 = 0 ;
1280 PyObject * obj3 = 0 ;
1281 PyObject * obj4 = 0 ;
1282 PyObject * obj5 = 0 ;
1283 char *kwnames[] = {
1284 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1285 };
1286
1287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1290 if (obj1) {
1291 arg2 = (int const) SWIG_AsInt(obj1);
1292 if (PyErr_Occurred()) SWIG_fail;
1293 }
1294 if (obj2) {
1295 {
1296 arg3 = &temp3;
1297 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1298 }
1299 }
1300 if (obj3) {
1301 {
1302 arg4 = &temp4;
1303 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1304 }
1305 }
1306 if (obj4) {
1307 arg5 = (long) SWIG_AsLong(obj4);
1308 if (PyErr_Occurred()) SWIG_fail;
1309 }
1310 if (obj5) {
1311 {
1312 arg6 = wxString_in_helper(obj5);
1313 if (arg6 == NULL) SWIG_fail;
1314 temp6 = True;
1315 }
1316 }
1317 {
1318 PyThreadState* __tstate = wxPyBeginAllowThreads();
1319 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1320
1321 wxPyEndAllowThreads(__tstate);
1322 if (PyErr_Occurred()) SWIG_fail;
1323 }
1324 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1325 {
1326 if (temp6)
1327 delete arg6;
1328 }
1329 return resultobj;
1330 fail:
1331 {
1332 if (temp6)
1333 delete arg6;
1334 }
1335 return NULL;
1336 }
1337
1338
1339 static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) {
1340 PyObject *resultobj;
1341 wxPanel *result;
1342 char *kwnames[] = {
1343 NULL
1344 };
1345
1346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1347 {
1348 PyThreadState* __tstate = wxPyBeginAllowThreads();
1349 result = (wxPanel *)new wxPanel();
1350
1351 wxPyEndAllowThreads(__tstate);
1352 if (PyErr_Occurred()) SWIG_fail;
1353 }
1354 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1355 return resultobj;
1356 fail:
1357 return NULL;
1358 }
1359
1360
1361 static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1362 PyObject *resultobj;
1363 wxPanel *arg1 = (wxPanel *) 0 ;
1364 wxWindow *arg2 = (wxWindow *) 0 ;
1365 int arg3 ;
1366 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1367 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1368 wxSize const &arg5_defvalue = wxDefaultSize ;
1369 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1370 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1371 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1372 wxString *arg7 = (wxString *) &arg7_defvalue ;
1373 bool result;
1374 wxPoint temp4 ;
1375 wxSize temp5 ;
1376 bool temp7 = False ;
1377 PyObject * obj0 = 0 ;
1378 PyObject * obj1 = 0 ;
1379 PyObject * obj2 = 0 ;
1380 PyObject * obj3 = 0 ;
1381 PyObject * obj4 = 0 ;
1382 PyObject * obj5 = 0 ;
1383 PyObject * obj6 = 0 ;
1384 char *kwnames[] = {
1385 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1386 };
1387
1388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1391 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1393 arg3 = (int const) SWIG_AsInt(obj2);
1394 if (PyErr_Occurred()) SWIG_fail;
1395 if (obj3) {
1396 {
1397 arg4 = &temp4;
1398 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1399 }
1400 }
1401 if (obj4) {
1402 {
1403 arg5 = &temp5;
1404 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1405 }
1406 }
1407 if (obj5) {
1408 arg6 = (long) SWIG_AsLong(obj5);
1409 if (PyErr_Occurred()) SWIG_fail;
1410 }
1411 if (obj6) {
1412 {
1413 arg7 = wxString_in_helper(obj6);
1414 if (arg7 == NULL) SWIG_fail;
1415 temp7 = True;
1416 }
1417 }
1418 {
1419 PyThreadState* __tstate = wxPyBeginAllowThreads();
1420 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1421
1422 wxPyEndAllowThreads(__tstate);
1423 if (PyErr_Occurred()) SWIG_fail;
1424 }
1425 {
1426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1427 }
1428 {
1429 if (temp7)
1430 delete arg7;
1431 }
1432 return resultobj;
1433 fail:
1434 {
1435 if (temp7)
1436 delete arg7;
1437 }
1438 return NULL;
1439 }
1440
1441
1442 static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
1443 PyObject *resultobj;
1444 wxPanel *arg1 = (wxPanel *) 0 ;
1445 PyObject * obj0 = 0 ;
1446 char *kwnames[] = {
1447 (char *) "self", NULL
1448 };
1449
1450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1453 {
1454 PyThreadState* __tstate = wxPyBeginAllowThreads();
1455 (arg1)->InitDialog();
1456
1457 wxPyEndAllowThreads(__tstate);
1458 if (PyErr_Occurred()) SWIG_fail;
1459 }
1460 Py_INCREF(Py_None); resultobj = Py_None;
1461 return resultobj;
1462 fail:
1463 return NULL;
1464 }
1465
1466
1467 static PyObject * Panel_swigregister(PyObject *, PyObject *args) {
1468 PyObject *obj;
1469 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1470 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1471 Py_INCREF(obj);
1472 return Py_BuildValue((char *)"");
1473 }
1474 static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1475 PyObject *resultobj;
1476 wxWindow *arg1 = (wxWindow *) 0 ;
1477 int arg2 = (int) (int)-1 ;
1478 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1479 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1480 wxSize const &arg4_defvalue = wxDefaultSize ;
1481 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1482 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1483 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1484 wxString *arg6 = (wxString *) &arg6_defvalue ;
1485 wxScrolledWindow *result;
1486 wxPoint temp3 ;
1487 wxSize temp4 ;
1488 bool temp6 = False ;
1489 PyObject * obj0 = 0 ;
1490 PyObject * obj1 = 0 ;
1491 PyObject * obj2 = 0 ;
1492 PyObject * obj3 = 0 ;
1493 PyObject * obj4 = 0 ;
1494 PyObject * obj5 = 0 ;
1495 char *kwnames[] = {
1496 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1497 };
1498
1499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1502 if (obj1) {
1503 arg2 = (int const) SWIG_AsInt(obj1);
1504 if (PyErr_Occurred()) SWIG_fail;
1505 }
1506 if (obj2) {
1507 {
1508 arg3 = &temp3;
1509 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1510 }
1511 }
1512 if (obj3) {
1513 {
1514 arg4 = &temp4;
1515 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1516 }
1517 }
1518 if (obj4) {
1519 arg5 = (long) SWIG_AsLong(obj4);
1520 if (PyErr_Occurred()) SWIG_fail;
1521 }
1522 if (obj5) {
1523 {
1524 arg6 = wxString_in_helper(obj5);
1525 if (arg6 == NULL) SWIG_fail;
1526 temp6 = True;
1527 }
1528 }
1529 {
1530 PyThreadState* __tstate = wxPyBeginAllowThreads();
1531 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1532
1533 wxPyEndAllowThreads(__tstate);
1534 if (PyErr_Occurred()) SWIG_fail;
1535 }
1536 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1537 {
1538 if (temp6)
1539 delete arg6;
1540 }
1541 return resultobj;
1542 fail:
1543 {
1544 if (temp6)
1545 delete arg6;
1546 }
1547 return NULL;
1548 }
1549
1550
1551 static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1552 PyObject *resultobj;
1553 wxScrolledWindow *result;
1554 char *kwnames[] = {
1555 NULL
1556 };
1557
1558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1559 {
1560 PyThreadState* __tstate = wxPyBeginAllowThreads();
1561 result = (wxScrolledWindow *)new wxScrolledWindow();
1562
1563 wxPyEndAllowThreads(__tstate);
1564 if (PyErr_Occurred()) SWIG_fail;
1565 }
1566 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1567 return resultobj;
1568 fail:
1569 return NULL;
1570 }
1571
1572
1573 static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1574 PyObject *resultobj;
1575 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1576 wxWindow *arg2 = (wxWindow *) 0 ;
1577 int arg3 = (int) (int)-1 ;
1578 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1579 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1580 wxSize const &arg5_defvalue = wxDefaultSize ;
1581 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1582 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1583 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1584 wxString *arg7 = (wxString *) &arg7_defvalue ;
1585 bool result;
1586 wxPoint temp4 ;
1587 wxSize temp5 ;
1588 bool temp7 = False ;
1589 PyObject * obj0 = 0 ;
1590 PyObject * obj1 = 0 ;
1591 PyObject * obj2 = 0 ;
1592 PyObject * obj3 = 0 ;
1593 PyObject * obj4 = 0 ;
1594 PyObject * obj5 = 0 ;
1595 PyObject * obj6 = 0 ;
1596 char *kwnames[] = {
1597 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1598 };
1599
1600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1603 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1605 if (obj2) {
1606 arg3 = (int const) SWIG_AsInt(obj2);
1607 if (PyErr_Occurred()) SWIG_fail;
1608 }
1609 if (obj3) {
1610 {
1611 arg4 = &temp4;
1612 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1613 }
1614 }
1615 if (obj4) {
1616 {
1617 arg5 = &temp5;
1618 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1619 }
1620 }
1621 if (obj5) {
1622 arg6 = (long) SWIG_AsLong(obj5);
1623 if (PyErr_Occurred()) SWIG_fail;
1624 }
1625 if (obj6) {
1626 {
1627 arg7 = wxString_in_helper(obj6);
1628 if (arg7 == NULL) SWIG_fail;
1629 temp7 = True;
1630 }
1631 }
1632 {
1633 PyThreadState* __tstate = wxPyBeginAllowThreads();
1634 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1635
1636 wxPyEndAllowThreads(__tstate);
1637 if (PyErr_Occurred()) SWIG_fail;
1638 }
1639 {
1640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1641 }
1642 {
1643 if (temp7)
1644 delete arg7;
1645 }
1646 return resultobj;
1647 fail:
1648 {
1649 if (temp7)
1650 delete arg7;
1651 }
1652 return NULL;
1653 }
1654
1655
1656 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
1657 PyObject *resultobj;
1658 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1659 int arg2 ;
1660 int arg3 ;
1661 int arg4 ;
1662 int arg5 ;
1663 int arg6 = (int) 0 ;
1664 int arg7 = (int) 0 ;
1665 bool arg8 = (bool) False ;
1666 PyObject * obj0 = 0 ;
1667 PyObject * obj1 = 0 ;
1668 PyObject * obj2 = 0 ;
1669 PyObject * obj3 = 0 ;
1670 PyObject * obj4 = 0 ;
1671 PyObject * obj5 = 0 ;
1672 PyObject * obj6 = 0 ;
1673 PyObject * obj7 = 0 ;
1674 char *kwnames[] = {
1675 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1676 };
1677
1678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1681 arg2 = (int) SWIG_AsInt(obj1);
1682 if (PyErr_Occurred()) SWIG_fail;
1683 arg3 = (int) SWIG_AsInt(obj2);
1684 if (PyErr_Occurred()) SWIG_fail;
1685 arg4 = (int) SWIG_AsInt(obj3);
1686 if (PyErr_Occurred()) SWIG_fail;
1687 arg5 = (int) SWIG_AsInt(obj4);
1688 if (PyErr_Occurred()) SWIG_fail;
1689 if (obj5) {
1690 arg6 = (int) SWIG_AsInt(obj5);
1691 if (PyErr_Occurred()) SWIG_fail;
1692 }
1693 if (obj6) {
1694 arg7 = (int) SWIG_AsInt(obj6);
1695 if (PyErr_Occurred()) SWIG_fail;
1696 }
1697 if (obj7) {
1698 arg8 = (bool) SWIG_AsBool(obj7);
1699 if (PyErr_Occurred()) SWIG_fail;
1700 }
1701 {
1702 PyThreadState* __tstate = wxPyBeginAllowThreads();
1703 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1704
1705 wxPyEndAllowThreads(__tstate);
1706 if (PyErr_Occurred()) SWIG_fail;
1707 }
1708 Py_INCREF(Py_None); resultobj = Py_None;
1709 return resultobj;
1710 fail:
1711 return NULL;
1712 }
1713
1714
1715 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) {
1716 PyObject *resultobj;
1717 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1718 int arg2 ;
1719 int arg3 ;
1720 PyObject * obj0 = 0 ;
1721 PyObject * obj1 = 0 ;
1722 PyObject * obj2 = 0 ;
1723 char *kwnames[] = {
1724 (char *) "self",(char *) "x",(char *) "y", NULL
1725 };
1726
1727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1730 arg2 = (int) SWIG_AsInt(obj1);
1731 if (PyErr_Occurred()) SWIG_fail;
1732 arg3 = (int) SWIG_AsInt(obj2);
1733 if (PyErr_Occurred()) SWIG_fail;
1734 {
1735 PyThreadState* __tstate = wxPyBeginAllowThreads();
1736 (arg1)->Scroll(arg2,arg3);
1737
1738 wxPyEndAllowThreads(__tstate);
1739 if (PyErr_Occurred()) SWIG_fail;
1740 }
1741 Py_INCREF(Py_None); resultobj = Py_None;
1742 return resultobj;
1743 fail:
1744 return NULL;
1745 }
1746
1747
1748 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
1749 PyObject *resultobj;
1750 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1751 int arg2 ;
1752 int result;
1753 PyObject * obj0 = 0 ;
1754 PyObject * obj1 = 0 ;
1755 char *kwnames[] = {
1756 (char *) "self",(char *) "orient", NULL
1757 };
1758
1759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1762 arg2 = (int) SWIG_AsInt(obj1);
1763 if (PyErr_Occurred()) SWIG_fail;
1764 {
1765 PyThreadState* __tstate = wxPyBeginAllowThreads();
1766 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1767
1768 wxPyEndAllowThreads(__tstate);
1769 if (PyErr_Occurred()) SWIG_fail;
1770 }
1771 resultobj = SWIG_FromInt((int)result);
1772 return resultobj;
1773 fail:
1774 return NULL;
1775 }
1776
1777
1778 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
1779 PyObject *resultobj;
1780 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1781 int arg2 ;
1782 int arg3 ;
1783 PyObject * obj0 = 0 ;
1784 PyObject * obj1 = 0 ;
1785 PyObject * obj2 = 0 ;
1786 char *kwnames[] = {
1787 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1788 };
1789
1790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
1791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1793 arg2 = (int) SWIG_AsInt(obj1);
1794 if (PyErr_Occurred()) SWIG_fail;
1795 arg3 = (int) SWIG_AsInt(obj2);
1796 if (PyErr_Occurred()) SWIG_fail;
1797 {
1798 PyThreadState* __tstate = wxPyBeginAllowThreads();
1799 (arg1)->SetScrollPageSize(arg2,arg3);
1800
1801 wxPyEndAllowThreads(__tstate);
1802 if (PyErr_Occurred()) SWIG_fail;
1803 }
1804 Py_INCREF(Py_None); resultobj = Py_None;
1805 return resultobj;
1806 fail:
1807 return NULL;
1808 }
1809
1810
1811 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) {
1812 PyObject *resultobj;
1813 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1814 int arg2 ;
1815 int arg3 ;
1816 PyObject * obj0 = 0 ;
1817 PyObject * obj1 = 0 ;
1818 PyObject * obj2 = 0 ;
1819 char *kwnames[] = {
1820 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1821 };
1822
1823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
1824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1826 arg2 = (int) SWIG_AsInt(obj1);
1827 if (PyErr_Occurred()) SWIG_fail;
1828 arg3 = (int) SWIG_AsInt(obj2);
1829 if (PyErr_Occurred()) SWIG_fail;
1830 {
1831 PyThreadState* __tstate = wxPyBeginAllowThreads();
1832 (arg1)->SetScrollRate(arg2,arg3);
1833
1834 wxPyEndAllowThreads(__tstate);
1835 if (PyErr_Occurred()) SWIG_fail;
1836 }
1837 Py_INCREF(Py_None); resultobj = Py_None;
1838 return resultobj;
1839 fail:
1840 return NULL;
1841 }
1842
1843
1844 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) {
1845 PyObject *resultobj;
1846 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1847 int *arg2 = (int *) 0 ;
1848 int *arg3 = (int *) 0 ;
1849 int temp2 ;
1850 int temp3 ;
1851 PyObject * obj0 = 0 ;
1852 char *kwnames[] = {
1853 (char *) "self", NULL
1854 };
1855
1856 arg2 = &temp2;
1857 arg3 = &temp3;
1858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1861 {
1862 PyThreadState* __tstate = wxPyBeginAllowThreads();
1863 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1864
1865 wxPyEndAllowThreads(__tstate);
1866 if (PyErr_Occurred()) SWIG_fail;
1867 }
1868 Py_INCREF(Py_None); resultobj = Py_None;
1869 {
1870 PyObject *o = PyInt_FromLong((long) (*arg2));
1871 resultobj = t_output_helper(resultobj,o);
1872 }
1873 {
1874 PyObject *o = PyInt_FromLong((long) (*arg3));
1875 resultobj = t_output_helper(resultobj,o);
1876 }
1877 return resultobj;
1878 fail:
1879 return NULL;
1880 }
1881
1882
1883 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
1884 PyObject *resultobj;
1885 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1886 bool arg2 ;
1887 bool arg3 ;
1888 PyObject * obj0 = 0 ;
1889 PyObject * obj1 = 0 ;
1890 PyObject * obj2 = 0 ;
1891 char *kwnames[] = {
1892 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1893 };
1894
1895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1898 arg2 = (bool) SWIG_AsBool(obj1);
1899 if (PyErr_Occurred()) SWIG_fail;
1900 arg3 = (bool) SWIG_AsBool(obj2);
1901 if (PyErr_Occurred()) SWIG_fail;
1902 {
1903 PyThreadState* __tstate = wxPyBeginAllowThreads();
1904 (arg1)->EnableScrolling(arg2,arg3);
1905
1906 wxPyEndAllowThreads(__tstate);
1907 if (PyErr_Occurred()) SWIG_fail;
1908 }
1909 Py_INCREF(Py_None); resultobj = Py_None;
1910 return resultobj;
1911 fail:
1912 return NULL;
1913 }
1914
1915
1916 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) {
1917 PyObject *resultobj;
1918 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1919 int *arg2 = (int *) 0 ;
1920 int *arg3 = (int *) 0 ;
1921 int temp2 ;
1922 int temp3 ;
1923 PyObject * obj0 = 0 ;
1924 char *kwnames[] = {
1925 (char *) "self", NULL
1926 };
1927
1928 arg2 = &temp2;
1929 arg3 = &temp3;
1930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1933 {
1934 PyThreadState* __tstate = wxPyBeginAllowThreads();
1935 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1936
1937 wxPyEndAllowThreads(__tstate);
1938 if (PyErr_Occurred()) SWIG_fail;
1939 }
1940 Py_INCREF(Py_None); resultobj = Py_None;
1941 {
1942 PyObject *o = PyInt_FromLong((long) (*arg2));
1943 resultobj = t_output_helper(resultobj,o);
1944 }
1945 {
1946 PyObject *o = PyInt_FromLong((long) (*arg3));
1947 resultobj = t_output_helper(resultobj,o);
1948 }
1949 return resultobj;
1950 fail:
1951 return NULL;
1952 }
1953
1954
1955 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
1956 PyObject *resultobj;
1957 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1958 double arg2 ;
1959 double arg3 ;
1960 PyObject * obj0 = 0 ;
1961 PyObject * obj1 = 0 ;
1962 PyObject * obj2 = 0 ;
1963 char *kwnames[] = {
1964 (char *) "self",(char *) "xs",(char *) "ys", NULL
1965 };
1966
1967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
1968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1970 arg2 = (double) SWIG_AsDouble(obj1);
1971 if (PyErr_Occurred()) SWIG_fail;
1972 arg3 = (double) SWIG_AsDouble(obj2);
1973 if (PyErr_Occurred()) SWIG_fail;
1974 {
1975 PyThreadState* __tstate = wxPyBeginAllowThreads();
1976 (arg1)->SetScale(arg2,arg3);
1977
1978 wxPyEndAllowThreads(__tstate);
1979 if (PyErr_Occurred()) SWIG_fail;
1980 }
1981 Py_INCREF(Py_None); resultobj = Py_None;
1982 return resultobj;
1983 fail:
1984 return NULL;
1985 }
1986
1987
1988 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
1989 PyObject *resultobj;
1990 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1991 double result;
1992 PyObject * obj0 = 0 ;
1993 char *kwnames[] = {
1994 (char *) "self", NULL
1995 };
1996
1997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
1998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2000 {
2001 PyThreadState* __tstate = wxPyBeginAllowThreads();
2002 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
2003
2004 wxPyEndAllowThreads(__tstate);
2005 if (PyErr_Occurred()) SWIG_fail;
2006 }
2007 resultobj = SWIG_FromDouble((double)result);
2008 return resultobj;
2009 fail:
2010 return NULL;
2011 }
2012
2013
2014 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
2015 PyObject *resultobj;
2016 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2017 double result;
2018 PyObject * obj0 = 0 ;
2019 char *kwnames[] = {
2020 (char *) "self", NULL
2021 };
2022
2023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
2024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2026 {
2027 PyThreadState* __tstate = wxPyBeginAllowThreads();
2028 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
2029
2030 wxPyEndAllowThreads(__tstate);
2031 if (PyErr_Occurred()) SWIG_fail;
2032 }
2033 resultobj = SWIG_FromDouble((double)result);
2034 return resultobj;
2035 fail:
2036 return NULL;
2037 }
2038
2039
2040 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
2041 PyObject *resultobj;
2042 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2043 wxPoint *arg2 = 0 ;
2044 wxPoint result;
2045 wxPoint temp2 ;
2046 PyObject * obj0 = 0 ;
2047 PyObject * obj1 = 0 ;
2048
2049 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
2050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2052 {
2053 arg2 = &temp2;
2054 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2055 }
2056 {
2057 PyThreadState* __tstate = wxPyBeginAllowThreads();
2058 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
2059
2060 wxPyEndAllowThreads(__tstate);
2061 if (PyErr_Occurred()) SWIG_fail;
2062 }
2063 {
2064 wxPoint * resultptr;
2065 resultptr = new wxPoint((wxPoint &) result);
2066 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2067 }
2068 return resultobj;
2069 fail:
2070 return NULL;
2071 }
2072
2073
2074 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
2075 PyObject *resultobj;
2076 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2077 int arg2 ;
2078 int arg3 ;
2079 int *arg4 = (int *) 0 ;
2080 int *arg5 = (int *) 0 ;
2081 int temp4 ;
2082 int temp5 ;
2083 PyObject * obj0 = 0 ;
2084 PyObject * obj1 = 0 ;
2085 PyObject * obj2 = 0 ;
2086
2087 arg4 = &temp4;
2088 arg5 = &temp5;
2089 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2092 arg2 = (int) SWIG_AsInt(obj1);
2093 if (PyErr_Occurred()) SWIG_fail;
2094 arg3 = (int) SWIG_AsInt(obj2);
2095 if (PyErr_Occurred()) SWIG_fail;
2096 {
2097 PyThreadState* __tstate = wxPyBeginAllowThreads();
2098 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
2099
2100 wxPyEndAllowThreads(__tstate);
2101 if (PyErr_Occurred()) SWIG_fail;
2102 }
2103 Py_INCREF(Py_None); resultobj = Py_None;
2104 {
2105 PyObject *o = PyInt_FromLong((long) (*arg4));
2106 resultobj = t_output_helper(resultobj,o);
2107 }
2108 {
2109 PyObject *o = PyInt_FromLong((long) (*arg5));
2110 resultobj = t_output_helper(resultobj,o);
2111 }
2112 return resultobj;
2113 fail:
2114 return NULL;
2115 }
2116
2117
2118 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2119 int argc;
2120 PyObject *argv[4];
2121 int ii;
2122
2123 argc = PyObject_Length(args);
2124 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2125 argv[ii] = PyTuple_GetItem(args,ii);
2126 }
2127 if (argc == 2) {
2128 int _v;
2129 {
2130 void *ptr;
2131 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2132 _v = 0;
2133 PyErr_Clear();
2134 } else {
2135 _v = 1;
2136 }
2137 }
2138 if (_v) {
2139 {
2140 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2141 }
2142 if (_v) {
2143 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
2144 }
2145 }
2146 }
2147 if (argc == 3) {
2148 int _v;
2149 {
2150 void *ptr;
2151 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2152 _v = 0;
2153 PyErr_Clear();
2154 } else {
2155 _v = 1;
2156 }
2157 }
2158 if (_v) {
2159 _v = SWIG_CheckInt(argv[1]);
2160 if (_v) {
2161 _v = SWIG_CheckInt(argv[2]);
2162 if (_v) {
2163 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2164 }
2165 }
2166 }
2167 }
2168
2169 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2170 return NULL;
2171 }
2172
2173
2174 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
2175 PyObject *resultobj;
2176 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2177 wxPoint *arg2 = 0 ;
2178 wxPoint result;
2179 wxPoint temp2 ;
2180 PyObject * obj0 = 0 ;
2181 PyObject * obj1 = 0 ;
2182
2183 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2186 {
2187 arg2 = &temp2;
2188 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2189 }
2190 {
2191 PyThreadState* __tstate = wxPyBeginAllowThreads();
2192 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2193
2194 wxPyEndAllowThreads(__tstate);
2195 if (PyErr_Occurred()) SWIG_fail;
2196 }
2197 {
2198 wxPoint * resultptr;
2199 resultptr = new wxPoint((wxPoint &) result);
2200 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2201 }
2202 return resultobj;
2203 fail:
2204 return NULL;
2205 }
2206
2207
2208 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
2209 PyObject *resultobj;
2210 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2211 int arg2 ;
2212 int arg3 ;
2213 int *arg4 = (int *) 0 ;
2214 int *arg5 = (int *) 0 ;
2215 int temp4 ;
2216 int temp5 ;
2217 PyObject * obj0 = 0 ;
2218 PyObject * obj1 = 0 ;
2219 PyObject * obj2 = 0 ;
2220
2221 arg4 = &temp4;
2222 arg5 = &temp5;
2223 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2226 arg2 = (int) SWIG_AsInt(obj1);
2227 if (PyErr_Occurred()) SWIG_fail;
2228 arg3 = (int) SWIG_AsInt(obj2);
2229 if (PyErr_Occurred()) SWIG_fail;
2230 {
2231 PyThreadState* __tstate = wxPyBeginAllowThreads();
2232 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2233
2234 wxPyEndAllowThreads(__tstate);
2235 if (PyErr_Occurred()) SWIG_fail;
2236 }
2237 Py_INCREF(Py_None); resultobj = Py_None;
2238 {
2239 PyObject *o = PyInt_FromLong((long) (*arg4));
2240 resultobj = t_output_helper(resultobj,o);
2241 }
2242 {
2243 PyObject *o = PyInt_FromLong((long) (*arg5));
2244 resultobj = t_output_helper(resultobj,o);
2245 }
2246 return resultobj;
2247 fail:
2248 return NULL;
2249 }
2250
2251
2252 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2253 int argc;
2254 PyObject *argv[4];
2255 int ii;
2256
2257 argc = PyObject_Length(args);
2258 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2259 argv[ii] = PyTuple_GetItem(args,ii);
2260 }
2261 if (argc == 2) {
2262 int _v;
2263 {
2264 void *ptr;
2265 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2266 _v = 0;
2267 PyErr_Clear();
2268 } else {
2269 _v = 1;
2270 }
2271 }
2272 if (_v) {
2273 {
2274 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2275 }
2276 if (_v) {
2277 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2278 }
2279 }
2280 }
2281 if (argc == 3) {
2282 int _v;
2283 {
2284 void *ptr;
2285 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2286 _v = 0;
2287 PyErr_Clear();
2288 } else {
2289 _v = 1;
2290 }
2291 }
2292 if (_v) {
2293 _v = SWIG_CheckInt(argv[1]);
2294 if (_v) {
2295 _v = SWIG_CheckInt(argv[2]);
2296 if (_v) {
2297 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2298 }
2299 }
2300 }
2301 }
2302
2303 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2304 return NULL;
2305 }
2306
2307
2308 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
2309 PyObject *resultobj;
2310 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2311 PyObject * obj0 = 0 ;
2312 char *kwnames[] = {
2313 (char *) "self", NULL
2314 };
2315
2316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2319 {
2320 PyThreadState* __tstate = wxPyBeginAllowThreads();
2321 (arg1)->AdjustScrollbars();
2322
2323 wxPyEndAllowThreads(__tstate);
2324 if (PyErr_Occurred()) SWIG_fail;
2325 }
2326 Py_INCREF(Py_None); resultobj = Py_None;
2327 return resultobj;
2328 fail:
2329 return NULL;
2330 }
2331
2332
2333 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) {
2334 PyObject *resultobj;
2335 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2336 wxScrollWinEvent *arg2 = 0 ;
2337 int result;
2338 PyObject * obj0 = 0 ;
2339 PyObject * obj1 = 0 ;
2340 char *kwnames[] = {
2341 (char *) "self",(char *) "event", NULL
2342 };
2343
2344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2347 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2348 SWIG_POINTER_EXCEPTION | 0)) == -1)
2349 SWIG_fail;
2350 if (arg2 == NULL) {
2351 PyErr_SetString(PyExc_TypeError,"null reference");
2352 SWIG_fail;
2353 }
2354 {
2355 PyThreadState* __tstate = wxPyBeginAllowThreads();
2356 result = (int)(arg1)->CalcScrollInc(*arg2);
2357
2358 wxPyEndAllowThreads(__tstate);
2359 if (PyErr_Occurred()) SWIG_fail;
2360 }
2361 resultobj = SWIG_FromInt((int)result);
2362 return resultobj;
2363 fail:
2364 return NULL;
2365 }
2366
2367
2368 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2369 PyObject *resultobj;
2370 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2371 wxWindow *arg2 = (wxWindow *) 0 ;
2372 PyObject * obj0 = 0 ;
2373 PyObject * obj1 = 0 ;
2374 char *kwnames[] = {
2375 (char *) "self",(char *) "target", NULL
2376 };
2377
2378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2381 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2383 {
2384 PyThreadState* __tstate = wxPyBeginAllowThreads();
2385 (arg1)->SetTargetWindow(arg2);
2386
2387 wxPyEndAllowThreads(__tstate);
2388 if (PyErr_Occurred()) SWIG_fail;
2389 }
2390 Py_INCREF(Py_None); resultobj = Py_None;
2391 return resultobj;
2392 fail:
2393 return NULL;
2394 }
2395
2396
2397 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2398 PyObject *resultobj;
2399 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2400 wxWindow *result;
2401 PyObject * obj0 = 0 ;
2402 char *kwnames[] = {
2403 (char *) "self", NULL
2404 };
2405
2406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2409 {
2410 PyThreadState* __tstate = wxPyBeginAllowThreads();
2411 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2412
2413 wxPyEndAllowThreads(__tstate);
2414 if (PyErr_Occurred()) SWIG_fail;
2415 }
2416 {
2417 resultobj = wxPyMake_wxObject(result);
2418 }
2419 return resultobj;
2420 fail:
2421 return NULL;
2422 }
2423
2424
2425 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
2426 PyObject *resultobj;
2427 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2428 wxRect *arg2 = 0 ;
2429 wxRect temp2 ;
2430 PyObject * obj0 = 0 ;
2431 PyObject * obj1 = 0 ;
2432 char *kwnames[] = {
2433 (char *) "self",(char *) "rect", NULL
2434 };
2435
2436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2439 {
2440 arg2 = &temp2;
2441 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2442 }
2443 {
2444 PyThreadState* __tstate = wxPyBeginAllowThreads();
2445 (arg1)->SetTargetRect((wxRect const &)*arg2);
2446
2447 wxPyEndAllowThreads(__tstate);
2448 if (PyErr_Occurred()) SWIG_fail;
2449 }
2450 Py_INCREF(Py_None); resultobj = Py_None;
2451 return resultobj;
2452 fail:
2453 return NULL;
2454 }
2455
2456
2457 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
2458 PyObject *resultobj;
2459 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2460 wxRect result;
2461 PyObject * obj0 = 0 ;
2462 char *kwnames[] = {
2463 (char *) "self", NULL
2464 };
2465
2466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2469 {
2470 PyThreadState* __tstate = wxPyBeginAllowThreads();
2471 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2472
2473 wxPyEndAllowThreads(__tstate);
2474 if (PyErr_Occurred()) SWIG_fail;
2475 }
2476 {
2477 wxRect * resultptr;
2478 resultptr = new wxRect((wxRect &) result);
2479 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
2480 }
2481 return resultobj;
2482 fail:
2483 return NULL;
2484 }
2485
2486
2487 static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
2488 PyObject *obj;
2489 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2490 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2491 Py_INCREF(obj);
2492 return Py_BuildValue((char *)"");
2493 }
2494 static int _wrap_FrameNameStr_set(PyObject *) {
2495 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2496 return 1;
2497 }
2498
2499
2500 static PyObject *_wrap_FrameNameStr_get() {
2501 PyObject *pyobj;
2502
2503 {
2504 #if wxUSE_UNICODE
2505 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2506 #else
2507 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2508 #endif
2509 }
2510 return pyobj;
2511 }
2512
2513
2514 static int _wrap_DialogNameStr_set(PyObject *) {
2515 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2516 return 1;
2517 }
2518
2519
2520 static PyObject *_wrap_DialogNameStr_get() {
2521 PyObject *pyobj;
2522
2523 {
2524 #if wxUSE_UNICODE
2525 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2526 #else
2527 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2528 #endif
2529 }
2530 return pyobj;
2531 }
2532
2533
2534 static int _wrap_StatusLineNameStr_set(PyObject *) {
2535 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2536 return 1;
2537 }
2538
2539
2540 static PyObject *_wrap_StatusLineNameStr_get() {
2541 PyObject *pyobj;
2542
2543 {
2544 #if wxUSE_UNICODE
2545 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2546 #else
2547 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2548 #endif
2549 }
2550 return pyobj;
2551 }
2552
2553
2554 static int _wrap_ToolBarNameStr_set(PyObject *) {
2555 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2556 return 1;
2557 }
2558
2559
2560 static PyObject *_wrap_ToolBarNameStr_get() {
2561 PyObject *pyobj;
2562
2563 {
2564 #if wxUSE_UNICODE
2565 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2566 #else
2567 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2568 #endif
2569 }
2570 return pyobj;
2571 }
2572
2573
2574 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
2575 PyObject *resultobj;
2576 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2577 bool arg2 = (bool) True ;
2578 PyObject * obj0 = 0 ;
2579 PyObject * obj1 = 0 ;
2580 char *kwnames[] = {
2581 (char *) "self",(char *) "maximize", NULL
2582 };
2583
2584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2587 if (obj1) {
2588 arg2 = (bool) SWIG_AsBool(obj1);
2589 if (PyErr_Occurred()) SWIG_fail;
2590 }
2591 {
2592 PyThreadState* __tstate = wxPyBeginAllowThreads();
2593 (arg1)->Maximize(arg2);
2594
2595 wxPyEndAllowThreads(__tstate);
2596 if (PyErr_Occurred()) SWIG_fail;
2597 }
2598 Py_INCREF(Py_None); resultobj = Py_None;
2599 return resultobj;
2600 fail:
2601 return NULL;
2602 }
2603
2604
2605 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
2606 PyObject *resultobj;
2607 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2608 PyObject * obj0 = 0 ;
2609 char *kwnames[] = {
2610 (char *) "self", NULL
2611 };
2612
2613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2616 {
2617 PyThreadState* __tstate = wxPyBeginAllowThreads();
2618 (arg1)->Restore();
2619
2620 wxPyEndAllowThreads(__tstate);
2621 if (PyErr_Occurred()) SWIG_fail;
2622 }
2623 Py_INCREF(Py_None); resultobj = Py_None;
2624 return resultobj;
2625 fail:
2626 return NULL;
2627 }
2628
2629
2630 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
2631 PyObject *resultobj;
2632 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2633 bool arg2 = (bool) True ;
2634 PyObject * obj0 = 0 ;
2635 PyObject * obj1 = 0 ;
2636 char *kwnames[] = {
2637 (char *) "self",(char *) "iconize", NULL
2638 };
2639
2640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2643 if (obj1) {
2644 arg2 = (bool) SWIG_AsBool(obj1);
2645 if (PyErr_Occurred()) SWIG_fail;
2646 }
2647 {
2648 PyThreadState* __tstate = wxPyBeginAllowThreads();
2649 (arg1)->Iconize(arg2);
2650
2651 wxPyEndAllowThreads(__tstate);
2652 if (PyErr_Occurred()) SWIG_fail;
2653 }
2654 Py_INCREF(Py_None); resultobj = Py_None;
2655 return resultobj;
2656 fail:
2657 return NULL;
2658 }
2659
2660
2661 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
2662 PyObject *resultobj;
2663 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2664 bool result;
2665 PyObject * obj0 = 0 ;
2666 char *kwnames[] = {
2667 (char *) "self", NULL
2668 };
2669
2670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2673 {
2674 PyThreadState* __tstate = wxPyBeginAllowThreads();
2675 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2676
2677 wxPyEndAllowThreads(__tstate);
2678 if (PyErr_Occurred()) SWIG_fail;
2679 }
2680 {
2681 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2682 }
2683 return resultobj;
2684 fail:
2685 return NULL;
2686 }
2687
2688
2689 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
2690 PyObject *resultobj;
2691 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2692 bool result;
2693 PyObject * obj0 = 0 ;
2694 char *kwnames[] = {
2695 (char *) "self", NULL
2696 };
2697
2698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2701 {
2702 PyThreadState* __tstate = wxPyBeginAllowThreads();
2703 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2704
2705 wxPyEndAllowThreads(__tstate);
2706 if (PyErr_Occurred()) SWIG_fail;
2707 }
2708 {
2709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2710 }
2711 return resultobj;
2712 fail:
2713 return NULL;
2714 }
2715
2716
2717 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
2718 PyObject *resultobj;
2719 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2720 wxIcon result;
2721 PyObject * obj0 = 0 ;
2722 char *kwnames[] = {
2723 (char *) "self", NULL
2724 };
2725
2726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2729 {
2730 PyThreadState* __tstate = wxPyBeginAllowThreads();
2731 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2732
2733 wxPyEndAllowThreads(__tstate);
2734 if (PyErr_Occurred()) SWIG_fail;
2735 }
2736 {
2737 wxIcon * resultptr;
2738 resultptr = new wxIcon((wxIcon &) result);
2739 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
2740 }
2741 return resultobj;
2742 fail:
2743 return NULL;
2744 }
2745
2746
2747 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
2748 PyObject *resultobj;
2749 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2750 wxIcon *arg2 = 0 ;
2751 PyObject * obj0 = 0 ;
2752 PyObject * obj1 = 0 ;
2753 char *kwnames[] = {
2754 (char *) "self",(char *) "icon", NULL
2755 };
2756
2757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2760 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
2761 SWIG_POINTER_EXCEPTION | 0)) == -1)
2762 SWIG_fail;
2763 if (arg2 == NULL) {
2764 PyErr_SetString(PyExc_TypeError,"null reference");
2765 SWIG_fail;
2766 }
2767 {
2768 PyThreadState* __tstate = wxPyBeginAllowThreads();
2769 (arg1)->SetIcon((wxIcon const &)*arg2);
2770
2771 wxPyEndAllowThreads(__tstate);
2772 if (PyErr_Occurred()) SWIG_fail;
2773 }
2774 Py_INCREF(Py_None); resultobj = Py_None;
2775 return resultobj;
2776 fail:
2777 return NULL;
2778 }
2779
2780
2781 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
2782 PyObject *resultobj;
2783 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2784 wxIconBundle *arg2 = 0 ;
2785 PyObject * obj0 = 0 ;
2786 PyObject * obj1 = 0 ;
2787 char *kwnames[] = {
2788 (char *) "self",(char *) "icons", NULL
2789 };
2790
2791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2794 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
2795 SWIG_POINTER_EXCEPTION | 0)) == -1)
2796 SWIG_fail;
2797 if (arg2 == NULL) {
2798 PyErr_SetString(PyExc_TypeError,"null reference");
2799 SWIG_fail;
2800 }
2801 {
2802 PyThreadState* __tstate = wxPyBeginAllowThreads();
2803 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2804
2805 wxPyEndAllowThreads(__tstate);
2806 if (PyErr_Occurred()) SWIG_fail;
2807 }
2808 Py_INCREF(Py_None); resultobj = Py_None;
2809 return resultobj;
2810 fail:
2811 return NULL;
2812 }
2813
2814
2815 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
2816 PyObject *resultobj;
2817 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2818 bool arg2 ;
2819 long arg3 = (long) wxFULLSCREEN_ALL ;
2820 bool result;
2821 PyObject * obj0 = 0 ;
2822 PyObject * obj1 = 0 ;
2823 PyObject * obj2 = 0 ;
2824 char *kwnames[] = {
2825 (char *) "self",(char *) "show",(char *) "style", NULL
2826 };
2827
2828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2831 arg2 = (bool) SWIG_AsBool(obj1);
2832 if (PyErr_Occurred()) SWIG_fail;
2833 if (obj2) {
2834 arg3 = (long) SWIG_AsLong(obj2);
2835 if (PyErr_Occurred()) SWIG_fail;
2836 }
2837 {
2838 PyThreadState* __tstate = wxPyBeginAllowThreads();
2839 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2840
2841 wxPyEndAllowThreads(__tstate);
2842 if (PyErr_Occurred()) SWIG_fail;
2843 }
2844 {
2845 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2846 }
2847 return resultobj;
2848 fail:
2849 return NULL;
2850 }
2851
2852
2853 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
2854 PyObject *resultobj;
2855 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2856 bool result;
2857 PyObject * obj0 = 0 ;
2858 char *kwnames[] = {
2859 (char *) "self", NULL
2860 };
2861
2862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2865 {
2866 PyThreadState* __tstate = wxPyBeginAllowThreads();
2867 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2868
2869 wxPyEndAllowThreads(__tstate);
2870 if (PyErr_Occurred()) SWIG_fail;
2871 }
2872 {
2873 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2874 }
2875 return resultobj;
2876 fail:
2877 return NULL;
2878 }
2879
2880
2881 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
2882 PyObject *resultobj;
2883 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2884 wxString *arg2 = 0 ;
2885 bool temp2 = False ;
2886 PyObject * obj0 = 0 ;
2887 PyObject * obj1 = 0 ;
2888 char *kwnames[] = {
2889 (char *) "self",(char *) "title", NULL
2890 };
2891
2892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2895 {
2896 arg2 = wxString_in_helper(obj1);
2897 if (arg2 == NULL) SWIG_fail;
2898 temp2 = True;
2899 }
2900 {
2901 PyThreadState* __tstate = wxPyBeginAllowThreads();
2902 (arg1)->SetTitle((wxString const &)*arg2);
2903
2904 wxPyEndAllowThreads(__tstate);
2905 if (PyErr_Occurred()) SWIG_fail;
2906 }
2907 Py_INCREF(Py_None); resultobj = Py_None;
2908 {
2909 if (temp2)
2910 delete arg2;
2911 }
2912 return resultobj;
2913 fail:
2914 {
2915 if (temp2)
2916 delete arg2;
2917 }
2918 return NULL;
2919 }
2920
2921
2922 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
2923 PyObject *resultobj;
2924 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2925 wxString result;
2926 PyObject * obj0 = 0 ;
2927 char *kwnames[] = {
2928 (char *) "self", NULL
2929 };
2930
2931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2934 {
2935 PyThreadState* __tstate = wxPyBeginAllowThreads();
2936 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2937
2938 wxPyEndAllowThreads(__tstate);
2939 if (PyErr_Occurred()) SWIG_fail;
2940 }
2941 {
2942 #if wxUSE_UNICODE
2943 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2944 #else
2945 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2946 #endif
2947 }
2948 return resultobj;
2949 fail:
2950 return NULL;
2951 }
2952
2953
2954 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
2955 PyObject *resultobj;
2956 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2957 wxRegion *arg2 = 0 ;
2958 bool result;
2959 PyObject * obj0 = 0 ;
2960 PyObject * obj1 = 0 ;
2961 char *kwnames[] = {
2962 (char *) "self",(char *) "region", NULL
2963 };
2964
2965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2968 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
2969 SWIG_POINTER_EXCEPTION | 0)) == -1)
2970 SWIG_fail;
2971 if (arg2 == NULL) {
2972 PyErr_SetString(PyExc_TypeError,"null reference");
2973 SWIG_fail;
2974 }
2975 {
2976 PyThreadState* __tstate = wxPyBeginAllowThreads();
2977 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2978
2979 wxPyEndAllowThreads(__tstate);
2980 if (PyErr_Occurred()) SWIG_fail;
2981 }
2982 {
2983 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2984 }
2985 return resultobj;
2986 fail:
2987 return NULL;
2988 }
2989
2990
2991 static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
2992 PyObject *obj;
2993 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2994 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
2995 Py_INCREF(obj);
2996 return Py_BuildValue((char *)"");
2997 }
2998 static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
2999 PyObject *resultobj;
3000 wxWindow *arg1 = (wxWindow *) 0 ;
3001 int arg2 ;
3002 wxString *arg3 = 0 ;
3003 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3004 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3005 wxSize const &arg5_defvalue = wxDefaultSize ;
3006 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3007 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3008 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3009 wxString *arg7 = (wxString *) &arg7_defvalue ;
3010 wxFrame *result;
3011 bool temp3 = False ;
3012 wxPoint temp4 ;
3013 wxSize temp5 ;
3014 bool temp7 = False ;
3015 PyObject * obj0 = 0 ;
3016 PyObject * obj1 = 0 ;
3017 PyObject * obj2 = 0 ;
3018 PyObject * obj3 = 0 ;
3019 PyObject * obj4 = 0 ;
3020 PyObject * obj5 = 0 ;
3021 PyObject * obj6 = 0 ;
3022 char *kwnames[] = {
3023 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3024 };
3025
3026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3029 arg2 = (int const) SWIG_AsInt(obj1);
3030 if (PyErr_Occurred()) SWIG_fail;
3031 {
3032 arg3 = wxString_in_helper(obj2);
3033 if (arg3 == NULL) SWIG_fail;
3034 temp3 = True;
3035 }
3036 if (obj3) {
3037 {
3038 arg4 = &temp4;
3039 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3040 }
3041 }
3042 if (obj4) {
3043 {
3044 arg5 = &temp5;
3045 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3046 }
3047 }
3048 if (obj5) {
3049 arg6 = (long) SWIG_AsLong(obj5);
3050 if (PyErr_Occurred()) SWIG_fail;
3051 }
3052 if (obj6) {
3053 {
3054 arg7 = wxString_in_helper(obj6);
3055 if (arg7 == NULL) SWIG_fail;
3056 temp7 = True;
3057 }
3058 }
3059 {
3060 PyThreadState* __tstate = wxPyBeginAllowThreads();
3061 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3062
3063 wxPyEndAllowThreads(__tstate);
3064 if (PyErr_Occurred()) SWIG_fail;
3065 }
3066 {
3067 resultobj = wxPyMake_wxObject(result);
3068 }
3069 {
3070 if (temp3)
3071 delete arg3;
3072 }
3073 {
3074 if (temp7)
3075 delete arg7;
3076 }
3077 return resultobj;
3078 fail:
3079 {
3080 if (temp3)
3081 delete arg3;
3082 }
3083 {
3084 if (temp7)
3085 delete arg7;
3086 }
3087 return NULL;
3088 }
3089
3090
3091 static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
3092 PyObject *resultobj;
3093 wxFrame *result;
3094 char *kwnames[] = {
3095 NULL
3096 };
3097
3098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3099 {
3100 PyThreadState* __tstate = wxPyBeginAllowThreads();
3101 result = (wxFrame *)new wxFrame();
3102
3103 wxPyEndAllowThreads(__tstate);
3104 if (PyErr_Occurred()) SWIG_fail;
3105 }
3106 {
3107 resultobj = wxPyMake_wxObject(result);
3108 }
3109 return resultobj;
3110 fail:
3111 return NULL;
3112 }
3113
3114
3115 static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3116 PyObject *resultobj;
3117 wxFrame *arg1 = (wxFrame *) 0 ;
3118 wxWindow *arg2 = (wxWindow *) 0 ;
3119 int arg3 ;
3120 wxString *arg4 = 0 ;
3121 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3122 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3123 wxSize const &arg6_defvalue = wxDefaultSize ;
3124 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3125 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3126 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3127 wxString *arg8 = (wxString *) &arg8_defvalue ;
3128 bool result;
3129 bool temp4 = False ;
3130 wxPoint temp5 ;
3131 wxSize temp6 ;
3132 bool temp8 = False ;
3133 PyObject * obj0 = 0 ;
3134 PyObject * obj1 = 0 ;
3135 PyObject * obj2 = 0 ;
3136 PyObject * obj3 = 0 ;
3137 PyObject * obj4 = 0 ;
3138 PyObject * obj5 = 0 ;
3139 PyObject * obj6 = 0 ;
3140 PyObject * obj7 = 0 ;
3141 char *kwnames[] = {
3142 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3143 };
3144
3145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3148 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3150 arg3 = (int const) SWIG_AsInt(obj2);
3151 if (PyErr_Occurred()) SWIG_fail;
3152 {
3153 arg4 = wxString_in_helper(obj3);
3154 if (arg4 == NULL) SWIG_fail;
3155 temp4 = True;
3156 }
3157 if (obj4) {
3158 {
3159 arg5 = &temp5;
3160 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3161 }
3162 }
3163 if (obj5) {
3164 {
3165 arg6 = &temp6;
3166 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3167 }
3168 }
3169 if (obj6) {
3170 arg7 = (long) SWIG_AsLong(obj6);
3171 if (PyErr_Occurred()) SWIG_fail;
3172 }
3173 if (obj7) {
3174 {
3175 arg8 = wxString_in_helper(obj7);
3176 if (arg8 == NULL) SWIG_fail;
3177 temp8 = True;
3178 }
3179 }
3180 {
3181 PyThreadState* __tstate = wxPyBeginAllowThreads();
3182 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3183
3184 wxPyEndAllowThreads(__tstate);
3185 if (PyErr_Occurred()) SWIG_fail;
3186 }
3187 {
3188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3189 }
3190 {
3191 if (temp4)
3192 delete arg4;
3193 }
3194 {
3195 if (temp8)
3196 delete arg8;
3197 }
3198 return resultobj;
3199 fail:
3200 {
3201 if (temp4)
3202 delete arg4;
3203 }
3204 {
3205 if (temp8)
3206 delete arg8;
3207 }
3208 return NULL;
3209 }
3210
3211
3212 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
3213 PyObject *resultobj;
3214 wxFrame *arg1 = (wxFrame *) 0 ;
3215 wxPoint result;
3216 PyObject * obj0 = 0 ;
3217 char *kwnames[] = {
3218 (char *) "self", NULL
3219 };
3220
3221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3224 {
3225 PyThreadState* __tstate = wxPyBeginAllowThreads();
3226 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3227
3228 wxPyEndAllowThreads(__tstate);
3229 if (PyErr_Occurred()) SWIG_fail;
3230 }
3231 {
3232 wxPoint * resultptr;
3233 resultptr = new wxPoint((wxPoint &) result);
3234 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3235 }
3236 return resultobj;
3237 fail:
3238 return NULL;
3239 }
3240
3241
3242 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
3243 PyObject *resultobj;
3244 wxFrame *arg1 = (wxFrame *) 0 ;
3245 PyObject * obj0 = 0 ;
3246 char *kwnames[] = {
3247 (char *) "self", NULL
3248 };
3249
3250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3253 {
3254 PyThreadState* __tstate = wxPyBeginAllowThreads();
3255 (arg1)->SendSizeEvent();
3256
3257 wxPyEndAllowThreads(__tstate);
3258 if (PyErr_Occurred()) SWIG_fail;
3259 }
3260 Py_INCREF(Py_None); resultobj = Py_None;
3261 return resultobj;
3262 fail:
3263 return NULL;
3264 }
3265
3266
3267 static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
3268 PyObject *resultobj;
3269 wxFrame *arg1 = (wxFrame *) 0 ;
3270 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3271 PyObject * obj0 = 0 ;
3272 PyObject * obj1 = 0 ;
3273 char *kwnames[] = {
3274 (char *) "self",(char *) "menubar", NULL
3275 };
3276
3277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3280 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3282 {
3283 PyThreadState* __tstate = wxPyBeginAllowThreads();
3284 (arg1)->SetMenuBar(arg2);
3285
3286 wxPyEndAllowThreads(__tstate);
3287 if (PyErr_Occurred()) SWIG_fail;
3288 }
3289 Py_INCREF(Py_None); resultobj = Py_None;
3290 return resultobj;
3291 fail:
3292 return NULL;
3293 }
3294
3295
3296 static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
3297 PyObject *resultobj;
3298 wxFrame *arg1 = (wxFrame *) 0 ;
3299 wxMenuBar *result;
3300 PyObject * obj0 = 0 ;
3301 char *kwnames[] = {
3302 (char *) "self", NULL
3303 };
3304
3305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3308 {
3309 PyThreadState* __tstate = wxPyBeginAllowThreads();
3310 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3311
3312 wxPyEndAllowThreads(__tstate);
3313 if (PyErr_Occurred()) SWIG_fail;
3314 }
3315 {
3316 resultobj = wxPyMake_wxObject(result);
3317 }
3318 return resultobj;
3319 fail:
3320 return NULL;
3321 }
3322
3323
3324 static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
3325 PyObject *resultobj;
3326 wxFrame *arg1 = (wxFrame *) 0 ;
3327 int arg2 ;
3328 bool result;
3329 PyObject * obj0 = 0 ;
3330 PyObject * obj1 = 0 ;
3331 char *kwnames[] = {
3332 (char *) "self",(char *) "winid", NULL
3333 };
3334
3335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3338 arg2 = (int) SWIG_AsInt(obj1);
3339 if (PyErr_Occurred()) SWIG_fail;
3340 {
3341 PyThreadState* __tstate = wxPyBeginAllowThreads();
3342 result = (bool)(arg1)->ProcessCommand(arg2);
3343
3344 wxPyEndAllowThreads(__tstate);
3345 if (PyErr_Occurred()) SWIG_fail;
3346 }
3347 {
3348 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3349 }
3350 return resultobj;
3351 fail:
3352 return NULL;
3353 }
3354
3355
3356 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3357 PyObject *resultobj;
3358 wxFrame *arg1 = (wxFrame *) 0 ;
3359 int arg2 = (int) 1 ;
3360 long arg3 = (long) wxST_SIZEGRIP ;
3361 int arg4 = (int) 0 ;
3362 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3363 wxString *arg5 = (wxString *) &arg5_defvalue ;
3364 wxStatusBar *result;
3365 bool temp5 = False ;
3366 PyObject * obj0 = 0 ;
3367 PyObject * obj1 = 0 ;
3368 PyObject * obj2 = 0 ;
3369 PyObject * obj3 = 0 ;
3370 PyObject * obj4 = 0 ;
3371 char *kwnames[] = {
3372 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3373 };
3374
3375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3378 if (obj1) {
3379 arg2 = (int) SWIG_AsInt(obj1);
3380 if (PyErr_Occurred()) SWIG_fail;
3381 }
3382 if (obj2) {
3383 arg3 = (long) SWIG_AsLong(obj2);
3384 if (PyErr_Occurred()) SWIG_fail;
3385 }
3386 if (obj3) {
3387 arg4 = (int) SWIG_AsInt(obj3);
3388 if (PyErr_Occurred()) SWIG_fail;
3389 }
3390 if (obj4) {
3391 {
3392 arg5 = wxString_in_helper(obj4);
3393 if (arg5 == NULL) SWIG_fail;
3394 temp5 = True;
3395 }
3396 }
3397 {
3398 PyThreadState* __tstate = wxPyBeginAllowThreads();
3399 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3400
3401 wxPyEndAllowThreads(__tstate);
3402 if (PyErr_Occurred()) SWIG_fail;
3403 }
3404 {
3405 resultobj = wxPyMake_wxObject(result);
3406 }
3407 {
3408 if (temp5)
3409 delete arg5;
3410 }
3411 return resultobj;
3412 fail:
3413 {
3414 if (temp5)
3415 delete arg5;
3416 }
3417 return NULL;
3418 }
3419
3420
3421 static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3422 PyObject *resultobj;
3423 wxFrame *arg1 = (wxFrame *) 0 ;
3424 wxStatusBar *result;
3425 PyObject * obj0 = 0 ;
3426 char *kwnames[] = {
3427 (char *) "self", NULL
3428 };
3429
3430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3433 {
3434 PyThreadState* __tstate = wxPyBeginAllowThreads();
3435 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3436
3437 wxPyEndAllowThreads(__tstate);
3438 if (PyErr_Occurred()) SWIG_fail;
3439 }
3440 {
3441 resultobj = wxPyMake_wxObject(result);
3442 }
3443 return resultobj;
3444 fail:
3445 return NULL;
3446 }
3447
3448
3449 static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3450 PyObject *resultobj;
3451 wxFrame *arg1 = (wxFrame *) 0 ;
3452 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3453 PyObject * obj0 = 0 ;
3454 PyObject * obj1 = 0 ;
3455 char *kwnames[] = {
3456 (char *) "self",(char *) "statBar", NULL
3457 };
3458
3459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3462 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3464 {
3465 PyThreadState* __tstate = wxPyBeginAllowThreads();
3466 (arg1)->SetStatusBar(arg2);
3467
3468 wxPyEndAllowThreads(__tstate);
3469 if (PyErr_Occurred()) SWIG_fail;
3470 }
3471 Py_INCREF(Py_None); resultobj = Py_None;
3472 return resultobj;
3473 fail:
3474 return NULL;
3475 }
3476
3477
3478 static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3479 PyObject *resultobj;
3480 wxFrame *arg1 = (wxFrame *) 0 ;
3481 wxString *arg2 = 0 ;
3482 int arg3 = (int) 0 ;
3483 bool temp2 = False ;
3484 PyObject * obj0 = 0 ;
3485 PyObject * obj1 = 0 ;
3486 PyObject * obj2 = 0 ;
3487 char *kwnames[] = {
3488 (char *) "self",(char *) "text",(char *) "number", NULL
3489 };
3490
3491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3494 {
3495 arg2 = wxString_in_helper(obj1);
3496 if (arg2 == NULL) SWIG_fail;
3497 temp2 = True;
3498 }
3499 if (obj2) {
3500 arg3 = (int) SWIG_AsInt(obj2);
3501 if (PyErr_Occurred()) SWIG_fail;
3502 }
3503 {
3504 PyThreadState* __tstate = wxPyBeginAllowThreads();
3505 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3506
3507 wxPyEndAllowThreads(__tstate);
3508 if (PyErr_Occurred()) SWIG_fail;
3509 }
3510 Py_INCREF(Py_None); resultobj = Py_None;
3511 {
3512 if (temp2)
3513 delete arg2;
3514 }
3515 return resultobj;
3516 fail:
3517 {
3518 if (temp2)
3519 delete arg2;
3520 }
3521 return NULL;
3522 }
3523
3524
3525 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
3526 PyObject *resultobj;
3527 wxFrame *arg1 = (wxFrame *) 0 ;
3528 int arg2 ;
3529 int *arg3 = (int *) 0 ;
3530 PyObject * obj0 = 0 ;
3531 PyObject * obj1 = 0 ;
3532 char *kwnames[] = {
3533 (char *) "self",(char *) "widths", NULL
3534 };
3535
3536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3539 {
3540 arg2 = PyList_Size(obj1);
3541 arg3 = int_LIST_helper(obj1);
3542 if (arg3 == NULL) SWIG_fail;
3543 }
3544 {
3545 PyThreadState* __tstate = wxPyBeginAllowThreads();
3546 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3547
3548 wxPyEndAllowThreads(__tstate);
3549 if (PyErr_Occurred()) SWIG_fail;
3550 }
3551 Py_INCREF(Py_None); resultobj = Py_None;
3552 {
3553 if (arg3) delete [] arg3;
3554 }
3555 return resultobj;
3556 fail:
3557 {
3558 if (arg3) delete [] arg3;
3559 }
3560 return NULL;
3561 }
3562
3563
3564 static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3565 PyObject *resultobj;
3566 wxFrame *arg1 = (wxFrame *) 0 ;
3567 wxString *arg2 = 0 ;
3568 int arg3 = (int) 0 ;
3569 bool temp2 = False ;
3570 PyObject * obj0 = 0 ;
3571 PyObject * obj1 = 0 ;
3572 PyObject * obj2 = 0 ;
3573 char *kwnames[] = {
3574 (char *) "self",(char *) "text",(char *) "number", NULL
3575 };
3576
3577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3580 {
3581 arg2 = wxString_in_helper(obj1);
3582 if (arg2 == NULL) SWIG_fail;
3583 temp2 = True;
3584 }
3585 if (obj2) {
3586 arg3 = (int) SWIG_AsInt(obj2);
3587 if (PyErr_Occurred()) SWIG_fail;
3588 }
3589 {
3590 PyThreadState* __tstate = wxPyBeginAllowThreads();
3591 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3592
3593 wxPyEndAllowThreads(__tstate);
3594 if (PyErr_Occurred()) SWIG_fail;
3595 }
3596 Py_INCREF(Py_None); resultobj = Py_None;
3597 {
3598 if (temp2)
3599 delete arg2;
3600 }
3601 return resultobj;
3602 fail:
3603 {
3604 if (temp2)
3605 delete arg2;
3606 }
3607 return NULL;
3608 }
3609
3610
3611 static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3612 PyObject *resultobj;
3613 wxFrame *arg1 = (wxFrame *) 0 ;
3614 int arg2 = (int) 0 ;
3615 PyObject * obj0 = 0 ;
3616 PyObject * obj1 = 0 ;
3617 char *kwnames[] = {
3618 (char *) "self",(char *) "number", NULL
3619 };
3620
3621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3624 if (obj1) {
3625 arg2 = (int) SWIG_AsInt(obj1);
3626 if (PyErr_Occurred()) SWIG_fail;
3627 }
3628 {
3629 PyThreadState* __tstate = wxPyBeginAllowThreads();
3630 (arg1)->PopStatusText(arg2);
3631
3632 wxPyEndAllowThreads(__tstate);
3633 if (PyErr_Occurred()) SWIG_fail;
3634 }
3635 Py_INCREF(Py_None); resultobj = Py_None;
3636 return resultobj;
3637 fail:
3638 return NULL;
3639 }
3640
3641
3642 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
3643 PyObject *resultobj;
3644 wxFrame *arg1 = (wxFrame *) 0 ;
3645 int arg2 ;
3646 PyObject * obj0 = 0 ;
3647 PyObject * obj1 = 0 ;
3648 char *kwnames[] = {
3649 (char *) "self",(char *) "n", NULL
3650 };
3651
3652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
3653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3655 arg2 = (int) SWIG_AsInt(obj1);
3656 if (PyErr_Occurred()) SWIG_fail;
3657 {
3658 PyThreadState* __tstate = wxPyBeginAllowThreads();
3659 (arg1)->SetStatusBarPane(arg2);
3660
3661 wxPyEndAllowThreads(__tstate);
3662 if (PyErr_Occurred()) SWIG_fail;
3663 }
3664 Py_INCREF(Py_None); resultobj = Py_None;
3665 return resultobj;
3666 fail:
3667 return NULL;
3668 }
3669
3670
3671 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
3672 PyObject *resultobj;
3673 wxFrame *arg1 = (wxFrame *) 0 ;
3674 int result;
3675 PyObject * obj0 = 0 ;
3676 char *kwnames[] = {
3677 (char *) "self", NULL
3678 };
3679
3680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3683 {
3684 PyThreadState* __tstate = wxPyBeginAllowThreads();
3685 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3686
3687 wxPyEndAllowThreads(__tstate);
3688 if (PyErr_Occurred()) SWIG_fail;
3689 }
3690 resultobj = SWIG_FromInt((int)result);
3691 return resultobj;
3692 fail:
3693 return NULL;
3694 }
3695
3696
3697 static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
3698 PyObject *resultobj;
3699 wxFrame *arg1 = (wxFrame *) 0 ;
3700 long arg2 = (long) -1 ;
3701 int arg3 = (int) -1 ;
3702 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3703 wxString *arg4 = (wxString *) &arg4_defvalue ;
3704 wxToolBar *result;
3705 bool temp4 = False ;
3706 PyObject * obj0 = 0 ;
3707 PyObject * obj1 = 0 ;
3708 PyObject * obj2 = 0 ;
3709 PyObject * obj3 = 0 ;
3710 char *kwnames[] = {
3711 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3712 };
3713
3714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3717 if (obj1) {
3718 arg2 = (long) SWIG_AsLong(obj1);
3719 if (PyErr_Occurred()) SWIG_fail;
3720 }
3721 if (obj2) {
3722 arg3 = (int) SWIG_AsInt(obj2);
3723 if (PyErr_Occurred()) SWIG_fail;
3724 }
3725 if (obj3) {
3726 {
3727 arg4 = wxString_in_helper(obj3);
3728 if (arg4 == NULL) SWIG_fail;
3729 temp4 = True;
3730 }
3731 }
3732 {
3733 PyThreadState* __tstate = wxPyBeginAllowThreads();
3734 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3735
3736 wxPyEndAllowThreads(__tstate);
3737 if (PyErr_Occurred()) SWIG_fail;
3738 }
3739 {
3740 resultobj = wxPyMake_wxObject(result);
3741 }
3742 {
3743 if (temp4)
3744 delete arg4;
3745 }
3746 return resultobj;
3747 fail:
3748 {
3749 if (temp4)
3750 delete arg4;
3751 }
3752 return NULL;
3753 }
3754
3755
3756 static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
3757 PyObject *resultobj;
3758 wxFrame *arg1 = (wxFrame *) 0 ;
3759 wxToolBar *result;
3760 PyObject * obj0 = 0 ;
3761 char *kwnames[] = {
3762 (char *) "self", NULL
3763 };
3764
3765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3768 {
3769 PyThreadState* __tstate = wxPyBeginAllowThreads();
3770 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3771
3772 wxPyEndAllowThreads(__tstate);
3773 if (PyErr_Occurred()) SWIG_fail;
3774 }
3775 {
3776 resultobj = wxPyMake_wxObject(result);
3777 }
3778 return resultobj;
3779 fail:
3780 return NULL;
3781 }
3782
3783
3784 static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
3785 PyObject *resultobj;
3786 wxFrame *arg1 = (wxFrame *) 0 ;
3787 wxToolBar *arg2 = (wxToolBar *) 0 ;
3788 PyObject * obj0 = 0 ;
3789 PyObject * obj1 = 0 ;
3790 char *kwnames[] = {
3791 (char *) "self",(char *) "toolbar", NULL
3792 };
3793
3794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3797 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
3798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3799 {
3800 PyThreadState* __tstate = wxPyBeginAllowThreads();
3801 (arg1)->SetToolBar(arg2);
3802
3803 wxPyEndAllowThreads(__tstate);
3804 if (PyErr_Occurred()) SWIG_fail;
3805 }
3806 Py_INCREF(Py_None); resultobj = Py_None;
3807 return resultobj;
3808 fail:
3809 return NULL;
3810 }
3811
3812
3813 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
3814 PyObject *resultobj;
3815 wxFrame *arg1 = (wxFrame *) 0 ;
3816 wxString *arg2 = 0 ;
3817 bool arg3 ;
3818 bool temp2 = False ;
3819 PyObject * obj0 = 0 ;
3820 PyObject * obj1 = 0 ;
3821 PyObject * obj2 = 0 ;
3822 char *kwnames[] = {
3823 (char *) "self",(char *) "text",(char *) "show", NULL
3824 };
3825
3826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3829 {
3830 arg2 = wxString_in_helper(obj1);
3831 if (arg2 == NULL) SWIG_fail;
3832 temp2 = True;
3833 }
3834 arg3 = (bool) SWIG_AsBool(obj2);
3835 if (PyErr_Occurred()) SWIG_fail;
3836 {
3837 PyThreadState* __tstate = wxPyBeginAllowThreads();
3838 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3839
3840 wxPyEndAllowThreads(__tstate);
3841 if (PyErr_Occurred()) SWIG_fail;
3842 }
3843 Py_INCREF(Py_None); resultobj = Py_None;
3844 {
3845 if (temp2)
3846 delete arg2;
3847 }
3848 return resultobj;
3849 fail:
3850 {
3851 if (temp2)
3852 delete arg2;
3853 }
3854 return NULL;
3855 }
3856
3857
3858 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
3859 PyObject *resultobj;
3860 wxFrame *arg1 = (wxFrame *) 0 ;
3861 wxMenu *arg2 = (wxMenu *) NULL ;
3862 PyObject * obj0 = 0 ;
3863 PyObject * obj1 = 0 ;
3864 char *kwnames[] = {
3865 (char *) "self",(char *) "menu", NULL
3866 };
3867
3868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3871 if (obj1) {
3872 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
3873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3874 }
3875 {
3876 PyThreadState* __tstate = wxPyBeginAllowThreads();
3877 (arg1)->DoMenuUpdates(arg2);
3878
3879 wxPyEndAllowThreads(__tstate);
3880 if (PyErr_Occurred()) SWIG_fail;
3881 }
3882 Py_INCREF(Py_None); resultobj = Py_None;
3883 return resultobj;
3884 fail:
3885 return NULL;
3886 }
3887
3888
3889 static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
3890 PyObject *obj;
3891 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3892 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3893 Py_INCREF(obj);
3894 return Py_BuildValue((char *)"");
3895 }
3896 static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
3897 PyObject *resultobj;
3898 wxWindow *arg1 = (wxWindow *) 0 ;
3899 int arg2 ;
3900 wxString *arg3 = 0 ;
3901 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3902 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3903 wxSize const &arg5_defvalue = wxDefaultSize ;
3904 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3905 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3906 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3907 wxString *arg7 = (wxString *) &arg7_defvalue ;
3908 wxDialog *result;
3909 bool temp3 = False ;
3910 wxPoint temp4 ;
3911 wxSize temp5 ;
3912 bool temp7 = False ;
3913 PyObject * obj0 = 0 ;
3914 PyObject * obj1 = 0 ;
3915 PyObject * obj2 = 0 ;
3916 PyObject * obj3 = 0 ;
3917 PyObject * obj4 = 0 ;
3918 PyObject * obj5 = 0 ;
3919 PyObject * obj6 = 0 ;
3920 char *kwnames[] = {
3921 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3922 };
3923
3924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3927 arg2 = (int const) SWIG_AsInt(obj1);
3928 if (PyErr_Occurred()) SWIG_fail;
3929 {
3930 arg3 = wxString_in_helper(obj2);
3931 if (arg3 == NULL) SWIG_fail;
3932 temp3 = True;
3933 }
3934 if (obj3) {
3935 {
3936 arg4 = &temp4;
3937 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3938 }
3939 }
3940 if (obj4) {
3941 {
3942 arg5 = &temp5;
3943 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3944 }
3945 }
3946 if (obj5) {
3947 arg6 = (long) SWIG_AsLong(obj5);
3948 if (PyErr_Occurred()) SWIG_fail;
3949 }
3950 if (obj6) {
3951 {
3952 arg7 = wxString_in_helper(obj6);
3953 if (arg7 == NULL) SWIG_fail;
3954 temp7 = True;
3955 }
3956 }
3957 {
3958 PyThreadState* __tstate = wxPyBeginAllowThreads();
3959 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3960
3961 wxPyEndAllowThreads(__tstate);
3962 if (PyErr_Occurred()) SWIG_fail;
3963 }
3964 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
3965 {
3966 if (temp3)
3967 delete arg3;
3968 }
3969 {
3970 if (temp7)
3971 delete arg7;
3972 }
3973 return resultobj;
3974 fail:
3975 {
3976 if (temp3)
3977 delete arg3;
3978 }
3979 {
3980 if (temp7)
3981 delete arg7;
3982 }
3983 return NULL;
3984 }
3985
3986
3987 static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
3988 PyObject *resultobj;
3989 wxDialog *result;
3990 char *kwnames[] = {
3991 NULL
3992 };
3993
3994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
3995 {
3996 PyThreadState* __tstate = wxPyBeginAllowThreads();
3997 result = (wxDialog *)new wxDialog();
3998
3999 wxPyEndAllowThreads(__tstate);
4000 if (PyErr_Occurred()) SWIG_fail;
4001 }
4002 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
4003 return resultobj;
4004 fail:
4005 return NULL;
4006 }
4007
4008
4009 static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4010 PyObject *resultobj;
4011 wxDialog *arg1 = (wxDialog *) 0 ;
4012 wxWindow *arg2 = (wxWindow *) 0 ;
4013 int arg3 ;
4014 wxString *arg4 = 0 ;
4015 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4016 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4017 wxSize const &arg6_defvalue = wxDefaultSize ;
4018 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4019 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
4020 wxString const &arg8_defvalue = wxPyDialogNameStr ;
4021 wxString *arg8 = (wxString *) &arg8_defvalue ;
4022 bool result;
4023 bool temp4 = False ;
4024 wxPoint temp5 ;
4025 wxSize temp6 ;
4026 bool temp8 = False ;
4027 PyObject * obj0 = 0 ;
4028 PyObject * obj1 = 0 ;
4029 PyObject * obj2 = 0 ;
4030 PyObject * obj3 = 0 ;
4031 PyObject * obj4 = 0 ;
4032 PyObject * obj5 = 0 ;
4033 PyObject * obj6 = 0 ;
4034 PyObject * obj7 = 0 ;
4035 char *kwnames[] = {
4036 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4037 };
4038
4039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4042 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4044 arg3 = (int const) SWIG_AsInt(obj2);
4045 if (PyErr_Occurred()) SWIG_fail;
4046 {
4047 arg4 = wxString_in_helper(obj3);
4048 if (arg4 == NULL) SWIG_fail;
4049 temp4 = True;
4050 }
4051 if (obj4) {
4052 {
4053 arg5 = &temp5;
4054 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4055 }
4056 }
4057 if (obj5) {
4058 {
4059 arg6 = &temp6;
4060 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4061 }
4062 }
4063 if (obj6) {
4064 arg7 = (long) SWIG_AsLong(obj6);
4065 if (PyErr_Occurred()) SWIG_fail;
4066 }
4067 if (obj7) {
4068 {
4069 arg8 = wxString_in_helper(obj7);
4070 if (arg8 == NULL) SWIG_fail;
4071 temp8 = True;
4072 }
4073 }
4074 {
4075 PyThreadState* __tstate = wxPyBeginAllowThreads();
4076 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4077
4078 wxPyEndAllowThreads(__tstate);
4079 if (PyErr_Occurred()) SWIG_fail;
4080 }
4081 {
4082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4083 }
4084 {
4085 if (temp4)
4086 delete arg4;
4087 }
4088 {
4089 if (temp8)
4090 delete arg8;
4091 }
4092 return resultobj;
4093 fail:
4094 {
4095 if (temp4)
4096 delete arg4;
4097 }
4098 {
4099 if (temp8)
4100 delete arg8;
4101 }
4102 return NULL;
4103 }
4104
4105
4106 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
4107 PyObject *resultobj;
4108 wxDialog *arg1 = (wxDialog *) 0 ;
4109 int arg2 ;
4110 PyObject * obj0 = 0 ;
4111 PyObject * obj1 = 0 ;
4112 char *kwnames[] = {
4113 (char *) "self",(char *) "returnCode", NULL
4114 };
4115
4116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4119 arg2 = (int) SWIG_AsInt(obj1);
4120 if (PyErr_Occurred()) SWIG_fail;
4121 {
4122 PyThreadState* __tstate = wxPyBeginAllowThreads();
4123 (arg1)->SetReturnCode(arg2);
4124
4125 wxPyEndAllowThreads(__tstate);
4126 if (PyErr_Occurred()) SWIG_fail;
4127 }
4128 Py_INCREF(Py_None); resultobj = Py_None;
4129 return resultobj;
4130 fail:
4131 return NULL;
4132 }
4133
4134
4135 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
4136 PyObject *resultobj;
4137 wxDialog *arg1 = (wxDialog *) 0 ;
4138 int result;
4139 PyObject * obj0 = 0 ;
4140 char *kwnames[] = {
4141 (char *) "self", NULL
4142 };
4143
4144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4147 {
4148 PyThreadState* __tstate = wxPyBeginAllowThreads();
4149 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4150
4151 wxPyEndAllowThreads(__tstate);
4152 if (PyErr_Occurred()) SWIG_fail;
4153 }
4154 resultobj = SWIG_FromInt((int)result);
4155 return resultobj;
4156 fail:
4157 return NULL;
4158 }
4159
4160
4161 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
4162 PyObject *resultobj;
4163 wxDialog *arg1 = (wxDialog *) 0 ;
4164 wxString *arg2 = 0 ;
4165 wxSizer *result;
4166 bool temp2 = False ;
4167 PyObject * obj0 = 0 ;
4168 PyObject * obj1 = 0 ;
4169 char *kwnames[] = {
4170 (char *) "self",(char *) "message", NULL
4171 };
4172
4173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4176 {
4177 arg2 = wxString_in_helper(obj1);
4178 if (arg2 == NULL) SWIG_fail;
4179 temp2 = True;
4180 }
4181 {
4182 PyThreadState* __tstate = wxPyBeginAllowThreads();
4183 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4184
4185 wxPyEndAllowThreads(__tstate);
4186 if (PyErr_Occurred()) SWIG_fail;
4187 }
4188 {
4189 resultobj = wxPyMake_wxSizer(result);
4190 }
4191 {
4192 if (temp2)
4193 delete arg2;
4194 }
4195 return resultobj;
4196 fail:
4197 {
4198 if (temp2)
4199 delete arg2;
4200 }
4201 return NULL;
4202 }
4203
4204
4205 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
4206 PyObject *resultobj;
4207 wxDialog *arg1 = (wxDialog *) 0 ;
4208 long arg2 ;
4209 wxSizer *result;
4210 PyObject * obj0 = 0 ;
4211 PyObject * obj1 = 0 ;
4212 char *kwnames[] = {
4213 (char *) "self",(char *) "flags", NULL
4214 };
4215
4216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4219 arg2 = (long) SWIG_AsLong(obj1);
4220 if (PyErr_Occurred()) SWIG_fail;
4221 {
4222 PyThreadState* __tstate = wxPyBeginAllowThreads();
4223 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4224
4225 wxPyEndAllowThreads(__tstate);
4226 if (PyErr_Occurred()) SWIG_fail;
4227 }
4228 {
4229 resultobj = wxPyMake_wxSizer(result);
4230 }
4231 return resultobj;
4232 fail:
4233 return NULL;
4234 }
4235
4236
4237 static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
4238 PyObject *resultobj;
4239 wxDialog *arg1 = (wxDialog *) 0 ;
4240 bool result;
4241 PyObject * obj0 = 0 ;
4242 char *kwnames[] = {
4243 (char *) "self", NULL
4244 };
4245
4246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4249 {
4250 PyThreadState* __tstate = wxPyBeginAllowThreads();
4251 result = (bool)((wxDialog const *)arg1)->IsModal();
4252
4253 wxPyEndAllowThreads(__tstate);
4254 if (PyErr_Occurred()) SWIG_fail;
4255 }
4256 {
4257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4258 }
4259 return resultobj;
4260 fail:
4261 return NULL;
4262 }
4263
4264
4265 static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
4266 PyObject *resultobj;
4267 wxDialog *arg1 = (wxDialog *) 0 ;
4268 int result;
4269 PyObject * obj0 = 0 ;
4270 char *kwnames[] = {
4271 (char *) "self", NULL
4272 };
4273
4274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4277 {
4278 PyThreadState* __tstate = wxPyBeginAllowThreads();
4279 result = (int)(arg1)->ShowModal();
4280
4281 wxPyEndAllowThreads(__tstate);
4282 if (PyErr_Occurred()) SWIG_fail;
4283 }
4284 resultobj = SWIG_FromInt((int)result);
4285 return resultobj;
4286 fail:
4287 return NULL;
4288 }
4289
4290
4291 static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
4292 PyObject *resultobj;
4293 wxDialog *arg1 = (wxDialog *) 0 ;
4294 int arg2 ;
4295 PyObject * obj0 = 0 ;
4296 PyObject * obj1 = 0 ;
4297 char *kwnames[] = {
4298 (char *) "self",(char *) "retCode", NULL
4299 };
4300
4301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4304 arg2 = (int) SWIG_AsInt(obj1);
4305 if (PyErr_Occurred()) SWIG_fail;
4306 {
4307 PyThreadState* __tstate = wxPyBeginAllowThreads();
4308 (arg1)->EndModal(arg2);
4309
4310 wxPyEndAllowThreads(__tstate);
4311 if (PyErr_Occurred()) SWIG_fail;
4312 }
4313 Py_INCREF(Py_None); resultobj = Py_None;
4314 return resultobj;
4315 fail:
4316 return NULL;
4317 }
4318
4319
4320 static PyObject *_wrap_Dialog_IsModalShowing(PyObject *, PyObject *args, PyObject *kwargs) {
4321 PyObject *resultobj;
4322 wxDialog *arg1 = (wxDialog *) 0 ;
4323 bool result;
4324 PyObject * obj0 = 0 ;
4325 char *kwnames[] = {
4326 (char *) "self", NULL
4327 };
4328
4329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
4330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4332 {
4333 PyThreadState* __tstate = wxPyBeginAllowThreads();
4334 result = (bool)wxDialog_IsModalShowing(arg1);
4335
4336 wxPyEndAllowThreads(__tstate);
4337 if (PyErr_Occurred()) SWIG_fail;
4338 }
4339 {
4340 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4341 }
4342 return resultobj;
4343 fail:
4344 return NULL;
4345 }
4346
4347
4348 static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
4349 PyObject *obj;
4350 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4351 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4352 Py_INCREF(obj);
4353 return Py_BuildValue((char *)"");
4354 }
4355 static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4356 PyObject *resultobj;
4357 wxWindow *arg1 = (wxWindow *) 0 ;
4358 int arg2 ;
4359 wxString *arg3 = 0 ;
4360 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4361 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4362 wxSize const &arg5_defvalue = wxDefaultSize ;
4363 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4364 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4365 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4366 wxString *arg7 = (wxString *) &arg7_defvalue ;
4367 wxMiniFrame *result;
4368 bool temp3 = False ;
4369 wxPoint temp4 ;
4370 wxSize temp5 ;
4371 bool temp7 = False ;
4372 PyObject * obj0 = 0 ;
4373 PyObject * obj1 = 0 ;
4374 PyObject * obj2 = 0 ;
4375 PyObject * obj3 = 0 ;
4376 PyObject * obj4 = 0 ;
4377 PyObject * obj5 = 0 ;
4378 PyObject * obj6 = 0 ;
4379 char *kwnames[] = {
4380 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4381 };
4382
4383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4386 arg2 = (int const) SWIG_AsInt(obj1);
4387 if (PyErr_Occurred()) SWIG_fail;
4388 {
4389 arg3 = wxString_in_helper(obj2);
4390 if (arg3 == NULL) SWIG_fail;
4391 temp3 = True;
4392 }
4393 if (obj3) {
4394 {
4395 arg4 = &temp4;
4396 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4397 }
4398 }
4399 if (obj4) {
4400 {
4401 arg5 = &temp5;
4402 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4403 }
4404 }
4405 if (obj5) {
4406 arg6 = (long) SWIG_AsLong(obj5);
4407 if (PyErr_Occurred()) SWIG_fail;
4408 }
4409 if (obj6) {
4410 {
4411 arg7 = wxString_in_helper(obj6);
4412 if (arg7 == NULL) SWIG_fail;
4413 temp7 = True;
4414 }
4415 }
4416 {
4417 PyThreadState* __tstate = wxPyBeginAllowThreads();
4418 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4419
4420 wxPyEndAllowThreads(__tstate);
4421 if (PyErr_Occurred()) SWIG_fail;
4422 }
4423 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4424 {
4425 if (temp3)
4426 delete arg3;
4427 }
4428 {
4429 if (temp7)
4430 delete arg7;
4431 }
4432 return resultobj;
4433 fail:
4434 {
4435 if (temp3)
4436 delete arg3;
4437 }
4438 {
4439 if (temp7)
4440 delete arg7;
4441 }
4442 return NULL;
4443 }
4444
4445
4446 static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4447 PyObject *resultobj;
4448 wxMiniFrame *result;
4449 char *kwnames[] = {
4450 NULL
4451 };
4452
4453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4454 {
4455 PyThreadState* __tstate = wxPyBeginAllowThreads();
4456 result = (wxMiniFrame *)new wxMiniFrame();
4457
4458 wxPyEndAllowThreads(__tstate);
4459 if (PyErr_Occurred()) SWIG_fail;
4460 }
4461 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4462 return resultobj;
4463 fail:
4464 return NULL;
4465 }
4466
4467
4468 static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4469 PyObject *resultobj;
4470 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4471 wxWindow *arg2 = (wxWindow *) 0 ;
4472 int arg3 ;
4473 wxString *arg4 = 0 ;
4474 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4475 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4476 wxSize const &arg6_defvalue = wxDefaultSize ;
4477 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4478 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4479 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4480 wxString *arg8 = (wxString *) &arg8_defvalue ;
4481 bool result;
4482 bool temp4 = False ;
4483 wxPoint temp5 ;
4484 wxSize temp6 ;
4485 bool temp8 = False ;
4486 PyObject * obj0 = 0 ;
4487 PyObject * obj1 = 0 ;
4488 PyObject * obj2 = 0 ;
4489 PyObject * obj3 = 0 ;
4490 PyObject * obj4 = 0 ;
4491 PyObject * obj5 = 0 ;
4492 PyObject * obj6 = 0 ;
4493 PyObject * obj7 = 0 ;
4494 char *kwnames[] = {
4495 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4496 };
4497
4498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4501 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4503 arg3 = (int const) SWIG_AsInt(obj2);
4504 if (PyErr_Occurred()) SWIG_fail;
4505 {
4506 arg4 = wxString_in_helper(obj3);
4507 if (arg4 == NULL) SWIG_fail;
4508 temp4 = True;
4509 }
4510 if (obj4) {
4511 {
4512 arg5 = &temp5;
4513 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4514 }
4515 }
4516 if (obj5) {
4517 {
4518 arg6 = &temp6;
4519 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4520 }
4521 }
4522 if (obj6) {
4523 arg7 = (long) SWIG_AsLong(obj6);
4524 if (PyErr_Occurred()) SWIG_fail;
4525 }
4526 if (obj7) {
4527 {
4528 arg8 = wxString_in_helper(obj7);
4529 if (arg8 == NULL) SWIG_fail;
4530 temp8 = True;
4531 }
4532 }
4533 {
4534 PyThreadState* __tstate = wxPyBeginAllowThreads();
4535 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4536
4537 wxPyEndAllowThreads(__tstate);
4538 if (PyErr_Occurred()) SWIG_fail;
4539 }
4540 {
4541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4542 }
4543 {
4544 if (temp4)
4545 delete arg4;
4546 }
4547 {
4548 if (temp8)
4549 delete arg8;
4550 }
4551 return resultobj;
4552 fail:
4553 {
4554 if (temp4)
4555 delete arg4;
4556 }
4557 {
4558 if (temp8)
4559 delete arg8;
4560 }
4561 return NULL;
4562 }
4563
4564
4565 static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
4566 PyObject *obj;
4567 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4568 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4569 Py_INCREF(obj);
4570 return Py_BuildValue((char *)"");
4571 }
4572 static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
4573 PyObject *resultobj;
4574 wxBitmap *arg1 = 0 ;
4575 wxWindow *arg2 = (wxWindow *) 0 ;
4576 int arg3 ;
4577 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4578 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4579 wxSize const &arg5_defvalue = wxDefaultSize ;
4580 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4581 long arg6 = (long) wxNO_BORDER ;
4582 wxSplashScreenWindow *result;
4583 wxPoint temp4 ;
4584 wxSize temp5 ;
4585 PyObject * obj0 = 0 ;
4586 PyObject * obj1 = 0 ;
4587 PyObject * obj2 = 0 ;
4588 PyObject * obj3 = 0 ;
4589 PyObject * obj4 = 0 ;
4590 PyObject * obj5 = 0 ;
4591 char *kwnames[] = {
4592 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4593 };
4594
4595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4597 SWIG_POINTER_EXCEPTION | 0)) == -1)
4598 SWIG_fail;
4599 if (arg1 == NULL) {
4600 PyErr_SetString(PyExc_TypeError,"null reference");
4601 SWIG_fail;
4602 }
4603 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4605 arg3 = (int) SWIG_AsInt(obj2);
4606 if (PyErr_Occurred()) SWIG_fail;
4607 if (obj3) {
4608 {
4609 arg4 = &temp4;
4610 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4611 }
4612 }
4613 if (obj4) {
4614 {
4615 arg5 = &temp5;
4616 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4617 }
4618 }
4619 if (obj5) {
4620 arg6 = (long) SWIG_AsLong(obj5);
4621 if (PyErr_Occurred()) SWIG_fail;
4622 }
4623 {
4624 PyThreadState* __tstate = wxPyBeginAllowThreads();
4625 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4626
4627 wxPyEndAllowThreads(__tstate);
4628 if (PyErr_Occurred()) SWIG_fail;
4629 }
4630 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
4631 return resultobj;
4632 fail:
4633 return NULL;
4634 }
4635
4636
4637 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
4638 PyObject *resultobj;
4639 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4640 wxBitmap *arg2 = 0 ;
4641 PyObject * obj0 = 0 ;
4642 PyObject * obj1 = 0 ;
4643 char *kwnames[] = {
4644 (char *) "self",(char *) "bitmap", NULL
4645 };
4646
4647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4650 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4651 SWIG_POINTER_EXCEPTION | 0)) == -1)
4652 SWIG_fail;
4653 if (arg2 == NULL) {
4654 PyErr_SetString(PyExc_TypeError,"null reference");
4655 SWIG_fail;
4656 }
4657 {
4658 PyThreadState* __tstate = wxPyBeginAllowThreads();
4659 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4660
4661 wxPyEndAllowThreads(__tstate);
4662 if (PyErr_Occurred()) SWIG_fail;
4663 }
4664 Py_INCREF(Py_None); resultobj = Py_None;
4665 return resultobj;
4666 fail:
4667 return NULL;
4668 }
4669
4670
4671 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
4672 PyObject *resultobj;
4673 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4674 wxBitmap *result;
4675 PyObject * obj0 = 0 ;
4676 char *kwnames[] = {
4677 (char *) "self", NULL
4678 };
4679
4680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4683 {
4684 PyThreadState* __tstate = wxPyBeginAllowThreads();
4685 {
4686 wxBitmap &_result_ref = (arg1)->GetBitmap();
4687 result = (wxBitmap *) &_result_ref;
4688 }
4689
4690 wxPyEndAllowThreads(__tstate);
4691 if (PyErr_Occurred()) SWIG_fail;
4692 }
4693 {
4694 wxBitmap* resultptr = new wxBitmap(*result);
4695 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
4696 }
4697 return resultobj;
4698 fail:
4699 return NULL;
4700 }
4701
4702
4703 static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
4704 PyObject *obj;
4705 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4706 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4707 Py_INCREF(obj);
4708 return Py_BuildValue((char *)"");
4709 }
4710 static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
4711 PyObject *resultobj;
4712 wxBitmap *arg1 = 0 ;
4713 long arg2 ;
4714 int arg3 ;
4715 wxWindow *arg4 = (wxWindow *) 0 ;
4716 int arg5 ;
4717 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4718 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4719 wxSize const &arg7_defvalue = wxDefaultSize ;
4720 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4721 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4722 wxSplashScreen *result;
4723 wxPoint temp6 ;
4724 wxSize temp7 ;
4725 PyObject * obj0 = 0 ;
4726 PyObject * obj1 = 0 ;
4727 PyObject * obj2 = 0 ;
4728 PyObject * obj3 = 0 ;
4729 PyObject * obj4 = 0 ;
4730 PyObject * obj5 = 0 ;
4731 PyObject * obj6 = 0 ;
4732 PyObject * obj7 = 0 ;
4733 char *kwnames[] = {
4734 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4735 };
4736
4737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4739 SWIG_POINTER_EXCEPTION | 0)) == -1)
4740 SWIG_fail;
4741 if (arg1 == NULL) {
4742 PyErr_SetString(PyExc_TypeError,"null reference");
4743 SWIG_fail;
4744 }
4745 arg2 = (long) SWIG_AsLong(obj1);
4746 if (PyErr_Occurred()) SWIG_fail;
4747 arg3 = (int) SWIG_AsInt(obj2);
4748 if (PyErr_Occurred()) SWIG_fail;
4749 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
4750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4751 arg5 = (int) SWIG_AsInt(obj4);
4752 if (PyErr_Occurred()) SWIG_fail;
4753 if (obj5) {
4754 {
4755 arg6 = &temp6;
4756 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4757 }
4758 }
4759 if (obj6) {
4760 {
4761 arg7 = &temp7;
4762 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4763 }
4764 }
4765 if (obj7) {
4766 arg8 = (long) SWIG_AsLong(obj7);
4767 if (PyErr_Occurred()) SWIG_fail;
4768 }
4769 {
4770 PyThreadState* __tstate = wxPyBeginAllowThreads();
4771 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4772
4773 wxPyEndAllowThreads(__tstate);
4774 if (PyErr_Occurred()) SWIG_fail;
4775 }
4776 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
4777 return resultobj;
4778 fail:
4779 return NULL;
4780 }
4781
4782
4783 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
4784 PyObject *resultobj;
4785 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4786 long result;
4787 PyObject * obj0 = 0 ;
4788 char *kwnames[] = {
4789 (char *) "self", NULL
4790 };
4791
4792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4795 {
4796 PyThreadState* __tstate = wxPyBeginAllowThreads();
4797 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4798
4799 wxPyEndAllowThreads(__tstate);
4800 if (PyErr_Occurred()) SWIG_fail;
4801 }
4802 resultobj = SWIG_FromLong((long)result);
4803 return resultobj;
4804 fail:
4805 return NULL;
4806 }
4807
4808
4809 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
4810 PyObject *resultobj;
4811 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4812 wxSplashScreenWindow *result;
4813 PyObject * obj0 = 0 ;
4814 char *kwnames[] = {
4815 (char *) "self", NULL
4816 };
4817
4818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4821 {
4822 PyThreadState* __tstate = wxPyBeginAllowThreads();
4823 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4824
4825 wxPyEndAllowThreads(__tstate);
4826 if (PyErr_Occurred()) SWIG_fail;
4827 }
4828 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
4829 return resultobj;
4830 fail:
4831 return NULL;
4832 }
4833
4834
4835 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
4836 PyObject *resultobj;
4837 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4838 int result;
4839 PyObject * obj0 = 0 ;
4840 char *kwnames[] = {
4841 (char *) "self", NULL
4842 };
4843
4844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4847 {
4848 PyThreadState* __tstate = wxPyBeginAllowThreads();
4849 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4850
4851 wxPyEndAllowThreads(__tstate);
4852 if (PyErr_Occurred()) SWIG_fail;
4853 }
4854 resultobj = SWIG_FromInt((int)result);
4855 return resultobj;
4856 fail:
4857 return NULL;
4858 }
4859
4860
4861 static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
4862 PyObject *obj;
4863 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4864 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4865 Py_INCREF(obj);
4866 return Py_BuildValue((char *)"");
4867 }
4868 static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
4869 PyObject *resultobj;
4870 wxWindow *arg1 = (wxWindow *) 0 ;
4871 int arg2 = (int) -1 ;
4872 long arg3 = (long) wxST_SIZEGRIP ;
4873 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4874 wxString *arg4 = (wxString *) &arg4_defvalue ;
4875 wxStatusBar *result;
4876 bool temp4 = False ;
4877 PyObject * obj0 = 0 ;
4878 PyObject * obj1 = 0 ;
4879 PyObject * obj2 = 0 ;
4880 PyObject * obj3 = 0 ;
4881 char *kwnames[] = {
4882 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4883 };
4884
4885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4888 if (obj1) {
4889 arg2 = (int) SWIG_AsInt(obj1);
4890 if (PyErr_Occurred()) SWIG_fail;
4891 }
4892 if (obj2) {
4893 arg3 = (long) SWIG_AsLong(obj2);
4894 if (PyErr_Occurred()) SWIG_fail;
4895 }
4896 if (obj3) {
4897 {
4898 arg4 = wxString_in_helper(obj3);
4899 if (arg4 == NULL) SWIG_fail;
4900 temp4 = True;
4901 }
4902 }
4903 {
4904 PyThreadState* __tstate = wxPyBeginAllowThreads();
4905 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4906
4907 wxPyEndAllowThreads(__tstate);
4908 if (PyErr_Occurred()) SWIG_fail;
4909 }
4910 {
4911 resultobj = wxPyMake_wxObject(result);
4912 }
4913 {
4914 if (temp4)
4915 delete arg4;
4916 }
4917 return resultobj;
4918 fail:
4919 {
4920 if (temp4)
4921 delete arg4;
4922 }
4923 return NULL;
4924 }
4925
4926
4927 static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
4928 PyObject *resultobj;
4929 wxStatusBar *result;
4930 char *kwnames[] = {
4931 NULL
4932 };
4933
4934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4935 {
4936 PyThreadState* __tstate = wxPyBeginAllowThreads();
4937 result = (wxStatusBar *)new wxStatusBar();
4938
4939 wxPyEndAllowThreads(__tstate);
4940 if (PyErr_Occurred()) SWIG_fail;
4941 }
4942 {
4943 resultobj = wxPyMake_wxObject(result);
4944 }
4945 return resultobj;
4946 fail:
4947 return NULL;
4948 }
4949
4950
4951 static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4952 PyObject *resultobj;
4953 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4954 wxWindow *arg2 = (wxWindow *) 0 ;
4955 int arg3 ;
4956 long arg4 = (long) wxST_SIZEGRIP ;
4957 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4958 wxString *arg5 = (wxString *) &arg5_defvalue ;
4959 bool result;
4960 bool temp5 = False ;
4961 PyObject * obj0 = 0 ;
4962 PyObject * obj1 = 0 ;
4963 PyObject * obj2 = 0 ;
4964 PyObject * obj3 = 0 ;
4965 PyObject * obj4 = 0 ;
4966 char *kwnames[] = {
4967 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4968 };
4969
4970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4973 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4975 arg3 = (int) SWIG_AsInt(obj2);
4976 if (PyErr_Occurred()) SWIG_fail;
4977 if (obj3) {
4978 arg4 = (long) SWIG_AsLong(obj3);
4979 if (PyErr_Occurred()) SWIG_fail;
4980 }
4981 if (obj4) {
4982 {
4983 arg5 = wxString_in_helper(obj4);
4984 if (arg5 == NULL) SWIG_fail;
4985 temp5 = True;
4986 }
4987 }
4988 {
4989 PyThreadState* __tstate = wxPyBeginAllowThreads();
4990 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4991
4992 wxPyEndAllowThreads(__tstate);
4993 if (PyErr_Occurred()) SWIG_fail;
4994 }
4995 {
4996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4997 }
4998 {
4999 if (temp5)
5000 delete arg5;
5001 }
5002 return resultobj;
5003 fail:
5004 {
5005 if (temp5)
5006 delete arg5;
5007 }
5008 return NULL;
5009 }
5010
5011
5012 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
5013 PyObject *resultobj;
5014 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5015 int arg2 = (int) 1 ;
5016 PyObject * obj0 = 0 ;
5017 PyObject * obj1 = 0 ;
5018 char *kwnames[] = {
5019 (char *) "self",(char *) "number", NULL
5020 };
5021
5022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
5023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5025 if (obj1) {
5026 arg2 = (int) SWIG_AsInt(obj1);
5027 if (PyErr_Occurred()) SWIG_fail;
5028 }
5029 {
5030 PyThreadState* __tstate = wxPyBeginAllowThreads();
5031 (arg1)->SetFieldsCount(arg2);
5032
5033 wxPyEndAllowThreads(__tstate);
5034 if (PyErr_Occurred()) SWIG_fail;
5035 }
5036 Py_INCREF(Py_None); resultobj = Py_None;
5037 return resultobj;
5038 fail:
5039 return NULL;
5040 }
5041
5042
5043 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
5044 PyObject *resultobj;
5045 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5046 int result;
5047 PyObject * obj0 = 0 ;
5048 char *kwnames[] = {
5049 (char *) "self", NULL
5050 };
5051
5052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
5053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5055 {
5056 PyThreadState* __tstate = wxPyBeginAllowThreads();
5057 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5058
5059 wxPyEndAllowThreads(__tstate);
5060 if (PyErr_Occurred()) SWIG_fail;
5061 }
5062 resultobj = SWIG_FromInt((int)result);
5063 return resultobj;
5064 fail:
5065 return NULL;
5066 }
5067
5068
5069 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5070 PyObject *resultobj;
5071 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5072 wxString *arg2 = 0 ;
5073 int arg3 = (int) 0 ;
5074 bool temp2 = False ;
5075 PyObject * obj0 = 0 ;
5076 PyObject * obj1 = 0 ;
5077 PyObject * obj2 = 0 ;
5078 char *kwnames[] = {
5079 (char *) "self",(char *) "text",(char *) "number", NULL
5080 };
5081
5082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5085 {
5086 arg2 = wxString_in_helper(obj1);
5087 if (arg2 == NULL) SWIG_fail;
5088 temp2 = True;
5089 }
5090 if (obj2) {
5091 arg3 = (int) SWIG_AsInt(obj2);
5092 if (PyErr_Occurred()) SWIG_fail;
5093 }
5094 {
5095 PyThreadState* __tstate = wxPyBeginAllowThreads();
5096 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5097
5098 wxPyEndAllowThreads(__tstate);
5099 if (PyErr_Occurred()) SWIG_fail;
5100 }
5101 Py_INCREF(Py_None); resultobj = Py_None;
5102 {
5103 if (temp2)
5104 delete arg2;
5105 }
5106 return resultobj;
5107 fail:
5108 {
5109 if (temp2)
5110 delete arg2;
5111 }
5112 return NULL;
5113 }
5114
5115
5116 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5117 PyObject *resultobj;
5118 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5119 int arg2 = (int) 0 ;
5120 wxString result;
5121 PyObject * obj0 = 0 ;
5122 PyObject * obj1 = 0 ;
5123 char *kwnames[] = {
5124 (char *) "self",(char *) "number", NULL
5125 };
5126
5127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5130 if (obj1) {
5131 arg2 = (int) SWIG_AsInt(obj1);
5132 if (PyErr_Occurred()) SWIG_fail;
5133 }
5134 {
5135 PyThreadState* __tstate = wxPyBeginAllowThreads();
5136 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5137
5138 wxPyEndAllowThreads(__tstate);
5139 if (PyErr_Occurred()) SWIG_fail;
5140 }
5141 {
5142 #if wxUSE_UNICODE
5143 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5144 #else
5145 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5146 #endif
5147 }
5148 return resultobj;
5149 fail:
5150 return NULL;
5151 }
5152
5153
5154 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5155 PyObject *resultobj;
5156 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5157 wxString *arg2 = 0 ;
5158 int arg3 = (int) 0 ;
5159 bool temp2 = False ;
5160 PyObject * obj0 = 0 ;
5161 PyObject * obj1 = 0 ;
5162 PyObject * obj2 = 0 ;
5163 char *kwnames[] = {
5164 (char *) "self",(char *) "text",(char *) "number", NULL
5165 };
5166
5167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5170 {
5171 arg2 = wxString_in_helper(obj1);
5172 if (arg2 == NULL) SWIG_fail;
5173 temp2 = True;
5174 }
5175 if (obj2) {
5176 arg3 = (int) SWIG_AsInt(obj2);
5177 if (PyErr_Occurred()) SWIG_fail;
5178 }
5179 {
5180 PyThreadState* __tstate = wxPyBeginAllowThreads();
5181 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5182
5183 wxPyEndAllowThreads(__tstate);
5184 if (PyErr_Occurred()) SWIG_fail;
5185 }
5186 Py_INCREF(Py_None); resultobj = Py_None;
5187 {
5188 if (temp2)
5189 delete arg2;
5190 }
5191 return resultobj;
5192 fail:
5193 {
5194 if (temp2)
5195 delete arg2;
5196 }
5197 return NULL;
5198 }
5199
5200
5201 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5202 PyObject *resultobj;
5203 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5204 int arg2 = (int) 0 ;
5205 PyObject * obj0 = 0 ;
5206 PyObject * obj1 = 0 ;
5207 char *kwnames[] = {
5208 (char *) "self",(char *) "number", NULL
5209 };
5210
5211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5214 if (obj1) {
5215 arg2 = (int) SWIG_AsInt(obj1);
5216 if (PyErr_Occurred()) SWIG_fail;
5217 }
5218 {
5219 PyThreadState* __tstate = wxPyBeginAllowThreads();
5220 (arg1)->PopStatusText(arg2);
5221
5222 wxPyEndAllowThreads(__tstate);
5223 if (PyErr_Occurred()) SWIG_fail;
5224 }
5225 Py_INCREF(Py_None); resultobj = Py_None;
5226 return resultobj;
5227 fail:
5228 return NULL;
5229 }
5230
5231
5232 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
5233 PyObject *resultobj;
5234 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5235 int arg2 ;
5236 int *arg3 = (int *) 0 ;
5237 PyObject * obj0 = 0 ;
5238 PyObject * obj1 = 0 ;
5239 char *kwnames[] = {
5240 (char *) "self",(char *) "widths", NULL
5241 };
5242
5243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5246 {
5247 arg2 = PyList_Size(obj1);
5248 arg3 = int_LIST_helper(obj1);
5249 if (arg3 == NULL) SWIG_fail;
5250 }
5251 {
5252 PyThreadState* __tstate = wxPyBeginAllowThreads();
5253 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5254
5255 wxPyEndAllowThreads(__tstate);
5256 if (PyErr_Occurred()) SWIG_fail;
5257 }
5258 Py_INCREF(Py_None); resultobj = Py_None;
5259 {
5260 if (arg3) delete [] arg3;
5261 }
5262 return resultobj;
5263 fail:
5264 {
5265 if (arg3) delete [] arg3;
5266 }
5267 return NULL;
5268 }
5269
5270
5271 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
5272 PyObject *resultobj;
5273 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5274 int arg2 ;
5275 wxRect result;
5276 PyObject * obj0 = 0 ;
5277 PyObject * obj1 = 0 ;
5278 char *kwnames[] = {
5279 (char *) "self",(char *) "i", NULL
5280 };
5281
5282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5285 arg2 = (int) SWIG_AsInt(obj1);
5286 if (PyErr_Occurred()) SWIG_fail;
5287 {
5288 PyThreadState* __tstate = wxPyBeginAllowThreads();
5289 result = wxStatusBar_GetFieldRect(arg1,arg2);
5290
5291 wxPyEndAllowThreads(__tstate);
5292 if (PyErr_Occurred()) SWIG_fail;
5293 }
5294 {
5295 wxRect * resultptr;
5296 resultptr = new wxRect((wxRect &) result);
5297 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5298 }
5299 return resultobj;
5300 fail:
5301 return NULL;
5302 }
5303
5304
5305 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
5306 PyObject *resultobj;
5307 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5308 int arg2 ;
5309 PyObject * obj0 = 0 ;
5310 PyObject * obj1 = 0 ;
5311 char *kwnames[] = {
5312 (char *) "self",(char *) "height", NULL
5313 };
5314
5315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5318 arg2 = (int) SWIG_AsInt(obj1);
5319 if (PyErr_Occurred()) SWIG_fail;
5320 {
5321 PyThreadState* __tstate = wxPyBeginAllowThreads();
5322 (arg1)->SetMinHeight(arg2);
5323
5324 wxPyEndAllowThreads(__tstate);
5325 if (PyErr_Occurred()) SWIG_fail;
5326 }
5327 Py_INCREF(Py_None); resultobj = Py_None;
5328 return resultobj;
5329 fail:
5330 return NULL;
5331 }
5332
5333
5334 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
5335 PyObject *resultobj;
5336 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5337 int result;
5338 PyObject * obj0 = 0 ;
5339 char *kwnames[] = {
5340 (char *) "self", NULL
5341 };
5342
5343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5346 {
5347 PyThreadState* __tstate = wxPyBeginAllowThreads();
5348 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5349
5350 wxPyEndAllowThreads(__tstate);
5351 if (PyErr_Occurred()) SWIG_fail;
5352 }
5353 resultobj = SWIG_FromInt((int)result);
5354 return resultobj;
5355 fail:
5356 return NULL;
5357 }
5358
5359
5360 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
5361 PyObject *resultobj;
5362 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5363 int result;
5364 PyObject * obj0 = 0 ;
5365 char *kwnames[] = {
5366 (char *) "self", NULL
5367 };
5368
5369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5372 {
5373 PyThreadState* __tstate = wxPyBeginAllowThreads();
5374 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5375
5376 wxPyEndAllowThreads(__tstate);
5377 if (PyErr_Occurred()) SWIG_fail;
5378 }
5379 resultobj = SWIG_FromInt((int)result);
5380 return resultobj;
5381 fail:
5382 return NULL;
5383 }
5384
5385
5386 static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
5387 PyObject *obj;
5388 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5389 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5390 Py_INCREF(obj);
5391 return Py_BuildValue((char *)"");
5392 }
5393 static int _wrap_SplitterNameStr_set(PyObject *) {
5394 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5395 return 1;
5396 }
5397
5398
5399 static PyObject *_wrap_SplitterNameStr_get() {
5400 PyObject *pyobj;
5401
5402 {
5403 #if wxUSE_UNICODE
5404 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5405 #else
5406 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5407 #endif
5408 }
5409 return pyobj;
5410 }
5411
5412
5413 static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5414 PyObject *resultobj;
5415 wxWindow *arg1 = (wxWindow *) 0 ;
5416 int arg2 ;
5417 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5418 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5419 wxSize const &arg4_defvalue = wxDefaultSize ;
5420 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5421 long arg5 = (long) wxSP_3D ;
5422 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5423 wxString *arg6 = (wxString *) &arg6_defvalue ;
5424 wxSplitterWindow *result;
5425 wxPoint temp3 ;
5426 wxSize temp4 ;
5427 bool temp6 = False ;
5428 PyObject * obj0 = 0 ;
5429 PyObject * obj1 = 0 ;
5430 PyObject * obj2 = 0 ;
5431 PyObject * obj3 = 0 ;
5432 PyObject * obj4 = 0 ;
5433 PyObject * obj5 = 0 ;
5434 char *kwnames[] = {
5435 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5436 };
5437
5438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5441 arg2 = (int) SWIG_AsInt(obj1);
5442 if (PyErr_Occurred()) SWIG_fail;
5443 if (obj2) {
5444 {
5445 arg3 = &temp3;
5446 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5447 }
5448 }
5449 if (obj3) {
5450 {
5451 arg4 = &temp4;
5452 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5453 }
5454 }
5455 if (obj4) {
5456 arg5 = (long) SWIG_AsLong(obj4);
5457 if (PyErr_Occurred()) SWIG_fail;
5458 }
5459 if (obj5) {
5460 {
5461 arg6 = wxString_in_helper(obj5);
5462 if (arg6 == NULL) SWIG_fail;
5463 temp6 = True;
5464 }
5465 }
5466 {
5467 PyThreadState* __tstate = wxPyBeginAllowThreads();
5468 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5469
5470 wxPyEndAllowThreads(__tstate);
5471 if (PyErr_Occurred()) SWIG_fail;
5472 }
5473 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5474 {
5475 if (temp6)
5476 delete arg6;
5477 }
5478 return resultobj;
5479 fail:
5480 {
5481 if (temp6)
5482 delete arg6;
5483 }
5484 return NULL;
5485 }
5486
5487
5488 static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5489 PyObject *resultobj;
5490 wxSplitterWindow *result;
5491 char *kwnames[] = {
5492 NULL
5493 };
5494
5495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5496 {
5497 PyThreadState* __tstate = wxPyBeginAllowThreads();
5498 result = (wxSplitterWindow *)new wxSplitterWindow();
5499
5500 wxPyEndAllowThreads(__tstate);
5501 if (PyErr_Occurred()) SWIG_fail;
5502 }
5503 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5504 return resultobj;
5505 fail:
5506 return NULL;
5507 }
5508
5509
5510 static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5511 PyObject *resultobj;
5512 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5513 wxWindow *arg2 = (wxWindow *) 0 ;
5514 int arg3 ;
5515 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5516 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5517 wxSize const &arg5_defvalue = wxDefaultSize ;
5518 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5519 long arg6 = (long) wxSP_3D ;
5520 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5521 wxString *arg7 = (wxString *) &arg7_defvalue ;
5522 bool result;
5523 wxPoint temp4 ;
5524 wxSize temp5 ;
5525 bool temp7 = False ;
5526 PyObject * obj0 = 0 ;
5527 PyObject * obj1 = 0 ;
5528 PyObject * obj2 = 0 ;
5529 PyObject * obj3 = 0 ;
5530 PyObject * obj4 = 0 ;
5531 PyObject * obj5 = 0 ;
5532 PyObject * obj6 = 0 ;
5533 char *kwnames[] = {
5534 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5535 };
5536
5537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5540 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5542 arg3 = (int) SWIG_AsInt(obj2);
5543 if (PyErr_Occurred()) SWIG_fail;
5544 if (obj3) {
5545 {
5546 arg4 = &temp4;
5547 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5548 }
5549 }
5550 if (obj4) {
5551 {
5552 arg5 = &temp5;
5553 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5554 }
5555 }
5556 if (obj5) {
5557 arg6 = (long) SWIG_AsLong(obj5);
5558 if (PyErr_Occurred()) SWIG_fail;
5559 }
5560 if (obj6) {
5561 {
5562 arg7 = wxString_in_helper(obj6);
5563 if (arg7 == NULL) SWIG_fail;
5564 temp7 = True;
5565 }
5566 }
5567 {
5568 PyThreadState* __tstate = wxPyBeginAllowThreads();
5569 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5570
5571 wxPyEndAllowThreads(__tstate);
5572 if (PyErr_Occurred()) SWIG_fail;
5573 }
5574 {
5575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5576 }
5577 {
5578 if (temp7)
5579 delete arg7;
5580 }
5581 return resultobj;
5582 fail:
5583 {
5584 if (temp7)
5585 delete arg7;
5586 }
5587 return NULL;
5588 }
5589
5590
5591 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
5592 PyObject *resultobj;
5593 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5594 wxWindow *result;
5595 PyObject * obj0 = 0 ;
5596 char *kwnames[] = {
5597 (char *) "self", NULL
5598 };
5599
5600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5603 {
5604 PyThreadState* __tstate = wxPyBeginAllowThreads();
5605 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5606
5607 wxPyEndAllowThreads(__tstate);
5608 if (PyErr_Occurred()) SWIG_fail;
5609 }
5610 {
5611 resultobj = wxPyMake_wxObject(result);
5612 }
5613 return resultobj;
5614 fail:
5615 return NULL;
5616 }
5617
5618
5619 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
5620 PyObject *resultobj;
5621 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5622 wxWindow *result;
5623 PyObject * obj0 = 0 ;
5624 char *kwnames[] = {
5625 (char *) "self", NULL
5626 };
5627
5628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5631 {
5632 PyThreadState* __tstate = wxPyBeginAllowThreads();
5633 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5634
5635 wxPyEndAllowThreads(__tstate);
5636 if (PyErr_Occurred()) SWIG_fail;
5637 }
5638 {
5639 resultobj = wxPyMake_wxObject(result);
5640 }
5641 return resultobj;
5642 fail:
5643 return NULL;
5644 }
5645
5646
5647 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
5648 PyObject *resultobj;
5649 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5650 int arg2 ;
5651 PyObject * obj0 = 0 ;
5652 PyObject * obj1 = 0 ;
5653 char *kwnames[] = {
5654 (char *) "self",(char *) "mode", NULL
5655 };
5656
5657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
5658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5660 arg2 = (int) SWIG_AsInt(obj1);
5661 if (PyErr_Occurred()) SWIG_fail;
5662 {
5663 PyThreadState* __tstate = wxPyBeginAllowThreads();
5664 (arg1)->SetSplitMode(arg2);
5665
5666 wxPyEndAllowThreads(__tstate);
5667 if (PyErr_Occurred()) SWIG_fail;
5668 }
5669 Py_INCREF(Py_None); resultobj = Py_None;
5670 return resultobj;
5671 fail:
5672 return NULL;
5673 }
5674
5675
5676 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
5677 PyObject *resultobj;
5678 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5679 int result;
5680 PyObject * obj0 = 0 ;
5681 char *kwnames[] = {
5682 (char *) "self", NULL
5683 };
5684
5685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5688 {
5689 PyThreadState* __tstate = wxPyBeginAllowThreads();
5690 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5691
5692 wxPyEndAllowThreads(__tstate);
5693 if (PyErr_Occurred()) SWIG_fail;
5694 }
5695 resultobj = SWIG_FromInt((int)result);
5696 return resultobj;
5697 fail:
5698 return NULL;
5699 }
5700
5701
5702 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
5703 PyObject *resultobj;
5704 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5705 wxWindow *arg2 = (wxWindow *) 0 ;
5706 PyObject * obj0 = 0 ;
5707 PyObject * obj1 = 0 ;
5708 char *kwnames[] = {
5709 (char *) "self",(char *) "window", NULL
5710 };
5711
5712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5715 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5717 {
5718 PyThreadState* __tstate = wxPyBeginAllowThreads();
5719 (arg1)->Initialize(arg2);
5720
5721 wxPyEndAllowThreads(__tstate);
5722 if (PyErr_Occurred()) SWIG_fail;
5723 }
5724 Py_INCREF(Py_None); resultobj = Py_None;
5725 return resultobj;
5726 fail:
5727 return NULL;
5728 }
5729
5730
5731 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
5732 PyObject *resultobj;
5733 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5734 wxWindow *arg2 = (wxWindow *) 0 ;
5735 wxWindow *arg3 = (wxWindow *) 0 ;
5736 int arg4 = (int) 0 ;
5737 bool result;
5738 PyObject * obj0 = 0 ;
5739 PyObject * obj1 = 0 ;
5740 PyObject * obj2 = 0 ;
5741 PyObject * obj3 = 0 ;
5742 char *kwnames[] = {
5743 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5744 };
5745
5746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5749 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5751 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5753 if (obj3) {
5754 arg4 = (int) SWIG_AsInt(obj3);
5755 if (PyErr_Occurred()) SWIG_fail;
5756 }
5757 {
5758 PyThreadState* __tstate = wxPyBeginAllowThreads();
5759 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5760
5761 wxPyEndAllowThreads(__tstate);
5762 if (PyErr_Occurred()) SWIG_fail;
5763 }
5764 {
5765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5766 }
5767 return resultobj;
5768 fail:
5769 return NULL;
5770 }
5771
5772
5773 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
5774 PyObject *resultobj;
5775 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5776 wxWindow *arg2 = (wxWindow *) 0 ;
5777 wxWindow *arg3 = (wxWindow *) 0 ;
5778 int arg4 = (int) 0 ;
5779 bool result;
5780 PyObject * obj0 = 0 ;
5781 PyObject * obj1 = 0 ;
5782 PyObject * obj2 = 0 ;
5783 PyObject * obj3 = 0 ;
5784 char *kwnames[] = {
5785 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5786 };
5787
5788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5791 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5793 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5795 if (obj3) {
5796 arg4 = (int) SWIG_AsInt(obj3);
5797 if (PyErr_Occurred()) SWIG_fail;
5798 }
5799 {
5800 PyThreadState* __tstate = wxPyBeginAllowThreads();
5801 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5802
5803 wxPyEndAllowThreads(__tstate);
5804 if (PyErr_Occurred()) SWIG_fail;
5805 }
5806 {
5807 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5808 }
5809 return resultobj;
5810 fail:
5811 return NULL;
5812 }
5813
5814
5815 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
5816 PyObject *resultobj;
5817 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5818 wxWindow *arg2 = (wxWindow *) NULL ;
5819 bool result;
5820 PyObject * obj0 = 0 ;
5821 PyObject * obj1 = 0 ;
5822 char *kwnames[] = {
5823 (char *) "self",(char *) "toRemove", NULL
5824 };
5825
5826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5829 if (obj1) {
5830 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5832 }
5833 {
5834 PyThreadState* __tstate = wxPyBeginAllowThreads();
5835 result = (bool)(arg1)->Unsplit(arg2);
5836
5837 wxPyEndAllowThreads(__tstate);
5838 if (PyErr_Occurred()) SWIG_fail;
5839 }
5840 {
5841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5842 }
5843 return resultobj;
5844 fail:
5845 return NULL;
5846 }
5847
5848
5849 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5850 PyObject *resultobj;
5851 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5852 wxWindow *arg2 = (wxWindow *) 0 ;
5853 wxWindow *arg3 = (wxWindow *) 0 ;
5854 bool result;
5855 PyObject * obj0 = 0 ;
5856 PyObject * obj1 = 0 ;
5857 PyObject * obj2 = 0 ;
5858 char *kwnames[] = {
5859 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5860 };
5861
5862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5865 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5867 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5869 {
5870 PyThreadState* __tstate = wxPyBeginAllowThreads();
5871 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5872
5873 wxPyEndAllowThreads(__tstate);
5874 if (PyErr_Occurred()) SWIG_fail;
5875 }
5876 {
5877 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5878 }
5879 return resultobj;
5880 fail:
5881 return NULL;
5882 }
5883
5884
5885 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
5886 PyObject *resultobj;
5887 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5888 PyObject * obj0 = 0 ;
5889 char *kwnames[] = {
5890 (char *) "self", NULL
5891 };
5892
5893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
5894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5896 {
5897 PyThreadState* __tstate = wxPyBeginAllowThreads();
5898 (arg1)->UpdateSize();
5899
5900 wxPyEndAllowThreads(__tstate);
5901 if (PyErr_Occurred()) SWIG_fail;
5902 }
5903 Py_INCREF(Py_None); resultobj = Py_None;
5904 return resultobj;
5905 fail:
5906 return NULL;
5907 }
5908
5909
5910 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
5911 PyObject *resultobj;
5912 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5913 bool result;
5914 PyObject * obj0 = 0 ;
5915 char *kwnames[] = {
5916 (char *) "self", NULL
5917 };
5918
5919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5922 {
5923 PyThreadState* __tstate = wxPyBeginAllowThreads();
5924 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5925
5926 wxPyEndAllowThreads(__tstate);
5927 if (PyErr_Occurred()) SWIG_fail;
5928 }
5929 {
5930 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5931 }
5932 return resultobj;
5933 fail:
5934 return NULL;
5935 }
5936
5937
5938 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
5939 PyObject *resultobj;
5940 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5941 int arg2 ;
5942 PyObject * obj0 = 0 ;
5943 PyObject * obj1 = 0 ;
5944 char *kwnames[] = {
5945 (char *) "self",(char *) "width", NULL
5946 };
5947
5948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
5949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5951 arg2 = (int) SWIG_AsInt(obj1);
5952 if (PyErr_Occurred()) SWIG_fail;
5953 {
5954 PyThreadState* __tstate = wxPyBeginAllowThreads();
5955 (arg1)->SetSashSize(arg2);
5956
5957 wxPyEndAllowThreads(__tstate);
5958 if (PyErr_Occurred()) SWIG_fail;
5959 }
5960 Py_INCREF(Py_None); resultobj = Py_None;
5961 return resultobj;
5962 fail:
5963 return NULL;
5964 }
5965
5966
5967 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
5968 PyObject *resultobj;
5969 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5970 int arg2 ;
5971 PyObject * obj0 = 0 ;
5972 PyObject * obj1 = 0 ;
5973 char *kwnames[] = {
5974 (char *) "self",(char *) "width", NULL
5975 };
5976
5977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
5978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5980 arg2 = (int) SWIG_AsInt(obj1);
5981 if (PyErr_Occurred()) SWIG_fail;
5982 {
5983 PyThreadState* __tstate = wxPyBeginAllowThreads();
5984 (arg1)->SetBorderSize(arg2);
5985
5986 wxPyEndAllowThreads(__tstate);
5987 if (PyErr_Occurred()) SWIG_fail;
5988 }
5989 Py_INCREF(Py_None); resultobj = Py_None;
5990 return resultobj;
5991 fail:
5992 return NULL;
5993 }
5994
5995
5996 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
5997 PyObject *resultobj;
5998 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5999 int result;
6000 PyObject * obj0 = 0 ;
6001 char *kwnames[] = {
6002 (char *) "self", NULL
6003 };
6004
6005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
6006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6008 {
6009 PyThreadState* __tstate = wxPyBeginAllowThreads();
6010 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
6011
6012 wxPyEndAllowThreads(__tstate);
6013 if (PyErr_Occurred()) SWIG_fail;
6014 }
6015 resultobj = SWIG_FromInt((int)result);
6016 return resultobj;
6017 fail:
6018 return NULL;
6019 }
6020
6021
6022 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6023 PyObject *resultobj;
6024 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6025 int result;
6026 PyObject * obj0 = 0 ;
6027 char *kwnames[] = {
6028 (char *) "self", NULL
6029 };
6030
6031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
6032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6034 {
6035 PyThreadState* __tstate = wxPyBeginAllowThreads();
6036 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
6037
6038 wxPyEndAllowThreads(__tstate);
6039 if (PyErr_Occurred()) SWIG_fail;
6040 }
6041 resultobj = SWIG_FromInt((int)result);
6042 return resultobj;
6043 fail:
6044 return NULL;
6045 }
6046
6047
6048 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6049 PyObject *resultobj;
6050 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6051 int arg2 ;
6052 bool arg3 = (bool) True ;
6053 PyObject * obj0 = 0 ;
6054 PyObject * obj1 = 0 ;
6055 PyObject * obj2 = 0 ;
6056 char *kwnames[] = {
6057 (char *) "self",(char *) "position",(char *) "redraw", NULL
6058 };
6059
6060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
6061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6063 arg2 = (int) SWIG_AsInt(obj1);
6064 if (PyErr_Occurred()) SWIG_fail;
6065 if (obj2) {
6066 arg3 = (bool) SWIG_AsBool(obj2);
6067 if (PyErr_Occurred()) SWIG_fail;
6068 }
6069 {
6070 PyThreadState* __tstate = wxPyBeginAllowThreads();
6071 (arg1)->SetSashPosition(arg2,arg3);
6072
6073 wxPyEndAllowThreads(__tstate);
6074 if (PyErr_Occurred()) SWIG_fail;
6075 }
6076 Py_INCREF(Py_None); resultobj = Py_None;
6077 return resultobj;
6078 fail:
6079 return NULL;
6080 }
6081
6082
6083 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6084 PyObject *resultobj;
6085 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6086 int result;
6087 PyObject * obj0 = 0 ;
6088 char *kwnames[] = {
6089 (char *) "self", NULL
6090 };
6091
6092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
6093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6095 {
6096 PyThreadState* __tstate = wxPyBeginAllowThreads();
6097 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6098
6099 wxPyEndAllowThreads(__tstate);
6100 if (PyErr_Occurred()) SWIG_fail;
6101 }
6102 resultobj = SWIG_FromInt((int)result);
6103 return resultobj;
6104 fail:
6105 return NULL;
6106 }
6107
6108
6109 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
6110 PyObject *resultobj;
6111 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6112 int arg2 ;
6113 PyObject * obj0 = 0 ;
6114 PyObject * obj1 = 0 ;
6115 char *kwnames[] = {
6116 (char *) "self",(char *) "min", NULL
6117 };
6118
6119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6122 arg2 = (int) SWIG_AsInt(obj1);
6123 if (PyErr_Occurred()) SWIG_fail;
6124 {
6125 PyThreadState* __tstate = wxPyBeginAllowThreads();
6126 (arg1)->SetMinimumPaneSize(arg2);
6127
6128 wxPyEndAllowThreads(__tstate);
6129 if (PyErr_Occurred()) SWIG_fail;
6130 }
6131 Py_INCREF(Py_None); resultobj = Py_None;
6132 return resultobj;
6133 fail:
6134 return NULL;
6135 }
6136
6137
6138 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
6139 PyObject *resultobj;
6140 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6141 int result;
6142 PyObject * obj0 = 0 ;
6143 char *kwnames[] = {
6144 (char *) "self", NULL
6145 };
6146
6147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6150 {
6151 PyThreadState* __tstate = wxPyBeginAllowThreads();
6152 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6153
6154 wxPyEndAllowThreads(__tstate);
6155 if (PyErr_Occurred()) SWIG_fail;
6156 }
6157 resultobj = SWIG_FromInt((int)result);
6158 return resultobj;
6159 fail:
6160 return NULL;
6161 }
6162
6163
6164 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
6165 PyObject *resultobj;
6166 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6167 int arg2 ;
6168 int arg3 ;
6169 int arg4 = (int) 5 ;
6170 bool result;
6171 PyObject * obj0 = 0 ;
6172 PyObject * obj1 = 0 ;
6173 PyObject * obj2 = 0 ;
6174 PyObject * obj3 = 0 ;
6175 char *kwnames[] = {
6176 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6177 };
6178
6179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6182 arg2 = (int) SWIG_AsInt(obj1);
6183 if (PyErr_Occurred()) SWIG_fail;
6184 arg3 = (int) SWIG_AsInt(obj2);
6185 if (PyErr_Occurred()) SWIG_fail;
6186 if (obj3) {
6187 arg4 = (int) SWIG_AsInt(obj3);
6188 if (PyErr_Occurred()) SWIG_fail;
6189 }
6190 {
6191 PyThreadState* __tstate = wxPyBeginAllowThreads();
6192 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6193
6194 wxPyEndAllowThreads(__tstate);
6195 if (PyErr_Occurred()) SWIG_fail;
6196 }
6197 {
6198 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6199 }
6200 return resultobj;
6201 fail:
6202 return NULL;
6203 }
6204
6205
6206 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
6207 PyObject *resultobj;
6208 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6209 PyObject * obj0 = 0 ;
6210 char *kwnames[] = {
6211 (char *) "self", NULL
6212 };
6213
6214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6217 {
6218 PyThreadState* __tstate = wxPyBeginAllowThreads();
6219 (arg1)->SizeWindows();
6220
6221 wxPyEndAllowThreads(__tstate);
6222 if (PyErr_Occurred()) SWIG_fail;
6223 }
6224 Py_INCREF(Py_None); resultobj = Py_None;
6225 return resultobj;
6226 fail:
6227 return NULL;
6228 }
6229
6230
6231 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
6232 PyObject *resultobj;
6233 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6234 bool arg2 ;
6235 PyObject * obj0 = 0 ;
6236 PyObject * obj1 = 0 ;
6237 char *kwnames[] = {
6238 (char *) "self",(char *) "needUpdating", NULL
6239 };
6240
6241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6244 arg2 = (bool) SWIG_AsBool(obj1);
6245 if (PyErr_Occurred()) SWIG_fail;
6246 {
6247 PyThreadState* __tstate = wxPyBeginAllowThreads();
6248 (arg1)->SetNeedUpdating(arg2);
6249
6250 wxPyEndAllowThreads(__tstate);
6251 if (PyErr_Occurred()) SWIG_fail;
6252 }
6253 Py_INCREF(Py_None); resultobj = Py_None;
6254 return resultobj;
6255 fail:
6256 return NULL;
6257 }
6258
6259
6260 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
6261 PyObject *resultobj;
6262 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6263 bool result;
6264 PyObject * obj0 = 0 ;
6265 char *kwnames[] = {
6266 (char *) "self", NULL
6267 };
6268
6269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6272 {
6273 PyThreadState* __tstate = wxPyBeginAllowThreads();
6274 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6275
6276 wxPyEndAllowThreads(__tstate);
6277 if (PyErr_Occurred()) SWIG_fail;
6278 }
6279 {
6280 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6281 }
6282 return resultobj;
6283 fail:
6284 return NULL;
6285 }
6286
6287
6288 static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
6289 PyObject *obj;
6290 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6291 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6292 Py_INCREF(obj);
6293 return Py_BuildValue((char *)"");
6294 }
6295 static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
6296 PyObject *resultobj;
6297 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6298 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6299 wxSplitterEvent *result;
6300 PyObject * obj0 = 0 ;
6301 PyObject * obj1 = 0 ;
6302 char *kwnames[] = {
6303 (char *) "type",(char *) "splitter", NULL
6304 };
6305
6306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6307 if (obj0) {
6308 arg1 = (wxEventType) SWIG_AsInt(obj0);
6309 if (PyErr_Occurred()) SWIG_fail;
6310 }
6311 if (obj1) {
6312 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6314 }
6315 {
6316 PyThreadState* __tstate = wxPyBeginAllowThreads();
6317 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6318
6319 wxPyEndAllowThreads(__tstate);
6320 if (PyErr_Occurred()) SWIG_fail;
6321 }
6322 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6323 return resultobj;
6324 fail:
6325 return NULL;
6326 }
6327
6328
6329 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6330 PyObject *resultobj;
6331 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6332 int arg2 ;
6333 PyObject * obj0 = 0 ;
6334 PyObject * obj1 = 0 ;
6335 char *kwnames[] = {
6336 (char *) "self",(char *) "pos", NULL
6337 };
6338
6339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6342 arg2 = (int) SWIG_AsInt(obj1);
6343 if (PyErr_Occurred()) SWIG_fail;
6344 {
6345 PyThreadState* __tstate = wxPyBeginAllowThreads();
6346 (arg1)->SetSashPosition(arg2);
6347
6348 wxPyEndAllowThreads(__tstate);
6349 if (PyErr_Occurred()) SWIG_fail;
6350 }
6351 Py_INCREF(Py_None); resultobj = Py_None;
6352 return resultobj;
6353 fail:
6354 return NULL;
6355 }
6356
6357
6358 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6359 PyObject *resultobj;
6360 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6361 int result;
6362 PyObject * obj0 = 0 ;
6363 char *kwnames[] = {
6364 (char *) "self", NULL
6365 };
6366
6367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6370 {
6371 PyThreadState* __tstate = wxPyBeginAllowThreads();
6372 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6373
6374 wxPyEndAllowThreads(__tstate);
6375 if (PyErr_Occurred()) SWIG_fail;
6376 }
6377 resultobj = SWIG_FromInt((int)result);
6378 return resultobj;
6379 fail:
6380 return NULL;
6381 }
6382
6383
6384 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
6385 PyObject *resultobj;
6386 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6387 wxWindow *result;
6388 PyObject * obj0 = 0 ;
6389 char *kwnames[] = {
6390 (char *) "self", NULL
6391 };
6392
6393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6396 {
6397 PyThreadState* __tstate = wxPyBeginAllowThreads();
6398 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6399
6400 wxPyEndAllowThreads(__tstate);
6401 if (PyErr_Occurred()) SWIG_fail;
6402 }
6403 {
6404 resultobj = wxPyMake_wxObject(result);
6405 }
6406 return resultobj;
6407 fail:
6408 return NULL;
6409 }
6410
6411
6412 static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
6413 PyObject *resultobj;
6414 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6415 int result;
6416 PyObject * obj0 = 0 ;
6417 char *kwnames[] = {
6418 (char *) "self", NULL
6419 };
6420
6421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6424 {
6425 PyThreadState* __tstate = wxPyBeginAllowThreads();
6426 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6427
6428 wxPyEndAllowThreads(__tstate);
6429 if (PyErr_Occurred()) SWIG_fail;
6430 }
6431 resultobj = SWIG_FromInt((int)result);
6432 return resultobj;
6433 fail:
6434 return NULL;
6435 }
6436
6437
6438 static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
6439 PyObject *resultobj;
6440 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6441 int result;
6442 PyObject * obj0 = 0 ;
6443 char *kwnames[] = {
6444 (char *) "self", NULL
6445 };
6446
6447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6450 {
6451 PyThreadState* __tstate = wxPyBeginAllowThreads();
6452 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6453
6454 wxPyEndAllowThreads(__tstate);
6455 if (PyErr_Occurred()) SWIG_fail;
6456 }
6457 resultobj = SWIG_FromInt((int)result);
6458 return resultobj;
6459 fail:
6460 return NULL;
6461 }
6462
6463
6464 static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
6465 PyObject *obj;
6466 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6467 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6468 Py_INCREF(obj);
6469 return Py_BuildValue((char *)"");
6470 }
6471 static int _wrap_SashNameStr_set(PyObject *) {
6472 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6473 return 1;
6474 }
6475
6476
6477 static PyObject *_wrap_SashNameStr_get() {
6478 PyObject *pyobj;
6479
6480 {
6481 #if wxUSE_UNICODE
6482 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6483 #else
6484 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6485 #endif
6486 }
6487 return pyobj;
6488 }
6489
6490
6491 static int _wrap_SashLayoutNameStr_set(PyObject *) {
6492 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6493 return 1;
6494 }
6495
6496
6497 static PyObject *_wrap_SashLayoutNameStr_get() {
6498 PyObject *pyobj;
6499
6500 {
6501 #if wxUSE_UNICODE
6502 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6503 #else
6504 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6505 #endif
6506 }
6507 return pyobj;
6508 }
6509
6510
6511 static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6512 PyObject *resultobj;
6513 wxWindow *arg1 = (wxWindow *) 0 ;
6514 int arg2 ;
6515 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6516 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6517 wxSize const &arg4_defvalue = wxDefaultSize ;
6518 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6519 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6520 wxString const &arg6_defvalue = wxPySashNameStr ;
6521 wxString *arg6 = (wxString *) &arg6_defvalue ;
6522 wxSashWindow *result;
6523 wxPoint temp3 ;
6524 wxSize temp4 ;
6525 bool temp6 = False ;
6526 PyObject * obj0 = 0 ;
6527 PyObject * obj1 = 0 ;
6528 PyObject * obj2 = 0 ;
6529 PyObject * obj3 = 0 ;
6530 PyObject * obj4 = 0 ;
6531 PyObject * obj5 = 0 ;
6532 char *kwnames[] = {
6533 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6534 };
6535
6536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6539 arg2 = (int) SWIG_AsInt(obj1);
6540 if (PyErr_Occurred()) SWIG_fail;
6541 if (obj2) {
6542 {
6543 arg3 = &temp3;
6544 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6545 }
6546 }
6547 if (obj3) {
6548 {
6549 arg4 = &temp4;
6550 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6551 }
6552 }
6553 if (obj4) {
6554 arg5 = (long) SWIG_AsLong(obj4);
6555 if (PyErr_Occurred()) SWIG_fail;
6556 }
6557 if (obj5) {
6558 {
6559 arg6 = wxString_in_helper(obj5);
6560 if (arg6 == NULL) SWIG_fail;
6561 temp6 = True;
6562 }
6563 }
6564 {
6565 PyThreadState* __tstate = wxPyBeginAllowThreads();
6566 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6567
6568 wxPyEndAllowThreads(__tstate);
6569 if (PyErr_Occurred()) SWIG_fail;
6570 }
6571 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6572 {
6573 if (temp6)
6574 delete arg6;
6575 }
6576 return resultobj;
6577 fail:
6578 {
6579 if (temp6)
6580 delete arg6;
6581 }
6582 return NULL;
6583 }
6584
6585
6586 static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6587 PyObject *resultobj;
6588 wxSashWindow *result;
6589 char *kwnames[] = {
6590 NULL
6591 };
6592
6593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6594 {
6595 PyThreadState* __tstate = wxPyBeginAllowThreads();
6596 result = (wxSashWindow *)new wxSashWindow();
6597
6598 wxPyEndAllowThreads(__tstate);
6599 if (PyErr_Occurred()) SWIG_fail;
6600 }
6601 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6602 return resultobj;
6603 fail:
6604 return NULL;
6605 }
6606
6607
6608 static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6609 PyObject *resultobj;
6610 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6611 wxWindow *arg2 = (wxWindow *) 0 ;
6612 int arg3 ;
6613 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6614 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6615 wxSize const &arg5_defvalue = wxDefaultSize ;
6616 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6617 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6618 wxString const &arg7_defvalue = wxPySashNameStr ;
6619 wxString *arg7 = (wxString *) &arg7_defvalue ;
6620 bool result;
6621 wxPoint temp4 ;
6622 wxSize temp5 ;
6623 bool temp7 = False ;
6624 PyObject * obj0 = 0 ;
6625 PyObject * obj1 = 0 ;
6626 PyObject * obj2 = 0 ;
6627 PyObject * obj3 = 0 ;
6628 PyObject * obj4 = 0 ;
6629 PyObject * obj5 = 0 ;
6630 PyObject * obj6 = 0 ;
6631 char *kwnames[] = {
6632 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6633 };
6634
6635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6638 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6640 arg3 = (int) SWIG_AsInt(obj2);
6641 if (PyErr_Occurred()) SWIG_fail;
6642 if (obj3) {
6643 {
6644 arg4 = &temp4;
6645 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6646 }
6647 }
6648 if (obj4) {
6649 {
6650 arg5 = &temp5;
6651 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6652 }
6653 }
6654 if (obj5) {
6655 arg6 = (long) SWIG_AsLong(obj5);
6656 if (PyErr_Occurred()) SWIG_fail;
6657 }
6658 if (obj6) {
6659 {
6660 arg7 = wxString_in_helper(obj6);
6661 if (arg7 == NULL) SWIG_fail;
6662 temp7 = True;
6663 }
6664 }
6665 {
6666 PyThreadState* __tstate = wxPyBeginAllowThreads();
6667 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6668
6669 wxPyEndAllowThreads(__tstate);
6670 if (PyErr_Occurred()) SWIG_fail;
6671 }
6672 {
6673 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6674 }
6675 {
6676 if (temp7)
6677 delete arg7;
6678 }
6679 return resultobj;
6680 fail:
6681 {
6682 if (temp7)
6683 delete arg7;
6684 }
6685 return NULL;
6686 }
6687
6688
6689 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
6690 PyObject *resultobj;
6691 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6692 int arg2 ;
6693 bool arg3 ;
6694 PyObject * obj0 = 0 ;
6695 PyObject * obj1 = 0 ;
6696 PyObject * obj2 = 0 ;
6697 char *kwnames[] = {
6698 (char *) "self",(char *) "edge",(char *) "sash", NULL
6699 };
6700
6701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
6702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6704 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6705 if (PyErr_Occurred()) SWIG_fail;
6706 arg3 = (bool) SWIG_AsBool(obj2);
6707 if (PyErr_Occurred()) SWIG_fail;
6708 {
6709 PyThreadState* __tstate = wxPyBeginAllowThreads();
6710 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6711
6712 wxPyEndAllowThreads(__tstate);
6713 if (PyErr_Occurred()) SWIG_fail;
6714 }
6715 Py_INCREF(Py_None); resultobj = Py_None;
6716 return resultobj;
6717 fail:
6718 return NULL;
6719 }
6720
6721
6722 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
6723 PyObject *resultobj;
6724 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6725 int arg2 ;
6726 bool result;
6727 PyObject * obj0 = 0 ;
6728 PyObject * obj1 = 0 ;
6729 char *kwnames[] = {
6730 (char *) "self",(char *) "edge", NULL
6731 };
6732
6733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
6734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6736 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6737 if (PyErr_Occurred()) SWIG_fail;
6738 {
6739 PyThreadState* __tstate = wxPyBeginAllowThreads();
6740 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
6741
6742 wxPyEndAllowThreads(__tstate);
6743 if (PyErr_Occurred()) SWIG_fail;
6744 }
6745 {
6746 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6747 }
6748 return resultobj;
6749 fail:
6750 return NULL;
6751 }
6752
6753
6754 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
6755 PyObject *resultobj;
6756 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6757 int arg2 ;
6758 bool arg3 ;
6759 PyObject * obj0 = 0 ;
6760 PyObject * obj1 = 0 ;
6761 PyObject * obj2 = 0 ;
6762 char *kwnames[] = {
6763 (char *) "self",(char *) "edge",(char *) "border", NULL
6764 };
6765
6766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
6767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6769 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6770 if (PyErr_Occurred()) SWIG_fail;
6771 arg3 = (bool) SWIG_AsBool(obj2);
6772 if (PyErr_Occurred()) SWIG_fail;
6773 {
6774 PyThreadState* __tstate = wxPyBeginAllowThreads();
6775 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
6776
6777 wxPyEndAllowThreads(__tstate);
6778 if (PyErr_Occurred()) SWIG_fail;
6779 }
6780 Py_INCREF(Py_None); resultobj = Py_None;
6781 return resultobj;
6782 fail:
6783 return NULL;
6784 }
6785
6786
6787 static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
6788 PyObject *resultobj;
6789 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6790 int arg2 ;
6791 bool result;
6792 PyObject * obj0 = 0 ;
6793 PyObject * obj1 = 0 ;
6794 char *kwnames[] = {
6795 (char *) "self",(char *) "edge", NULL
6796 };
6797
6798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
6799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6801 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6802 if (PyErr_Occurred()) SWIG_fail;
6803 {
6804 PyThreadState* __tstate = wxPyBeginAllowThreads();
6805 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
6806
6807 wxPyEndAllowThreads(__tstate);
6808 if (PyErr_Occurred()) SWIG_fail;
6809 }
6810 {
6811 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6812 }
6813 return resultobj;
6814 fail:
6815 return NULL;
6816 }
6817
6818
6819 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
6820 PyObject *resultobj;
6821 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6822 int arg2 ;
6823 int result;
6824 PyObject * obj0 = 0 ;
6825 PyObject * obj1 = 0 ;
6826 char *kwnames[] = {
6827 (char *) "self",(char *) "edge", NULL
6828 };
6829
6830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
6831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6833 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6834 if (PyErr_Occurred()) SWIG_fail;
6835 {
6836 PyThreadState* __tstate = wxPyBeginAllowThreads();
6837 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
6838
6839 wxPyEndAllowThreads(__tstate);
6840 if (PyErr_Occurred()) SWIG_fail;
6841 }
6842 resultobj = SWIG_FromInt((int)result);
6843 return resultobj;
6844 fail:
6845 return NULL;
6846 }
6847
6848
6849 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6850 PyObject *resultobj;
6851 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6852 int arg2 ;
6853 PyObject * obj0 = 0 ;
6854 PyObject * obj1 = 0 ;
6855 char *kwnames[] = {
6856 (char *) "self",(char *) "width", NULL
6857 };
6858
6859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
6860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6862 arg2 = (int) SWIG_AsInt(obj1);
6863 if (PyErr_Occurred()) SWIG_fail;
6864 {
6865 PyThreadState* __tstate = wxPyBeginAllowThreads();
6866 (arg1)->SetDefaultBorderSize(arg2);
6867
6868 wxPyEndAllowThreads(__tstate);
6869 if (PyErr_Occurred()) SWIG_fail;
6870 }
6871 Py_INCREF(Py_None); resultobj = Py_None;
6872 return resultobj;
6873 fail:
6874 return NULL;
6875 }
6876
6877
6878 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6879 PyObject *resultobj;
6880 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6881 int result;
6882 PyObject * obj0 = 0 ;
6883 char *kwnames[] = {
6884 (char *) "self", NULL
6885 };
6886
6887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
6888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6890 {
6891 PyThreadState* __tstate = wxPyBeginAllowThreads();
6892 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
6893
6894 wxPyEndAllowThreads(__tstate);
6895 if (PyErr_Occurred()) SWIG_fail;
6896 }
6897 resultobj = SWIG_FromInt((int)result);
6898 return resultobj;
6899 fail:
6900 return NULL;
6901 }
6902
6903
6904 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6905 PyObject *resultobj;
6906 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6907 int arg2 ;
6908 PyObject * obj0 = 0 ;
6909 PyObject * obj1 = 0 ;
6910 char *kwnames[] = {
6911 (char *) "self",(char *) "width", NULL
6912 };
6913
6914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
6915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6917 arg2 = (int) SWIG_AsInt(obj1);
6918 if (PyErr_Occurred()) SWIG_fail;
6919 {
6920 PyThreadState* __tstate = wxPyBeginAllowThreads();
6921 (arg1)->SetExtraBorderSize(arg2);
6922
6923 wxPyEndAllowThreads(__tstate);
6924 if (PyErr_Occurred()) SWIG_fail;
6925 }
6926 Py_INCREF(Py_None); resultobj = Py_None;
6927 return resultobj;
6928 fail:
6929 return NULL;
6930 }
6931
6932
6933 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6934 PyObject *resultobj;
6935 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6936 int result;
6937 PyObject * obj0 = 0 ;
6938 char *kwnames[] = {
6939 (char *) "self", NULL
6940 };
6941
6942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
6943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6945 {
6946 PyThreadState* __tstate = wxPyBeginAllowThreads();
6947 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
6948
6949 wxPyEndAllowThreads(__tstate);
6950 if (PyErr_Occurred()) SWIG_fail;
6951 }
6952 resultobj = SWIG_FromInt((int)result);
6953 return resultobj;
6954 fail:
6955 return NULL;
6956 }
6957
6958
6959 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
6960 PyObject *resultobj;
6961 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6962 int arg2 ;
6963 PyObject * obj0 = 0 ;
6964 PyObject * obj1 = 0 ;
6965 char *kwnames[] = {
6966 (char *) "self",(char *) "min", NULL
6967 };
6968
6969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) 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 {
6975 PyThreadState* __tstate = wxPyBeginAllowThreads();
6976 (arg1)->SetMinimumSizeX(arg2);
6977
6978 wxPyEndAllowThreads(__tstate);
6979 if (PyErr_Occurred()) SWIG_fail;
6980 }
6981 Py_INCREF(Py_None); resultobj = Py_None;
6982 return resultobj;
6983 fail:
6984 return NULL;
6985 }
6986
6987
6988 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
6989 PyObject *resultobj;
6990 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6991 int arg2 ;
6992 PyObject * obj0 = 0 ;
6993 PyObject * obj1 = 0 ;
6994 char *kwnames[] = {
6995 (char *) "self",(char *) "min", NULL
6996 };
6997
6998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
6999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7001 arg2 = (int) SWIG_AsInt(obj1);
7002 if (PyErr_Occurred()) SWIG_fail;
7003 {
7004 PyThreadState* __tstate = wxPyBeginAllowThreads();
7005 (arg1)->SetMinimumSizeY(arg2);
7006
7007 wxPyEndAllowThreads(__tstate);
7008 if (PyErr_Occurred()) SWIG_fail;
7009 }
7010 Py_INCREF(Py_None); resultobj = Py_None;
7011 return resultobj;
7012 fail:
7013 return NULL;
7014 }
7015
7016
7017 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7018 PyObject *resultobj;
7019 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7020 int result;
7021 PyObject * obj0 = 0 ;
7022 char *kwnames[] = {
7023 (char *) "self", NULL
7024 };
7025
7026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
7027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7029 {
7030 PyThreadState* __tstate = wxPyBeginAllowThreads();
7031 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
7032
7033 wxPyEndAllowThreads(__tstate);
7034 if (PyErr_Occurred()) SWIG_fail;
7035 }
7036 resultobj = SWIG_FromInt((int)result);
7037 return resultobj;
7038 fail:
7039 return NULL;
7040 }
7041
7042
7043 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7044 PyObject *resultobj;
7045 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7046 int result;
7047 PyObject * obj0 = 0 ;
7048 char *kwnames[] = {
7049 (char *) "self", NULL
7050 };
7051
7052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
7053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7055 {
7056 PyThreadState* __tstate = wxPyBeginAllowThreads();
7057 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
7058
7059 wxPyEndAllowThreads(__tstate);
7060 if (PyErr_Occurred()) SWIG_fail;
7061 }
7062 resultobj = SWIG_FromInt((int)result);
7063 return resultobj;
7064 fail:
7065 return NULL;
7066 }
7067
7068
7069 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7070 PyObject *resultobj;
7071 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7072 int arg2 ;
7073 PyObject * obj0 = 0 ;
7074 PyObject * obj1 = 0 ;
7075 char *kwnames[] = {
7076 (char *) "self",(char *) "max", NULL
7077 };
7078
7079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
7080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7082 arg2 = (int) SWIG_AsInt(obj1);
7083 if (PyErr_Occurred()) SWIG_fail;
7084 {
7085 PyThreadState* __tstate = wxPyBeginAllowThreads();
7086 (arg1)->SetMaximumSizeX(arg2);
7087
7088 wxPyEndAllowThreads(__tstate);
7089 if (PyErr_Occurred()) SWIG_fail;
7090 }
7091 Py_INCREF(Py_None); resultobj = Py_None;
7092 return resultobj;
7093 fail:
7094 return NULL;
7095 }
7096
7097
7098 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7099 PyObject *resultobj;
7100 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7101 int arg2 ;
7102 PyObject * obj0 = 0 ;
7103 PyObject * obj1 = 0 ;
7104 char *kwnames[] = {
7105 (char *) "self",(char *) "max", NULL
7106 };
7107
7108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7111 arg2 = (int) SWIG_AsInt(obj1);
7112 if (PyErr_Occurred()) SWIG_fail;
7113 {
7114 PyThreadState* __tstate = wxPyBeginAllowThreads();
7115 (arg1)->SetMaximumSizeY(arg2);
7116
7117 wxPyEndAllowThreads(__tstate);
7118 if (PyErr_Occurred()) SWIG_fail;
7119 }
7120 Py_INCREF(Py_None); resultobj = Py_None;
7121 return resultobj;
7122 fail:
7123 return NULL;
7124 }
7125
7126
7127 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7128 PyObject *resultobj;
7129 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7130 int result;
7131 PyObject * obj0 = 0 ;
7132 char *kwnames[] = {
7133 (char *) "self", NULL
7134 };
7135
7136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7139 {
7140 PyThreadState* __tstate = wxPyBeginAllowThreads();
7141 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7142
7143 wxPyEndAllowThreads(__tstate);
7144 if (PyErr_Occurred()) SWIG_fail;
7145 }
7146 resultobj = SWIG_FromInt((int)result);
7147 return resultobj;
7148 fail:
7149 return NULL;
7150 }
7151
7152
7153 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7154 PyObject *resultobj;
7155 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7156 int result;
7157 PyObject * obj0 = 0 ;
7158 char *kwnames[] = {
7159 (char *) "self", NULL
7160 };
7161
7162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7165 {
7166 PyThreadState* __tstate = wxPyBeginAllowThreads();
7167 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7168
7169 wxPyEndAllowThreads(__tstate);
7170 if (PyErr_Occurred()) SWIG_fail;
7171 }
7172 resultobj = SWIG_FromInt((int)result);
7173 return resultobj;
7174 fail:
7175 return NULL;
7176 }
7177
7178
7179 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
7180 PyObject *resultobj;
7181 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7182 int arg2 ;
7183 int arg3 ;
7184 int arg4 = (int) 2 ;
7185 int result;
7186 PyObject * obj0 = 0 ;
7187 PyObject * obj1 = 0 ;
7188 PyObject * obj2 = 0 ;
7189 PyObject * obj3 = 0 ;
7190 char *kwnames[] = {
7191 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7192 };
7193
7194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7197 arg2 = (int) SWIG_AsInt(obj1);
7198 if (PyErr_Occurred()) SWIG_fail;
7199 arg3 = (int) SWIG_AsInt(obj2);
7200 if (PyErr_Occurred()) SWIG_fail;
7201 if (obj3) {
7202 arg4 = (int) SWIG_AsInt(obj3);
7203 if (PyErr_Occurred()) SWIG_fail;
7204 }
7205 {
7206 PyThreadState* __tstate = wxPyBeginAllowThreads();
7207 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7208
7209 wxPyEndAllowThreads(__tstate);
7210 if (PyErr_Occurred()) SWIG_fail;
7211 }
7212 resultobj = SWIG_FromInt((int)result);
7213 return resultobj;
7214 fail:
7215 return NULL;
7216 }
7217
7218
7219 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
7220 PyObject *resultobj;
7221 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7222 PyObject * obj0 = 0 ;
7223 char *kwnames[] = {
7224 (char *) "self", NULL
7225 };
7226
7227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7230 {
7231 PyThreadState* __tstate = wxPyBeginAllowThreads();
7232 (arg1)->SizeWindows();
7233
7234 wxPyEndAllowThreads(__tstate);
7235 if (PyErr_Occurred()) SWIG_fail;
7236 }
7237 Py_INCREF(Py_None); resultobj = Py_None;
7238 return resultobj;
7239 fail:
7240 return NULL;
7241 }
7242
7243
7244 static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
7245 PyObject *obj;
7246 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7247 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7248 Py_INCREF(obj);
7249 return Py_BuildValue((char *)"");
7250 }
7251 static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7252 PyObject *resultobj;
7253 int arg1 = (int) 0 ;
7254 int arg2 = (int) wxSASH_NONE ;
7255 wxSashEvent *result;
7256 PyObject * obj0 = 0 ;
7257 PyObject * obj1 = 0 ;
7258 char *kwnames[] = {
7259 (char *) "id",(char *) "edge", NULL
7260 };
7261
7262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7263 if (obj0) {
7264 arg1 = (int) SWIG_AsInt(obj0);
7265 if (PyErr_Occurred()) SWIG_fail;
7266 }
7267 if (obj1) {
7268 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7269 if (PyErr_Occurred()) SWIG_fail;
7270 }
7271 {
7272 PyThreadState* __tstate = wxPyBeginAllowThreads();
7273 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7274
7275 wxPyEndAllowThreads(__tstate);
7276 if (PyErr_Occurred()) SWIG_fail;
7277 }
7278 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7279 return resultobj;
7280 fail:
7281 return NULL;
7282 }
7283
7284
7285 static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
7286 PyObject *resultobj;
7287 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7288 int arg2 ;
7289 PyObject * obj0 = 0 ;
7290 PyObject * obj1 = 0 ;
7291 char *kwnames[] = {
7292 (char *) "self",(char *) "edge", NULL
7293 };
7294
7295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7298 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7299 if (PyErr_Occurred()) SWIG_fail;
7300 {
7301 PyThreadState* __tstate = wxPyBeginAllowThreads();
7302 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7303
7304 wxPyEndAllowThreads(__tstate);
7305 if (PyErr_Occurred()) SWIG_fail;
7306 }
7307 Py_INCREF(Py_None); resultobj = Py_None;
7308 return resultobj;
7309 fail:
7310 return NULL;
7311 }
7312
7313
7314 static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
7315 PyObject *resultobj;
7316 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7317 int result;
7318 PyObject * obj0 = 0 ;
7319 char *kwnames[] = {
7320 (char *) "self", NULL
7321 };
7322
7323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7326 {
7327 PyThreadState* __tstate = wxPyBeginAllowThreads();
7328 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7329
7330 wxPyEndAllowThreads(__tstate);
7331 if (PyErr_Occurred()) SWIG_fail;
7332 }
7333 resultobj = SWIG_FromInt((int)result);
7334 return resultobj;
7335 fail:
7336 return NULL;
7337 }
7338
7339
7340 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
7341 PyObject *resultobj;
7342 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7343 wxRect *arg2 = 0 ;
7344 wxRect temp2 ;
7345 PyObject * obj0 = 0 ;
7346 PyObject * obj1 = 0 ;
7347 char *kwnames[] = {
7348 (char *) "self",(char *) "rect", NULL
7349 };
7350
7351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7354 {
7355 arg2 = &temp2;
7356 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7357 }
7358 {
7359 PyThreadState* __tstate = wxPyBeginAllowThreads();
7360 (arg1)->SetDragRect((wxRect const &)*arg2);
7361
7362 wxPyEndAllowThreads(__tstate);
7363 if (PyErr_Occurred()) SWIG_fail;
7364 }
7365 Py_INCREF(Py_None); resultobj = Py_None;
7366 return resultobj;
7367 fail:
7368 return NULL;
7369 }
7370
7371
7372 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
7373 PyObject *resultobj;
7374 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7375 wxRect result;
7376 PyObject * obj0 = 0 ;
7377 char *kwnames[] = {
7378 (char *) "self", NULL
7379 };
7380
7381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7384 {
7385 PyThreadState* __tstate = wxPyBeginAllowThreads();
7386 result = ((wxSashEvent const *)arg1)->GetDragRect();
7387
7388 wxPyEndAllowThreads(__tstate);
7389 if (PyErr_Occurred()) SWIG_fail;
7390 }
7391 {
7392 wxRect * resultptr;
7393 resultptr = new wxRect((wxRect &) result);
7394 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7395 }
7396 return resultobj;
7397 fail:
7398 return NULL;
7399 }
7400
7401
7402 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
7403 PyObject *resultobj;
7404 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7405 int arg2 ;
7406 PyObject * obj0 = 0 ;
7407 PyObject * obj1 = 0 ;
7408 char *kwnames[] = {
7409 (char *) "self",(char *) "status", NULL
7410 };
7411
7412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7415 arg2 = (wxSashDragStatus) SWIG_AsInt(obj1);
7416 if (PyErr_Occurred()) SWIG_fail;
7417 {
7418 PyThreadState* __tstate = wxPyBeginAllowThreads();
7419 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7420
7421 wxPyEndAllowThreads(__tstate);
7422 if (PyErr_Occurred()) SWIG_fail;
7423 }
7424 Py_INCREF(Py_None); resultobj = Py_None;
7425 return resultobj;
7426 fail:
7427 return NULL;
7428 }
7429
7430
7431 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
7432 PyObject *resultobj;
7433 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7434 int result;
7435 PyObject * obj0 = 0 ;
7436 char *kwnames[] = {
7437 (char *) "self", NULL
7438 };
7439
7440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7443 {
7444 PyThreadState* __tstate = wxPyBeginAllowThreads();
7445 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7446
7447 wxPyEndAllowThreads(__tstate);
7448 if (PyErr_Occurred()) SWIG_fail;
7449 }
7450 resultobj = SWIG_FromInt((int)result);
7451 return resultobj;
7452 fail:
7453 return NULL;
7454 }
7455
7456
7457 static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
7458 PyObject *obj;
7459 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7460 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7461 Py_INCREF(obj);
7462 return Py_BuildValue((char *)"");
7463 }
7464 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7465 PyObject *resultobj;
7466 int arg1 = (int) 0 ;
7467 wxQueryLayoutInfoEvent *result;
7468 PyObject * obj0 = 0 ;
7469 char *kwnames[] = {
7470 (char *) "id", NULL
7471 };
7472
7473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7474 if (obj0) {
7475 arg1 = (int) SWIG_AsInt(obj0);
7476 if (PyErr_Occurred()) SWIG_fail;
7477 }
7478 {
7479 PyThreadState* __tstate = wxPyBeginAllowThreads();
7480 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7481
7482 wxPyEndAllowThreads(__tstate);
7483 if (PyErr_Occurred()) SWIG_fail;
7484 }
7485 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7486 return resultobj;
7487 fail:
7488 return NULL;
7489 }
7490
7491
7492 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
7493 PyObject *resultobj;
7494 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7495 int arg2 ;
7496 PyObject * obj0 = 0 ;
7497 PyObject * obj1 = 0 ;
7498 char *kwnames[] = {
7499 (char *) "self",(char *) "length", NULL
7500 };
7501
7502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
7503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7505 arg2 = (int) SWIG_AsInt(obj1);
7506 if (PyErr_Occurred()) SWIG_fail;
7507 {
7508 PyThreadState* __tstate = wxPyBeginAllowThreads();
7509 (arg1)->SetRequestedLength(arg2);
7510
7511 wxPyEndAllowThreads(__tstate);
7512 if (PyErr_Occurred()) SWIG_fail;
7513 }
7514 Py_INCREF(Py_None); resultobj = Py_None;
7515 return resultobj;
7516 fail:
7517 return NULL;
7518 }
7519
7520
7521 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
7522 PyObject *resultobj;
7523 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7524 int result;
7525 PyObject * obj0 = 0 ;
7526 char *kwnames[] = {
7527 (char *) "self", NULL
7528 };
7529
7530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
7531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7533 {
7534 PyThreadState* __tstate = wxPyBeginAllowThreads();
7535 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7536
7537 wxPyEndAllowThreads(__tstate);
7538 if (PyErr_Occurred()) SWIG_fail;
7539 }
7540 resultobj = SWIG_FromInt((int)result);
7541 return resultobj;
7542 fail:
7543 return NULL;
7544 }
7545
7546
7547 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
7548 PyObject *resultobj;
7549 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7550 int arg2 ;
7551 PyObject * obj0 = 0 ;
7552 PyObject * obj1 = 0 ;
7553 char *kwnames[] = {
7554 (char *) "self",(char *) "flags", NULL
7555 };
7556
7557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7560 arg2 = (int) SWIG_AsInt(obj1);
7561 if (PyErr_Occurred()) SWIG_fail;
7562 {
7563 PyThreadState* __tstate = wxPyBeginAllowThreads();
7564 (arg1)->SetFlags(arg2);
7565
7566 wxPyEndAllowThreads(__tstate);
7567 if (PyErr_Occurred()) SWIG_fail;
7568 }
7569 Py_INCREF(Py_None); resultobj = Py_None;
7570 return resultobj;
7571 fail:
7572 return NULL;
7573 }
7574
7575
7576 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
7577 PyObject *resultobj;
7578 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7579 int result;
7580 PyObject * obj0 = 0 ;
7581 char *kwnames[] = {
7582 (char *) "self", NULL
7583 };
7584
7585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
7586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7588 {
7589 PyThreadState* __tstate = wxPyBeginAllowThreads();
7590 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
7591
7592 wxPyEndAllowThreads(__tstate);
7593 if (PyErr_Occurred()) SWIG_fail;
7594 }
7595 resultobj = SWIG_FromInt((int)result);
7596 return resultobj;
7597 fail:
7598 return NULL;
7599 }
7600
7601
7602 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
7603 PyObject *resultobj;
7604 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7605 wxSize *arg2 = 0 ;
7606 wxSize temp2 ;
7607 PyObject * obj0 = 0 ;
7608 PyObject * obj1 = 0 ;
7609 char *kwnames[] = {
7610 (char *) "self",(char *) "size", NULL
7611 };
7612
7613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
7614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7616 {
7617 arg2 = &temp2;
7618 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7619 }
7620 {
7621 PyThreadState* __tstate = wxPyBeginAllowThreads();
7622 (arg1)->SetSize((wxSize const &)*arg2);
7623
7624 wxPyEndAllowThreads(__tstate);
7625 if (PyErr_Occurred()) SWIG_fail;
7626 }
7627 Py_INCREF(Py_None); resultobj = Py_None;
7628 return resultobj;
7629 fail:
7630 return NULL;
7631 }
7632
7633
7634 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
7635 PyObject *resultobj;
7636 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7637 wxSize result;
7638 PyObject * obj0 = 0 ;
7639 char *kwnames[] = {
7640 (char *) "self", NULL
7641 };
7642
7643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
7644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7646 {
7647 PyThreadState* __tstate = wxPyBeginAllowThreads();
7648 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
7649
7650 wxPyEndAllowThreads(__tstate);
7651 if (PyErr_Occurred()) SWIG_fail;
7652 }
7653 {
7654 wxSize * resultptr;
7655 resultptr = new wxSize((wxSize &) result);
7656 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
7657 }
7658 return resultobj;
7659 fail:
7660 return NULL;
7661 }
7662
7663
7664 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
7665 PyObject *resultobj;
7666 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7667 int arg2 ;
7668 PyObject * obj0 = 0 ;
7669 PyObject * obj1 = 0 ;
7670 char *kwnames[] = {
7671 (char *) "self",(char *) "orient", NULL
7672 };
7673
7674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
7675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7677 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
7678 if (PyErr_Occurred()) SWIG_fail;
7679 {
7680 PyThreadState* __tstate = wxPyBeginAllowThreads();
7681 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7682
7683 wxPyEndAllowThreads(__tstate);
7684 if (PyErr_Occurred()) SWIG_fail;
7685 }
7686 Py_INCREF(Py_None); resultobj = Py_None;
7687 return resultobj;
7688 fail:
7689 return NULL;
7690 }
7691
7692
7693 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
7694 PyObject *resultobj;
7695 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7696 int result;
7697 PyObject * obj0 = 0 ;
7698 char *kwnames[] = {
7699 (char *) "self", NULL
7700 };
7701
7702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
7703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7705 {
7706 PyThreadState* __tstate = wxPyBeginAllowThreads();
7707 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
7708
7709 wxPyEndAllowThreads(__tstate);
7710 if (PyErr_Occurred()) SWIG_fail;
7711 }
7712 resultobj = SWIG_FromInt((int)result);
7713 return resultobj;
7714 fail:
7715 return NULL;
7716 }
7717
7718
7719 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
7720 PyObject *resultobj;
7721 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7722 int arg2 ;
7723 PyObject * obj0 = 0 ;
7724 PyObject * obj1 = 0 ;
7725 char *kwnames[] = {
7726 (char *) "self",(char *) "align", NULL
7727 };
7728
7729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7732 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
7733 if (PyErr_Occurred()) SWIG_fail;
7734 {
7735 PyThreadState* __tstate = wxPyBeginAllowThreads();
7736 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7737
7738 wxPyEndAllowThreads(__tstate);
7739 if (PyErr_Occurred()) SWIG_fail;
7740 }
7741 Py_INCREF(Py_None); resultobj = Py_None;
7742 return resultobj;
7743 fail:
7744 return NULL;
7745 }
7746
7747
7748 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
7749 PyObject *resultobj;
7750 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7751 int result;
7752 PyObject * obj0 = 0 ;
7753 char *kwnames[] = {
7754 (char *) "self", NULL
7755 };
7756
7757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
7758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7760 {
7761 PyThreadState* __tstate = wxPyBeginAllowThreads();
7762 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
7763
7764 wxPyEndAllowThreads(__tstate);
7765 if (PyErr_Occurred()) SWIG_fail;
7766 }
7767 resultobj = SWIG_FromInt((int)result);
7768 return resultobj;
7769 fail:
7770 return NULL;
7771 }
7772
7773
7774 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
7775 PyObject *obj;
7776 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7777 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
7778 Py_INCREF(obj);
7779 return Py_BuildValue((char *)"");
7780 }
7781 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7782 PyObject *resultobj;
7783 int arg1 = (int) 0 ;
7784 wxCalculateLayoutEvent *result;
7785 PyObject * obj0 = 0 ;
7786 char *kwnames[] = {
7787 (char *) "id", NULL
7788 };
7789
7790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
7791 if (obj0) {
7792 arg1 = (int) SWIG_AsInt(obj0);
7793 if (PyErr_Occurred()) SWIG_fail;
7794 }
7795 {
7796 PyThreadState* __tstate = wxPyBeginAllowThreads();
7797 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
7798
7799 wxPyEndAllowThreads(__tstate);
7800 if (PyErr_Occurred()) SWIG_fail;
7801 }
7802 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
7803 return resultobj;
7804 fail:
7805 return NULL;
7806 }
7807
7808
7809 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
7810 PyObject *resultobj;
7811 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7812 int arg2 ;
7813 PyObject * obj0 = 0 ;
7814 PyObject * obj1 = 0 ;
7815 char *kwnames[] = {
7816 (char *) "self",(char *) "flags", NULL
7817 };
7818
7819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7822 arg2 = (int) SWIG_AsInt(obj1);
7823 if (PyErr_Occurred()) SWIG_fail;
7824 {
7825 PyThreadState* __tstate = wxPyBeginAllowThreads();
7826 (arg1)->SetFlags(arg2);
7827
7828 wxPyEndAllowThreads(__tstate);
7829 if (PyErr_Occurred()) SWIG_fail;
7830 }
7831 Py_INCREF(Py_None); resultobj = Py_None;
7832 return resultobj;
7833 fail:
7834 return NULL;
7835 }
7836
7837
7838 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
7839 PyObject *resultobj;
7840 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7841 int result;
7842 PyObject * obj0 = 0 ;
7843 char *kwnames[] = {
7844 (char *) "self", NULL
7845 };
7846
7847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
7848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7850 {
7851 PyThreadState* __tstate = wxPyBeginAllowThreads();
7852 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
7853
7854 wxPyEndAllowThreads(__tstate);
7855 if (PyErr_Occurred()) SWIG_fail;
7856 }
7857 resultobj = SWIG_FromInt((int)result);
7858 return resultobj;
7859 fail:
7860 return NULL;
7861 }
7862
7863
7864 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
7865 PyObject *resultobj;
7866 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7867 wxRect *arg2 = 0 ;
7868 wxRect temp2 ;
7869 PyObject * obj0 = 0 ;
7870 PyObject * obj1 = 0 ;
7871 char *kwnames[] = {
7872 (char *) "self",(char *) "rect", NULL
7873 };
7874
7875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
7876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7878 {
7879 arg2 = &temp2;
7880 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7881 }
7882 {
7883 PyThreadState* __tstate = wxPyBeginAllowThreads();
7884 (arg1)->SetRect((wxRect const &)*arg2);
7885
7886 wxPyEndAllowThreads(__tstate);
7887 if (PyErr_Occurred()) SWIG_fail;
7888 }
7889 Py_INCREF(Py_None); resultobj = Py_None;
7890 return resultobj;
7891 fail:
7892 return NULL;
7893 }
7894
7895
7896 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
7897 PyObject *resultobj;
7898 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7899 wxRect result;
7900 PyObject * obj0 = 0 ;
7901 char *kwnames[] = {
7902 (char *) "self", NULL
7903 };
7904
7905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
7906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7908 {
7909 PyThreadState* __tstate = wxPyBeginAllowThreads();
7910 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
7911
7912 wxPyEndAllowThreads(__tstate);
7913 if (PyErr_Occurred()) SWIG_fail;
7914 }
7915 {
7916 wxRect * resultptr;
7917 resultptr = new wxRect((wxRect &) result);
7918 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7919 }
7920 return resultobj;
7921 fail:
7922 return NULL;
7923 }
7924
7925
7926 static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
7927 PyObject *obj;
7928 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7929 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
7930 Py_INCREF(obj);
7931 return Py_BuildValue((char *)"");
7932 }
7933 static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7934 PyObject *resultobj;
7935 wxWindow *arg1 = (wxWindow *) 0 ;
7936 int arg2 ;
7937 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7938 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7939 wxSize const &arg4_defvalue = wxDefaultSize ;
7940 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7941 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7942 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
7943 wxString *arg6 = (wxString *) &arg6_defvalue ;
7944 wxSashLayoutWindow *result;
7945 wxPoint temp3 ;
7946 wxSize temp4 ;
7947 bool temp6 = False ;
7948 PyObject * obj0 = 0 ;
7949 PyObject * obj1 = 0 ;
7950 PyObject * obj2 = 0 ;
7951 PyObject * obj3 = 0 ;
7952 PyObject * obj4 = 0 ;
7953 PyObject * obj5 = 0 ;
7954 char *kwnames[] = {
7955 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7956 };
7957
7958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7961 arg2 = (int) SWIG_AsInt(obj1);
7962 if (PyErr_Occurred()) SWIG_fail;
7963 if (obj2) {
7964 {
7965 arg3 = &temp3;
7966 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7967 }
7968 }
7969 if (obj3) {
7970 {
7971 arg4 = &temp4;
7972 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7973 }
7974 }
7975 if (obj4) {
7976 arg5 = (long) SWIG_AsLong(obj4);
7977 if (PyErr_Occurred()) SWIG_fail;
7978 }
7979 if (obj5) {
7980 {
7981 arg6 = wxString_in_helper(obj5);
7982 if (arg6 == NULL) SWIG_fail;
7983 temp6 = True;
7984 }
7985 }
7986 {
7987 PyThreadState* __tstate = wxPyBeginAllowThreads();
7988 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7989
7990 wxPyEndAllowThreads(__tstate);
7991 if (PyErr_Occurred()) SWIG_fail;
7992 }
7993 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
7994 {
7995 if (temp6)
7996 delete arg6;
7997 }
7998 return resultobj;
7999 fail:
8000 {
8001 if (temp6)
8002 delete arg6;
8003 }
8004 return NULL;
8005 }
8006
8007
8008 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8009 PyObject *resultobj;
8010 wxSashLayoutWindow *result;
8011 char *kwnames[] = {
8012 NULL
8013 };
8014
8015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
8016 {
8017 PyThreadState* __tstate = wxPyBeginAllowThreads();
8018 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
8019
8020 wxPyEndAllowThreads(__tstate);
8021 if (PyErr_Occurred()) SWIG_fail;
8022 }
8023 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8024 return resultobj;
8025 fail:
8026 return NULL;
8027 }
8028
8029
8030 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8031 PyObject *resultobj;
8032 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8033 wxWindow *arg2 = (wxWindow *) 0 ;
8034 int arg3 ;
8035 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8036 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8037 wxSize const &arg5_defvalue = wxDefaultSize ;
8038 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8039 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8040 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
8041 wxString *arg7 = (wxString *) &arg7_defvalue ;
8042 bool result;
8043 wxPoint temp4 ;
8044 wxSize temp5 ;
8045 bool temp7 = False ;
8046 PyObject * obj0 = 0 ;
8047 PyObject * obj1 = 0 ;
8048 PyObject * obj2 = 0 ;
8049 PyObject * obj3 = 0 ;
8050 PyObject * obj4 = 0 ;
8051 PyObject * obj5 = 0 ;
8052 PyObject * obj6 = 0 ;
8053 char *kwnames[] = {
8054 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8055 };
8056
8057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8060 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8062 arg3 = (int) SWIG_AsInt(obj2);
8063 if (PyErr_Occurred()) SWIG_fail;
8064 if (obj3) {
8065 {
8066 arg4 = &temp4;
8067 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8068 }
8069 }
8070 if (obj4) {
8071 {
8072 arg5 = &temp5;
8073 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8074 }
8075 }
8076 if (obj5) {
8077 arg6 = (long) SWIG_AsLong(obj5);
8078 if (PyErr_Occurred()) SWIG_fail;
8079 }
8080 if (obj6) {
8081 {
8082 arg7 = wxString_in_helper(obj6);
8083 if (arg7 == NULL) SWIG_fail;
8084 temp7 = True;
8085 }
8086 }
8087 {
8088 PyThreadState* __tstate = wxPyBeginAllowThreads();
8089 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8090
8091 wxPyEndAllowThreads(__tstate);
8092 if (PyErr_Occurred()) SWIG_fail;
8093 }
8094 {
8095 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8096 }
8097 {
8098 if (temp7)
8099 delete arg7;
8100 }
8101 return resultobj;
8102 fail:
8103 {
8104 if (temp7)
8105 delete arg7;
8106 }
8107 return NULL;
8108 }
8109
8110
8111 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8112 PyObject *resultobj;
8113 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8114 int result;
8115 PyObject * obj0 = 0 ;
8116 char *kwnames[] = {
8117 (char *) "self", NULL
8118 };
8119
8120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8123 {
8124 PyThreadState* __tstate = wxPyBeginAllowThreads();
8125 result = (int)(arg1)->GetAlignment();
8126
8127 wxPyEndAllowThreads(__tstate);
8128 if (PyErr_Occurred()) SWIG_fail;
8129 }
8130 resultobj = SWIG_FromInt((int)result);
8131 return resultobj;
8132 fail:
8133 return NULL;
8134 }
8135
8136
8137 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8138 PyObject *resultobj;
8139 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8140 int result;
8141 PyObject * obj0 = 0 ;
8142 char *kwnames[] = {
8143 (char *) "self", NULL
8144 };
8145
8146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8149 {
8150 PyThreadState* __tstate = wxPyBeginAllowThreads();
8151 result = (int)(arg1)->GetOrientation();
8152
8153 wxPyEndAllowThreads(__tstate);
8154 if (PyErr_Occurred()) SWIG_fail;
8155 }
8156 resultobj = SWIG_FromInt((int)result);
8157 return resultobj;
8158 fail:
8159 return NULL;
8160 }
8161
8162
8163 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8164 PyObject *resultobj;
8165 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8166 int arg2 ;
8167 PyObject * obj0 = 0 ;
8168 PyObject * obj1 = 0 ;
8169 char *kwnames[] = {
8170 (char *) "self",(char *) "alignment", NULL
8171 };
8172
8173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8176 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
8177 if (PyErr_Occurred()) SWIG_fail;
8178 {
8179 PyThreadState* __tstate = wxPyBeginAllowThreads();
8180 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8181
8182 wxPyEndAllowThreads(__tstate);
8183 if (PyErr_Occurred()) SWIG_fail;
8184 }
8185 Py_INCREF(Py_None); resultobj = Py_None;
8186 return resultobj;
8187 fail:
8188 return NULL;
8189 }
8190
8191
8192 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
8193 PyObject *resultobj;
8194 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8195 wxSize *arg2 = 0 ;
8196 wxSize temp2 ;
8197 PyObject * obj0 = 0 ;
8198 PyObject * obj1 = 0 ;
8199 char *kwnames[] = {
8200 (char *) "self",(char *) "size", NULL
8201 };
8202
8203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8206 {
8207 arg2 = &temp2;
8208 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8209 }
8210 {
8211 PyThreadState* __tstate = wxPyBeginAllowThreads();
8212 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8213
8214 wxPyEndAllowThreads(__tstate);
8215 if (PyErr_Occurred()) SWIG_fail;
8216 }
8217 Py_INCREF(Py_None); resultobj = Py_None;
8218 return resultobj;
8219 fail:
8220 return NULL;
8221 }
8222
8223
8224 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8225 PyObject *resultobj;
8226 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8227 int arg2 ;
8228 PyObject * obj0 = 0 ;
8229 PyObject * obj1 = 0 ;
8230 char *kwnames[] = {
8231 (char *) "self",(char *) "orientation", NULL
8232 };
8233
8234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8237 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
8238 if (PyErr_Occurred()) SWIG_fail;
8239 {
8240 PyThreadState* __tstate = wxPyBeginAllowThreads();
8241 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8242
8243 wxPyEndAllowThreads(__tstate);
8244 if (PyErr_Occurred()) SWIG_fail;
8245 }
8246 Py_INCREF(Py_None); resultobj = Py_None;
8247 return resultobj;
8248 fail:
8249 return NULL;
8250 }
8251
8252
8253 static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
8254 PyObject *obj;
8255 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8256 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8257 Py_INCREF(obj);
8258 return Py_BuildValue((char *)"");
8259 }
8260 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
8261 PyObject *resultobj;
8262 wxLayoutAlgorithm *result;
8263 char *kwnames[] = {
8264 NULL
8265 };
8266
8267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8268 {
8269 PyThreadState* __tstate = wxPyBeginAllowThreads();
8270 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8271
8272 wxPyEndAllowThreads(__tstate);
8273 if (PyErr_Occurred()) SWIG_fail;
8274 }
8275 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8276 return resultobj;
8277 fail:
8278 return NULL;
8279 }
8280
8281
8282 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
8283 PyObject *resultobj;
8284 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8285 PyObject * obj0 = 0 ;
8286 char *kwnames[] = {
8287 (char *) "self", NULL
8288 };
8289
8290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8293 {
8294 PyThreadState* __tstate = wxPyBeginAllowThreads();
8295 delete arg1;
8296
8297 wxPyEndAllowThreads(__tstate);
8298 if (PyErr_Occurred()) SWIG_fail;
8299 }
8300 Py_INCREF(Py_None); resultobj = Py_None;
8301 return resultobj;
8302 fail:
8303 return NULL;
8304 }
8305
8306
8307 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
8308 PyObject *resultobj;
8309 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8310 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8311 wxRect *arg3 = (wxRect *) NULL ;
8312 bool result;
8313 PyObject * obj0 = 0 ;
8314 PyObject * obj1 = 0 ;
8315 PyObject * obj2 = 0 ;
8316 char *kwnames[] = {
8317 (char *) "self",(char *) "frame",(char *) "rect", NULL
8318 };
8319
8320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8323 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8325 if (obj2) {
8326 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8328 }
8329 {
8330 PyThreadState* __tstate = wxPyBeginAllowThreads();
8331 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8332
8333 wxPyEndAllowThreads(__tstate);
8334 if (PyErr_Occurred()) SWIG_fail;
8335 }
8336 {
8337 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8338 }
8339 return resultobj;
8340 fail:
8341 return NULL;
8342 }
8343
8344
8345 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
8346 PyObject *resultobj;
8347 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8348 wxFrame *arg2 = (wxFrame *) 0 ;
8349 wxWindow *arg3 = (wxWindow *) NULL ;
8350 bool result;
8351 PyObject * obj0 = 0 ;
8352 PyObject * obj1 = 0 ;
8353 PyObject * obj2 = 0 ;
8354 char *kwnames[] = {
8355 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8356 };
8357
8358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8361 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8363 if (obj2) {
8364 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8366 }
8367 {
8368 PyThreadState* __tstate = wxPyBeginAllowThreads();
8369 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8370
8371 wxPyEndAllowThreads(__tstate);
8372 if (PyErr_Occurred()) SWIG_fail;
8373 }
8374 {
8375 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8376 }
8377 return resultobj;
8378 fail:
8379 return NULL;
8380 }
8381
8382
8383 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8384 PyObject *resultobj;
8385 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8386 wxWindow *arg2 = (wxWindow *) 0 ;
8387 wxWindow *arg3 = (wxWindow *) NULL ;
8388 bool result;
8389 PyObject * obj0 = 0 ;
8390 PyObject * obj1 = 0 ;
8391 PyObject * obj2 = 0 ;
8392 char *kwnames[] = {
8393 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8394 };
8395
8396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8399 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8401 if (obj2) {
8402 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8404 }
8405 {
8406 PyThreadState* __tstate = wxPyBeginAllowThreads();
8407 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8408
8409 wxPyEndAllowThreads(__tstate);
8410 if (PyErr_Occurred()) SWIG_fail;
8411 }
8412 {
8413 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8414 }
8415 return resultobj;
8416 fail:
8417 return NULL;
8418 }
8419
8420
8421 static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
8422 PyObject *obj;
8423 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8424 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8425 Py_INCREF(obj);
8426 return Py_BuildValue((char *)"");
8427 }
8428 static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8429 PyObject *resultobj;
8430 wxWindow *arg1 = (wxWindow *) 0 ;
8431 int arg2 = (int) wxBORDER_NONE ;
8432 wxPopupWindow *result;
8433 PyObject * obj0 = 0 ;
8434 PyObject * obj1 = 0 ;
8435 char *kwnames[] = {
8436 (char *) "parent",(char *) "flags", NULL
8437 };
8438
8439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8442 if (obj1) {
8443 arg2 = (int) SWIG_AsInt(obj1);
8444 if (PyErr_Occurred()) SWIG_fail;
8445 }
8446 {
8447 PyThreadState* __tstate = wxPyBeginAllowThreads();
8448 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8449
8450 wxPyEndAllowThreads(__tstate);
8451 if (PyErr_Occurred()) SWIG_fail;
8452 }
8453 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8454 return resultobj;
8455 fail:
8456 return NULL;
8457 }
8458
8459
8460 static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8461 PyObject *resultobj;
8462 wxPopupWindow *result;
8463 char *kwnames[] = {
8464 NULL
8465 };
8466
8467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8468 {
8469 PyThreadState* __tstate = wxPyBeginAllowThreads();
8470 result = (wxPopupWindow *)new wxPopupWindow();
8471
8472 wxPyEndAllowThreads(__tstate);
8473 if (PyErr_Occurred()) SWIG_fail;
8474 }
8475 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8476 return resultobj;
8477 fail:
8478 return NULL;
8479 }
8480
8481
8482 static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
8483 PyObject *obj;
8484 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8485 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
8486 Py_INCREF(obj);
8487 return Py_BuildValue((char *)"");
8488 }
8489 static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8490 PyObject *resultobj;
8491 wxWindow *arg1 = (wxWindow *) 0 ;
8492 int arg2 = (int) wxBORDER_NONE ;
8493 wxPyPopupTransientWindow *result;
8494 PyObject * obj0 = 0 ;
8495 PyObject * obj1 = 0 ;
8496 char *kwnames[] = {
8497 (char *) "parent",(char *) "style", NULL
8498 };
8499
8500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
8501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8503 if (obj1) {
8504 arg2 = (int) SWIG_AsInt(obj1);
8505 if (PyErr_Occurred()) SWIG_fail;
8506 }
8507 {
8508 PyThreadState* __tstate = wxPyBeginAllowThreads();
8509 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
8510
8511 wxPyEndAllowThreads(__tstate);
8512 if (PyErr_Occurred()) SWIG_fail;
8513 }
8514 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8515 return resultobj;
8516 fail:
8517 return NULL;
8518 }
8519
8520
8521 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8522 PyObject *resultobj;
8523 wxPyPopupTransientWindow *result;
8524 char *kwnames[] = {
8525 NULL
8526 };
8527
8528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
8529 {
8530 PyThreadState* __tstate = wxPyBeginAllowThreads();
8531 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
8532
8533 wxPyEndAllowThreads(__tstate);
8534 if (PyErr_Occurred()) SWIG_fail;
8535 }
8536 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8537 return resultobj;
8538 fail:
8539 return NULL;
8540 }
8541
8542
8543 static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
8544 PyObject *obj;
8545 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8546 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
8547 Py_INCREF(obj);
8548 return Py_BuildValue((char *)"");
8549 }
8550 static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8551 PyObject *resultobj;
8552 wxWindow *arg1 = (wxWindow *) 0 ;
8553 wxString *arg2 = 0 ;
8554 int arg3 = (int) 100 ;
8555 wxRect *arg4 = (wxRect *) NULL ;
8556 wxTipWindow *result;
8557 bool temp2 = False ;
8558 PyObject * obj0 = 0 ;
8559 PyObject * obj1 = 0 ;
8560 PyObject * obj2 = 0 ;
8561 PyObject * obj3 = 0 ;
8562 char *kwnames[] = {
8563 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8564 };
8565
8566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8569 {
8570 arg2 = wxString_in_helper(obj1);
8571 if (arg2 == NULL) SWIG_fail;
8572 temp2 = True;
8573 }
8574 if (obj2) {
8575 arg3 = (int) SWIG_AsInt(obj2);
8576 if (PyErr_Occurred()) SWIG_fail;
8577 }
8578 if (obj3) {
8579 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
8580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8581 }
8582 {
8583 PyThreadState* __tstate = wxPyBeginAllowThreads();
8584 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
8585
8586 wxPyEndAllowThreads(__tstate);
8587 if (PyErr_Occurred()) SWIG_fail;
8588 }
8589 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
8590 {
8591 if (temp2)
8592 delete arg2;
8593 }
8594 return resultobj;
8595 fail:
8596 {
8597 if (temp2)
8598 delete arg2;
8599 }
8600 return NULL;
8601 }
8602
8603
8604 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
8605 PyObject *resultobj;
8606 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8607 wxRect *arg2 = 0 ;
8608 wxRect temp2 ;
8609 PyObject * obj0 = 0 ;
8610 PyObject * obj1 = 0 ;
8611 char *kwnames[] = {
8612 (char *) "self",(char *) "rectBound", NULL
8613 };
8614
8615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
8616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8618 {
8619 arg2 = &temp2;
8620 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8621 }
8622 {
8623 PyThreadState* __tstate = wxPyBeginAllowThreads();
8624 (arg1)->SetBoundingRect((wxRect const &)*arg2);
8625
8626 wxPyEndAllowThreads(__tstate);
8627 if (PyErr_Occurred()) SWIG_fail;
8628 }
8629 Py_INCREF(Py_None); resultobj = Py_None;
8630 return resultobj;
8631 fail:
8632 return NULL;
8633 }
8634
8635
8636 static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
8637 PyObject *resultobj;
8638 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8639 PyObject * obj0 = 0 ;
8640 char *kwnames[] = {
8641 (char *) "self", NULL
8642 };
8643
8644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
8645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8647 {
8648 PyThreadState* __tstate = wxPyBeginAllowThreads();
8649 (arg1)->Close();
8650
8651 wxPyEndAllowThreads(__tstate);
8652 if (PyErr_Occurred()) SWIG_fail;
8653 }
8654 Py_INCREF(Py_None); resultobj = Py_None;
8655 return resultobj;
8656 fail:
8657 return NULL;
8658 }
8659
8660
8661 static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
8662 PyObject *obj;
8663 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8664 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
8665 Py_INCREF(obj);
8666 return Py_BuildValue((char *)"");
8667 }
8668 static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8669 PyObject *resultobj;
8670 wxWindow *arg1 = (wxWindow *) 0 ;
8671 int arg2 = (int) wxID_ANY ;
8672 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8673 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8674 wxSize const &arg4_defvalue = wxDefaultSize ;
8675 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8676 long arg5 = (long) 0 ;
8677 wxString const &arg6_defvalue = wxPyPanelNameStr ;
8678 wxString *arg6 = (wxString *) &arg6_defvalue ;
8679 wxPyVScrolledWindow *result;
8680 wxPoint temp3 ;
8681 wxSize temp4 ;
8682 bool temp6 = False ;
8683 PyObject * obj0 = 0 ;
8684 PyObject * obj1 = 0 ;
8685 PyObject * obj2 = 0 ;
8686 PyObject * obj3 = 0 ;
8687 PyObject * obj4 = 0 ;
8688 PyObject * obj5 = 0 ;
8689 char *kwnames[] = {
8690 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8691 };
8692
8693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8696 if (obj1) {
8697 arg2 = (int) SWIG_AsInt(obj1);
8698 if (PyErr_Occurred()) SWIG_fail;
8699 }
8700 if (obj2) {
8701 {
8702 arg3 = &temp3;
8703 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8704 }
8705 }
8706 if (obj3) {
8707 {
8708 arg4 = &temp4;
8709 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8710 }
8711 }
8712 if (obj4) {
8713 arg5 = (long) SWIG_AsLong(obj4);
8714 if (PyErr_Occurred()) SWIG_fail;
8715 }
8716 if (obj5) {
8717 {
8718 arg6 = wxString_in_helper(obj5);
8719 if (arg6 == NULL) SWIG_fail;
8720 temp6 = True;
8721 }
8722 }
8723 {
8724 PyThreadState* __tstate = wxPyBeginAllowThreads();
8725 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8726
8727 wxPyEndAllowThreads(__tstate);
8728 if (PyErr_Occurred()) SWIG_fail;
8729 }
8730 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
8731 {
8732 if (temp6)
8733 delete arg6;
8734 }
8735 return resultobj;
8736 fail:
8737 {
8738 if (temp6)
8739 delete arg6;
8740 }
8741 return NULL;
8742 }
8743
8744
8745 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8746 PyObject *resultobj;
8747 wxPyVScrolledWindow *result;
8748 char *kwnames[] = {
8749 NULL
8750 };
8751
8752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
8753 {
8754 PyThreadState* __tstate = wxPyBeginAllowThreads();
8755 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
8756
8757 wxPyEndAllowThreads(__tstate);
8758 if (PyErr_Occurred()) SWIG_fail;
8759 }
8760 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
8761 return resultobj;
8762 fail:
8763 return NULL;
8764 }
8765
8766
8767 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
8768 PyObject *resultobj;
8769 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8770 PyObject *arg2 = (PyObject *) 0 ;
8771 PyObject *arg3 = (PyObject *) 0 ;
8772 PyObject * obj0 = 0 ;
8773 PyObject * obj1 = 0 ;
8774 PyObject * obj2 = 0 ;
8775 char *kwnames[] = {
8776 (char *) "self",(char *) "self",(char *) "_class", NULL
8777 };
8778
8779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8782 arg2 = obj1;
8783 arg3 = obj2;
8784 {
8785 PyThreadState* __tstate = wxPyBeginAllowThreads();
8786 (arg1)->_setCallbackInfo(arg2,arg3);
8787
8788 wxPyEndAllowThreads(__tstate);
8789 if (PyErr_Occurred()) SWIG_fail;
8790 }
8791 Py_INCREF(Py_None); resultobj = Py_None;
8792 return resultobj;
8793 fail:
8794 return NULL;
8795 }
8796
8797
8798 static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8799 PyObject *resultobj;
8800 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8801 wxWindow *arg2 = (wxWindow *) 0 ;
8802 int arg3 = (int) wxID_ANY ;
8803 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8804 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8805 wxSize const &arg5_defvalue = wxDefaultSize ;
8806 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8807 long arg6 = (long) 0 ;
8808 wxString const &arg7_defvalue = wxPyPanelNameStr ;
8809 wxString *arg7 = (wxString *) &arg7_defvalue ;
8810 bool result;
8811 wxPoint temp4 ;
8812 wxSize temp5 ;
8813 bool temp7 = False ;
8814 PyObject * obj0 = 0 ;
8815 PyObject * obj1 = 0 ;
8816 PyObject * obj2 = 0 ;
8817 PyObject * obj3 = 0 ;
8818 PyObject * obj4 = 0 ;
8819 PyObject * obj5 = 0 ;
8820 PyObject * obj6 = 0 ;
8821 char *kwnames[] = {
8822 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8823 };
8824
8825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8828 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8830 if (obj2) {
8831 arg3 = (int) SWIG_AsInt(obj2);
8832 if (PyErr_Occurred()) SWIG_fail;
8833 }
8834 if (obj3) {
8835 {
8836 arg4 = &temp4;
8837 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8838 }
8839 }
8840 if (obj4) {
8841 {
8842 arg5 = &temp5;
8843 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8844 }
8845 }
8846 if (obj5) {
8847 arg6 = (long) SWIG_AsLong(obj5);
8848 if (PyErr_Occurred()) SWIG_fail;
8849 }
8850 if (obj6) {
8851 {
8852 arg7 = wxString_in_helper(obj6);
8853 if (arg7 == NULL) SWIG_fail;
8854 temp7 = True;
8855 }
8856 }
8857 {
8858 PyThreadState* __tstate = wxPyBeginAllowThreads();
8859 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8860
8861 wxPyEndAllowThreads(__tstate);
8862 if (PyErr_Occurred()) SWIG_fail;
8863 }
8864 {
8865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8866 }
8867 {
8868 if (temp7)
8869 delete arg7;
8870 }
8871 return resultobj;
8872 fail:
8873 {
8874 if (temp7)
8875 delete arg7;
8876 }
8877 return NULL;
8878 }
8879
8880
8881 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
8882 PyObject *resultobj;
8883 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8884 size_t arg2 ;
8885 PyObject * obj0 = 0 ;
8886 PyObject * obj1 = 0 ;
8887 char *kwnames[] = {
8888 (char *) "self",(char *) "count", NULL
8889 };
8890
8891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
8892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8894 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
8895 if (PyErr_Occurred()) SWIG_fail;
8896 {
8897 PyThreadState* __tstate = wxPyBeginAllowThreads();
8898 (arg1)->SetLineCount(arg2);
8899
8900 wxPyEndAllowThreads(__tstate);
8901 if (PyErr_Occurred()) SWIG_fail;
8902 }
8903 Py_INCREF(Py_None); resultobj = Py_None;
8904 return resultobj;
8905 fail:
8906 return NULL;
8907 }
8908
8909
8910 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
8911 PyObject *resultobj;
8912 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8913 size_t arg2 ;
8914 bool result;
8915 PyObject * obj0 = 0 ;
8916 PyObject * obj1 = 0 ;
8917 char *kwnames[] = {
8918 (char *) "self",(char *) "line", NULL
8919 };
8920
8921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
8922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8924 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
8925 if (PyErr_Occurred()) SWIG_fail;
8926 {
8927 PyThreadState* __tstate = wxPyBeginAllowThreads();
8928 result = (bool)(arg1)->ScrollToLine(arg2);
8929
8930 wxPyEndAllowThreads(__tstate);
8931 if (PyErr_Occurred()) SWIG_fail;
8932 }
8933 {
8934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8935 }
8936 return resultobj;
8937 fail:
8938 return NULL;
8939 }
8940
8941
8942 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
8943 PyObject *resultobj;
8944 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8945 int arg2 ;
8946 bool result;
8947 PyObject * obj0 = 0 ;
8948 PyObject * obj1 = 0 ;
8949 char *kwnames[] = {
8950 (char *) "self",(char *) "lines", NULL
8951 };
8952
8953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
8954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8956 arg2 = (int) SWIG_AsInt(obj1);
8957 if (PyErr_Occurred()) SWIG_fail;
8958 {
8959 PyThreadState* __tstate = wxPyBeginAllowThreads();
8960 result = (bool)(arg1)->ScrollLines(arg2);
8961
8962 wxPyEndAllowThreads(__tstate);
8963 if (PyErr_Occurred()) SWIG_fail;
8964 }
8965 {
8966 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8967 }
8968 return resultobj;
8969 fail:
8970 return NULL;
8971 }
8972
8973
8974 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
8975 PyObject *resultobj;
8976 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8977 int arg2 ;
8978 bool result;
8979 PyObject * obj0 = 0 ;
8980 PyObject * obj1 = 0 ;
8981 char *kwnames[] = {
8982 (char *) "self",(char *) "pages", NULL
8983 };
8984
8985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
8986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8988 arg2 = (int) SWIG_AsInt(obj1);
8989 if (PyErr_Occurred()) SWIG_fail;
8990 {
8991 PyThreadState* __tstate = wxPyBeginAllowThreads();
8992 result = (bool)(arg1)->ScrollPages(arg2);
8993
8994 wxPyEndAllowThreads(__tstate);
8995 if (PyErr_Occurred()) SWIG_fail;
8996 }
8997 {
8998 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8999 }
9000 return resultobj;
9001 fail:
9002 return NULL;
9003 }
9004
9005
9006 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
9007 PyObject *resultobj;
9008 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9009 size_t arg2 ;
9010 PyObject * obj0 = 0 ;
9011 PyObject * obj1 = 0 ;
9012 char *kwnames[] = {
9013 (char *) "self",(char *) "line", NULL
9014 };
9015
9016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9019 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9020 if (PyErr_Occurred()) SWIG_fail;
9021 {
9022 PyThreadState* __tstate = wxPyBeginAllowThreads();
9023 (arg1)->RefreshLine(arg2);
9024
9025 wxPyEndAllowThreads(__tstate);
9026 if (PyErr_Occurred()) SWIG_fail;
9027 }
9028 Py_INCREF(Py_None); resultobj = Py_None;
9029 return resultobj;
9030 fail:
9031 return NULL;
9032 }
9033
9034
9035 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
9036 PyObject *resultobj;
9037 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9038 size_t arg2 ;
9039 size_t arg3 ;
9040 PyObject * obj0 = 0 ;
9041 PyObject * obj1 = 0 ;
9042 PyObject * obj2 = 0 ;
9043 char *kwnames[] = {
9044 (char *) "self",(char *) "from",(char *) "to", NULL
9045 };
9046
9047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9050 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9051 if (PyErr_Occurred()) SWIG_fail;
9052 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9053 if (PyErr_Occurred()) SWIG_fail;
9054 {
9055 PyThreadState* __tstate = wxPyBeginAllowThreads();
9056 (arg1)->RefreshLines(arg2,arg3);
9057
9058 wxPyEndAllowThreads(__tstate);
9059 if (PyErr_Occurred()) SWIG_fail;
9060 }
9061 Py_INCREF(Py_None); resultobj = Py_None;
9062 return resultobj;
9063 fail:
9064 return NULL;
9065 }
9066
9067
9068 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *, PyObject *args, PyObject *kwargs) {
9069 PyObject *resultobj;
9070 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9071 int arg2 ;
9072 int arg3 ;
9073 int result;
9074 PyObject * obj0 = 0 ;
9075 PyObject * obj1 = 0 ;
9076 PyObject * obj2 = 0 ;
9077 char *kwnames[] = {
9078 (char *) "self",(char *) "x",(char *) "y", NULL
9079 };
9080
9081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail;
9082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9084 arg2 = (int) SWIG_AsInt(obj1);
9085 if (PyErr_Occurred()) SWIG_fail;
9086 arg3 = (int) SWIG_AsInt(obj2);
9087 if (PyErr_Occurred()) SWIG_fail;
9088 {
9089 PyThreadState* __tstate = wxPyBeginAllowThreads();
9090 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9091
9092 wxPyEndAllowThreads(__tstate);
9093 if (PyErr_Occurred()) SWIG_fail;
9094 }
9095 resultobj = SWIG_FromInt((int)result);
9096 return resultobj;
9097 fail:
9098 return NULL;
9099 }
9100
9101
9102 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
9103 PyObject *resultobj;
9104 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9105 wxPoint *arg2 = 0 ;
9106 int result;
9107 wxPoint temp2 ;
9108 PyObject * obj0 = 0 ;
9109 PyObject * obj1 = 0 ;
9110 char *kwnames[] = {
9111 (char *) "self",(char *) "pt", NULL
9112 };
9113
9114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9117 {
9118 arg2 = &temp2;
9119 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9120 }
9121 {
9122 PyThreadState* __tstate = wxPyBeginAllowThreads();
9123 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9124
9125 wxPyEndAllowThreads(__tstate);
9126 if (PyErr_Occurred()) SWIG_fail;
9127 }
9128 resultobj = SWIG_FromInt((int)result);
9129 return resultobj;
9130 fail:
9131 return NULL;
9132 }
9133
9134
9135 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
9136 PyObject *resultobj;
9137 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9138 PyObject * obj0 = 0 ;
9139 char *kwnames[] = {
9140 (char *) "self", NULL
9141 };
9142
9143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9146 {
9147 PyThreadState* __tstate = wxPyBeginAllowThreads();
9148 (arg1)->RefreshAll();
9149
9150 wxPyEndAllowThreads(__tstate);
9151 if (PyErr_Occurred()) SWIG_fail;
9152 }
9153 Py_INCREF(Py_None); resultobj = Py_None;
9154 return resultobj;
9155 fail:
9156 return NULL;
9157 }
9158
9159
9160 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
9161 PyObject *resultobj;
9162 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9163 size_t result;
9164 PyObject * obj0 = 0 ;
9165 char *kwnames[] = {
9166 (char *) "self", NULL
9167 };
9168
9169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9172 {
9173 PyThreadState* __tstate = wxPyBeginAllowThreads();
9174 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9175
9176 wxPyEndAllowThreads(__tstate);
9177 if (PyErr_Occurred()) SWIG_fail;
9178 }
9179 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9180 return resultobj;
9181 fail:
9182 return NULL;
9183 }
9184
9185
9186 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
9187 PyObject *resultobj;
9188 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9189 size_t result;
9190 PyObject * obj0 = 0 ;
9191 char *kwnames[] = {
9192 (char *) "self", NULL
9193 };
9194
9195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9198 {
9199 PyThreadState* __tstate = wxPyBeginAllowThreads();
9200 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9201
9202 wxPyEndAllowThreads(__tstate);
9203 if (PyErr_Occurred()) SWIG_fail;
9204 }
9205 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9206 return resultobj;
9207 fail:
9208 return NULL;
9209 }
9210
9211
9212 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
9213 PyObject *resultobj;
9214 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9215 size_t result;
9216 PyObject * obj0 = 0 ;
9217 char *kwnames[] = {
9218 (char *) "self", NULL
9219 };
9220
9221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9224 {
9225 PyThreadState* __tstate = wxPyBeginAllowThreads();
9226 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9227
9228 wxPyEndAllowThreads(__tstate);
9229 if (PyErr_Occurred()) SWIG_fail;
9230 }
9231 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9232 return resultobj;
9233 fail:
9234 return NULL;
9235 }
9236
9237
9238 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
9239 PyObject *resultobj;
9240 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9241 size_t arg2 ;
9242 bool result;
9243 PyObject * obj0 = 0 ;
9244 PyObject * obj1 = 0 ;
9245 char *kwnames[] = {
9246 (char *) "self",(char *) "line", NULL
9247 };
9248
9249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9252 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9253 if (PyErr_Occurred()) SWIG_fail;
9254 {
9255 PyThreadState* __tstate = wxPyBeginAllowThreads();
9256 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9257
9258 wxPyEndAllowThreads(__tstate);
9259 if (PyErr_Occurred()) SWIG_fail;
9260 }
9261 {
9262 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9263 }
9264 return resultobj;
9265 fail:
9266 return NULL;
9267 }
9268
9269
9270 static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
9271 PyObject *obj;
9272 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9273 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9274 Py_INCREF(obj);
9275 return Py_BuildValue((char *)"");
9276 }
9277 static int _wrap_VListBoxNameStr_set(PyObject *) {
9278 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9279 return 1;
9280 }
9281
9282
9283 static PyObject *_wrap_VListBoxNameStr_get() {
9284 PyObject *pyobj;
9285
9286 {
9287 #if wxUSE_UNICODE
9288 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9289 #else
9290 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9291 #endif
9292 }
9293 return pyobj;
9294 }
9295
9296
9297 static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
9298 PyObject *resultobj;
9299 wxWindow *arg1 = (wxWindow *) 0 ;
9300 int arg2 = (int) wxID_ANY ;
9301 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9302 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9303 wxSize const &arg4_defvalue = wxDefaultSize ;
9304 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9305 long arg5 = (long) 0 ;
9306 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9307 wxString *arg6 = (wxString *) &arg6_defvalue ;
9308 wxPyVListBox *result;
9309 wxPoint temp3 ;
9310 wxSize temp4 ;
9311 bool temp6 = False ;
9312 PyObject * obj0 = 0 ;
9313 PyObject * obj1 = 0 ;
9314 PyObject * obj2 = 0 ;
9315 PyObject * obj3 = 0 ;
9316 PyObject * obj4 = 0 ;
9317 PyObject * obj5 = 0 ;
9318 char *kwnames[] = {
9319 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9320 };
9321
9322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9325 if (obj1) {
9326 arg2 = (int) SWIG_AsInt(obj1);
9327 if (PyErr_Occurred()) SWIG_fail;
9328 }
9329 if (obj2) {
9330 {
9331 arg3 = &temp3;
9332 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9333 }
9334 }
9335 if (obj3) {
9336 {
9337 arg4 = &temp4;
9338 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9339 }
9340 }
9341 if (obj4) {
9342 arg5 = (long) SWIG_AsLong(obj4);
9343 if (PyErr_Occurred()) SWIG_fail;
9344 }
9345 if (obj5) {
9346 {
9347 arg6 = wxString_in_helper(obj5);
9348 if (arg6 == NULL) SWIG_fail;
9349 temp6 = True;
9350 }
9351 }
9352 {
9353 PyThreadState* __tstate = wxPyBeginAllowThreads();
9354 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9355
9356 wxPyEndAllowThreads(__tstate);
9357 if (PyErr_Occurred()) SWIG_fail;
9358 }
9359 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9360 {
9361 if (temp6)
9362 delete arg6;
9363 }
9364 return resultobj;
9365 fail:
9366 {
9367 if (temp6)
9368 delete arg6;
9369 }
9370 return NULL;
9371 }
9372
9373
9374 static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
9375 PyObject *resultobj;
9376 wxPyVListBox *result;
9377 char *kwnames[] = {
9378 NULL
9379 };
9380
9381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9382 {
9383 PyThreadState* __tstate = wxPyBeginAllowThreads();
9384 result = (wxPyVListBox *)new wxPyVListBox();
9385
9386 wxPyEndAllowThreads(__tstate);
9387 if (PyErr_Occurred()) SWIG_fail;
9388 }
9389 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9390 return resultobj;
9391 fail:
9392 return NULL;
9393 }
9394
9395
9396 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
9397 PyObject *resultobj;
9398 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9399 PyObject *arg2 = (PyObject *) 0 ;
9400 PyObject *arg3 = (PyObject *) 0 ;
9401 PyObject * obj0 = 0 ;
9402 PyObject * obj1 = 0 ;
9403 PyObject * obj2 = 0 ;
9404 char *kwnames[] = {
9405 (char *) "self",(char *) "self",(char *) "_class", NULL
9406 };
9407
9408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9411 arg2 = obj1;
9412 arg3 = obj2;
9413 {
9414 PyThreadState* __tstate = wxPyBeginAllowThreads();
9415 (arg1)->_setCallbackInfo(arg2,arg3);
9416
9417 wxPyEndAllowThreads(__tstate);
9418 if (PyErr_Occurred()) SWIG_fail;
9419 }
9420 Py_INCREF(Py_None); resultobj = Py_None;
9421 return resultobj;
9422 fail:
9423 return NULL;
9424 }
9425
9426
9427 static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9428 PyObject *resultobj;
9429 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9430 wxWindow *arg2 = (wxWindow *) 0 ;
9431 int arg3 = (int) wxID_ANY ;
9432 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9433 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9434 wxSize const &arg5_defvalue = wxDefaultSize ;
9435 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9436 long arg6 = (long) 0 ;
9437 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9438 wxString *arg7 = (wxString *) &arg7_defvalue ;
9439 bool result;
9440 wxPoint temp4 ;
9441 wxSize temp5 ;
9442 bool temp7 = False ;
9443 PyObject * obj0 = 0 ;
9444 PyObject * obj1 = 0 ;
9445 PyObject * obj2 = 0 ;
9446 PyObject * obj3 = 0 ;
9447 PyObject * obj4 = 0 ;
9448 PyObject * obj5 = 0 ;
9449 PyObject * obj6 = 0 ;
9450 char *kwnames[] = {
9451 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9452 };
9453
9454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9457 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9459 if (obj2) {
9460 arg3 = (int) SWIG_AsInt(obj2);
9461 if (PyErr_Occurred()) SWIG_fail;
9462 }
9463 if (obj3) {
9464 {
9465 arg4 = &temp4;
9466 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9467 }
9468 }
9469 if (obj4) {
9470 {
9471 arg5 = &temp5;
9472 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9473 }
9474 }
9475 if (obj5) {
9476 arg6 = (long) SWIG_AsLong(obj5);
9477 if (PyErr_Occurred()) SWIG_fail;
9478 }
9479 if (obj6) {
9480 {
9481 arg7 = wxString_in_helper(obj6);
9482 if (arg7 == NULL) SWIG_fail;
9483 temp7 = True;
9484 }
9485 }
9486 {
9487 PyThreadState* __tstate = wxPyBeginAllowThreads();
9488 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9489
9490 wxPyEndAllowThreads(__tstate);
9491 if (PyErr_Occurred()) SWIG_fail;
9492 }
9493 {
9494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9495 }
9496 {
9497 if (temp7)
9498 delete arg7;
9499 }
9500 return resultobj;
9501 fail:
9502 {
9503 if (temp7)
9504 delete arg7;
9505 }
9506 return NULL;
9507 }
9508
9509
9510 static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
9511 PyObject *resultobj;
9512 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9513 size_t result;
9514 PyObject * obj0 = 0 ;
9515 char *kwnames[] = {
9516 (char *) "self", NULL
9517 };
9518
9519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
9520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9522 {
9523 PyThreadState* __tstate = wxPyBeginAllowThreads();
9524 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
9525
9526 wxPyEndAllowThreads(__tstate);
9527 if (PyErr_Occurred()) SWIG_fail;
9528 }
9529 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9530 return resultobj;
9531 fail:
9532 return NULL;
9533 }
9534
9535
9536 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
9537 PyObject *resultobj;
9538 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9539 bool result;
9540 PyObject * obj0 = 0 ;
9541 char *kwnames[] = {
9542 (char *) "self", NULL
9543 };
9544
9545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
9546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9548 {
9549 PyThreadState* __tstate = wxPyBeginAllowThreads();
9550 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
9551
9552 wxPyEndAllowThreads(__tstate);
9553 if (PyErr_Occurred()) SWIG_fail;
9554 }
9555 {
9556 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9557 }
9558 return resultobj;
9559 fail:
9560 return NULL;
9561 }
9562
9563
9564 static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
9565 PyObject *resultobj;
9566 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9567 int result;
9568 PyObject * obj0 = 0 ;
9569 char *kwnames[] = {
9570 (char *) "self", NULL
9571 };
9572
9573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
9574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9576 {
9577 PyThreadState* __tstate = wxPyBeginAllowThreads();
9578 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
9579
9580 wxPyEndAllowThreads(__tstate);
9581 if (PyErr_Occurred()) SWIG_fail;
9582 }
9583 resultobj = SWIG_FromInt((int)result);
9584 return resultobj;
9585 fail:
9586 return NULL;
9587 }
9588
9589
9590 static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
9591 PyObject *resultobj;
9592 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9593 size_t arg2 ;
9594 bool result;
9595 PyObject * obj0 = 0 ;
9596 PyObject * obj1 = 0 ;
9597 char *kwnames[] = {
9598 (char *) "self",(char *) "item", NULL
9599 };
9600
9601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
9602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9604 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9605 if (PyErr_Occurred()) SWIG_fail;
9606 {
9607 PyThreadState* __tstate = wxPyBeginAllowThreads();
9608 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
9609
9610 wxPyEndAllowThreads(__tstate);
9611 if (PyErr_Occurred()) SWIG_fail;
9612 }
9613 {
9614 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9615 }
9616 return resultobj;
9617 fail:
9618 return NULL;
9619 }
9620
9621
9622 static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
9623 PyObject *resultobj;
9624 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9625 size_t arg2 ;
9626 bool result;
9627 PyObject * obj0 = 0 ;
9628 PyObject * obj1 = 0 ;
9629 char *kwnames[] = {
9630 (char *) "self",(char *) "item", NULL
9631 };
9632
9633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
9634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9636 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9637 if (PyErr_Occurred()) SWIG_fail;
9638 {
9639 PyThreadState* __tstate = wxPyBeginAllowThreads();
9640 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
9641
9642 wxPyEndAllowThreads(__tstate);
9643 if (PyErr_Occurred()) SWIG_fail;
9644 }
9645 {
9646 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9647 }
9648 return resultobj;
9649 fail:
9650 return NULL;
9651 }
9652
9653
9654 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
9655 PyObject *resultobj;
9656 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9657 size_t result;
9658 PyObject * obj0 = 0 ;
9659 char *kwnames[] = {
9660 (char *) "self", NULL
9661 };
9662
9663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
9664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9666 {
9667 PyThreadState* __tstate = wxPyBeginAllowThreads();
9668 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
9669
9670 wxPyEndAllowThreads(__tstate);
9671 if (PyErr_Occurred()) SWIG_fail;
9672 }
9673 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9674 return resultobj;
9675 fail:
9676 return NULL;
9677 }
9678
9679
9680 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
9681 PyObject *resultobj;
9682 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9683 unsigned long *arg2 = 0 ;
9684 int result;
9685 PyObject * obj0 = 0 ;
9686 PyObject * obj1 = 0 ;
9687 char *kwnames[] = {
9688 (char *) "self",(char *) "cookie", NULL
9689 };
9690
9691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
9692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9694 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9695 SWIG_POINTER_EXCEPTION | 0)) == -1)
9696 SWIG_fail;
9697 if (arg2 == NULL) {
9698 PyErr_SetString(PyExc_TypeError,"null reference");
9699 SWIG_fail;
9700 }
9701 {
9702 PyThreadState* __tstate = wxPyBeginAllowThreads();
9703 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
9704
9705 wxPyEndAllowThreads(__tstate);
9706 if (PyErr_Occurred()) SWIG_fail;
9707 }
9708 resultobj = SWIG_FromInt((int)result);
9709 return resultobj;
9710 fail:
9711 return NULL;
9712 }
9713
9714
9715 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
9716 PyObject *resultobj;
9717 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9718 unsigned long *arg2 = 0 ;
9719 int result;
9720 PyObject * obj0 = 0 ;
9721 PyObject * obj1 = 0 ;
9722 char *kwnames[] = {
9723 (char *) "self",(char *) "cookie", NULL
9724 };
9725
9726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
9727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9729 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9730 SWIG_POINTER_EXCEPTION | 0)) == -1)
9731 SWIG_fail;
9732 if (arg2 == NULL) {
9733 PyErr_SetString(PyExc_TypeError,"null reference");
9734 SWIG_fail;
9735 }
9736 {
9737 PyThreadState* __tstate = wxPyBeginAllowThreads();
9738 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
9739
9740 wxPyEndAllowThreads(__tstate);
9741 if (PyErr_Occurred()) SWIG_fail;
9742 }
9743 resultobj = SWIG_FromInt((int)result);
9744 return resultobj;
9745 fail:
9746 return NULL;
9747 }
9748
9749
9750 static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
9751 PyObject *resultobj;
9752 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9753 wxPoint result;
9754 PyObject * obj0 = 0 ;
9755 char *kwnames[] = {
9756 (char *) "self", NULL
9757 };
9758
9759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
9760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9762 {
9763 PyThreadState* __tstate = wxPyBeginAllowThreads();
9764 result = ((wxPyVListBox const *)arg1)->GetMargins();
9765
9766 wxPyEndAllowThreads(__tstate);
9767 if (PyErr_Occurred()) SWIG_fail;
9768 }
9769 {
9770 wxPoint * resultptr;
9771 resultptr = new wxPoint((wxPoint &) result);
9772 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
9773 }
9774 return resultobj;
9775 fail:
9776 return NULL;
9777 }
9778
9779
9780 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
9781 PyObject *resultobj;
9782 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9783 wxColour *result;
9784 PyObject * obj0 = 0 ;
9785 char *kwnames[] = {
9786 (char *) "self", NULL
9787 };
9788
9789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
9790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9792 {
9793 PyThreadState* __tstate = wxPyBeginAllowThreads();
9794 {
9795 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
9796 result = (wxColour *) &_result_ref;
9797 }
9798
9799 wxPyEndAllowThreads(__tstate);
9800 if (PyErr_Occurred()) SWIG_fail;
9801 }
9802 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9803 return resultobj;
9804 fail:
9805 return NULL;
9806 }
9807
9808
9809 static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
9810 PyObject *resultobj;
9811 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9812 size_t arg2 ;
9813 PyObject * obj0 = 0 ;
9814 PyObject * obj1 = 0 ;
9815 char *kwnames[] = {
9816 (char *) "self",(char *) "count", NULL
9817 };
9818
9819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9822 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9823 if (PyErr_Occurred()) SWIG_fail;
9824 {
9825 PyThreadState* __tstate = wxPyBeginAllowThreads();
9826 (arg1)->SetItemCount(arg2);
9827
9828 wxPyEndAllowThreads(__tstate);
9829 if (PyErr_Occurred()) SWIG_fail;
9830 }
9831 Py_INCREF(Py_None); resultobj = Py_None;
9832 return resultobj;
9833 fail:
9834 return NULL;
9835 }
9836
9837
9838 static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
9839 PyObject *resultobj;
9840 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9841 PyObject * obj0 = 0 ;
9842 char *kwnames[] = {
9843 (char *) "self", NULL
9844 };
9845
9846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
9847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9849 {
9850 PyThreadState* __tstate = wxPyBeginAllowThreads();
9851 (arg1)->Clear();
9852
9853 wxPyEndAllowThreads(__tstate);
9854 if (PyErr_Occurred()) SWIG_fail;
9855 }
9856 Py_INCREF(Py_None); resultobj = Py_None;
9857 return resultobj;
9858 fail:
9859 return NULL;
9860 }
9861
9862
9863 static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
9864 PyObject *resultobj;
9865 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9866 int arg2 ;
9867 PyObject * obj0 = 0 ;
9868 PyObject * obj1 = 0 ;
9869 char *kwnames[] = {
9870 (char *) "self",(char *) "selection", NULL
9871 };
9872
9873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
9874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9876 arg2 = (int) SWIG_AsInt(obj1);
9877 if (PyErr_Occurred()) SWIG_fail;
9878 {
9879 PyThreadState* __tstate = wxPyBeginAllowThreads();
9880 (arg1)->SetSelection(arg2);
9881
9882 wxPyEndAllowThreads(__tstate);
9883 if (PyErr_Occurred()) SWIG_fail;
9884 }
9885 Py_INCREF(Py_None); resultobj = Py_None;
9886 return resultobj;
9887 fail:
9888 return NULL;
9889 }
9890
9891
9892 static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
9893 PyObject *resultobj;
9894 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9895 size_t arg2 ;
9896 bool arg3 = (bool) True ;
9897 bool result;
9898 PyObject * obj0 = 0 ;
9899 PyObject * obj1 = 0 ;
9900 PyObject * obj2 = 0 ;
9901 char *kwnames[] = {
9902 (char *) "self",(char *) "item",(char *) "select", NULL
9903 };
9904
9905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
9906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9908 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9909 if (PyErr_Occurred()) SWIG_fail;
9910 if (obj2) {
9911 arg3 = (bool) SWIG_AsBool(obj2);
9912 if (PyErr_Occurred()) SWIG_fail;
9913 }
9914 {
9915 PyThreadState* __tstate = wxPyBeginAllowThreads();
9916 result = (bool)(arg1)->Select(arg2,arg3);
9917
9918 wxPyEndAllowThreads(__tstate);
9919 if (PyErr_Occurred()) SWIG_fail;
9920 }
9921 {
9922 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9923 }
9924 return resultobj;
9925 fail:
9926 return NULL;
9927 }
9928
9929
9930 static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
9931 PyObject *resultobj;
9932 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9933 size_t arg2 ;
9934 size_t arg3 ;
9935 bool result;
9936 PyObject * obj0 = 0 ;
9937 PyObject * obj1 = 0 ;
9938 PyObject * obj2 = 0 ;
9939 char *kwnames[] = {
9940 (char *) "self",(char *) "from",(char *) "to", NULL
9941 };
9942
9943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
9944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9946 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9947 if (PyErr_Occurred()) SWIG_fail;
9948 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9949 if (PyErr_Occurred()) SWIG_fail;
9950 {
9951 PyThreadState* __tstate = wxPyBeginAllowThreads();
9952 result = (bool)(arg1)->SelectRange(arg2,arg3);
9953
9954 wxPyEndAllowThreads(__tstate);
9955 if (PyErr_Occurred()) SWIG_fail;
9956 }
9957 {
9958 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9959 }
9960 return resultobj;
9961 fail:
9962 return NULL;
9963 }
9964
9965
9966 static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
9967 PyObject *resultobj;
9968 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9969 size_t arg2 ;
9970 PyObject * obj0 = 0 ;
9971 PyObject * obj1 = 0 ;
9972 char *kwnames[] = {
9973 (char *) "self",(char *) "item", NULL
9974 };
9975
9976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
9977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9979 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9980 if (PyErr_Occurred()) SWIG_fail;
9981 {
9982 PyThreadState* __tstate = wxPyBeginAllowThreads();
9983 (arg1)->Toggle(arg2);
9984
9985 wxPyEndAllowThreads(__tstate);
9986 if (PyErr_Occurred()) SWIG_fail;
9987 }
9988 Py_INCREF(Py_None); resultobj = Py_None;
9989 return resultobj;
9990 fail:
9991 return NULL;
9992 }
9993
9994
9995 static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
9996 PyObject *resultobj;
9997 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9998 bool result;
9999 PyObject * obj0 = 0 ;
10000 char *kwnames[] = {
10001 (char *) "self", NULL
10002 };
10003
10004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10007 {
10008 PyThreadState* __tstate = wxPyBeginAllowThreads();
10009 result = (bool)(arg1)->SelectAll();
10010
10011 wxPyEndAllowThreads(__tstate);
10012 if (PyErr_Occurred()) SWIG_fail;
10013 }
10014 {
10015 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10016 }
10017 return resultobj;
10018 fail:
10019 return NULL;
10020 }
10021
10022
10023 static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
10024 PyObject *resultobj;
10025 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10026 bool result;
10027 PyObject * obj0 = 0 ;
10028 char *kwnames[] = {
10029 (char *) "self", NULL
10030 };
10031
10032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10035 {
10036 PyThreadState* __tstate = wxPyBeginAllowThreads();
10037 result = (bool)(arg1)->DeselectAll();
10038
10039 wxPyEndAllowThreads(__tstate);
10040 if (PyErr_Occurred()) SWIG_fail;
10041 }
10042 {
10043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10044 }
10045 return resultobj;
10046 fail:
10047 return NULL;
10048 }
10049
10050
10051 static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
10052 PyObject *resultobj;
10053 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10054 wxPoint *arg2 = 0 ;
10055 wxPoint temp2 ;
10056 PyObject * obj0 = 0 ;
10057 PyObject * obj1 = 0 ;
10058 char *kwnames[] = {
10059 (char *) "self",(char *) "pt", NULL
10060 };
10061
10062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10065 {
10066 arg2 = &temp2;
10067 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10068 }
10069 {
10070 PyThreadState* __tstate = wxPyBeginAllowThreads();
10071 (arg1)->SetMargins((wxPoint const &)*arg2);
10072
10073 wxPyEndAllowThreads(__tstate);
10074 if (PyErr_Occurred()) SWIG_fail;
10075 }
10076 Py_INCREF(Py_None); resultobj = Py_None;
10077 return resultobj;
10078 fail:
10079 return NULL;
10080 }
10081
10082
10083 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
10084 PyObject *resultobj;
10085 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10086 int arg2 ;
10087 int arg3 ;
10088 PyObject * obj0 = 0 ;
10089 PyObject * obj1 = 0 ;
10090 PyObject * obj2 = 0 ;
10091 char *kwnames[] = {
10092 (char *) "self",(char *) "x",(char *) "y", NULL
10093 };
10094
10095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10098 arg2 = (int) SWIG_AsInt(obj1);
10099 if (PyErr_Occurred()) SWIG_fail;
10100 arg3 = (int) SWIG_AsInt(obj2);
10101 if (PyErr_Occurred()) SWIG_fail;
10102 {
10103 PyThreadState* __tstate = wxPyBeginAllowThreads();
10104 (arg1)->SetMargins(arg2,arg3);
10105
10106 wxPyEndAllowThreads(__tstate);
10107 if (PyErr_Occurred()) SWIG_fail;
10108 }
10109 Py_INCREF(Py_None); resultobj = Py_None;
10110 return resultobj;
10111 fail:
10112 return NULL;
10113 }
10114
10115
10116 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
10117 PyObject *resultobj;
10118 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10119 wxColour *arg2 = 0 ;
10120 wxColour temp2 ;
10121 PyObject * obj0 = 0 ;
10122 PyObject * obj1 = 0 ;
10123 char *kwnames[] = {
10124 (char *) "self",(char *) "col", NULL
10125 };
10126
10127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10130 {
10131 arg2 = &temp2;
10132 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10133 }
10134 {
10135 PyThreadState* __tstate = wxPyBeginAllowThreads();
10136 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10137
10138 wxPyEndAllowThreads(__tstate);
10139 if (PyErr_Occurred()) SWIG_fail;
10140 }
10141 Py_INCREF(Py_None); resultobj = Py_None;
10142 return resultobj;
10143 fail:
10144 return NULL;
10145 }
10146
10147
10148 static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
10149 PyObject *obj;
10150 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10151 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10152 Py_INCREF(obj);
10153 return Py_BuildValue((char *)"");
10154 }
10155 static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10156 PyObject *resultobj;
10157 wxWindow *arg1 = (wxWindow *) 0 ;
10158 int arg2 = (int) wxID_ANY ;
10159 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10160 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10161 wxSize const &arg4_defvalue = wxDefaultSize ;
10162 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10163 long arg5 = (long) 0 ;
10164 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10165 wxString *arg6 = (wxString *) &arg6_defvalue ;
10166 wxPyHtmlListBox *result;
10167 wxPoint temp3 ;
10168 wxSize temp4 ;
10169 bool temp6 = False ;
10170 PyObject * obj0 = 0 ;
10171 PyObject * obj1 = 0 ;
10172 PyObject * obj2 = 0 ;
10173 PyObject * obj3 = 0 ;
10174 PyObject * obj4 = 0 ;
10175 PyObject * obj5 = 0 ;
10176 char *kwnames[] = {
10177 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10178 };
10179
10180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10183 if (obj1) {
10184 arg2 = (int) SWIG_AsInt(obj1);
10185 if (PyErr_Occurred()) SWIG_fail;
10186 }
10187 if (obj2) {
10188 {
10189 arg3 = &temp3;
10190 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10191 }
10192 }
10193 if (obj3) {
10194 {
10195 arg4 = &temp4;
10196 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10197 }
10198 }
10199 if (obj4) {
10200 arg5 = (long) SWIG_AsLong(obj4);
10201 if (PyErr_Occurred()) SWIG_fail;
10202 }
10203 if (obj5) {
10204 {
10205 arg6 = wxString_in_helper(obj5);
10206 if (arg6 == NULL) SWIG_fail;
10207 temp6 = True;
10208 }
10209 }
10210 {
10211 PyThreadState* __tstate = wxPyBeginAllowThreads();
10212 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10213
10214 wxPyEndAllowThreads(__tstate);
10215 if (PyErr_Occurred()) SWIG_fail;
10216 }
10217 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10218 {
10219 if (temp6)
10220 delete arg6;
10221 }
10222 return resultobj;
10223 fail:
10224 {
10225 if (temp6)
10226 delete arg6;
10227 }
10228 return NULL;
10229 }
10230
10231
10232 static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10233 PyObject *resultobj;
10234 wxPyHtmlListBox *result;
10235 char *kwnames[] = {
10236 NULL
10237 };
10238
10239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10240 {
10241 PyThreadState* __tstate = wxPyBeginAllowThreads();
10242 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10243
10244 wxPyEndAllowThreads(__tstate);
10245 if (PyErr_Occurred()) SWIG_fail;
10246 }
10247 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10248 return resultobj;
10249 fail:
10250 return NULL;
10251 }
10252
10253
10254 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
10255 PyObject *resultobj;
10256 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10257 PyObject *arg2 = (PyObject *) 0 ;
10258 PyObject *arg3 = (PyObject *) 0 ;
10259 PyObject * obj0 = 0 ;
10260 PyObject * obj1 = 0 ;
10261 PyObject * obj2 = 0 ;
10262 char *kwnames[] = {
10263 (char *) "self",(char *) "self",(char *) "_class", NULL
10264 };
10265
10266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10269 arg2 = obj1;
10270 arg3 = obj2;
10271 {
10272 PyThreadState* __tstate = wxPyBeginAllowThreads();
10273 (arg1)->_setCallbackInfo(arg2,arg3);
10274
10275 wxPyEndAllowThreads(__tstate);
10276 if (PyErr_Occurred()) SWIG_fail;
10277 }
10278 Py_INCREF(Py_None); resultobj = Py_None;
10279 return resultobj;
10280 fail:
10281 return NULL;
10282 }
10283
10284
10285 static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10286 PyObject *resultobj;
10287 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10288 wxWindow *arg2 = (wxWindow *) 0 ;
10289 int arg3 = (int) wxID_ANY ;
10290 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10291 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10292 wxSize const &arg5_defvalue = wxDefaultSize ;
10293 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10294 long arg6 = (long) 0 ;
10295 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10296 wxString *arg7 = (wxString *) &arg7_defvalue ;
10297 bool result;
10298 wxPoint temp4 ;
10299 wxSize temp5 ;
10300 bool temp7 = False ;
10301 PyObject * obj0 = 0 ;
10302 PyObject * obj1 = 0 ;
10303 PyObject * obj2 = 0 ;
10304 PyObject * obj3 = 0 ;
10305 PyObject * obj4 = 0 ;
10306 PyObject * obj5 = 0 ;
10307 PyObject * obj6 = 0 ;
10308 char *kwnames[] = {
10309 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10310 };
10311
10312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10315 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10317 if (obj2) {
10318 arg3 = (int) SWIG_AsInt(obj2);
10319 if (PyErr_Occurred()) SWIG_fail;
10320 }
10321 if (obj3) {
10322 {
10323 arg4 = &temp4;
10324 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10325 }
10326 }
10327 if (obj4) {
10328 {
10329 arg5 = &temp5;
10330 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10331 }
10332 }
10333 if (obj5) {
10334 arg6 = (long) SWIG_AsLong(obj5);
10335 if (PyErr_Occurred()) SWIG_fail;
10336 }
10337 if (obj6) {
10338 {
10339 arg7 = wxString_in_helper(obj6);
10340 if (arg7 == NULL) SWIG_fail;
10341 temp7 = True;
10342 }
10343 }
10344 {
10345 PyThreadState* __tstate = wxPyBeginAllowThreads();
10346 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10347
10348 wxPyEndAllowThreads(__tstate);
10349 if (PyErr_Occurred()) SWIG_fail;
10350 }
10351 {
10352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10353 }
10354 {
10355 if (temp7)
10356 delete arg7;
10357 }
10358 return resultobj;
10359 fail:
10360 {
10361 if (temp7)
10362 delete arg7;
10363 }
10364 return NULL;
10365 }
10366
10367
10368 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
10369 PyObject *resultobj;
10370 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10371 PyObject * obj0 = 0 ;
10372 char *kwnames[] = {
10373 (char *) "self", NULL
10374 };
10375
10376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10379 {
10380 PyThreadState* __tstate = wxPyBeginAllowThreads();
10381 (arg1)->RefreshAll();
10382
10383 wxPyEndAllowThreads(__tstate);
10384 if (PyErr_Occurred()) SWIG_fail;
10385 }
10386 Py_INCREF(Py_None); resultobj = Py_None;
10387 return resultobj;
10388 fail:
10389 return NULL;
10390 }
10391
10392
10393 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
10394 PyObject *resultobj;
10395 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10396 size_t arg2 ;
10397 PyObject * obj0 = 0 ;
10398 PyObject * obj1 = 0 ;
10399 char *kwnames[] = {
10400 (char *) "self",(char *) "count", NULL
10401 };
10402
10403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10406 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10407 if (PyErr_Occurred()) SWIG_fail;
10408 {
10409 PyThreadState* __tstate = wxPyBeginAllowThreads();
10410 (arg1)->SetItemCount(arg2);
10411
10412 wxPyEndAllowThreads(__tstate);
10413 if (PyErr_Occurred()) SWIG_fail;
10414 }
10415 Py_INCREF(Py_None); resultobj = Py_None;
10416 return resultobj;
10417 fail:
10418 return NULL;
10419 }
10420
10421
10422 static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
10423 PyObject *obj;
10424 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10425 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
10426 Py_INCREF(obj);
10427 return Py_BuildValue((char *)"");
10428 }
10429 static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
10430 PyObject *resultobj;
10431 wxTaskBarIcon *result;
10432 char *kwnames[] = {
10433 NULL
10434 };
10435
10436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
10437 {
10438 PyThreadState* __tstate = wxPyBeginAllowThreads();
10439 result = (wxTaskBarIcon *)new wxTaskBarIcon();
10440
10441 wxPyEndAllowThreads(__tstate);
10442 if (PyErr_Occurred()) SWIG_fail;
10443 }
10444 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
10445 return resultobj;
10446 fail:
10447 return NULL;
10448 }
10449
10450
10451 static PyObject *_wrap_delete_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
10452 PyObject *resultobj;
10453 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10454 PyObject * obj0 = 0 ;
10455 char *kwnames[] = {
10456 (char *) "self", NULL
10457 };
10458
10459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
10460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10462 {
10463 PyThreadState* __tstate = wxPyBeginAllowThreads();
10464 delete arg1;
10465
10466 wxPyEndAllowThreads(__tstate);
10467 if (PyErr_Occurred()) SWIG_fail;
10468 }
10469 Py_INCREF(Py_None); resultobj = Py_None;
10470 return resultobj;
10471 fail:
10472 return NULL;
10473 }
10474
10475
10476 static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
10477 PyObject *obj;
10478 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10479 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
10480 Py_INCREF(obj);
10481 return Py_BuildValue((char *)"");
10482 }
10483 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
10484 PyObject *resultobj;
10485 wxEventType arg1 ;
10486 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
10487 wxTaskBarIconEvent *result;
10488 PyObject * obj0 = 0 ;
10489 PyObject * obj1 = 0 ;
10490 char *kwnames[] = {
10491 (char *) "evtType",(char *) "tbIcon", NULL
10492 };
10493
10494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
10495 arg1 = (wxEventType) SWIG_AsInt(obj0);
10496 if (PyErr_Occurred()) SWIG_fail;
10497 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
10498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10499 {
10500 PyThreadState* __tstate = wxPyBeginAllowThreads();
10501 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
10502
10503 wxPyEndAllowThreads(__tstate);
10504 if (PyErr_Occurred()) SWIG_fail;
10505 }
10506 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
10507 return resultobj;
10508 fail:
10509 return NULL;
10510 }
10511
10512
10513 static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
10514 PyObject *obj;
10515 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10516 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
10517 Py_INCREF(obj);
10518 return Py_BuildValue((char *)"");
10519 }
10520 static int _wrap_FileSelectorPromptStr_set(PyObject *) {
10521 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
10522 return 1;
10523 }
10524
10525
10526 static PyObject *_wrap_FileSelectorPromptStr_get() {
10527 PyObject *pyobj;
10528
10529 {
10530 #if wxUSE_UNICODE
10531 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10532 #else
10533 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10534 #endif
10535 }
10536 return pyobj;
10537 }
10538
10539
10540 static int _wrap_DirSelectorPromptStr_set(PyObject *) {
10541 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
10542 return 1;
10543 }
10544
10545
10546 static PyObject *_wrap_DirSelectorPromptStr_get() {
10547 PyObject *pyobj;
10548
10549 {
10550 #if wxUSE_UNICODE
10551 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10552 #else
10553 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10554 #endif
10555 }
10556 return pyobj;
10557 }
10558
10559
10560 static int _wrap_DirDialogNameStr_set(PyObject *) {
10561 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
10562 return 1;
10563 }
10564
10565
10566 static PyObject *_wrap_DirDialogNameStr_get() {
10567 PyObject *pyobj;
10568
10569 {
10570 #if wxUSE_UNICODE
10571 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10572 #else
10573 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10574 #endif
10575 }
10576 return pyobj;
10577 }
10578
10579
10580 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
10581 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
10582 return 1;
10583 }
10584
10585
10586 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
10587 PyObject *pyobj;
10588
10589 {
10590 #if wxUSE_UNICODE
10591 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10592 #else
10593 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10594 #endif
10595 }
10596 return pyobj;
10597 }
10598
10599
10600 static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
10601 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
10602 return 1;
10603 }
10604
10605
10606 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
10607 PyObject *pyobj;
10608
10609 {
10610 #if wxUSE_UNICODE
10611 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10612 #else
10613 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10614 #endif
10615 }
10616 return pyobj;
10617 }
10618
10619
10620 static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
10621 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
10622 return 1;
10623 }
10624
10625
10626 static PyObject *_wrap_MessageBoxCaptionStr_get() {
10627 PyObject *pyobj;
10628
10629 {
10630 #if wxUSE_UNICODE
10631 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10632 #else
10633 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10634 #endif
10635 }
10636 return pyobj;
10637 }
10638
10639
10640 static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
10641 PyObject *resultobj;
10642 wxColourData *result;
10643 char *kwnames[] = {
10644 NULL
10645 };
10646
10647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
10648 {
10649 PyThreadState* __tstate = wxPyBeginAllowThreads();
10650 result = (wxColourData *)new wxColourData();
10651
10652 wxPyEndAllowThreads(__tstate);
10653 if (PyErr_Occurred()) SWIG_fail;
10654 }
10655 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
10656 return resultobj;
10657 fail:
10658 return NULL;
10659 }
10660
10661
10662 static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
10663 PyObject *resultobj;
10664 wxColourData *arg1 = (wxColourData *) 0 ;
10665 PyObject * obj0 = 0 ;
10666 char *kwnames[] = {
10667 (char *) "self", NULL
10668 };
10669
10670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
10671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10673 {
10674 PyThreadState* __tstate = wxPyBeginAllowThreads();
10675 delete arg1;
10676
10677 wxPyEndAllowThreads(__tstate);
10678 if (PyErr_Occurred()) SWIG_fail;
10679 }
10680 Py_INCREF(Py_None); resultobj = Py_None;
10681 return resultobj;
10682 fail:
10683 return NULL;
10684 }
10685
10686
10687 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
10688 PyObject *resultobj;
10689 wxColourData *arg1 = (wxColourData *) 0 ;
10690 bool result;
10691 PyObject * obj0 = 0 ;
10692 char *kwnames[] = {
10693 (char *) "self", NULL
10694 };
10695
10696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
10697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10699 {
10700 PyThreadState* __tstate = wxPyBeginAllowThreads();
10701 result = (bool)(arg1)->GetChooseFull();
10702
10703 wxPyEndAllowThreads(__tstate);
10704 if (PyErr_Occurred()) SWIG_fail;
10705 }
10706 {
10707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10708 }
10709 return resultobj;
10710 fail:
10711 return NULL;
10712 }
10713
10714
10715 static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
10716 PyObject *resultobj;
10717 wxColourData *arg1 = (wxColourData *) 0 ;
10718 wxColour result;
10719 PyObject * obj0 = 0 ;
10720 char *kwnames[] = {
10721 (char *) "self", NULL
10722 };
10723
10724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
10725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10727 {
10728 PyThreadState* __tstate = wxPyBeginAllowThreads();
10729 result = (arg1)->GetColour();
10730
10731 wxPyEndAllowThreads(__tstate);
10732 if (PyErr_Occurred()) SWIG_fail;
10733 }
10734 {
10735 wxColour * resultptr;
10736 resultptr = new wxColour((wxColour &) result);
10737 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
10738 }
10739 return resultobj;
10740 fail:
10741 return NULL;
10742 }
10743
10744
10745 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
10746 PyObject *resultobj;
10747 wxColourData *arg1 = (wxColourData *) 0 ;
10748 int arg2 ;
10749 wxColour result;
10750 PyObject * obj0 = 0 ;
10751 PyObject * obj1 = 0 ;
10752 char *kwnames[] = {
10753 (char *) "self",(char *) "i", NULL
10754 };
10755
10756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
10757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10759 arg2 = (int) SWIG_AsInt(obj1);
10760 if (PyErr_Occurred()) SWIG_fail;
10761 {
10762 PyThreadState* __tstate = wxPyBeginAllowThreads();
10763 result = (arg1)->GetCustomColour(arg2);
10764
10765 wxPyEndAllowThreads(__tstate);
10766 if (PyErr_Occurred()) SWIG_fail;
10767 }
10768 {
10769 wxColour * resultptr;
10770 resultptr = new wxColour((wxColour &) result);
10771 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
10772 }
10773 return resultobj;
10774 fail:
10775 return NULL;
10776 }
10777
10778
10779 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
10780 PyObject *resultobj;
10781 wxColourData *arg1 = (wxColourData *) 0 ;
10782 int arg2 ;
10783 PyObject * obj0 = 0 ;
10784 PyObject * obj1 = 0 ;
10785 char *kwnames[] = {
10786 (char *) "self",(char *) "flag", NULL
10787 };
10788
10789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
10790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10792 arg2 = (int) SWIG_AsInt(obj1);
10793 if (PyErr_Occurred()) SWIG_fail;
10794 {
10795 PyThreadState* __tstate = wxPyBeginAllowThreads();
10796 (arg1)->SetChooseFull(arg2);
10797
10798 wxPyEndAllowThreads(__tstate);
10799 if (PyErr_Occurred()) SWIG_fail;
10800 }
10801 Py_INCREF(Py_None); resultobj = Py_None;
10802 return resultobj;
10803 fail:
10804 return NULL;
10805 }
10806
10807
10808 static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
10809 PyObject *resultobj;
10810 wxColourData *arg1 = (wxColourData *) 0 ;
10811 wxColour *arg2 = 0 ;
10812 wxColour temp2 ;
10813 PyObject * obj0 = 0 ;
10814 PyObject * obj1 = 0 ;
10815 char *kwnames[] = {
10816 (char *) "self",(char *) "colour", NULL
10817 };
10818
10819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
10820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10822 {
10823 arg2 = &temp2;
10824 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10825 }
10826 {
10827 PyThreadState* __tstate = wxPyBeginAllowThreads();
10828 (arg1)->SetColour((wxColour const &)*arg2);
10829
10830 wxPyEndAllowThreads(__tstate);
10831 if (PyErr_Occurred()) SWIG_fail;
10832 }
10833 Py_INCREF(Py_None); resultobj = Py_None;
10834 return resultobj;
10835 fail:
10836 return NULL;
10837 }
10838
10839
10840 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
10841 PyObject *resultobj;
10842 wxColourData *arg1 = (wxColourData *) 0 ;
10843 int arg2 ;
10844 wxColour *arg3 = 0 ;
10845 wxColour temp3 ;
10846 PyObject * obj0 = 0 ;
10847 PyObject * obj1 = 0 ;
10848 PyObject * obj2 = 0 ;
10849 char *kwnames[] = {
10850 (char *) "self",(char *) "i",(char *) "colour", NULL
10851 };
10852
10853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
10854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10856 arg2 = (int) SWIG_AsInt(obj1);
10857 if (PyErr_Occurred()) SWIG_fail;
10858 {
10859 arg3 = &temp3;
10860 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
10861 }
10862 {
10863 PyThreadState* __tstate = wxPyBeginAllowThreads();
10864 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
10865
10866 wxPyEndAllowThreads(__tstate);
10867 if (PyErr_Occurred()) SWIG_fail;
10868 }
10869 Py_INCREF(Py_None); resultobj = Py_None;
10870 return resultobj;
10871 fail:
10872 return NULL;
10873 }
10874
10875
10876 static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
10877 PyObject *obj;
10878 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10879 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
10880 Py_INCREF(obj);
10881 return Py_BuildValue((char *)"");
10882 }
10883 static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
10884 PyObject *resultobj;
10885 wxWindow *arg1 = (wxWindow *) 0 ;
10886 wxColourData *arg2 = (wxColourData *) NULL ;
10887 wxColourDialog *result;
10888 PyObject * obj0 = 0 ;
10889 PyObject * obj1 = 0 ;
10890 char *kwnames[] = {
10891 (char *) "parent",(char *) "data", NULL
10892 };
10893
10894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
10895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10897 if (obj1) {
10898 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
10899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10900 }
10901 {
10902 PyThreadState* __tstate = wxPyBeginAllowThreads();
10903 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
10904
10905 wxPyEndAllowThreads(__tstate);
10906 if (PyErr_Occurred()) SWIG_fail;
10907 }
10908 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
10909 return resultobj;
10910 fail:
10911 return NULL;
10912 }
10913
10914
10915 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
10916 PyObject *resultobj;
10917 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
10918 wxColourData *result;
10919 PyObject * obj0 = 0 ;
10920 char *kwnames[] = {
10921 (char *) "self", NULL
10922 };
10923
10924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
10925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
10926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10927 {
10928 PyThreadState* __tstate = wxPyBeginAllowThreads();
10929 {
10930 wxColourData &_result_ref = (arg1)->GetColourData();
10931 result = (wxColourData *) &_result_ref;
10932 }
10933
10934 wxPyEndAllowThreads(__tstate);
10935 if (PyErr_Occurred()) SWIG_fail;
10936 }
10937 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
10938 return resultobj;
10939 fail:
10940 return NULL;
10941 }
10942
10943
10944 static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
10945 PyObject *obj;
10946 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10947 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
10948 Py_INCREF(obj);
10949 return Py_BuildValue((char *)"");
10950 }
10951 static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
10952 PyObject *resultobj;
10953 wxWindow *arg1 = (wxWindow *) 0 ;
10954 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
10955 wxString *arg2 = (wxString *) &arg2_defvalue ;
10956 wxString const &arg3_defvalue = wxPyEmptyString ;
10957 wxString *arg3 = (wxString *) &arg3_defvalue ;
10958 long arg4 = (long) 0 ;
10959 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10960 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10961 wxSize const &arg6_defvalue = wxDefaultSize ;
10962 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10963 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
10964 wxString *arg7 = (wxString *) &arg7_defvalue ;
10965 wxDirDialog *result;
10966 bool temp2 = False ;
10967 bool temp3 = False ;
10968 wxPoint temp5 ;
10969 wxSize temp6 ;
10970 bool temp7 = False ;
10971 PyObject * obj0 = 0 ;
10972 PyObject * obj1 = 0 ;
10973 PyObject * obj2 = 0 ;
10974 PyObject * obj3 = 0 ;
10975 PyObject * obj4 = 0 ;
10976 PyObject * obj5 = 0 ;
10977 PyObject * obj6 = 0 ;
10978 char *kwnames[] = {
10979 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
10980 };
10981
10982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10985 if (obj1) {
10986 {
10987 arg2 = wxString_in_helper(obj1);
10988 if (arg2 == NULL) SWIG_fail;
10989 temp2 = True;
10990 }
10991 }
10992 if (obj2) {
10993 {
10994 arg3 = wxString_in_helper(obj2);
10995 if (arg3 == NULL) SWIG_fail;
10996 temp3 = True;
10997 }
10998 }
10999 if (obj3) {
11000 arg4 = (long) SWIG_AsLong(obj3);
11001 if (PyErr_Occurred()) SWIG_fail;
11002 }
11003 if (obj4) {
11004 {
11005 arg5 = &temp5;
11006 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11007 }
11008 }
11009 if (obj5) {
11010 {
11011 arg6 = &temp6;
11012 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11013 }
11014 }
11015 if (obj6) {
11016 {
11017 arg7 = wxString_in_helper(obj6);
11018 if (arg7 == NULL) SWIG_fail;
11019 temp7 = True;
11020 }
11021 }
11022 {
11023 PyThreadState* __tstate = wxPyBeginAllowThreads();
11024 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11025
11026 wxPyEndAllowThreads(__tstate);
11027 if (PyErr_Occurred()) SWIG_fail;
11028 }
11029 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
11030 {
11031 if (temp2)
11032 delete arg2;
11033 }
11034 {
11035 if (temp3)
11036 delete arg3;
11037 }
11038 {
11039 if (temp7)
11040 delete arg7;
11041 }
11042 return resultobj;
11043 fail:
11044 {
11045 if (temp2)
11046 delete arg2;
11047 }
11048 {
11049 if (temp3)
11050 delete arg3;
11051 }
11052 {
11053 if (temp7)
11054 delete arg7;
11055 }
11056 return NULL;
11057 }
11058
11059
11060 static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
11061 PyObject *resultobj;
11062 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11063 wxString result;
11064 PyObject * obj0 = 0 ;
11065 char *kwnames[] = {
11066 (char *) "self", NULL
11067 };
11068
11069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
11070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11072 {
11073 PyThreadState* __tstate = wxPyBeginAllowThreads();
11074 result = (arg1)->GetPath();
11075
11076 wxPyEndAllowThreads(__tstate);
11077 if (PyErr_Occurred()) SWIG_fail;
11078 }
11079 {
11080 #if wxUSE_UNICODE
11081 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11082 #else
11083 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11084 #endif
11085 }
11086 return resultobj;
11087 fail:
11088 return NULL;
11089 }
11090
11091
11092 static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
11093 PyObject *resultobj;
11094 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11095 wxString result;
11096 PyObject * obj0 = 0 ;
11097 char *kwnames[] = {
11098 (char *) "self", NULL
11099 };
11100
11101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
11102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11104 {
11105 PyThreadState* __tstate = wxPyBeginAllowThreads();
11106 result = (arg1)->GetMessage();
11107
11108 wxPyEndAllowThreads(__tstate);
11109 if (PyErr_Occurred()) SWIG_fail;
11110 }
11111 {
11112 #if wxUSE_UNICODE
11113 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11114 #else
11115 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11116 #endif
11117 }
11118 return resultobj;
11119 fail:
11120 return NULL;
11121 }
11122
11123
11124 static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
11125 PyObject *resultobj;
11126 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11127 long result;
11128 PyObject * obj0 = 0 ;
11129 char *kwnames[] = {
11130 (char *) "self", NULL
11131 };
11132
11133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
11134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11136 {
11137 PyThreadState* __tstate = wxPyBeginAllowThreads();
11138 result = (long)(arg1)->GetStyle();
11139
11140 wxPyEndAllowThreads(__tstate);
11141 if (PyErr_Occurred()) SWIG_fail;
11142 }
11143 resultobj = SWIG_FromLong((long)result);
11144 return resultobj;
11145 fail:
11146 return NULL;
11147 }
11148
11149
11150 static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
11151 PyObject *resultobj;
11152 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11153 wxString *arg2 = 0 ;
11154 bool temp2 = False ;
11155 PyObject * obj0 = 0 ;
11156 PyObject * obj1 = 0 ;
11157 char *kwnames[] = {
11158 (char *) "self",(char *) "message", NULL
11159 };
11160
11161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11164 {
11165 arg2 = wxString_in_helper(obj1);
11166 if (arg2 == NULL) SWIG_fail;
11167 temp2 = True;
11168 }
11169 {
11170 PyThreadState* __tstate = wxPyBeginAllowThreads();
11171 (arg1)->SetMessage((wxString const &)*arg2);
11172
11173 wxPyEndAllowThreads(__tstate);
11174 if (PyErr_Occurred()) SWIG_fail;
11175 }
11176 Py_INCREF(Py_None); resultobj = Py_None;
11177 {
11178 if (temp2)
11179 delete arg2;
11180 }
11181 return resultobj;
11182 fail:
11183 {
11184 if (temp2)
11185 delete arg2;
11186 }
11187 return NULL;
11188 }
11189
11190
11191 static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
11192 PyObject *resultobj;
11193 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11194 wxString *arg2 = 0 ;
11195 bool temp2 = False ;
11196 PyObject * obj0 = 0 ;
11197 PyObject * obj1 = 0 ;
11198 char *kwnames[] = {
11199 (char *) "self",(char *) "path", NULL
11200 };
11201
11202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11205 {
11206 arg2 = wxString_in_helper(obj1);
11207 if (arg2 == NULL) SWIG_fail;
11208 temp2 = True;
11209 }
11210 {
11211 PyThreadState* __tstate = wxPyBeginAllowThreads();
11212 (arg1)->SetPath((wxString const &)*arg2);
11213
11214 wxPyEndAllowThreads(__tstate);
11215 if (PyErr_Occurred()) SWIG_fail;
11216 }
11217 Py_INCREF(Py_None); resultobj = Py_None;
11218 {
11219 if (temp2)
11220 delete arg2;
11221 }
11222 return resultobj;
11223 fail:
11224 {
11225 if (temp2)
11226 delete arg2;
11227 }
11228 return NULL;
11229 }
11230
11231
11232 static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
11233 PyObject *obj;
11234 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11235 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
11236 Py_INCREF(obj);
11237 return Py_BuildValue((char *)"");
11238 }
11239 static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
11240 PyObject *resultobj;
11241 wxWindow *arg1 = (wxWindow *) 0 ;
11242 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
11243 wxString *arg2 = (wxString *) &arg2_defvalue ;
11244 wxString const &arg3_defvalue = wxPyEmptyString ;
11245 wxString *arg3 = (wxString *) &arg3_defvalue ;
11246 wxString const &arg4_defvalue = wxPyEmptyString ;
11247 wxString *arg4 = (wxString *) &arg4_defvalue ;
11248 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
11249 wxString *arg5 = (wxString *) &arg5_defvalue ;
11250 long arg6 = (long) 0 ;
11251 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11252 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11253 wxFileDialog *result;
11254 bool temp2 = False ;
11255 bool temp3 = False ;
11256 bool temp4 = False ;
11257 bool temp5 = False ;
11258 wxPoint temp7 ;
11259 PyObject * obj0 = 0 ;
11260 PyObject * obj1 = 0 ;
11261 PyObject * obj2 = 0 ;
11262 PyObject * obj3 = 0 ;
11263 PyObject * obj4 = 0 ;
11264 PyObject * obj5 = 0 ;
11265 PyObject * obj6 = 0 ;
11266 char *kwnames[] = {
11267 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11268 };
11269
11270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11273 if (obj1) {
11274 {
11275 arg2 = wxString_in_helper(obj1);
11276 if (arg2 == NULL) SWIG_fail;
11277 temp2 = True;
11278 }
11279 }
11280 if (obj2) {
11281 {
11282 arg3 = wxString_in_helper(obj2);
11283 if (arg3 == NULL) SWIG_fail;
11284 temp3 = True;
11285 }
11286 }
11287 if (obj3) {
11288 {
11289 arg4 = wxString_in_helper(obj3);
11290 if (arg4 == NULL) SWIG_fail;
11291 temp4 = True;
11292 }
11293 }
11294 if (obj4) {
11295 {
11296 arg5 = wxString_in_helper(obj4);
11297 if (arg5 == NULL) SWIG_fail;
11298 temp5 = True;
11299 }
11300 }
11301 if (obj5) {
11302 arg6 = (long) SWIG_AsLong(obj5);
11303 if (PyErr_Occurred()) SWIG_fail;
11304 }
11305 if (obj6) {
11306 {
11307 arg7 = &temp7;
11308 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11309 }
11310 }
11311 {
11312 PyThreadState* __tstate = wxPyBeginAllowThreads();
11313 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
11314
11315 wxPyEndAllowThreads(__tstate);
11316 if (PyErr_Occurred()) SWIG_fail;
11317 }
11318 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
11319 {
11320 if (temp2)
11321 delete arg2;
11322 }
11323 {
11324 if (temp3)
11325 delete arg3;
11326 }
11327 {
11328 if (temp4)
11329 delete arg4;
11330 }
11331 {
11332 if (temp5)
11333 delete arg5;
11334 }
11335 return resultobj;
11336 fail:
11337 {
11338 if (temp2)
11339 delete arg2;
11340 }
11341 {
11342 if (temp3)
11343 delete arg3;
11344 }
11345 {
11346 if (temp4)
11347 delete arg4;
11348 }
11349 {
11350 if (temp5)
11351 delete arg5;
11352 }
11353 return NULL;
11354 }
11355
11356
11357 static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
11358 PyObject *resultobj;
11359 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11360 wxString *arg2 = 0 ;
11361 bool temp2 = False ;
11362 PyObject * obj0 = 0 ;
11363 PyObject * obj1 = 0 ;
11364 char *kwnames[] = {
11365 (char *) "self",(char *) "message", NULL
11366 };
11367
11368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11371 {
11372 arg2 = wxString_in_helper(obj1);
11373 if (arg2 == NULL) SWIG_fail;
11374 temp2 = True;
11375 }
11376 {
11377 PyThreadState* __tstate = wxPyBeginAllowThreads();
11378 (arg1)->SetMessage((wxString const &)*arg2);
11379
11380 wxPyEndAllowThreads(__tstate);
11381 if (PyErr_Occurred()) SWIG_fail;
11382 }
11383 Py_INCREF(Py_None); resultobj = Py_None;
11384 {
11385 if (temp2)
11386 delete arg2;
11387 }
11388 return resultobj;
11389 fail:
11390 {
11391 if (temp2)
11392 delete arg2;
11393 }
11394 return NULL;
11395 }
11396
11397
11398 static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
11399 PyObject *resultobj;
11400 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11401 wxString *arg2 = 0 ;
11402 bool temp2 = False ;
11403 PyObject * obj0 = 0 ;
11404 PyObject * obj1 = 0 ;
11405 char *kwnames[] = {
11406 (char *) "self",(char *) "path", NULL
11407 };
11408
11409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11412 {
11413 arg2 = wxString_in_helper(obj1);
11414 if (arg2 == NULL) SWIG_fail;
11415 temp2 = True;
11416 }
11417 {
11418 PyThreadState* __tstate = wxPyBeginAllowThreads();
11419 (arg1)->SetPath((wxString const &)*arg2);
11420
11421 wxPyEndAllowThreads(__tstate);
11422 if (PyErr_Occurred()) SWIG_fail;
11423 }
11424 Py_INCREF(Py_None); resultobj = Py_None;
11425 {
11426 if (temp2)
11427 delete arg2;
11428 }
11429 return resultobj;
11430 fail:
11431 {
11432 if (temp2)
11433 delete arg2;
11434 }
11435 return NULL;
11436 }
11437
11438
11439 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
11440 PyObject *resultobj;
11441 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11442 wxString *arg2 = 0 ;
11443 bool temp2 = False ;
11444 PyObject * obj0 = 0 ;
11445 PyObject * obj1 = 0 ;
11446 char *kwnames[] = {
11447 (char *) "self",(char *) "dir", NULL
11448 };
11449
11450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
11451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11453 {
11454 arg2 = wxString_in_helper(obj1);
11455 if (arg2 == NULL) SWIG_fail;
11456 temp2 = True;
11457 }
11458 {
11459 PyThreadState* __tstate = wxPyBeginAllowThreads();
11460 (arg1)->SetDirectory((wxString const &)*arg2);
11461
11462 wxPyEndAllowThreads(__tstate);
11463 if (PyErr_Occurred()) SWIG_fail;
11464 }
11465 Py_INCREF(Py_None); resultobj = Py_None;
11466 {
11467 if (temp2)
11468 delete arg2;
11469 }
11470 return resultobj;
11471 fail:
11472 {
11473 if (temp2)
11474 delete arg2;
11475 }
11476 return NULL;
11477 }
11478
11479
11480 static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
11481 PyObject *resultobj;
11482 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11483 wxString *arg2 = 0 ;
11484 bool temp2 = False ;
11485 PyObject * obj0 = 0 ;
11486 PyObject * obj1 = 0 ;
11487 char *kwnames[] = {
11488 (char *) "self",(char *) "name", NULL
11489 };
11490
11491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
11492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11494 {
11495 arg2 = wxString_in_helper(obj1);
11496 if (arg2 == NULL) SWIG_fail;
11497 temp2 = True;
11498 }
11499 {
11500 PyThreadState* __tstate = wxPyBeginAllowThreads();
11501 (arg1)->SetFilename((wxString const &)*arg2);
11502
11503 wxPyEndAllowThreads(__tstate);
11504 if (PyErr_Occurred()) SWIG_fail;
11505 }
11506 Py_INCREF(Py_None); resultobj = Py_None;
11507 {
11508 if (temp2)
11509 delete arg2;
11510 }
11511 return resultobj;
11512 fail:
11513 {
11514 if (temp2)
11515 delete arg2;
11516 }
11517 return NULL;
11518 }
11519
11520
11521 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
11522 PyObject *resultobj;
11523 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11524 wxString *arg2 = 0 ;
11525 bool temp2 = False ;
11526 PyObject * obj0 = 0 ;
11527 PyObject * obj1 = 0 ;
11528 char *kwnames[] = {
11529 (char *) "self",(char *) "wildCard", NULL
11530 };
11531
11532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
11533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11535 {
11536 arg2 = wxString_in_helper(obj1);
11537 if (arg2 == NULL) SWIG_fail;
11538 temp2 = True;
11539 }
11540 {
11541 PyThreadState* __tstate = wxPyBeginAllowThreads();
11542 (arg1)->SetWildcard((wxString const &)*arg2);
11543
11544 wxPyEndAllowThreads(__tstate);
11545 if (PyErr_Occurred()) SWIG_fail;
11546 }
11547 Py_INCREF(Py_None); resultobj = Py_None;
11548 {
11549 if (temp2)
11550 delete arg2;
11551 }
11552 return resultobj;
11553 fail:
11554 {
11555 if (temp2)
11556 delete arg2;
11557 }
11558 return NULL;
11559 }
11560
11561
11562 static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
11563 PyObject *resultobj;
11564 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11565 long arg2 ;
11566 PyObject * obj0 = 0 ;
11567 PyObject * obj1 = 0 ;
11568 char *kwnames[] = {
11569 (char *) "self",(char *) "style", NULL
11570 };
11571
11572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
11573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11575 arg2 = (long) SWIG_AsLong(obj1);
11576 if (PyErr_Occurred()) SWIG_fail;
11577 {
11578 PyThreadState* __tstate = wxPyBeginAllowThreads();
11579 (arg1)->SetStyle(arg2);
11580
11581 wxPyEndAllowThreads(__tstate);
11582 if (PyErr_Occurred()) SWIG_fail;
11583 }
11584 Py_INCREF(Py_None); resultobj = Py_None;
11585 return resultobj;
11586 fail:
11587 return NULL;
11588 }
11589
11590
11591 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
11592 PyObject *resultobj;
11593 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11594 int arg2 ;
11595 PyObject * obj0 = 0 ;
11596 PyObject * obj1 = 0 ;
11597 char *kwnames[] = {
11598 (char *) "self",(char *) "filterIndex", NULL
11599 };
11600
11601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
11602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11604 arg2 = (int) SWIG_AsInt(obj1);
11605 if (PyErr_Occurred()) SWIG_fail;
11606 {
11607 PyThreadState* __tstate = wxPyBeginAllowThreads();
11608 (arg1)->SetFilterIndex(arg2);
11609
11610 wxPyEndAllowThreads(__tstate);
11611 if (PyErr_Occurred()) SWIG_fail;
11612 }
11613 Py_INCREF(Py_None); resultobj = Py_None;
11614 return resultobj;
11615 fail:
11616 return NULL;
11617 }
11618
11619
11620 static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
11621 PyObject *resultobj;
11622 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11623 wxString result;
11624 PyObject * obj0 = 0 ;
11625 char *kwnames[] = {
11626 (char *) "self", NULL
11627 };
11628
11629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
11630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11632 {
11633 PyThreadState* __tstate = wxPyBeginAllowThreads();
11634 result = ((wxFileDialog const *)arg1)->GetMessage();
11635
11636 wxPyEndAllowThreads(__tstate);
11637 if (PyErr_Occurred()) SWIG_fail;
11638 }
11639 {
11640 #if wxUSE_UNICODE
11641 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11642 #else
11643 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11644 #endif
11645 }
11646 return resultobj;
11647 fail:
11648 return NULL;
11649 }
11650
11651
11652 static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
11653 PyObject *resultobj;
11654 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11655 wxString result;
11656 PyObject * obj0 = 0 ;
11657 char *kwnames[] = {
11658 (char *) "self", NULL
11659 };
11660
11661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
11662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11664 {
11665 PyThreadState* __tstate = wxPyBeginAllowThreads();
11666 result = ((wxFileDialog const *)arg1)->GetPath();
11667
11668 wxPyEndAllowThreads(__tstate);
11669 if (PyErr_Occurred()) SWIG_fail;
11670 }
11671 {
11672 #if wxUSE_UNICODE
11673 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11674 #else
11675 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11676 #endif
11677 }
11678 return resultobj;
11679 fail:
11680 return NULL;
11681 }
11682
11683
11684 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
11685 PyObject *resultobj;
11686 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11687 wxString result;
11688 PyObject * obj0 = 0 ;
11689 char *kwnames[] = {
11690 (char *) "self", NULL
11691 };
11692
11693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
11694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11696 {
11697 PyThreadState* __tstate = wxPyBeginAllowThreads();
11698 result = ((wxFileDialog const *)arg1)->GetDirectory();
11699
11700 wxPyEndAllowThreads(__tstate);
11701 if (PyErr_Occurred()) SWIG_fail;
11702 }
11703 {
11704 #if wxUSE_UNICODE
11705 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11706 #else
11707 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11708 #endif
11709 }
11710 return resultobj;
11711 fail:
11712 return NULL;
11713 }
11714
11715
11716 static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
11717 PyObject *resultobj;
11718 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11719 wxString result;
11720 PyObject * obj0 = 0 ;
11721 char *kwnames[] = {
11722 (char *) "self", NULL
11723 };
11724
11725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
11726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11728 {
11729 PyThreadState* __tstate = wxPyBeginAllowThreads();
11730 result = ((wxFileDialog const *)arg1)->GetFilename();
11731
11732 wxPyEndAllowThreads(__tstate);
11733 if (PyErr_Occurred()) SWIG_fail;
11734 }
11735 {
11736 #if wxUSE_UNICODE
11737 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11738 #else
11739 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11740 #endif
11741 }
11742 return resultobj;
11743 fail:
11744 return NULL;
11745 }
11746
11747
11748 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
11749 PyObject *resultobj;
11750 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11751 wxString result;
11752 PyObject * obj0 = 0 ;
11753 char *kwnames[] = {
11754 (char *) "self", NULL
11755 };
11756
11757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
11758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11760 {
11761 PyThreadState* __tstate = wxPyBeginAllowThreads();
11762 result = ((wxFileDialog const *)arg1)->GetWildcard();
11763
11764 wxPyEndAllowThreads(__tstate);
11765 if (PyErr_Occurred()) SWIG_fail;
11766 }
11767 {
11768 #if wxUSE_UNICODE
11769 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11770 #else
11771 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11772 #endif
11773 }
11774 return resultobj;
11775 fail:
11776 return NULL;
11777 }
11778
11779
11780 static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
11781 PyObject *resultobj;
11782 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11783 long result;
11784 PyObject * obj0 = 0 ;
11785 char *kwnames[] = {
11786 (char *) "self", NULL
11787 };
11788
11789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
11790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11792 {
11793 PyThreadState* __tstate = wxPyBeginAllowThreads();
11794 result = (long)((wxFileDialog const *)arg1)->GetStyle();
11795
11796 wxPyEndAllowThreads(__tstate);
11797 if (PyErr_Occurred()) SWIG_fail;
11798 }
11799 resultobj = SWIG_FromLong((long)result);
11800 return resultobj;
11801 fail:
11802 return NULL;
11803 }
11804
11805
11806 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
11807 PyObject *resultobj;
11808 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11809 int result;
11810 PyObject * obj0 = 0 ;
11811 char *kwnames[] = {
11812 (char *) "self", NULL
11813 };
11814
11815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
11816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11818 {
11819 PyThreadState* __tstate = wxPyBeginAllowThreads();
11820 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
11821
11822 wxPyEndAllowThreads(__tstate);
11823 if (PyErr_Occurred()) SWIG_fail;
11824 }
11825 resultobj = SWIG_FromInt((int)result);
11826 return resultobj;
11827 fail:
11828 return NULL;
11829 }
11830
11831
11832 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
11833 PyObject *resultobj;
11834 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11835 PyObject *result;
11836 PyObject * obj0 = 0 ;
11837 char *kwnames[] = {
11838 (char *) "self", NULL
11839 };
11840
11841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
11842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11844 {
11845 PyThreadState* __tstate = wxPyBeginAllowThreads();
11846 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
11847
11848 wxPyEndAllowThreads(__tstate);
11849 if (PyErr_Occurred()) SWIG_fail;
11850 }
11851 resultobj = result;
11852 return resultobj;
11853 fail:
11854 return NULL;
11855 }
11856
11857
11858 static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
11859 PyObject *resultobj;
11860 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11861 PyObject *result;
11862 PyObject * obj0 = 0 ;
11863 char *kwnames[] = {
11864 (char *) "self", NULL
11865 };
11866
11867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
11868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11870 {
11871 PyThreadState* __tstate = wxPyBeginAllowThreads();
11872 result = (PyObject *)wxFileDialog_GetPaths(arg1);
11873
11874 wxPyEndAllowThreads(__tstate);
11875 if (PyErr_Occurred()) SWIG_fail;
11876 }
11877 resultobj = result;
11878 return resultobj;
11879 fail:
11880 return NULL;
11881 }
11882
11883
11884 static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
11885 PyObject *obj;
11886 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11887 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
11888 Py_INCREF(obj);
11889 return Py_BuildValue((char *)"");
11890 }
11891 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
11892 PyObject *resultobj;
11893 wxWindow *arg1 = (wxWindow *) 0 ;
11894 wxString *arg2 = 0 ;
11895 wxString *arg3 = 0 ;
11896 int arg4 = (int) 0 ;
11897 wxString *arg5 = (wxString *) 0 ;
11898 long arg6 = (long) wxCHOICEDLG_STYLE ;
11899 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11900 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11901 wxMultiChoiceDialog *result;
11902 bool temp2 = False ;
11903 bool temp3 = False ;
11904 wxPoint temp6 ;
11905 PyObject * obj0 = 0 ;
11906 PyObject * obj1 = 0 ;
11907 PyObject * obj2 = 0 ;
11908 PyObject * obj3 = 0 ;
11909 PyObject * obj4 = 0 ;
11910 PyObject * obj5 = 0 ;
11911 char *kwnames[] = {
11912 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11913 };
11914
11915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11918 {
11919 arg2 = wxString_in_helper(obj1);
11920 if (arg2 == NULL) SWIG_fail;
11921 temp2 = True;
11922 }
11923 {
11924 arg3 = wxString_in_helper(obj2);
11925 if (arg3 == NULL) SWIG_fail;
11926 temp3 = True;
11927 }
11928 if (obj3) {
11929 {
11930 arg4 = PyList_Size(obj3);
11931 arg5 = wxString_LIST_helper(obj3);
11932 if (arg5 == NULL) SWIG_fail;
11933 }
11934 }
11935 if (obj4) {
11936 arg6 = (long) SWIG_AsLong(obj4);
11937 if (PyErr_Occurred()) SWIG_fail;
11938 }
11939 if (obj5) {
11940 {
11941 arg7 = &temp6;
11942 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
11943 }
11944 }
11945 {
11946 PyThreadState* __tstate = wxPyBeginAllowThreads();
11947 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
11948
11949 wxPyEndAllowThreads(__tstate);
11950 if (PyErr_Occurred()) SWIG_fail;
11951 }
11952 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
11953 {
11954 if (temp2)
11955 delete arg2;
11956 }
11957 {
11958 if (temp3)
11959 delete arg3;
11960 }
11961 {
11962 if (arg5) delete [] arg5;
11963 }
11964 return resultobj;
11965 fail:
11966 {
11967 if (temp2)
11968 delete arg2;
11969 }
11970 {
11971 if (temp3)
11972 delete arg3;
11973 }
11974 {
11975 if (arg5) delete [] arg5;
11976 }
11977 return NULL;
11978 }
11979
11980
11981 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
11982 PyObject *resultobj;
11983 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
11984 wxArrayInt *arg2 = 0 ;
11985 bool temp2 = False ;
11986 PyObject * obj0 = 0 ;
11987 PyObject * obj1 = 0 ;
11988 char *kwnames[] = {
11989 (char *) "self",(char *) "selections", NULL
11990 };
11991
11992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
11993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
11994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11995 {
11996 if (! PySequence_Check(obj1)) {
11997 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
11998 SWIG_fail;
11999 }
12000 arg2 = new wxArrayInt;
12001 temp2 = True;
12002 int i, len=PySequence_Length(obj1);
12003 for (i=0; i<len; i++) {
12004 PyObject* item = PySequence_GetItem(obj1, i);
12005 PyObject* number = PyNumber_Int(item);
12006 arg2->Add(PyInt_AS_LONG(number));
12007 Py_DECREF(item);
12008 Py_DECREF(number);
12009 }
12010 }
12011 {
12012 PyThreadState* __tstate = wxPyBeginAllowThreads();
12013 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12014
12015 wxPyEndAllowThreads(__tstate);
12016 if (PyErr_Occurred()) SWIG_fail;
12017 }
12018 Py_INCREF(Py_None); resultobj = Py_None;
12019 {
12020 if (temp2) delete arg2;
12021 }
12022 return resultobj;
12023 fail:
12024 {
12025 if (temp2) delete arg2;
12026 }
12027 return NULL;
12028 }
12029
12030
12031 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
12032 PyObject *resultobj;
12033 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12034 PyObject *result;
12035 PyObject * obj0 = 0 ;
12036 char *kwnames[] = {
12037 (char *) "self", NULL
12038 };
12039
12040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12043 {
12044 PyThreadState* __tstate = wxPyBeginAllowThreads();
12045 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12046
12047 wxPyEndAllowThreads(__tstate);
12048 if (PyErr_Occurred()) SWIG_fail;
12049 }
12050 resultobj = result;
12051 return resultobj;
12052 fail:
12053 return NULL;
12054 }
12055
12056
12057 static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
12058 PyObject *obj;
12059 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12060 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12061 Py_INCREF(obj);
12062 return Py_BuildValue((char *)"");
12063 }
12064 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12065 PyObject *resultobj;
12066 wxWindow *arg1 = (wxWindow *) 0 ;
12067 wxString *arg2 = 0 ;
12068 wxString *arg3 = 0 ;
12069 int arg4 ;
12070 wxString *arg5 = (wxString *) 0 ;
12071 long arg6 = (long) wxCHOICEDLG_STYLE ;
12072 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12073 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12074 wxSingleChoiceDialog *result;
12075 bool temp2 = False ;
12076 bool temp3 = False ;
12077 wxPoint temp6 ;
12078 PyObject * obj0 = 0 ;
12079 PyObject * obj1 = 0 ;
12080 PyObject * obj2 = 0 ;
12081 PyObject * obj3 = 0 ;
12082 PyObject * obj4 = 0 ;
12083 PyObject * obj5 = 0 ;
12084 char *kwnames[] = {
12085 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12086 };
12087
12088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12091 {
12092 arg2 = wxString_in_helper(obj1);
12093 if (arg2 == NULL) SWIG_fail;
12094 temp2 = True;
12095 }
12096 {
12097 arg3 = wxString_in_helper(obj2);
12098 if (arg3 == NULL) SWIG_fail;
12099 temp3 = True;
12100 }
12101 {
12102 arg4 = PyList_Size(obj3);
12103 arg5 = wxString_LIST_helper(obj3);
12104 if (arg5 == NULL) SWIG_fail;
12105 }
12106 if (obj4) {
12107 arg6 = (long) SWIG_AsLong(obj4);
12108 if (PyErr_Occurred()) SWIG_fail;
12109 }
12110 if (obj5) {
12111 {
12112 arg7 = &temp6;
12113 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12114 }
12115 }
12116 {
12117 PyThreadState* __tstate = wxPyBeginAllowThreads();
12118 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12119
12120 wxPyEndAllowThreads(__tstate);
12121 if (PyErr_Occurred()) SWIG_fail;
12122 }
12123 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
12124 {
12125 if (temp2)
12126 delete arg2;
12127 }
12128 {
12129 if (temp3)
12130 delete arg3;
12131 }
12132 {
12133 if (arg5) delete [] arg5;
12134 }
12135 return resultobj;
12136 fail:
12137 {
12138 if (temp2)
12139 delete arg2;
12140 }
12141 {
12142 if (temp3)
12143 delete arg3;
12144 }
12145 {
12146 if (arg5) delete [] arg5;
12147 }
12148 return NULL;
12149 }
12150
12151
12152 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12153 PyObject *resultobj;
12154 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12155 int result;
12156 PyObject * obj0 = 0 ;
12157 char *kwnames[] = {
12158 (char *) "self", NULL
12159 };
12160
12161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
12162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12164 {
12165 PyThreadState* __tstate = wxPyBeginAllowThreads();
12166 result = (int)(arg1)->GetSelection();
12167
12168 wxPyEndAllowThreads(__tstate);
12169 if (PyErr_Occurred()) SWIG_fail;
12170 }
12171 resultobj = SWIG_FromInt((int)result);
12172 return resultobj;
12173 fail:
12174 return NULL;
12175 }
12176
12177
12178 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12179 PyObject *resultobj;
12180 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12181 wxString result;
12182 PyObject * obj0 = 0 ;
12183 char *kwnames[] = {
12184 (char *) "self", NULL
12185 };
12186
12187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
12188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12190 {
12191 PyThreadState* __tstate = wxPyBeginAllowThreads();
12192 result = (arg1)->GetStringSelection();
12193
12194 wxPyEndAllowThreads(__tstate);
12195 if (PyErr_Occurred()) SWIG_fail;
12196 }
12197 {
12198 #if wxUSE_UNICODE
12199 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12200 #else
12201 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12202 #endif
12203 }
12204 return resultobj;
12205 fail:
12206 return NULL;
12207 }
12208
12209
12210 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12211 PyObject *resultobj;
12212 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12213 int arg2 ;
12214 PyObject * obj0 = 0 ;
12215 PyObject * obj1 = 0 ;
12216 char *kwnames[] = {
12217 (char *) "self",(char *) "sel", NULL
12218 };
12219
12220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12223 arg2 = (int) SWIG_AsInt(obj1);
12224 if (PyErr_Occurred()) SWIG_fail;
12225 {
12226 PyThreadState* __tstate = wxPyBeginAllowThreads();
12227 (arg1)->SetSelection(arg2);
12228
12229 wxPyEndAllowThreads(__tstate);
12230 if (PyErr_Occurred()) SWIG_fail;
12231 }
12232 Py_INCREF(Py_None); resultobj = Py_None;
12233 return resultobj;
12234 fail:
12235 return NULL;
12236 }
12237
12238
12239 static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
12240 PyObject *obj;
12241 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12242 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
12243 Py_INCREF(obj);
12244 return Py_BuildValue((char *)"");
12245 }
12246 static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12247 PyObject *resultobj;
12248 wxWindow *arg1 = (wxWindow *) 0 ;
12249 wxString *arg2 = 0 ;
12250 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
12251 wxString *arg3 = (wxString *) &arg3_defvalue ;
12252 wxString const &arg4_defvalue = wxPyEmptyString ;
12253 wxString *arg4 = (wxString *) &arg4_defvalue ;
12254 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
12255 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12256 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12257 wxTextEntryDialog *result;
12258 bool temp2 = False ;
12259 bool temp3 = False ;
12260 bool temp4 = False ;
12261 wxPoint temp6 ;
12262 PyObject * obj0 = 0 ;
12263 PyObject * obj1 = 0 ;
12264 PyObject * obj2 = 0 ;
12265 PyObject * obj3 = 0 ;
12266 PyObject * obj4 = 0 ;
12267 PyObject * obj5 = 0 ;
12268 char *kwnames[] = {
12269 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12270 };
12271
12272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12275 {
12276 arg2 = wxString_in_helper(obj1);
12277 if (arg2 == NULL) SWIG_fail;
12278 temp2 = True;
12279 }
12280 if (obj2) {
12281 {
12282 arg3 = wxString_in_helper(obj2);
12283 if (arg3 == NULL) SWIG_fail;
12284 temp3 = True;
12285 }
12286 }
12287 if (obj3) {
12288 {
12289 arg4 = wxString_in_helper(obj3);
12290 if (arg4 == NULL) SWIG_fail;
12291 temp4 = True;
12292 }
12293 }
12294 if (obj4) {
12295 arg5 = (long) SWIG_AsLong(obj4);
12296 if (PyErr_Occurred()) SWIG_fail;
12297 }
12298 if (obj5) {
12299 {
12300 arg6 = &temp6;
12301 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12302 }
12303 }
12304 {
12305 PyThreadState* __tstate = wxPyBeginAllowThreads();
12306 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
12307
12308 wxPyEndAllowThreads(__tstate);
12309 if (PyErr_Occurred()) SWIG_fail;
12310 }
12311 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
12312 {
12313 if (temp2)
12314 delete arg2;
12315 }
12316 {
12317 if (temp3)
12318 delete arg3;
12319 }
12320 {
12321 if (temp4)
12322 delete arg4;
12323 }
12324 return resultobj;
12325 fail:
12326 {
12327 if (temp2)
12328 delete arg2;
12329 }
12330 {
12331 if (temp3)
12332 delete arg3;
12333 }
12334 {
12335 if (temp4)
12336 delete arg4;
12337 }
12338 return NULL;
12339 }
12340
12341
12342 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12343 PyObject *resultobj;
12344 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12345 wxString result;
12346 PyObject * obj0 = 0 ;
12347 char *kwnames[] = {
12348 (char *) "self", NULL
12349 };
12350
12351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
12352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12354 {
12355 PyThreadState* __tstate = wxPyBeginAllowThreads();
12356 result = (arg1)->GetValue();
12357
12358 wxPyEndAllowThreads(__tstate);
12359 if (PyErr_Occurred()) SWIG_fail;
12360 }
12361 {
12362 #if wxUSE_UNICODE
12363 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12364 #else
12365 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12366 #endif
12367 }
12368 return resultobj;
12369 fail:
12370 return NULL;
12371 }
12372
12373
12374 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12375 PyObject *resultobj;
12376 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12377 wxString *arg2 = 0 ;
12378 bool temp2 = False ;
12379 PyObject * obj0 = 0 ;
12380 PyObject * obj1 = 0 ;
12381 char *kwnames[] = {
12382 (char *) "self",(char *) "value", NULL
12383 };
12384
12385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
12386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12388 {
12389 arg2 = wxString_in_helper(obj1);
12390 if (arg2 == NULL) SWIG_fail;
12391 temp2 = True;
12392 }
12393 {
12394 PyThreadState* __tstate = wxPyBeginAllowThreads();
12395 (arg1)->SetValue((wxString const &)*arg2);
12396
12397 wxPyEndAllowThreads(__tstate);
12398 if (PyErr_Occurred()) SWIG_fail;
12399 }
12400 Py_INCREF(Py_None); resultobj = Py_None;
12401 {
12402 if (temp2)
12403 delete arg2;
12404 }
12405 return resultobj;
12406 fail:
12407 {
12408 if (temp2)
12409 delete arg2;
12410 }
12411 return NULL;
12412 }
12413
12414
12415 static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
12416 PyObject *obj;
12417 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12418 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
12419 Py_INCREF(obj);
12420 return Py_BuildValue((char *)"");
12421 }
12422 static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
12423 PyObject *resultobj;
12424 wxFontData *result;
12425 char *kwnames[] = {
12426 NULL
12427 };
12428
12429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
12430 {
12431 PyThreadState* __tstate = wxPyBeginAllowThreads();
12432 result = (wxFontData *)new wxFontData();
12433
12434 wxPyEndAllowThreads(__tstate);
12435 if (PyErr_Occurred()) SWIG_fail;
12436 }
12437 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
12438 return resultobj;
12439 fail:
12440 return NULL;
12441 }
12442
12443
12444 static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
12445 PyObject *resultobj;
12446 wxFontData *arg1 = (wxFontData *) 0 ;
12447 PyObject * obj0 = 0 ;
12448 char *kwnames[] = {
12449 (char *) "self", NULL
12450 };
12451
12452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
12453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12455 {
12456 PyThreadState* __tstate = wxPyBeginAllowThreads();
12457 delete arg1;
12458
12459 wxPyEndAllowThreads(__tstate);
12460 if (PyErr_Occurred()) SWIG_fail;
12461 }
12462 Py_INCREF(Py_None); resultobj = Py_None;
12463 return resultobj;
12464 fail:
12465 return NULL;
12466 }
12467
12468
12469 static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
12470 PyObject *resultobj;
12471 wxFontData *arg1 = (wxFontData *) 0 ;
12472 bool arg2 ;
12473 PyObject * obj0 = 0 ;
12474 PyObject * obj1 = 0 ;
12475 char *kwnames[] = {
12476 (char *) "self",(char *) "enable", NULL
12477 };
12478
12479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
12480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12482 arg2 = (bool) SWIG_AsBool(obj1);
12483 if (PyErr_Occurred()) SWIG_fail;
12484 {
12485 PyThreadState* __tstate = wxPyBeginAllowThreads();
12486 (arg1)->EnableEffects(arg2);
12487
12488 wxPyEndAllowThreads(__tstate);
12489 if (PyErr_Occurred()) SWIG_fail;
12490 }
12491 Py_INCREF(Py_None); resultobj = Py_None;
12492 return resultobj;
12493 fail:
12494 return NULL;
12495 }
12496
12497
12498 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
12499 PyObject *resultobj;
12500 wxFontData *arg1 = (wxFontData *) 0 ;
12501 bool result;
12502 PyObject * obj0 = 0 ;
12503 char *kwnames[] = {
12504 (char *) "self", NULL
12505 };
12506
12507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
12508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12510 {
12511 PyThreadState* __tstate = wxPyBeginAllowThreads();
12512 result = (bool)(arg1)->GetAllowSymbols();
12513
12514 wxPyEndAllowThreads(__tstate);
12515 if (PyErr_Occurred()) SWIG_fail;
12516 }
12517 {
12518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12519 }
12520 return resultobj;
12521 fail:
12522 return NULL;
12523 }
12524
12525
12526 static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
12527 PyObject *resultobj;
12528 wxFontData *arg1 = (wxFontData *) 0 ;
12529 wxColour result;
12530 PyObject * obj0 = 0 ;
12531 char *kwnames[] = {
12532 (char *) "self", NULL
12533 };
12534
12535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
12536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12538 {
12539 PyThreadState* __tstate = wxPyBeginAllowThreads();
12540 result = (arg1)->GetColour();
12541
12542 wxPyEndAllowThreads(__tstate);
12543 if (PyErr_Occurred()) SWIG_fail;
12544 }
12545 {
12546 wxColour * resultptr;
12547 resultptr = new wxColour((wxColour &) result);
12548 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
12549 }
12550 return resultobj;
12551 fail:
12552 return NULL;
12553 }
12554
12555
12556 static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
12557 PyObject *resultobj;
12558 wxFontData *arg1 = (wxFontData *) 0 ;
12559 wxFont result;
12560 PyObject * obj0 = 0 ;
12561 char *kwnames[] = {
12562 (char *) "self", NULL
12563 };
12564
12565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
12566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12568 {
12569 PyThreadState* __tstate = wxPyBeginAllowThreads();
12570 result = (arg1)->GetChosenFont();
12571
12572 wxPyEndAllowThreads(__tstate);
12573 if (PyErr_Occurred()) SWIG_fail;
12574 }
12575 {
12576 wxFont * resultptr;
12577 resultptr = new wxFont((wxFont &) result);
12578 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
12579 }
12580 return resultobj;
12581 fail:
12582 return NULL;
12583 }
12584
12585
12586 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
12587 PyObject *resultobj;
12588 wxFontData *arg1 = (wxFontData *) 0 ;
12589 bool result;
12590 PyObject * obj0 = 0 ;
12591 char *kwnames[] = {
12592 (char *) "self", NULL
12593 };
12594
12595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
12596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12598 {
12599 PyThreadState* __tstate = wxPyBeginAllowThreads();
12600 result = (bool)(arg1)->GetEnableEffects();
12601
12602 wxPyEndAllowThreads(__tstate);
12603 if (PyErr_Occurred()) SWIG_fail;
12604 }
12605 {
12606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12607 }
12608 return resultobj;
12609 fail:
12610 return NULL;
12611 }
12612
12613
12614 static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
12615 PyObject *resultobj;
12616 wxFontData *arg1 = (wxFontData *) 0 ;
12617 wxFont result;
12618 PyObject * obj0 = 0 ;
12619 char *kwnames[] = {
12620 (char *) "self", NULL
12621 };
12622
12623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
12624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12626 {
12627 PyThreadState* __tstate = wxPyBeginAllowThreads();
12628 result = (arg1)->GetInitialFont();
12629
12630 wxPyEndAllowThreads(__tstate);
12631 if (PyErr_Occurred()) SWIG_fail;
12632 }
12633 {
12634 wxFont * resultptr;
12635 resultptr = new wxFont((wxFont &) result);
12636 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
12637 }
12638 return resultobj;
12639 fail:
12640 return NULL;
12641 }
12642
12643
12644 static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
12645 PyObject *resultobj;
12646 wxFontData *arg1 = (wxFontData *) 0 ;
12647 bool result;
12648 PyObject * obj0 = 0 ;
12649 char *kwnames[] = {
12650 (char *) "self", NULL
12651 };
12652
12653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
12654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12656 {
12657 PyThreadState* __tstate = wxPyBeginAllowThreads();
12658 result = (bool)(arg1)->GetShowHelp();
12659
12660 wxPyEndAllowThreads(__tstate);
12661 if (PyErr_Occurred()) SWIG_fail;
12662 }
12663 {
12664 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12665 }
12666 return resultobj;
12667 fail:
12668 return NULL;
12669 }
12670
12671
12672 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
12673 PyObject *resultobj;
12674 wxFontData *arg1 = (wxFontData *) 0 ;
12675 bool arg2 ;
12676 PyObject * obj0 = 0 ;
12677 PyObject * obj1 = 0 ;
12678 char *kwnames[] = {
12679 (char *) "self",(char *) "allowSymbols", NULL
12680 };
12681
12682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
12683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12685 arg2 = (bool) SWIG_AsBool(obj1);
12686 if (PyErr_Occurred()) SWIG_fail;
12687 {
12688 PyThreadState* __tstate = wxPyBeginAllowThreads();
12689 (arg1)->SetAllowSymbols(arg2);
12690
12691 wxPyEndAllowThreads(__tstate);
12692 if (PyErr_Occurred()) SWIG_fail;
12693 }
12694 Py_INCREF(Py_None); resultobj = Py_None;
12695 return resultobj;
12696 fail:
12697 return NULL;
12698 }
12699
12700
12701 static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
12702 PyObject *resultobj;
12703 wxFontData *arg1 = (wxFontData *) 0 ;
12704 wxFont *arg2 = 0 ;
12705 PyObject * obj0 = 0 ;
12706 PyObject * obj1 = 0 ;
12707 char *kwnames[] = {
12708 (char *) "self",(char *) "font", NULL
12709 };
12710
12711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
12712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12714 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
12715 SWIG_POINTER_EXCEPTION | 0)) == -1)
12716 SWIG_fail;
12717 if (arg2 == NULL) {
12718 PyErr_SetString(PyExc_TypeError,"null reference");
12719 SWIG_fail;
12720 }
12721 {
12722 PyThreadState* __tstate = wxPyBeginAllowThreads();
12723 (arg1)->SetChosenFont((wxFont const &)*arg2);
12724
12725 wxPyEndAllowThreads(__tstate);
12726 if (PyErr_Occurred()) SWIG_fail;
12727 }
12728 Py_INCREF(Py_None); resultobj = Py_None;
12729 return resultobj;
12730 fail:
12731 return NULL;
12732 }
12733
12734
12735 static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
12736 PyObject *resultobj;
12737 wxFontData *arg1 = (wxFontData *) 0 ;
12738 wxColour *arg2 = 0 ;
12739 wxColour temp2 ;
12740 PyObject * obj0 = 0 ;
12741 PyObject * obj1 = 0 ;
12742 char *kwnames[] = {
12743 (char *) "self",(char *) "colour", NULL
12744 };
12745
12746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
12747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12749 {
12750 arg2 = &temp2;
12751 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12752 }
12753 {
12754 PyThreadState* __tstate = wxPyBeginAllowThreads();
12755 (arg1)->SetColour((wxColour const &)*arg2);
12756
12757 wxPyEndAllowThreads(__tstate);
12758 if (PyErr_Occurred()) SWIG_fail;
12759 }
12760 Py_INCREF(Py_None); resultobj = Py_None;
12761 return resultobj;
12762 fail:
12763 return NULL;
12764 }
12765
12766
12767 static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
12768 PyObject *resultobj;
12769 wxFontData *arg1 = (wxFontData *) 0 ;
12770 wxFont *arg2 = 0 ;
12771 PyObject * obj0 = 0 ;
12772 PyObject * obj1 = 0 ;
12773 char *kwnames[] = {
12774 (char *) "self",(char *) "font", NULL
12775 };
12776
12777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
12778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12780 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
12781 SWIG_POINTER_EXCEPTION | 0)) == -1)
12782 SWIG_fail;
12783 if (arg2 == NULL) {
12784 PyErr_SetString(PyExc_TypeError,"null reference");
12785 SWIG_fail;
12786 }
12787 {
12788 PyThreadState* __tstate = wxPyBeginAllowThreads();
12789 (arg1)->SetInitialFont((wxFont const &)*arg2);
12790
12791 wxPyEndAllowThreads(__tstate);
12792 if (PyErr_Occurred()) SWIG_fail;
12793 }
12794 Py_INCREF(Py_None); resultobj = Py_None;
12795 return resultobj;
12796 fail:
12797 return NULL;
12798 }
12799
12800
12801 static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
12802 PyObject *resultobj;
12803 wxFontData *arg1 = (wxFontData *) 0 ;
12804 int arg2 ;
12805 int arg3 ;
12806 PyObject * obj0 = 0 ;
12807 PyObject * obj1 = 0 ;
12808 PyObject * obj2 = 0 ;
12809 char *kwnames[] = {
12810 (char *) "self",(char *) "min",(char *) "max", NULL
12811 };
12812
12813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12816 arg2 = (int) SWIG_AsInt(obj1);
12817 if (PyErr_Occurred()) SWIG_fail;
12818 arg3 = (int) SWIG_AsInt(obj2);
12819 if (PyErr_Occurred()) SWIG_fail;
12820 {
12821 PyThreadState* __tstate = wxPyBeginAllowThreads();
12822 (arg1)->SetRange(arg2,arg3);
12823
12824 wxPyEndAllowThreads(__tstate);
12825 if (PyErr_Occurred()) SWIG_fail;
12826 }
12827 Py_INCREF(Py_None); resultobj = Py_None;
12828 return resultobj;
12829 fail:
12830 return NULL;
12831 }
12832
12833
12834 static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
12835 PyObject *resultobj;
12836 wxFontData *arg1 = (wxFontData *) 0 ;
12837 bool arg2 ;
12838 PyObject * obj0 = 0 ;
12839 PyObject * obj1 = 0 ;
12840 char *kwnames[] = {
12841 (char *) "self",(char *) "showHelp", NULL
12842 };
12843
12844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
12845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12847 arg2 = (bool) SWIG_AsBool(obj1);
12848 if (PyErr_Occurred()) SWIG_fail;
12849 {
12850 PyThreadState* __tstate = wxPyBeginAllowThreads();
12851 (arg1)->SetShowHelp(arg2);
12852
12853 wxPyEndAllowThreads(__tstate);
12854 if (PyErr_Occurred()) SWIG_fail;
12855 }
12856 Py_INCREF(Py_None); resultobj = Py_None;
12857 return resultobj;
12858 fail:
12859 return NULL;
12860 }
12861
12862
12863 static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
12864 PyObject *obj;
12865 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12866 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
12867 Py_INCREF(obj);
12868 return Py_BuildValue((char *)"");
12869 }
12870 static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12871 PyObject *resultobj;
12872 wxWindow *arg1 = (wxWindow *) 0 ;
12873 wxFontData *arg2 = 0 ;
12874 wxFontDialog *result;
12875 PyObject * obj0 = 0 ;
12876 PyObject * obj1 = 0 ;
12877 char *kwnames[] = {
12878 (char *) "parent",(char *) "data", NULL
12879 };
12880
12881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
12882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12884 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
12885 SWIG_POINTER_EXCEPTION | 0)) == -1)
12886 SWIG_fail;
12887 if (arg2 == NULL) {
12888 PyErr_SetString(PyExc_TypeError,"null reference");
12889 SWIG_fail;
12890 }
12891 {
12892 PyThreadState* __tstate = wxPyBeginAllowThreads();
12893 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
12894
12895 wxPyEndAllowThreads(__tstate);
12896 if (PyErr_Occurred()) SWIG_fail;
12897 }
12898 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
12899 return resultobj;
12900 fail:
12901 return NULL;
12902 }
12903
12904
12905 static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
12906 PyObject *resultobj;
12907 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
12908 wxFontData *result;
12909 PyObject * obj0 = 0 ;
12910 char *kwnames[] = {
12911 (char *) "self", NULL
12912 };
12913
12914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
12915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
12916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12917 {
12918 PyThreadState* __tstate = wxPyBeginAllowThreads();
12919 {
12920 wxFontData &_result_ref = (arg1)->GetFontData();
12921 result = (wxFontData *) &_result_ref;
12922 }
12923
12924 wxPyEndAllowThreads(__tstate);
12925 if (PyErr_Occurred()) SWIG_fail;
12926 }
12927 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
12928 return resultobj;
12929 fail:
12930 return NULL;
12931 }
12932
12933
12934 static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
12935 PyObject *obj;
12936 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12937 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
12938 Py_INCREF(obj);
12939 return Py_BuildValue((char *)"");
12940 }
12941 static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12942 PyObject *resultobj;
12943 wxWindow *arg1 = (wxWindow *) 0 ;
12944 wxString *arg2 = 0 ;
12945 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
12946 wxString *arg3 = (wxString *) &arg3_defvalue ;
12947 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
12948 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12949 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12950 wxMessageDialog *result;
12951 bool temp2 = False ;
12952 bool temp3 = False ;
12953 wxPoint temp5 ;
12954 PyObject * obj0 = 0 ;
12955 PyObject * obj1 = 0 ;
12956 PyObject * obj2 = 0 ;
12957 PyObject * obj3 = 0 ;
12958 PyObject * obj4 = 0 ;
12959 char *kwnames[] = {
12960 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
12961 };
12962
12963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12966 {
12967 arg2 = wxString_in_helper(obj1);
12968 if (arg2 == NULL) SWIG_fail;
12969 temp2 = True;
12970 }
12971 if (obj2) {
12972 {
12973 arg3 = wxString_in_helper(obj2);
12974 if (arg3 == NULL) SWIG_fail;
12975 temp3 = True;
12976 }
12977 }
12978 if (obj3) {
12979 arg4 = (long) SWIG_AsLong(obj3);
12980 if (PyErr_Occurred()) SWIG_fail;
12981 }
12982 if (obj4) {
12983 {
12984 arg5 = &temp5;
12985 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12986 }
12987 }
12988 {
12989 PyThreadState* __tstate = wxPyBeginAllowThreads();
12990 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
12991
12992 wxPyEndAllowThreads(__tstate);
12993 if (PyErr_Occurred()) SWIG_fail;
12994 }
12995 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
12996 {
12997 if (temp2)
12998 delete arg2;
12999 }
13000 {
13001 if (temp3)
13002 delete arg3;
13003 }
13004 return resultobj;
13005 fail:
13006 {
13007 if (temp2)
13008 delete arg2;
13009 }
13010 {
13011 if (temp3)
13012 delete arg3;
13013 }
13014 return NULL;
13015 }
13016
13017
13018 static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
13019 PyObject *obj;
13020 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13021 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13022 Py_INCREF(obj);
13023 return Py_BuildValue((char *)"");
13024 }
13025 static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13026 PyObject *resultobj;
13027 wxString *arg1 = 0 ;
13028 wxString *arg2 = 0 ;
13029 int arg3 = (int) 100 ;
13030 wxWindow *arg4 = (wxWindow *) NULL ;
13031 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13032 wxProgressDialog *result;
13033 bool temp1 = False ;
13034 bool temp2 = False ;
13035 PyObject * obj0 = 0 ;
13036 PyObject * obj1 = 0 ;
13037 PyObject * obj2 = 0 ;
13038 PyObject * obj3 = 0 ;
13039 PyObject * obj4 = 0 ;
13040 char *kwnames[] = {
13041 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13042 };
13043
13044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13045 {
13046 arg1 = wxString_in_helper(obj0);
13047 if (arg1 == NULL) SWIG_fail;
13048 temp1 = True;
13049 }
13050 {
13051 arg2 = wxString_in_helper(obj1);
13052 if (arg2 == NULL) SWIG_fail;
13053 temp2 = True;
13054 }
13055 if (obj2) {
13056 arg3 = (int) SWIG_AsInt(obj2);
13057 if (PyErr_Occurred()) SWIG_fail;
13058 }
13059 if (obj3) {
13060 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
13061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13062 }
13063 if (obj4) {
13064 arg5 = (int) SWIG_AsInt(obj4);
13065 if (PyErr_Occurred()) SWIG_fail;
13066 }
13067 {
13068 PyThreadState* __tstate = wxPyBeginAllowThreads();
13069 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13070
13071 wxPyEndAllowThreads(__tstate);
13072 if (PyErr_Occurred()) SWIG_fail;
13073 }
13074 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
13075 {
13076 if (temp1)
13077 delete arg1;
13078 }
13079 {
13080 if (temp2)
13081 delete arg2;
13082 }
13083 return resultobj;
13084 fail:
13085 {
13086 if (temp1)
13087 delete arg1;
13088 }
13089 {
13090 if (temp2)
13091 delete arg2;
13092 }
13093 return NULL;
13094 }
13095
13096
13097 static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
13098 PyObject *resultobj;
13099 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13100 int arg2 ;
13101 wxString const &arg3_defvalue = wxPyEmptyString ;
13102 wxString *arg3 = (wxString *) &arg3_defvalue ;
13103 bool result;
13104 bool temp3 = False ;
13105 PyObject * obj0 = 0 ;
13106 PyObject * obj1 = 0 ;
13107 PyObject * obj2 = 0 ;
13108 char *kwnames[] = {
13109 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13110 };
13111
13112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13115 arg2 = (int) SWIG_AsInt(obj1);
13116 if (PyErr_Occurred()) SWIG_fail;
13117 if (obj2) {
13118 {
13119 arg3 = wxString_in_helper(obj2);
13120 if (arg3 == NULL) SWIG_fail;
13121 temp3 = True;
13122 }
13123 }
13124 {
13125 PyThreadState* __tstate = wxPyBeginAllowThreads();
13126 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13127
13128 wxPyEndAllowThreads(__tstate);
13129 if (PyErr_Occurred()) SWIG_fail;
13130 }
13131 {
13132 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13133 }
13134 {
13135 if (temp3)
13136 delete arg3;
13137 }
13138 return resultobj;
13139 fail:
13140 {
13141 if (temp3)
13142 delete arg3;
13143 }
13144 return NULL;
13145 }
13146
13147
13148 static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
13149 PyObject *resultobj;
13150 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13151 PyObject * obj0 = 0 ;
13152 char *kwnames[] = {
13153 (char *) "self", NULL
13154 };
13155
13156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
13157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13159 {
13160 PyThreadState* __tstate = wxPyBeginAllowThreads();
13161 (arg1)->Resume();
13162
13163 wxPyEndAllowThreads(__tstate);
13164 if (PyErr_Occurred()) SWIG_fail;
13165 }
13166 Py_INCREF(Py_None); resultobj = Py_None;
13167 return resultobj;
13168 fail:
13169 return NULL;
13170 }
13171
13172
13173 static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
13174 PyObject *obj;
13175 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13176 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
13177 Py_INCREF(obj);
13178 return Py_BuildValue((char *)"");
13179 }
13180 static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
13181 PyObject *resultobj;
13182 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13183 int arg2 = (int) 0 ;
13184 wxFindDialogEvent *result;
13185 PyObject * obj0 = 0 ;
13186 PyObject * obj1 = 0 ;
13187 char *kwnames[] = {
13188 (char *) "commandType",(char *) "id", NULL
13189 };
13190
13191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
13192 if (obj0) {
13193 arg1 = (wxEventType) SWIG_AsInt(obj0);
13194 if (PyErr_Occurred()) SWIG_fail;
13195 }
13196 if (obj1) {
13197 arg2 = (int) SWIG_AsInt(obj1);
13198 if (PyErr_Occurred()) SWIG_fail;
13199 }
13200 {
13201 PyThreadState* __tstate = wxPyBeginAllowThreads();
13202 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
13203
13204 wxPyEndAllowThreads(__tstate);
13205 if (PyErr_Occurred()) SWIG_fail;
13206 }
13207 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
13208 return resultobj;
13209 fail:
13210 return NULL;
13211 }
13212
13213
13214 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
13215 PyObject *resultobj;
13216 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13217 int result;
13218 PyObject * obj0 = 0 ;
13219 char *kwnames[] = {
13220 (char *) "self", NULL
13221 };
13222
13223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
13224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13226 {
13227 PyThreadState* __tstate = wxPyBeginAllowThreads();
13228 result = (int)(arg1)->GetFlags();
13229
13230 wxPyEndAllowThreads(__tstate);
13231 if (PyErr_Occurred()) SWIG_fail;
13232 }
13233 resultobj = SWIG_FromInt((int)result);
13234 return resultobj;
13235 fail:
13236 return NULL;
13237 }
13238
13239
13240 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
13241 PyObject *resultobj;
13242 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13243 wxString *result;
13244 PyObject * obj0 = 0 ;
13245 char *kwnames[] = {
13246 (char *) "self", NULL
13247 };
13248
13249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
13250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13252 {
13253 PyThreadState* __tstate = wxPyBeginAllowThreads();
13254 {
13255 wxString const &_result_ref = (arg1)->GetFindString();
13256 result = (wxString *) &_result_ref;
13257 }
13258
13259 wxPyEndAllowThreads(__tstate);
13260 if (PyErr_Occurred()) SWIG_fail;
13261 }
13262 {
13263 #if wxUSE_UNICODE
13264 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13265 #else
13266 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13267 #endif
13268 }
13269 return resultobj;
13270 fail:
13271 return NULL;
13272 }
13273
13274
13275 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
13276 PyObject *resultobj;
13277 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13278 wxString *result;
13279 PyObject * obj0 = 0 ;
13280 char *kwnames[] = {
13281 (char *) "self", NULL
13282 };
13283
13284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
13285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13287 {
13288 PyThreadState* __tstate = wxPyBeginAllowThreads();
13289 {
13290 wxString const &_result_ref = (arg1)->GetReplaceString();
13291 result = (wxString *) &_result_ref;
13292 }
13293
13294 wxPyEndAllowThreads(__tstate);
13295 if (PyErr_Occurred()) SWIG_fail;
13296 }
13297 {
13298 #if wxUSE_UNICODE
13299 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13300 #else
13301 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13302 #endif
13303 }
13304 return resultobj;
13305 fail:
13306 return NULL;
13307 }
13308
13309
13310 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13311 PyObject *resultobj;
13312 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13313 wxFindReplaceDialog *result;
13314 PyObject * obj0 = 0 ;
13315 char *kwnames[] = {
13316 (char *) "self", NULL
13317 };
13318
13319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
13320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13322 {
13323 PyThreadState* __tstate = wxPyBeginAllowThreads();
13324 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
13325
13326 wxPyEndAllowThreads(__tstate);
13327 if (PyErr_Occurred()) SWIG_fail;
13328 }
13329 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
13330 return resultobj;
13331 fail:
13332 return NULL;
13333 }
13334
13335
13336 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
13337 PyObject *resultobj;
13338 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13339 int arg2 ;
13340 PyObject * obj0 = 0 ;
13341 PyObject * obj1 = 0 ;
13342 char *kwnames[] = {
13343 (char *) "self",(char *) "flags", NULL
13344 };
13345
13346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13349 arg2 = (int) SWIG_AsInt(obj1);
13350 if (PyErr_Occurred()) SWIG_fail;
13351 {
13352 PyThreadState* __tstate = wxPyBeginAllowThreads();
13353 (arg1)->SetFlags(arg2);
13354
13355 wxPyEndAllowThreads(__tstate);
13356 if (PyErr_Occurred()) SWIG_fail;
13357 }
13358 Py_INCREF(Py_None); resultobj = Py_None;
13359 return resultobj;
13360 fail:
13361 return NULL;
13362 }
13363
13364
13365 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
13366 PyObject *resultobj;
13367 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13368 wxString *arg2 = 0 ;
13369 bool temp2 = False ;
13370 PyObject * obj0 = 0 ;
13371 PyObject * obj1 = 0 ;
13372 char *kwnames[] = {
13373 (char *) "self",(char *) "str", NULL
13374 };
13375
13376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13379 {
13380 arg2 = wxString_in_helper(obj1);
13381 if (arg2 == NULL) SWIG_fail;
13382 temp2 = True;
13383 }
13384 {
13385 PyThreadState* __tstate = wxPyBeginAllowThreads();
13386 (arg1)->SetFindString((wxString const &)*arg2);
13387
13388 wxPyEndAllowThreads(__tstate);
13389 if (PyErr_Occurred()) SWIG_fail;
13390 }
13391 Py_INCREF(Py_None); resultobj = Py_None;
13392 {
13393 if (temp2)
13394 delete arg2;
13395 }
13396 return resultobj;
13397 fail:
13398 {
13399 if (temp2)
13400 delete arg2;
13401 }
13402 return NULL;
13403 }
13404
13405
13406 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
13407 PyObject *resultobj;
13408 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13409 wxString *arg2 = 0 ;
13410 bool temp2 = False ;
13411 PyObject * obj0 = 0 ;
13412 PyObject * obj1 = 0 ;
13413 char *kwnames[] = {
13414 (char *) "self",(char *) "str", NULL
13415 };
13416
13417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13420 {
13421 arg2 = wxString_in_helper(obj1);
13422 if (arg2 == NULL) SWIG_fail;
13423 temp2 = True;
13424 }
13425 {
13426 PyThreadState* __tstate = wxPyBeginAllowThreads();
13427 (arg1)->SetReplaceString((wxString const &)*arg2);
13428
13429 wxPyEndAllowThreads(__tstate);
13430 if (PyErr_Occurred()) SWIG_fail;
13431 }
13432 Py_INCREF(Py_None); resultobj = Py_None;
13433 {
13434 if (temp2)
13435 delete arg2;
13436 }
13437 return resultobj;
13438 fail:
13439 {
13440 if (temp2)
13441 delete arg2;
13442 }
13443 return NULL;
13444 }
13445
13446
13447 static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
13448 PyObject *obj;
13449 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13450 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
13451 Py_INCREF(obj);
13452 return Py_BuildValue((char *)"");
13453 }
13454 static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
13455 PyObject *resultobj;
13456 int arg1 = (int) 0 ;
13457 wxFindReplaceData *result;
13458 PyObject * obj0 = 0 ;
13459 char *kwnames[] = {
13460 (char *) "flags", NULL
13461 };
13462
13463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
13464 if (obj0) {
13465 arg1 = (int) SWIG_AsInt(obj0);
13466 if (PyErr_Occurred()) SWIG_fail;
13467 }
13468 {
13469 PyThreadState* __tstate = wxPyBeginAllowThreads();
13470 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
13471
13472 wxPyEndAllowThreads(__tstate);
13473 if (PyErr_Occurred()) SWIG_fail;
13474 }
13475 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
13476 return resultobj;
13477 fail:
13478 return NULL;
13479 }
13480
13481
13482 static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
13483 PyObject *resultobj;
13484 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13485 PyObject * obj0 = 0 ;
13486 char *kwnames[] = {
13487 (char *) "self", NULL
13488 };
13489
13490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
13491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13493 {
13494 PyThreadState* __tstate = wxPyBeginAllowThreads();
13495 delete arg1;
13496
13497 wxPyEndAllowThreads(__tstate);
13498 if (PyErr_Occurred()) SWIG_fail;
13499 }
13500 Py_INCREF(Py_None); resultobj = Py_None;
13501 return resultobj;
13502 fail:
13503 return NULL;
13504 }
13505
13506
13507 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
13508 PyObject *resultobj;
13509 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13510 wxString *result;
13511 PyObject * obj0 = 0 ;
13512 char *kwnames[] = {
13513 (char *) "self", NULL
13514 };
13515
13516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
13517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13519 {
13520 PyThreadState* __tstate = wxPyBeginAllowThreads();
13521 {
13522 wxString const &_result_ref = (arg1)->GetFindString();
13523 result = (wxString *) &_result_ref;
13524 }
13525
13526 wxPyEndAllowThreads(__tstate);
13527 if (PyErr_Occurred()) SWIG_fail;
13528 }
13529 {
13530 #if wxUSE_UNICODE
13531 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13532 #else
13533 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13534 #endif
13535 }
13536 return resultobj;
13537 fail:
13538 return NULL;
13539 }
13540
13541
13542 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
13543 PyObject *resultobj;
13544 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13545 wxString *result;
13546 PyObject * obj0 = 0 ;
13547 char *kwnames[] = {
13548 (char *) "self", NULL
13549 };
13550
13551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
13552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13554 {
13555 PyThreadState* __tstate = wxPyBeginAllowThreads();
13556 {
13557 wxString const &_result_ref = (arg1)->GetReplaceString();
13558 result = (wxString *) &_result_ref;
13559 }
13560
13561 wxPyEndAllowThreads(__tstate);
13562 if (PyErr_Occurred()) SWIG_fail;
13563 }
13564 {
13565 #if wxUSE_UNICODE
13566 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13567 #else
13568 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13569 #endif
13570 }
13571 return resultobj;
13572 fail:
13573 return NULL;
13574 }
13575
13576
13577 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
13578 PyObject *resultobj;
13579 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13580 int result;
13581 PyObject * obj0 = 0 ;
13582 char *kwnames[] = {
13583 (char *) "self", NULL
13584 };
13585
13586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
13587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13589 {
13590 PyThreadState* __tstate = wxPyBeginAllowThreads();
13591 result = (int)(arg1)->GetFlags();
13592
13593 wxPyEndAllowThreads(__tstate);
13594 if (PyErr_Occurred()) SWIG_fail;
13595 }
13596 resultobj = SWIG_FromInt((int)result);
13597 return resultobj;
13598 fail:
13599 return NULL;
13600 }
13601
13602
13603 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
13604 PyObject *resultobj;
13605 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13606 int arg2 ;
13607 PyObject * obj0 = 0 ;
13608 PyObject * obj1 = 0 ;
13609 char *kwnames[] = {
13610 (char *) "self",(char *) "flags", NULL
13611 };
13612
13613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13616 arg2 = (int) SWIG_AsInt(obj1);
13617 if (PyErr_Occurred()) SWIG_fail;
13618 {
13619 PyThreadState* __tstate = wxPyBeginAllowThreads();
13620 (arg1)->SetFlags(arg2);
13621
13622 wxPyEndAllowThreads(__tstate);
13623 if (PyErr_Occurred()) SWIG_fail;
13624 }
13625 Py_INCREF(Py_None); resultobj = Py_None;
13626 return resultobj;
13627 fail:
13628 return NULL;
13629 }
13630
13631
13632 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
13633 PyObject *resultobj;
13634 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13635 wxString *arg2 = 0 ;
13636 bool temp2 = False ;
13637 PyObject * obj0 = 0 ;
13638 PyObject * obj1 = 0 ;
13639 char *kwnames[] = {
13640 (char *) "self",(char *) "str", NULL
13641 };
13642
13643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13646 {
13647 arg2 = wxString_in_helper(obj1);
13648 if (arg2 == NULL) SWIG_fail;
13649 temp2 = True;
13650 }
13651 {
13652 PyThreadState* __tstate = wxPyBeginAllowThreads();
13653 (arg1)->SetFindString((wxString const &)*arg2);
13654
13655 wxPyEndAllowThreads(__tstate);
13656 if (PyErr_Occurred()) SWIG_fail;
13657 }
13658 Py_INCREF(Py_None); resultobj = Py_None;
13659 {
13660 if (temp2)
13661 delete arg2;
13662 }
13663 return resultobj;
13664 fail:
13665 {
13666 if (temp2)
13667 delete arg2;
13668 }
13669 return NULL;
13670 }
13671
13672
13673 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
13674 PyObject *resultobj;
13675 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13676 wxString *arg2 = 0 ;
13677 bool temp2 = False ;
13678 PyObject * obj0 = 0 ;
13679 PyObject * obj1 = 0 ;
13680 char *kwnames[] = {
13681 (char *) "self",(char *) "str", NULL
13682 };
13683
13684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13687 {
13688 arg2 = wxString_in_helper(obj1);
13689 if (arg2 == NULL) SWIG_fail;
13690 temp2 = True;
13691 }
13692 {
13693 PyThreadState* __tstate = wxPyBeginAllowThreads();
13694 (arg1)->SetReplaceString((wxString const &)*arg2);
13695
13696 wxPyEndAllowThreads(__tstate);
13697 if (PyErr_Occurred()) SWIG_fail;
13698 }
13699 Py_INCREF(Py_None); resultobj = Py_None;
13700 {
13701 if (temp2)
13702 delete arg2;
13703 }
13704 return resultobj;
13705 fail:
13706 {
13707 if (temp2)
13708 delete arg2;
13709 }
13710 return NULL;
13711 }
13712
13713
13714 static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
13715 PyObject *obj;
13716 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13717 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
13718 Py_INCREF(obj);
13719 return Py_BuildValue((char *)"");
13720 }
13721 static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13722 PyObject *resultobj;
13723 wxWindow *arg1 = (wxWindow *) 0 ;
13724 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
13725 wxString *arg3 = 0 ;
13726 int arg4 = (int) 0 ;
13727 wxFindReplaceDialog *result;
13728 bool temp3 = False ;
13729 PyObject * obj0 = 0 ;
13730 PyObject * obj1 = 0 ;
13731 PyObject * obj2 = 0 ;
13732 PyObject * obj3 = 0 ;
13733 char *kwnames[] = {
13734 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13735 };
13736
13737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13740 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
13741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13742 {
13743 arg3 = wxString_in_helper(obj2);
13744 if (arg3 == NULL) SWIG_fail;
13745 temp3 = True;
13746 }
13747 if (obj3) {
13748 arg4 = (int) SWIG_AsInt(obj3);
13749 if (PyErr_Occurred()) SWIG_fail;
13750 }
13751 {
13752 PyThreadState* __tstate = wxPyBeginAllowThreads();
13753 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
13754
13755 wxPyEndAllowThreads(__tstate);
13756 if (PyErr_Occurred()) SWIG_fail;
13757 }
13758 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
13759 {
13760 if (temp3)
13761 delete arg3;
13762 }
13763 return resultobj;
13764 fail:
13765 {
13766 if (temp3)
13767 delete arg3;
13768 }
13769 return NULL;
13770 }
13771
13772
13773 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13774 PyObject *resultobj;
13775 wxFindReplaceDialog *result;
13776 char *kwnames[] = {
13777 NULL
13778 };
13779
13780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
13781 {
13782 PyThreadState* __tstate = wxPyBeginAllowThreads();
13783 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
13784
13785 wxPyEndAllowThreads(__tstate);
13786 if (PyErr_Occurred()) SWIG_fail;
13787 }
13788 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
13789 return resultobj;
13790 fail:
13791 return NULL;
13792 }
13793
13794
13795 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
13796 PyObject *resultobj;
13797 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13798 wxWindow *arg2 = (wxWindow *) 0 ;
13799 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
13800 wxString *arg4 = 0 ;
13801 int arg5 = (int) 0 ;
13802 bool result;
13803 bool temp4 = False ;
13804 PyObject * obj0 = 0 ;
13805 PyObject * obj1 = 0 ;
13806 PyObject * obj2 = 0 ;
13807 PyObject * obj3 = 0 ;
13808 PyObject * obj4 = 0 ;
13809 char *kwnames[] = {
13810 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13811 };
13812
13813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
13815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13816 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13818 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
13819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13820 {
13821 arg4 = wxString_in_helper(obj3);
13822 if (arg4 == NULL) SWIG_fail;
13823 temp4 = True;
13824 }
13825 if (obj4) {
13826 arg5 = (int) SWIG_AsInt(obj4);
13827 if (PyErr_Occurred()) SWIG_fail;
13828 }
13829 {
13830 PyThreadState* __tstate = wxPyBeginAllowThreads();
13831 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
13832
13833 wxPyEndAllowThreads(__tstate);
13834 if (PyErr_Occurred()) SWIG_fail;
13835 }
13836 {
13837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13838 }
13839 {
13840 if (temp4)
13841 delete arg4;
13842 }
13843 return resultobj;
13844 fail:
13845 {
13846 if (temp4)
13847 delete arg4;
13848 }
13849 return NULL;
13850 }
13851
13852
13853 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
13854 PyObject *resultobj;
13855 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13856 wxFindReplaceData *result;
13857 PyObject * obj0 = 0 ;
13858 char *kwnames[] = {
13859 (char *) "self", NULL
13860 };
13861
13862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
13863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
13864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13865 {
13866 PyThreadState* __tstate = wxPyBeginAllowThreads();
13867 result = (wxFindReplaceData *)(arg1)->GetData();
13868
13869 wxPyEndAllowThreads(__tstate);
13870 if (PyErr_Occurred()) SWIG_fail;
13871 }
13872 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
13873 return resultobj;
13874 fail:
13875 return NULL;
13876 }
13877
13878
13879 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
13880 PyObject *resultobj;
13881 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13882 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
13883 PyObject * obj0 = 0 ;
13884 PyObject * obj1 = 0 ;
13885 char *kwnames[] = {
13886 (char *) "self",(char *) "data", NULL
13887 };
13888
13889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
13890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
13891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13892 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
13893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13894 {
13895 PyThreadState* __tstate = wxPyBeginAllowThreads();
13896 (arg1)->SetData(arg2);
13897
13898 wxPyEndAllowThreads(__tstate);
13899 if (PyErr_Occurred()) SWIG_fail;
13900 }
13901 Py_INCREF(Py_None); resultobj = Py_None;
13902 return resultobj;
13903 fail:
13904 return NULL;
13905 }
13906
13907
13908 static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
13909 PyObject *obj;
13910 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13911 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
13912 Py_INCREF(obj);
13913 return Py_BuildValue((char *)"");
13914 }
13915 static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
13916 PyObject *resultobj;
13917 wxWindow *arg1 = (wxWindow *) 0 ;
13918 int arg2 ;
13919 wxString *arg3 = 0 ;
13920 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13921 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13922 wxSize const &arg5_defvalue = wxDefaultSize ;
13923 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13924 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
13925 wxString const &arg7_defvalue = wxPyFrameNameStr ;
13926 wxString *arg7 = (wxString *) &arg7_defvalue ;
13927 wxMDIParentFrame *result;
13928 bool temp3 = False ;
13929 wxPoint temp4 ;
13930 wxSize temp5 ;
13931 bool temp7 = False ;
13932 PyObject * obj0 = 0 ;
13933 PyObject * obj1 = 0 ;
13934 PyObject * obj2 = 0 ;
13935 PyObject * obj3 = 0 ;
13936 PyObject * obj4 = 0 ;
13937 PyObject * obj5 = 0 ;
13938 PyObject * obj6 = 0 ;
13939 char *kwnames[] = {
13940 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13941 };
13942
13943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13946 arg2 = (int const) SWIG_AsInt(obj1);
13947 if (PyErr_Occurred()) SWIG_fail;
13948 {
13949 arg3 = wxString_in_helper(obj2);
13950 if (arg3 == NULL) SWIG_fail;
13951 temp3 = True;
13952 }
13953 if (obj3) {
13954 {
13955 arg4 = &temp4;
13956 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13957 }
13958 }
13959 if (obj4) {
13960 {
13961 arg5 = &temp5;
13962 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13963 }
13964 }
13965 if (obj5) {
13966 arg6 = (long) SWIG_AsLong(obj5);
13967 if (PyErr_Occurred()) SWIG_fail;
13968 }
13969 if (obj6) {
13970 {
13971 arg7 = wxString_in_helper(obj6);
13972 if (arg7 == NULL) SWIG_fail;
13973 temp7 = True;
13974 }
13975 }
13976 {
13977 PyThreadState* __tstate = wxPyBeginAllowThreads();
13978 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13979
13980 wxPyEndAllowThreads(__tstate);
13981 if (PyErr_Occurred()) SWIG_fail;
13982 }
13983 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
13984 {
13985 if (temp3)
13986 delete arg3;
13987 }
13988 {
13989 if (temp7)
13990 delete arg7;
13991 }
13992 return resultobj;
13993 fail:
13994 {
13995 if (temp3)
13996 delete arg3;
13997 }
13998 {
13999 if (temp7)
14000 delete arg7;
14001 }
14002 return NULL;
14003 }
14004
14005
14006 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
14007 PyObject *resultobj;
14008 wxMDIParentFrame *result;
14009 char *kwnames[] = {
14010 NULL
14011 };
14012
14013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14014 {
14015 PyThreadState* __tstate = wxPyBeginAllowThreads();
14016 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14017
14018 wxPyEndAllowThreads(__tstate);
14019 if (PyErr_Occurred()) SWIG_fail;
14020 }
14021 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14022 return resultobj;
14023 fail:
14024 return NULL;
14025 }
14026
14027
14028 static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14029 PyObject *resultobj;
14030 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14031 wxWindow *arg2 = (wxWindow *) 0 ;
14032 int arg3 ;
14033 wxString *arg4 = 0 ;
14034 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14035 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14036 wxSize const &arg6_defvalue = wxDefaultSize ;
14037 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14038 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14039 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14040 wxString *arg8 = (wxString *) &arg8_defvalue ;
14041 bool result;
14042 bool temp4 = False ;
14043 wxPoint temp5 ;
14044 wxSize temp6 ;
14045 bool temp8 = False ;
14046 PyObject * obj0 = 0 ;
14047 PyObject * obj1 = 0 ;
14048 PyObject * obj2 = 0 ;
14049 PyObject * obj3 = 0 ;
14050 PyObject * obj4 = 0 ;
14051 PyObject * obj5 = 0 ;
14052 PyObject * obj6 = 0 ;
14053 PyObject * obj7 = 0 ;
14054 char *kwnames[] = {
14055 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14056 };
14057
14058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14061 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14063 arg3 = (int const) SWIG_AsInt(obj2);
14064 if (PyErr_Occurred()) SWIG_fail;
14065 {
14066 arg4 = wxString_in_helper(obj3);
14067 if (arg4 == NULL) SWIG_fail;
14068 temp4 = True;
14069 }
14070 if (obj4) {
14071 {
14072 arg5 = &temp5;
14073 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14074 }
14075 }
14076 if (obj5) {
14077 {
14078 arg6 = &temp6;
14079 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14080 }
14081 }
14082 if (obj6) {
14083 arg7 = (long) SWIG_AsLong(obj6);
14084 if (PyErr_Occurred()) SWIG_fail;
14085 }
14086 if (obj7) {
14087 {
14088 arg8 = wxString_in_helper(obj7);
14089 if (arg8 == NULL) SWIG_fail;
14090 temp8 = True;
14091 }
14092 }
14093 {
14094 PyThreadState* __tstate = wxPyBeginAllowThreads();
14095 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14096
14097 wxPyEndAllowThreads(__tstate);
14098 if (PyErr_Occurred()) SWIG_fail;
14099 }
14100 {
14101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14102 }
14103 {
14104 if (temp4)
14105 delete arg4;
14106 }
14107 {
14108 if (temp8)
14109 delete arg8;
14110 }
14111 return resultobj;
14112 fail:
14113 {
14114 if (temp4)
14115 delete arg4;
14116 }
14117 {
14118 if (temp8)
14119 delete arg8;
14120 }
14121 return NULL;
14122 }
14123
14124
14125 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
14126 PyObject *resultobj;
14127 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14128 PyObject * obj0 = 0 ;
14129 char *kwnames[] = {
14130 (char *) "self", NULL
14131 };
14132
14133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
14134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14136 {
14137 PyThreadState* __tstate = wxPyBeginAllowThreads();
14138 (arg1)->ActivateNext();
14139
14140 wxPyEndAllowThreads(__tstate);
14141 if (PyErr_Occurred()) SWIG_fail;
14142 }
14143 Py_INCREF(Py_None); resultobj = Py_None;
14144 return resultobj;
14145 fail:
14146 return NULL;
14147 }
14148
14149
14150 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
14151 PyObject *resultobj;
14152 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14153 PyObject * obj0 = 0 ;
14154 char *kwnames[] = {
14155 (char *) "self", NULL
14156 };
14157
14158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
14159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14161 {
14162 PyThreadState* __tstate = wxPyBeginAllowThreads();
14163 (arg1)->ActivatePrevious();
14164
14165 wxPyEndAllowThreads(__tstate);
14166 if (PyErr_Occurred()) SWIG_fail;
14167 }
14168 Py_INCREF(Py_None); resultobj = Py_None;
14169 return resultobj;
14170 fail:
14171 return NULL;
14172 }
14173
14174
14175 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
14176 PyObject *resultobj;
14177 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14178 PyObject * obj0 = 0 ;
14179 char *kwnames[] = {
14180 (char *) "self", NULL
14181 };
14182
14183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
14184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14186 {
14187 PyThreadState* __tstate = wxPyBeginAllowThreads();
14188 (arg1)->ArrangeIcons();
14189
14190 wxPyEndAllowThreads(__tstate);
14191 if (PyErr_Occurred()) SWIG_fail;
14192 }
14193 Py_INCREF(Py_None); resultobj = Py_None;
14194 return resultobj;
14195 fail:
14196 return NULL;
14197 }
14198
14199
14200 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
14201 PyObject *resultobj;
14202 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14203 PyObject * obj0 = 0 ;
14204 char *kwnames[] = {
14205 (char *) "self", NULL
14206 };
14207
14208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
14209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14211 {
14212 PyThreadState* __tstate = wxPyBeginAllowThreads();
14213 (arg1)->Cascade();
14214
14215 wxPyEndAllowThreads(__tstate);
14216 if (PyErr_Occurred()) SWIG_fail;
14217 }
14218 Py_INCREF(Py_None); resultobj = Py_None;
14219 return resultobj;
14220 fail:
14221 return NULL;
14222 }
14223
14224
14225 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
14226 PyObject *resultobj;
14227 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14228 wxMDIChildFrame *result;
14229 PyObject * obj0 = 0 ;
14230 char *kwnames[] = {
14231 (char *) "self", NULL
14232 };
14233
14234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
14235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14237 {
14238 PyThreadState* __tstate = wxPyBeginAllowThreads();
14239 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
14240
14241 wxPyEndAllowThreads(__tstate);
14242 if (PyErr_Occurred()) SWIG_fail;
14243 }
14244 {
14245 resultobj = wxPyMake_wxObject(result);
14246 }
14247 return resultobj;
14248 fail:
14249 return NULL;
14250 }
14251
14252
14253 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
14254 PyObject *resultobj;
14255 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14256 wxMDIClientWindow *result;
14257 PyObject * obj0 = 0 ;
14258 char *kwnames[] = {
14259 (char *) "self", NULL
14260 };
14261
14262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
14263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14265 {
14266 PyThreadState* __tstate = wxPyBeginAllowThreads();
14267 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
14268
14269 wxPyEndAllowThreads(__tstate);
14270 if (PyErr_Occurred()) SWIG_fail;
14271 }
14272 {
14273 resultobj = wxPyMake_wxObject(result);
14274 }
14275 return resultobj;
14276 fail:
14277 return NULL;
14278 }
14279
14280
14281 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
14282 PyObject *resultobj;
14283 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14284 wxWindow *result;
14285 PyObject * obj0 = 0 ;
14286 char *kwnames[] = {
14287 (char *) "self", NULL
14288 };
14289
14290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
14291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14293 {
14294 PyThreadState* __tstate = wxPyBeginAllowThreads();
14295 result = (wxWindow *)(arg1)->GetToolBar();
14296
14297 wxPyEndAllowThreads(__tstate);
14298 if (PyErr_Occurred()) SWIG_fail;
14299 }
14300 {
14301 resultobj = wxPyMake_wxObject(result);
14302 }
14303 return resultobj;
14304 fail:
14305 return NULL;
14306 }
14307
14308
14309 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
14310 PyObject *resultobj;
14311 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14312 PyObject * obj0 = 0 ;
14313 char *kwnames[] = {
14314 (char *) "self", NULL
14315 };
14316
14317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
14318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14320 {
14321 PyThreadState* __tstate = wxPyBeginAllowThreads();
14322 (arg1)->Tile();
14323
14324 wxPyEndAllowThreads(__tstate);
14325 if (PyErr_Occurred()) SWIG_fail;
14326 }
14327 Py_INCREF(Py_None); resultobj = Py_None;
14328 return resultobj;
14329 fail:
14330 return NULL;
14331 }
14332
14333
14334 static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
14335 PyObject *obj;
14336 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14337 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
14338 Py_INCREF(obj);
14339 return Py_BuildValue((char *)"");
14340 }
14341 static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
14342 PyObject *resultobj;
14343 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14344 int arg2 ;
14345 wxString *arg3 = 0 ;
14346 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14347 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14348 wxSize const &arg5_defvalue = wxDefaultSize ;
14349 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14350 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
14351 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14352 wxString *arg7 = (wxString *) &arg7_defvalue ;
14353 wxMDIChildFrame *result;
14354 bool temp3 = False ;
14355 wxPoint temp4 ;
14356 wxSize temp5 ;
14357 bool temp7 = False ;
14358 PyObject * obj0 = 0 ;
14359 PyObject * obj1 = 0 ;
14360 PyObject * obj2 = 0 ;
14361 PyObject * obj3 = 0 ;
14362 PyObject * obj4 = 0 ;
14363 PyObject * obj5 = 0 ;
14364 PyObject * obj6 = 0 ;
14365 char *kwnames[] = {
14366 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14367 };
14368
14369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14372 arg2 = (int const) SWIG_AsInt(obj1);
14373 if (PyErr_Occurred()) SWIG_fail;
14374 {
14375 arg3 = wxString_in_helper(obj2);
14376 if (arg3 == NULL) SWIG_fail;
14377 temp3 = True;
14378 }
14379 if (obj3) {
14380 {
14381 arg4 = &temp4;
14382 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14383 }
14384 }
14385 if (obj4) {
14386 {
14387 arg5 = &temp5;
14388 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14389 }
14390 }
14391 if (obj5) {
14392 arg6 = (long) SWIG_AsLong(obj5);
14393 if (PyErr_Occurred()) SWIG_fail;
14394 }
14395 if (obj6) {
14396 {
14397 arg7 = wxString_in_helper(obj6);
14398 if (arg7 == NULL) SWIG_fail;
14399 temp7 = True;
14400 }
14401 }
14402 {
14403 PyThreadState* __tstate = wxPyBeginAllowThreads();
14404 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14405
14406 wxPyEndAllowThreads(__tstate);
14407 if (PyErr_Occurred()) SWIG_fail;
14408 }
14409 {
14410 resultobj = wxPyMake_wxObject(result);
14411 }
14412 {
14413 if (temp3)
14414 delete arg3;
14415 }
14416 {
14417 if (temp7)
14418 delete arg7;
14419 }
14420 return resultobj;
14421 fail:
14422 {
14423 if (temp3)
14424 delete arg3;
14425 }
14426 {
14427 if (temp7)
14428 delete arg7;
14429 }
14430 return NULL;
14431 }
14432
14433
14434 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
14435 PyObject *resultobj;
14436 wxMDIChildFrame *result;
14437 char *kwnames[] = {
14438 NULL
14439 };
14440
14441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
14442 {
14443 PyThreadState* __tstate = wxPyBeginAllowThreads();
14444 result = (wxMDIChildFrame *)new wxMDIChildFrame();
14445
14446 wxPyEndAllowThreads(__tstate);
14447 if (PyErr_Occurred()) SWIG_fail;
14448 }
14449 {
14450 resultobj = wxPyMake_wxObject(result);
14451 }
14452 return resultobj;
14453 fail:
14454 return NULL;
14455 }
14456
14457
14458 static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14459 PyObject *resultobj;
14460 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14461 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14462 int arg3 ;
14463 wxString *arg4 = 0 ;
14464 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14465 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14466 wxSize const &arg6_defvalue = wxDefaultSize ;
14467 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14468 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
14469 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14470 wxString *arg8 = (wxString *) &arg8_defvalue ;
14471 bool result;
14472 bool temp4 = False ;
14473 wxPoint temp5 ;
14474 wxSize temp6 ;
14475 bool temp8 = False ;
14476 PyObject * obj0 = 0 ;
14477 PyObject * obj1 = 0 ;
14478 PyObject * obj2 = 0 ;
14479 PyObject * obj3 = 0 ;
14480 PyObject * obj4 = 0 ;
14481 PyObject * obj5 = 0 ;
14482 PyObject * obj6 = 0 ;
14483 PyObject * obj7 = 0 ;
14484 char *kwnames[] = {
14485 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14486 };
14487
14488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14491 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
14492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14493 arg3 = (int const) SWIG_AsInt(obj2);
14494 if (PyErr_Occurred()) SWIG_fail;
14495 {
14496 arg4 = wxString_in_helper(obj3);
14497 if (arg4 == NULL) SWIG_fail;
14498 temp4 = True;
14499 }
14500 if (obj4) {
14501 {
14502 arg5 = &temp5;
14503 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14504 }
14505 }
14506 if (obj5) {
14507 {
14508 arg6 = &temp6;
14509 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14510 }
14511 }
14512 if (obj6) {
14513 arg7 = (long) SWIG_AsLong(obj6);
14514 if (PyErr_Occurred()) SWIG_fail;
14515 }
14516 if (obj7) {
14517 {
14518 arg8 = wxString_in_helper(obj7);
14519 if (arg8 == NULL) SWIG_fail;
14520 temp8 = True;
14521 }
14522 }
14523 {
14524 PyThreadState* __tstate = wxPyBeginAllowThreads();
14525 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14526
14527 wxPyEndAllowThreads(__tstate);
14528 if (PyErr_Occurred()) SWIG_fail;
14529 }
14530 {
14531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14532 }
14533 {
14534 if (temp4)
14535 delete arg4;
14536 }
14537 {
14538 if (temp8)
14539 delete arg8;
14540 }
14541 return resultobj;
14542 fail:
14543 {
14544 if (temp4)
14545 delete arg4;
14546 }
14547 {
14548 if (temp8)
14549 delete arg8;
14550 }
14551 return NULL;
14552 }
14553
14554
14555 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
14556 PyObject *resultobj;
14557 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14558 PyObject * obj0 = 0 ;
14559 char *kwnames[] = {
14560 (char *) "self", NULL
14561 };
14562
14563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
14564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14566 {
14567 PyThreadState* __tstate = wxPyBeginAllowThreads();
14568 (arg1)->Activate();
14569
14570 wxPyEndAllowThreads(__tstate);
14571 if (PyErr_Occurred()) SWIG_fail;
14572 }
14573 Py_INCREF(Py_None); resultobj = Py_None;
14574 return resultobj;
14575 fail:
14576 return NULL;
14577 }
14578
14579
14580 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
14581 PyObject *resultobj;
14582 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14583 bool arg2 ;
14584 PyObject * obj0 = 0 ;
14585 PyObject * obj1 = 0 ;
14586 char *kwnames[] = {
14587 (char *) "self",(char *) "maximize", NULL
14588 };
14589
14590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
14591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14593 arg2 = (bool) SWIG_AsBool(obj1);
14594 if (PyErr_Occurred()) SWIG_fail;
14595 {
14596 PyThreadState* __tstate = wxPyBeginAllowThreads();
14597 (arg1)->Maximize(arg2);
14598
14599 wxPyEndAllowThreads(__tstate);
14600 if (PyErr_Occurred()) SWIG_fail;
14601 }
14602 Py_INCREF(Py_None); resultobj = Py_None;
14603 return resultobj;
14604 fail:
14605 return NULL;
14606 }
14607
14608
14609 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
14610 PyObject *resultobj;
14611 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14612 PyObject * obj0 = 0 ;
14613 char *kwnames[] = {
14614 (char *) "self", NULL
14615 };
14616
14617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
14618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14620 {
14621 PyThreadState* __tstate = wxPyBeginAllowThreads();
14622 (arg1)->Restore();
14623
14624 wxPyEndAllowThreads(__tstate);
14625 if (PyErr_Occurred()) SWIG_fail;
14626 }
14627 Py_INCREF(Py_None); resultobj = Py_None;
14628 return resultobj;
14629 fail:
14630 return NULL;
14631 }
14632
14633
14634 static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
14635 PyObject *obj;
14636 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14637 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
14638 Py_INCREF(obj);
14639 return Py_BuildValue((char *)"");
14640 }
14641 static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
14642 PyObject *resultobj;
14643 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14644 long arg2 = (long) 0 ;
14645 wxMDIClientWindow *result;
14646 PyObject * obj0 = 0 ;
14647 PyObject * obj1 = 0 ;
14648 char *kwnames[] = {
14649 (char *) "parent",(char *) "style", NULL
14650 };
14651
14652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
14653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14655 if (obj1) {
14656 arg2 = (long) SWIG_AsLong(obj1);
14657 if (PyErr_Occurred()) SWIG_fail;
14658 }
14659 {
14660 PyThreadState* __tstate = wxPyBeginAllowThreads();
14661 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
14662
14663 wxPyEndAllowThreads(__tstate);
14664 if (PyErr_Occurred()) SWIG_fail;
14665 }
14666 {
14667 resultobj = wxPyMake_wxObject(result);
14668 }
14669 return resultobj;
14670 fail:
14671 return NULL;
14672 }
14673
14674
14675 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
14676 PyObject *resultobj;
14677 wxMDIClientWindow *result;
14678 char *kwnames[] = {
14679 NULL
14680 };
14681
14682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
14683 {
14684 PyThreadState* __tstate = wxPyBeginAllowThreads();
14685 result = (wxMDIClientWindow *)new wxMDIClientWindow();
14686
14687 wxPyEndAllowThreads(__tstate);
14688 if (PyErr_Occurred()) SWIG_fail;
14689 }
14690 {
14691 resultobj = wxPyMake_wxObject(result);
14692 }
14693 return resultobj;
14694 fail:
14695 return NULL;
14696 }
14697
14698
14699 static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14700 PyObject *resultobj;
14701 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
14702 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14703 long arg3 = (long) 0 ;
14704 bool result;
14705 PyObject * obj0 = 0 ;
14706 PyObject * obj1 = 0 ;
14707 PyObject * obj2 = 0 ;
14708 char *kwnames[] = {
14709 (char *) "self",(char *) "parent",(char *) "style", NULL
14710 };
14711
14712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
14713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
14714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14715 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
14716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14717 if (obj2) {
14718 arg3 = (long) SWIG_AsLong(obj2);
14719 if (PyErr_Occurred()) SWIG_fail;
14720 }
14721 {
14722 PyThreadState* __tstate = wxPyBeginAllowThreads();
14723 result = (bool)(arg1)->Create(arg2,arg3);
14724
14725 wxPyEndAllowThreads(__tstate);
14726 if (PyErr_Occurred()) SWIG_fail;
14727 }
14728 {
14729 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14730 }
14731 return resultobj;
14732 fail:
14733 return NULL;
14734 }
14735
14736
14737 static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
14738 PyObject *obj;
14739 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14740 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
14741 Py_INCREF(obj);
14742 return Py_BuildValue((char *)"");
14743 }
14744 static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
14745 PyObject *resultobj;
14746 wxWindow *arg1 = (wxWindow *) 0 ;
14747 int arg2 ;
14748 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14749 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14750 wxSize const &arg4_defvalue = wxDefaultSize ;
14751 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14752 long arg5 = (long) 0 ;
14753 wxString const &arg6_defvalue = wxPyPanelNameStr ;
14754 wxString *arg6 = (wxString *) &arg6_defvalue ;
14755 wxPyWindow *result;
14756 wxPoint temp3 ;
14757 wxSize temp4 ;
14758 bool temp6 = False ;
14759 PyObject * obj0 = 0 ;
14760 PyObject * obj1 = 0 ;
14761 PyObject * obj2 = 0 ;
14762 PyObject * obj3 = 0 ;
14763 PyObject * obj4 = 0 ;
14764 PyObject * obj5 = 0 ;
14765 char *kwnames[] = {
14766 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14767 };
14768
14769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14772 arg2 = (int const) SWIG_AsInt(obj1);
14773 if (PyErr_Occurred()) SWIG_fail;
14774 if (obj2) {
14775 {
14776 arg3 = &temp3;
14777 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14778 }
14779 }
14780 if (obj3) {
14781 {
14782 arg4 = &temp4;
14783 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14784 }
14785 }
14786 if (obj4) {
14787 arg5 = (long) SWIG_AsLong(obj4);
14788 if (PyErr_Occurred()) SWIG_fail;
14789 }
14790 if (obj5) {
14791 {
14792 arg6 = wxString_in_helper(obj5);
14793 if (arg6 == NULL) SWIG_fail;
14794 temp6 = True;
14795 }
14796 }
14797 {
14798 PyThreadState* __tstate = wxPyBeginAllowThreads();
14799 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14800
14801 wxPyEndAllowThreads(__tstate);
14802 if (PyErr_Occurred()) SWIG_fail;
14803 }
14804 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
14805 {
14806 if (temp6)
14807 delete arg6;
14808 }
14809 return resultobj;
14810 fail:
14811 {
14812 if (temp6)
14813 delete arg6;
14814 }
14815 return NULL;
14816 }
14817
14818
14819 static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
14820 PyObject *resultobj;
14821 wxPyWindow *result;
14822 char *kwnames[] = {
14823 NULL
14824 };
14825
14826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
14827 {
14828 PyThreadState* __tstate = wxPyBeginAllowThreads();
14829 result = (wxPyWindow *)new wxPyWindow();
14830
14831 wxPyEndAllowThreads(__tstate);
14832 if (PyErr_Occurred()) SWIG_fail;
14833 }
14834 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
14835 return resultobj;
14836 fail:
14837 return NULL;
14838 }
14839
14840
14841 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
14842 PyObject *resultobj;
14843 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14844 PyObject *arg2 = (PyObject *) 0 ;
14845 PyObject *arg3 = (PyObject *) 0 ;
14846 PyObject * obj0 = 0 ;
14847 PyObject * obj1 = 0 ;
14848 PyObject * obj2 = 0 ;
14849 char *kwnames[] = {
14850 (char *) "self",(char *) "self",(char *) "_class", NULL
14851 };
14852
14853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
14855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14856 arg2 = obj1;
14857 arg3 = obj2;
14858 {
14859 PyThreadState* __tstate = wxPyBeginAllowThreads();
14860 (arg1)->_setCallbackInfo(arg2,arg3);
14861
14862 wxPyEndAllowThreads(__tstate);
14863 if (PyErr_Occurred()) SWIG_fail;
14864 }
14865 Py_INCREF(Py_None); resultobj = Py_None;
14866 return resultobj;
14867 fail:
14868 return NULL;
14869 }
14870
14871
14872 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
14873 PyObject *resultobj;
14874 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14875 int arg2 ;
14876 int arg3 ;
14877 int arg4 ;
14878 int arg5 ;
14879 PyObject * obj0 = 0 ;
14880 PyObject * obj1 = 0 ;
14881 PyObject * obj2 = 0 ;
14882 PyObject * obj3 = 0 ;
14883 PyObject * obj4 = 0 ;
14884 char *kwnames[] = {
14885 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14886 };
14887
14888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
14890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14891 arg2 = (int) SWIG_AsInt(obj1);
14892 if (PyErr_Occurred()) SWIG_fail;
14893 arg3 = (int) SWIG_AsInt(obj2);
14894 if (PyErr_Occurred()) SWIG_fail;
14895 arg4 = (int) SWIG_AsInt(obj3);
14896 if (PyErr_Occurred()) SWIG_fail;
14897 arg5 = (int) SWIG_AsInt(obj4);
14898 if (PyErr_Occurred()) SWIG_fail;
14899 {
14900 PyThreadState* __tstate = wxPyBeginAllowThreads();
14901 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
14902
14903 wxPyEndAllowThreads(__tstate);
14904 if (PyErr_Occurred()) SWIG_fail;
14905 }
14906 Py_INCREF(Py_None); resultobj = Py_None;
14907 return resultobj;
14908 fail:
14909 return NULL;
14910 }
14911
14912
14913 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
14914 PyObject *resultobj;
14915 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14916 int arg2 ;
14917 int arg3 ;
14918 int arg4 ;
14919 int arg5 ;
14920 int arg6 = (int) wxSIZE_AUTO ;
14921 PyObject * obj0 = 0 ;
14922 PyObject * obj1 = 0 ;
14923 PyObject * obj2 = 0 ;
14924 PyObject * obj3 = 0 ;
14925 PyObject * obj4 = 0 ;
14926 PyObject * obj5 = 0 ;
14927 char *kwnames[] = {
14928 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14929 };
14930
14931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
14933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14934 arg2 = (int) SWIG_AsInt(obj1);
14935 if (PyErr_Occurred()) SWIG_fail;
14936 arg3 = (int) SWIG_AsInt(obj2);
14937 if (PyErr_Occurred()) SWIG_fail;
14938 arg4 = (int) SWIG_AsInt(obj3);
14939 if (PyErr_Occurred()) SWIG_fail;
14940 arg5 = (int) SWIG_AsInt(obj4);
14941 if (PyErr_Occurred()) SWIG_fail;
14942 if (obj5) {
14943 arg6 = (int) SWIG_AsInt(obj5);
14944 if (PyErr_Occurred()) SWIG_fail;
14945 }
14946 {
14947 PyThreadState* __tstate = wxPyBeginAllowThreads();
14948 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
14949
14950 wxPyEndAllowThreads(__tstate);
14951 if (PyErr_Occurred()) SWIG_fail;
14952 }
14953 Py_INCREF(Py_None); resultobj = Py_None;
14954 return resultobj;
14955 fail:
14956 return NULL;
14957 }
14958
14959
14960 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
14961 PyObject *resultobj;
14962 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14963 int arg2 ;
14964 int arg3 ;
14965 PyObject * obj0 = 0 ;
14966 PyObject * obj1 = 0 ;
14967 PyObject * obj2 = 0 ;
14968 char *kwnames[] = {
14969 (char *) "self",(char *) "width",(char *) "height", NULL
14970 };
14971
14972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
14973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
14974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14975 arg2 = (int) SWIG_AsInt(obj1);
14976 if (PyErr_Occurred()) SWIG_fail;
14977 arg3 = (int) SWIG_AsInt(obj2);
14978 if (PyErr_Occurred()) SWIG_fail;
14979 {
14980 PyThreadState* __tstate = wxPyBeginAllowThreads();
14981 (arg1)->base_DoSetClientSize(arg2,arg3);
14982
14983 wxPyEndAllowThreads(__tstate);
14984 if (PyErr_Occurred()) SWIG_fail;
14985 }
14986 Py_INCREF(Py_None); resultobj = Py_None;
14987 return resultobj;
14988 fail:
14989 return NULL;
14990 }
14991
14992
14993 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
14994 PyObject *resultobj;
14995 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14996 int arg2 ;
14997 int arg3 ;
14998 PyObject * obj0 = 0 ;
14999 PyObject * obj1 = 0 ;
15000 PyObject * obj2 = 0 ;
15001 char *kwnames[] = {
15002 (char *) "self",(char *) "x",(char *) "y", NULL
15003 };
15004
15005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15008 arg2 = (int) SWIG_AsInt(obj1);
15009 if (PyErr_Occurred()) SWIG_fail;
15010 arg3 = (int) SWIG_AsInt(obj2);
15011 if (PyErr_Occurred()) SWIG_fail;
15012 {
15013 PyThreadState* __tstate = wxPyBeginAllowThreads();
15014 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15015
15016 wxPyEndAllowThreads(__tstate);
15017 if (PyErr_Occurred()) SWIG_fail;
15018 }
15019 Py_INCREF(Py_None); resultobj = Py_None;
15020 return resultobj;
15021 fail:
15022 return NULL;
15023 }
15024
15025
15026 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
15027 PyObject *resultobj;
15028 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15029 int *arg2 = (int *) 0 ;
15030 int *arg3 = (int *) 0 ;
15031 int temp2 ;
15032 int temp3 ;
15033 PyObject * obj0 = 0 ;
15034 char *kwnames[] = {
15035 (char *) "self", NULL
15036 };
15037
15038 arg2 = &temp2;
15039 arg3 = &temp3;
15040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15043 {
15044 PyThreadState* __tstate = wxPyBeginAllowThreads();
15045 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15046
15047 wxPyEndAllowThreads(__tstate);
15048 if (PyErr_Occurred()) SWIG_fail;
15049 }
15050 Py_INCREF(Py_None); resultobj = Py_None;
15051 {
15052 PyObject *o = PyInt_FromLong((long) (*arg2));
15053 resultobj = t_output_helper(resultobj,o);
15054 }
15055 {
15056 PyObject *o = PyInt_FromLong((long) (*arg3));
15057 resultobj = t_output_helper(resultobj,o);
15058 }
15059 return resultobj;
15060 fail:
15061 return NULL;
15062 }
15063
15064
15065 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
15066 PyObject *resultobj;
15067 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15068 int *arg2 = (int *) 0 ;
15069 int *arg3 = (int *) 0 ;
15070 int temp2 ;
15071 int temp3 ;
15072 PyObject * obj0 = 0 ;
15073 char *kwnames[] = {
15074 (char *) "self", NULL
15075 };
15076
15077 arg2 = &temp2;
15078 arg3 = &temp3;
15079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15082 {
15083 PyThreadState* __tstate = wxPyBeginAllowThreads();
15084 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
15085
15086 wxPyEndAllowThreads(__tstate);
15087 if (PyErr_Occurred()) SWIG_fail;
15088 }
15089 Py_INCREF(Py_None); resultobj = Py_None;
15090 {
15091 PyObject *o = PyInt_FromLong((long) (*arg2));
15092 resultobj = t_output_helper(resultobj,o);
15093 }
15094 {
15095 PyObject *o = PyInt_FromLong((long) (*arg3));
15096 resultobj = t_output_helper(resultobj,o);
15097 }
15098 return resultobj;
15099 fail:
15100 return NULL;
15101 }
15102
15103
15104 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
15105 PyObject *resultobj;
15106 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15107 int *arg2 = (int *) 0 ;
15108 int *arg3 = (int *) 0 ;
15109 int temp2 ;
15110 int temp3 ;
15111 PyObject * obj0 = 0 ;
15112 char *kwnames[] = {
15113 (char *) "self", NULL
15114 };
15115
15116 arg2 = &temp2;
15117 arg3 = &temp3;
15118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
15119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15121 {
15122 PyThreadState* __tstate = wxPyBeginAllowThreads();
15123 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
15124
15125 wxPyEndAllowThreads(__tstate);
15126 if (PyErr_Occurred()) SWIG_fail;
15127 }
15128 Py_INCREF(Py_None); resultobj = Py_None;
15129 {
15130 PyObject *o = PyInt_FromLong((long) (*arg2));
15131 resultobj = t_output_helper(resultobj,o);
15132 }
15133 {
15134 PyObject *o = PyInt_FromLong((long) (*arg3));
15135 resultobj = t_output_helper(resultobj,o);
15136 }
15137 return resultobj;
15138 fail:
15139 return NULL;
15140 }
15141
15142
15143 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
15144 PyObject *resultobj;
15145 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15146 wxSize result;
15147 PyObject * obj0 = 0 ;
15148 char *kwnames[] = {
15149 (char *) "self", NULL
15150 };
15151
15152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15155 {
15156 PyThreadState* __tstate = wxPyBeginAllowThreads();
15157 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
15158
15159 wxPyEndAllowThreads(__tstate);
15160 if (PyErr_Occurred()) SWIG_fail;
15161 }
15162 {
15163 wxSize * resultptr;
15164 resultptr = new wxSize((wxSize &) result);
15165 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15166 }
15167 return resultobj;
15168 fail:
15169 return NULL;
15170 }
15171
15172
15173 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
15174 PyObject *resultobj;
15175 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15176 wxSize result;
15177 PyObject * obj0 = 0 ;
15178 char *kwnames[] = {
15179 (char *) "self", NULL
15180 };
15181
15182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15185 {
15186 PyThreadState* __tstate = wxPyBeginAllowThreads();
15187 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
15188
15189 wxPyEndAllowThreads(__tstate);
15190 if (PyErr_Occurred()) SWIG_fail;
15191 }
15192 {
15193 wxSize * resultptr;
15194 resultptr = new wxSize((wxSize &) result);
15195 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15196 }
15197 return resultobj;
15198 fail:
15199 return NULL;
15200 }
15201
15202
15203 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15204 PyObject *resultobj;
15205 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15206 PyObject * obj0 = 0 ;
15207 char *kwnames[] = {
15208 (char *) "self", NULL
15209 };
15210
15211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
15212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15214 {
15215 PyThreadState* __tstate = wxPyBeginAllowThreads();
15216 (arg1)->base_InitDialog();
15217
15218 wxPyEndAllowThreads(__tstate);
15219 if (PyErr_Occurred()) SWIG_fail;
15220 }
15221 Py_INCREF(Py_None); resultobj = Py_None;
15222 return resultobj;
15223 fail:
15224 return NULL;
15225 }
15226
15227
15228 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15229 PyObject *resultobj;
15230 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15231 bool result;
15232 PyObject * obj0 = 0 ;
15233 char *kwnames[] = {
15234 (char *) "self", NULL
15235 };
15236
15237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15240 {
15241 PyThreadState* __tstate = wxPyBeginAllowThreads();
15242 result = (bool)(arg1)->base_TransferDataToWindow();
15243
15244 wxPyEndAllowThreads(__tstate);
15245 if (PyErr_Occurred()) SWIG_fail;
15246 }
15247 {
15248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15249 }
15250 return resultobj;
15251 fail:
15252 return NULL;
15253 }
15254
15255
15256 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15257 PyObject *resultobj;
15258 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15259 bool result;
15260 PyObject * obj0 = 0 ;
15261 char *kwnames[] = {
15262 (char *) "self", NULL
15263 };
15264
15265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15268 {
15269 PyThreadState* __tstate = wxPyBeginAllowThreads();
15270 result = (bool)(arg1)->base_TransferDataFromWindow();
15271
15272 wxPyEndAllowThreads(__tstate);
15273 if (PyErr_Occurred()) SWIG_fail;
15274 }
15275 {
15276 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15277 }
15278 return resultobj;
15279 fail:
15280 return NULL;
15281 }
15282
15283
15284 static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
15285 PyObject *resultobj;
15286 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15287 bool result;
15288 PyObject * obj0 = 0 ;
15289 char *kwnames[] = {
15290 (char *) "self", NULL
15291 };
15292
15293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
15294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15296 {
15297 PyThreadState* __tstate = wxPyBeginAllowThreads();
15298 result = (bool)(arg1)->base_Validate();
15299
15300 wxPyEndAllowThreads(__tstate);
15301 if (PyErr_Occurred()) SWIG_fail;
15302 }
15303 {
15304 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15305 }
15306 return resultobj;
15307 fail:
15308 return NULL;
15309 }
15310
15311
15312 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
15313 PyObject *resultobj;
15314 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15315 bool result;
15316 PyObject * obj0 = 0 ;
15317 char *kwnames[] = {
15318 (char *) "self", NULL
15319 };
15320
15321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15324 {
15325 PyThreadState* __tstate = wxPyBeginAllowThreads();
15326 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
15327
15328 wxPyEndAllowThreads(__tstate);
15329 if (PyErr_Occurred()) SWIG_fail;
15330 }
15331 {
15332 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15333 }
15334 return resultobj;
15335 fail:
15336 return NULL;
15337 }
15338
15339
15340 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
15341 PyObject *resultobj;
15342 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15343 bool result;
15344 PyObject * obj0 = 0 ;
15345 char *kwnames[] = {
15346 (char *) "self", NULL
15347 };
15348
15349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15352 {
15353 PyThreadState* __tstate = wxPyBeginAllowThreads();
15354 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
15355
15356 wxPyEndAllowThreads(__tstate);
15357 if (PyErr_Occurred()) SWIG_fail;
15358 }
15359 {
15360 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15361 }
15362 return resultobj;
15363 fail:
15364 return NULL;
15365 }
15366
15367
15368 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
15369 PyObject *resultobj;
15370 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15371 wxSize result;
15372 PyObject * obj0 = 0 ;
15373 char *kwnames[] = {
15374 (char *) "self", NULL
15375 };
15376
15377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
15378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15380 {
15381 PyThreadState* __tstate = wxPyBeginAllowThreads();
15382 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
15383
15384 wxPyEndAllowThreads(__tstate);
15385 if (PyErr_Occurred()) SWIG_fail;
15386 }
15387 {
15388 wxSize * resultptr;
15389 resultptr = new wxSize((wxSize &) result);
15390 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15391 }
15392 return resultobj;
15393 fail:
15394 return NULL;
15395 }
15396
15397
15398 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
15399 PyObject *resultobj;
15400 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15401 wxWindow *arg2 = (wxWindow *) 0 ;
15402 PyObject * obj0 = 0 ;
15403 PyObject * obj1 = 0 ;
15404 char *kwnames[] = {
15405 (char *) "self",(char *) "child", NULL
15406 };
15407
15408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15411 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15413 {
15414 PyThreadState* __tstate = wxPyBeginAllowThreads();
15415 (arg1)->base_AddChild(arg2);
15416
15417 wxPyEndAllowThreads(__tstate);
15418 if (PyErr_Occurred()) SWIG_fail;
15419 }
15420 Py_INCREF(Py_None); resultobj = Py_None;
15421 return resultobj;
15422 fail:
15423 return NULL;
15424 }
15425
15426
15427 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
15428 PyObject *resultobj;
15429 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15430 wxWindow *arg2 = (wxWindow *) 0 ;
15431 PyObject * obj0 = 0 ;
15432 PyObject * obj1 = 0 ;
15433 char *kwnames[] = {
15434 (char *) "self",(char *) "child", NULL
15435 };
15436
15437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15440 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15442 {
15443 PyThreadState* __tstate = wxPyBeginAllowThreads();
15444 (arg1)->base_RemoveChild(arg2);
15445
15446 wxPyEndAllowThreads(__tstate);
15447 if (PyErr_Occurred()) SWIG_fail;
15448 }
15449 Py_INCREF(Py_None); resultobj = Py_None;
15450 return resultobj;
15451 fail:
15452 return NULL;
15453 }
15454
15455
15456 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
15457 PyObject *resultobj;
15458 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15459 bool result;
15460 PyObject * obj0 = 0 ;
15461 char *kwnames[] = {
15462 (char *) "self", NULL
15463 };
15464
15465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
15466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15468 {
15469 PyThreadState* __tstate = wxPyBeginAllowThreads();
15470 result = (bool)(arg1)->base_ShouldInheritColours();
15471
15472 wxPyEndAllowThreads(__tstate);
15473 if (PyErr_Occurred()) SWIG_fail;
15474 }
15475 {
15476 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15477 }
15478 return resultobj;
15479 fail:
15480 return NULL;
15481 }
15482
15483
15484 static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
15485 PyObject *resultobj;
15486 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15487 wxColour *arg2 = 0 ;
15488 wxColour temp2 ;
15489 PyObject * obj0 = 0 ;
15490 PyObject * obj1 = 0 ;
15491 char *kwnames[] = {
15492 (char *) "self",(char *) "c", NULL
15493 };
15494
15495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
15496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15498 {
15499 arg2 = &temp2;
15500 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15501 }
15502 {
15503 PyThreadState* __tstate = wxPyBeginAllowThreads();
15504 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
15505
15506 wxPyEndAllowThreads(__tstate);
15507 if (PyErr_Occurred()) SWIG_fail;
15508 }
15509 Py_INCREF(Py_None); resultobj = Py_None;
15510 return resultobj;
15511 fail:
15512 return NULL;
15513 }
15514
15515
15516 static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
15517 PyObject *obj;
15518 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15519 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
15520 Py_INCREF(obj);
15521 return Py_BuildValue((char *)"");
15522 }
15523 static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
15524 PyObject *resultobj;
15525 wxWindow *arg1 = (wxWindow *) 0 ;
15526 int arg2 ;
15527 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15528 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15529 wxSize const &arg4_defvalue = wxDefaultSize ;
15530 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15531 long arg5 = (long) 0 ;
15532 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15533 wxString *arg6 = (wxString *) &arg6_defvalue ;
15534 wxPyPanel *result;
15535 wxPoint temp3 ;
15536 wxSize temp4 ;
15537 bool temp6 = False ;
15538 PyObject * obj0 = 0 ;
15539 PyObject * obj1 = 0 ;
15540 PyObject * obj2 = 0 ;
15541 PyObject * obj3 = 0 ;
15542 PyObject * obj4 = 0 ;
15543 PyObject * obj5 = 0 ;
15544 char *kwnames[] = {
15545 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15546 };
15547
15548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15551 arg2 = (int const) SWIG_AsInt(obj1);
15552 if (PyErr_Occurred()) SWIG_fail;
15553 if (obj2) {
15554 {
15555 arg3 = &temp3;
15556 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15557 }
15558 }
15559 if (obj3) {
15560 {
15561 arg4 = &temp4;
15562 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15563 }
15564 }
15565 if (obj4) {
15566 arg5 = (long) SWIG_AsLong(obj4);
15567 if (PyErr_Occurred()) SWIG_fail;
15568 }
15569 if (obj5) {
15570 {
15571 arg6 = wxString_in_helper(obj5);
15572 if (arg6 == NULL) SWIG_fail;
15573 temp6 = True;
15574 }
15575 }
15576 {
15577 PyThreadState* __tstate = wxPyBeginAllowThreads();
15578 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15579
15580 wxPyEndAllowThreads(__tstate);
15581 if (PyErr_Occurred()) SWIG_fail;
15582 }
15583 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
15584 {
15585 if (temp6)
15586 delete arg6;
15587 }
15588 return resultobj;
15589 fail:
15590 {
15591 if (temp6)
15592 delete arg6;
15593 }
15594 return NULL;
15595 }
15596
15597
15598 static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
15599 PyObject *resultobj;
15600 wxPyPanel *result;
15601 char *kwnames[] = {
15602 NULL
15603 };
15604
15605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
15606 {
15607 PyThreadState* __tstate = wxPyBeginAllowThreads();
15608 result = (wxPyPanel *)new wxPyPanel();
15609
15610 wxPyEndAllowThreads(__tstate);
15611 if (PyErr_Occurred()) SWIG_fail;
15612 }
15613 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
15614 return resultobj;
15615 fail:
15616 return NULL;
15617 }
15618
15619
15620 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
15621 PyObject *resultobj;
15622 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15623 PyObject *arg2 = (PyObject *) 0 ;
15624 PyObject *arg3 = (PyObject *) 0 ;
15625 PyObject * obj0 = 0 ;
15626 PyObject * obj1 = 0 ;
15627 PyObject * obj2 = 0 ;
15628 char *kwnames[] = {
15629 (char *) "self",(char *) "self",(char *) "_class", NULL
15630 };
15631
15632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15635 arg2 = obj1;
15636 arg3 = obj2;
15637 {
15638 PyThreadState* __tstate = wxPyBeginAllowThreads();
15639 (arg1)->_setCallbackInfo(arg2,arg3);
15640
15641 wxPyEndAllowThreads(__tstate);
15642 if (PyErr_Occurred()) SWIG_fail;
15643 }
15644 Py_INCREF(Py_None); resultobj = Py_None;
15645 return resultobj;
15646 fail:
15647 return NULL;
15648 }
15649
15650
15651 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15652 PyObject *resultobj;
15653 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15654 int arg2 ;
15655 int arg3 ;
15656 int arg4 ;
15657 int arg5 ;
15658 PyObject * obj0 = 0 ;
15659 PyObject * obj1 = 0 ;
15660 PyObject * obj2 = 0 ;
15661 PyObject * obj3 = 0 ;
15662 PyObject * obj4 = 0 ;
15663 char *kwnames[] = {
15664 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15665 };
15666
15667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15670 arg2 = (int) SWIG_AsInt(obj1);
15671 if (PyErr_Occurred()) SWIG_fail;
15672 arg3 = (int) SWIG_AsInt(obj2);
15673 if (PyErr_Occurred()) SWIG_fail;
15674 arg4 = (int) SWIG_AsInt(obj3);
15675 if (PyErr_Occurred()) SWIG_fail;
15676 arg5 = (int) SWIG_AsInt(obj4);
15677 if (PyErr_Occurred()) SWIG_fail;
15678 {
15679 PyThreadState* __tstate = wxPyBeginAllowThreads();
15680 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15681
15682 wxPyEndAllowThreads(__tstate);
15683 if (PyErr_Occurred()) SWIG_fail;
15684 }
15685 Py_INCREF(Py_None); resultobj = Py_None;
15686 return resultobj;
15687 fail:
15688 return NULL;
15689 }
15690
15691
15692 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
15693 PyObject *resultobj;
15694 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15695 int arg2 ;
15696 int arg3 ;
15697 int arg4 ;
15698 int arg5 ;
15699 int arg6 = (int) wxSIZE_AUTO ;
15700 PyObject * obj0 = 0 ;
15701 PyObject * obj1 = 0 ;
15702 PyObject * obj2 = 0 ;
15703 PyObject * obj3 = 0 ;
15704 PyObject * obj4 = 0 ;
15705 PyObject * obj5 = 0 ;
15706 char *kwnames[] = {
15707 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15708 };
15709
15710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15713 arg2 = (int) SWIG_AsInt(obj1);
15714 if (PyErr_Occurred()) SWIG_fail;
15715 arg3 = (int) SWIG_AsInt(obj2);
15716 if (PyErr_Occurred()) SWIG_fail;
15717 arg4 = (int) SWIG_AsInt(obj3);
15718 if (PyErr_Occurred()) SWIG_fail;
15719 arg5 = (int) SWIG_AsInt(obj4);
15720 if (PyErr_Occurred()) SWIG_fail;
15721 if (obj5) {
15722 arg6 = (int) SWIG_AsInt(obj5);
15723 if (PyErr_Occurred()) SWIG_fail;
15724 }
15725 {
15726 PyThreadState* __tstate = wxPyBeginAllowThreads();
15727 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15728
15729 wxPyEndAllowThreads(__tstate);
15730 if (PyErr_Occurred()) SWIG_fail;
15731 }
15732 Py_INCREF(Py_None); resultobj = Py_None;
15733 return resultobj;
15734 fail:
15735 return NULL;
15736 }
15737
15738
15739 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
15740 PyObject *resultobj;
15741 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15742 int arg2 ;
15743 int arg3 ;
15744 PyObject * obj0 = 0 ;
15745 PyObject * obj1 = 0 ;
15746 PyObject * obj2 = 0 ;
15747 char *kwnames[] = {
15748 (char *) "self",(char *) "width",(char *) "height", NULL
15749 };
15750
15751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15754 arg2 = (int) SWIG_AsInt(obj1);
15755 if (PyErr_Occurred()) SWIG_fail;
15756 arg3 = (int) SWIG_AsInt(obj2);
15757 if (PyErr_Occurred()) SWIG_fail;
15758 {
15759 PyThreadState* __tstate = wxPyBeginAllowThreads();
15760 (arg1)->base_DoSetClientSize(arg2,arg3);
15761
15762 wxPyEndAllowThreads(__tstate);
15763 if (PyErr_Occurred()) SWIG_fail;
15764 }
15765 Py_INCREF(Py_None); resultobj = Py_None;
15766 return resultobj;
15767 fail:
15768 return NULL;
15769 }
15770
15771
15772 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
15773 PyObject *resultobj;
15774 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15775 int arg2 ;
15776 int arg3 ;
15777 PyObject * obj0 = 0 ;
15778 PyObject * obj1 = 0 ;
15779 PyObject * obj2 = 0 ;
15780 char *kwnames[] = {
15781 (char *) "self",(char *) "x",(char *) "y", NULL
15782 };
15783
15784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15787 arg2 = (int) SWIG_AsInt(obj1);
15788 if (PyErr_Occurred()) SWIG_fail;
15789 arg3 = (int) SWIG_AsInt(obj2);
15790 if (PyErr_Occurred()) SWIG_fail;
15791 {
15792 PyThreadState* __tstate = wxPyBeginAllowThreads();
15793 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15794
15795 wxPyEndAllowThreads(__tstate);
15796 if (PyErr_Occurred()) SWIG_fail;
15797 }
15798 Py_INCREF(Py_None); resultobj = Py_None;
15799 return resultobj;
15800 fail:
15801 return NULL;
15802 }
15803
15804
15805 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
15806 PyObject *resultobj;
15807 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15808 int *arg2 = (int *) 0 ;
15809 int *arg3 = (int *) 0 ;
15810 int temp2 ;
15811 int temp3 ;
15812 PyObject * obj0 = 0 ;
15813 char *kwnames[] = {
15814 (char *) "self", NULL
15815 };
15816
15817 arg2 = &temp2;
15818 arg3 = &temp3;
15819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
15820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15822 {
15823 PyThreadState* __tstate = wxPyBeginAllowThreads();
15824 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
15825
15826 wxPyEndAllowThreads(__tstate);
15827 if (PyErr_Occurred()) SWIG_fail;
15828 }
15829 Py_INCREF(Py_None); resultobj = Py_None;
15830 {
15831 PyObject *o = PyInt_FromLong((long) (*arg2));
15832 resultobj = t_output_helper(resultobj,o);
15833 }
15834 {
15835 PyObject *o = PyInt_FromLong((long) (*arg3));
15836 resultobj = t_output_helper(resultobj,o);
15837 }
15838 return resultobj;
15839 fail:
15840 return NULL;
15841 }
15842
15843
15844 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
15845 PyObject *resultobj;
15846 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15847 int *arg2 = (int *) 0 ;
15848 int *arg3 = (int *) 0 ;
15849 int temp2 ;
15850 int temp3 ;
15851 PyObject * obj0 = 0 ;
15852 char *kwnames[] = {
15853 (char *) "self", NULL
15854 };
15855
15856 arg2 = &temp2;
15857 arg3 = &temp3;
15858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15861 {
15862 PyThreadState* __tstate = wxPyBeginAllowThreads();
15863 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
15864
15865 wxPyEndAllowThreads(__tstate);
15866 if (PyErr_Occurred()) SWIG_fail;
15867 }
15868 Py_INCREF(Py_None); resultobj = Py_None;
15869 {
15870 PyObject *o = PyInt_FromLong((long) (*arg2));
15871 resultobj = t_output_helper(resultobj,o);
15872 }
15873 {
15874 PyObject *o = PyInt_FromLong((long) (*arg3));
15875 resultobj = t_output_helper(resultobj,o);
15876 }
15877 return resultobj;
15878 fail:
15879 return NULL;
15880 }
15881
15882
15883 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
15884 PyObject *resultobj;
15885 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15886 int *arg2 = (int *) 0 ;
15887 int *arg3 = (int *) 0 ;
15888 int temp2 ;
15889 int temp3 ;
15890 PyObject * obj0 = 0 ;
15891 char *kwnames[] = {
15892 (char *) "self", NULL
15893 };
15894
15895 arg2 = &temp2;
15896 arg3 = &temp3;
15897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
15898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15900 {
15901 PyThreadState* __tstate = wxPyBeginAllowThreads();
15902 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
15903
15904 wxPyEndAllowThreads(__tstate);
15905 if (PyErr_Occurred()) SWIG_fail;
15906 }
15907 Py_INCREF(Py_None); resultobj = Py_None;
15908 {
15909 PyObject *o = PyInt_FromLong((long) (*arg2));
15910 resultobj = t_output_helper(resultobj,o);
15911 }
15912 {
15913 PyObject *o = PyInt_FromLong((long) (*arg3));
15914 resultobj = t_output_helper(resultobj,o);
15915 }
15916 return resultobj;
15917 fail:
15918 return NULL;
15919 }
15920
15921
15922 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
15923 PyObject *resultobj;
15924 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15925 wxSize result;
15926 PyObject * obj0 = 0 ;
15927 char *kwnames[] = {
15928 (char *) "self", NULL
15929 };
15930
15931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15934 {
15935 PyThreadState* __tstate = wxPyBeginAllowThreads();
15936 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
15937
15938 wxPyEndAllowThreads(__tstate);
15939 if (PyErr_Occurred()) SWIG_fail;
15940 }
15941 {
15942 wxSize * resultptr;
15943 resultptr = new wxSize((wxSize &) result);
15944 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15945 }
15946 return resultobj;
15947 fail:
15948 return NULL;
15949 }
15950
15951
15952 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
15953 PyObject *resultobj;
15954 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15955 wxSize result;
15956 PyObject * obj0 = 0 ;
15957 char *kwnames[] = {
15958 (char *) "self", NULL
15959 };
15960
15961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15964 {
15965 PyThreadState* __tstate = wxPyBeginAllowThreads();
15966 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
15967
15968 wxPyEndAllowThreads(__tstate);
15969 if (PyErr_Occurred()) SWIG_fail;
15970 }
15971 {
15972 wxSize * resultptr;
15973 resultptr = new wxSize((wxSize &) result);
15974 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15975 }
15976 return resultobj;
15977 fail:
15978 return NULL;
15979 }
15980
15981
15982 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15983 PyObject *resultobj;
15984 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15985 PyObject * obj0 = 0 ;
15986 char *kwnames[] = {
15987 (char *) "self", NULL
15988 };
15989
15990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
15991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15993 {
15994 PyThreadState* __tstate = wxPyBeginAllowThreads();
15995 (arg1)->base_InitDialog();
15996
15997 wxPyEndAllowThreads(__tstate);
15998 if (PyErr_Occurred()) SWIG_fail;
15999 }
16000 Py_INCREF(Py_None); resultobj = Py_None;
16001 return resultobj;
16002 fail:
16003 return NULL;
16004 }
16005
16006
16007 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16008 PyObject *resultobj;
16009 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16010 bool result;
16011 PyObject * obj0 = 0 ;
16012 char *kwnames[] = {
16013 (char *) "self", NULL
16014 };
16015
16016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16019 {
16020 PyThreadState* __tstate = wxPyBeginAllowThreads();
16021 result = (bool)(arg1)->base_TransferDataToWindow();
16022
16023 wxPyEndAllowThreads(__tstate);
16024 if (PyErr_Occurred()) SWIG_fail;
16025 }
16026 {
16027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16028 }
16029 return resultobj;
16030 fail:
16031 return NULL;
16032 }
16033
16034
16035 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16036 PyObject *resultobj;
16037 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16038 bool result;
16039 PyObject * obj0 = 0 ;
16040 char *kwnames[] = {
16041 (char *) "self", NULL
16042 };
16043
16044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16047 {
16048 PyThreadState* __tstate = wxPyBeginAllowThreads();
16049 result = (bool)(arg1)->base_TransferDataFromWindow();
16050
16051 wxPyEndAllowThreads(__tstate);
16052 if (PyErr_Occurred()) SWIG_fail;
16053 }
16054 {
16055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16056 }
16057 return resultobj;
16058 fail:
16059 return NULL;
16060 }
16061
16062
16063 static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
16064 PyObject *resultobj;
16065 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16066 bool result;
16067 PyObject * obj0 = 0 ;
16068 char *kwnames[] = {
16069 (char *) "self", NULL
16070 };
16071
16072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
16073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16075 {
16076 PyThreadState* __tstate = wxPyBeginAllowThreads();
16077 result = (bool)(arg1)->base_Validate();
16078
16079 wxPyEndAllowThreads(__tstate);
16080 if (PyErr_Occurred()) SWIG_fail;
16081 }
16082 {
16083 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16084 }
16085 return resultobj;
16086 fail:
16087 return NULL;
16088 }
16089
16090
16091 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
16092 PyObject *resultobj;
16093 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16094 bool result;
16095 PyObject * obj0 = 0 ;
16096 char *kwnames[] = {
16097 (char *) "self", NULL
16098 };
16099
16100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16103 {
16104 PyThreadState* __tstate = wxPyBeginAllowThreads();
16105 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
16106
16107 wxPyEndAllowThreads(__tstate);
16108 if (PyErr_Occurred()) SWIG_fail;
16109 }
16110 {
16111 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16112 }
16113 return resultobj;
16114 fail:
16115 return NULL;
16116 }
16117
16118
16119 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
16120 PyObject *resultobj;
16121 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16122 bool result;
16123 PyObject * obj0 = 0 ;
16124 char *kwnames[] = {
16125 (char *) "self", NULL
16126 };
16127
16128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16131 {
16132 PyThreadState* __tstate = wxPyBeginAllowThreads();
16133 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
16134
16135 wxPyEndAllowThreads(__tstate);
16136 if (PyErr_Occurred()) SWIG_fail;
16137 }
16138 {
16139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16140 }
16141 return resultobj;
16142 fail:
16143 return NULL;
16144 }
16145
16146
16147 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
16148 PyObject *resultobj;
16149 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16150 wxSize result;
16151 PyObject * obj0 = 0 ;
16152 char *kwnames[] = {
16153 (char *) "self", NULL
16154 };
16155
16156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
16157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16159 {
16160 PyThreadState* __tstate = wxPyBeginAllowThreads();
16161 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
16162
16163 wxPyEndAllowThreads(__tstate);
16164 if (PyErr_Occurred()) SWIG_fail;
16165 }
16166 {
16167 wxSize * resultptr;
16168 resultptr = new wxSize((wxSize &) result);
16169 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16170 }
16171 return resultobj;
16172 fail:
16173 return NULL;
16174 }
16175
16176
16177 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
16178 PyObject *resultobj;
16179 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16180 wxWindow *arg2 = (wxWindow *) 0 ;
16181 PyObject * obj0 = 0 ;
16182 PyObject * obj1 = 0 ;
16183 char *kwnames[] = {
16184 (char *) "self",(char *) "child", NULL
16185 };
16186
16187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16190 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16192 {
16193 PyThreadState* __tstate = wxPyBeginAllowThreads();
16194 (arg1)->base_AddChild(arg2);
16195
16196 wxPyEndAllowThreads(__tstate);
16197 if (PyErr_Occurred()) SWIG_fail;
16198 }
16199 Py_INCREF(Py_None); resultobj = Py_None;
16200 return resultobj;
16201 fail:
16202 return NULL;
16203 }
16204
16205
16206 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
16207 PyObject *resultobj;
16208 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16209 wxWindow *arg2 = (wxWindow *) 0 ;
16210 PyObject * obj0 = 0 ;
16211 PyObject * obj1 = 0 ;
16212 char *kwnames[] = {
16213 (char *) "self",(char *) "child", NULL
16214 };
16215
16216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16219 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16221 {
16222 PyThreadState* __tstate = wxPyBeginAllowThreads();
16223 (arg1)->base_RemoveChild(arg2);
16224
16225 wxPyEndAllowThreads(__tstate);
16226 if (PyErr_Occurred()) SWIG_fail;
16227 }
16228 Py_INCREF(Py_None); resultobj = Py_None;
16229 return resultobj;
16230 fail:
16231 return NULL;
16232 }
16233
16234
16235 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
16236 PyObject *resultobj;
16237 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16238 bool result;
16239 PyObject * obj0 = 0 ;
16240 char *kwnames[] = {
16241 (char *) "self", NULL
16242 };
16243
16244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16247 {
16248 PyThreadState* __tstate = wxPyBeginAllowThreads();
16249 result = (bool)(arg1)->base_ShouldInheritColours();
16250
16251 wxPyEndAllowThreads(__tstate);
16252 if (PyErr_Occurred()) SWIG_fail;
16253 }
16254 {
16255 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16256 }
16257 return resultobj;
16258 fail:
16259 return NULL;
16260 }
16261
16262
16263 static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
16264 PyObject *resultobj;
16265 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16266 wxColour *arg2 = 0 ;
16267 wxColour temp2 ;
16268 PyObject * obj0 = 0 ;
16269 PyObject * obj1 = 0 ;
16270 char *kwnames[] = {
16271 (char *) "self",(char *) "c", NULL
16272 };
16273
16274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16277 {
16278 arg2 = &temp2;
16279 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16280 }
16281 {
16282 PyThreadState* __tstate = wxPyBeginAllowThreads();
16283 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16284
16285 wxPyEndAllowThreads(__tstate);
16286 if (PyErr_Occurred()) SWIG_fail;
16287 }
16288 Py_INCREF(Py_None); resultobj = Py_None;
16289 return resultobj;
16290 fail:
16291 return NULL;
16292 }
16293
16294
16295 static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
16296 PyObject *obj;
16297 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16298 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
16299 Py_INCREF(obj);
16300 return Py_BuildValue((char *)"");
16301 }
16302 static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16303 PyObject *resultobj;
16304 wxWindow *arg1 = (wxWindow *) 0 ;
16305 int arg2 ;
16306 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16307 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16308 wxSize const &arg4_defvalue = wxDefaultSize ;
16309 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16310 long arg5 = (long) 0 ;
16311 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16312 wxString *arg6 = (wxString *) &arg6_defvalue ;
16313 wxPyScrolledWindow *result;
16314 wxPoint temp3 ;
16315 wxSize temp4 ;
16316 bool temp6 = False ;
16317 PyObject * obj0 = 0 ;
16318 PyObject * obj1 = 0 ;
16319 PyObject * obj2 = 0 ;
16320 PyObject * obj3 = 0 ;
16321 PyObject * obj4 = 0 ;
16322 PyObject * obj5 = 0 ;
16323 char *kwnames[] = {
16324 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16325 };
16326
16327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16330 arg2 = (int const) SWIG_AsInt(obj1);
16331 if (PyErr_Occurred()) SWIG_fail;
16332 if (obj2) {
16333 {
16334 arg3 = &temp3;
16335 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16336 }
16337 }
16338 if (obj3) {
16339 {
16340 arg4 = &temp4;
16341 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16342 }
16343 }
16344 if (obj4) {
16345 arg5 = (long) SWIG_AsLong(obj4);
16346 if (PyErr_Occurred()) SWIG_fail;
16347 }
16348 if (obj5) {
16349 {
16350 arg6 = wxString_in_helper(obj5);
16351 if (arg6 == NULL) SWIG_fail;
16352 temp6 = True;
16353 }
16354 }
16355 {
16356 PyThreadState* __tstate = wxPyBeginAllowThreads();
16357 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16358
16359 wxPyEndAllowThreads(__tstate);
16360 if (PyErr_Occurred()) SWIG_fail;
16361 }
16362 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
16363 {
16364 if (temp6)
16365 delete arg6;
16366 }
16367 return resultobj;
16368 fail:
16369 {
16370 if (temp6)
16371 delete arg6;
16372 }
16373 return NULL;
16374 }
16375
16376
16377 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16378 PyObject *resultobj;
16379 wxPyScrolledWindow *result;
16380 char *kwnames[] = {
16381 NULL
16382 };
16383
16384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
16385 {
16386 PyThreadState* __tstate = wxPyBeginAllowThreads();
16387 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
16388
16389 wxPyEndAllowThreads(__tstate);
16390 if (PyErr_Occurred()) SWIG_fail;
16391 }
16392 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
16393 return resultobj;
16394 fail:
16395 return NULL;
16396 }
16397
16398
16399 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
16400 PyObject *resultobj;
16401 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16402 PyObject *arg2 = (PyObject *) 0 ;
16403 PyObject *arg3 = (PyObject *) 0 ;
16404 PyObject * obj0 = 0 ;
16405 PyObject * obj1 = 0 ;
16406 PyObject * obj2 = 0 ;
16407 char *kwnames[] = {
16408 (char *) "self",(char *) "self",(char *) "_class", NULL
16409 };
16410
16411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16414 arg2 = obj1;
16415 arg3 = obj2;
16416 {
16417 PyThreadState* __tstate = wxPyBeginAllowThreads();
16418 (arg1)->_setCallbackInfo(arg2,arg3);
16419
16420 wxPyEndAllowThreads(__tstate);
16421 if (PyErr_Occurred()) SWIG_fail;
16422 }
16423 Py_INCREF(Py_None); resultobj = Py_None;
16424 return resultobj;
16425 fail:
16426 return NULL;
16427 }
16428
16429
16430 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16431 PyObject *resultobj;
16432 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16433 int arg2 ;
16434 int arg3 ;
16435 int arg4 ;
16436 int arg5 ;
16437 PyObject * obj0 = 0 ;
16438 PyObject * obj1 = 0 ;
16439 PyObject * obj2 = 0 ;
16440 PyObject * obj3 = 0 ;
16441 PyObject * obj4 = 0 ;
16442 char *kwnames[] = {
16443 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16444 };
16445
16446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16449 arg2 = (int) SWIG_AsInt(obj1);
16450 if (PyErr_Occurred()) SWIG_fail;
16451 arg3 = (int) SWIG_AsInt(obj2);
16452 if (PyErr_Occurred()) SWIG_fail;
16453 arg4 = (int) SWIG_AsInt(obj3);
16454 if (PyErr_Occurred()) SWIG_fail;
16455 arg5 = (int) SWIG_AsInt(obj4);
16456 if (PyErr_Occurred()) SWIG_fail;
16457 {
16458 PyThreadState* __tstate = wxPyBeginAllowThreads();
16459 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16460
16461 wxPyEndAllowThreads(__tstate);
16462 if (PyErr_Occurred()) SWIG_fail;
16463 }
16464 Py_INCREF(Py_None); resultobj = Py_None;
16465 return resultobj;
16466 fail:
16467 return NULL;
16468 }
16469
16470
16471 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
16472 PyObject *resultobj;
16473 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16474 int arg2 ;
16475 int arg3 ;
16476 int arg4 ;
16477 int arg5 ;
16478 int arg6 = (int) wxSIZE_AUTO ;
16479 PyObject * obj0 = 0 ;
16480 PyObject * obj1 = 0 ;
16481 PyObject * obj2 = 0 ;
16482 PyObject * obj3 = 0 ;
16483 PyObject * obj4 = 0 ;
16484 PyObject * obj5 = 0 ;
16485 char *kwnames[] = {
16486 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16487 };
16488
16489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16492 arg2 = (int) SWIG_AsInt(obj1);
16493 if (PyErr_Occurred()) SWIG_fail;
16494 arg3 = (int) SWIG_AsInt(obj2);
16495 if (PyErr_Occurred()) SWIG_fail;
16496 arg4 = (int) SWIG_AsInt(obj3);
16497 if (PyErr_Occurred()) SWIG_fail;
16498 arg5 = (int) SWIG_AsInt(obj4);
16499 if (PyErr_Occurred()) SWIG_fail;
16500 if (obj5) {
16501 arg6 = (int) SWIG_AsInt(obj5);
16502 if (PyErr_Occurred()) SWIG_fail;
16503 }
16504 {
16505 PyThreadState* __tstate = wxPyBeginAllowThreads();
16506 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16507
16508 wxPyEndAllowThreads(__tstate);
16509 if (PyErr_Occurred()) SWIG_fail;
16510 }
16511 Py_INCREF(Py_None); resultobj = Py_None;
16512 return resultobj;
16513 fail:
16514 return NULL;
16515 }
16516
16517
16518 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
16519 PyObject *resultobj;
16520 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16521 int arg2 ;
16522 int arg3 ;
16523 PyObject * obj0 = 0 ;
16524 PyObject * obj1 = 0 ;
16525 PyObject * obj2 = 0 ;
16526 char *kwnames[] = {
16527 (char *) "self",(char *) "width",(char *) "height", NULL
16528 };
16529
16530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16533 arg2 = (int) SWIG_AsInt(obj1);
16534 if (PyErr_Occurred()) SWIG_fail;
16535 arg3 = (int) SWIG_AsInt(obj2);
16536 if (PyErr_Occurred()) SWIG_fail;
16537 {
16538 PyThreadState* __tstate = wxPyBeginAllowThreads();
16539 (arg1)->base_DoSetClientSize(arg2,arg3);
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_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
16552 PyObject *resultobj;
16553 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16554 int arg2 ;
16555 int arg3 ;
16556 PyObject * obj0 = 0 ;
16557 PyObject * obj1 = 0 ;
16558 PyObject * obj2 = 0 ;
16559 char *kwnames[] = {
16560 (char *) "self",(char *) "x",(char *) "y", NULL
16561 };
16562
16563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16566 arg2 = (int) SWIG_AsInt(obj1);
16567 if (PyErr_Occurred()) SWIG_fail;
16568 arg3 = (int) SWIG_AsInt(obj2);
16569 if (PyErr_Occurred()) SWIG_fail;
16570 {
16571 PyThreadState* __tstate = wxPyBeginAllowThreads();
16572 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16573
16574 wxPyEndAllowThreads(__tstate);
16575 if (PyErr_Occurred()) SWIG_fail;
16576 }
16577 Py_INCREF(Py_None); resultobj = Py_None;
16578 return resultobj;
16579 fail:
16580 return NULL;
16581 }
16582
16583
16584 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
16585 PyObject *resultobj;
16586 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16587 int *arg2 = (int *) 0 ;
16588 int *arg3 = (int *) 0 ;
16589 int temp2 ;
16590 int temp3 ;
16591 PyObject * obj0 = 0 ;
16592 char *kwnames[] = {
16593 (char *) "self", NULL
16594 };
16595
16596 arg2 = &temp2;
16597 arg3 = &temp3;
16598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
16599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16601 {
16602 PyThreadState* __tstate = wxPyBeginAllowThreads();
16603 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
16604
16605 wxPyEndAllowThreads(__tstate);
16606 if (PyErr_Occurred()) SWIG_fail;
16607 }
16608 Py_INCREF(Py_None); resultobj = Py_None;
16609 {
16610 PyObject *o = PyInt_FromLong((long) (*arg2));
16611 resultobj = t_output_helper(resultobj,o);
16612 }
16613 {
16614 PyObject *o = PyInt_FromLong((long) (*arg3));
16615 resultobj = t_output_helper(resultobj,o);
16616 }
16617 return resultobj;
16618 fail:
16619 return NULL;
16620 }
16621
16622
16623 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
16624 PyObject *resultobj;
16625 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16626 int *arg2 = (int *) 0 ;
16627 int *arg3 = (int *) 0 ;
16628 int temp2 ;
16629 int temp3 ;
16630 PyObject * obj0 = 0 ;
16631 char *kwnames[] = {
16632 (char *) "self", NULL
16633 };
16634
16635 arg2 = &temp2;
16636 arg3 = &temp3;
16637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16640 {
16641 PyThreadState* __tstate = wxPyBeginAllowThreads();
16642 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
16643
16644 wxPyEndAllowThreads(__tstate);
16645 if (PyErr_Occurred()) SWIG_fail;
16646 }
16647 Py_INCREF(Py_None); resultobj = Py_None;
16648 {
16649 PyObject *o = PyInt_FromLong((long) (*arg2));
16650 resultobj = t_output_helper(resultobj,o);
16651 }
16652 {
16653 PyObject *o = PyInt_FromLong((long) (*arg3));
16654 resultobj = t_output_helper(resultobj,o);
16655 }
16656 return resultobj;
16657 fail:
16658 return NULL;
16659 }
16660
16661
16662 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
16663 PyObject *resultobj;
16664 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16665 int *arg2 = (int *) 0 ;
16666 int *arg3 = (int *) 0 ;
16667 int temp2 ;
16668 int temp3 ;
16669 PyObject * obj0 = 0 ;
16670 char *kwnames[] = {
16671 (char *) "self", NULL
16672 };
16673
16674 arg2 = &temp2;
16675 arg3 = &temp3;
16676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
16677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16679 {
16680 PyThreadState* __tstate = wxPyBeginAllowThreads();
16681 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
16682
16683 wxPyEndAllowThreads(__tstate);
16684 if (PyErr_Occurred()) SWIG_fail;
16685 }
16686 Py_INCREF(Py_None); resultobj = Py_None;
16687 {
16688 PyObject *o = PyInt_FromLong((long) (*arg2));
16689 resultobj = t_output_helper(resultobj,o);
16690 }
16691 {
16692 PyObject *o = PyInt_FromLong((long) (*arg3));
16693 resultobj = t_output_helper(resultobj,o);
16694 }
16695 return resultobj;
16696 fail:
16697 return NULL;
16698 }
16699
16700
16701 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
16702 PyObject *resultobj;
16703 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16704 wxSize result;
16705 PyObject * obj0 = 0 ;
16706 char *kwnames[] = {
16707 (char *) "self", NULL
16708 };
16709
16710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16713 {
16714 PyThreadState* __tstate = wxPyBeginAllowThreads();
16715 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
16716
16717 wxPyEndAllowThreads(__tstate);
16718 if (PyErr_Occurred()) SWIG_fail;
16719 }
16720 {
16721 wxSize * resultptr;
16722 resultptr = new wxSize((wxSize &) result);
16723 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16724 }
16725 return resultobj;
16726 fail:
16727 return NULL;
16728 }
16729
16730
16731 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
16732 PyObject *resultobj;
16733 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16734 wxSize result;
16735 PyObject * obj0 = 0 ;
16736 char *kwnames[] = {
16737 (char *) "self", NULL
16738 };
16739
16740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16743 {
16744 PyThreadState* __tstate = wxPyBeginAllowThreads();
16745 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
16746
16747 wxPyEndAllowThreads(__tstate);
16748 if (PyErr_Occurred()) SWIG_fail;
16749 }
16750 {
16751 wxSize * resultptr;
16752 resultptr = new wxSize((wxSize &) result);
16753 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16754 }
16755 return resultobj;
16756 fail:
16757 return NULL;
16758 }
16759
16760
16761 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16762 PyObject *resultobj;
16763 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16764 PyObject * obj0 = 0 ;
16765 char *kwnames[] = {
16766 (char *) "self", NULL
16767 };
16768
16769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
16770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16772 {
16773 PyThreadState* __tstate = wxPyBeginAllowThreads();
16774 (arg1)->base_InitDialog();
16775
16776 wxPyEndAllowThreads(__tstate);
16777 if (PyErr_Occurred()) SWIG_fail;
16778 }
16779 Py_INCREF(Py_None); resultobj = Py_None;
16780 return resultobj;
16781 fail:
16782 return NULL;
16783 }
16784
16785
16786 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16787 PyObject *resultobj;
16788 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16789 bool result;
16790 PyObject * obj0 = 0 ;
16791 char *kwnames[] = {
16792 (char *) "self", NULL
16793 };
16794
16795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16798 {
16799 PyThreadState* __tstate = wxPyBeginAllowThreads();
16800 result = (bool)(arg1)->base_TransferDataToWindow();
16801
16802 wxPyEndAllowThreads(__tstate);
16803 if (PyErr_Occurred()) SWIG_fail;
16804 }
16805 {
16806 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16807 }
16808 return resultobj;
16809 fail:
16810 return NULL;
16811 }
16812
16813
16814 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16815 PyObject *resultobj;
16816 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16817 bool result;
16818 PyObject * obj0 = 0 ;
16819 char *kwnames[] = {
16820 (char *) "self", NULL
16821 };
16822
16823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16826 {
16827 PyThreadState* __tstate = wxPyBeginAllowThreads();
16828 result = (bool)(arg1)->base_TransferDataFromWindow();
16829
16830 wxPyEndAllowThreads(__tstate);
16831 if (PyErr_Occurred()) SWIG_fail;
16832 }
16833 {
16834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16835 }
16836 return resultobj;
16837 fail:
16838 return NULL;
16839 }
16840
16841
16842 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
16843 PyObject *resultobj;
16844 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16845 bool result;
16846 PyObject * obj0 = 0 ;
16847 char *kwnames[] = {
16848 (char *) "self", NULL
16849 };
16850
16851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
16852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16854 {
16855 PyThreadState* __tstate = wxPyBeginAllowThreads();
16856 result = (bool)(arg1)->base_Validate();
16857
16858 wxPyEndAllowThreads(__tstate);
16859 if (PyErr_Occurred()) SWIG_fail;
16860 }
16861 {
16862 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16863 }
16864 return resultobj;
16865 fail:
16866 return NULL;
16867 }
16868
16869
16870 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
16871 PyObject *resultobj;
16872 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16873 bool result;
16874 PyObject * obj0 = 0 ;
16875 char *kwnames[] = {
16876 (char *) "self", NULL
16877 };
16878
16879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16882 {
16883 PyThreadState* __tstate = wxPyBeginAllowThreads();
16884 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
16885
16886 wxPyEndAllowThreads(__tstate);
16887 if (PyErr_Occurred()) SWIG_fail;
16888 }
16889 {
16890 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16891 }
16892 return resultobj;
16893 fail:
16894 return NULL;
16895 }
16896
16897
16898 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
16899 PyObject *resultobj;
16900 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16901 bool result;
16902 PyObject * obj0 = 0 ;
16903 char *kwnames[] = {
16904 (char *) "self", NULL
16905 };
16906
16907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16910 {
16911 PyThreadState* __tstate = wxPyBeginAllowThreads();
16912 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
16913
16914 wxPyEndAllowThreads(__tstate);
16915 if (PyErr_Occurred()) SWIG_fail;
16916 }
16917 {
16918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16919 }
16920 return resultobj;
16921 fail:
16922 return NULL;
16923 }
16924
16925
16926 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
16927 PyObject *resultobj;
16928 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16929 wxSize result;
16930 PyObject * obj0 = 0 ;
16931 char *kwnames[] = {
16932 (char *) "self", NULL
16933 };
16934
16935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
16936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16938 {
16939 PyThreadState* __tstate = wxPyBeginAllowThreads();
16940 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
16941
16942 wxPyEndAllowThreads(__tstate);
16943 if (PyErr_Occurred()) SWIG_fail;
16944 }
16945 {
16946 wxSize * resultptr;
16947 resultptr = new wxSize((wxSize &) result);
16948 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16949 }
16950 return resultobj;
16951 fail:
16952 return NULL;
16953 }
16954
16955
16956 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
16957 PyObject *resultobj;
16958 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16959 wxWindow *arg2 = (wxWindow *) 0 ;
16960 PyObject * obj0 = 0 ;
16961 PyObject * obj1 = 0 ;
16962 char *kwnames[] = {
16963 (char *) "self",(char *) "child", NULL
16964 };
16965
16966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16969 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16971 {
16972 PyThreadState* __tstate = wxPyBeginAllowThreads();
16973 (arg1)->base_AddChild(arg2);
16974
16975 wxPyEndAllowThreads(__tstate);
16976 if (PyErr_Occurred()) SWIG_fail;
16977 }
16978 Py_INCREF(Py_None); resultobj = Py_None;
16979 return resultobj;
16980 fail:
16981 return NULL;
16982 }
16983
16984
16985 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
16986 PyObject *resultobj;
16987 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16988 wxWindow *arg2 = (wxWindow *) 0 ;
16989 PyObject * obj0 = 0 ;
16990 PyObject * obj1 = 0 ;
16991 char *kwnames[] = {
16992 (char *) "self",(char *) "child", NULL
16993 };
16994
16995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16998 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17000 {
17001 PyThreadState* __tstate = wxPyBeginAllowThreads();
17002 (arg1)->base_RemoveChild(arg2);
17003
17004 wxPyEndAllowThreads(__tstate);
17005 if (PyErr_Occurred()) SWIG_fail;
17006 }
17007 Py_INCREF(Py_None); resultobj = Py_None;
17008 return resultobj;
17009 fail:
17010 return NULL;
17011 }
17012
17013
17014 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
17015 PyObject *resultobj;
17016 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17017 bool result;
17018 PyObject * obj0 = 0 ;
17019 char *kwnames[] = {
17020 (char *) "self", NULL
17021 };
17022
17023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17026 {
17027 PyThreadState* __tstate = wxPyBeginAllowThreads();
17028 result = (bool)(arg1)->base_ShouldInheritColours();
17029
17030 wxPyEndAllowThreads(__tstate);
17031 if (PyErr_Occurred()) SWIG_fail;
17032 }
17033 {
17034 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17035 }
17036 return resultobj;
17037 fail:
17038 return NULL;
17039 }
17040
17041
17042 static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
17043 PyObject *resultobj;
17044 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17045 wxColour *arg2 = 0 ;
17046 wxColour temp2 ;
17047 PyObject * obj0 = 0 ;
17048 PyObject * obj1 = 0 ;
17049 char *kwnames[] = {
17050 (char *) "self",(char *) "c", NULL
17051 };
17052
17053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17056 {
17057 arg2 = &temp2;
17058 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17059 }
17060 {
17061 PyThreadState* __tstate = wxPyBeginAllowThreads();
17062 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17063
17064 wxPyEndAllowThreads(__tstate);
17065 if (PyErr_Occurred()) SWIG_fail;
17066 }
17067 Py_INCREF(Py_None); resultobj = Py_None;
17068 return resultobj;
17069 fail:
17070 return NULL;
17071 }
17072
17073
17074 static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
17075 PyObject *obj;
17076 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17077 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
17078 Py_INCREF(obj);
17079 return Py_BuildValue((char *)"");
17080 }
17081 static int _wrap_PrintoutTitleStr_set(PyObject *) {
17082 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
17083 return 1;
17084 }
17085
17086
17087 static PyObject *_wrap_PrintoutTitleStr_get() {
17088 PyObject *pyobj;
17089
17090 {
17091 #if wxUSE_UNICODE
17092 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17093 #else
17094 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17095 #endif
17096 }
17097 return pyobj;
17098 }
17099
17100
17101 static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
17102 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
17103 return 1;
17104 }
17105
17106
17107 static PyObject *_wrap_PreviewCanvasNameStr_get() {
17108 PyObject *pyobj;
17109
17110 {
17111 #if wxUSE_UNICODE
17112 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17113 #else
17114 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17115 #endif
17116 }
17117 return pyobj;
17118 }
17119
17120
17121 static PyObject *_wrap_new_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
17122 PyObject *resultobj;
17123 wxPrintData *result;
17124 char *kwnames[] = {
17125 NULL
17126 };
17127
17128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
17129 {
17130 PyThreadState* __tstate = wxPyBeginAllowThreads();
17131 result = (wxPrintData *)new wxPrintData();
17132
17133 wxPyEndAllowThreads(__tstate);
17134 if (PyErr_Occurred()) SWIG_fail;
17135 }
17136 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
17137 return resultobj;
17138 fail:
17139 return NULL;
17140 }
17141
17142
17143 static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
17144 PyObject *resultobj;
17145 wxPrintData *arg1 = (wxPrintData *) 0 ;
17146 PyObject * obj0 = 0 ;
17147 char *kwnames[] = {
17148 (char *) "self", NULL
17149 };
17150
17151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
17152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17154 {
17155 PyThreadState* __tstate = wxPyBeginAllowThreads();
17156 delete arg1;
17157
17158 wxPyEndAllowThreads(__tstate);
17159 if (PyErr_Occurred()) SWIG_fail;
17160 }
17161 Py_INCREF(Py_None); resultobj = Py_None;
17162 return resultobj;
17163 fail:
17164 return NULL;
17165 }
17166
17167
17168 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
17169 PyObject *resultobj;
17170 wxPrintData *arg1 = (wxPrintData *) 0 ;
17171 int result;
17172 PyObject * obj0 = 0 ;
17173 char *kwnames[] = {
17174 (char *) "self", NULL
17175 };
17176
17177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
17178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17180 {
17181 PyThreadState* __tstate = wxPyBeginAllowThreads();
17182 result = (int)(arg1)->GetNoCopies();
17183
17184 wxPyEndAllowThreads(__tstate);
17185 if (PyErr_Occurred()) SWIG_fail;
17186 }
17187 resultobj = SWIG_FromInt((int)result);
17188 return resultobj;
17189 fail:
17190 return NULL;
17191 }
17192
17193
17194 static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
17195 PyObject *resultobj;
17196 wxPrintData *arg1 = (wxPrintData *) 0 ;
17197 bool result;
17198 PyObject * obj0 = 0 ;
17199 char *kwnames[] = {
17200 (char *) "self", NULL
17201 };
17202
17203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
17204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17206 {
17207 PyThreadState* __tstate = wxPyBeginAllowThreads();
17208 result = (bool)(arg1)->GetCollate();
17209
17210 wxPyEndAllowThreads(__tstate);
17211 if (PyErr_Occurred()) SWIG_fail;
17212 }
17213 {
17214 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17215 }
17216 return resultobj;
17217 fail:
17218 return NULL;
17219 }
17220
17221
17222 static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
17223 PyObject *resultobj;
17224 wxPrintData *arg1 = (wxPrintData *) 0 ;
17225 int result;
17226 PyObject * obj0 = 0 ;
17227 char *kwnames[] = {
17228 (char *) "self", NULL
17229 };
17230
17231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
17232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17234 {
17235 PyThreadState* __tstate = wxPyBeginAllowThreads();
17236 result = (int)(arg1)->GetOrientation();
17237
17238 wxPyEndAllowThreads(__tstate);
17239 if (PyErr_Occurred()) SWIG_fail;
17240 }
17241 resultobj = SWIG_FromInt((int)result);
17242 return resultobj;
17243 fail:
17244 return NULL;
17245 }
17246
17247
17248 static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
17249 PyObject *resultobj;
17250 wxPrintData *arg1 = (wxPrintData *) 0 ;
17251 bool result;
17252 PyObject * obj0 = 0 ;
17253 char *kwnames[] = {
17254 (char *) "self", NULL
17255 };
17256
17257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
17258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17260 {
17261 PyThreadState* __tstate = wxPyBeginAllowThreads();
17262 result = (bool)(arg1)->Ok();
17263
17264 wxPyEndAllowThreads(__tstate);
17265 if (PyErr_Occurred()) SWIG_fail;
17266 }
17267 {
17268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17269 }
17270 return resultobj;
17271 fail:
17272 return NULL;
17273 }
17274
17275
17276 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
17277 PyObject *resultobj;
17278 wxPrintData *arg1 = (wxPrintData *) 0 ;
17279 wxString *result;
17280 PyObject * obj0 = 0 ;
17281 char *kwnames[] = {
17282 (char *) "self", NULL
17283 };
17284
17285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
17286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17288 {
17289 PyThreadState* __tstate = wxPyBeginAllowThreads();
17290 {
17291 wxString const &_result_ref = (arg1)->GetPrinterName();
17292 result = (wxString *) &_result_ref;
17293 }
17294
17295 wxPyEndAllowThreads(__tstate);
17296 if (PyErr_Occurred()) SWIG_fail;
17297 }
17298 {
17299 #if wxUSE_UNICODE
17300 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17301 #else
17302 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17303 #endif
17304 }
17305 return resultobj;
17306 fail:
17307 return NULL;
17308 }
17309
17310
17311 static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
17312 PyObject *resultobj;
17313 wxPrintData *arg1 = (wxPrintData *) 0 ;
17314 bool result;
17315 PyObject * obj0 = 0 ;
17316 char *kwnames[] = {
17317 (char *) "self", NULL
17318 };
17319
17320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
17321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17323 {
17324 PyThreadState* __tstate = wxPyBeginAllowThreads();
17325 result = (bool)(arg1)->GetColour();
17326
17327 wxPyEndAllowThreads(__tstate);
17328 if (PyErr_Occurred()) SWIG_fail;
17329 }
17330 {
17331 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17332 }
17333 return resultobj;
17334 fail:
17335 return NULL;
17336 }
17337
17338
17339 static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
17340 PyObject *resultobj;
17341 wxPrintData *arg1 = (wxPrintData *) 0 ;
17342 int result;
17343 PyObject * obj0 = 0 ;
17344 char *kwnames[] = {
17345 (char *) "self", NULL
17346 };
17347
17348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
17349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17351 {
17352 PyThreadState* __tstate = wxPyBeginAllowThreads();
17353 result = (int)(arg1)->GetDuplex();
17354
17355 wxPyEndAllowThreads(__tstate);
17356 if (PyErr_Occurred()) SWIG_fail;
17357 }
17358 resultobj = SWIG_FromInt((int)result);
17359 return resultobj;
17360 fail:
17361 return NULL;
17362 }
17363
17364
17365 static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
17366 PyObject *resultobj;
17367 wxPrintData *arg1 = (wxPrintData *) 0 ;
17368 int result;
17369 PyObject * obj0 = 0 ;
17370 char *kwnames[] = {
17371 (char *) "self", NULL
17372 };
17373
17374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
17375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17377 {
17378 PyThreadState* __tstate = wxPyBeginAllowThreads();
17379 result = (int)(arg1)->GetPaperId();
17380
17381 wxPyEndAllowThreads(__tstate);
17382 if (PyErr_Occurred()) SWIG_fail;
17383 }
17384 resultobj = SWIG_FromInt((int)result);
17385 return resultobj;
17386 fail:
17387 return NULL;
17388 }
17389
17390
17391 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
17392 PyObject *resultobj;
17393 wxPrintData *arg1 = (wxPrintData *) 0 ;
17394 wxSize *result;
17395 PyObject * obj0 = 0 ;
17396 char *kwnames[] = {
17397 (char *) "self", NULL
17398 };
17399
17400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
17401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17403 {
17404 PyThreadState* __tstate = wxPyBeginAllowThreads();
17405 {
17406 wxSize const &_result_ref = (arg1)->GetPaperSize();
17407 result = (wxSize *) &_result_ref;
17408 }
17409
17410 wxPyEndAllowThreads(__tstate);
17411 if (PyErr_Occurred()) SWIG_fail;
17412 }
17413 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
17414 return resultobj;
17415 fail:
17416 return NULL;
17417 }
17418
17419
17420 static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
17421 PyObject *resultobj;
17422 wxPrintData *arg1 = (wxPrintData *) 0 ;
17423 int result;
17424 PyObject * obj0 = 0 ;
17425 char *kwnames[] = {
17426 (char *) "self", NULL
17427 };
17428
17429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
17430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17432 {
17433 PyThreadState* __tstate = wxPyBeginAllowThreads();
17434 result = (int)(arg1)->GetQuality();
17435
17436 wxPyEndAllowThreads(__tstate);
17437 if (PyErr_Occurred()) SWIG_fail;
17438 }
17439 resultobj = SWIG_FromInt((int)result);
17440 return resultobj;
17441 fail:
17442 return NULL;
17443 }
17444
17445
17446 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
17447 PyObject *resultobj;
17448 wxPrintData *arg1 = (wxPrintData *) 0 ;
17449 int arg2 ;
17450 PyObject * obj0 = 0 ;
17451 PyObject * obj1 = 0 ;
17452 char *kwnames[] = {
17453 (char *) "self",(char *) "v", NULL
17454 };
17455
17456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
17457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17459 arg2 = (int) SWIG_AsInt(obj1);
17460 if (PyErr_Occurred()) SWIG_fail;
17461 {
17462 PyThreadState* __tstate = wxPyBeginAllowThreads();
17463 (arg1)->SetNoCopies(arg2);
17464
17465 wxPyEndAllowThreads(__tstate);
17466 if (PyErr_Occurred()) SWIG_fail;
17467 }
17468 Py_INCREF(Py_None); resultobj = Py_None;
17469 return resultobj;
17470 fail:
17471 return NULL;
17472 }
17473
17474
17475 static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
17476 PyObject *resultobj;
17477 wxPrintData *arg1 = (wxPrintData *) 0 ;
17478 bool arg2 ;
17479 PyObject * obj0 = 0 ;
17480 PyObject * obj1 = 0 ;
17481 char *kwnames[] = {
17482 (char *) "self",(char *) "flag", NULL
17483 };
17484
17485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
17486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17488 arg2 = (bool) SWIG_AsBool(obj1);
17489 if (PyErr_Occurred()) SWIG_fail;
17490 {
17491 PyThreadState* __tstate = wxPyBeginAllowThreads();
17492 (arg1)->SetCollate(arg2);
17493
17494 wxPyEndAllowThreads(__tstate);
17495 if (PyErr_Occurred()) SWIG_fail;
17496 }
17497 Py_INCREF(Py_None); resultobj = Py_None;
17498 return resultobj;
17499 fail:
17500 return NULL;
17501 }
17502
17503
17504 static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
17505 PyObject *resultobj;
17506 wxPrintData *arg1 = (wxPrintData *) 0 ;
17507 int arg2 ;
17508 PyObject * obj0 = 0 ;
17509 PyObject * obj1 = 0 ;
17510 char *kwnames[] = {
17511 (char *) "self",(char *) "orient", NULL
17512 };
17513
17514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
17515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17517 arg2 = (int) SWIG_AsInt(obj1);
17518 if (PyErr_Occurred()) SWIG_fail;
17519 {
17520 PyThreadState* __tstate = wxPyBeginAllowThreads();
17521 (arg1)->SetOrientation(arg2);
17522
17523 wxPyEndAllowThreads(__tstate);
17524 if (PyErr_Occurred()) SWIG_fail;
17525 }
17526 Py_INCREF(Py_None); resultobj = Py_None;
17527 return resultobj;
17528 fail:
17529 return NULL;
17530 }
17531
17532
17533 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
17534 PyObject *resultobj;
17535 wxPrintData *arg1 = (wxPrintData *) 0 ;
17536 wxString *arg2 = 0 ;
17537 bool temp2 = False ;
17538 PyObject * obj0 = 0 ;
17539 PyObject * obj1 = 0 ;
17540 char *kwnames[] = {
17541 (char *) "self",(char *) "name", NULL
17542 };
17543
17544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
17545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17547 {
17548 arg2 = wxString_in_helper(obj1);
17549 if (arg2 == NULL) SWIG_fail;
17550 temp2 = True;
17551 }
17552 {
17553 PyThreadState* __tstate = wxPyBeginAllowThreads();
17554 (arg1)->SetPrinterName((wxString const &)*arg2);
17555
17556 wxPyEndAllowThreads(__tstate);
17557 if (PyErr_Occurred()) SWIG_fail;
17558 }
17559 Py_INCREF(Py_None); resultobj = Py_None;
17560 {
17561 if (temp2)
17562 delete arg2;
17563 }
17564 return resultobj;
17565 fail:
17566 {
17567 if (temp2)
17568 delete arg2;
17569 }
17570 return NULL;
17571 }
17572
17573
17574 static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
17575 PyObject *resultobj;
17576 wxPrintData *arg1 = (wxPrintData *) 0 ;
17577 bool arg2 ;
17578 PyObject * obj0 = 0 ;
17579 PyObject * obj1 = 0 ;
17580 char *kwnames[] = {
17581 (char *) "self",(char *) "colour", NULL
17582 };
17583
17584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
17585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17587 arg2 = (bool) SWIG_AsBool(obj1);
17588 if (PyErr_Occurred()) SWIG_fail;
17589 {
17590 PyThreadState* __tstate = wxPyBeginAllowThreads();
17591 (arg1)->SetColour(arg2);
17592
17593 wxPyEndAllowThreads(__tstate);
17594 if (PyErr_Occurred()) SWIG_fail;
17595 }
17596 Py_INCREF(Py_None); resultobj = Py_None;
17597 return resultobj;
17598 fail:
17599 return NULL;
17600 }
17601
17602
17603 static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
17604 PyObject *resultobj;
17605 wxPrintData *arg1 = (wxPrintData *) 0 ;
17606 int arg2 ;
17607 PyObject * obj0 = 0 ;
17608 PyObject * obj1 = 0 ;
17609 char *kwnames[] = {
17610 (char *) "self",(char *) "duplex", NULL
17611 };
17612
17613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
17614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17616 arg2 = (wxDuplexMode) SWIG_AsInt(obj1);
17617 if (PyErr_Occurred()) SWIG_fail;
17618 {
17619 PyThreadState* __tstate = wxPyBeginAllowThreads();
17620 (arg1)->SetDuplex((wxDuplexMode )arg2);
17621
17622 wxPyEndAllowThreads(__tstate);
17623 if (PyErr_Occurred()) SWIG_fail;
17624 }
17625 Py_INCREF(Py_None); resultobj = Py_None;
17626 return resultobj;
17627 fail:
17628 return NULL;
17629 }
17630
17631
17632 static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
17633 PyObject *resultobj;
17634 wxPrintData *arg1 = (wxPrintData *) 0 ;
17635 int arg2 ;
17636 PyObject * obj0 = 0 ;
17637 PyObject * obj1 = 0 ;
17638 char *kwnames[] = {
17639 (char *) "self",(char *) "sizeId", NULL
17640 };
17641
17642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
17643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17645 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
17646 if (PyErr_Occurred()) SWIG_fail;
17647 {
17648 PyThreadState* __tstate = wxPyBeginAllowThreads();
17649 (arg1)->SetPaperId((wxPaperSize )arg2);
17650
17651 wxPyEndAllowThreads(__tstate);
17652 if (PyErr_Occurred()) SWIG_fail;
17653 }
17654 Py_INCREF(Py_None); resultobj = Py_None;
17655 return resultobj;
17656 fail:
17657 return NULL;
17658 }
17659
17660
17661 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
17662 PyObject *resultobj;
17663 wxPrintData *arg1 = (wxPrintData *) 0 ;
17664 wxSize *arg2 = 0 ;
17665 wxSize temp2 ;
17666 PyObject * obj0 = 0 ;
17667 PyObject * obj1 = 0 ;
17668 char *kwnames[] = {
17669 (char *) "self",(char *) "sz", NULL
17670 };
17671
17672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
17673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17675 {
17676 arg2 = &temp2;
17677 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17678 }
17679 {
17680 PyThreadState* __tstate = wxPyBeginAllowThreads();
17681 (arg1)->SetPaperSize((wxSize const &)*arg2);
17682
17683 wxPyEndAllowThreads(__tstate);
17684 if (PyErr_Occurred()) SWIG_fail;
17685 }
17686 Py_INCREF(Py_None); resultobj = Py_None;
17687 return resultobj;
17688 fail:
17689 return NULL;
17690 }
17691
17692
17693 static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
17694 PyObject *resultobj;
17695 wxPrintData *arg1 = (wxPrintData *) 0 ;
17696 int arg2 ;
17697 PyObject * obj0 = 0 ;
17698 PyObject * obj1 = 0 ;
17699 char *kwnames[] = {
17700 (char *) "self",(char *) "quality", NULL
17701 };
17702
17703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
17704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17706 arg2 = (int) SWIG_AsInt(obj1);
17707 if (PyErr_Occurred()) SWIG_fail;
17708 {
17709 PyThreadState* __tstate = wxPyBeginAllowThreads();
17710 (arg1)->SetQuality(arg2);
17711
17712 wxPyEndAllowThreads(__tstate);
17713 if (PyErr_Occurred()) SWIG_fail;
17714 }
17715 Py_INCREF(Py_None); resultobj = Py_None;
17716 return resultobj;
17717 fail:
17718 return NULL;
17719 }
17720
17721
17722 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
17723 PyObject *resultobj;
17724 wxPrintData *arg1 = (wxPrintData *) 0 ;
17725 wxString *result;
17726 PyObject * obj0 = 0 ;
17727 char *kwnames[] = {
17728 (char *) "self", NULL
17729 };
17730
17731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
17732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17734 {
17735 PyThreadState* __tstate = wxPyBeginAllowThreads();
17736 {
17737 wxString const &_result_ref = (arg1)->GetPrinterCommand();
17738 result = (wxString *) &_result_ref;
17739 }
17740
17741 wxPyEndAllowThreads(__tstate);
17742 if (PyErr_Occurred()) SWIG_fail;
17743 }
17744 {
17745 #if wxUSE_UNICODE
17746 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17747 #else
17748 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17749 #endif
17750 }
17751 return resultobj;
17752 fail:
17753 return NULL;
17754 }
17755
17756
17757 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
17758 PyObject *resultobj;
17759 wxPrintData *arg1 = (wxPrintData *) 0 ;
17760 wxString *result;
17761 PyObject * obj0 = 0 ;
17762 char *kwnames[] = {
17763 (char *) "self", NULL
17764 };
17765
17766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
17767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17769 {
17770 PyThreadState* __tstate = wxPyBeginAllowThreads();
17771 {
17772 wxString const &_result_ref = (arg1)->GetPrinterOptions();
17773 result = (wxString *) &_result_ref;
17774 }
17775
17776 wxPyEndAllowThreads(__tstate);
17777 if (PyErr_Occurred()) SWIG_fail;
17778 }
17779 {
17780 #if wxUSE_UNICODE
17781 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17782 #else
17783 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17784 #endif
17785 }
17786 return resultobj;
17787 fail:
17788 return NULL;
17789 }
17790
17791
17792 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
17793 PyObject *resultobj;
17794 wxPrintData *arg1 = (wxPrintData *) 0 ;
17795 wxString *result;
17796 PyObject * obj0 = 0 ;
17797 char *kwnames[] = {
17798 (char *) "self", NULL
17799 };
17800
17801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
17802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17804 {
17805 PyThreadState* __tstate = wxPyBeginAllowThreads();
17806 {
17807 wxString const &_result_ref = (arg1)->GetPreviewCommand();
17808 result = (wxString *) &_result_ref;
17809 }
17810
17811 wxPyEndAllowThreads(__tstate);
17812 if (PyErr_Occurred()) SWIG_fail;
17813 }
17814 {
17815 #if wxUSE_UNICODE
17816 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17817 #else
17818 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17819 #endif
17820 }
17821 return resultobj;
17822 fail:
17823 return NULL;
17824 }
17825
17826
17827 static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
17828 PyObject *resultobj;
17829 wxPrintData *arg1 = (wxPrintData *) 0 ;
17830 wxString *result;
17831 PyObject * obj0 = 0 ;
17832 char *kwnames[] = {
17833 (char *) "self", NULL
17834 };
17835
17836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
17837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17839 {
17840 PyThreadState* __tstate = wxPyBeginAllowThreads();
17841 {
17842 wxString const &_result_ref = (arg1)->GetFilename();
17843 result = (wxString *) &_result_ref;
17844 }
17845
17846 wxPyEndAllowThreads(__tstate);
17847 if (PyErr_Occurred()) SWIG_fail;
17848 }
17849 {
17850 #if wxUSE_UNICODE
17851 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17852 #else
17853 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17854 #endif
17855 }
17856 return resultobj;
17857 fail:
17858 return NULL;
17859 }
17860
17861
17862 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
17863 PyObject *resultobj;
17864 wxPrintData *arg1 = (wxPrintData *) 0 ;
17865 wxString *result;
17866 PyObject * obj0 = 0 ;
17867 char *kwnames[] = {
17868 (char *) "self", NULL
17869 };
17870
17871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
17872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17874 {
17875 PyThreadState* __tstate = wxPyBeginAllowThreads();
17876 {
17877 wxString const &_result_ref = (arg1)->GetFontMetricPath();
17878 result = (wxString *) &_result_ref;
17879 }
17880
17881 wxPyEndAllowThreads(__tstate);
17882 if (PyErr_Occurred()) SWIG_fail;
17883 }
17884 {
17885 #if wxUSE_UNICODE
17886 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17887 #else
17888 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17889 #endif
17890 }
17891 return resultobj;
17892 fail:
17893 return NULL;
17894 }
17895
17896
17897 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
17898 PyObject *resultobj;
17899 wxPrintData *arg1 = (wxPrintData *) 0 ;
17900 double result;
17901 PyObject * obj0 = 0 ;
17902 char *kwnames[] = {
17903 (char *) "self", NULL
17904 };
17905
17906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
17907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17909 {
17910 PyThreadState* __tstate = wxPyBeginAllowThreads();
17911 result = (double)(arg1)->GetPrinterScaleX();
17912
17913 wxPyEndAllowThreads(__tstate);
17914 if (PyErr_Occurred()) SWIG_fail;
17915 }
17916 resultobj = SWIG_FromDouble((double)result);
17917 return resultobj;
17918 fail:
17919 return NULL;
17920 }
17921
17922
17923 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
17924 PyObject *resultobj;
17925 wxPrintData *arg1 = (wxPrintData *) 0 ;
17926 double result;
17927 PyObject * obj0 = 0 ;
17928 char *kwnames[] = {
17929 (char *) "self", NULL
17930 };
17931
17932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
17933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17935 {
17936 PyThreadState* __tstate = wxPyBeginAllowThreads();
17937 result = (double)(arg1)->GetPrinterScaleY();
17938
17939 wxPyEndAllowThreads(__tstate);
17940 if (PyErr_Occurred()) SWIG_fail;
17941 }
17942 resultobj = SWIG_FromDouble((double)result);
17943 return resultobj;
17944 fail:
17945 return NULL;
17946 }
17947
17948
17949 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
17950 PyObject *resultobj;
17951 wxPrintData *arg1 = (wxPrintData *) 0 ;
17952 long result;
17953 PyObject * obj0 = 0 ;
17954 char *kwnames[] = {
17955 (char *) "self", NULL
17956 };
17957
17958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
17959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17961 {
17962 PyThreadState* __tstate = wxPyBeginAllowThreads();
17963 result = (long)(arg1)->GetPrinterTranslateX();
17964
17965 wxPyEndAllowThreads(__tstate);
17966 if (PyErr_Occurred()) SWIG_fail;
17967 }
17968 resultobj = SWIG_FromLong((long)result);
17969 return resultobj;
17970 fail:
17971 return NULL;
17972 }
17973
17974
17975 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
17976 PyObject *resultobj;
17977 wxPrintData *arg1 = (wxPrintData *) 0 ;
17978 long result;
17979 PyObject * obj0 = 0 ;
17980 char *kwnames[] = {
17981 (char *) "self", NULL
17982 };
17983
17984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
17985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17987 {
17988 PyThreadState* __tstate = wxPyBeginAllowThreads();
17989 result = (long)(arg1)->GetPrinterTranslateY();
17990
17991 wxPyEndAllowThreads(__tstate);
17992 if (PyErr_Occurred()) SWIG_fail;
17993 }
17994 resultobj = SWIG_FromLong((long)result);
17995 return resultobj;
17996 fail:
17997 return NULL;
17998 }
17999
18000
18001 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
18002 PyObject *resultobj;
18003 wxPrintData *arg1 = (wxPrintData *) 0 ;
18004 int result;
18005 PyObject * obj0 = 0 ;
18006 char *kwnames[] = {
18007 (char *) "self", NULL
18008 };
18009
18010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
18011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18013 {
18014 PyThreadState* __tstate = wxPyBeginAllowThreads();
18015 result = (int)(arg1)->GetPrintMode();
18016
18017 wxPyEndAllowThreads(__tstate);
18018 if (PyErr_Occurred()) SWIG_fail;
18019 }
18020 resultobj = SWIG_FromInt((int)result);
18021 return resultobj;
18022 fail:
18023 return NULL;
18024 }
18025
18026
18027 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
18028 PyObject *resultobj;
18029 wxPrintData *arg1 = (wxPrintData *) 0 ;
18030 wxString *arg2 = 0 ;
18031 bool temp2 = False ;
18032 PyObject * obj0 = 0 ;
18033 PyObject * obj1 = 0 ;
18034 char *kwnames[] = {
18035 (char *) "self",(char *) "command", NULL
18036 };
18037
18038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
18039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18041 {
18042 arg2 = wxString_in_helper(obj1);
18043 if (arg2 == NULL) SWIG_fail;
18044 temp2 = True;
18045 }
18046 {
18047 PyThreadState* __tstate = wxPyBeginAllowThreads();
18048 (arg1)->SetPrinterCommand((wxString const &)*arg2);
18049
18050 wxPyEndAllowThreads(__tstate);
18051 if (PyErr_Occurred()) SWIG_fail;
18052 }
18053 Py_INCREF(Py_None); resultobj = Py_None;
18054 {
18055 if (temp2)
18056 delete arg2;
18057 }
18058 return resultobj;
18059 fail:
18060 {
18061 if (temp2)
18062 delete arg2;
18063 }
18064 return NULL;
18065 }
18066
18067
18068 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
18069 PyObject *resultobj;
18070 wxPrintData *arg1 = (wxPrintData *) 0 ;
18071 wxString *arg2 = 0 ;
18072 bool temp2 = False ;
18073 PyObject * obj0 = 0 ;
18074 PyObject * obj1 = 0 ;
18075 char *kwnames[] = {
18076 (char *) "self",(char *) "options", NULL
18077 };
18078
18079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
18080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18082 {
18083 arg2 = wxString_in_helper(obj1);
18084 if (arg2 == NULL) SWIG_fail;
18085 temp2 = True;
18086 }
18087 {
18088 PyThreadState* __tstate = wxPyBeginAllowThreads();
18089 (arg1)->SetPrinterOptions((wxString const &)*arg2);
18090
18091 wxPyEndAllowThreads(__tstate);
18092 if (PyErr_Occurred()) SWIG_fail;
18093 }
18094 Py_INCREF(Py_None); resultobj = Py_None;
18095 {
18096 if (temp2)
18097 delete arg2;
18098 }
18099 return resultobj;
18100 fail:
18101 {
18102 if (temp2)
18103 delete arg2;
18104 }
18105 return NULL;
18106 }
18107
18108
18109 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
18110 PyObject *resultobj;
18111 wxPrintData *arg1 = (wxPrintData *) 0 ;
18112 wxString *arg2 = 0 ;
18113 bool temp2 = False ;
18114 PyObject * obj0 = 0 ;
18115 PyObject * obj1 = 0 ;
18116 char *kwnames[] = {
18117 (char *) "self",(char *) "command", NULL
18118 };
18119
18120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
18121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18123 {
18124 arg2 = wxString_in_helper(obj1);
18125 if (arg2 == NULL) SWIG_fail;
18126 temp2 = True;
18127 }
18128 {
18129 PyThreadState* __tstate = wxPyBeginAllowThreads();
18130 (arg1)->SetPreviewCommand((wxString const &)*arg2);
18131
18132 wxPyEndAllowThreads(__tstate);
18133 if (PyErr_Occurred()) SWIG_fail;
18134 }
18135 Py_INCREF(Py_None); resultobj = Py_None;
18136 {
18137 if (temp2)
18138 delete arg2;
18139 }
18140 return resultobj;
18141 fail:
18142 {
18143 if (temp2)
18144 delete arg2;
18145 }
18146 return NULL;
18147 }
18148
18149
18150 static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
18151 PyObject *resultobj;
18152 wxPrintData *arg1 = (wxPrintData *) 0 ;
18153 wxString *arg2 = 0 ;
18154 bool temp2 = False ;
18155 PyObject * obj0 = 0 ;
18156 PyObject * obj1 = 0 ;
18157 char *kwnames[] = {
18158 (char *) "self",(char *) "filename", NULL
18159 };
18160
18161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
18162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18164 {
18165 arg2 = wxString_in_helper(obj1);
18166 if (arg2 == NULL) SWIG_fail;
18167 temp2 = True;
18168 }
18169 {
18170 PyThreadState* __tstate = wxPyBeginAllowThreads();
18171 (arg1)->SetFilename((wxString const &)*arg2);
18172
18173 wxPyEndAllowThreads(__tstate);
18174 if (PyErr_Occurred()) SWIG_fail;
18175 }
18176 Py_INCREF(Py_None); resultobj = Py_None;
18177 {
18178 if (temp2)
18179 delete arg2;
18180 }
18181 return resultobj;
18182 fail:
18183 {
18184 if (temp2)
18185 delete arg2;
18186 }
18187 return NULL;
18188 }
18189
18190
18191 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
18192 PyObject *resultobj;
18193 wxPrintData *arg1 = (wxPrintData *) 0 ;
18194 wxString *arg2 = 0 ;
18195 bool temp2 = False ;
18196 PyObject * obj0 = 0 ;
18197 PyObject * obj1 = 0 ;
18198 char *kwnames[] = {
18199 (char *) "self",(char *) "path", NULL
18200 };
18201
18202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
18203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18205 {
18206 arg2 = wxString_in_helper(obj1);
18207 if (arg2 == NULL) SWIG_fail;
18208 temp2 = True;
18209 }
18210 {
18211 PyThreadState* __tstate = wxPyBeginAllowThreads();
18212 (arg1)->SetFontMetricPath((wxString const &)*arg2);
18213
18214 wxPyEndAllowThreads(__tstate);
18215 if (PyErr_Occurred()) SWIG_fail;
18216 }
18217 Py_INCREF(Py_None); resultobj = Py_None;
18218 {
18219 if (temp2)
18220 delete arg2;
18221 }
18222 return resultobj;
18223 fail:
18224 {
18225 if (temp2)
18226 delete arg2;
18227 }
18228 return NULL;
18229 }
18230
18231
18232 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
18233 PyObject *resultobj;
18234 wxPrintData *arg1 = (wxPrintData *) 0 ;
18235 double arg2 ;
18236 PyObject * obj0 = 0 ;
18237 PyObject * obj1 = 0 ;
18238 char *kwnames[] = {
18239 (char *) "self",(char *) "x", NULL
18240 };
18241
18242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
18243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18245 arg2 = (double) SWIG_AsDouble(obj1);
18246 if (PyErr_Occurred()) SWIG_fail;
18247 {
18248 PyThreadState* __tstate = wxPyBeginAllowThreads();
18249 (arg1)->SetPrinterScaleX(arg2);
18250
18251 wxPyEndAllowThreads(__tstate);
18252 if (PyErr_Occurred()) SWIG_fail;
18253 }
18254 Py_INCREF(Py_None); resultobj = Py_None;
18255 return resultobj;
18256 fail:
18257 return NULL;
18258 }
18259
18260
18261 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
18262 PyObject *resultobj;
18263 wxPrintData *arg1 = (wxPrintData *) 0 ;
18264 double arg2 ;
18265 PyObject * obj0 = 0 ;
18266 PyObject * obj1 = 0 ;
18267 char *kwnames[] = {
18268 (char *) "self",(char *) "y", NULL
18269 };
18270
18271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
18272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18274 arg2 = (double) SWIG_AsDouble(obj1);
18275 if (PyErr_Occurred()) SWIG_fail;
18276 {
18277 PyThreadState* __tstate = wxPyBeginAllowThreads();
18278 (arg1)->SetPrinterScaleY(arg2);
18279
18280 wxPyEndAllowThreads(__tstate);
18281 if (PyErr_Occurred()) SWIG_fail;
18282 }
18283 Py_INCREF(Py_None); resultobj = Py_None;
18284 return resultobj;
18285 fail:
18286 return NULL;
18287 }
18288
18289
18290 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) {
18291 PyObject *resultobj;
18292 wxPrintData *arg1 = (wxPrintData *) 0 ;
18293 double arg2 ;
18294 double arg3 ;
18295 PyObject * obj0 = 0 ;
18296 PyObject * obj1 = 0 ;
18297 PyObject * obj2 = 0 ;
18298 char *kwnames[] = {
18299 (char *) "self",(char *) "x",(char *) "y", NULL
18300 };
18301
18302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
18303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18305 arg2 = (double) SWIG_AsDouble(obj1);
18306 if (PyErr_Occurred()) SWIG_fail;
18307 arg3 = (double) SWIG_AsDouble(obj2);
18308 if (PyErr_Occurred()) SWIG_fail;
18309 {
18310 PyThreadState* __tstate = wxPyBeginAllowThreads();
18311 (arg1)->SetPrinterScaling(arg2,arg3);
18312
18313 wxPyEndAllowThreads(__tstate);
18314 if (PyErr_Occurred()) SWIG_fail;
18315 }
18316 Py_INCREF(Py_None); resultobj = Py_None;
18317 return resultobj;
18318 fail:
18319 return NULL;
18320 }
18321
18322
18323 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
18324 PyObject *resultobj;
18325 wxPrintData *arg1 = (wxPrintData *) 0 ;
18326 long arg2 ;
18327 PyObject * obj0 = 0 ;
18328 PyObject * obj1 = 0 ;
18329 char *kwnames[] = {
18330 (char *) "self",(char *) "x", NULL
18331 };
18332
18333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
18334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18336 arg2 = (long) SWIG_AsLong(obj1);
18337 if (PyErr_Occurred()) SWIG_fail;
18338 {
18339 PyThreadState* __tstate = wxPyBeginAllowThreads();
18340 (arg1)->SetPrinterTranslateX(arg2);
18341
18342 wxPyEndAllowThreads(__tstate);
18343 if (PyErr_Occurred()) SWIG_fail;
18344 }
18345 Py_INCREF(Py_None); resultobj = Py_None;
18346 return resultobj;
18347 fail:
18348 return NULL;
18349 }
18350
18351
18352 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
18353 PyObject *resultobj;
18354 wxPrintData *arg1 = (wxPrintData *) 0 ;
18355 long arg2 ;
18356 PyObject * obj0 = 0 ;
18357 PyObject * obj1 = 0 ;
18358 char *kwnames[] = {
18359 (char *) "self",(char *) "y", NULL
18360 };
18361
18362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
18363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18365 arg2 = (long) SWIG_AsLong(obj1);
18366 if (PyErr_Occurred()) SWIG_fail;
18367 {
18368 PyThreadState* __tstate = wxPyBeginAllowThreads();
18369 (arg1)->SetPrinterTranslateY(arg2);
18370
18371 wxPyEndAllowThreads(__tstate);
18372 if (PyErr_Occurred()) SWIG_fail;
18373 }
18374 Py_INCREF(Py_None); resultobj = Py_None;
18375 return resultobj;
18376 fail:
18377 return NULL;
18378 }
18379
18380
18381 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) {
18382 PyObject *resultobj;
18383 wxPrintData *arg1 = (wxPrintData *) 0 ;
18384 long arg2 ;
18385 long arg3 ;
18386 PyObject * obj0 = 0 ;
18387 PyObject * obj1 = 0 ;
18388 PyObject * obj2 = 0 ;
18389 char *kwnames[] = {
18390 (char *) "self",(char *) "x",(char *) "y", NULL
18391 };
18392
18393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
18394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18396 arg2 = (long) SWIG_AsLong(obj1);
18397 if (PyErr_Occurred()) SWIG_fail;
18398 arg3 = (long) SWIG_AsLong(obj2);
18399 if (PyErr_Occurred()) SWIG_fail;
18400 {
18401 PyThreadState* __tstate = wxPyBeginAllowThreads();
18402 (arg1)->SetPrinterTranslation(arg2,arg3);
18403
18404 wxPyEndAllowThreads(__tstate);
18405 if (PyErr_Occurred()) SWIG_fail;
18406 }
18407 Py_INCREF(Py_None); resultobj = Py_None;
18408 return resultobj;
18409 fail:
18410 return NULL;
18411 }
18412
18413
18414 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
18415 PyObject *resultobj;
18416 wxPrintData *arg1 = (wxPrintData *) 0 ;
18417 int arg2 ;
18418 PyObject * obj0 = 0 ;
18419 PyObject * obj1 = 0 ;
18420 char *kwnames[] = {
18421 (char *) "self",(char *) "printMode", NULL
18422 };
18423
18424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
18425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18427 arg2 = (wxPrintMode) SWIG_AsInt(obj1);
18428 if (PyErr_Occurred()) SWIG_fail;
18429 {
18430 PyThreadState* __tstate = wxPyBeginAllowThreads();
18431 (arg1)->SetPrintMode((wxPrintMode )arg2);
18432
18433 wxPyEndAllowThreads(__tstate);
18434 if (PyErr_Occurred()) SWIG_fail;
18435 }
18436 Py_INCREF(Py_None); resultobj = Py_None;
18437 return resultobj;
18438 fail:
18439 return NULL;
18440 }
18441
18442
18443 static PyObject *_wrap_PrintData_GetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
18444 PyObject *resultobj;
18445 wxPrintData *arg1 = (wxPrintData *) 0 ;
18446 wxOutputStream *result;
18447 PyObject * obj0 = 0 ;
18448 char *kwnames[] = {
18449 (char *) "self", NULL
18450 };
18451
18452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
18453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18455 {
18456 PyThreadState* __tstate = wxPyBeginAllowThreads();
18457 result = (wxOutputStream *)(arg1)->GetOutputStream();
18458
18459 wxPyEndAllowThreads(__tstate);
18460 if (PyErr_Occurred()) SWIG_fail;
18461 }
18462 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
18463 return resultobj;
18464 fail:
18465 return NULL;
18466 }
18467
18468
18469 static PyObject *_wrap_PrintData_SetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
18470 PyObject *resultobj;
18471 wxPrintData *arg1 = (wxPrintData *) 0 ;
18472 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
18473 PyObject * obj0 = 0 ;
18474 PyObject * obj1 = 0 ;
18475 char *kwnames[] = {
18476 (char *) "self",(char *) "outputstream", NULL
18477 };
18478
18479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
18480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18482 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
18483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18484 {
18485 PyThreadState* __tstate = wxPyBeginAllowThreads();
18486 (arg1)->SetOutputStream(arg2);
18487
18488 wxPyEndAllowThreads(__tstate);
18489 if (PyErr_Occurred()) SWIG_fail;
18490 }
18491 Py_INCREF(Py_None); resultobj = Py_None;
18492 return resultobj;
18493 fail:
18494 return NULL;
18495 }
18496
18497
18498 static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
18499 PyObject *obj;
18500 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18501 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
18502 Py_INCREF(obj);
18503 return Py_BuildValue((char *)"");
18504 }
18505 static PyObject *_wrap_new_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
18506 PyObject *resultobj;
18507 wxPageSetupDialogData *result;
18508 char *kwnames[] = {
18509 NULL
18510 };
18511
18512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
18513 {
18514 PyThreadState* __tstate = wxPyBeginAllowThreads();
18515 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
18516
18517 wxPyEndAllowThreads(__tstate);
18518 if (PyErr_Occurred()) SWIG_fail;
18519 }
18520 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
18521 return resultobj;
18522 fail:
18523 return NULL;
18524 }
18525
18526
18527 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
18528 PyObject *resultobj;
18529 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18530 PyObject * obj0 = 0 ;
18531 char *kwnames[] = {
18532 (char *) "self", NULL
18533 };
18534
18535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
18536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18538 {
18539 PyThreadState* __tstate = wxPyBeginAllowThreads();
18540 delete arg1;
18541
18542 wxPyEndAllowThreads(__tstate);
18543 if (PyErr_Occurred()) SWIG_fail;
18544 }
18545 Py_INCREF(Py_None); resultobj = Py_None;
18546 return resultobj;
18547 fail:
18548 return NULL;
18549 }
18550
18551
18552 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18553 PyObject *resultobj;
18554 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18555 bool arg2 ;
18556 PyObject * obj0 = 0 ;
18557 PyObject * obj1 = 0 ;
18558 char *kwnames[] = {
18559 (char *) "self",(char *) "flag", NULL
18560 };
18561
18562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
18563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18565 arg2 = (bool) SWIG_AsBool(obj1);
18566 if (PyErr_Occurred()) SWIG_fail;
18567 {
18568 PyThreadState* __tstate = wxPyBeginAllowThreads();
18569 (arg1)->EnableHelp(arg2);
18570
18571 wxPyEndAllowThreads(__tstate);
18572 if (PyErr_Occurred()) SWIG_fail;
18573 }
18574 Py_INCREF(Py_None); resultobj = Py_None;
18575 return resultobj;
18576 fail:
18577 return NULL;
18578 }
18579
18580
18581 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
18582 PyObject *resultobj;
18583 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18584 bool arg2 ;
18585 PyObject * obj0 = 0 ;
18586 PyObject * obj1 = 0 ;
18587 char *kwnames[] = {
18588 (char *) "self",(char *) "flag", NULL
18589 };
18590
18591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
18592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18594 arg2 = (bool) SWIG_AsBool(obj1);
18595 if (PyErr_Occurred()) SWIG_fail;
18596 {
18597 PyThreadState* __tstate = wxPyBeginAllowThreads();
18598 (arg1)->EnableMargins(arg2);
18599
18600 wxPyEndAllowThreads(__tstate);
18601 if (PyErr_Occurred()) SWIG_fail;
18602 }
18603 Py_INCREF(Py_None); resultobj = Py_None;
18604 return resultobj;
18605 fail:
18606 return NULL;
18607 }
18608
18609
18610 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
18611 PyObject *resultobj;
18612 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18613 bool arg2 ;
18614 PyObject * obj0 = 0 ;
18615 PyObject * obj1 = 0 ;
18616 char *kwnames[] = {
18617 (char *) "self",(char *) "flag", NULL
18618 };
18619
18620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
18621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18623 arg2 = (bool) SWIG_AsBool(obj1);
18624 if (PyErr_Occurred()) SWIG_fail;
18625 {
18626 PyThreadState* __tstate = wxPyBeginAllowThreads();
18627 (arg1)->EnableOrientation(arg2);
18628
18629 wxPyEndAllowThreads(__tstate);
18630 if (PyErr_Occurred()) SWIG_fail;
18631 }
18632 Py_INCREF(Py_None); resultobj = Py_None;
18633 return resultobj;
18634 fail:
18635 return NULL;
18636 }
18637
18638
18639 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
18640 PyObject *resultobj;
18641 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18642 bool arg2 ;
18643 PyObject * obj0 = 0 ;
18644 PyObject * obj1 = 0 ;
18645 char *kwnames[] = {
18646 (char *) "self",(char *) "flag", NULL
18647 };
18648
18649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
18650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18652 arg2 = (bool) SWIG_AsBool(obj1);
18653 if (PyErr_Occurred()) SWIG_fail;
18654 {
18655 PyThreadState* __tstate = wxPyBeginAllowThreads();
18656 (arg1)->EnablePaper(arg2);
18657
18658 wxPyEndAllowThreads(__tstate);
18659 if (PyErr_Occurred()) SWIG_fail;
18660 }
18661 Py_INCREF(Py_None); resultobj = Py_None;
18662 return resultobj;
18663 fail:
18664 return NULL;
18665 }
18666
18667
18668 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
18669 PyObject *resultobj;
18670 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18671 bool arg2 ;
18672 PyObject * obj0 = 0 ;
18673 PyObject * obj1 = 0 ;
18674 char *kwnames[] = {
18675 (char *) "self",(char *) "flag", NULL
18676 };
18677
18678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
18679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18681 arg2 = (bool) SWIG_AsBool(obj1);
18682 if (PyErr_Occurred()) SWIG_fail;
18683 {
18684 PyThreadState* __tstate = wxPyBeginAllowThreads();
18685 (arg1)->EnablePrinter(arg2);
18686
18687 wxPyEndAllowThreads(__tstate);
18688 if (PyErr_Occurred()) SWIG_fail;
18689 }
18690 Py_INCREF(Py_None); resultobj = Py_None;
18691 return resultobj;
18692 fail:
18693 return NULL;
18694 }
18695
18696
18697 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
18698 PyObject *resultobj;
18699 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18700 bool result;
18701 PyObject * obj0 = 0 ;
18702 char *kwnames[] = {
18703 (char *) "self", NULL
18704 };
18705
18706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
18707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18709 {
18710 PyThreadState* __tstate = wxPyBeginAllowThreads();
18711 result = (bool)(arg1)->GetDefaultMinMargins();
18712
18713 wxPyEndAllowThreads(__tstate);
18714 if (PyErr_Occurred()) SWIG_fail;
18715 }
18716 {
18717 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18718 }
18719 return resultobj;
18720 fail:
18721 return NULL;
18722 }
18723
18724
18725 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
18726 PyObject *resultobj;
18727 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18728 bool result;
18729 PyObject * obj0 = 0 ;
18730 char *kwnames[] = {
18731 (char *) "self", NULL
18732 };
18733
18734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
18735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18737 {
18738 PyThreadState* __tstate = wxPyBeginAllowThreads();
18739 result = (bool)(arg1)->GetEnableMargins();
18740
18741 wxPyEndAllowThreads(__tstate);
18742 if (PyErr_Occurred()) SWIG_fail;
18743 }
18744 {
18745 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18746 }
18747 return resultobj;
18748 fail:
18749 return NULL;
18750 }
18751
18752
18753 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
18754 PyObject *resultobj;
18755 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18756 bool result;
18757 PyObject * obj0 = 0 ;
18758 char *kwnames[] = {
18759 (char *) "self", NULL
18760 };
18761
18762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
18763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18765 {
18766 PyThreadState* __tstate = wxPyBeginAllowThreads();
18767 result = (bool)(arg1)->GetEnableOrientation();
18768
18769 wxPyEndAllowThreads(__tstate);
18770 if (PyErr_Occurred()) SWIG_fail;
18771 }
18772 {
18773 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18774 }
18775 return resultobj;
18776 fail:
18777 return NULL;
18778 }
18779
18780
18781 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
18782 PyObject *resultobj;
18783 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18784 bool result;
18785 PyObject * obj0 = 0 ;
18786 char *kwnames[] = {
18787 (char *) "self", NULL
18788 };
18789
18790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
18791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18793 {
18794 PyThreadState* __tstate = wxPyBeginAllowThreads();
18795 result = (bool)(arg1)->GetEnablePaper();
18796
18797 wxPyEndAllowThreads(__tstate);
18798 if (PyErr_Occurred()) SWIG_fail;
18799 }
18800 {
18801 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18802 }
18803 return resultobj;
18804 fail:
18805 return NULL;
18806 }
18807
18808
18809 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
18810 PyObject *resultobj;
18811 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18812 bool result;
18813 PyObject * obj0 = 0 ;
18814 char *kwnames[] = {
18815 (char *) "self", NULL
18816 };
18817
18818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
18819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18821 {
18822 PyThreadState* __tstate = wxPyBeginAllowThreads();
18823 result = (bool)(arg1)->GetEnablePrinter();
18824
18825 wxPyEndAllowThreads(__tstate);
18826 if (PyErr_Occurred()) SWIG_fail;
18827 }
18828 {
18829 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18830 }
18831 return resultobj;
18832 fail:
18833 return NULL;
18834 }
18835
18836
18837 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18838 PyObject *resultobj;
18839 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18840 bool result;
18841 PyObject * obj0 = 0 ;
18842 char *kwnames[] = {
18843 (char *) "self", NULL
18844 };
18845
18846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
18847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18849 {
18850 PyThreadState* __tstate = wxPyBeginAllowThreads();
18851 result = (bool)(arg1)->GetEnableHelp();
18852
18853 wxPyEndAllowThreads(__tstate);
18854 if (PyErr_Occurred()) SWIG_fail;
18855 }
18856 {
18857 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18858 }
18859 return resultobj;
18860 fail:
18861 return NULL;
18862 }
18863
18864
18865 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
18866 PyObject *resultobj;
18867 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18868 bool result;
18869 PyObject * obj0 = 0 ;
18870 char *kwnames[] = {
18871 (char *) "self", NULL
18872 };
18873
18874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
18875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18877 {
18878 PyThreadState* __tstate = wxPyBeginAllowThreads();
18879 result = (bool)(arg1)->GetDefaultInfo();
18880
18881 wxPyEndAllowThreads(__tstate);
18882 if (PyErr_Occurred()) SWIG_fail;
18883 }
18884 {
18885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18886 }
18887 return resultobj;
18888 fail:
18889 return NULL;
18890 }
18891
18892
18893 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
18894 PyObject *resultobj;
18895 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18896 wxPoint result;
18897 PyObject * obj0 = 0 ;
18898 char *kwnames[] = {
18899 (char *) "self", NULL
18900 };
18901
18902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
18903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18905 {
18906 PyThreadState* __tstate = wxPyBeginAllowThreads();
18907 result = (arg1)->GetMarginTopLeft();
18908
18909 wxPyEndAllowThreads(__tstate);
18910 if (PyErr_Occurred()) SWIG_fail;
18911 }
18912 {
18913 wxPoint * resultptr;
18914 resultptr = new wxPoint((wxPoint &) result);
18915 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
18916 }
18917 return resultobj;
18918 fail:
18919 return NULL;
18920 }
18921
18922
18923 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
18924 PyObject *resultobj;
18925 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18926 wxPoint result;
18927 PyObject * obj0 = 0 ;
18928 char *kwnames[] = {
18929 (char *) "self", NULL
18930 };
18931
18932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
18933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18935 {
18936 PyThreadState* __tstate = wxPyBeginAllowThreads();
18937 result = (arg1)->GetMarginBottomRight();
18938
18939 wxPyEndAllowThreads(__tstate);
18940 if (PyErr_Occurred()) SWIG_fail;
18941 }
18942 {
18943 wxPoint * resultptr;
18944 resultptr = new wxPoint((wxPoint &) result);
18945 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
18946 }
18947 return resultobj;
18948 fail:
18949 return NULL;
18950 }
18951
18952
18953 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
18954 PyObject *resultobj;
18955 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18956 wxPoint result;
18957 PyObject * obj0 = 0 ;
18958 char *kwnames[] = {
18959 (char *) "self", NULL
18960 };
18961
18962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
18963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18965 {
18966 PyThreadState* __tstate = wxPyBeginAllowThreads();
18967 result = (arg1)->GetMinMarginTopLeft();
18968
18969 wxPyEndAllowThreads(__tstate);
18970 if (PyErr_Occurred()) SWIG_fail;
18971 }
18972 {
18973 wxPoint * resultptr;
18974 resultptr = new wxPoint((wxPoint &) result);
18975 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
18976 }
18977 return resultobj;
18978 fail:
18979 return NULL;
18980 }
18981
18982
18983 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
18984 PyObject *resultobj;
18985 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18986 wxPoint result;
18987 PyObject * obj0 = 0 ;
18988 char *kwnames[] = {
18989 (char *) "self", NULL
18990 };
18991
18992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
18993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18995 {
18996 PyThreadState* __tstate = wxPyBeginAllowThreads();
18997 result = (arg1)->GetMinMarginBottomRight();
18998
18999 wxPyEndAllowThreads(__tstate);
19000 if (PyErr_Occurred()) SWIG_fail;
19001 }
19002 {
19003 wxPoint * resultptr;
19004 resultptr = new wxPoint((wxPoint &) result);
19005 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19006 }
19007 return resultobj;
19008 fail:
19009 return NULL;
19010 }
19011
19012
19013 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
19014 PyObject *resultobj;
19015 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19016 int result;
19017 PyObject * obj0 = 0 ;
19018 char *kwnames[] = {
19019 (char *) "self", NULL
19020 };
19021
19022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
19023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19025 {
19026 PyThreadState* __tstate = wxPyBeginAllowThreads();
19027 result = (int)(arg1)->GetPaperId();
19028
19029 wxPyEndAllowThreads(__tstate);
19030 if (PyErr_Occurred()) SWIG_fail;
19031 }
19032 resultobj = SWIG_FromInt((int)result);
19033 return resultobj;
19034 fail:
19035 return NULL;
19036 }
19037
19038
19039 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
19040 PyObject *resultobj;
19041 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19042 wxSize result;
19043 PyObject * obj0 = 0 ;
19044 char *kwnames[] = {
19045 (char *) "self", NULL
19046 };
19047
19048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
19049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19051 {
19052 PyThreadState* __tstate = wxPyBeginAllowThreads();
19053 result = (arg1)->GetPaperSize();
19054
19055 wxPyEndAllowThreads(__tstate);
19056 if (PyErr_Occurred()) SWIG_fail;
19057 }
19058 {
19059 wxSize * resultptr;
19060 resultptr = new wxSize((wxSize &) result);
19061 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19062 }
19063 return resultobj;
19064 fail:
19065 return NULL;
19066 }
19067
19068
19069 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
19070 PyObject *resultobj;
19071 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19072 wxPrintData *result;
19073 PyObject * obj0 = 0 ;
19074 char *kwnames[] = {
19075 (char *) "self", NULL
19076 };
19077
19078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
19079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19081 {
19082 PyThreadState* __tstate = wxPyBeginAllowThreads();
19083 {
19084 wxPrintData &_result_ref = (arg1)->GetPrintData();
19085 result = (wxPrintData *) &_result_ref;
19086 }
19087
19088 wxPyEndAllowThreads(__tstate);
19089 if (PyErr_Occurred()) SWIG_fail;
19090 }
19091 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
19092 return resultobj;
19093 fail:
19094 return NULL;
19095 }
19096
19097
19098 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
19099 PyObject *resultobj;
19100 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19101 bool result;
19102 PyObject * obj0 = 0 ;
19103 char *kwnames[] = {
19104 (char *) "self", NULL
19105 };
19106
19107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
19108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19110 {
19111 PyThreadState* __tstate = wxPyBeginAllowThreads();
19112 result = (bool)(arg1)->Ok();
19113
19114 wxPyEndAllowThreads(__tstate);
19115 if (PyErr_Occurred()) SWIG_fail;
19116 }
19117 {
19118 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19119 }
19120 return resultobj;
19121 fail:
19122 return NULL;
19123 }
19124
19125
19126 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
19127 PyObject *resultobj;
19128 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19129 bool arg2 ;
19130 PyObject * obj0 = 0 ;
19131 PyObject * obj1 = 0 ;
19132 char *kwnames[] = {
19133 (char *) "self",(char *) "flag", NULL
19134 };
19135
19136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
19137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19139 arg2 = (bool) SWIG_AsBool(obj1);
19140 if (PyErr_Occurred()) SWIG_fail;
19141 {
19142 PyThreadState* __tstate = wxPyBeginAllowThreads();
19143 (arg1)->SetDefaultInfo(arg2);
19144
19145 wxPyEndAllowThreads(__tstate);
19146 if (PyErr_Occurred()) SWIG_fail;
19147 }
19148 Py_INCREF(Py_None); resultobj = Py_None;
19149 return resultobj;
19150 fail:
19151 return NULL;
19152 }
19153
19154
19155 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
19156 PyObject *resultobj;
19157 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19158 bool arg2 ;
19159 PyObject * obj0 = 0 ;
19160 PyObject * obj1 = 0 ;
19161 char *kwnames[] = {
19162 (char *) "self",(char *) "flag", NULL
19163 };
19164
19165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
19166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19168 arg2 = (bool) SWIG_AsBool(obj1);
19169 if (PyErr_Occurred()) SWIG_fail;
19170 {
19171 PyThreadState* __tstate = wxPyBeginAllowThreads();
19172 (arg1)->SetDefaultMinMargins(arg2);
19173
19174 wxPyEndAllowThreads(__tstate);
19175 if (PyErr_Occurred()) SWIG_fail;
19176 }
19177 Py_INCREF(Py_None); resultobj = Py_None;
19178 return resultobj;
19179 fail:
19180 return NULL;
19181 }
19182
19183
19184 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
19185 PyObject *resultobj;
19186 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19187 wxPoint *arg2 = 0 ;
19188 wxPoint temp2 ;
19189 PyObject * obj0 = 0 ;
19190 PyObject * obj1 = 0 ;
19191 char *kwnames[] = {
19192 (char *) "self",(char *) "pt", NULL
19193 };
19194
19195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
19196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19198 {
19199 arg2 = &temp2;
19200 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19201 }
19202 {
19203 PyThreadState* __tstate = wxPyBeginAllowThreads();
19204 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
19205
19206 wxPyEndAllowThreads(__tstate);
19207 if (PyErr_Occurred()) SWIG_fail;
19208 }
19209 Py_INCREF(Py_None); resultobj = Py_None;
19210 return resultobj;
19211 fail:
19212 return NULL;
19213 }
19214
19215
19216 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
19217 PyObject *resultobj;
19218 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19219 wxPoint *arg2 = 0 ;
19220 wxPoint temp2 ;
19221 PyObject * obj0 = 0 ;
19222 PyObject * obj1 = 0 ;
19223 char *kwnames[] = {
19224 (char *) "self",(char *) "pt", NULL
19225 };
19226
19227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
19228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19230 {
19231 arg2 = &temp2;
19232 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19233 }
19234 {
19235 PyThreadState* __tstate = wxPyBeginAllowThreads();
19236 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
19237
19238 wxPyEndAllowThreads(__tstate);
19239 if (PyErr_Occurred()) SWIG_fail;
19240 }
19241 Py_INCREF(Py_None); resultobj = Py_None;
19242 return resultobj;
19243 fail:
19244 return NULL;
19245 }
19246
19247
19248 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
19249 PyObject *resultobj;
19250 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19251 wxPoint *arg2 = 0 ;
19252 wxPoint temp2 ;
19253 PyObject * obj0 = 0 ;
19254 PyObject * obj1 = 0 ;
19255 char *kwnames[] = {
19256 (char *) "self",(char *) "pt", NULL
19257 };
19258
19259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
19260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19262 {
19263 arg2 = &temp2;
19264 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19265 }
19266 {
19267 PyThreadState* __tstate = wxPyBeginAllowThreads();
19268 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
19269
19270 wxPyEndAllowThreads(__tstate);
19271 if (PyErr_Occurred()) SWIG_fail;
19272 }
19273 Py_INCREF(Py_None); resultobj = Py_None;
19274 return resultobj;
19275 fail:
19276 return NULL;
19277 }
19278
19279
19280 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
19281 PyObject *resultobj;
19282 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19283 wxPoint *arg2 = 0 ;
19284 wxPoint temp2 ;
19285 PyObject * obj0 = 0 ;
19286 PyObject * obj1 = 0 ;
19287 char *kwnames[] = {
19288 (char *) "self",(char *) "pt", NULL
19289 };
19290
19291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
19292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19294 {
19295 arg2 = &temp2;
19296 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19297 }
19298 {
19299 PyThreadState* __tstate = wxPyBeginAllowThreads();
19300 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
19301
19302 wxPyEndAllowThreads(__tstate);
19303 if (PyErr_Occurred()) SWIG_fail;
19304 }
19305 Py_INCREF(Py_None); resultobj = Py_None;
19306 return resultobj;
19307 fail:
19308 return NULL;
19309 }
19310
19311
19312 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
19313 PyObject *resultobj;
19314 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19315 int arg2 ;
19316 PyObject * obj0 = 0 ;
19317 PyObject * obj1 = 0 ;
19318 char *kwnames[] = {
19319 (char *) "self",(char *) "id", NULL
19320 };
19321
19322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
19323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19325 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
19326 if (PyErr_Occurred()) SWIG_fail;
19327 {
19328 PyThreadState* __tstate = wxPyBeginAllowThreads();
19329 (arg1)->SetPaperId((wxPaperSize )arg2);
19330
19331 wxPyEndAllowThreads(__tstate);
19332 if (PyErr_Occurred()) SWIG_fail;
19333 }
19334 Py_INCREF(Py_None); resultobj = Py_None;
19335 return resultobj;
19336 fail:
19337 return NULL;
19338 }
19339
19340
19341 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
19342 PyObject *resultobj;
19343 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19344 wxSize *arg2 = 0 ;
19345 wxSize temp2 ;
19346 PyObject * obj0 = 0 ;
19347 PyObject * obj1 = 0 ;
19348 char *kwnames[] = {
19349 (char *) "self",(char *) "size", NULL
19350 };
19351
19352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
19353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19355 {
19356 arg2 = &temp2;
19357 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19358 }
19359 {
19360 PyThreadState* __tstate = wxPyBeginAllowThreads();
19361 (arg1)->SetPaperSize((wxSize const &)*arg2);
19362
19363 wxPyEndAllowThreads(__tstate);
19364 if (PyErr_Occurred()) SWIG_fail;
19365 }
19366 Py_INCREF(Py_None); resultobj = Py_None;
19367 return resultobj;
19368 fail:
19369 return NULL;
19370 }
19371
19372
19373 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
19374 PyObject *resultobj;
19375 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19376 wxPrintData *arg2 = 0 ;
19377 PyObject * obj0 = 0 ;
19378 PyObject * obj1 = 0 ;
19379 char *kwnames[] = {
19380 (char *) "self",(char *) "printData", NULL
19381 };
19382
19383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
19384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19386 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
19387 SWIG_POINTER_EXCEPTION | 0)) == -1)
19388 SWIG_fail;
19389 if (arg2 == NULL) {
19390 PyErr_SetString(PyExc_TypeError,"null reference");
19391 SWIG_fail;
19392 }
19393 {
19394 PyThreadState* __tstate = wxPyBeginAllowThreads();
19395 (arg1)->SetPrintData((wxPrintData const &)*arg2);
19396
19397 wxPyEndAllowThreads(__tstate);
19398 if (PyErr_Occurred()) SWIG_fail;
19399 }
19400 Py_INCREF(Py_None); resultobj = Py_None;
19401 return resultobj;
19402 fail:
19403 return NULL;
19404 }
19405
19406
19407 static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
19408 PyObject *obj;
19409 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19410 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
19411 Py_INCREF(obj);
19412 return Py_BuildValue((char *)"");
19413 }
19414 static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
19415 PyObject *resultobj;
19416 wxWindow *arg1 = (wxWindow *) 0 ;
19417 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
19418 wxPageSetupDialog *result;
19419 PyObject * obj0 = 0 ;
19420 PyObject * obj1 = 0 ;
19421 char *kwnames[] = {
19422 (char *) "parent",(char *) "data", NULL
19423 };
19424
19425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
19426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19428 if (obj1) {
19429 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
19430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19431 }
19432 {
19433 PyThreadState* __tstate = wxPyBeginAllowThreads();
19434 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
19435
19436 wxPyEndAllowThreads(__tstate);
19437 if (PyErr_Occurred()) SWIG_fail;
19438 }
19439 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
19440 return resultobj;
19441 fail:
19442 return NULL;
19443 }
19444
19445
19446 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
19447 PyObject *resultobj;
19448 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
19449 wxPageSetupDialogData *result;
19450 PyObject * obj0 = 0 ;
19451 char *kwnames[] = {
19452 (char *) "self", NULL
19453 };
19454
19455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
19456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
19457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19458 {
19459 PyThreadState* __tstate = wxPyBeginAllowThreads();
19460 {
19461 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
19462 result = (wxPageSetupDialogData *) &_result_ref;
19463 }
19464
19465 wxPyEndAllowThreads(__tstate);
19466 if (PyErr_Occurred()) SWIG_fail;
19467 }
19468 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
19469 return resultobj;
19470 fail:
19471 return NULL;
19472 }
19473
19474
19475 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
19476 PyObject *resultobj;
19477 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
19478 int result;
19479 PyObject * obj0 = 0 ;
19480 char *kwnames[] = {
19481 (char *) "self", NULL
19482 };
19483
19484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
19485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
19486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19487 {
19488 PyThreadState* __tstate = wxPyBeginAllowThreads();
19489 result = (int)(arg1)->ShowModal();
19490
19491 wxPyEndAllowThreads(__tstate);
19492 if (PyErr_Occurred()) SWIG_fail;
19493 }
19494 resultobj = SWIG_FromInt((int)result);
19495 return resultobj;
19496 fail:
19497 return NULL;
19498 }
19499
19500
19501 static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
19502 PyObject *obj;
19503 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19504 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
19505 Py_INCREF(obj);
19506 return Py_BuildValue((char *)"");
19507 }
19508 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
19509 PyObject *resultobj;
19510 wxPrintDialogData *result;
19511
19512 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
19513 {
19514 PyThreadState* __tstate = wxPyBeginAllowThreads();
19515 result = (wxPrintDialogData *)new wxPrintDialogData();
19516
19517 wxPyEndAllowThreads(__tstate);
19518 if (PyErr_Occurred()) SWIG_fail;
19519 }
19520 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
19521 return resultobj;
19522 fail:
19523 return NULL;
19524 }
19525
19526
19527 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
19528 PyObject *resultobj;
19529 wxPrintData *arg1 = 0 ;
19530 wxPrintDialogData *result;
19531 PyObject * obj0 = 0 ;
19532
19533 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
19534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19535 SWIG_POINTER_EXCEPTION | 0)) == -1)
19536 SWIG_fail;
19537 if (arg1 == NULL) {
19538 PyErr_SetString(PyExc_TypeError,"null reference");
19539 SWIG_fail;
19540 }
19541 {
19542 PyThreadState* __tstate = wxPyBeginAllowThreads();
19543 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
19544
19545 wxPyEndAllowThreads(__tstate);
19546 if (PyErr_Occurred()) SWIG_fail;
19547 }
19548 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
19549 return resultobj;
19550 fail:
19551 return NULL;
19552 }
19553
19554
19555 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
19556 int argc;
19557 PyObject *argv[2];
19558 int ii;
19559
19560 argc = PyObject_Length(args);
19561 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
19562 argv[ii] = PyTuple_GetItem(args,ii);
19563 }
19564 if (argc == 0) {
19565 return _wrap_new_PrintDialogData__SWIG_0(self,args);
19566 }
19567 if (argc == 1) {
19568 int _v;
19569 {
19570 void *ptr;
19571 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
19572 _v = 0;
19573 PyErr_Clear();
19574 } else {
19575 _v = 1;
19576 }
19577 }
19578 if (_v) {
19579 return _wrap_new_PrintDialogData__SWIG_1(self,args);
19580 }
19581 }
19582
19583 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
19584 return NULL;
19585 }
19586
19587
19588 static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
19589 PyObject *resultobj;
19590 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19591 PyObject * obj0 = 0 ;
19592 char *kwnames[] = {
19593 (char *) "self", NULL
19594 };
19595
19596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
19597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19599 {
19600 PyThreadState* __tstate = wxPyBeginAllowThreads();
19601 delete arg1;
19602
19603 wxPyEndAllowThreads(__tstate);
19604 if (PyErr_Occurred()) SWIG_fail;
19605 }
19606 Py_INCREF(Py_None); resultobj = Py_None;
19607 return resultobj;
19608 fail:
19609 return NULL;
19610 }
19611
19612
19613 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
19614 PyObject *resultobj;
19615 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19616 int result;
19617 PyObject * obj0 = 0 ;
19618 char *kwnames[] = {
19619 (char *) "self", NULL
19620 };
19621
19622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
19623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19625 {
19626 PyThreadState* __tstate = wxPyBeginAllowThreads();
19627 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
19628
19629 wxPyEndAllowThreads(__tstate);
19630 if (PyErr_Occurred()) SWIG_fail;
19631 }
19632 resultobj = SWIG_FromInt((int)result);
19633 return resultobj;
19634 fail:
19635 return NULL;
19636 }
19637
19638
19639 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
19640 PyObject *resultobj;
19641 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19642 int result;
19643 PyObject * obj0 = 0 ;
19644 char *kwnames[] = {
19645 (char *) "self", NULL
19646 };
19647
19648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
19649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19651 {
19652 PyThreadState* __tstate = wxPyBeginAllowThreads();
19653 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
19654
19655 wxPyEndAllowThreads(__tstate);
19656 if (PyErr_Occurred()) SWIG_fail;
19657 }
19658 resultobj = SWIG_FromInt((int)result);
19659 return resultobj;
19660 fail:
19661 return NULL;
19662 }
19663
19664
19665 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
19666 PyObject *resultobj;
19667 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19668 int result;
19669 PyObject * obj0 = 0 ;
19670 char *kwnames[] = {
19671 (char *) "self", NULL
19672 };
19673
19674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
19675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19677 {
19678 PyThreadState* __tstate = wxPyBeginAllowThreads();
19679 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
19680
19681 wxPyEndAllowThreads(__tstate);
19682 if (PyErr_Occurred()) SWIG_fail;
19683 }
19684 resultobj = SWIG_FromInt((int)result);
19685 return resultobj;
19686 fail:
19687 return NULL;
19688 }
19689
19690
19691 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
19692 PyObject *resultobj;
19693 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19694 int result;
19695 PyObject * obj0 = 0 ;
19696 char *kwnames[] = {
19697 (char *) "self", NULL
19698 };
19699
19700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
19701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19703 {
19704 PyThreadState* __tstate = wxPyBeginAllowThreads();
19705 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
19706
19707 wxPyEndAllowThreads(__tstate);
19708 if (PyErr_Occurred()) SWIG_fail;
19709 }
19710 resultobj = SWIG_FromInt((int)result);
19711 return resultobj;
19712 fail:
19713 return NULL;
19714 }
19715
19716
19717 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
19718 PyObject *resultobj;
19719 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19720 int result;
19721 PyObject * obj0 = 0 ;
19722 char *kwnames[] = {
19723 (char *) "self", NULL
19724 };
19725
19726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
19727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19729 {
19730 PyThreadState* __tstate = wxPyBeginAllowThreads();
19731 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
19732
19733 wxPyEndAllowThreads(__tstate);
19734 if (PyErr_Occurred()) SWIG_fail;
19735 }
19736 resultobj = SWIG_FromInt((int)result);
19737 return resultobj;
19738 fail:
19739 return NULL;
19740 }
19741
19742
19743 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
19744 PyObject *resultobj;
19745 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19746 bool result;
19747 PyObject * obj0 = 0 ;
19748 char *kwnames[] = {
19749 (char *) "self", NULL
19750 };
19751
19752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
19753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19755 {
19756 PyThreadState* __tstate = wxPyBeginAllowThreads();
19757 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
19758
19759 wxPyEndAllowThreads(__tstate);
19760 if (PyErr_Occurred()) SWIG_fail;
19761 }
19762 {
19763 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19764 }
19765 return resultobj;
19766 fail:
19767 return NULL;
19768 }
19769
19770
19771 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
19772 PyObject *resultobj;
19773 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19774 bool result;
19775 PyObject * obj0 = 0 ;
19776 char *kwnames[] = {
19777 (char *) "self", NULL
19778 };
19779
19780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
19781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19783 {
19784 PyThreadState* __tstate = wxPyBeginAllowThreads();
19785 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
19786
19787 wxPyEndAllowThreads(__tstate);
19788 if (PyErr_Occurred()) SWIG_fail;
19789 }
19790 {
19791 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19792 }
19793 return resultobj;
19794 fail:
19795 return NULL;
19796 }
19797
19798
19799 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
19800 PyObject *resultobj;
19801 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19802 bool result;
19803 PyObject * obj0 = 0 ;
19804 char *kwnames[] = {
19805 (char *) "self", NULL
19806 };
19807
19808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
19809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19811 {
19812 PyThreadState* __tstate = wxPyBeginAllowThreads();
19813 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
19814
19815 wxPyEndAllowThreads(__tstate);
19816 if (PyErr_Occurred()) SWIG_fail;
19817 }
19818 {
19819 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19820 }
19821 return resultobj;
19822 fail:
19823 return NULL;
19824 }
19825
19826
19827 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
19828 PyObject *resultobj;
19829 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19830 bool result;
19831 PyObject * obj0 = 0 ;
19832 char *kwnames[] = {
19833 (char *) "self", NULL
19834 };
19835
19836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
19837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19839 {
19840 PyThreadState* __tstate = wxPyBeginAllowThreads();
19841 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
19842
19843 wxPyEndAllowThreads(__tstate);
19844 if (PyErr_Occurred()) SWIG_fail;
19845 }
19846 {
19847 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19848 }
19849 return resultobj;
19850 fail:
19851 return NULL;
19852 }
19853
19854
19855 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
19856 PyObject *resultobj;
19857 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19858 bool result;
19859 PyObject * obj0 = 0 ;
19860 char *kwnames[] = {
19861 (char *) "self", NULL
19862 };
19863
19864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
19865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19867 {
19868 PyThreadState* __tstate = wxPyBeginAllowThreads();
19869 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
19870
19871 wxPyEndAllowThreads(__tstate);
19872 if (PyErr_Occurred()) SWIG_fail;
19873 }
19874 {
19875 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19876 }
19877 return resultobj;
19878 fail:
19879 return NULL;
19880 }
19881
19882
19883 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
19884 PyObject *resultobj;
19885 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19886 int arg2 ;
19887 PyObject * obj0 = 0 ;
19888 PyObject * obj1 = 0 ;
19889 char *kwnames[] = {
19890 (char *) "self",(char *) "v", NULL
19891 };
19892
19893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
19894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19896 arg2 = (int) SWIG_AsInt(obj1);
19897 if (PyErr_Occurred()) SWIG_fail;
19898 {
19899 PyThreadState* __tstate = wxPyBeginAllowThreads();
19900 (arg1)->SetFromPage(arg2);
19901
19902 wxPyEndAllowThreads(__tstate);
19903 if (PyErr_Occurred()) SWIG_fail;
19904 }
19905 Py_INCREF(Py_None); resultobj = Py_None;
19906 return resultobj;
19907 fail:
19908 return NULL;
19909 }
19910
19911
19912 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
19913 PyObject *resultobj;
19914 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19915 int arg2 ;
19916 PyObject * obj0 = 0 ;
19917 PyObject * obj1 = 0 ;
19918 char *kwnames[] = {
19919 (char *) "self",(char *) "v", NULL
19920 };
19921
19922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
19923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19925 arg2 = (int) SWIG_AsInt(obj1);
19926 if (PyErr_Occurred()) SWIG_fail;
19927 {
19928 PyThreadState* __tstate = wxPyBeginAllowThreads();
19929 (arg1)->SetToPage(arg2);
19930
19931 wxPyEndAllowThreads(__tstate);
19932 if (PyErr_Occurred()) SWIG_fail;
19933 }
19934 Py_INCREF(Py_None); resultobj = Py_None;
19935 return resultobj;
19936 fail:
19937 return NULL;
19938 }
19939
19940
19941 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
19942 PyObject *resultobj;
19943 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19944 int arg2 ;
19945 PyObject * obj0 = 0 ;
19946 PyObject * obj1 = 0 ;
19947 char *kwnames[] = {
19948 (char *) "self",(char *) "v", NULL
19949 };
19950
19951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
19952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19954 arg2 = (int) SWIG_AsInt(obj1);
19955 if (PyErr_Occurred()) SWIG_fail;
19956 {
19957 PyThreadState* __tstate = wxPyBeginAllowThreads();
19958 (arg1)->SetMinPage(arg2);
19959
19960 wxPyEndAllowThreads(__tstate);
19961 if (PyErr_Occurred()) SWIG_fail;
19962 }
19963 Py_INCREF(Py_None); resultobj = Py_None;
19964 return resultobj;
19965 fail:
19966 return NULL;
19967 }
19968
19969
19970 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
19971 PyObject *resultobj;
19972 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19973 int arg2 ;
19974 PyObject * obj0 = 0 ;
19975 PyObject * obj1 = 0 ;
19976 char *kwnames[] = {
19977 (char *) "self",(char *) "v", NULL
19978 };
19979
19980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
19981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19983 arg2 = (int) SWIG_AsInt(obj1);
19984 if (PyErr_Occurred()) SWIG_fail;
19985 {
19986 PyThreadState* __tstate = wxPyBeginAllowThreads();
19987 (arg1)->SetMaxPage(arg2);
19988
19989 wxPyEndAllowThreads(__tstate);
19990 if (PyErr_Occurred()) SWIG_fail;
19991 }
19992 Py_INCREF(Py_None); resultobj = Py_None;
19993 return resultobj;
19994 fail:
19995 return NULL;
19996 }
19997
19998
19999 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
20000 PyObject *resultobj;
20001 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20002 int arg2 ;
20003 PyObject * obj0 = 0 ;
20004 PyObject * obj1 = 0 ;
20005 char *kwnames[] = {
20006 (char *) "self",(char *) "v", NULL
20007 };
20008
20009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
20010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20012 arg2 = (int) SWIG_AsInt(obj1);
20013 if (PyErr_Occurred()) SWIG_fail;
20014 {
20015 PyThreadState* __tstate = wxPyBeginAllowThreads();
20016 (arg1)->SetNoCopies(arg2);
20017
20018 wxPyEndAllowThreads(__tstate);
20019 if (PyErr_Occurred()) SWIG_fail;
20020 }
20021 Py_INCREF(Py_None); resultobj = Py_None;
20022 return resultobj;
20023 fail:
20024 return NULL;
20025 }
20026
20027
20028 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
20029 PyObject *resultobj;
20030 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20031 bool arg2 ;
20032 PyObject * obj0 = 0 ;
20033 PyObject * obj1 = 0 ;
20034 char *kwnames[] = {
20035 (char *) "self",(char *) "flag", NULL
20036 };
20037
20038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
20039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20041 arg2 = (bool) SWIG_AsBool(obj1);
20042 if (PyErr_Occurred()) SWIG_fail;
20043 {
20044 PyThreadState* __tstate = wxPyBeginAllowThreads();
20045 (arg1)->SetAllPages(arg2);
20046
20047 wxPyEndAllowThreads(__tstate);
20048 if (PyErr_Occurred()) SWIG_fail;
20049 }
20050 Py_INCREF(Py_None); resultobj = Py_None;
20051 return resultobj;
20052 fail:
20053 return NULL;
20054 }
20055
20056
20057 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
20058 PyObject *resultobj;
20059 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20060 bool arg2 ;
20061 PyObject * obj0 = 0 ;
20062 PyObject * obj1 = 0 ;
20063 char *kwnames[] = {
20064 (char *) "self",(char *) "flag", NULL
20065 };
20066
20067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
20068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20070 arg2 = (bool) SWIG_AsBool(obj1);
20071 if (PyErr_Occurred()) SWIG_fail;
20072 {
20073 PyThreadState* __tstate = wxPyBeginAllowThreads();
20074 (arg1)->SetSelection(arg2);
20075
20076 wxPyEndAllowThreads(__tstate);
20077 if (PyErr_Occurred()) SWIG_fail;
20078 }
20079 Py_INCREF(Py_None); resultobj = Py_None;
20080 return resultobj;
20081 fail:
20082 return NULL;
20083 }
20084
20085
20086 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
20087 PyObject *resultobj;
20088 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20089 bool arg2 ;
20090 PyObject * obj0 = 0 ;
20091 PyObject * obj1 = 0 ;
20092 char *kwnames[] = {
20093 (char *) "self",(char *) "flag", NULL
20094 };
20095
20096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
20097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20099 arg2 = (bool) SWIG_AsBool(obj1);
20100 if (PyErr_Occurred()) SWIG_fail;
20101 {
20102 PyThreadState* __tstate = wxPyBeginAllowThreads();
20103 (arg1)->SetCollate(arg2);
20104
20105 wxPyEndAllowThreads(__tstate);
20106 if (PyErr_Occurred()) SWIG_fail;
20107 }
20108 Py_INCREF(Py_None); resultobj = Py_None;
20109 return resultobj;
20110 fail:
20111 return NULL;
20112 }
20113
20114
20115 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
20116 PyObject *resultobj;
20117 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20118 bool arg2 ;
20119 PyObject * obj0 = 0 ;
20120 PyObject * obj1 = 0 ;
20121 char *kwnames[] = {
20122 (char *) "self",(char *) "flag", NULL
20123 };
20124
20125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
20126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20128 arg2 = (bool) SWIG_AsBool(obj1);
20129 if (PyErr_Occurred()) SWIG_fail;
20130 {
20131 PyThreadState* __tstate = wxPyBeginAllowThreads();
20132 (arg1)->SetPrintToFile(arg2);
20133
20134 wxPyEndAllowThreads(__tstate);
20135 if (PyErr_Occurred()) SWIG_fail;
20136 }
20137 Py_INCREF(Py_None); resultobj = Py_None;
20138 return resultobj;
20139 fail:
20140 return NULL;
20141 }
20142
20143
20144 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
20145 PyObject *resultobj;
20146 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20147 bool arg2 ;
20148 PyObject * obj0 = 0 ;
20149 PyObject * obj1 = 0 ;
20150 char *kwnames[] = {
20151 (char *) "self",(char *) "flag", NULL
20152 };
20153
20154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20157 arg2 = (bool) SWIG_AsBool(obj1);
20158 if (PyErr_Occurred()) SWIG_fail;
20159 {
20160 PyThreadState* __tstate = wxPyBeginAllowThreads();
20161 (arg1)->SetSetupDialog(arg2);
20162
20163 wxPyEndAllowThreads(__tstate);
20164 if (PyErr_Occurred()) SWIG_fail;
20165 }
20166 Py_INCREF(Py_None); resultobj = Py_None;
20167 return resultobj;
20168 fail:
20169 return NULL;
20170 }
20171
20172
20173 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
20174 PyObject *resultobj;
20175 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20176 bool arg2 ;
20177 PyObject * obj0 = 0 ;
20178 PyObject * obj1 = 0 ;
20179 char *kwnames[] = {
20180 (char *) "self",(char *) "flag", NULL
20181 };
20182
20183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
20184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20186 arg2 = (bool) SWIG_AsBool(obj1);
20187 if (PyErr_Occurred()) SWIG_fail;
20188 {
20189 PyThreadState* __tstate = wxPyBeginAllowThreads();
20190 (arg1)->EnablePrintToFile(arg2);
20191
20192 wxPyEndAllowThreads(__tstate);
20193 if (PyErr_Occurred()) SWIG_fail;
20194 }
20195 Py_INCREF(Py_None); resultobj = Py_None;
20196 return resultobj;
20197 fail:
20198 return NULL;
20199 }
20200
20201
20202 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
20203 PyObject *resultobj;
20204 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20205 bool arg2 ;
20206 PyObject * obj0 = 0 ;
20207 PyObject * obj1 = 0 ;
20208 char *kwnames[] = {
20209 (char *) "self",(char *) "flag", NULL
20210 };
20211
20212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
20213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20215 arg2 = (bool) SWIG_AsBool(obj1);
20216 if (PyErr_Occurred()) SWIG_fail;
20217 {
20218 PyThreadState* __tstate = wxPyBeginAllowThreads();
20219 (arg1)->EnableSelection(arg2);
20220
20221 wxPyEndAllowThreads(__tstate);
20222 if (PyErr_Occurred()) SWIG_fail;
20223 }
20224 Py_INCREF(Py_None); resultobj = Py_None;
20225 return resultobj;
20226 fail:
20227 return NULL;
20228 }
20229
20230
20231 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
20232 PyObject *resultobj;
20233 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20234 bool arg2 ;
20235 PyObject * obj0 = 0 ;
20236 PyObject * obj1 = 0 ;
20237 char *kwnames[] = {
20238 (char *) "self",(char *) "flag", NULL
20239 };
20240
20241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
20242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20244 arg2 = (bool) SWIG_AsBool(obj1);
20245 if (PyErr_Occurred()) SWIG_fail;
20246 {
20247 PyThreadState* __tstate = wxPyBeginAllowThreads();
20248 (arg1)->EnablePageNumbers(arg2);
20249
20250 wxPyEndAllowThreads(__tstate);
20251 if (PyErr_Occurred()) SWIG_fail;
20252 }
20253 Py_INCREF(Py_None); resultobj = Py_None;
20254 return resultobj;
20255 fail:
20256 return NULL;
20257 }
20258
20259
20260 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20261 PyObject *resultobj;
20262 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20263 bool arg2 ;
20264 PyObject * obj0 = 0 ;
20265 PyObject * obj1 = 0 ;
20266 char *kwnames[] = {
20267 (char *) "self",(char *) "flag", NULL
20268 };
20269
20270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
20271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20273 arg2 = (bool) SWIG_AsBool(obj1);
20274 if (PyErr_Occurred()) SWIG_fail;
20275 {
20276 PyThreadState* __tstate = wxPyBeginAllowThreads();
20277 (arg1)->EnableHelp(arg2);
20278
20279 wxPyEndAllowThreads(__tstate);
20280 if (PyErr_Occurred()) SWIG_fail;
20281 }
20282 Py_INCREF(Py_None); resultobj = Py_None;
20283 return resultobj;
20284 fail:
20285 return NULL;
20286 }
20287
20288
20289 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
20290 PyObject *resultobj;
20291 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20292 bool result;
20293 PyObject * obj0 = 0 ;
20294 char *kwnames[] = {
20295 (char *) "self", NULL
20296 };
20297
20298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
20299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20301 {
20302 PyThreadState* __tstate = wxPyBeginAllowThreads();
20303 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
20304
20305 wxPyEndAllowThreads(__tstate);
20306 if (PyErr_Occurred()) SWIG_fail;
20307 }
20308 {
20309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20310 }
20311 return resultobj;
20312 fail:
20313 return NULL;
20314 }
20315
20316
20317 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
20318 PyObject *resultobj;
20319 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20320 bool result;
20321 PyObject * obj0 = 0 ;
20322 char *kwnames[] = {
20323 (char *) "self", NULL
20324 };
20325
20326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
20327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20329 {
20330 PyThreadState* __tstate = wxPyBeginAllowThreads();
20331 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
20332
20333 wxPyEndAllowThreads(__tstate);
20334 if (PyErr_Occurred()) SWIG_fail;
20335 }
20336 {
20337 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20338 }
20339 return resultobj;
20340 fail:
20341 return NULL;
20342 }
20343
20344
20345 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
20346 PyObject *resultobj;
20347 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20348 bool result;
20349 PyObject * obj0 = 0 ;
20350 char *kwnames[] = {
20351 (char *) "self", NULL
20352 };
20353
20354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
20355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20357 {
20358 PyThreadState* __tstate = wxPyBeginAllowThreads();
20359 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
20360
20361 wxPyEndAllowThreads(__tstate);
20362 if (PyErr_Occurred()) SWIG_fail;
20363 }
20364 {
20365 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20366 }
20367 return resultobj;
20368 fail:
20369 return NULL;
20370 }
20371
20372
20373 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20374 PyObject *resultobj;
20375 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20376 bool result;
20377 PyObject * obj0 = 0 ;
20378 char *kwnames[] = {
20379 (char *) "self", NULL
20380 };
20381
20382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
20383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20385 {
20386 PyThreadState* __tstate = wxPyBeginAllowThreads();
20387 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
20388
20389 wxPyEndAllowThreads(__tstate);
20390 if (PyErr_Occurred()) SWIG_fail;
20391 }
20392 {
20393 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20394 }
20395 return resultobj;
20396 fail:
20397 return NULL;
20398 }
20399
20400
20401 static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
20402 PyObject *resultobj;
20403 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20404 bool result;
20405 PyObject * obj0 = 0 ;
20406 char *kwnames[] = {
20407 (char *) "self", NULL
20408 };
20409
20410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
20411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20413 {
20414 PyThreadState* __tstate = wxPyBeginAllowThreads();
20415 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
20416
20417 wxPyEndAllowThreads(__tstate);
20418 if (PyErr_Occurred()) SWIG_fail;
20419 }
20420 {
20421 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20422 }
20423 return resultobj;
20424 fail:
20425 return NULL;
20426 }
20427
20428
20429 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
20430 PyObject *resultobj;
20431 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20432 wxPrintData *result;
20433 PyObject * obj0 = 0 ;
20434 char *kwnames[] = {
20435 (char *) "self", NULL
20436 };
20437
20438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
20439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20441 {
20442 PyThreadState* __tstate = wxPyBeginAllowThreads();
20443 {
20444 wxPrintData &_result_ref = (arg1)->GetPrintData();
20445 result = (wxPrintData *) &_result_ref;
20446 }
20447
20448 wxPyEndAllowThreads(__tstate);
20449 if (PyErr_Occurred()) SWIG_fail;
20450 }
20451 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
20452 return resultobj;
20453 fail:
20454 return NULL;
20455 }
20456
20457
20458 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
20459 PyObject *resultobj;
20460 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20461 wxPrintData *arg2 = 0 ;
20462 PyObject * obj0 = 0 ;
20463 PyObject * obj1 = 0 ;
20464 char *kwnames[] = {
20465 (char *) "self",(char *) "printData", NULL
20466 };
20467
20468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
20469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20471 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20472 SWIG_POINTER_EXCEPTION | 0)) == -1)
20473 SWIG_fail;
20474 if (arg2 == NULL) {
20475 PyErr_SetString(PyExc_TypeError,"null reference");
20476 SWIG_fail;
20477 }
20478 {
20479 PyThreadState* __tstate = wxPyBeginAllowThreads();
20480 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20481
20482 wxPyEndAllowThreads(__tstate);
20483 if (PyErr_Occurred()) SWIG_fail;
20484 }
20485 Py_INCREF(Py_None); resultobj = Py_None;
20486 return resultobj;
20487 fail:
20488 return NULL;
20489 }
20490
20491
20492 static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
20493 PyObject *obj;
20494 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20495 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
20496 Py_INCREF(obj);
20497 return Py_BuildValue((char *)"");
20498 }
20499 static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
20500 PyObject *resultobj;
20501 wxWindow *arg1 = (wxWindow *) 0 ;
20502 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
20503 wxPrintDialog *result;
20504 PyObject * obj0 = 0 ;
20505 PyObject * obj1 = 0 ;
20506 char *kwnames[] = {
20507 (char *) "parent",(char *) "data", NULL
20508 };
20509
20510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
20511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20513 if (obj1) {
20514 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
20515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20516 }
20517 {
20518 PyThreadState* __tstate = wxPyBeginAllowThreads();
20519 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
20520
20521 wxPyEndAllowThreads(__tstate);
20522 if (PyErr_Occurred()) SWIG_fail;
20523 }
20524 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
20525 return resultobj;
20526 fail:
20527 return NULL;
20528 }
20529
20530
20531 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
20532 PyObject *resultobj;
20533 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
20534 wxPrintDialogData *result;
20535 PyObject * obj0 = 0 ;
20536 char *kwnames[] = {
20537 (char *) "self", NULL
20538 };
20539
20540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
20541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
20542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20543 {
20544 PyThreadState* __tstate = wxPyBeginAllowThreads();
20545 {
20546 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
20547 result = (wxPrintDialogData *) &_result_ref;
20548 }
20549
20550 wxPyEndAllowThreads(__tstate);
20551 if (PyErr_Occurred()) SWIG_fail;
20552 }
20553 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
20554 return resultobj;
20555 fail:
20556 return NULL;
20557 }
20558
20559
20560 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
20561 PyObject *resultobj;
20562 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
20563 wxDC *result;
20564 PyObject * obj0 = 0 ;
20565 char *kwnames[] = {
20566 (char *) "self", NULL
20567 };
20568
20569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
20570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
20571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20572 {
20573 PyThreadState* __tstate = wxPyBeginAllowThreads();
20574 result = (wxDC *)(arg1)->GetPrintDC();
20575
20576 wxPyEndAllowThreads(__tstate);
20577 if (PyErr_Occurred()) SWIG_fail;
20578 }
20579 {
20580 resultobj = wxPyMake_wxObject(result);
20581 }
20582 return resultobj;
20583 fail:
20584 return NULL;
20585 }
20586
20587
20588 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
20589 PyObject *resultobj;
20590 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
20591 int result;
20592 PyObject * obj0 = 0 ;
20593 char *kwnames[] = {
20594 (char *) "self", NULL
20595 };
20596
20597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
20598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
20599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20600 {
20601 PyThreadState* __tstate = wxPyBeginAllowThreads();
20602 result = (int)(arg1)->ShowModal();
20603
20604 wxPyEndAllowThreads(__tstate);
20605 if (PyErr_Occurred()) SWIG_fail;
20606 }
20607 resultobj = SWIG_FromInt((int)result);
20608 return resultobj;
20609 fail:
20610 return NULL;
20611 }
20612
20613
20614 static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
20615 PyObject *obj;
20616 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20617 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
20618 Py_INCREF(obj);
20619 return Py_BuildValue((char *)"");
20620 }
20621 static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
20622 PyObject *resultobj;
20623 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
20624 wxPrinter *result;
20625 PyObject * obj0 = 0 ;
20626 char *kwnames[] = {
20627 (char *) "data", NULL
20628 };
20629
20630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
20631 if (obj0) {
20632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20634 }
20635 {
20636 PyThreadState* __tstate = wxPyBeginAllowThreads();
20637 result = (wxPrinter *)new wxPrinter(arg1);
20638
20639 wxPyEndAllowThreads(__tstate);
20640 if (PyErr_Occurred()) SWIG_fail;
20641 }
20642 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
20643 return resultobj;
20644 fail:
20645 return NULL;
20646 }
20647
20648
20649 static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
20650 PyObject *resultobj;
20651 wxPrinter *arg1 = (wxPrinter *) 0 ;
20652 PyObject * obj0 = 0 ;
20653 char *kwnames[] = {
20654 (char *) "self", NULL
20655 };
20656
20657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
20658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20660 {
20661 PyThreadState* __tstate = wxPyBeginAllowThreads();
20662 delete arg1;
20663
20664 wxPyEndAllowThreads(__tstate);
20665 if (PyErr_Occurred()) SWIG_fail;
20666 }
20667 Py_INCREF(Py_None); resultobj = Py_None;
20668 return resultobj;
20669 fail:
20670 return NULL;
20671 }
20672
20673
20674 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
20675 PyObject *resultobj;
20676 wxPrinter *arg1 = (wxPrinter *) 0 ;
20677 wxWindow *arg2 = (wxWindow *) 0 ;
20678 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
20679 PyObject * obj0 = 0 ;
20680 PyObject * obj1 = 0 ;
20681 PyObject * obj2 = 0 ;
20682 char *kwnames[] = {
20683 (char *) "self",(char *) "parent",(char *) "printout", NULL
20684 };
20685
20686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
20687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20689 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20691 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
20692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20693 {
20694 PyThreadState* __tstate = wxPyBeginAllowThreads();
20695 (arg1)->CreateAbortWindow(arg2,arg3);
20696
20697 wxPyEndAllowThreads(__tstate);
20698 if (PyErr_Occurred()) SWIG_fail;
20699 }
20700 Py_INCREF(Py_None); resultobj = Py_None;
20701 return resultobj;
20702 fail:
20703 return NULL;
20704 }
20705
20706
20707 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
20708 PyObject *resultobj;
20709 wxPrinter *arg1 = (wxPrinter *) 0 ;
20710 wxPrintDialogData *result;
20711 PyObject * obj0 = 0 ;
20712 char *kwnames[] = {
20713 (char *) "self", NULL
20714 };
20715
20716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
20717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20719 {
20720 PyThreadState* __tstate = wxPyBeginAllowThreads();
20721 {
20722 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
20723 result = (wxPrintDialogData *) &_result_ref;
20724 }
20725
20726 wxPyEndAllowThreads(__tstate);
20727 if (PyErr_Occurred()) SWIG_fail;
20728 }
20729 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
20730 return resultobj;
20731 fail:
20732 return NULL;
20733 }
20734
20735
20736 static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
20737 PyObject *resultobj;
20738 wxPrinter *arg1 = (wxPrinter *) 0 ;
20739 wxWindow *arg2 = (wxWindow *) 0 ;
20740 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
20741 int arg4 = (int) True ;
20742 bool result;
20743 PyObject * obj0 = 0 ;
20744 PyObject * obj1 = 0 ;
20745 PyObject * obj2 = 0 ;
20746 PyObject * obj3 = 0 ;
20747 char *kwnames[] = {
20748 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
20749 };
20750
20751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20754 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20756 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
20757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20758 if (obj3) {
20759 arg4 = (int) SWIG_AsInt(obj3);
20760 if (PyErr_Occurred()) SWIG_fail;
20761 }
20762 {
20763 PyThreadState* __tstate = wxPyBeginAllowThreads();
20764 result = (bool)(arg1)->Print(arg2,arg3,arg4);
20765
20766 wxPyEndAllowThreads(__tstate);
20767 if (PyErr_Occurred()) SWIG_fail;
20768 }
20769 {
20770 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20771 }
20772 return resultobj;
20773 fail:
20774 return NULL;
20775 }
20776
20777
20778 static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
20779 PyObject *resultobj;
20780 wxPrinter *arg1 = (wxPrinter *) 0 ;
20781 wxWindow *arg2 = (wxWindow *) 0 ;
20782 wxDC *result;
20783 PyObject * obj0 = 0 ;
20784 PyObject * obj1 = 0 ;
20785 char *kwnames[] = {
20786 (char *) "self",(char *) "parent", NULL
20787 };
20788
20789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
20790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20792 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20794 {
20795 PyThreadState* __tstate = wxPyBeginAllowThreads();
20796 result = (wxDC *)(arg1)->PrintDialog(arg2);
20797
20798 wxPyEndAllowThreads(__tstate);
20799 if (PyErr_Occurred()) SWIG_fail;
20800 }
20801 {
20802 resultobj = wxPyMake_wxObject(result);
20803 }
20804 return resultobj;
20805 fail:
20806 return NULL;
20807 }
20808
20809
20810 static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
20811 PyObject *resultobj;
20812 wxPrinter *arg1 = (wxPrinter *) 0 ;
20813 wxWindow *arg2 = (wxWindow *) 0 ;
20814 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
20815 wxString *arg4 = 0 ;
20816 bool temp4 = False ;
20817 PyObject * obj0 = 0 ;
20818 PyObject * obj1 = 0 ;
20819 PyObject * obj2 = 0 ;
20820 PyObject * obj3 = 0 ;
20821 char *kwnames[] = {
20822 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
20823 };
20824
20825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20828 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20830 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
20831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20832 {
20833 arg4 = wxString_in_helper(obj3);
20834 if (arg4 == NULL) SWIG_fail;
20835 temp4 = True;
20836 }
20837 {
20838 PyThreadState* __tstate = wxPyBeginAllowThreads();
20839 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
20840
20841 wxPyEndAllowThreads(__tstate);
20842 if (PyErr_Occurred()) SWIG_fail;
20843 }
20844 Py_INCREF(Py_None); resultobj = Py_None;
20845 {
20846 if (temp4)
20847 delete arg4;
20848 }
20849 return resultobj;
20850 fail:
20851 {
20852 if (temp4)
20853 delete arg4;
20854 }
20855 return NULL;
20856 }
20857
20858
20859 static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
20860 PyObject *resultobj;
20861 wxPrinter *arg1 = (wxPrinter *) 0 ;
20862 wxWindow *arg2 = (wxWindow *) 0 ;
20863 bool result;
20864 PyObject * obj0 = 0 ;
20865 PyObject * obj1 = 0 ;
20866 char *kwnames[] = {
20867 (char *) "self",(char *) "parent", NULL
20868 };
20869
20870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
20871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20873 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20875 {
20876 PyThreadState* __tstate = wxPyBeginAllowThreads();
20877 result = (bool)(arg1)->Setup(arg2);
20878
20879 wxPyEndAllowThreads(__tstate);
20880 if (PyErr_Occurred()) SWIG_fail;
20881 }
20882 {
20883 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20884 }
20885 return resultobj;
20886 fail:
20887 return NULL;
20888 }
20889
20890
20891 static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
20892 PyObject *resultobj;
20893 wxPrinter *arg1 = (wxPrinter *) 0 ;
20894 bool result;
20895 PyObject * obj0 = 0 ;
20896 char *kwnames[] = {
20897 (char *) "self", NULL
20898 };
20899
20900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
20901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20903 {
20904 PyThreadState* __tstate = wxPyBeginAllowThreads();
20905 result = (bool)(arg1)->GetAbort();
20906
20907 wxPyEndAllowThreads(__tstate);
20908 if (PyErr_Occurred()) SWIG_fail;
20909 }
20910 {
20911 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20912 }
20913 return resultobj;
20914 fail:
20915 return NULL;
20916 }
20917
20918
20919 static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
20920 PyObject *resultobj;
20921 int result;
20922 char *kwnames[] = {
20923 NULL
20924 };
20925
20926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
20927 {
20928 PyThreadState* __tstate = wxPyBeginAllowThreads();
20929 result = (int)wxPrinter::GetLastError();
20930
20931 wxPyEndAllowThreads(__tstate);
20932 if (PyErr_Occurred()) SWIG_fail;
20933 }
20934 resultobj = SWIG_FromInt((int)result);
20935 return resultobj;
20936 fail:
20937 return NULL;
20938 }
20939
20940
20941 static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
20942 PyObject *obj;
20943 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20944 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
20945 Py_INCREF(obj);
20946 return Py_BuildValue((char *)"");
20947 }
20948 static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
20949 PyObject *resultobj;
20950 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
20951 wxString *arg1 = (wxString *) &arg1_defvalue ;
20952 wxPyPrintout *result;
20953 bool temp1 = False ;
20954 PyObject * obj0 = 0 ;
20955 char *kwnames[] = {
20956 (char *) "title", NULL
20957 };
20958
20959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
20960 if (obj0) {
20961 {
20962 arg1 = wxString_in_helper(obj0);
20963 if (arg1 == NULL) SWIG_fail;
20964 temp1 = True;
20965 }
20966 }
20967 {
20968 PyThreadState* __tstate = wxPyBeginAllowThreads();
20969 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
20970
20971 wxPyEndAllowThreads(__tstate);
20972 if (PyErr_Occurred()) SWIG_fail;
20973 }
20974 {
20975 resultobj = wxPyMake_wxObject(result);
20976 }
20977 {
20978 if (temp1)
20979 delete arg1;
20980 }
20981 return resultobj;
20982 fail:
20983 {
20984 if (temp1)
20985 delete arg1;
20986 }
20987 return NULL;
20988 }
20989
20990
20991 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
20992 PyObject *resultobj;
20993 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20994 PyObject *arg2 = (PyObject *) 0 ;
20995 PyObject *arg3 = (PyObject *) 0 ;
20996 PyObject * obj0 = 0 ;
20997 PyObject * obj1 = 0 ;
20998 PyObject * obj2 = 0 ;
20999 char *kwnames[] = {
21000 (char *) "self",(char *) "self",(char *) "_class", NULL
21001 };
21002
21003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21006 arg2 = obj1;
21007 arg3 = obj2;
21008 {
21009 PyThreadState* __tstate = wxPyBeginAllowThreads();
21010 (arg1)->_setCallbackInfo(arg2,arg3);
21011
21012 wxPyEndAllowThreads(__tstate);
21013 if (PyErr_Occurred()) SWIG_fail;
21014 }
21015 Py_INCREF(Py_None); resultobj = Py_None;
21016 return resultobj;
21017 fail:
21018 return NULL;
21019 }
21020
21021
21022 static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
21023 PyObject *resultobj;
21024 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21025 wxString result;
21026 PyObject * obj0 = 0 ;
21027 char *kwnames[] = {
21028 (char *) "self", NULL
21029 };
21030
21031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
21032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21034 {
21035 PyThreadState* __tstate = wxPyBeginAllowThreads();
21036 result = ((wxPyPrintout const *)arg1)->GetTitle();
21037
21038 wxPyEndAllowThreads(__tstate);
21039 if (PyErr_Occurred()) SWIG_fail;
21040 }
21041 {
21042 #if wxUSE_UNICODE
21043 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21044 #else
21045 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21046 #endif
21047 }
21048 return resultobj;
21049 fail:
21050 return NULL;
21051 }
21052
21053
21054 static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
21055 PyObject *resultobj;
21056 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21057 wxDC *result;
21058 PyObject * obj0 = 0 ;
21059 char *kwnames[] = {
21060 (char *) "self", NULL
21061 };
21062
21063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
21064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21066 {
21067 PyThreadState* __tstate = wxPyBeginAllowThreads();
21068 result = (wxDC *)(arg1)->GetDC();
21069
21070 wxPyEndAllowThreads(__tstate);
21071 if (PyErr_Occurred()) SWIG_fail;
21072 }
21073 {
21074 resultobj = wxPyMake_wxObject(result);
21075 }
21076 return resultobj;
21077 fail:
21078 return NULL;
21079 }
21080
21081
21082 static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
21083 PyObject *resultobj;
21084 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21085 wxDC *arg2 = (wxDC *) 0 ;
21086 PyObject * obj0 = 0 ;
21087 PyObject * obj1 = 0 ;
21088 char *kwnames[] = {
21089 (char *) "self",(char *) "dc", NULL
21090 };
21091
21092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
21093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21095 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21097 {
21098 PyThreadState* __tstate = wxPyBeginAllowThreads();
21099 (arg1)->SetDC(arg2);
21100
21101 wxPyEndAllowThreads(__tstate);
21102 if (PyErr_Occurred()) SWIG_fail;
21103 }
21104 Py_INCREF(Py_None); resultobj = Py_None;
21105 return resultobj;
21106 fail:
21107 return NULL;
21108 }
21109
21110
21111 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
21112 PyObject *resultobj;
21113 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21114 int arg2 ;
21115 int arg3 ;
21116 PyObject * obj0 = 0 ;
21117 PyObject * obj1 = 0 ;
21118 PyObject * obj2 = 0 ;
21119 char *kwnames[] = {
21120 (char *) "self",(char *) "w",(char *) "h", NULL
21121 };
21122
21123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
21124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21126 arg2 = (int) SWIG_AsInt(obj1);
21127 if (PyErr_Occurred()) SWIG_fail;
21128 arg3 = (int) SWIG_AsInt(obj2);
21129 if (PyErr_Occurred()) SWIG_fail;
21130 {
21131 PyThreadState* __tstate = wxPyBeginAllowThreads();
21132 (arg1)->SetPageSizePixels(arg2,arg3);
21133
21134 wxPyEndAllowThreads(__tstate);
21135 if (PyErr_Occurred()) SWIG_fail;
21136 }
21137 Py_INCREF(Py_None); resultobj = Py_None;
21138 return resultobj;
21139 fail:
21140 return NULL;
21141 }
21142
21143
21144 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
21145 PyObject *resultobj;
21146 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21147 int *arg2 = (int *) 0 ;
21148 int *arg3 = (int *) 0 ;
21149 int temp2 ;
21150 int temp3 ;
21151 PyObject * obj0 = 0 ;
21152 char *kwnames[] = {
21153 (char *) "self", NULL
21154 };
21155
21156 arg2 = &temp2;
21157 arg3 = &temp3;
21158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
21159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21161 {
21162 PyThreadState* __tstate = wxPyBeginAllowThreads();
21163 (arg1)->GetPageSizePixels(arg2,arg3);
21164
21165 wxPyEndAllowThreads(__tstate);
21166 if (PyErr_Occurred()) SWIG_fail;
21167 }
21168 Py_INCREF(Py_None); resultobj = Py_None;
21169 {
21170 PyObject *o = PyInt_FromLong((long) (*arg2));
21171 resultobj = t_output_helper(resultobj,o);
21172 }
21173 {
21174 PyObject *o = PyInt_FromLong((long) (*arg3));
21175 resultobj = t_output_helper(resultobj,o);
21176 }
21177 return resultobj;
21178 fail:
21179 return NULL;
21180 }
21181
21182
21183 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
21184 PyObject *resultobj;
21185 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21186 int arg2 ;
21187 int arg3 ;
21188 PyObject * obj0 = 0 ;
21189 PyObject * obj1 = 0 ;
21190 PyObject * obj2 = 0 ;
21191 char *kwnames[] = {
21192 (char *) "self",(char *) "w",(char *) "h", NULL
21193 };
21194
21195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
21196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21198 arg2 = (int) SWIG_AsInt(obj1);
21199 if (PyErr_Occurred()) SWIG_fail;
21200 arg3 = (int) SWIG_AsInt(obj2);
21201 if (PyErr_Occurred()) SWIG_fail;
21202 {
21203 PyThreadState* __tstate = wxPyBeginAllowThreads();
21204 (arg1)->SetPageSizeMM(arg2,arg3);
21205
21206 wxPyEndAllowThreads(__tstate);
21207 if (PyErr_Occurred()) SWIG_fail;
21208 }
21209 Py_INCREF(Py_None); resultobj = Py_None;
21210 return resultobj;
21211 fail:
21212 return NULL;
21213 }
21214
21215
21216 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
21217 PyObject *resultobj;
21218 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21219 int *arg2 = (int *) 0 ;
21220 int *arg3 = (int *) 0 ;
21221 int temp2 ;
21222 int temp3 ;
21223 PyObject * obj0 = 0 ;
21224 char *kwnames[] = {
21225 (char *) "self", NULL
21226 };
21227
21228 arg2 = &temp2;
21229 arg3 = &temp3;
21230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
21231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21233 {
21234 PyThreadState* __tstate = wxPyBeginAllowThreads();
21235 (arg1)->GetPageSizeMM(arg2,arg3);
21236
21237 wxPyEndAllowThreads(__tstate);
21238 if (PyErr_Occurred()) SWIG_fail;
21239 }
21240 Py_INCREF(Py_None); resultobj = Py_None;
21241 {
21242 PyObject *o = PyInt_FromLong((long) (*arg2));
21243 resultobj = t_output_helper(resultobj,o);
21244 }
21245 {
21246 PyObject *o = PyInt_FromLong((long) (*arg3));
21247 resultobj = t_output_helper(resultobj,o);
21248 }
21249 return resultobj;
21250 fail:
21251 return NULL;
21252 }
21253
21254
21255 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
21256 PyObject *resultobj;
21257 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21258 int arg2 ;
21259 int arg3 ;
21260 PyObject * obj0 = 0 ;
21261 PyObject * obj1 = 0 ;
21262 PyObject * obj2 = 0 ;
21263 char *kwnames[] = {
21264 (char *) "self",(char *) "x",(char *) "y", NULL
21265 };
21266
21267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
21268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21270 arg2 = (int) SWIG_AsInt(obj1);
21271 if (PyErr_Occurred()) SWIG_fail;
21272 arg3 = (int) SWIG_AsInt(obj2);
21273 if (PyErr_Occurred()) SWIG_fail;
21274 {
21275 PyThreadState* __tstate = wxPyBeginAllowThreads();
21276 (arg1)->SetPPIScreen(arg2,arg3);
21277
21278 wxPyEndAllowThreads(__tstate);
21279 if (PyErr_Occurred()) SWIG_fail;
21280 }
21281 Py_INCREF(Py_None); resultobj = Py_None;
21282 return resultobj;
21283 fail:
21284 return NULL;
21285 }
21286
21287
21288 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
21289 PyObject *resultobj;
21290 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21291 int *arg2 = (int *) 0 ;
21292 int *arg3 = (int *) 0 ;
21293 int temp2 ;
21294 int temp3 ;
21295 PyObject * obj0 = 0 ;
21296 char *kwnames[] = {
21297 (char *) "self", NULL
21298 };
21299
21300 arg2 = &temp2;
21301 arg3 = &temp3;
21302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
21303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21305 {
21306 PyThreadState* __tstate = wxPyBeginAllowThreads();
21307 (arg1)->GetPPIScreen(arg2,arg3);
21308
21309 wxPyEndAllowThreads(__tstate);
21310 if (PyErr_Occurred()) SWIG_fail;
21311 }
21312 Py_INCREF(Py_None); resultobj = Py_None;
21313 {
21314 PyObject *o = PyInt_FromLong((long) (*arg2));
21315 resultobj = t_output_helper(resultobj,o);
21316 }
21317 {
21318 PyObject *o = PyInt_FromLong((long) (*arg3));
21319 resultobj = t_output_helper(resultobj,o);
21320 }
21321 return resultobj;
21322 fail:
21323 return NULL;
21324 }
21325
21326
21327 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
21328 PyObject *resultobj;
21329 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21330 int arg2 ;
21331 int arg3 ;
21332 PyObject * obj0 = 0 ;
21333 PyObject * obj1 = 0 ;
21334 PyObject * obj2 = 0 ;
21335 char *kwnames[] = {
21336 (char *) "self",(char *) "x",(char *) "y", NULL
21337 };
21338
21339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
21340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21342 arg2 = (int) SWIG_AsInt(obj1);
21343 if (PyErr_Occurred()) SWIG_fail;
21344 arg3 = (int) SWIG_AsInt(obj2);
21345 if (PyErr_Occurred()) SWIG_fail;
21346 {
21347 PyThreadState* __tstate = wxPyBeginAllowThreads();
21348 (arg1)->SetPPIPrinter(arg2,arg3);
21349
21350 wxPyEndAllowThreads(__tstate);
21351 if (PyErr_Occurred()) SWIG_fail;
21352 }
21353 Py_INCREF(Py_None); resultobj = Py_None;
21354 return resultobj;
21355 fail:
21356 return NULL;
21357 }
21358
21359
21360 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
21361 PyObject *resultobj;
21362 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21363 int *arg2 = (int *) 0 ;
21364 int *arg3 = (int *) 0 ;
21365 int temp2 ;
21366 int temp3 ;
21367 PyObject * obj0 = 0 ;
21368 char *kwnames[] = {
21369 (char *) "self", NULL
21370 };
21371
21372 arg2 = &temp2;
21373 arg3 = &temp3;
21374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
21375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21377 {
21378 PyThreadState* __tstate = wxPyBeginAllowThreads();
21379 (arg1)->GetPPIPrinter(arg2,arg3);
21380
21381 wxPyEndAllowThreads(__tstate);
21382 if (PyErr_Occurred()) SWIG_fail;
21383 }
21384 Py_INCREF(Py_None); resultobj = Py_None;
21385 {
21386 PyObject *o = PyInt_FromLong((long) (*arg2));
21387 resultobj = t_output_helper(resultobj,o);
21388 }
21389 {
21390 PyObject *o = PyInt_FromLong((long) (*arg3));
21391 resultobj = t_output_helper(resultobj,o);
21392 }
21393 return resultobj;
21394 fail:
21395 return NULL;
21396 }
21397
21398
21399 static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
21400 PyObject *resultobj;
21401 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21402 bool result;
21403 PyObject * obj0 = 0 ;
21404 char *kwnames[] = {
21405 (char *) "self", NULL
21406 };
21407
21408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
21409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21411 {
21412 PyThreadState* __tstate = wxPyBeginAllowThreads();
21413 result = (bool)(arg1)->IsPreview();
21414
21415 wxPyEndAllowThreads(__tstate);
21416 if (PyErr_Occurred()) SWIG_fail;
21417 }
21418 {
21419 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21420 }
21421 return resultobj;
21422 fail:
21423 return NULL;
21424 }
21425
21426
21427 static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
21428 PyObject *resultobj;
21429 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21430 bool arg2 ;
21431 PyObject * obj0 = 0 ;
21432 PyObject * obj1 = 0 ;
21433 char *kwnames[] = {
21434 (char *) "self",(char *) "p", NULL
21435 };
21436
21437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
21438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21440 arg2 = (bool) SWIG_AsBool(obj1);
21441 if (PyErr_Occurred()) SWIG_fail;
21442 {
21443 PyThreadState* __tstate = wxPyBeginAllowThreads();
21444 (arg1)->SetIsPreview(arg2);
21445
21446 wxPyEndAllowThreads(__tstate);
21447 if (PyErr_Occurred()) SWIG_fail;
21448 }
21449 Py_INCREF(Py_None); resultobj = Py_None;
21450 return resultobj;
21451 fail:
21452 return NULL;
21453 }
21454
21455
21456 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
21457 PyObject *resultobj;
21458 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21459 int arg2 ;
21460 int arg3 ;
21461 bool result;
21462 PyObject * obj0 = 0 ;
21463 PyObject * obj1 = 0 ;
21464 PyObject * obj2 = 0 ;
21465 char *kwnames[] = {
21466 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
21467 };
21468
21469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
21470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21472 arg2 = (int) SWIG_AsInt(obj1);
21473 if (PyErr_Occurred()) SWIG_fail;
21474 arg3 = (int) SWIG_AsInt(obj2);
21475 if (PyErr_Occurred()) SWIG_fail;
21476 {
21477 PyThreadState* __tstate = wxPyBeginAllowThreads();
21478 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
21479
21480 wxPyEndAllowThreads(__tstate);
21481 if (PyErr_Occurred()) SWIG_fail;
21482 }
21483 {
21484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21485 }
21486 return resultobj;
21487 fail:
21488 return NULL;
21489 }
21490
21491
21492 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
21493 PyObject *resultobj;
21494 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21495 PyObject * obj0 = 0 ;
21496 char *kwnames[] = {
21497 (char *) "self", NULL
21498 };
21499
21500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
21501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21503 {
21504 PyThreadState* __tstate = wxPyBeginAllowThreads();
21505 (arg1)->base_OnEndDocument();
21506
21507 wxPyEndAllowThreads(__tstate);
21508 if (PyErr_Occurred()) SWIG_fail;
21509 }
21510 Py_INCREF(Py_None); resultobj = Py_None;
21511 return resultobj;
21512 fail:
21513 return NULL;
21514 }
21515
21516
21517 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
21518 PyObject *resultobj;
21519 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21520 PyObject * obj0 = 0 ;
21521 char *kwnames[] = {
21522 (char *) "self", NULL
21523 };
21524
21525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
21526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21528 {
21529 PyThreadState* __tstate = wxPyBeginAllowThreads();
21530 (arg1)->base_OnBeginPrinting();
21531
21532 wxPyEndAllowThreads(__tstate);
21533 if (PyErr_Occurred()) SWIG_fail;
21534 }
21535 Py_INCREF(Py_None); resultobj = Py_None;
21536 return resultobj;
21537 fail:
21538 return NULL;
21539 }
21540
21541
21542 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
21543 PyObject *resultobj;
21544 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21545 PyObject * obj0 = 0 ;
21546 char *kwnames[] = {
21547 (char *) "self", NULL
21548 };
21549
21550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
21551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21553 {
21554 PyThreadState* __tstate = wxPyBeginAllowThreads();
21555 (arg1)->base_OnEndPrinting();
21556
21557 wxPyEndAllowThreads(__tstate);
21558 if (PyErr_Occurred()) SWIG_fail;
21559 }
21560 Py_INCREF(Py_None); resultobj = Py_None;
21561 return resultobj;
21562 fail:
21563 return NULL;
21564 }
21565
21566
21567 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
21568 PyObject *resultobj;
21569 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21570 PyObject * obj0 = 0 ;
21571 char *kwnames[] = {
21572 (char *) "self", NULL
21573 };
21574
21575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
21576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21578 {
21579 PyThreadState* __tstate = wxPyBeginAllowThreads();
21580 (arg1)->base_OnPreparePrinting();
21581
21582 wxPyEndAllowThreads(__tstate);
21583 if (PyErr_Occurred()) SWIG_fail;
21584 }
21585 Py_INCREF(Py_None); resultobj = Py_None;
21586 return resultobj;
21587 fail:
21588 return NULL;
21589 }
21590
21591
21592 static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
21593 PyObject *resultobj;
21594 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21595 int arg2 ;
21596 bool result;
21597 PyObject * obj0 = 0 ;
21598 PyObject * obj1 = 0 ;
21599 char *kwnames[] = {
21600 (char *) "self",(char *) "page", NULL
21601 };
21602
21603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
21604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21606 arg2 = (int) SWIG_AsInt(obj1);
21607 if (PyErr_Occurred()) SWIG_fail;
21608 {
21609 PyThreadState* __tstate = wxPyBeginAllowThreads();
21610 result = (bool)(arg1)->base_HasPage(arg2);
21611
21612 wxPyEndAllowThreads(__tstate);
21613 if (PyErr_Occurred()) SWIG_fail;
21614 }
21615 {
21616 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21617 }
21618 return resultobj;
21619 fail:
21620 return NULL;
21621 }
21622
21623
21624 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
21625 PyObject *resultobj;
21626 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21627 int *arg2 = (int *) 0 ;
21628 int *arg3 = (int *) 0 ;
21629 int *arg4 = (int *) 0 ;
21630 int *arg5 = (int *) 0 ;
21631 int temp2 ;
21632 int temp3 ;
21633 int temp4 ;
21634 int temp5 ;
21635 PyObject * obj0 = 0 ;
21636 char *kwnames[] = {
21637 (char *) "self", NULL
21638 };
21639
21640 arg2 = &temp2;
21641 arg3 = &temp3;
21642 arg4 = &temp4;
21643 arg5 = &temp5;
21644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
21645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21647 {
21648 PyThreadState* __tstate = wxPyBeginAllowThreads();
21649 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
21650
21651 wxPyEndAllowThreads(__tstate);
21652 if (PyErr_Occurred()) SWIG_fail;
21653 }
21654 Py_INCREF(Py_None); resultobj = Py_None;
21655 {
21656 PyObject *o = PyInt_FromLong((long) (*arg2));
21657 resultobj = t_output_helper(resultobj,o);
21658 }
21659 {
21660 PyObject *o = PyInt_FromLong((long) (*arg3));
21661 resultobj = t_output_helper(resultobj,o);
21662 }
21663 {
21664 PyObject *o = PyInt_FromLong((long) (*arg4));
21665 resultobj = t_output_helper(resultobj,o);
21666 }
21667 {
21668 PyObject *o = PyInt_FromLong((long) (*arg5));
21669 resultobj = t_output_helper(resultobj,o);
21670 }
21671 return resultobj;
21672 fail:
21673 return NULL;
21674 }
21675
21676
21677 static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
21678 PyObject *obj;
21679 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21680 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
21681 Py_INCREF(obj);
21682 return Py_BuildValue((char *)"");
21683 }
21684 static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
21685 PyObject *resultobj;
21686 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21687 wxWindow *arg2 = (wxWindow *) 0 ;
21688 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21689 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21690 wxSize const &arg4_defvalue = wxDefaultSize ;
21691 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21692 long arg5 = (long) 0 ;
21693 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
21694 wxString *arg6 = (wxString *) &arg6_defvalue ;
21695 wxPreviewCanvas *result;
21696 wxPoint temp3 ;
21697 wxSize temp4 ;
21698 bool temp6 = False ;
21699 PyObject * obj0 = 0 ;
21700 PyObject * obj1 = 0 ;
21701 PyObject * obj2 = 0 ;
21702 PyObject * obj3 = 0 ;
21703 PyObject * obj4 = 0 ;
21704 PyObject * obj5 = 0 ;
21705 char *kwnames[] = {
21706 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21707 };
21708
21709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
21710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21712 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21714 if (obj2) {
21715 {
21716 arg3 = &temp3;
21717 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21718 }
21719 }
21720 if (obj3) {
21721 {
21722 arg4 = &temp4;
21723 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21724 }
21725 }
21726 if (obj4) {
21727 arg5 = (long) SWIG_AsLong(obj4);
21728 if (PyErr_Occurred()) SWIG_fail;
21729 }
21730 if (obj5) {
21731 {
21732 arg6 = wxString_in_helper(obj5);
21733 if (arg6 == NULL) SWIG_fail;
21734 temp6 = True;
21735 }
21736 }
21737 {
21738 PyThreadState* __tstate = wxPyBeginAllowThreads();
21739 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21740
21741 wxPyEndAllowThreads(__tstate);
21742 if (PyErr_Occurred()) SWIG_fail;
21743 }
21744 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
21745 {
21746 if (temp6)
21747 delete arg6;
21748 }
21749 return resultobj;
21750 fail:
21751 {
21752 if (temp6)
21753 delete arg6;
21754 }
21755 return NULL;
21756 }
21757
21758
21759 static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
21760 PyObject *obj;
21761 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21762 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
21763 Py_INCREF(obj);
21764 return Py_BuildValue((char *)"");
21765 }
21766 static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
21767 PyObject *resultobj;
21768 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21769 wxFrame *arg2 = (wxFrame *) 0 ;
21770 wxString *arg3 = 0 ;
21771 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21772 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21773 wxSize const &arg5_defvalue = wxDefaultSize ;
21774 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21775 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
21776 wxString const &arg7_defvalue = wxPyFrameNameStr ;
21777 wxString *arg7 = (wxString *) &arg7_defvalue ;
21778 wxPreviewFrame *result;
21779 bool temp3 = False ;
21780 wxPoint temp4 ;
21781 wxSize temp5 ;
21782 bool temp7 = False ;
21783 PyObject * obj0 = 0 ;
21784 PyObject * obj1 = 0 ;
21785 PyObject * obj2 = 0 ;
21786 PyObject * obj3 = 0 ;
21787 PyObject * obj4 = 0 ;
21788 PyObject * obj5 = 0 ;
21789 PyObject * obj6 = 0 ;
21790 char *kwnames[] = {
21791 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21792 };
21793
21794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21797 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
21798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21799 {
21800 arg3 = wxString_in_helper(obj2);
21801 if (arg3 == NULL) SWIG_fail;
21802 temp3 = True;
21803 }
21804 if (obj3) {
21805 {
21806 arg4 = &temp4;
21807 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21808 }
21809 }
21810 if (obj4) {
21811 {
21812 arg5 = &temp5;
21813 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21814 }
21815 }
21816 if (obj5) {
21817 arg6 = (long) SWIG_AsLong(obj5);
21818 if (PyErr_Occurred()) SWIG_fail;
21819 }
21820 if (obj6) {
21821 {
21822 arg7 = wxString_in_helper(obj6);
21823 if (arg7 == NULL) SWIG_fail;
21824 temp7 = True;
21825 }
21826 }
21827 {
21828 PyThreadState* __tstate = wxPyBeginAllowThreads();
21829 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21830
21831 wxPyEndAllowThreads(__tstate);
21832 if (PyErr_Occurred()) SWIG_fail;
21833 }
21834 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
21835 {
21836 if (temp3)
21837 delete arg3;
21838 }
21839 {
21840 if (temp7)
21841 delete arg7;
21842 }
21843 return resultobj;
21844 fail:
21845 {
21846 if (temp3)
21847 delete arg3;
21848 }
21849 {
21850 if (temp7)
21851 delete arg7;
21852 }
21853 return NULL;
21854 }
21855
21856
21857 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
21858 PyObject *resultobj;
21859 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
21860 PyObject * obj0 = 0 ;
21861 char *kwnames[] = {
21862 (char *) "self", NULL
21863 };
21864
21865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
21866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
21867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21868 {
21869 PyThreadState* __tstate = wxPyBeginAllowThreads();
21870 (arg1)->Initialize();
21871
21872 wxPyEndAllowThreads(__tstate);
21873 if (PyErr_Occurred()) SWIG_fail;
21874 }
21875 Py_INCREF(Py_None); resultobj = Py_None;
21876 return resultobj;
21877 fail:
21878 return NULL;
21879 }
21880
21881
21882 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
21883 PyObject *resultobj;
21884 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
21885 PyObject * obj0 = 0 ;
21886 char *kwnames[] = {
21887 (char *) "self", NULL
21888 };
21889
21890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
21891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
21892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21893 {
21894 PyThreadState* __tstate = wxPyBeginAllowThreads();
21895 (arg1)->CreateControlBar();
21896
21897 wxPyEndAllowThreads(__tstate);
21898 if (PyErr_Occurred()) SWIG_fail;
21899 }
21900 Py_INCREF(Py_None); resultobj = Py_None;
21901 return resultobj;
21902 fail:
21903 return NULL;
21904 }
21905
21906
21907 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
21908 PyObject *resultobj;
21909 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
21910 PyObject * obj0 = 0 ;
21911 char *kwnames[] = {
21912 (char *) "self", NULL
21913 };
21914
21915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
21916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
21917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21918 {
21919 PyThreadState* __tstate = wxPyBeginAllowThreads();
21920 (arg1)->CreateCanvas();
21921
21922 wxPyEndAllowThreads(__tstate);
21923 if (PyErr_Occurred()) SWIG_fail;
21924 }
21925 Py_INCREF(Py_None); resultobj = Py_None;
21926 return resultobj;
21927 fail:
21928 return NULL;
21929 }
21930
21931
21932 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
21933 PyObject *resultobj;
21934 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
21935 wxPreviewControlBar *result;
21936 PyObject * obj0 = 0 ;
21937 char *kwnames[] = {
21938 (char *) "self", NULL
21939 };
21940
21941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
21942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
21943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21944 {
21945 PyThreadState* __tstate = wxPyBeginAllowThreads();
21946 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
21947
21948 wxPyEndAllowThreads(__tstate);
21949 if (PyErr_Occurred()) SWIG_fail;
21950 }
21951 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
21952 return resultobj;
21953 fail:
21954 return NULL;
21955 }
21956
21957
21958 static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
21959 PyObject *obj;
21960 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21961 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
21962 Py_INCREF(obj);
21963 return Py_BuildValue((char *)"");
21964 }
21965 static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
21966 PyObject *resultobj;
21967 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21968 long arg2 ;
21969 wxWindow *arg3 = (wxWindow *) 0 ;
21970 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21971 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21972 wxSize const &arg5_defvalue = wxDefaultSize ;
21973 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21974 long arg6 = (long) wxTAB_TRAVERSAL ;
21975 wxString const &arg7_defvalue = wxPyPanelNameStr ;
21976 wxString *arg7 = (wxString *) &arg7_defvalue ;
21977 wxPreviewControlBar *result;
21978 wxPoint temp4 ;
21979 wxSize temp5 ;
21980 bool temp7 = False ;
21981 PyObject * obj0 = 0 ;
21982 PyObject * obj1 = 0 ;
21983 PyObject * obj2 = 0 ;
21984 PyObject * obj3 = 0 ;
21985 PyObject * obj4 = 0 ;
21986 PyObject * obj5 = 0 ;
21987 PyObject * obj6 = 0 ;
21988 char *kwnames[] = {
21989 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21990 };
21991
21992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21995 arg2 = (long) SWIG_AsLong(obj1);
21996 if (PyErr_Occurred()) SWIG_fail;
21997 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
21998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21999 if (obj3) {
22000 {
22001 arg4 = &temp4;
22002 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22003 }
22004 }
22005 if (obj4) {
22006 {
22007 arg5 = &temp5;
22008 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22009 }
22010 }
22011 if (obj5) {
22012 arg6 = (long) SWIG_AsLong(obj5);
22013 if (PyErr_Occurred()) SWIG_fail;
22014 }
22015 if (obj6) {
22016 {
22017 arg7 = wxString_in_helper(obj6);
22018 if (arg7 == NULL) SWIG_fail;
22019 temp7 = True;
22020 }
22021 }
22022 {
22023 PyThreadState* __tstate = wxPyBeginAllowThreads();
22024 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22025
22026 wxPyEndAllowThreads(__tstate);
22027 if (PyErr_Occurred()) SWIG_fail;
22028 }
22029 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
22030 {
22031 if (temp7)
22032 delete arg7;
22033 }
22034 return resultobj;
22035 fail:
22036 {
22037 if (temp7)
22038 delete arg7;
22039 }
22040 return NULL;
22041 }
22042
22043
22044 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
22045 PyObject *resultobj;
22046 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22047 int result;
22048 PyObject * obj0 = 0 ;
22049 char *kwnames[] = {
22050 (char *) "self", NULL
22051 };
22052
22053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
22054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22056 {
22057 PyThreadState* __tstate = wxPyBeginAllowThreads();
22058 result = (int)(arg1)->GetZoomControl();
22059
22060 wxPyEndAllowThreads(__tstate);
22061 if (PyErr_Occurred()) SWIG_fail;
22062 }
22063 resultobj = SWIG_FromInt((int)result);
22064 return resultobj;
22065 fail:
22066 return NULL;
22067 }
22068
22069
22070 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
22071 PyObject *resultobj;
22072 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22073 int arg2 ;
22074 PyObject * obj0 = 0 ;
22075 PyObject * obj1 = 0 ;
22076 char *kwnames[] = {
22077 (char *) "self",(char *) "zoom", NULL
22078 };
22079
22080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
22081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22083 arg2 = (int) SWIG_AsInt(obj1);
22084 if (PyErr_Occurred()) SWIG_fail;
22085 {
22086 PyThreadState* __tstate = wxPyBeginAllowThreads();
22087 (arg1)->SetZoomControl(arg2);
22088
22089 wxPyEndAllowThreads(__tstate);
22090 if (PyErr_Occurred()) SWIG_fail;
22091 }
22092 Py_INCREF(Py_None); resultobj = Py_None;
22093 return resultobj;
22094 fail:
22095 return NULL;
22096 }
22097
22098
22099 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
22100 PyObject *resultobj;
22101 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22102 wxPrintPreview *result;
22103 PyObject * obj0 = 0 ;
22104 char *kwnames[] = {
22105 (char *) "self", NULL
22106 };
22107
22108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
22109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22111 {
22112 PyThreadState* __tstate = wxPyBeginAllowThreads();
22113 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
22114
22115 wxPyEndAllowThreads(__tstate);
22116 if (PyErr_Occurred()) SWIG_fail;
22117 }
22118 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
22119 return resultobj;
22120 fail:
22121 return NULL;
22122 }
22123
22124
22125 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
22126 PyObject *resultobj;
22127 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22128 PyObject * obj0 = 0 ;
22129 char *kwnames[] = {
22130 (char *) "self", NULL
22131 };
22132
22133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
22134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22136 {
22137 PyThreadState* __tstate = wxPyBeginAllowThreads();
22138 (arg1)->OnNext();
22139
22140 wxPyEndAllowThreads(__tstate);
22141 if (PyErr_Occurred()) SWIG_fail;
22142 }
22143 Py_INCREF(Py_None); resultobj = Py_None;
22144 return resultobj;
22145 fail:
22146 return NULL;
22147 }
22148
22149
22150 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
22151 PyObject *resultobj;
22152 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22153 PyObject * obj0 = 0 ;
22154 char *kwnames[] = {
22155 (char *) "self", NULL
22156 };
22157
22158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
22159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22161 {
22162 PyThreadState* __tstate = wxPyBeginAllowThreads();
22163 (arg1)->OnPrevious();
22164
22165 wxPyEndAllowThreads(__tstate);
22166 if (PyErr_Occurred()) SWIG_fail;
22167 }
22168 Py_INCREF(Py_None); resultobj = Py_None;
22169 return resultobj;
22170 fail:
22171 return NULL;
22172 }
22173
22174
22175 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
22176 PyObject *resultobj;
22177 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22178 PyObject * obj0 = 0 ;
22179 char *kwnames[] = {
22180 (char *) "self", NULL
22181 };
22182
22183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
22184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22186 {
22187 PyThreadState* __tstate = wxPyBeginAllowThreads();
22188 (arg1)->OnFirst();
22189
22190 wxPyEndAllowThreads(__tstate);
22191 if (PyErr_Occurred()) SWIG_fail;
22192 }
22193 Py_INCREF(Py_None); resultobj = Py_None;
22194 return resultobj;
22195 fail:
22196 return NULL;
22197 }
22198
22199
22200 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
22201 PyObject *resultobj;
22202 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22203 PyObject * obj0 = 0 ;
22204 char *kwnames[] = {
22205 (char *) "self", NULL
22206 };
22207
22208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
22209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22211 {
22212 PyThreadState* __tstate = wxPyBeginAllowThreads();
22213 (arg1)->OnLast();
22214
22215 wxPyEndAllowThreads(__tstate);
22216 if (PyErr_Occurred()) SWIG_fail;
22217 }
22218 Py_INCREF(Py_None); resultobj = Py_None;
22219 return resultobj;
22220 fail:
22221 return NULL;
22222 }
22223
22224
22225 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
22226 PyObject *resultobj;
22227 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22228 PyObject * obj0 = 0 ;
22229 char *kwnames[] = {
22230 (char *) "self", NULL
22231 };
22232
22233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
22234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22236 {
22237 PyThreadState* __tstate = wxPyBeginAllowThreads();
22238 (arg1)->OnGoto();
22239
22240 wxPyEndAllowThreads(__tstate);
22241 if (PyErr_Occurred()) SWIG_fail;
22242 }
22243 Py_INCREF(Py_None); resultobj = Py_None;
22244 return resultobj;
22245 fail:
22246 return NULL;
22247 }
22248
22249
22250 static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
22251 PyObject *obj;
22252 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22253 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
22254 Py_INCREF(obj);
22255 return Py_BuildValue((char *)"");
22256 }
22257 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
22258 PyObject *resultobj;
22259 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22260 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22261 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
22262 wxPrintPreview *result;
22263 PyObject * obj0 = 0 ;
22264 PyObject * obj1 = 0 ;
22265 PyObject * obj2 = 0 ;
22266
22267 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
22268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22270 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22272 if (obj2) {
22273 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
22274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22275 }
22276 {
22277 PyThreadState* __tstate = wxPyBeginAllowThreads();
22278 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
22279
22280 wxPyEndAllowThreads(__tstate);
22281 if (PyErr_Occurred()) SWIG_fail;
22282 }
22283 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
22284 return resultobj;
22285 fail:
22286 return NULL;
22287 }
22288
22289
22290 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
22291 PyObject *resultobj;
22292 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22293 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22294 wxPrintData *arg3 = (wxPrintData *) 0 ;
22295 wxPrintPreview *result;
22296 PyObject * obj0 = 0 ;
22297 PyObject * obj1 = 0 ;
22298 PyObject * obj2 = 0 ;
22299
22300 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
22301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22303 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22305 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
22306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22307 {
22308 PyThreadState* __tstate = wxPyBeginAllowThreads();
22309 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
22310
22311 wxPyEndAllowThreads(__tstate);
22312 if (PyErr_Occurred()) SWIG_fail;
22313 }
22314 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
22315 return resultobj;
22316 fail:
22317 return NULL;
22318 }
22319
22320
22321 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
22322 int argc;
22323 PyObject *argv[4];
22324 int ii;
22325
22326 argc = PyObject_Length(args);
22327 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
22328 argv[ii] = PyTuple_GetItem(args,ii);
22329 }
22330 if ((argc >= 2) && (argc <= 3)) {
22331 int _v;
22332 {
22333 void *ptr;
22334 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22335 _v = 0;
22336 PyErr_Clear();
22337 } else {
22338 _v = 1;
22339 }
22340 }
22341 if (_v) {
22342 {
22343 void *ptr;
22344 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22345 _v = 0;
22346 PyErr_Clear();
22347 } else {
22348 _v = 1;
22349 }
22350 }
22351 if (_v) {
22352 if (argc <= 2) {
22353 return _wrap_new_PrintPreview__SWIG_0(self,args);
22354 }
22355 {
22356 void *ptr;
22357 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
22358 _v = 0;
22359 PyErr_Clear();
22360 } else {
22361 _v = 1;
22362 }
22363 }
22364 if (_v) {
22365 return _wrap_new_PrintPreview__SWIG_0(self,args);
22366 }
22367 }
22368 }
22369 }
22370 if (argc == 3) {
22371 int _v;
22372 {
22373 void *ptr;
22374 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22375 _v = 0;
22376 PyErr_Clear();
22377 } else {
22378 _v = 1;
22379 }
22380 }
22381 if (_v) {
22382 {
22383 void *ptr;
22384 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22385 _v = 0;
22386 PyErr_Clear();
22387 } else {
22388 _v = 1;
22389 }
22390 }
22391 if (_v) {
22392 {
22393 void *ptr;
22394 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
22395 _v = 0;
22396 PyErr_Clear();
22397 } else {
22398 _v = 1;
22399 }
22400 }
22401 if (_v) {
22402 return _wrap_new_PrintPreview__SWIG_1(self,args);
22403 }
22404 }
22405 }
22406 }
22407
22408 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
22409 return NULL;
22410 }
22411
22412
22413 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
22414 PyObject *resultobj;
22415 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22416 int arg2 ;
22417 bool result;
22418 PyObject * obj0 = 0 ;
22419 PyObject * obj1 = 0 ;
22420 char *kwnames[] = {
22421 (char *) "self",(char *) "pageNum", NULL
22422 };
22423
22424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
22425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22427 arg2 = (int) SWIG_AsInt(obj1);
22428 if (PyErr_Occurred()) SWIG_fail;
22429 {
22430 PyThreadState* __tstate = wxPyBeginAllowThreads();
22431 result = (bool)(arg1)->SetCurrentPage(arg2);
22432
22433 wxPyEndAllowThreads(__tstate);
22434 if (PyErr_Occurred()) SWIG_fail;
22435 }
22436 {
22437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22438 }
22439 return resultobj;
22440 fail:
22441 return NULL;
22442 }
22443
22444
22445 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
22446 PyObject *resultobj;
22447 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22448 int result;
22449 PyObject * obj0 = 0 ;
22450 char *kwnames[] = {
22451 (char *) "self", NULL
22452 };
22453
22454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
22455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22457 {
22458 PyThreadState* __tstate = wxPyBeginAllowThreads();
22459 result = (int)(arg1)->GetCurrentPage();
22460
22461 wxPyEndAllowThreads(__tstate);
22462 if (PyErr_Occurred()) SWIG_fail;
22463 }
22464 resultobj = SWIG_FromInt((int)result);
22465 return resultobj;
22466 fail:
22467 return NULL;
22468 }
22469
22470
22471 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
22472 PyObject *resultobj;
22473 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22474 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22475 PyObject * obj0 = 0 ;
22476 PyObject * obj1 = 0 ;
22477 char *kwnames[] = {
22478 (char *) "self",(char *) "printout", NULL
22479 };
22480
22481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
22482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22484 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22486 {
22487 PyThreadState* __tstate = wxPyBeginAllowThreads();
22488 (arg1)->SetPrintout(arg2);
22489
22490 wxPyEndAllowThreads(__tstate);
22491 if (PyErr_Occurred()) SWIG_fail;
22492 }
22493 Py_INCREF(Py_None); resultobj = Py_None;
22494 return resultobj;
22495 fail:
22496 return NULL;
22497 }
22498
22499
22500 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
22501 PyObject *resultobj;
22502 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22503 wxPyPrintout *result;
22504 PyObject * obj0 = 0 ;
22505 char *kwnames[] = {
22506 (char *) "self", NULL
22507 };
22508
22509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
22510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22512 {
22513 PyThreadState* __tstate = wxPyBeginAllowThreads();
22514 result = (wxPyPrintout *)(arg1)->GetPrintout();
22515
22516 wxPyEndAllowThreads(__tstate);
22517 if (PyErr_Occurred()) SWIG_fail;
22518 }
22519 {
22520 resultobj = wxPyMake_wxObject(result);
22521 }
22522 return resultobj;
22523 fail:
22524 return NULL;
22525 }
22526
22527
22528 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
22529 PyObject *resultobj;
22530 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22531 wxPyPrintout *result;
22532 PyObject * obj0 = 0 ;
22533 char *kwnames[] = {
22534 (char *) "self", NULL
22535 };
22536
22537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
22538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22540 {
22541 PyThreadState* __tstate = wxPyBeginAllowThreads();
22542 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
22543
22544 wxPyEndAllowThreads(__tstate);
22545 if (PyErr_Occurred()) SWIG_fail;
22546 }
22547 {
22548 resultobj = wxPyMake_wxObject(result);
22549 }
22550 return resultobj;
22551 fail:
22552 return NULL;
22553 }
22554
22555
22556 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
22557 PyObject *resultobj;
22558 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22559 wxFrame *arg2 = (wxFrame *) 0 ;
22560 PyObject * obj0 = 0 ;
22561 PyObject * obj1 = 0 ;
22562 char *kwnames[] = {
22563 (char *) "self",(char *) "frame", NULL
22564 };
22565
22566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
22567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22569 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22571 {
22572 PyThreadState* __tstate = wxPyBeginAllowThreads();
22573 (arg1)->SetFrame(arg2);
22574
22575 wxPyEndAllowThreads(__tstate);
22576 if (PyErr_Occurred()) SWIG_fail;
22577 }
22578 Py_INCREF(Py_None); resultobj = Py_None;
22579 return resultobj;
22580 fail:
22581 return NULL;
22582 }
22583
22584
22585 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
22586 PyObject *resultobj;
22587 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22588 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22589 PyObject * obj0 = 0 ;
22590 PyObject * obj1 = 0 ;
22591 char *kwnames[] = {
22592 (char *) "self",(char *) "canvas", NULL
22593 };
22594
22595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
22596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22598 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22600 {
22601 PyThreadState* __tstate = wxPyBeginAllowThreads();
22602 (arg1)->SetCanvas(arg2);
22603
22604 wxPyEndAllowThreads(__tstate);
22605 if (PyErr_Occurred()) SWIG_fail;
22606 }
22607 Py_INCREF(Py_None); resultobj = Py_None;
22608 return resultobj;
22609 fail:
22610 return NULL;
22611 }
22612
22613
22614 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
22615 PyObject *resultobj;
22616 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22617 wxFrame *result;
22618 PyObject * obj0 = 0 ;
22619 char *kwnames[] = {
22620 (char *) "self", NULL
22621 };
22622
22623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
22624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22626 {
22627 PyThreadState* __tstate = wxPyBeginAllowThreads();
22628 result = (wxFrame *)(arg1)->GetFrame();
22629
22630 wxPyEndAllowThreads(__tstate);
22631 if (PyErr_Occurred()) SWIG_fail;
22632 }
22633 {
22634 resultobj = wxPyMake_wxObject(result);
22635 }
22636 return resultobj;
22637 fail:
22638 return NULL;
22639 }
22640
22641
22642 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
22643 PyObject *resultobj;
22644 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22645 wxPreviewCanvas *result;
22646 PyObject * obj0 = 0 ;
22647 char *kwnames[] = {
22648 (char *) "self", NULL
22649 };
22650
22651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
22652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22654 {
22655 PyThreadState* __tstate = wxPyBeginAllowThreads();
22656 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
22657
22658 wxPyEndAllowThreads(__tstate);
22659 if (PyErr_Occurred()) SWIG_fail;
22660 }
22661 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
22662 return resultobj;
22663 fail:
22664 return NULL;
22665 }
22666
22667
22668 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
22669 PyObject *resultobj;
22670 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22671 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22672 wxDC *arg3 = 0 ;
22673 bool result;
22674 PyObject * obj0 = 0 ;
22675 PyObject * obj1 = 0 ;
22676 PyObject * obj2 = 0 ;
22677 char *kwnames[] = {
22678 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22679 };
22680
22681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22684 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22686 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
22687 SWIG_POINTER_EXCEPTION | 0)) == -1)
22688 SWIG_fail;
22689 if (arg3 == NULL) {
22690 PyErr_SetString(PyExc_TypeError,"null reference");
22691 SWIG_fail;
22692 }
22693 {
22694 PyThreadState* __tstate = wxPyBeginAllowThreads();
22695 result = (bool)(arg1)->PaintPage(arg2,*arg3);
22696
22697 wxPyEndAllowThreads(__tstate);
22698 if (PyErr_Occurred()) SWIG_fail;
22699 }
22700 {
22701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22702 }
22703 return resultobj;
22704 fail:
22705 return NULL;
22706 }
22707
22708
22709 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
22710 PyObject *resultobj;
22711 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22712 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22713 wxDC *arg3 = 0 ;
22714 bool result;
22715 PyObject * obj0 = 0 ;
22716 PyObject * obj1 = 0 ;
22717 PyObject * obj2 = 0 ;
22718 char *kwnames[] = {
22719 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22720 };
22721
22722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22725 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22727 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
22728 SWIG_POINTER_EXCEPTION | 0)) == -1)
22729 SWIG_fail;
22730 if (arg3 == NULL) {
22731 PyErr_SetString(PyExc_TypeError,"null reference");
22732 SWIG_fail;
22733 }
22734 {
22735 PyThreadState* __tstate = wxPyBeginAllowThreads();
22736 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
22737
22738 wxPyEndAllowThreads(__tstate);
22739 if (PyErr_Occurred()) SWIG_fail;
22740 }
22741 {
22742 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22743 }
22744 return resultobj;
22745 fail:
22746 return NULL;
22747 }
22748
22749
22750 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
22751 PyObject *resultobj;
22752 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22753 int arg2 ;
22754 bool result;
22755 PyObject * obj0 = 0 ;
22756 PyObject * obj1 = 0 ;
22757 char *kwnames[] = {
22758 (char *) "self",(char *) "pageNum", NULL
22759 };
22760
22761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
22762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22764 arg2 = (int) SWIG_AsInt(obj1);
22765 if (PyErr_Occurred()) SWIG_fail;
22766 {
22767 PyThreadState* __tstate = wxPyBeginAllowThreads();
22768 result = (bool)(arg1)->RenderPage(arg2);
22769
22770 wxPyEndAllowThreads(__tstate);
22771 if (PyErr_Occurred()) SWIG_fail;
22772 }
22773 {
22774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22775 }
22776 return resultobj;
22777 fail:
22778 return NULL;
22779 }
22780
22781
22782 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
22783 PyObject *resultobj;
22784 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22785 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22786 PyObject * obj0 = 0 ;
22787 PyObject * obj1 = 0 ;
22788 char *kwnames[] = {
22789 (char *) "self",(char *) "canvas", NULL
22790 };
22791
22792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
22793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22795 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22797 {
22798 PyThreadState* __tstate = wxPyBeginAllowThreads();
22799 (arg1)->AdjustScrollbars(arg2);
22800
22801 wxPyEndAllowThreads(__tstate);
22802 if (PyErr_Occurred()) SWIG_fail;
22803 }
22804 Py_INCREF(Py_None); resultobj = Py_None;
22805 return resultobj;
22806 fail:
22807 return NULL;
22808 }
22809
22810
22811 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
22812 PyObject *resultobj;
22813 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22814 wxPrintDialogData *result;
22815 PyObject * obj0 = 0 ;
22816 char *kwnames[] = {
22817 (char *) "self", NULL
22818 };
22819
22820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
22821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22823 {
22824 PyThreadState* __tstate = wxPyBeginAllowThreads();
22825 {
22826 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
22827 result = (wxPrintDialogData *) &_result_ref;
22828 }
22829
22830 wxPyEndAllowThreads(__tstate);
22831 if (PyErr_Occurred()) SWIG_fail;
22832 }
22833 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
22834 return resultobj;
22835 fail:
22836 return NULL;
22837 }
22838
22839
22840 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
22841 PyObject *resultobj;
22842 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22843 int arg2 ;
22844 PyObject * obj0 = 0 ;
22845 PyObject * obj1 = 0 ;
22846 char *kwnames[] = {
22847 (char *) "self",(char *) "percent", NULL
22848 };
22849
22850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
22851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22853 arg2 = (int) SWIG_AsInt(obj1);
22854 if (PyErr_Occurred()) SWIG_fail;
22855 {
22856 PyThreadState* __tstate = wxPyBeginAllowThreads();
22857 (arg1)->SetZoom(arg2);
22858
22859 wxPyEndAllowThreads(__tstate);
22860 if (PyErr_Occurred()) SWIG_fail;
22861 }
22862 Py_INCREF(Py_None); resultobj = Py_None;
22863 return resultobj;
22864 fail:
22865 return NULL;
22866 }
22867
22868
22869 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
22870 PyObject *resultobj;
22871 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22872 int result;
22873 PyObject * obj0 = 0 ;
22874 char *kwnames[] = {
22875 (char *) "self", NULL
22876 };
22877
22878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
22879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22881 {
22882 PyThreadState* __tstate = wxPyBeginAllowThreads();
22883 result = (int)(arg1)->GetZoom();
22884
22885 wxPyEndAllowThreads(__tstate);
22886 if (PyErr_Occurred()) SWIG_fail;
22887 }
22888 resultobj = SWIG_FromInt((int)result);
22889 return resultobj;
22890 fail:
22891 return NULL;
22892 }
22893
22894
22895 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
22896 PyObject *resultobj;
22897 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22898 int result;
22899 PyObject * obj0 = 0 ;
22900 char *kwnames[] = {
22901 (char *) "self", NULL
22902 };
22903
22904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
22905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22907 {
22908 PyThreadState* __tstate = wxPyBeginAllowThreads();
22909 result = (int)(arg1)->GetMaxPage();
22910
22911 wxPyEndAllowThreads(__tstate);
22912 if (PyErr_Occurred()) SWIG_fail;
22913 }
22914 resultobj = SWIG_FromInt((int)result);
22915 return resultobj;
22916 fail:
22917 return NULL;
22918 }
22919
22920
22921 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
22922 PyObject *resultobj;
22923 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22924 int result;
22925 PyObject * obj0 = 0 ;
22926 char *kwnames[] = {
22927 (char *) "self", NULL
22928 };
22929
22930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
22931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22933 {
22934 PyThreadState* __tstate = wxPyBeginAllowThreads();
22935 result = (int)(arg1)->GetMinPage();
22936
22937 wxPyEndAllowThreads(__tstate);
22938 if (PyErr_Occurred()) SWIG_fail;
22939 }
22940 resultobj = SWIG_FromInt((int)result);
22941 return resultobj;
22942 fail:
22943 return NULL;
22944 }
22945
22946
22947 static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
22948 PyObject *resultobj;
22949 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22950 bool result;
22951 PyObject * obj0 = 0 ;
22952 char *kwnames[] = {
22953 (char *) "self", NULL
22954 };
22955
22956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
22957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22959 {
22960 PyThreadState* __tstate = wxPyBeginAllowThreads();
22961 result = (bool)(arg1)->Ok();
22962
22963 wxPyEndAllowThreads(__tstate);
22964 if (PyErr_Occurred()) SWIG_fail;
22965 }
22966 {
22967 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22968 }
22969 return resultobj;
22970 fail:
22971 return NULL;
22972 }
22973
22974
22975 static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
22976 PyObject *resultobj;
22977 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22978 bool arg2 ;
22979 PyObject * obj0 = 0 ;
22980 PyObject * obj1 = 0 ;
22981 char *kwnames[] = {
22982 (char *) "self",(char *) "ok", NULL
22983 };
22984
22985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
22986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22988 arg2 = (bool) SWIG_AsBool(obj1);
22989 if (PyErr_Occurred()) SWIG_fail;
22990 {
22991 PyThreadState* __tstate = wxPyBeginAllowThreads();
22992 (arg1)->SetOk(arg2);
22993
22994 wxPyEndAllowThreads(__tstate);
22995 if (PyErr_Occurred()) SWIG_fail;
22996 }
22997 Py_INCREF(Py_None); resultobj = Py_None;
22998 return resultobj;
22999 fail:
23000 return NULL;
23001 }
23002
23003
23004 static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
23005 PyObject *resultobj;
23006 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23007 bool arg2 ;
23008 bool result;
23009 PyObject * obj0 = 0 ;
23010 PyObject * obj1 = 0 ;
23011 char *kwnames[] = {
23012 (char *) "self",(char *) "interactive", NULL
23013 };
23014
23015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
23016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23018 arg2 = (bool) SWIG_AsBool(obj1);
23019 if (PyErr_Occurred()) SWIG_fail;
23020 {
23021 PyThreadState* __tstate = wxPyBeginAllowThreads();
23022 result = (bool)(arg1)->Print(arg2);
23023
23024 wxPyEndAllowThreads(__tstate);
23025 if (PyErr_Occurred()) SWIG_fail;
23026 }
23027 {
23028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23029 }
23030 return resultobj;
23031 fail:
23032 return NULL;
23033 }
23034
23035
23036 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
23037 PyObject *resultobj;
23038 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23039 PyObject * obj0 = 0 ;
23040 char *kwnames[] = {
23041 (char *) "self", NULL
23042 };
23043
23044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
23045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23047 {
23048 PyThreadState* __tstate = wxPyBeginAllowThreads();
23049 (arg1)->DetermineScaling();
23050
23051 wxPyEndAllowThreads(__tstate);
23052 if (PyErr_Occurred()) SWIG_fail;
23053 }
23054 Py_INCREF(Py_None); resultobj = Py_None;
23055 return resultobj;
23056 fail:
23057 return NULL;
23058 }
23059
23060
23061 static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
23062 PyObject *obj;
23063 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23064 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
23065 Py_INCREF(obj);
23066 return Py_BuildValue((char *)"");
23067 }
23068 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
23069 PyObject *resultobj;
23070 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23071 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23072 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23073 wxPyPrintPreview *result;
23074 PyObject * obj0 = 0 ;
23075 PyObject * obj1 = 0 ;
23076 PyObject * obj2 = 0 ;
23077
23078 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23081 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23083 if (obj2) {
23084 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23086 }
23087 {
23088 PyThreadState* __tstate = wxPyBeginAllowThreads();
23089 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23090
23091 wxPyEndAllowThreads(__tstate);
23092 if (PyErr_Occurred()) SWIG_fail;
23093 }
23094 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23095 return resultobj;
23096 fail:
23097 return NULL;
23098 }
23099
23100
23101 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
23102 PyObject *resultobj;
23103 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23104 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23105 wxPrintData *arg3 = (wxPrintData *) 0 ;
23106 wxPyPrintPreview *result;
23107 PyObject * obj0 = 0 ;
23108 PyObject * obj1 = 0 ;
23109 PyObject * obj2 = 0 ;
23110
23111 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23114 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23116 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23118 {
23119 PyThreadState* __tstate = wxPyBeginAllowThreads();
23120 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23121
23122 wxPyEndAllowThreads(__tstate);
23123 if (PyErr_Occurred()) SWIG_fail;
23124 }
23125 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23126 return resultobj;
23127 fail:
23128 return NULL;
23129 }
23130
23131
23132 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
23133 int argc;
23134 PyObject *argv[4];
23135 int ii;
23136
23137 argc = PyObject_Length(args);
23138 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23139 argv[ii] = PyTuple_GetItem(args,ii);
23140 }
23141 if ((argc >= 2) && (argc <= 3)) {
23142 int _v;
23143 {
23144 void *ptr;
23145 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23146 _v = 0;
23147 PyErr_Clear();
23148 } else {
23149 _v = 1;
23150 }
23151 }
23152 if (_v) {
23153 {
23154 void *ptr;
23155 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23156 _v = 0;
23157 PyErr_Clear();
23158 } else {
23159 _v = 1;
23160 }
23161 }
23162 if (_v) {
23163 if (argc <= 2) {
23164 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23165 }
23166 {
23167 void *ptr;
23168 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23169 _v = 0;
23170 PyErr_Clear();
23171 } else {
23172 _v = 1;
23173 }
23174 }
23175 if (_v) {
23176 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23177 }
23178 }
23179 }
23180 }
23181 if (argc == 3) {
23182 int _v;
23183 {
23184 void *ptr;
23185 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23186 _v = 0;
23187 PyErr_Clear();
23188 } else {
23189 _v = 1;
23190 }
23191 }
23192 if (_v) {
23193 {
23194 void *ptr;
23195 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23196 _v = 0;
23197 PyErr_Clear();
23198 } else {
23199 _v = 1;
23200 }
23201 }
23202 if (_v) {
23203 {
23204 void *ptr;
23205 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23206 _v = 0;
23207 PyErr_Clear();
23208 } else {
23209 _v = 1;
23210 }
23211 }
23212 if (_v) {
23213 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
23214 }
23215 }
23216 }
23217 }
23218
23219 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
23220 return NULL;
23221 }
23222
23223
23224 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
23225 PyObject *resultobj;
23226 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23227 PyObject *arg2 = (PyObject *) 0 ;
23228 PyObject *arg3 = (PyObject *) 0 ;
23229 PyObject * obj0 = 0 ;
23230 PyObject * obj1 = 0 ;
23231 PyObject * obj2 = 0 ;
23232 char *kwnames[] = {
23233 (char *) "self",(char *) "self",(char *) "_class", NULL
23234 };
23235
23236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23239 arg2 = obj1;
23240 arg3 = obj2;
23241 {
23242 PyThreadState* __tstate = wxPyBeginAllowThreads();
23243 (arg1)->_setCallbackInfo(arg2,arg3);
23244
23245 wxPyEndAllowThreads(__tstate);
23246 if (PyErr_Occurred()) SWIG_fail;
23247 }
23248 Py_INCREF(Py_None); resultobj = Py_None;
23249 return resultobj;
23250 fail:
23251 return NULL;
23252 }
23253
23254
23255 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
23256 PyObject *resultobj;
23257 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23258 int arg2 ;
23259 bool result;
23260 PyObject * obj0 = 0 ;
23261 PyObject * obj1 = 0 ;
23262 char *kwnames[] = {
23263 (char *) "self",(char *) "pageNum", NULL
23264 };
23265
23266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23269 arg2 = (int) SWIG_AsInt(obj1);
23270 if (PyErr_Occurred()) SWIG_fail;
23271 {
23272 PyThreadState* __tstate = wxPyBeginAllowThreads();
23273 result = (bool)(arg1)->base_SetCurrentPage(arg2);
23274
23275 wxPyEndAllowThreads(__tstate);
23276 if (PyErr_Occurred()) SWIG_fail;
23277 }
23278 {
23279 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23280 }
23281 return resultobj;
23282 fail:
23283 return NULL;
23284 }
23285
23286
23287 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
23288 PyObject *resultobj;
23289 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23290 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23291 wxDC *arg3 = 0 ;
23292 bool result;
23293 PyObject * obj0 = 0 ;
23294 PyObject * obj1 = 0 ;
23295 PyObject * obj2 = 0 ;
23296 char *kwnames[] = {
23297 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23298 };
23299
23300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23303 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23305 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23306 SWIG_POINTER_EXCEPTION | 0)) == -1)
23307 SWIG_fail;
23308 if (arg3 == NULL) {
23309 PyErr_SetString(PyExc_TypeError,"null reference");
23310 SWIG_fail;
23311 }
23312 {
23313 PyThreadState* __tstate = wxPyBeginAllowThreads();
23314 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
23315
23316 wxPyEndAllowThreads(__tstate);
23317 if (PyErr_Occurred()) SWIG_fail;
23318 }
23319 {
23320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23321 }
23322 return resultobj;
23323 fail:
23324 return NULL;
23325 }
23326
23327
23328 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
23329 PyObject *resultobj;
23330 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23331 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23332 wxDC *arg3 = 0 ;
23333 bool result;
23334 PyObject * obj0 = 0 ;
23335 PyObject * obj1 = 0 ;
23336 PyObject * obj2 = 0 ;
23337 char *kwnames[] = {
23338 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23339 };
23340
23341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23344 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23346 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23347 SWIG_POINTER_EXCEPTION | 0)) == -1)
23348 SWIG_fail;
23349 if (arg3 == NULL) {
23350 PyErr_SetString(PyExc_TypeError,"null reference");
23351 SWIG_fail;
23352 }
23353 {
23354 PyThreadState* __tstate = wxPyBeginAllowThreads();
23355 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
23356
23357 wxPyEndAllowThreads(__tstate);
23358 if (PyErr_Occurred()) SWIG_fail;
23359 }
23360 {
23361 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23362 }
23363 return resultobj;
23364 fail:
23365 return NULL;
23366 }
23367
23368
23369 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
23370 PyObject *resultobj;
23371 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23372 int arg2 ;
23373 bool result;
23374 PyObject * obj0 = 0 ;
23375 PyObject * obj1 = 0 ;
23376 char *kwnames[] = {
23377 (char *) "self",(char *) "pageNum", NULL
23378 };
23379
23380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23383 arg2 = (int) SWIG_AsInt(obj1);
23384 if (PyErr_Occurred()) SWIG_fail;
23385 {
23386 PyThreadState* __tstate = wxPyBeginAllowThreads();
23387 result = (bool)(arg1)->base_RenderPage(arg2);
23388
23389 wxPyEndAllowThreads(__tstate);
23390 if (PyErr_Occurred()) SWIG_fail;
23391 }
23392 {
23393 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23394 }
23395 return resultobj;
23396 fail:
23397 return NULL;
23398 }
23399
23400
23401 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
23402 PyObject *resultobj;
23403 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23404 int arg2 ;
23405 PyObject * obj0 = 0 ;
23406 PyObject * obj1 = 0 ;
23407 char *kwnames[] = {
23408 (char *) "self",(char *) "percent", NULL
23409 };
23410
23411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
23412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23414 arg2 = (int) SWIG_AsInt(obj1);
23415 if (PyErr_Occurred()) SWIG_fail;
23416 {
23417 PyThreadState* __tstate = wxPyBeginAllowThreads();
23418 (arg1)->base_SetZoom(arg2);
23419
23420 wxPyEndAllowThreads(__tstate);
23421 if (PyErr_Occurred()) SWIG_fail;
23422 }
23423 Py_INCREF(Py_None); resultobj = Py_None;
23424 return resultobj;
23425 fail:
23426 return NULL;
23427 }
23428
23429
23430 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
23431 PyObject *resultobj;
23432 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23433 bool arg2 ;
23434 bool result;
23435 PyObject * obj0 = 0 ;
23436 PyObject * obj1 = 0 ;
23437 char *kwnames[] = {
23438 (char *) "self",(char *) "interactive", NULL
23439 };
23440
23441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
23442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23444 arg2 = (bool) SWIG_AsBool(obj1);
23445 if (PyErr_Occurred()) SWIG_fail;
23446 {
23447 PyThreadState* __tstate = wxPyBeginAllowThreads();
23448 result = (bool)(arg1)->base_Print(arg2);
23449
23450 wxPyEndAllowThreads(__tstate);
23451 if (PyErr_Occurred()) SWIG_fail;
23452 }
23453 {
23454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23455 }
23456 return resultobj;
23457 fail:
23458 return NULL;
23459 }
23460
23461
23462 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
23463 PyObject *resultobj;
23464 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23465 PyObject * obj0 = 0 ;
23466 char *kwnames[] = {
23467 (char *) "self", NULL
23468 };
23469
23470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
23471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23473 {
23474 PyThreadState* __tstate = wxPyBeginAllowThreads();
23475 (arg1)->base_DetermineScaling();
23476
23477 wxPyEndAllowThreads(__tstate);
23478 if (PyErr_Occurred()) SWIG_fail;
23479 }
23480 Py_INCREF(Py_None); resultobj = Py_None;
23481 return resultobj;
23482 fail:
23483 return NULL;
23484 }
23485
23486
23487 static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
23488 PyObject *obj;
23489 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23490 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
23491 Py_INCREF(obj);
23492 return Py_BuildValue((char *)"");
23493 }
23494 static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
23495 PyObject *resultobj;
23496 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23497 wxFrame *arg2 = (wxFrame *) 0 ;
23498 wxString *arg3 = 0 ;
23499 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23500 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23501 wxSize const &arg5_defvalue = wxDefaultSize ;
23502 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23503 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
23504 wxString const &arg7_defvalue = wxPyFrameNameStr ;
23505 wxString *arg7 = (wxString *) &arg7_defvalue ;
23506 wxPyPreviewFrame *result;
23507 bool temp3 = False ;
23508 wxPoint temp4 ;
23509 wxSize temp5 ;
23510 bool temp7 = False ;
23511 PyObject * obj0 = 0 ;
23512 PyObject * obj1 = 0 ;
23513 PyObject * obj2 = 0 ;
23514 PyObject * obj3 = 0 ;
23515 PyObject * obj4 = 0 ;
23516 PyObject * obj5 = 0 ;
23517 PyObject * obj6 = 0 ;
23518 char *kwnames[] = {
23519 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23520 };
23521
23522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23525 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23527 {
23528 arg3 = wxString_in_helper(obj2);
23529 if (arg3 == NULL) SWIG_fail;
23530 temp3 = True;
23531 }
23532 if (obj3) {
23533 {
23534 arg4 = &temp4;
23535 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23536 }
23537 }
23538 if (obj4) {
23539 {
23540 arg5 = &temp5;
23541 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23542 }
23543 }
23544 if (obj5) {
23545 arg6 = (long) SWIG_AsLong(obj5);
23546 if (PyErr_Occurred()) SWIG_fail;
23547 }
23548 if (obj6) {
23549 {
23550 arg7 = wxString_in_helper(obj6);
23551 if (arg7 == NULL) SWIG_fail;
23552 temp7 = True;
23553 }
23554 }
23555 {
23556 PyThreadState* __tstate = wxPyBeginAllowThreads();
23557 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23558
23559 wxPyEndAllowThreads(__tstate);
23560 if (PyErr_Occurred()) SWIG_fail;
23561 }
23562 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
23563 {
23564 if (temp3)
23565 delete arg3;
23566 }
23567 {
23568 if (temp7)
23569 delete arg7;
23570 }
23571 return resultobj;
23572 fail:
23573 {
23574 if (temp3)
23575 delete arg3;
23576 }
23577 {
23578 if (temp7)
23579 delete arg7;
23580 }
23581 return NULL;
23582 }
23583
23584
23585 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
23586 PyObject *resultobj;
23587 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23588 PyObject *arg2 = (PyObject *) 0 ;
23589 PyObject *arg3 = (PyObject *) 0 ;
23590 PyObject * obj0 = 0 ;
23591 PyObject * obj1 = 0 ;
23592 PyObject * obj2 = 0 ;
23593 char *kwnames[] = {
23594 (char *) "self",(char *) "self",(char *) "_class", NULL
23595 };
23596
23597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23600 arg2 = obj1;
23601 arg3 = obj2;
23602 {
23603 PyThreadState* __tstate = wxPyBeginAllowThreads();
23604 (arg1)->_setCallbackInfo(arg2,arg3);
23605
23606 wxPyEndAllowThreads(__tstate);
23607 if (PyErr_Occurred()) SWIG_fail;
23608 }
23609 Py_INCREF(Py_None); resultobj = Py_None;
23610 return resultobj;
23611 fail:
23612 return NULL;
23613 }
23614
23615
23616 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
23617 PyObject *resultobj;
23618 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23619 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23620 PyObject * obj0 = 0 ;
23621 PyObject * obj1 = 0 ;
23622 char *kwnames[] = {
23623 (char *) "self",(char *) "canvas", NULL
23624 };
23625
23626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
23627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23629 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23631 {
23632 PyThreadState* __tstate = wxPyBeginAllowThreads();
23633 (arg1)->SetPreviewCanvas(arg2);
23634
23635 wxPyEndAllowThreads(__tstate);
23636 if (PyErr_Occurred()) SWIG_fail;
23637 }
23638 Py_INCREF(Py_None); resultobj = Py_None;
23639 return resultobj;
23640 fail:
23641 return NULL;
23642 }
23643
23644
23645 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
23646 PyObject *resultobj;
23647 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23648 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
23649 PyObject * obj0 = 0 ;
23650 PyObject * obj1 = 0 ;
23651 char *kwnames[] = {
23652 (char *) "self",(char *) "bar", NULL
23653 };
23654
23655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
23656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23658 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
23659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23660 {
23661 PyThreadState* __tstate = wxPyBeginAllowThreads();
23662 (arg1)->SetControlBar(arg2);
23663
23664 wxPyEndAllowThreads(__tstate);
23665 if (PyErr_Occurred()) SWIG_fail;
23666 }
23667 Py_INCREF(Py_None); resultobj = Py_None;
23668 return resultobj;
23669 fail:
23670 return NULL;
23671 }
23672
23673
23674 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
23675 PyObject *resultobj;
23676 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23677 PyObject * obj0 = 0 ;
23678 char *kwnames[] = {
23679 (char *) "self", NULL
23680 };
23681
23682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
23683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23685 {
23686 PyThreadState* __tstate = wxPyBeginAllowThreads();
23687 (arg1)->base_Initialize();
23688
23689 wxPyEndAllowThreads(__tstate);
23690 if (PyErr_Occurred()) SWIG_fail;
23691 }
23692 Py_INCREF(Py_None); resultobj = Py_None;
23693 return resultobj;
23694 fail:
23695 return NULL;
23696 }
23697
23698
23699 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
23700 PyObject *resultobj;
23701 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23702 PyObject * obj0 = 0 ;
23703 char *kwnames[] = {
23704 (char *) "self", NULL
23705 };
23706
23707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
23708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23710 {
23711 PyThreadState* __tstate = wxPyBeginAllowThreads();
23712 (arg1)->base_CreateCanvas();
23713
23714 wxPyEndAllowThreads(__tstate);
23715 if (PyErr_Occurred()) SWIG_fail;
23716 }
23717 Py_INCREF(Py_None); resultobj = Py_None;
23718 return resultobj;
23719 fail:
23720 return NULL;
23721 }
23722
23723
23724 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
23725 PyObject *resultobj;
23726 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23727 PyObject * obj0 = 0 ;
23728 char *kwnames[] = {
23729 (char *) "self", NULL
23730 };
23731
23732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
23733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23735 {
23736 PyThreadState* __tstate = wxPyBeginAllowThreads();
23737 (arg1)->base_CreateControlBar();
23738
23739 wxPyEndAllowThreads(__tstate);
23740 if (PyErr_Occurred()) SWIG_fail;
23741 }
23742 Py_INCREF(Py_None); resultobj = Py_None;
23743 return resultobj;
23744 fail:
23745 return NULL;
23746 }
23747
23748
23749 static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
23750 PyObject *obj;
23751 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23752 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
23753 Py_INCREF(obj);
23754 return Py_BuildValue((char *)"");
23755 }
23756 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
23757 PyObject *resultobj;
23758 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23759 long arg2 ;
23760 wxWindow *arg3 = (wxWindow *) 0 ;
23761 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23762 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23763 wxSize const &arg5_defvalue = wxDefaultSize ;
23764 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23765 long arg6 = (long) 0 ;
23766 wxString const &arg7_defvalue = wxPyPanelNameStr ;
23767 wxString *arg7 = (wxString *) &arg7_defvalue ;
23768 wxPyPreviewControlBar *result;
23769 wxPoint temp4 ;
23770 wxSize temp5 ;
23771 bool temp7 = False ;
23772 PyObject * obj0 = 0 ;
23773 PyObject * obj1 = 0 ;
23774 PyObject * obj2 = 0 ;
23775 PyObject * obj3 = 0 ;
23776 PyObject * obj4 = 0 ;
23777 PyObject * obj5 = 0 ;
23778 PyObject * obj6 = 0 ;
23779 char *kwnames[] = {
23780 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23781 };
23782
23783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23786 arg2 = (long) SWIG_AsLong(obj1);
23787 if (PyErr_Occurred()) SWIG_fail;
23788 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
23789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23790 if (obj3) {
23791 {
23792 arg4 = &temp4;
23793 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23794 }
23795 }
23796 if (obj4) {
23797 {
23798 arg5 = &temp5;
23799 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23800 }
23801 }
23802 if (obj5) {
23803 arg6 = (long) SWIG_AsLong(obj5);
23804 if (PyErr_Occurred()) SWIG_fail;
23805 }
23806 if (obj6) {
23807 {
23808 arg7 = wxString_in_helper(obj6);
23809 if (arg7 == NULL) SWIG_fail;
23810 temp7 = True;
23811 }
23812 }
23813 {
23814 PyThreadState* __tstate = wxPyBeginAllowThreads();
23815 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23816
23817 wxPyEndAllowThreads(__tstate);
23818 if (PyErr_Occurred()) SWIG_fail;
23819 }
23820 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
23821 {
23822 if (temp7)
23823 delete arg7;
23824 }
23825 return resultobj;
23826 fail:
23827 {
23828 if (temp7)
23829 delete arg7;
23830 }
23831 return NULL;
23832 }
23833
23834
23835 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
23836 PyObject *resultobj;
23837 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
23838 PyObject *arg2 = (PyObject *) 0 ;
23839 PyObject *arg3 = (PyObject *) 0 ;
23840 PyObject * obj0 = 0 ;
23841 PyObject * obj1 = 0 ;
23842 PyObject * obj2 = 0 ;
23843 char *kwnames[] = {
23844 (char *) "self",(char *) "self",(char *) "_class", NULL
23845 };
23846
23847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
23849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23850 arg2 = obj1;
23851 arg3 = obj2;
23852 {
23853 PyThreadState* __tstate = wxPyBeginAllowThreads();
23854 (arg1)->_setCallbackInfo(arg2,arg3);
23855
23856 wxPyEndAllowThreads(__tstate);
23857 if (PyErr_Occurred()) SWIG_fail;
23858 }
23859 Py_INCREF(Py_None); resultobj = Py_None;
23860 return resultobj;
23861 fail:
23862 return NULL;
23863 }
23864
23865
23866 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
23867 PyObject *resultobj;
23868 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
23869 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
23870 PyObject * obj0 = 0 ;
23871 PyObject * obj1 = 0 ;
23872 char *kwnames[] = {
23873 (char *) "self",(char *) "preview", NULL
23874 };
23875
23876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
23877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
23878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23879 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
23880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23881 {
23882 PyThreadState* __tstate = wxPyBeginAllowThreads();
23883 (arg1)->SetPrintPreview(arg2);
23884
23885 wxPyEndAllowThreads(__tstate);
23886 if (PyErr_Occurred()) SWIG_fail;
23887 }
23888 Py_INCREF(Py_None); resultobj = Py_None;
23889 return resultobj;
23890 fail:
23891 return NULL;
23892 }
23893
23894
23895 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
23896 PyObject *resultobj;
23897 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
23898 PyObject * obj0 = 0 ;
23899 char *kwnames[] = {
23900 (char *) "self", NULL
23901 };
23902
23903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
23904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
23905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23906 {
23907 PyThreadState* __tstate = wxPyBeginAllowThreads();
23908 (arg1)->base_CreateButtons();
23909
23910 wxPyEndAllowThreads(__tstate);
23911 if (PyErr_Occurred()) SWIG_fail;
23912 }
23913 Py_INCREF(Py_None); resultobj = Py_None;
23914 return resultobj;
23915 fail:
23916 return NULL;
23917 }
23918
23919
23920 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
23921 PyObject *resultobj;
23922 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
23923 int arg2 ;
23924 PyObject * obj0 = 0 ;
23925 PyObject * obj1 = 0 ;
23926 char *kwnames[] = {
23927 (char *) "self",(char *) "zoom", NULL
23928 };
23929
23930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
23931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
23932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23933 arg2 = (int) SWIG_AsInt(obj1);
23934 if (PyErr_Occurred()) SWIG_fail;
23935 {
23936 PyThreadState* __tstate = wxPyBeginAllowThreads();
23937 (arg1)->base_SetZoomControl(arg2);
23938
23939 wxPyEndAllowThreads(__tstate);
23940 if (PyErr_Occurred()) SWIG_fail;
23941 }
23942 Py_INCREF(Py_None); resultobj = Py_None;
23943 return resultobj;
23944 fail:
23945 return NULL;
23946 }
23947
23948
23949 static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
23950 PyObject *obj;
23951 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23952 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
23953 Py_INCREF(obj);
23954 return Py_BuildValue((char *)"");
23955 }
23956 static PyMethodDef SwigMethods[] = {
23957 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL },
23958 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL },
23959 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL },
23960 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
23961 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL },
23962 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
23963 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
23964 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
23965 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
23966 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL },
23967 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
23968 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
23969 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL },
23970 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL },
23971 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL },
23972 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL },
23973 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL },
23974 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
23975 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
23976 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL },
23977 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL },
23978 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
23979 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL },
23980 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
23981 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
23982 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL },
23983 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL },
23984 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL },
23985 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
23986 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
23987 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL },
23988 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL },
23989 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL },
23990 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
23991 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
23992 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL },
23993 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
23994 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
23995 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
23996 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
23997 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL },
23998 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL },
23999 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL },
24000 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24001 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24002 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL },
24003 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
24004 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
24005 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
24006 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL },
24007 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
24008 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
24009 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
24010 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
24011 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
24012 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
24013 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
24014 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
24015 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
24016 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
24017 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
24018 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
24019 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL },
24020 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL },
24021 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL },
24022 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL },
24023 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24024 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24025 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
24026 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
24027 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL },
24028 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL },
24029 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL },
24030 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
24031 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL },
24032 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS, NULL },
24033 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL },
24034 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24035 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24036 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24037 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL },
24038 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24039 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
24040 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
24041 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL },
24042 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL },
24043 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL },
24044 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24045 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL },
24046 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL },
24047 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
24048 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
24049 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24050 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
24051 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
24052 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
24053 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
24054 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
24055 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
24056 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
24057 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL },
24058 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL },
24059 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL },
24060 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL },
24061 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL },
24062 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24063 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24064 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24065 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL },
24066 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL },
24067 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
24068 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
24069 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
24070 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL },
24071 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL },
24072 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL },
24073 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24074 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL },
24075 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL },
24076 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
24077 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
24078 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
24079 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
24080 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
24081 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
24082 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
24083 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
24084 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
24085 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
24086 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
24087 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
24088 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL },
24089 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL },
24090 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
24091 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
24092 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL },
24093 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
24094 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
24095 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL },
24096 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24097 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24098 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24099 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
24100 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
24101 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL },
24102 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL },
24103 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL },
24104 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
24105 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
24106 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
24107 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
24108 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
24109 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
24110 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
24111 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
24112 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
24113 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
24114 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
24115 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
24116 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
24117 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
24118 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL },
24119 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL },
24120 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
24121 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
24122 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
24123 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
24124 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
24125 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
24126 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL },
24127 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL },
24128 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
24129 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
24130 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
24131 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
24132 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
24133 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
24134 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
24135 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
24136 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
24137 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
24138 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL },
24139 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL },
24140 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
24141 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
24142 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL },
24143 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
24144 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL },
24145 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24146 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24147 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24148 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
24149 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
24150 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
24151 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
24152 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
24153 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL },
24154 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
24155 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
24156 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24157 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24158 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24159 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL },
24160 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24161 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24162 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL },
24163 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24164 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24165 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL },
24166 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24167 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL },
24168 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL },
24169 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL },
24170 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24171 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24172 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
24173 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24174 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
24175 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL },
24176 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL },
24177 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL },
24178 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL },
24179 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL },
24180 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS, NULL },
24181 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
24182 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
24183 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
24184 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
24185 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
24186 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL },
24187 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL },
24188 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL },
24189 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL },
24190 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
24191 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24192 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
24193 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL },
24194 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
24195 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL },
24196 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
24197 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL },
24198 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL },
24199 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL },
24200 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
24201 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
24202 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
24203 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
24204 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
24205 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL },
24206 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL },
24207 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
24208 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL },
24209 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
24210 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
24211 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL },
24212 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
24213 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL },
24214 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
24215 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
24216 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
24217 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24218 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
24219 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
24220 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL },
24221 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL },
24222 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL },
24223 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL },
24224 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL },
24225 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL },
24226 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
24227 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
24228 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
24229 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
24230 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
24231 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
24232 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
24233 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
24234 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL },
24235 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24236 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL },
24237 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL },
24238 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24239 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
24240 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
24241 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
24242 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
24243 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
24244 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL },
24245 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24246 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
24247 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
24248 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
24249 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
24250 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
24251 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
24252 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
24253 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
24254 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
24255 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
24256 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
24257 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
24258 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
24259 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
24260 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL },
24261 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL },
24262 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL },
24263 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24264 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
24265 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
24266 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL },
24267 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24268 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
24269 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
24270 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
24271 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL },
24272 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24273 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
24274 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
24275 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL },
24276 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
24277 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
24278 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
24279 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
24280 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
24281 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
24282 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
24283 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
24284 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
24285 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
24286 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
24287 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
24288 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
24289 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
24290 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
24291 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL },
24292 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24293 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL },
24294 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL },
24295 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24296 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL },
24297 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24298 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL },
24299 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL },
24300 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL },
24301 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL },
24302 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
24303 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
24304 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
24305 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24306 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
24307 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
24308 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
24309 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL },
24310 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
24311 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
24312 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
24313 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
24314 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
24315 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
24316 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
24317 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
24318 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL },
24319 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24320 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24321 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24322 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
24323 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
24324 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL },
24325 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24326 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24327 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24328 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL },
24329 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL },
24330 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL },
24331 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL },
24332 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL },
24333 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24334 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
24335 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL },
24336 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL },
24337 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24338 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24339 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24340 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL },
24341 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
24342 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
24343 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL },
24344 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24345 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24346 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24347 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL },
24348 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24349 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24350 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
24351 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24352 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
24353 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
24354 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
24355 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
24356 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
24357 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
24358 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
24359 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
24360 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24361 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24362 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24363 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
24364 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
24365 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
24366 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
24367 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
24368 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
24369 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
24370 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
24371 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL },
24372 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL },
24373 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL },
24374 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
24375 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24376 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
24377 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
24378 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
24379 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
24380 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
24381 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
24382 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
24383 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
24384 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24385 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24386 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24387 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
24388 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
24389 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
24390 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
24391 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
24392 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
24393 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
24394 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
24395 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL },
24396 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24397 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24398 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
24399 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24400 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
24401 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
24402 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
24403 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
24404 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
24405 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
24406 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
24407 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
24408 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24409 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24410 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24411 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
24412 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
24413 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
24414 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
24415 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
24416 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
24417 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
24418 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
24419 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL },
24420 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS, NULL },
24421 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL },
24422 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
24423 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
24424 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
24425 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
24426 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
24427 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
24428 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
24429 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
24430 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
24431 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
24432 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
24433 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
24434 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
24435 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
24436 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
24437 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
24438 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
24439 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
24440 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
24441 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
24442 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
24443 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
24444 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
24445 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
24446 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
24447 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
24448 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
24449 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
24450 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
24451 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
24452 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
24453 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
24454 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
24455 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
24456 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
24457 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
24458 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL },
24459 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
24460 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
24461 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL },
24462 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
24463 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL },
24464 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL },
24465 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL },
24466 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
24467 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
24468 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
24469 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
24470 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
24471 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
24472 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
24473 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
24474 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
24475 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
24476 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
24477 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
24478 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
24479 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
24480 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
24481 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
24482 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
24483 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
24484 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
24485 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
24486 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
24487 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
24488 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
24489 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
24490 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
24491 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
24492 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
24493 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
24494 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
24495 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
24496 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
24497 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL },
24498 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24499 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL },
24500 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
24501 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL },
24502 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL },
24503 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
24504 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
24505 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
24506 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
24507 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
24508 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
24509 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
24510 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
24511 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
24512 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
24513 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24514 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
24515 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
24516 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
24517 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
24518 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
24519 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
24520 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
24521 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
24522 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
24523 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24524 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
24525 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
24526 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
24527 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
24528 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
24529 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
24530 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
24531 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
24532 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
24533 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
24534 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
24535 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL },
24536 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24537 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
24538 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL },
24539 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
24540 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL },
24541 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
24542 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
24543 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24544 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
24545 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL },
24546 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24547 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL },
24548 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL },
24549 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL },
24550 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL },
24551 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL },
24552 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL },
24553 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
24554 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
24555 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL },
24556 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL },
24557 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
24558 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
24559 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
24560 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
24561 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
24562 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
24563 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
24564 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
24565 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
24566 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
24567 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL },
24568 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL },
24569 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
24570 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
24571 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL },
24572 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL },
24573 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL },
24574 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL },
24575 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
24576 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL },
24577 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24578 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
24579 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
24580 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
24581 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
24582 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL },
24583 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
24584 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
24585 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
24586 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
24587 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL },
24588 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL },
24589 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL },
24590 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL },
24591 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL },
24592 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL },
24593 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL },
24594 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
24595 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
24596 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
24597 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
24598 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
24599 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24600 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
24601 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24602 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
24603 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
24604 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
24605 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
24606 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
24607 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
24608 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
24609 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
24610 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
24611 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
24612 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
24613 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL },
24614 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL },
24615 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
24616 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL },
24617 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL },
24618 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
24619 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
24620 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
24621 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
24622 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
24623 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
24624 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL },
24625 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
24626 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL },
24627 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24628 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
24629 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
24630 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
24631 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
24632 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
24633 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
24634 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL },
24635 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
24636 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
24637 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
24638 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL },
24639 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
24640 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL },
24641 { NULL, NULL, 0, NULL }
24642 };
24643
24644
24645 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
24646
24647 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
24648 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
24649 }
24650 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
24651 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
24652 }
24653 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
24654 return (void *)((wxEvent *) ((wxMenuEvent *) x));
24655 }
24656 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
24657 return (void *)((wxEvent *) ((wxCloseEvent *) x));
24658 }
24659 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
24660 return (void *)((wxEvent *) ((wxMouseEvent *) x));
24661 }
24662 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
24663 return (void *)((wxEvent *) ((wxEraseEvent *) x));
24664 }
24665 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
24666 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
24667 }
24668 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
24669 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
24670 }
24671 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
24672 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
24673 }
24674 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
24675 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
24676 }
24677 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
24678 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
24679 }
24680 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
24681 return (void *)((wxEvent *) ((wxPyEvent *) x));
24682 }
24683 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
24684 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
24685 }
24686 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
24687 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
24688 }
24689 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
24690 return (void *)((wxEvent *) ((wxIdleEvent *) x));
24691 }
24692 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
24693 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
24694 }
24695 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
24696 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
24697 }
24698 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
24699 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
24700 }
24701 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
24702 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
24703 }
24704 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
24705 return (void *)((wxEvent *) ((wxActivateEvent *) x));
24706 }
24707 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
24708 return (void *)((wxEvent *) ((wxSizeEvent *) x));
24709 }
24710 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
24711 return (void *)((wxEvent *) ((wxMoveEvent *) x));
24712 }
24713 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
24714 return (void *)((wxEvent *) ((wxPaintEvent *) x));
24715 }
24716 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
24717 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
24718 }
24719 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
24720 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
24721 }
24722 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
24723 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
24724 }
24725 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
24726 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
24727 }
24728 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
24729 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
24730 }
24731 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
24732 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
24733 }
24734 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
24735 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
24736 }
24737 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
24738 return (void *)((wxEvent *) ((wxFocusEvent *) x));
24739 }
24740 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
24741 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
24742 }
24743 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
24744 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
24745 }
24746 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
24747 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
24748 }
24749 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
24750 return (void *)((wxEvent *) ((wxShowEvent *) x));
24751 }
24752 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
24753 return (void *)((wxEvent *) ((wxCommandEvent *) x));
24754 }
24755 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
24756 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
24757 }
24758 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
24759 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
24760 }
24761 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
24762 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
24763 }
24764 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
24765 return (void *)((wxEvent *) ((wxKeyEvent *) x));
24766 }
24767 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
24768 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
24769 }
24770 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
24771 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
24772 }
24773 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
24774 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
24775 }
24776 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
24777 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
24778 }
24779 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
24780 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
24781 }
24782 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
24783 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
24784 }
24785 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
24786 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
24787 }
24788 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
24789 return (void *)((wxEvtHandler *) ((wxValidator *) x));
24790 }
24791 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
24792 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
24793 }
24794 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
24795 return (void *)((wxEvtHandler *) ((wxMenu *) x));
24796 }
24797 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
24798 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
24799 }
24800 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
24801 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
24802 }
24803 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
24804 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
24805 }
24806 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
24807 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
24808 }
24809 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
24810 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
24811 }
24812 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
24813 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
24814 }
24815 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
24816 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
24817 }
24818 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
24819 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
24820 }
24821 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
24822 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
24823 }
24824 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
24825 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
24826 }
24827 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
24828 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
24829 }
24830 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
24831 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
24832 }
24833 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
24834 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
24835 }
24836 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
24837 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
24838 }
24839 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
24840 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
24841 }
24842 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
24843 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
24844 }
24845 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
24846 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
24847 }
24848 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
24849 return (void *)((wxEvtHandler *) ((wxWindow *) x));
24850 }
24851 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
24852 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
24853 }
24854 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
24855 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
24856 }
24857 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
24858 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
24859 }
24860 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
24861 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
24862 }
24863 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
24864 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
24865 }
24866 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
24867 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
24868 }
24869 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
24870 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
24871 }
24872 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
24873 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
24874 }
24875 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
24876 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
24877 }
24878 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
24879 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
24880 }
24881 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
24882 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
24883 }
24884 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
24885 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
24886 }
24887 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
24888 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
24889 }
24890 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
24891 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
24892 }
24893 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
24894 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
24895 }
24896 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
24897 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
24898 }
24899 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
24900 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
24901 }
24902 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
24903 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
24904 }
24905 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
24906 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
24907 }
24908 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
24909 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
24910 }
24911 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
24912 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
24913 }
24914 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
24915 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
24916 }
24917 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
24918 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
24919 }
24920 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
24921 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
24922 }
24923 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
24924 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
24925 }
24926 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
24927 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
24928 }
24929 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
24930 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
24931 }
24932 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
24933 return (void *)((wxFrame *) ((wxProgressDialog *) x));
24934 }
24935 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
24936 return (void *)((wxFrame *) ((wxTipWindow *) x));
24937 }
24938 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
24939 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
24940 }
24941 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
24942 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
24943 }
24944 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
24945 return (void *)((wxFrame *) ((wxMiniFrame *) x));
24946 }
24947 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
24948 return (void *)((wxFrame *) ((wxSplashScreen *) x));
24949 }
24950 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
24951 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
24952 }
24953 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
24954 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
24955 }
24956 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
24957 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
24958 }
24959 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
24960 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
24961 }
24962 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
24963 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
24964 }
24965 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
24966 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
24967 }
24968 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
24969 return (void *)((wxObject *) ((wxSizerItem *) x));
24970 }
24971 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
24972 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
24973 }
24974 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
24975 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
24976 }
24977 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
24978 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
24979 }
24980 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
24981 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
24982 }
24983 static void *_p_wxSizerTo_p_wxObject(void *x) {
24984 return (void *)((wxObject *) ((wxSizer *) x));
24985 }
24986 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
24987 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
24988 }
24989 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
24990 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
24991 }
24992 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
24993 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
24994 }
24995 static void *_p_wxEventTo_p_wxObject(void *x) {
24996 return (void *)((wxObject *) ((wxEvent *) x));
24997 }
24998 static void *_p_wxFontDataTo_p_wxObject(void *x) {
24999 return (void *)((wxObject *) ((wxFontData *) x));
25000 }
25001 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
25002 return (void *)((wxObject *) ((wxPrintData *) x));
25003 }
25004 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
25005 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
25006 }
25007 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
25008 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
25009 }
25010 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
25011 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
25012 }
25013 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
25014 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
25015 }
25016 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
25017 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
25018 }
25019 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
25020 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
25021 }
25022 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
25023 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
25024 }
25025 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
25026 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
25027 }
25028 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
25029 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
25030 }
25031 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
25032 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
25033 }
25034 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
25035 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25036 }
25037 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
25038 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
25039 }
25040 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
25041 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25042 }
25043 static void *_p_wxControlTo_p_wxObject(void *x) {
25044 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
25045 }
25046 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
25047 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
25048 }
25049 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
25050 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25051 }
25052 static void *_p_wxFSFileTo_p_wxObject(void *x) {
25053 return (void *)((wxObject *) ((wxFSFile *) x));
25054 }
25055 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
25056 return (void *)((wxObject *) ((wxFindReplaceData *) x));
25057 }
25058 static void *_p_wxPySizerTo_p_wxObject(void *x) {
25059 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
25060 }
25061 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
25062 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25063 }
25064 static void *_p_wxColourDataTo_p_wxObject(void *x) {
25065 return (void *)((wxObject *) ((wxColourData *) x));
25066 }
25067 static void *_p_wxPyEventTo_p_wxObject(void *x) {
25068 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
25069 }
25070 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
25071 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
25072 }
25073 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
25074 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
25075 }
25076 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
25077 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25078 }
25079 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
25080 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25081 }
25082 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
25083 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25084 }
25085 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
25086 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25087 }
25088 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
25089 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25090 }
25091 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
25092 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25093 }
25094 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
25095 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25096 }
25097 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
25098 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25099 }
25100 static void *_p_wxShowEventTo_p_wxObject(void *x) {
25101 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
25102 }
25103 static void *_p_wxPrinterTo_p_wxObject(void *x) {
25104 return (void *)((wxObject *) ((wxPrinter *) x));
25105 }
25106 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
25107 return (void *)((wxObject *) ((wxMenuItem *) x));
25108 }
25109 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
25110 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
25111 }
25112 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
25113 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
25114 }
25115 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
25116 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
25117 }
25118 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
25119 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
25120 }
25121 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
25122 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
25123 }
25124 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
25125 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
25126 }
25127 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
25128 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
25129 }
25130 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
25131 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
25132 }
25133 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
25134 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
25135 }
25136 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
25137 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
25138 }
25139 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
25140 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
25141 }
25142 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
25143 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
25144 }
25145 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
25146 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
25147 }
25148 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
25149 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
25150 }
25151 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
25152 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
25153 }
25154 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
25155 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
25156 }
25157 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
25158 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
25159 }
25160 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
25161 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
25162 }
25163 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
25164 return (void *)((wxObject *) ((wxImageHandler *) x));
25165 }
25166 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
25167 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
25168 }
25169 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
25170 return (void *)((wxObject *) ((wxEvtHandler *) x));
25171 }
25172 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
25173 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
25174 }
25175 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
25176 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25177 }
25178 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
25179 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25180 }
25181 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
25182 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
25183 }
25184 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
25185 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25186 }
25187 static void *_p_wxImageTo_p_wxObject(void *x) {
25188 return (void *)((wxObject *) ((wxImage *) x));
25189 }
25190 static void *_p_wxFrameTo_p_wxObject(void *x) {
25191 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25192 }
25193 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
25194 return (void *)((wxObject *) ((wxPyPrintout *) x));
25195 }
25196 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
25197 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
25198 }
25199 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
25200 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
25201 }
25202 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
25203 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
25204 }
25205 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
25206 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25207 }
25208 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
25209 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25210 }
25211 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
25212 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
25213 }
25214 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
25215 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
25216 }
25217 static void *_p_wxWindowTo_p_wxObject(void *x) {
25218 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
25219 }
25220 static void *_p_wxMenuTo_p_wxObject(void *x) {
25221 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
25222 }
25223 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
25224 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
25225 }
25226 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
25227 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25228 }
25229 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
25230 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
25231 }
25232 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
25233 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
25234 }
25235 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
25236 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
25237 }
25238 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
25239 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
25240 }
25241 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
25242 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25243 }
25244 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
25245 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
25246 }
25247 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
25248 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25249 }
25250 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
25251 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
25252 }
25253 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
25254 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25255 }
25256 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
25257 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
25258 }
25259 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
25260 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25261 }
25262 static void *_p_wxSashEventTo_p_wxObject(void *x) {
25263 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
25264 }
25265 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
25266 return (void *)((wxObject *) ((wxPrintPreview *) x));
25267 }
25268 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
25269 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
25270 }
25271 static void *_p_wxPanelTo_p_wxObject(void *x) {
25272 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
25273 }
25274 static void *_p_wxDialogTo_p_wxObject(void *x) {
25275 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25276 }
25277 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
25278 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25279 }
25280 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
25281 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25282 }
25283 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
25284 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25285 }
25286 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
25287 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25288 }
25289 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
25290 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25291 }
25292 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
25293 return (void *)((wxObject *) ((wxFileSystem *) x));
25294 }
25295 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
25296 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
25297 }
25298 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
25299 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
25300 }
25301 static void *_p_wxPyAppTo_p_wxObject(void *x) {
25302 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
25303 }
25304 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
25305 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
25306 }
25307 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
25308 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
25309 }
25310 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
25311 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
25312 }
25313 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
25314 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
25315 }
25316 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
25317 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
25318 }
25319 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
25320 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25321 }
25322 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
25323 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25324 }
25325 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
25326 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
25327 }
25328 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
25329 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
25330 }
25331 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
25332 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
25333 }
25334 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
25335 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25336 }
25337 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
25338 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
25339 }
25340 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
25341 return (void *)((wxObject *) ((wxPrintDialogData *) x));
25342 }
25343 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
25344 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
25345 }
25346 static void *_p_wxValidatorTo_p_wxObject(void *x) {
25347 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
25348 }
25349 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
25350 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25351 }
25352 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
25353 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
25354 }
25355 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
25356 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25357 }
25358 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
25359 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
25360 }
25361 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
25362 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
25363 }
25364 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
25365 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
25366 }
25367 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
25368 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
25369 }
25370 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
25371 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
25372 }
25373 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
25374 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
25375 }
25376 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
25377 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
25378 }
25379 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
25380 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
25381 }
25382 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
25383 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
25384 }
25385 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
25386 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
25387 }
25388 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
25389 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
25390 }
25391 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
25392 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
25393 }
25394 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
25395 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
25396 }
25397 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
25398 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
25399 }
25400 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
25401 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
25402 }
25403 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
25404 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
25405 }
25406 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
25407 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
25408 }
25409 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
25410 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
25411 }
25412 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
25413 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
25414 }
25415 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
25416 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
25417 }
25418 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
25419 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
25420 }
25421 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
25422 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25423 }
25424 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
25425 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25426 }
25427 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
25428 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25429 }
25430 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
25431 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
25432 }
25433 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
25434 return (void *)((wxWindow *) ((wxMenuBar *) x));
25435 }
25436 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
25437 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25438 }
25439 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
25440 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25441 }
25442 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
25443 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25444 }
25445 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
25446 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25447 }
25448 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
25449 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25450 }
25451 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
25452 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25453 }
25454 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
25455 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25456 }
25457 static void *_p_wxPanelTo_p_wxWindow(void *x) {
25458 return (void *)((wxWindow *) ((wxPanel *) x));
25459 }
25460 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
25461 return (void *)((wxWindow *) ((wxStatusBar *) x));
25462 }
25463 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
25464 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
25465 }
25466 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
25467 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
25468 }
25469 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
25470 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
25471 }
25472 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
25473 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25474 }
25475 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
25476 return (void *)((wxWindow *) ((wxPopupWindow *) x));
25477 }
25478 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
25479 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
25480 }
25481 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
25482 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
25483 }
25484 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
25485 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
25486 }
25487 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
25488 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
25489 }
25490 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
25491 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
25492 }
25493 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
25494 return (void *)((wxWindow *) ((wxSashWindow *) x));
25495 }
25496 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
25497 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25498 }
25499 static void *_p_wxControlTo_p_wxWindow(void *x) {
25500 return (void *)((wxWindow *) ((wxControl *) x));
25501 }
25502 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
25503 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25504 }
25505 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
25506 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25507 }
25508 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
25509 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25510 }
25511 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
25512 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
25513 }
25514 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
25515 return (void *)((wxWindow *) ((wxPyWindow *) x));
25516 }
25517 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
25518 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25519 }
25520 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
25521 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25522 }
25523 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
25524 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25525 }
25526 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
25527 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
25528 }
25529 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
25530 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25531 }
25532 static void *_p_wxFrameTo_p_wxWindow(void *x) {
25533 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
25534 }
25535 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
25536 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25537 }
25538 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
25539 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25540 }
25541 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
25542 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25543 }
25544 static void *_p_wxDialogTo_p_wxWindow(void *x) {
25545 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
25546 }
25547 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
25548 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25549 }
25550 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
25551 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25552 }
25553 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
25554 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25555 }
25556 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
25557 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25558 }
25559 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
25560 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
25561 }
25562 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
25563 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
25564 }
25565 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
25566 return (void *)((wxDialog *) ((wxColourDialog *) x));
25567 }
25568 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
25569 return (void *)((wxDialog *) ((wxDirDialog *) x));
25570 }
25571 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
25572 return (void *)((wxDialog *) ((wxFontDialog *) x));
25573 }
25574 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
25575 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
25576 }
25577 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
25578 return (void *)((wxDialog *) ((wxPrintDialog *) x));
25579 }
25580 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
25581 return (void *)((wxDialog *) ((wxFileDialog *) x));
25582 }
25583 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
25584 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
25585 }
25586 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
25587 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
25588 }
25589 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
25590 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
25591 }
25592 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
25593 return (void *)((wxDialog *) ((wxMessageDialog *) x));
25594 }
25595 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
25596 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
25597 }
25598 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
25599 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
25600 }
25601 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
25602 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
25603 }
25604 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
25605 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25606 }
25607 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
25608 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25609 }
25610 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
25611 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25612 }
25613 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
25614 return (void *)((wxPanel *) ((wxPyPanel *) x));
25615 }
25616 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
25617 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
25618 }
25619 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
25620 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
25621 }
25622 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
25623 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25624 }
25625 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
25626 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
25627 }
25628 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
25629 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
25630 }
25631 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
25632 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
25633 }
25634 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
25635 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
25636 }
25637 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
25638 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
25639 }
25640 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
25641 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25642 }
25643 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
25644 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
25645 }
25646 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
25647 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
25648 }
25649 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
25650 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
25651 }
25652 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
25653 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
25654 }
25655 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
25656 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
25657 }
25658 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
25659 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25660 }
25661 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}};
25662 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}};
25663 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}};
25664 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}};
25665 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}};
25666 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}};
25667 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}};
25668 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}};
25669 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}};
25670 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}};
25671 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}};
25672 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}};
25673 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}};
25674 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}};
25675 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}};
25676 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}};
25677 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}};
25678 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}};
25679 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}};
25680 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}};
25681 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}};
25682 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}};
25683 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}};
25684 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}};
25685 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}};
25686 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}};
25687 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}};
25688 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}};
25689 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}};
25690 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}};
25691 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}};
25692 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}};
25693 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}};
25694 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}};
25695 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}};
25696 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_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_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_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25697 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}};
25698 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}};
25699 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}};
25700 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}};
25701 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}};
25702 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}};
25703 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_wxTipWindow", _p_wxTipWindowTo_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}};
25704 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}};
25705 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}};
25706 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}};
25707 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}};
25708 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}};
25709 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}};
25710 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_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_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}};
25711 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}};
25712 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}};
25713 static swig_type_info _swigt__p_wxPyScrolledWindow[] = {{"_p_wxPyScrolledWindow", 0, "wxPyScrolledWindow *", 0, 0, 0, 0},{"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25714 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}};
25715 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}};
25716 static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25717 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}};
25718 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}};
25719 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}};
25720 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},{0, 0, 0, 0, 0, 0, 0}};
25721 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}};
25722 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_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_wxDirDialog", _p_wxDirDialogTo_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_wxTipWindow", _p_wxTipWindowTo_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}};
25723 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_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_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_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25724 static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25725 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}};
25726 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}};
25727 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}};
25728 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}};
25729 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}};
25730 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}};
25731 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}};
25732 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}};
25733 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}};
25734 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}};
25735 static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25736 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}};
25737 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}};
25738 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}};
25739 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}};
25740 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}};
25741 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}};
25742 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}};
25743 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}};
25744 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}};
25745 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}};
25746
25747 static swig_type_info *swig_types_initial[] = {
25748 _swigt__p_wxQueryLayoutInfoEvent,
25749 _swigt__p_wxPreviewFrame,
25750 _swigt__p_wxPyPreviewFrame,
25751 _swigt__p_wxPyPanel,
25752 _swigt__p_wxMenu,
25753 _swigt__p_wxPrintData,
25754 _swigt__p_wxFontData,
25755 _swigt__p_wxEvent,
25756 _swigt__p_wxTaskBarIcon,
25757 _swigt__p_wxIconBundle,
25758 _swigt__p_wxLayoutAlgorithm,
25759 _swigt__p_wxFindDialogEvent,
25760 _swigt__p_wxPreviewCanvas,
25761 _swigt__p_wxFont,
25762 _swigt__p_wxSplitterEvent,
25763 _swigt__p_wxRegion,
25764 _swigt__p_wxFindReplaceData,
25765 _swigt__p_int,
25766 _swigt__p_wxSize,
25767 _swigt__p_wxDC,
25768 _swigt__p_wxIcon,
25769 _swigt__p_wxMDIChildFrame,
25770 _swigt__p_wxColourData,
25771 _swigt__p_wxNotifyEvent,
25772 _swigt__p_wxPyWindow,
25773 _swigt__p_wxSplashScreen,
25774 _swigt__p_wxFindReplaceDialog,
25775 _swigt__p_wxProgressDialog,
25776 _swigt__p_wxMessageDialog,
25777 _swigt__p_wxTextEntryDialog,
25778 _swigt__p_wxSingleChoiceDialog,
25779 _swigt__p_wxMultiChoiceDialog,
25780 _swigt__p_wxFileDialog,
25781 _swigt__p_wxPrinter,
25782 _swigt__p_wxArrayInt,
25783 _swigt__p_wxEvtHandler,
25784 _swigt__p_wxCalculateLayoutEvent,
25785 _swigt__p_wxPyHtmlListBox,
25786 _swigt__p_wxPyVListBox,
25787 _swigt__p_wxRect,
25788 _swigt__p_char,
25789 _swigt__p_wxMiniFrame,
25790 _swigt__p_wxFrame,
25791 _swigt__p_wxPyPrintout,
25792 _swigt__p_wxTaskBarIconEvent,
25793 _swigt__p_wxScrollWinEvent,
25794 _swigt__p_wxStatusBar,
25795 _swigt__p_wxMDIParentFrame,
25796 _swigt__p_wxPoint,
25797 _swigt__p_wxObject,
25798 _swigt__p_wxOutputStream,
25799 _swigt__p_unsigned_long,
25800 _swigt__p_wxPyScrolledWindow,
25801 _swigt__p_wxMDIClientWindow,
25802 _swigt__p_wxTipWindow,
25803 _swigt__p_wxPyPopupTransientWindow,
25804 _swigt__p_wxSashLayoutWindow,
25805 _swigt__p_wxSplitterWindow,
25806 _swigt__p_wxPyVScrolledWindow,
25807 _swigt__p_wxPopupWindow,
25808 _swigt__p_wxSashWindow,
25809 _swigt__p_wxTopLevelWindow,
25810 _swigt__p_wxWindow,
25811 _swigt__p_wxScrolledWindow,
25812 _swigt__p_wxSplashScreenWindow,
25813 _swigt__p_wxMenuBar,
25814 _swigt__p_wxPrintPreview,
25815 _swigt__p_wxSashEvent,
25816 _swigt__p_wxString,
25817 _swigt__p_wxPyPrintPreview,
25818 _swigt__p_wxFontDialog,
25819 _swigt__p_wxDirDialog,
25820 _swigt__p_wxColourDialog,
25821 _swigt__p_wxDialog,
25822 _swigt__p_wxPanel,
25823 _swigt__p_wxPageSetupDialog,
25824 _swigt__p_wxPrintDialog,
25825 _swigt__p_wxBitmap,
25826 _swigt__p_wxCommandEvent,
25827 _swigt__p_wxPreviewControlBar,
25828 _swigt__p_wxPyPreviewControlBar,
25829 _swigt__p_wxColour,
25830 _swigt__p_wxToolBar,
25831 _swigt__p_wxPageSetupDialogData,
25832 _swigt__p_wxPrintDialogData,
25833 0
25834 };
25835
25836
25837 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
25838
25839 static swig_const_info swig_const_table[] = {
25840 {0, 0, 0, 0.0, 0, 0}};
25841
25842 #ifdef __cplusplus
25843 }
25844 #endif
25845
25846 #ifdef __cplusplus
25847 extern "C"
25848 #endif
25849 SWIGEXPORT(void) SWIG_init(void) {
25850 static PyObject *SWIG_globals = 0;
25851 static int typeinit = 0;
25852 PyObject *m, *d;
25853 int i;
25854 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
25855 m = Py_InitModule((char *) SWIG_name, SwigMethods);
25856 d = PyModule_GetDict(m);
25857
25858 if (!typeinit) {
25859 for (i = 0; swig_types_initial[i]; i++) {
25860 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
25861 }
25862 typeinit = 1;
25863 }
25864 SWIG_InstallConstants(d,swig_const_table);
25865
25866 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
25867 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
25868 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
25869 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
25870 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
25871 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR));
25872 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR));
25873 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR));
25874 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER));
25875 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION));
25876 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL));
25877 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG));
25878 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT));
25879 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN));
25880 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE));
25881 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT));
25882 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT));
25883 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
25884 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER));
25885 PyDict_SetItemString(d,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH));
25886 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT));
25887 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE));
25888 PyDict_SetItemString(d,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH));
25889 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER));
25890 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME));
25891 PyDict_SetItemString(d,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER));
25892 PyDict_SetItemString(d,"SP_3D", SWIG_FromInt((int)wxSP_3D));
25893 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL));
25894 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL));
25895 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE));
25896 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING));
25897 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN));
25898 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
25899 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
25900 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
25901 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
25902 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
25903 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
25904 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE));
25905 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING));
25906 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN));
25907 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER));
25908 PyDict_SetItemString(d,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER));
25909 PyDict_SetItemString(d,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH));
25910 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER));
25911 PyDict_SetItemString(d,"SW_3D", SWIG_FromInt((int)wxSW_3D));
25912 PyDict_SetItemString(d,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP));
25913 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT));
25914 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM));
25915 PyDict_SetItemString(d,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT));
25916 PyDict_SetItemString(d,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE));
25917 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK));
25918 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE));
25919 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
25920 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL));
25921 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL));
25922 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE));
25923 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP));
25924 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT));
25925 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT));
25926 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM));
25927 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y));
25928 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X));
25929 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH));
25930 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY));
25931 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
25932 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
25933 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
25934
25935 // Map renamed classes back to their common name for OOR
25936 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
25937 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
25938 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
25939
25940 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
25941 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
25942 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
25943 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
25944 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
25945 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
25946 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
25947 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
25948 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
25949 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
25950 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
25951 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
25952 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
25953 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE));
25954 PyDict_SetItemString(d,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN));
25955 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD));
25956 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE));
25957 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG));
25958 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN));
25959 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE));
25960 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD));
25961 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
25962 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
25963 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
25964 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
25965 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
25966 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
25967 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
25968 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
25969 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
25970 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
25971 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
25972 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
25973 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
25974 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
25975 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
25976 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE));
25977 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW));
25978 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE));
25979 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER));
25980 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM));
25981 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR));
25982 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED));
25983 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR));
25984 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT));
25985 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS));
25986 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT));
25987 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM));
25988 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST));
25989 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST));
25990 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO));
25991 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT));
25992 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE));
25993 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT));
25994 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS));
25995 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT));
25996 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM));
25997 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST));
25998 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST));
25999 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO));
26000
26001 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
26002
26003 }
26004